Advertisement
Not a member of Pastebin yet?
Sign Up,
it unlocks many cool features!
- function Coins()
- local plr = game.Players.LocalPlayer
- local plrN = plr.Name
- for i,v in pairs(game.Workspace:GetChildren()) do
- if v.Name == "Coin1" and on == 1 then
- game.Players.LocalPlayer.Character.HumanoidRootPart.CFrame = v.Handle.CFrame
- wait(.2)
- end
- end
- end
- function Buttons()
- local plr = game.Players.LocalPlayer
- local plrN = plr.Name
- for i,v in pairs(game.Workspace:GetChildren()) do
- if v.Name == "_Minion" and v.PrimaryPart ~= nil and v.PrimaryPart == "HumanoidRootPart" and on == 1 then
- wait(.05)
- game.Players.LocalPlayer.Character.HumanoidRootPart.CFrame = v.Chest.button.CFrame
- end
- end
- end
- function code()
- local plr = game.Players.LocalPlayer
- local plrN = plr.Name
- while wait() do
- Coins()
- wait(.5)
- Buttons()
- wait()
- end
- end
- wait(.1)
- on = 1
- wait()
- code()
Advertisement
Add Comment
Please, Sign In to add comment
Advertisement