Not a member of Pastebin yet?
Sign Up,
it unlocks many cool features!
- local found1 = workspace.CurrentMap.Game:FindFirstChild("Pickups")
- if found1 then
- gemscoins1 = workspace.CurrentMap.Game.Pickups:GetChildren()
- for i,v in pairs (gemscoins1) do
- wait(0.1)
- game.Players.LocalPlayer.Character.HumanoidRootPart.CFrame = CFrame.new(v.Position)
- end
- end
- local found2 = workspace.CurrentMap.Game:FindFirstChild("CoinLocations")
- if found2 then
- gemscoins2 = workspace.CurrentMap.Game.CoinLocations:GetChildren()
- for i,v in pairs (gemscoins2) do
- wait(0.1)
- game.Players.LocalPlayer.Character.HumanoidRootPart.CFrame = CFrame.new(v.Position)
- end
- end
- local found3 = workspace.CurrentMap.Game:FindFirstChild("CrownLocations")
- if found3 then
- gemscoins3 = workspace.CurrentMap.Game.CrownLocations:GetChildren()
- for i,v in pairs (gemscoins3) do
- wait(0.1)
- game.Players.LocalPlayer.Character.HumanoidRootPart.CFrame = CFrame.new(v.Position)
- end
- end
- local found4 = workspace.CurrentMap.Game:FindFirstChild("CoinPickups")
- if found4 then
- gemscoins4 = workspace.CurrentMap.Game.CoinPickups:GetChildren()
- for i,v in pairs (gemscoins4) do
- wait(0.1)
- game.Players.LocalPlayer.Character.HumanoidRootPart.CFrame = CFrame.new(v.Position)
- end
- end
- local found5 = workspace.CurrentMap.Game:FindFirstChild("GemLocations")
- if found5 then
- gemscoins5 = workspace.CurrentMap.Game.GemLocations:GetChildren()
- for i,v in pairs (gemscoins5) do
- wait(0.1)
- game.Players.LocalPlayer.Character.HumanoidRootPart.CFrame = CFrame.new(v.Position)
- end
- end
- local checkpoint1 = workspace.CurrentMap.Game.CheckPointsModel:FindFirstChild("1")
- if checkpoint1 then
- teleport1 = checkpoint1.Button.Base.Position
- game.Players.LocalPlayer.Character.HumanoidRootPart.CFrame = CFrame.new(teleport1)
- end
- local checkpoint2 = workspace.CurrentMap.Game.CheckPointsModel:FindFirstChild("2")
- if checkpoint2 then
- teleport2 = checkpoint2.Button.Base.Position
- game.Players.LocalPlayer.Character.HumanoidRootPart.CFrame = CFrame.new(teleport2)
- end
- local checkpoint3 = workspace.CurrentMap.Game.CheckPointsModel:FindFirstChild("3")
- if checkpoint3 then
- teleport3 = checkpoint3.Button.Base.Position
- game.Players.LocalPlayer.Character.HumanoidRootPart.CFrame = CFrame.new(teleport3)
- end
- local end1 = workspace.CurrentMap.Map:FindFirstChild("EndingTeleporter")
- if end1 then
- done1 = end1.Base.Position
- game.Players.LocalPlayer.Character.HumanoidRootPart.CFrame = CFrame.new(done1)
- end
- local end1 = workspace.CurrentMap.Map:FindFirstChild("EndingTeleporter")
- if end1 then
- done1 = end1.Base.Position
- game.Players.LocalPlayer.Character.HumanoidRootPart.CFrame = CFrame.new(done1)
- end
- local end2 = workspace.CurrentMap.Map:FindFirstChild("EndingTeleporterModel")
- if end2 then
- done2 = end2.Base.Position
- game.Players.LocalPlayer.Character.HumanoidRootPart.CFrame = CFrame.new(done2)
- end
Advertisement
Add Comment
Please, Sign In to add comment