Log in to vote

How to make button what change GUI button script teleporting you to the first checkpoint to next?

Asked by 10 days ago

Ok i made the button with a script that teleports you to the obby. So i need to make button on part what changing part you teleport on. Or you touching part and you now teleporting on this part when start obby button was clicked. Something like that.

Theres a button script:

local checkpoint = game.Workspace.ObbyCheck script.Parent.MouseButton1Click:Connect(function() local player = game.Players.LocalPlayer player.Character.HumanoidRootPart.CFrame =,checkpoint.Position.Y + 1,checkpoint.Position.Z) end)

Answer this question