Advertisement
Not a member of Pastebin yet?
Sign Up,
it unlocks many cool features!
- game.ReplicatedStorage.GameState:GetPropertyChangedSignal("Value"):connect(function()if game.ReplicatedStorage.GameState.Value=="Playing"then local a=workspace.CurrentMap.Game:GetDescendants()for a,a in pairs(a)do if a.Name=="Gem"or a.Name=="Coin"then wait(0.1)game.Players.LocalPlayer.Character.HumanoidRootPart.CFrame=CFrame.new(a.Position)end end for a,a in pairs(a)do if string.match("checkpoint",string.lower(a.Name))then wait(0.1)game.Players.LocalPlayer.Character.HumanoidRootPart.CFrame=CFrame.new(a.Position)end end local a=workspace.CurrentMap.Map:GetDescendants()for a,a in pairs(a)do if a.Name=="Base"then wait(0.1)game.Players.LocalPlayer.Character.HumanoidRootPart.CFrame=CFrame.new(a.Base.Position)end end end end)
Advertisement
Add Comment
Please, Sign In to add comment
Advertisement