Advertisement
Guest User

Valley Prison Roleplay Tp script

a guest
Feb 10th, 2025
326
0
Never
Not a member of Pastebin yet? Sign Up, it unlocks many cool features!
text 0.71 KB | Source Code | 0 0
  1. local player = game.Players.LocalPlayer
  2. local playerGui = player:WaitForChild("PlayerGui")
  3.  
  4. local textButton = Instance.new("TextButton")
  5. local screenGui = Instance.new("ScreenGui")
  6. screenGui.Name = "Work"
  7. screenGui.ResetOnSpawn = False
  8. screenGui.Parent = playerGui
  9.  
  10.  
  11. textButton.Size = UDim2.new(0, 200, 0, 50)
  12. textButton.Position = UDim2.new(0.1, -100, 0.5, -25)
  13. textButton.Text = "Become Escapee"
  14. textButton.Parent = screenGui
  15.  
  16.  
  17. textButton.MouseButton1Click:Connect(function()
  18. game.Players.LocalPlayer.Character:MoveTo(game.Workspace.Map.Functionable.Invisible.EscapeBarriers:FindFirstChild("Barrier").Position)
  19. Wait(2)
  20. game.Players.LocalPlayer.Character:FindFirstChild("Humanoid").Health = 0
  21. end)
Advertisement
Add Comment
Please, Sign In to add comment
Advertisement