|
| 1 | +local OrionLib = loadstring(game:HttpGet(('https://raw.githubusercontent.com/jensonhirst/Orion/main/source')))() |
| 2 | + |
| 3 | +local Window = OrionLib:MakeWindow({ |
| 4 | + Name = "Sans-rng | v1.6", |
| 5 | + HidePremium = false, |
| 6 | + IntroText = ":^Killer boy^:", |
| 7 | + SaveConfig = true, |
| 8 | + ConfigFolder = "OrionTest" |
| 9 | +}) |
| 10 | + |
| 11 | +local ClickSansRng = Window:MakeTab({ |
| 12 | + Name = "AutoClickSans", |
| 13 | + Icon = "rbxassetid://4483345998", |
| 14 | + PremiumOnly = false |
| 15 | +}) |
| 16 | + |
| 17 | +local ClickAll = Window:MakeTab({ |
| 18 | + Name = "AutoClickAll", |
| 19 | + Icon = "rbxassetid://4483345998", |
| 20 | + PremiumOnly = false |
| 21 | +}) |
| 22 | + |
| 23 | +local RunService = game:GetService("RunService") |
| 24 | +local sansConnection |
| 25 | + |
| 26 | +ClickSansRng:AddToggle({ |
| 27 | + Name = "AutoClick-Sans.rng", |
| 28 | + Default = false, |
| 29 | + Callback = function(Value) |
| 30 | + print("Auto Click NPCs:", Value) |
| 31 | + if sansConnection then |
| 32 | + sansConnection:Disconnect() |
| 33 | + sansConnection = nil |
| 34 | + end |
| 35 | + if Value then |
| 36 | + sansConnection = RunService.RenderStepped:Connect(function() |
| 37 | + local enemiesFolder = workspace:FindFirstChild("NPCs") |
| 38 | + if enemiesFolder then |
| 39 | + for _, npc in pairs(enemiesFolder:GetChildren()) do |
| 40 | + local hitbox = npc:FindFirstChild("ClickablePart") |
| 41 | + if hitbox and hitbox:IsA("Part") then |
| 42 | + local clickDetector = hitbox:FindFirstChildOfClass("ClickDetector") |
| 43 | + if clickDetector then |
| 44 | + fireclickdetector(clickDetector) |
| 45 | + end |
| 46 | + end |
| 47 | + end |
| 48 | + end |
| 49 | + end) |
| 50 | + end |
| 51 | + end |
| 52 | +}) |
| 53 | + |
| 54 | +ClickAll:AddLabel("Just.rng") |
| 55 | + |
| 56 | +local autoRunning = false |
| 57 | + |
| 58 | +ClickAll:AddToggle({ |
| 59 | + Name = "AutoClick-just.rng", |
| 60 | + Default = false, |
| 61 | + Callback = function(Value) |
| 62 | + print(Value) |
| 63 | + autoRunning = Value |
| 64 | + if Value then |
| 65 | + for _, descendant in ipairs(game:GetDescendants()) do |
| 66 | + if descendant:IsA("TextLabel") or descendant:IsA("TextButton") or descendant:IsA("TextBox") then |
| 67 | + descendant.Font = Enum.Font.SciFi |
| 68 | + end |
| 69 | + end |
| 70 | + task.spawn(function() |
| 71 | + while autoRunning do |
| 72 | + local npcFolder = workspace:FindFirstChild("Sans") |
| 73 | + if npcFolder then |
| 74 | + for _, npc in ipairs(npcFolder:GetChildren()) do |
| 75 | + if npc:IsA("Model") then |
| 76 | + local main = npc:FindFirstChild("Main") |
| 77 | + if main then |
| 78 | + local clickDetector = main:FindFirstChildOfClass("ClickDetector") |
| 79 | + if clickDetector then |
| 80 | + fireclickdetector(clickDetector) |
| 81 | + end |
| 82 | + end |
| 83 | + local part = npc:FindFirstChild("Part") |
| 84 | + if part then |
| 85 | + local clickDetectorPart = part:FindFirstChildOfClass("ClickDetector") |
| 86 | + if clickDetectorPart then |
| 87 | + fireclickdetector(clickDetectorPart) |
| 88 | + end |
| 89 | + end |
| 90 | + end |
| 91 | + end |
| 92 | + end |
| 93 | + task.wait(0.01) |
| 94 | + end |
| 95 | + end) |
| 96 | + end |
| 97 | + end |
| 98 | +}) |
| 99 | + |
| 100 | +local godModeEnabled = false |
| 101 | +local godConnection |
| 102 | + |
| 103 | +ClickAll:AddToggle({ |
| 104 | + Name = "GodMode", |
| 105 | + Default = false, |
| 106 | + Callback = function(Value) |
| 107 | + print("GodMode:", Value) |
| 108 | + godModeEnabled = Value |
| 109 | + local attacksFolder = workspace:FindFirstChild("Attacks") |
| 110 | + if not attacksFolder then return end |
| 111 | + |
| 112 | + local function disableAttackObject(obj) |
| 113 | + if obj:IsA("BasePart") or obj:IsA("MeshPart") or obj:IsA("UnionOperation") then |
| 114 | + obj.Transparency = 1 |
| 115 | + obj.CanCollide = false |
| 116 | + obj.CanTouch = false |
| 117 | + elseif obj:IsA("Decal") or obj:IsA("SurfaceGui") then |
| 118 | + obj.Enabled = false |
| 119 | + elseif obj:IsA("Script") or obj:IsA("LocalScript") then |
| 120 | + obj.Disabled = true |
| 121 | + end |
| 122 | + end |
| 123 | + |
| 124 | + if Value then |
| 125 | + for _, obj in ipairs(attacksFolder:GetDescendants()) do |
| 126 | + disableAttackObject(obj) |
| 127 | + end |
| 128 | + godConnection = attacksFolder.DescendantAdded:Connect(function(obj) |
| 129 | + disableAttackObject(obj) |
| 130 | + end) |
| 131 | + else |
| 132 | + for _, obj in ipairs(attacksFolder:GetDescendants()) do |
| 133 | + if obj:IsA("BasePart") or obj:IsA("MeshPart") or obj:IsA("UnionOperation") then |
| 134 | + obj.Transparency = 0 |
| 135 | + obj.CanCollide = true |
| 136 | + obj.CanTouch = true |
| 137 | + elseif obj:IsA("Decal") or obj:IsA("SurfaceGui") then |
| 138 | + obj.Enabled = true |
| 139 | + elseif obj:IsA("Script") or obj:IsA("LocalScript") then |
| 140 | + obj.Disabled = false |
| 141 | + end |
| 142 | + end |
| 143 | + if godConnection then |
| 144 | + godConnection:Disconnect() |
| 145 | + godConnection = nil |
| 146 | + end |
| 147 | + end |
| 148 | + end |
| 149 | +}) |
| 150 | + |
| 151 | +ClickAll:AddLabel("Unnamed sans.rng") |
| 152 | + |
| 153 | +local unnamedConnection |
| 154 | + |
| 155 | +ClickAll:AddToggle({ |
| 156 | + Name = "AutoClick-Unnamed sans.rng", |
| 157 | + Default = false, |
| 158 | + Callback = function(Value) |
| 159 | + print("Auto Click NPCs:", Value) |
| 160 | + if unnamedConnection then |
| 161 | + unnamedConnection:Disconnect() |
| 162 | + unnamedConnection = nil |
| 163 | + end |
| 164 | + if Value then |
| 165 | + unnamedConnection = RunService.RenderStepped:Connect(function() |
| 166 | + local enemiesFolder = workspace:FindFirstChild("Enemies") |
| 167 | + if enemiesFolder then |
| 168 | + for _, npc in pairs(enemiesFolder:GetChildren()) do |
| 169 | + local hitbox = npc:FindFirstChild("ClickHitbox") |
| 170 | + if hitbox and hitbox:IsA("Part") then |
| 171 | + local clickDetector = hitbox:FindFirstChildOfClass("ClickDetector") |
| 172 | + if clickDetector then |
| 173 | + fireclickdetector(clickDetector) |
| 174 | + end |
| 175 | + end |
| 176 | + end |
| 177 | + end |
| 178 | + end) |
| 179 | + end |
| 180 | + end |
| 181 | +}) |
| 182 | + |
| 183 | +ClickAll:AddLabel("YUKKIY’S SANS RNG") |
| 184 | + |
| 185 | +local yukkiyConnection |
| 186 | + |
| 187 | +ClickAll:AddToggle({ |
| 188 | + Name = "AutoClick-YUKKIY’S SANS RNG", |
| 189 | + Default = false, |
| 190 | + Callback = function(Value) |
| 191 | + print("Auto Click NPCs:", Value) |
| 192 | + if yukkiyConnection then |
| 193 | + yukkiyConnection:Disconnect() |
| 194 | + yukkiyConnection = nil |
| 195 | + end |
| 196 | + if Value then |
| 197 | + yukkiyConnection = RunService.RenderStepped:Connect(function() |
| 198 | + local enemiesFolder = workspace:FindFirstChild("Sanses") |
| 199 | + if enemiesFolder then |
| 200 | + for _, npc in pairs(enemiesFolder:GetChildren()) do |
| 201 | + local union = npc:FindFirstChild("BasePart") |
| 202 | + if union and union:IsA("UnionOperation") then |
| 203 | + local clickDetector = union:FindFirstChildOfClass("ClickDetector") |
| 204 | + if clickDetector then |
| 205 | + fireclickdetector(clickDetector) |
| 206 | + end |
| 207 | + end |
| 208 | + end |
| 209 | + end |
| 210 | + end) |
| 211 | + end |
| 212 | + end |
| 213 | +}) |
0 commit comments