Advertisement
Not a member of Pastebin yet?
Sign Up,
it unlocks many cool features!
- --Thanks for using this script
- --This script is made by Joriangames/Problox Studio Scripts
- --Want to know how to use this? Watch my tutorial: https://youtu.be/DCiA3nRDBj8
- local spawns = game.Workspace.Spawns:GetChildren()
- local player = game.Players.LocalPlayer
- local debounce = true
- script.Parent.MouseButton1Click:Connect(function()
- if debounce == true then
- debounce = false
- local randomSpawn = spawns[math.random(1, #spawns)]
- player.Character.HumanoidRootPart.CFrame = randomSpawn.CFrame
- script.Parent.Visible = false
- wait()
- debounce = true
- end
- end)
Advertisement
Add Comment
Please, Sign In to add comment
Advertisement