Advertisement
Not a member of Pastebin yet?
Sign Up,
it unlocks many cool features!
- ------------SETTINGS------------------------------------
- local rainbow = true -- adds a cool rainbow effect to the gui
- local clicktpkeybind = Enum.KeyCode.LeftControl -- keybind to hold when you click tp
- local bgcolor = Color3.fromRGB(60,60,60) -- background color if rainbow is set to false
- local font = Enum.Font.Highway -- font for the text
- ------------SETTINGS------------------------------------
- local tween = game:GetService("TweenService")
- getgenv().autochest = false
- getgenv().clicktp = false
- local destroyed = false
- local localplr = game.Players.LocalPlayer
- local keybindon = false
- local nofallplatform = Instance.new("Part")
- nofallplatform.Transparency = 0.7
- nofallplatform.CanCollide = true
- nofallplatform.Anchored = true
- nofallplatform.Position = Vector3.new(0,0,0)
- nofallplatform.Size = Vector3.new(5,4,5)
- nofallplatform.Parent = workspace
- if getgenv().wosgui then
- getgenv().wosgui:Destroy()
- end
- function moveplr(part,pos)
- local movetime = (part.Position - pos).magnitude/45
- nofallplatform.Position = part.Position-Vector3.new(0,3,0)
- local tweenanim = tween:Create(part,TweenInfo.new(movetime,Enum.EasingStyle.Linear,Enum.EasingDirection.Out,0,false,0),{CFrame = CFrame.new(pos)})
- local tweenanim2 = tween:Create(nofallplatform,TweenInfo.new(movetime,Enum.EasingStyle.Linear,Enum.EasingDirection.Out,0,false,0),{CFrame = CFrame.new(pos-Vector3.new(0,5,0))})
- tweenanim:Play()
- tweenanim2:Play()
- wait(movetime)
- return
- end
- getgenv().wosgui = Instance.new("ScreenGui")
- wosgui.Parent = game.CoreGui
- local mainframe = Instance.new("Frame")
- mainframe.Parent = wosgui
- mainframe.Size = UDim2.new(.3,0,.35,0)
- mainframe.Position = UDim2.new(.35,0,.3)
- mainframe.BackgroundColor3 = bgcolor
- mainframe.BorderColor3 = Color3.fromRGB(255,255,255)
- mainframe.Active = true
- mainframe.Draggable = true
- local title = Instance.new("TextLabel")
- title.Parent = mainframe
- title.Size = UDim2.new(1,0,.15,0)
- title.BackgroundTransparency = 0
- title.BackgroundColor3 = bgcolor
- title.BorderColor3 = Color3.fromRGB(255,255,255)
- title.TextScaled = true
- title.TextColor3 = Color3.fromRGB(255,255,255)
- title.Text = "World Of Stands"
- title.Font = font
- if not game.Workspace.ChestSpawns then
- title.Text = "World Of Stands (Can't farm chests!)"
- end
- local credits = Instance.new("TextLabel")
- credits.Parent = mainframe
- credits.Size = UDim2.new(1,0,.075,0)
- credits.Position = UDim2.new(0,0,.15,0)
- credits.BackgroundTransparency = 0
- credits.BackgroundColor3 = bgcolor
- credits.BorderColor3 = Color3.fromRGB(255,255,255)
- credits.TextScaled = true
- credits.TextColor3 = Color3.fromRGB(255,255,255)
- credits.Text = "Made By 2AreYouMental110"
- credits.Font = font
- local autochestbutton = Instance.new("TextButton")
- autochestbutton.Parent = mainframe
- autochestbutton.Size = UDim2.new(.25,0,.25,0)
- autochestbutton.Position = UDim2.new(.05,0,.3,0)
- autochestbutton.BackgroundColor3 = bgcolor
- autochestbutton.BorderColor3 = Color3.fromRGB(255,255,255)
- autochestbutton.TextColor3 = Color3.fromRGB(255,255,255)
- autochestbutton.TextScaled = true
- autochestbutton.Text = "Autofarm Chest: OFF"
- autochestbutton.Font = font
- local a = autochestbutton.MouseButton1Click:Connect(function()
- if getgenv().autochest == false then
- getgenv().autochest = true
- autochestbutton.Text = "Autofarm Chest: ON"
- for i,child in pairs(game.Workspace:GetChildren()) do
- if getgenv().autochest == true and tonumber(child.Name) and child:FindFirstChild("Inside") and not child:FindFirstChild("Animation") and localplr.Character ~= nil and localplr.Character:FindFirstChild("HumanoidRootPart") then
- moveplr(localplr.Character.HumanoidRootPart,child.Inside.Position)
- fireproximityprompt(child.Inside.ProximityPrompt)
- repeat wait(.1) until child.Parent == nil
- wait(.5)
- end
- end
- elseif getgenv().autochest == true then
- getgenv().autochest = false
- autochestbutton.Text = "Autofarm Chest: OFF"
- end
- end)
- local chestamttext = Instance.new("TextLabel")
- chestamttext.Parent = mainframe
- chestamttext.Size = UDim2.new(.25,0,.25,0)
- chestamttext.Position = UDim2.new(.375,0,.3,0)
- chestamttext.BackgroundColor3 = bgcolor
- chestamttext.BorderColor3 = Color3.fromRGB(255,255,255)
- chestamttext.TextColor3 = Color3.fromRGB(255,255,255)
- chestamttext.TextScaled = true
- chestamttext.Text = "Chests: 0"
- chestamttext.Font = font
- local clicktpbutton = Instance.new("TextButton")
- clicktpbutton.Parent = mainframe
- clicktpbutton.Size = UDim2.new(.25,0,.25,0)
- clicktpbutton.Position = UDim2.new(.7,0,.3,0)
- clicktpbutton.BackgroundColor3 = bgcolor
- clicktpbutton.BorderColor3 = Color3.fromRGB(255,255,255)
- clicktpbutton.TextColor3 = Color3.fromRGB(255,255,255)
- clicktpbutton.TextScaled = true
- clicktpbutton.Text = "Click TP: OFF"
- clicktpbutton.Font = font
- local b = clicktpbutton.MouseButton1Click:Connect(function()
- if getgenv().clicktp == false then
- getgenv().clicktp = true
- clicktpbutton.Text = "Click TP: ON"
- elseif getgenv().clicktp == true then
- getgenv().clicktp = false
- clicktpbutton.Text = "Click TP: OFF"
- end
- end)
- local deathspotbutton = Instance.new("TextButton")
- deathspotbutton.Parent = mainframe
- deathspotbutton.Size = UDim2.new(.25,0,.25,0)
- deathspotbutton.Position = UDim2.new(.05,0,.675,0)
- deathspotbutton.BackgroundColor3 = bgcolor
- deathspotbutton.BorderColor3 = Color3.fromRGB(255,255,255)
- deathspotbutton.TextColor3 = Color3.fromRGB(255,255,255)
- deathspotbutton.TextScaled = true
- deathspotbutton.Text = "Go to death spot"
- deathspotbutton.Font = font
- local c = deathspotbutton.MouseButton1Click:Connect(function()
- if typeof(getgenv().deathspot) == "Vector3" and localplr.Character ~= nil and localplr.Character:FindFirstChild("HumanoidRootPart") then
- moveplr(localplr.Character.HumanoidRootPart,getgenv().deathspot)
- end
- end)
- local chestamt = 0
- if game.Workspace:FindFirstChild("ChestSpawns") then
- for i,child in pairs(game.Workspace:GetChildren()) do
- if tonumber(child.Name) and child:FindFirstChild("Inside") then
- chestamt += 1
- chestamttext.Text = "Chests: "..tostring(chestamt)
- end
- end
- end
- local d = game.Workspace.ChildAdded:Connect(function(child)
- if tonumber(child.Name) and child:FindFirstChild("Inside") then
- chestamt += 1
- chestamttext.Text = "Chests: "..tostring(chestamt)
- end
- if getgenv().autochest == true and tonumber(child.Name) and child:FindFirstChild("Inside") and not child:FindFirstChild("Animation") and localplr.Character ~= nil and localplr.Character:FindFirstChild("HumanoidRootPart") then
- moveplr(localplr.Character.HumanoidRootPart,child.Inside.Position)
- fireproximityprompt(child.Inside.ProximityPrompt)
- repeat wait(.1) until child.Parent == nil
- end
- end)
- local e = game.Workspace.ChildRemoved:Connect(function(child)
- if tonumber(child.Name) and child:FindFirstChild("Inside") then
- chestamt -= 1
- chestamttext.Text = "Chests: "..tostring(chestamt)
- end
- end)
- local f = game:GetService("UserInputService").InputBegan:Connect(function(input)
- if getgenv().clicktp == true and input.KeyCode == clicktpkeybind then
- keybindon = true
- elseif getgenv().clicktp == true and keybindon == true and input.UserInputType == Enum.UserInputType.MouseButton1 and localplr.Character ~= nil and localplr.Character:FindFirstChild("HumanoidRootPart") then
- moveplr(localplr.Character.HumanoidRootPart,localplr:GetMouse().Hit.Position+Vector3.new(0,3,0))
- end
- end)
- local g = game:GetService("UserInputService").InputEnded:Connect(function(input)
- if getgenv().clicktp == true and input.KeyCode == clicktpkeybind then
- keybindon = false
- end
- end)
- local h = localplr.CharacterRemoving:Connect(function(char)
- if char:FindFirstChild("HumanoidRootPart") then
- getgenv().deathspot = char.HumanoidRootPart.Position+Vector3.new(0,3,0)
- end
- end)
- local i = wosgui.Destroying:Connect(function()
- destroyed = true
- end)
- local color
- local t = 30
- repeat
- wait()
- if rainbow == true then
- color = Color3.fromHSV(tick() % t/t,1,1)
- mainframe.BackgroundColor3 = color
- title.BackgroundColor3 = color
- credits.BackgroundColor3 = color
- autochestbutton.BackgroundColor3 = color
- chestamttext.BackgroundColor3 = color
- clicktpbutton.BackgroundColor3 = color
- deathspotbutton.BackgroundColor3 = color
- end
- until destroyed == true
- getgenv().autochest = false
- getgenv().clicktp = false
- a:Disconnect()
- b:Disconnect()
- c:Disconnect()
- d:Disconnect()
- e:Disconnect()
- f:Disconnect()
- g:Disconnect()
- h:Disconnect()
- i:Disconnect()
- nofallplatform:Destroy()
Advertisement
Add Comment
Please, Sign In to add comment
Advertisement