Advertisement
Not a member of Pastebin yet?
Sign Up,
it unlocks many cool features!
- -- https://web.roblox.com/games/9810691700/Clone-Tycoon-Warfare
- local keybind = Enum.KeyCode.RightControl -- keybind to disable/enable the gui
- local autobuy = false
- local autocollect = false
- local autosave = false
- local autostats = false
- local sliderframetoggle = false
- local stuffenabled = false
- local tycoon
- local localplr = game.Players.LocalPlayer
- local mouse = localplr:GetMouse()
- local mousedown = false
- local guitoggledoff = false
- local jp
- local ws
- local onclick = mouse.Button1Down:Connect(function()
- mousedown = true
- end)
- local onstopclick = mouse.Button1Up:Connect(function()
- mousedown = false
- end)
- if getgenv().gui then
- getgenv().gui:Destroy()
- end
- function getplrtycoon()
- for i,v in pairs(game:GetService("Workspace").Tycoons:GetChildren()) do
- if v.Tycoon.Configs.Owner.Value == localplr then
- tycoon = v
- return v
- end
- end
- end
- getgenv().gui = Instance.new("ScreenGui")
- gui.Parent = game.CoreGui
- gui.Name = tostring(math.random(0,9))..tostring(math.random(0,9))..tostring(math.random(0,9))..tostring(math.random(0,9))..tostring(math.random(0,9))..tostring(math.random(0,9))..tostring(math.random(0,9))..tostring(math.random(0,9))..tostring(math.random(0,9))..tostring(math.random(0,9))
- local function destroy()
- gui:Destroy()
- autobuy = false
- autocollect = false
- autosave = false
- autostats = false
- end
- local checkforguidelete = gui.AncestryChanged:Connect(function()
- if gui.Parent == nil then
- destroy()
- end
- end)
- local mainframe = Instance.new("Frame")
- mainframe.Parent = gui
- mainframe.Active = true
- mainframe.Draggable = true
- mainframe.BorderColor3 = Color3.fromRGB(255,255,255)
- mainframe.BackgroundColor3 = Color3.fromRGB(50,50,50)
- mainframe.Position = UDim2.new(.35,0,.1,0)
- mainframe.Size = UDim2.new(.30,0,.7,0)
- local toptext = Instance.new("TextLabel")
- toptext.Parent = mainframe
- toptext.Size = UDim2.new(.9,0,.1,0)
- toptext.TextScaled = true
- toptext.BackgroundTransparency = .8
- toptext.TextColor3 = Color3.fromRGB(255,255,255)
- toptext.Text = "Clone Tycoon Warfare"
- local credits = Instance.new("TextLabel")
- credits.Parent = mainframe
- credits.Position = UDim2.new(0,0,.1,0)
- credits.Size = UDim2.new(1,0,.1,0)
- credits.TextScaled = true
- credits.BackgroundTransparency = 0
- credits.BackgroundColor3 = Color3.fromRGB(0,0,0)
- credits.BorderColor3 = Color3.fromRGB(255,255,255)
- credits.TextColor3 = Color3.fromRGB(255,255,255)
- credits.Text = "Made By 2AreYouMental110"
- local exit = Instance.new("TextButton")
- exit.Parent = mainframe
- exit.BackgroundColor3 = Color3.fromRGB(255,0,0)
- exit.Text = "X"
- exit.TextScaled = true
- exit.TextColor3 = Color3.fromRGB(255,255,255)
- exit.BackgroundTransparency = .5
- exit.Size = UDim2.new(.1,0,.1,0)
- exit.Position = UDim2.new(.9,0,0,0)
- exit.MouseButton1Click:Connect(function()
- destroy()
- end)
- local autobuybutton = Instance.new("TextButton")
- autobuybutton.Parent = mainframe
- autobuybutton.BorderColor3 = Color3.fromRGB(255,255,255)
- autobuybutton.Text = "Auto Buy: OFF"
- autobuybutton.TextScaled = true
- autobuybutton.TextColor3 = Color3.fromRGB(200,200,200)
- autobuybutton.BackgroundTransparency = .5
- autobuybutton.Size = UDim2.new(.5,0,.2,0)
- autobuybutton.Position = UDim2.new(0,0,.2,0)
- local autobuyfunc = autobuybutton.MouseButton1Click:Connect(function()
- if autobuy == false then
- autobuybutton.Text = "Auto Buy: ON"
- autobuy = true
- while autobuy do
- wait()
- if getplrtycoon() ~= nil then
- for i,v in pairs(tycoon.Tycoon.Buttons:GetChildren()) do
- if localplr.leaderstats.Cash.Value - v.Cost.Value > 0 and autobuy == true and v.CFrame.Position.Y > 0 and v.Transparency ~= 1 then
- wait(.05)
- localplr.Character.HumanoidRootPart.Anchored = true
- localplr.Character.HumanoidRootPart.CFrame = CFrame.new(v.Position) + Vector3.new(0,2,0)
- firetouchinterest(v,localplr.Character.HumanoidRootPart)
- wait(.05)
- localplr.Character.HumanoidRootPart.Anchored = false
- end
- end
- end
- end
- elseif autobuy == true then
- localplr.Character.HumanoidRootPart.Anchored = false
- autobuybutton.Text = "Auto Buy: OFF"
- autobuy = false
- end
- end)
- local autocollectbutton = Instance.new("TextButton")
- autocollectbutton.Parent = mainframe
- autocollectbutton.BorderColor3 = Color3.fromRGB(255,255,255)
- autocollectbutton.Text = "Auto Collect: OFF"
- autocollectbutton.TextScaled = true
- autocollectbutton.TextColor3 = Color3.fromRGB(200,200,200)
- autocollectbutton.BackgroundTransparency = .5
- autocollectbutton.Size = UDim2.new(.5,0,.2,0)
- autocollectbutton.Position = UDim2.new(.5,0,.2,0)
- local autocollectfunc = autocollectbutton.MouseButton1Click:Connect(function()
- if autocollect == false then
- autocollectbutton.Text = "Auto Collect: ON"
- autocollect = true
- wait(1)
- while autocollect do
- wait()
- if getplrtycoon() ~= nil then
- if getplrtycoon() ~= nil and tycoon.Tycoon.KeyObjects:FindFirstChild("Cloned Money Collector") and tycoon.Tycoon:FindFirstChild("ClaimDoor") then
- if (localplr.Character.HumanoidRootPart.Position - (tycoon.Tycoon.KeyObjects:FindFirstChild("Cloned Money Collector").Prompt.CFrame * CFrame.new(0,0,-5)).Position).Magnitude < 3 then
- fireproximityprompt(tycoon.Tycoon.KeyObjects:FindFirstChild("Cloned Money Collector").Prompt.ProximityPrompt)
- wait(.3)
- else
- localplr.Character.HumanoidRootPart.CFrame = tycoon.Tycoon.KeyObjects:FindFirstChild("Cloned Money Collector").Prompt.CFrame * CFrame.new(0,0,-6)
- localplr.Character.Humanoid:MoveTo((tycoon.Tycoon.KeyObjects:FindFirstChild("Cloned Money Collector").Prompt.CFrame * CFrame.new(0,0,-5)).Position)
- localplr.Character.Humanoid.MoveToFinished:Wait()
- wait(.3)
- end
- end
- end
- end
- elseif autocollect == true then
- localplr.Character.HumanoidRootPart.Anchored = false
- autocollectbutton.Text = "Auto Collect: OFF"
- autocollect = false
- end
- end)
- local autosavebutton = Instance.new("TextButton")
- autosavebutton.Parent = mainframe
- autosavebutton.BorderColor3 = Color3.fromRGB(255,255,255)
- autosavebutton.Text = "Auto Save: OFF"
- autosavebutton.TextScaled = true
- autosavebutton.TextColor3 = Color3.fromRGB(200,200,200)
- autosavebutton.BackgroundTransparency = .5
- autosavebutton.Size = UDim2.new(.5,0,.2,0)
- autosavebutton.Position = UDim2.new(0,0,.4,0)
- local autosavefunc = autosavebutton.MouseButton1Click:Connect(function()
- if autosave == false then
- autosave = true
- autosavebutton.Text = "Auto Save: ON"
- while autosave do
- wait(.3)
- localplr.PlayerGui.SaveButton.ClientGuiEvent:FireServer()
- end
- elseif autosave == true then
- autosave = false
- autosavebutton.Text = "Auto Save: OFF"
- end
- end)
- local autostatsbutton = Instance.new("TextButton")
- autostatsbutton.Parent = mainframe
- autostatsbutton.BorderColor3 = Color3.fromRGB(255,255,255)
- autostatsbutton.Text = "Auto Stats: OFF"
- autostatsbutton.TextScaled = true
- autostatsbutton.TextColor3 = Color3.fromRGB(200,200,200)
- autostatsbutton.BackgroundTransparency = .5
- autostatsbutton.Size = UDim2.new(.5,0,.2,0)
- autostatsbutton.Position = UDim2.new(.5,0,.4,0)
- local autostatfunc = autostatsbutton.MouseButton1Click:Connect(function()
- if autostats == false then
- autostats = true
- autostatsbutton.Text = "Auto Stats: ON"
- while autostats do
- wait()
- if getplrtycoon() ~= nil and tycoon.Tycoon.Objects:FindFirstChild("Stat Upgrades") and tycoon.Tycoon.Objects:FindFirstChild("Cooldown Upgrade") then
- if autocollect == true then
- wait(1.5)
- end
- if tycoon.Tycoon.Objects:FindFirstChild("Cooldown Upgrade"):FindFirstChild("Prompt") then
- localplr.Character.HumanoidRootPart.CFrame = tycoon.Tycoon.Objects:FindFirstChild("Cooldown Upgrade").Prompt.CFrame * CFrame.new(5,0,0)
- fireproximityprompt(tycoon.Tycoon.Objects:FindFirstChild("Cooldown Upgrade").Prompt.ProximityPrompt)
- wait(.1)
- localplr.Character.HumanoidRootPart.CFrame = tycoon.Tycoon.Objects:FindFirstChild("Cooldown Upgrade").Prompt.CFrame * CFrame.new(5,0,0)
- fireproximityprompt(tycoon.Tycoon.Objects:FindFirstChild("Cooldown Upgrade").Prompt.ProximityPrompt)
- wait(.1)
- localplr.Character.HumanoidRootPart.CFrame = tycoon.Tycoon.Objects:FindFirstChild("Cooldown Upgrade").Prompt.CFrame * CFrame.new(5,0,0)
- fireproximityprompt(tycoon.Tycoon.Objects:FindFirstChild("Cooldown Upgrade").Prompt.ProximityPrompt)
- wait(.1)
- end
- for i,v in pairs(tycoon.Tycoon.Objects:FindFirstChild("Stat Upgrades"):GetChildren()) do
- if v:IsA("Model") and v:FindFirstChild("Prompt") then
- wait(.1)
- localplr.Character.HumanoidRootPart.CFrame = v.Prompt.CFrame * CFrame.new(5,0,0)
- fireproximityprompt(v.Prompt.ProximityPrompt)
- end
- end
- end
- end
- elseif autostats == true then
- autostats = false
- autostatsbutton.Text = "Auto Stats: OFF"
- end
- end)
- local deletekillpartsandborders = Instance.new("TextButton")
- deletekillpartsandborders.Parent = mainframe
- deletekillpartsandborders.BorderColor3 = Color3.fromRGB(255,255,255)
- deletekillpartsandborders.Text = "Delete all kill parts and borders"
- deletekillpartsandborders.TextScaled = true
- deletekillpartsandborders.TextColor3 = Color3.fromRGB(200,200,200)
- deletekillpartsandborders.BackgroundTransparency = .5
- deletekillpartsandborders.Size = UDim2.new(.3,0,.2,0)
- deletekillpartsandborders.Position = UDim2.new(.05,0,.7,0)
- local ondeleteallparts = deletekillpartsandborders.MouseButton1Click:Connect(function()
- if game:GetService("Workspace").TheMap:FindFirstChild("WorldBorder") then
- repeat
- wait()
- game:GetService("Workspace").TheMap.WorldBorder:Destroy()
- until not game:GetService("Workspace").TheMap:FindFirstChild("WorldBorder")
- end
- if getplrtycoon() ~= nil then
- for i,v in pairs(game:GetService("Workspace").Tycoons:GetChildren()) do
- if v.Tycoon.ClaimDoor:FindFirstChild("TouchInterest") then
- v.Tycoon.ClaimDoor:FindFirstChild("TouchInterest"):Destroy()
- end
- if v.Tycoon.DefaultObjects.MainGate.Gate:FindFirstChild("TouchInterest") then
- v.Tycoon.DefaultObjects.MainGate.Gate:FindFirstChild("TouchInterest"):Destroy()
- end
- if v.Tycoon.Objects["Base Walls"]:FindFirstChild("Invis") then
- for i,v in pairs(v.Tycoon.Objects["Base Walls"]:GetChildren()) do
- if v.Name == "Invis" then
- v:Destroy()
- end
- end
- elseif v.Tycoon.Objects["Base Walls Upgrade"]:FindFirstChild("Invis") then
- for i,v in pairs(v.Tycoon.Objects["Base Walls Upgrade"]:GetChildren()) do
- if v.Name == "Invis" then
- v:Destroy()
- end
- end
- end
- end
- end
- end)
- local sliderframe = Instance.new("Frame")
- sliderframe.Parent = mainframe
- sliderframe.Visible = false
- sliderframe.BorderColor3 = Color3.fromRGB(255,255,255)
- sliderframe.BackgroundColor3 = Color3.fromRGB(50,50,50)
- sliderframe.Position = UDim2.new(1,0,.3,0)
- sliderframe.Size = UDim2.new(.7,0,.6,0)
- local enablesliderframe = Instance.new("TextButton")
- enablesliderframe.Parent = mainframe
- enablesliderframe.BorderColor3 = Color3.fromRGB(255,255,255)
- enablesliderframe.Text = "Toggle speed walk and jump power modifiers"
- enablesliderframe.TextScaled = true
- enablesliderframe.TextColor3 = Color3.fromRGB(200,200,200)
- enablesliderframe.BackgroundTransparency = .5
- enablesliderframe.Size = UDim2.new(.3,0,.2,0)
- enablesliderframe.Position = UDim2.new(.35,0,.7,0)
- local onsliderframetoggle = enablesliderframe.MouseButton1Click:Connect(function()
- if sliderframetoggle == false then
- sliderframetoggle = true
- sliderframe.Visible = true
- enablesliderframe.Text = "UnToggle speed walk and jump power modifiers"
- elseif sliderframetoggle == true then
- sliderframetoggle = false
- sliderframe.Visible = false
- enablesliderframe.Text = "Toggle speed walk and jump power modifiers"
- end
- end)
- local walkspeedslider = Instance.new("Frame")
- walkspeedslider.Parent = sliderframe
- walkspeedslider.BorderColor3 = Color3.fromRGB(255,255,255)
- walkspeedslider.BackgroundColor3 = Color3.fromRGB(50,50,50)
- walkspeedslider.Size = UDim2.new(1,0,.25,0)
- local walkspeedslidertext = Instance.new("TextLabel")
- walkspeedslidertext.Parent = walkspeedslider
- walkspeedslidertext.Size = UDim2.new(.5,0,1,0)
- walkspeedslidertext.TextScaled = true
- walkspeedslidertext.BackgroundTransparency = .8
- walkspeedslidertext.TextColor3 = Color3.fromRGB(255,255,255)
- walkspeedslidertext.Text = "Walkspeed: "
- local walkspeedsliderbutton = Instance.new("TextButton")
- walkspeedsliderbutton.Parent = walkspeedslider
- walkspeedsliderbutton.BorderColor3 = Color3.fromRGB(255,255,255)
- walkspeedsliderbutton.Text = "|"
- walkspeedsliderbutton.TextScaled = true
- walkspeedsliderbutton.TextColor3 = Color3.fromRGB(200,200,200)
- walkspeedsliderbutton.BackgroundTransparency = .5
- walkspeedsliderbutton.Size = UDim2.new(.1,0,1,0)
- walkspeedsliderbutton.Position = UDim2.new(.7,0,0,0)
- local walkspeedsliding = walkspeedsliderbutton.MouseButton1Down:Connect(function()
- wait()
- local dragging = true
- local e1 = mouse.Button1Up:Connect(function()
- dragging = false
- end)
- local e2 = walkspeedsliderbutton.MouseButton1Up:Connect(function()
- dragging = false
- end)
- while dragging do
- wait()
- walkspeedsliderbutton.Position = UDim2.new(.7,(mouse.X)-(1100+mainframe.Position.X.Offset),0,0)
- if walkspeedsliderbutton.Position.X.Offset < -55 then
- walkspeedsliderbutton.Position = UDim2.new(.7,-54,0,0)
- elseif walkspeedsliderbutton.Position.X.Offset > 60 then
- walkspeedsliderbutton.Position = UDim2.new(.7,59,0,0)
- end
- localplr.Character.Humanoid.WalkSpeed = (walkspeedsliderbutton.Position.X.Offset+54)*2.5
- ws = (walkspeedsliderbutton.Position.X.Offset+54)*2.5
- end
- e1:Disconnect()
- e2:Disconnect()
- end)
- local jumppowerslider = Instance.new("Frame")
- jumppowerslider.Parent = sliderframe
- jumppowerslider.BorderColor3 = Color3.fromRGB(255,255,255)
- jumppowerslider.BackgroundColor3 = Color3.fromRGB(50,50,50)
- jumppowerslider.Position = UDim2.new(0,0,.25,0)
- jumppowerslider.Size = UDim2.new(1,0,.25,0)
- local jumppowerslidertext = Instance.new("TextLabel")
- jumppowerslidertext.Parent = jumppowerslider
- jumppowerslidertext.Size = UDim2.new(.5,0,1,0)
- jumppowerslidertext.TextScaled = true
- jumppowerslidertext.BackgroundTransparency = .8
- jumppowerslidertext.TextColor3 = Color3.fromRGB(255,255,255)
- jumppowerslidertext.Text = "Jumppower: "
- local jumppowersliderbutton = Instance.new("TextButton")
- jumppowersliderbutton.Parent = jumppowerslider
- jumppowersliderbutton.BorderColor3 = Color3.fromRGB(255,255,255)
- jumppowersliderbutton.Text = "|"
- jumppowersliderbutton.TextScaled = true
- jumppowersliderbutton.TextColor3 = Color3.fromRGB(200,200,200)
- jumppowersliderbutton.BackgroundTransparency = .5
- jumppowersliderbutton.Size = UDim2.new(.1,0,1,0)
- jumppowersliderbutton.Position = UDim2.new(.7,0,0,0)
- local jumppowersliding = jumppowersliderbutton.MouseButton1Down:Connect(function()
- wait()
- local dragging = true
- local e1 = mouse.Button1Up:Connect(function()
- dragging = false
- end)
- local e2 = jumppowersliderbutton.MouseButton1Up:Connect(function()
- dragging = false
- end)
- while dragging do
- wait()
- jumppowersliderbutton.Position = UDim2.new(.7,(mouse.X)-(1100+mainframe.Position.X.Offset),0,0)
- if jumppowersliderbutton.Position.X.Offset < -55 then
- jumppowersliderbutton.Position = UDim2.new(.7,-54,0,0)
- elseif jumppowersliderbutton.Position.X.Offset > 60 then
- jumppowersliderbutton.Position = UDim2.new(.7,59,0,0)
- end
- localplr.Character.Humanoid.JumpPower = (jumppowersliderbutton.Position.X.Offset+54)*5
- jp = (jumppowersliderbutton.Position.X.Offset+54)*5
- end
- e1:Disconnect()
- e2:Disconnect()
- end)
- local walkspeedreset = Instance.new("TextButton")
- walkspeedreset.Parent = sliderframe
- walkspeedreset.BorderColor3 = Color3.fromRGB(255,255,255)
- walkspeedreset.Text = "Reset Walkspeed"
- walkspeedreset.TextScaled = true
- walkspeedreset.TextColor3 = Color3.fromRGB(200,200,200)
- walkspeedreset.BackgroundTransparency = .5
- walkspeedreset.Size = UDim2.new(1,0,.25,0)
- walkspeedreset.Position = UDim2.new(0,0,.5,0)
- local wsreset = walkspeedreset.MouseButton1Click:Connect(function()
- localplr.Character.Humanoid.WalkSpeed = 30
- ws = 30
- end)
- local jumppowerreset = Instance.new("TextButton")
- jumppowerreset.Parent = sliderframe
- jumppowerreset.BorderColor3 = Color3.fromRGB(255,255,255)
- jumppowerreset.Text = "Reset Jumppower"
- jumppowerreset.TextScaled = true
- jumppowerreset.TextColor3 = Color3.fromRGB(200,200,200)
- jumppowerreset.BackgroundTransparency = .5
- jumppowerreset.Size = UDim2.new(1,0,.25,0)
- jumppowerreset.Position = UDim2.new(0,0,.75,0)
- local jpreset = jumppowerreset.MouseButton1Click:Connect(function()
- localplr.Character.Humanoid.JumpPower = 50
- jp = 50
- end)
- local extraframe = Instance.new("Frame")
- extraframe.Parent = mainframe
- extraframe.Visible = false
- extraframe.BorderColor3 = Color3.fromRGB(255,255,255)
- extraframe.BackgroundColor3 = Color3.fromRGB(50,50,50)
- extraframe.Position = UDim2.new(-.7,0,.3,0)
- extraframe.Size = UDim2.new(.7,0,.6,0)
- local deleteclones = Instance.new("TextButton")
- deleteclones.Parent = extraframe
- deleteclones.BorderColor3 = Color3.fromRGB(255,255,255)
- deleteclones.Text = "Delete All Clones"
- deleteclones.TextScaled = true
- deleteclones.TextColor3 = Color3.fromRGB(200,200,200)
- deleteclones.BackgroundTransparency = .5
- deleteclones.Size = UDim2.new(1,0,.3,0)
- deleteclones.Position = UDim2.new(0,0,.15,0)
- local deleteclonesfunc = deleteclones.MouseButton1Click:Connect(function()
- if getplrtycoon() ~= nil and tycoon.Tycoon.KeyObjects:FindFirstChild("ClearNPCs") then
- localplr.Character.HumanoidRootPart.CFrame = tycoon.Tycoon.KeyObjects:FindFirstChild("ClearNPCs").Button.CFrame * CFrame.new(0,0,6)
- localplr.Character.Humanoid:MoveTo((tycoon.Tycoon.KeyObjects:FindFirstChild("ClearNPCs").Button.CFrame * CFrame.new(0,0,5)).Position)
- localplr.Character.Humanoid.MoveToFinished:Wait()
- wait(.2)
- fireproximityprompt(tycoon.Tycoon.KeyObjects:FindFirstChild("ClearNPCs").Button.ProximityPrompt)
- end
- end)
- local fixstuckclones = Instance.new("TextButton")
- fixstuckclones.Parent = extraframe
- fixstuckclones.BorderColor3 = Color3.fromRGB(255,255,255)
- fixstuckclones.Text = "Fix Stuck Clones"
- fixstuckclones.TextScaled = true
- fixstuckclones.TextColor3 = Color3.fromRGB(200,200,200)
- fixstuckclones.BackgroundTransparency = .5
- fixstuckclones.Size = UDim2.new(1,0,.3,0)
- fixstuckclones.Position = UDim2.new(0,0,.55,0)
- local fixstuckclonesfunc = fixstuckclones.MouseButton1Click:Connect(function()
- if getplrtycoon() ~= nil and tycoon.Tycoon.KeyObjects:FindFirstChild("FixNPCs") then
- localplr.Character.HumanoidRootPart.CFrame = tycoon.Tycoon.KeyObjects:FindFirstChild("FixNPCs").Button.CFrame * CFrame.new(0,0,6)
- localplr.Character.Humanoid:MoveTo((tycoon.Tycoon.KeyObjects:FindFirstChild("FixNPCs").Button.CFrame * CFrame.new(0,0,5)).Position)
- localplr.Character.Humanoid.MoveToFinished:Wait()
- wait(.2)
- fireproximityprompt(tycoon.Tycoon.KeyObjects:FindFirstChild("FixNPCs").Button.ProximityPrompt)
- end
- end)
- local extrastuffenable = Instance.new("TextButton")
- extrastuffenable.Parent = mainframe
- extrastuffenable.BorderColor3 = Color3.fromRGB(255,255,255)
- extrastuffenable.Text = "Toggle Extra Stuff"
- extrastuffenable.TextScaled = true
- extrastuffenable.TextColor3 = Color3.fromRGB(200,200,200)
- extrastuffenable.BackgroundTransparency = .5
- extrastuffenable.Size = UDim2.new(.3,0,.2,0)
- extrastuffenable.Position = UDim2.new(.65,0,.7,0)
- local enableextrastuff = extrastuffenable.MouseButton1Click:Connect(function()
- if stuffenabled == false then
- extrastuffenable.Text = "UnToggle Extra Stuff"
- stuffenabled = true
- extraframe.Visible = true
- elseif stuffenabled == true then
- extrastuffenable.Text = "Toggle Extra Stuff"
- stuffenabled = false
- extraframe.Visible = false
- end
- end)
- local hum = localplr.Character:WaitForChild("Humanoid")
- walkspeedslidertext.Text = "Walkspeed: "..tostring(hum.WalkSpeed)
- jumppowerslidertext.Text = "Jumppower: "..tostring(hum.JumpPower)
- hum.UseJumpPower = true
- local humchanged = hum.Changed:Connect(function()
- walkspeedslidertext.Text = "Walkspeed: "..tostring(hum.WalkSpeed)
- jumppowerslidertext.Text = "Jumppower: "..tostring(hum.JumpPower)
- end)
- local plradded = localplr.CharacterAdded:Connect(function(char)
- local hum = char:WaitForChild("Humanoid")
- walkspeedslidertext.Text = "Walkspeed: "..tostring(hum.WalkSpeed)
- jumppowerslidertext.Text = "Jumppower: "..tostring(hum.JumpPower)
- hum.UseJumpPower = true
- hum.WalkSpeed = ws
- hum.JumpPower = jp
- hum.Changed:Connect(function()
- walkspeedslidertext.Text = "Walkspeed: "..tostring(hum.WalkSpeed)
- jumppowerslidertext.Text = "Jumppower: "..tostring(hum.JumpPower)
- end)
- end)
- local togglegui = game:GetService("UserInputService").InputBegan:Connect(function(input,gameproc)
- if input.KeyCode == keybind then
- if guitoggledoff == false then
- guitoggledoff = true
- gui.Enabled = false
- elseif guitoggledoff == true then
- guitoggledoff = false
- gui.Enabled = true
- end
- end
- end)
- destroy = function()
- gui:Destroy()
- autobuy = false
- autocollect = false
- autosave = false
- autostats = false
- togglegui:Disconnect()
- plradded:Disconnect()
- humchanged:Disconnect()
- enableextrastuff:Disconnect()
- fixstuckclonesfunc:Disconnect()
- deleteclonesfunc:Disconnect()
- jpreset:Disconnect()
- wsreset:Disconnect()
- jumppowersliding:Disconnect()
- walkspeedsliding:Disconnect()
- onsliderframetoggle:Disconnect()
- ondeleteallparts:Disconnect()
- autostatfunc:Disconnect()
- autosavefunc:Disconnect()
- autocollectfunc:Disconnect()
- autobuyfunc:Disconnect()
- checkforguidelete:Disconnect()
- onstopclick:Disconnect()
- onclick:Disconnect()
- end
Advertisement
Add Comment
Please, Sign In to add comment
Advertisement