Advertisement
Not a member of Pastebin yet?
Sign Up,
it unlocks many cool features!
- for i, v in pairs(game:GetService("CoreGui"):GetChildren()) do
- if v.Name == "ui" then
- v:Destroy()
- end
- end
- local UI = loadstring(game:HttpGetAsync("https://pastebin.com/raw/0589YkmB"))()
- local window = UI:Window("Premium")
- local nif = UI:Notification("Welcome to", game:GetService("Players").LocalPlayer.Name, "Okay!")
- local farm = window:Tab("AutoFarm")
- local main = window:Tab("Main")
- local player = window:Tab("LocalPlayer")
- _G.farm = false
- farm:Toggle("AutoFarm Candy", false, function(value)
- _G.farm = value
- end)
- _G.Espm = false
- main:Toggle("Esp", false, function(value)
- _G.Espm = value
- end)
- _G.Gunesp = false
- main:Toggle("Gun Esp", false, function(value)
- _G.Gunesp = value
- end)
- _G.Gun = false
- main:Toggle("Teleport to Gun", false, function(value)
- _G.Gun = value
- end)
- _G.Speed = 16
- local speed = player:Slider("WalkSpeed", 0, 40, 16, function(value)
- _G.Speed = value
- end)
- _G.Noclip = false
- player:Toggle("Noclip", false, function(value)
- _G.Noclip = value
- end)
- game:GetService("RunService").RenderStepped:Connect(function()
- pcall(function()
- game:GetService("Players").LocalPlayer.Character.Humanoid.WalkSpeed = _G.Speed
- end)
- end)
- game:GetService("RunService").RenderStepped:Connect(function()
- if _G.farm or _G.Noclip then
- for i, v in game.Players.LocalPlayer.Character:GetChildren() do
- if v:IsA("BasePart") then
- v.CanCollide = false
- end
- end
- end
- end)
- spawn(function()
- while wait() do
- pcall(function()
- if _G.farm and game:GetService("Players").LocalPlayer.PlayerGui.MainGUI.Game.CoinBags.Container.Candy.CurrencyFrame.Icon.Coins.Text ~= "40" then
- repeat wait() until game:GetService("Players").LocalPlayer.Character:FindFirstChild("HumanoidRootPart")
- for i, v in workspace:GetChildren() do
- if v:FindFirstChild("CoinContainer") then
- dis = {}
- for g, f in v:FindFirstChild("CoinContainer"):GetChildren() do
- dis[g] = (game:GetService("Players").LocalPlayer.Character.HumanoidRootPart.Position - f.Position).magnitude
- end
- table.sort(dis,function(a,b)
- return a < b
- end)
- end
- end
- if not game:GetService("Players").LocalPlayer.Character.HumanoidRootPart:FindFirstChild("Vel") then
- local vel = Instance.new("BodyVelocity")
- vel.Name = "Vel"
- vel.Parent = game:GetService("Players").LocalPlayer.Character.HumanoidRootPart
- vel.MaxForce = Vector3.new(math.huge,math.huge,math.huge)
- vel.Velocity = Vector3.new(0,0,0)
- end
- for _, v in workspace:GetChildren() do
- if v:FindFirstChild("CoinContainer") then
- for _, f in v:FindFirstChild("CoinContainer"):GetChildren() do
- if (game:GetService("Players").LocalPlayer.Character.HumanoidRootPart.Position - f.Position).magnitude == dis[1] and dis[1] < 500 then
- repeat
- wait()
- if not f or _G.farm == false then
- break
- end
- game:GetService("Players").LocalPlayer.Character.HumanoidRootPart.Vel.Velocity = CFrame.lookAt(game:GetService("Players").LocalPlayer.Character.HumanoidRootPart.Position,f.Position).LookVector * dis[1] / dis[1] * 27
- until (f.Position - game:GetService("Players").LocalPlayer.Character.HumanoidRootPart.Position).magnitude < 2
- wait(.1)
- f:Destroy()
- break
- end
- end
- end
- end
- else
- repeat wait() until game:GetService("Players").LocalPlayer.Character:FindFirstChild("HumanoidRootPart")
- if game:GetService("Players").LocalPlayer.Character.HumanoidRootPart:FindFirstChild("Vel") then
- game:GetService("Players").LocalPlayer.Character.HumanoidRootPart.Vel:Destroy()
- end
- end
- end)
- end
- end)
- spawn(function()
- while wait() do
- pcall(function()
- if _G.Espm then
- for i, v in game:GetService("Players"):GetChildren() do
- if v.Name ~= game:GetService("Players").LocalPlayer.Name then
- if not v.Character:FindFirstChild("Highlight") then
- hight = Instance.new("Highlight", v.Character)
- hight.FillTransparency = 1
- end
- if not v.Character:FindFirstChild("BillboardGui") then
- local bill = Instance.new("BillboardGui", v.Character)
- bill.Adornee = v.Character
- bill.Size = UDim2.new(0, 200,0, 50)
- bill.StudsOffset = Vector3.new(0,4,0)
- bill.AlwaysOnTop = true
- local textlabel = Instance.new("TextLabel", bill)
- textlabel.Size = UDim2.new(1,0,1,0)
- textlabel.Position = UDim2.new(0,0,0,0)
- textlabel.Name = "TextLabelTitle"
- textlabel.Text = v.DisplayName
- textlabel.BackgroundTransparency = 1
- textlabel.TextSize = 17
- textlabel.FontFace = Font.new("rbxasset://fonts/families/SourceSansPro.json", Enum.FontWeight.Bold, Enum.FontStyle.Normal)
- local stroke = Instance.new("UIStroke", textlabel)
- textlabel.TextColor3 = Color3.new(1, 1, 1)
- end
- if v.Backpack:FindFirstChild("Gun") or v.Character:FindFirstChild("Gun") then
- v.Character.BillboardGui.TextLabelTitle.TextColor3 = Color3.new(0, 0.431373, 1)
- v.Character.Highlight.OutlineColor = Color3.new(0, 0.431373, 1)
- elseif v.Backpack:FindFirstChild("Knife") or v.Character:FindFirstChild("Knife") then
- v.Character.BillboardGui.TextLabelTitle.TextColor3 = Color3.new(1, 0.0117647, 0.0117647)
- v.Character.Highlight.OutlineColor = Color3.new(1, 0.0117647, 0.0117647)
- end
- end
- end
- else
- for i, v in game:GetService("Players"):GetChildren() do
- if v.Name ~= game:GetService("Players").LocalPlayer.Name then
- if v.Character:FindFirstChild("Highlight") then
- v.Character.Highlight:Destroy()
- end
- if v.Character:FindFirstChild("BillboardGui") then
- v.Character.BillboardGui:Destroy()
- end
- end
- end
- end
- end)
- wait(1)
- end
- end)
- while wait() do
- if _G.Gunesp then
- for i, v in workspace:GetChildren() do
- if v:FindFirstChild("GunDrop") then
- if not v:FindFirstChild("Highlight") then
- local hight = Instance.new("Highlight")
- hight.Parent = v:FindFirstChild("GunDrop")
- hight.FillTransparency = 1
- hight.OutlineColor = Color3.fromRGB(255, 170, 0)
- end
- end
- end
- end
- if _G.Gun then
- for i, v in workspace:GetChildren() do
- if v:FindFirstChild("GunDrop") then
- repeat wait() until game:GetService("Players").LocalPlayer.Character:FindFirstChild("HumanoidRootPart")
- local pos = game:GetService("Players").LocalPlayer.Character.HumanoidRootPart.CFrame
- game.Players.LocalPlayer.Character.HumanoidRootPart.CFrame = CFrame.new(v:FindFirstChild("GunDrop").Position)
- wait(.2)
- game.Players.LocalPlayer.Character.HumanoidRootPart.CFrame = pos
- end
- end
- end
- wait(.2)
- end
Advertisement
Advertisement