local OrionLib = loadstring(game:HttpGet(('https://[Log in to view URL]')))()
local Window = OrionLib:MakeWindow({Name = "Dandy's World Script by Kles",IntroText = "I Hate Dandy", HidePremium = false, SaveConfig = true, ConfigFolder = "OrionTest"})
local tab = Window:MakeTab({
Name = "Main",
Icon = "rbxassetid://4483345998",
PremiumOnly = false
})
local pl = game.Players.LocalPlayer
local char = pl.Character
local humanoid = char:WaitForChild("Humanoid")
local table = {
speed = 0
}
tab:AddSlider({
Name = "Walk speed",
Min = 0,
Max = 100,
Default = 16,
Color = Color3.fromRGB(255,255,255),
Increment = 1,
ValueName = "Walk speed",
Callback = function(Value)
table.speed = Value
end
})
tab:AddButton({
Name = "Change walk speed",
Callback = function()
while wait() do
humanoid.WalkSpeed = table.speed
end
end
})
local ESPTab = Window:MakeTab({
Name = "ESP",
Icon = "rbxassetid://4483345998",
PremiumOnly = false
})
local runservice = game:GetService("RunService")
-- To avoid creating multiple instances of esp, we define one for each type
local function createESP(name)
local esp = Instance.new("Highlight")
esp.Name = name
esp.DepthMode = Enum.HighlightDepthMode.AlwaysOnTop
esp.OutlineTransparency = 1
return esp
end
local espMonsters = createESP("hl")
local espGenerators = createESP("hl2")
local espItems = createESP("hl3")
local function toggleESP(name, enable)
local esp = (name == "Monsters" and espMonsters) or (name == "Generators" and espGenerators) or espItems
for _, room in pairs(game.Workspace.CurrentRoom:GetChildren()) do
if room:IsA("Model") then
local folder = room:FindFirstChild(name)
if folder then
for _, item in pairs(folder:GetChildren()) do
runservice.Heartbeat:Connect(function()
for _, obj in pairs(item:GetChildren()) do
repeat wait() until obj
if enable then
if not obj:FindFirstChild(esp.Name) then
local clone = esp:Clone()
clone.Adornee = obj
clone.Parent = obj
end
else
local highlight = obj:FindFirstChild(esp.Name)
if highlight then
highlight:Destroy()
end
end
end
end)
end
end
end
end
end
ESPTab:AddButton({
Name = "Toggle All ESPs",
Callback = function()
local enabled = true
-- Check if any ESP is already active to toggle
-- If any ESPs are active, set enabled to false to turn them off
for _, v in ipairs({espMonsters, espGenerators, espItems}) do
if v.Adornee then
enabled = false
break
end
end
-- Toggle all ESPs based on the current state
toggleESP("Monsters", enabled)
toggleESP("Generators", enabled)
toggleESP("Items", enabled)
end
})
local LightingTab = Window:MakeTab({
Name = "Lighting",
Icon = "rbxassetid://4483345998",
PremiumOnly = false
})
LightingTab:AddToggle({
Name = "Full Bright",
Default = false,
Callback = function(Value)
if Value then
game:GetService("Lighting").Brightness = 2
game:GetService("Lighting").ClockTime = 14
game:GetService("Lighting").FogEnd = 100000
game:GetService("Lighting").GlobalShadows = false
game:GetService("Lighting").OutdoorAmbient = Color3.fromRGB(128, 128, 128)
else
game:GetService("Lighting").Brightness = 10
game:GetService("Lighting").ClockTime = 12
game:GetService("Lighting").FogEnd = 10000
game:GetService("Lighting").GlobalShadows = true
game:GetService("Lighting").OutdoorAmbient = Color3.fromRGB(127, 127, 127)
end
end
})
To embed this project on your website, copy the following code and paste it into your website's HTML: