Advertisement
Guest User

tp_gui

a guest
Jul 17th, 2019
387
0
Never
Not a member of Pastebin yet? Sign Up, it unlocks many cool features!
text 2.31 KB | None | 0 0
  1. -- Farewell infortality
  2. -- Revamp by ImFrostic, Version 2.8
  3.  
  4. -- Objects
  5.  
  6. local TeleportToPlayer = Instance.new("ScreenGui")
  7. local Frame = Instance.new("Frame")
  8. local PlayerName = Instance.new("TextBox")
  9. local Execute = Instance.new("TextButton")
  10. local TextLabel = Instance.new("TextLabel")
  11.  
  12. -- Properties
  13.  
  14. TeleportToPlayer.Name = "TeleportToPlayer"
  15. TeleportToPlayer.Parent = game.CoreGui
  16.  
  17. Frame.Parent = TeleportToPlayer
  18. Frame.Active = true
  19. Frame.BackgroundColor3 = Color3.new(0.14902, 0.14902, 0.14902)
  20. Frame.Position = UDim2.new(0.0154397488, 0, 0.65007323, 0)
  21. Frame.Size = UDim2.new(0, 193, 0, 113)
  22. Frame.Style = Enum.FrameStyle.DropShadow
  23. Frame.Draggable = true
  24.  
  25. PlayerName.Name = "PlayerName"
  26. PlayerName.Parent = Frame
  27. PlayerName.BackgroundColor3 = Color3.new(0.298039, 0.301961, 0.313726)
  28. PlayerName.BackgroundTransparency = 0.20000000298023
  29. PlayerName.Position = UDim2.new(0, -2, 0, 27)
  30. PlayerName.Size = UDim2.new(0, 180, 0, 40)
  31. PlayerName.Font = Enum.Font.SourceSans
  32. PlayerName.Text = "Player Name"
  33. PlayerName.TextColor3 = Color3.new(1, 1, 1)
  34. PlayerName.TextScaled = true
  35. PlayerName.TextSize = 10
  36. PlayerName.TextWrapped = true
  37.  
  38. Execute.Name = "Execute"
  39. Execute.Parent = Frame
  40. Execute.BackgroundColor3 = Color3.new(0.14902, 0.14902, 0.14902)
  41. Execute.BackgroundTransparency = 0.60000000298023
  42. Execute.Position = UDim2.new(0, -2, 0, 69)
  43. Execute.Size = UDim2.new(0, 180, 0, 32)
  44. Execute.Font = Enum.Font.SourceSans
  45. Execute.Text = "Teleport"
  46. Execute.TextScaled = true
  47. Execute.TextColor3 = Color3.new(1, 1, 1)
  48. Execute.TextSize = 14
  49. Execute.TextWrapped = true
  50. Execute.MouseButton1Click:connect(function()
  51. local Target
  52. local character
  53. local Player
  54. Player = game.Players.LocalPlayer
  55. character = workspace:WaitForChild(Player.name)
  56. Target = PlayerName.Text
  57. Player.character.HumanoidRootPart.CFrame = game.Players[Target].character.HumanoidRootPart.CFrame
  58. end)
  59.  
  60. TextLabel.Parent = Frame
  61. TextLabel.BackgroundColor3 = Color3.new(0, 0, 0)
  62. TextLabel.BackgroundTransparency = 0.60000002384186
  63. TextLabel.Position = UDim2.new(0, -2, 0, -2)
  64. TextLabel.Size = UDim2.new(0, 180, 0, 25)
  65. TextLabel.Font = Enum.Font.SourceSansBold
  66. TextLabel.Text = "TP by Sexy Potato"
  67. TextLabel.TextColor3 = Color3.new(1, 1, 1)
  68. TextLabel.TextScaled = true
  69. TextLabel.TextSize = 14
  70. TextLabel.TextWrapped = true
  71.  
  72. -- Scripts
Advertisement
Add Comment
Please, Sign In to add comment
Advertisement