Advertisement
TigerManGamingYT

TP GUI

Dec 8th, 2018
443
0
Never
Not a member of Pastebin yet? Sign Up, it unlocks many cool features!
Lua 2.58 KB | None | 0 0
  1. -- TP GUI
  2. -- Designed and Scripted by TigerManGamingYT
  3. -- Version: 1.0
  4.  
  5. -- Instances:
  6. local TPGUI = Instance.new("ScreenGui")
  7. local TPFrame = Instance.new("Frame")
  8. local TPToLocation = Instance.new("TextButton")
  9. local SaveLocation = Instance.new("TextButton")
  10. local Status = Instance.new("TextLabel")
  11. local Exit = Instance.new("TextButton")
  12. --Properties:
  13. TPGUI.Name = "TPGUI"
  14. TPGUI.Parent = game.CoreGui
  15.  
  16. TPFrame.Name = "TPFrame"
  17. TPFrame.Parent = TPGUI
  18. TPFrame.BackgroundColor3 = Color3.new(0.631373, 0.631373, 0.631373)
  19. TPFrame.Position = UDim2.new(0, 0, 0.664619148, 0)
  20. TPFrame.Size = UDim2.new(0, 113, 0, 164)
  21.  
  22. TPToLocation.Name = "TPToLocation"
  23. TPToLocation.Parent = TPFrame
  24. TPToLocation.BackgroundColor3 = Color3.new(0.552941, 0.552941, 0.552941)
  25. TPToLocation.BorderColor3 = Color3.new(0, 0, 0)
  26. TPToLocation.Position = UDim2.new(0, 0, 0.695121944, 0)
  27. TPToLocation.Size = UDim2.new(0, 113, 0, 50)
  28. TPToLocation.Font = Enum.Font.SourceSans
  29. TPToLocation.Text = "TP to saved location"
  30. TPToLocation.TextColor3 = Color3.new(0, 0, 0)
  31. TPToLocation.TextSize = 14
  32.  
  33. SaveLocation.Name = "SaveLocation"
  34. SaveLocation.Parent = TPFrame
  35. SaveLocation.BackgroundColor3 = Color3.new(0.552941, 0.552941, 0.552941)
  36. SaveLocation.BorderColor3 = Color3.new(0, 0, 0)
  37. SaveLocation.Position = UDim2.new(0, 0, 0.390243888, 0)
  38. SaveLocation.Size = UDim2.new(0, 113, 0, 50)
  39. SaveLocation.Font = Enum.Font.SourceSans
  40. SaveLocation.Text = "Save Location"
  41. SaveLocation.TextColor3 = Color3.new(0, 0, 0)
  42. SaveLocation.TextSize = 14
  43.  
  44. Status.Name = "Status"
  45. Status.Parent = TPFrame
  46. Status.BackgroundColor3 = Color3.new(0.552941, 0.552941, 0.552941)
  47. Status.BorderColor3 = Color3.new(0, 0, 0)
  48. Status.Position = UDim2.new(0, 0, 0.158536583, 0)
  49. Status.Size = UDim2.new(0, 113, 0, 27)
  50. Status.Font = Enum.Font.SourceSans
  51. Status.Text = "-"
  52. Status.TextColor3 = Color3.new(0, 0, 0)
  53. Status.TextSize = 14
  54.  
  55. Exit.Name = "Exit"
  56. Exit.Parent = TPFrame
  57. Exit.BackgroundColor3 = Color3.new(0.764706, 0, 0)
  58. Exit.BorderColor3 = Color3.new(0, 0, 0)
  59. Exit.Size = UDim2.new(0, 113, 0, 15)
  60. Exit.Font = Enum.Font.SourceSans
  61. Exit.Text = "Exit"
  62. Exit.TextColor3 = Color3.new(0, 0, 0)
  63. Exit.TextSize = 14
  64. -- Scripts:
  65.  
  66. SaveLocation.MouseButton1Down:connect(function()
  67.     Location = game.Players.LocalPlayer.Character.HumanoidRootPart.Position
  68.     print(Location)
  69.     Status.Text = "Saved to Console [F9]"
  70. end)
  71.  
  72. TPToLocation.MouseButton1Down:connect(function()
  73.     game.Players.LocalPlayer.Character.HumanoidRootPart.CFrame = CFrame.new(Location)
  74.     Status.Text = "TP'd to Location."
  75. end)
  76.  
  77. Exit.MouseButton1Down:connect(function()
  78.     TPGUI:Destroy()
  79. end)
Advertisement
Add Comment
Please, Sign In to add comment
Advertisement