Advertisement
Robloitz

Prison Royale tp gui

Apr 6th, 2018
104,851
0
Never
Not a member of Pastebin yet? Sign Up, it unlocks many cool features!
text 2.34 KB | None | 0 0
  1. --Credits to Mod3rn#1999 for the dev of this crappy Gui and v3rm: Lau for helping with my teleport script error
  2.  
  3. local Metrality = Instance.new("ScreenGui")
  4. local KrazyGUI = Instance.new("Frame")
  5. local Show = Instance.new("TextButton")
  6. local TP = Instance.new("TextButton")
  7. local Users = Instance.new("TextBox")
  8. local Credits = Instance.new("TextLabel")
  9.  
  10.  
  11. Metrality.Name = "Metrality"
  12. Metrality.Parent = game.CoreGui
  13.  
  14. KrazyGUI.Name = "Krazy GUI"
  15. KrazyGUI.Parent = Metrality
  16. KrazyGUI.Active = true
  17. KrazyGUI.BackgroundColor3 = Color3.new(0.333333, 1, 1)
  18. KrazyGUI.Position = UDim2.new(0.699999988, 0, 0.699999988, 0)
  19. KrazyGUI.Selectable = true
  20. KrazyGUI.Size = UDim2.new(0, 250, 0, 125)
  21.  
  22. Show.Name = "Show"
  23. Show.Parent = KrazyGUI
  24. Show.BackgroundColor3 = Color3.new(0.333333, 0.333333, 1)
  25. Show.BackgroundTransparency = 0.40000000596046
  26. Show.Position = UDim2.new(0, 0, 0.400000006, 0)
  27. Show.Size = UDim2.new(0, 125, 0, 75)
  28. Show.Font = Enum.Font.SourceSans
  29. Show.Text = "Print Names"
  30. Show.TextSize = 14
  31.  
  32. TP.Name = "TP"
  33. TP.Parent = KrazyGUI
  34. TP.BackgroundColor3 = Color3.new(0.333333, 0.333333, 1)
  35. TP.BackgroundTransparency = 0.40000000596046
  36. TP.Position = UDim2.new(0.5, 0, 0.400000006, 0)
  37. TP.Size = UDim2.new(0, 125, 0, 75)
  38. TP.Font = Enum.Font.SourceSans
  39. TP.Text = "Teleport"
  40. TP.TextSize = 14
  41.  
  42. Users.Name = "Users"
  43. Users.Parent = KrazyGUI
  44. Users.BackgroundColor3 = Color3.new(0.333333, 0.333333, 1)
  45. Users.BackgroundTransparency = 0.5
  46. Users.Size = UDim2.new(0, 250, 0, 50)
  47. Users.Font = Enum.Font.SourceSans
  48. Users.Text = "UserName"
  49. Users.TextSize = 14
  50.  
  51. Credits.Name = "Credits"
  52. Credits.Parent = KrazyGUI
  53. Credits.Active = true
  54. Credits.BackgroundColor3 = Color3.new(0.333333, 0.666667, 1)
  55. Credits.BackgroundTransparency = 0.40000000596046
  56. Credits.Position = UDim2.new(0, 0, -0.136000007, 0)
  57. Credits.Size = UDim2.new(0, 250, 0, 17)
  58. Credits.Font = Enum.Font.SourceSans
  59. Credits.Text = "Credits: Mod3rn#1999 + Lau V3rm for help"
  60. Credits.TextSize = 14
  61.  
  62.  
  63. Show.MouseButton1Down:connect(function()
  64. for i,v in pairs(game.Players:GetChildren()) do
  65. print(v)
  66. end
  67. wait(0.1)
  68. print("[-------------------------------------------------------]")
  69. end)
  70.  
  71. TP.MouseButton1Down:connect(function()
  72. Player = game.Players.LocalPlayer.Name
  73. User = Users.Text
  74. game.Workspace[Player].HumanoidRootPart.CFrame = game.Workspace[User].HumanoidRootPart.CFrame
  75. end)
Advertisement
Add Comment
Please, Sign In to add comment
Advertisement