Advertisement
SomebodyUntold

ROBLOX | Teleport GUI

Nov 25th, 2020 (edited)
1,447
0
Never
Not a member of Pastebin yet? Sign Up, it unlocks many cool features!
  1. game:GetService("StarterGui"):SetCore("SendNotification", {Title = "Loaded Teleport GUI", Text = "Subscribe to Phoenix Cheats for more scripts!"})
  2. game:GetService("StarterGui"):SetCore("SendNotification", {Title = "WARNING!", Text = "Sadly, this script won't work on all games like Jailbreak and other!"})
  3. local r = Instance.new("\83\99\114\101\101\110\71\117\105")
  4. local TestingGUI = Instance.new("ScreenGui")
  5. local MainGUI = Instance.new("Frame")
  6. local PlayerTP_Input = Instance.new("TextBox")
  7. local PlayerTP_Teleport = Instance.new("TextButton")
  8. --Properties:
  9. TestingGUI.Name = "Teleport GUI"
  10. TestingGUI.Parent = game.CoreGui
  11.  
  12. MainGUI.Name = "MainGUI"
  13. MainGUI.Parent = TestingGUI
  14. MainGUI.BackgroundColor3 = Color3.new(0.117647, 0.117647, 0.117647)
  15. MainGUI.BorderColor3 = Color3.new(0, 0, 0)
  16. MainGUI.BorderSizePixel = 3
  17. MainGUI.Position = UDim2.new(0.295202941, 0, 0.344621539, 0)
  18. MainGUI.Size = UDim2.new(0, 332, 0, 155)
  19. MainGUI.Active = true
  20. MainGUI.Draggable = true
  21.  
  22. PlayerTP_Input.Name = "PlayerTP_Input"
  23. PlayerTP_Input.Parent = MainGUI
  24. PlayerTP_Input.BackgroundColor3 = Color3.new(0, 0, 0)
  25. PlayerTP_Input.BackgroundTransparency = 0.5
  26. PlayerTP_Input.BorderColor3 = Color3.new(0, 0, 0)
  27. PlayerTP_Input.Size = UDim2.new(0, 332, 0, 50)
  28. PlayerTP_Input.Font = Enum.Font.SourceSans
  29. PlayerTP_Input.Text = ""
  30. PlayerTP_Input.TextColor3 = Color3.new(1, 1, 1)
  31. PlayerTP_Input.TextSize = 14
  32.  
  33. PlayerTP_Teleport.Name = "PlayerTP_Teleport"
  34. PlayerTP_Teleport.Parent = MainGUI
  35. PlayerTP_Teleport.BackgroundColor3 = Color3.new(0, 0, 0)
  36. PlayerTP_Teleport.BackgroundTransparency = 0.5
  37. PlayerTP_Teleport.BorderColor3 = Color3.new(0, 0, 0)
  38. PlayerTP_Teleport.Position = UDim2.new(0, 0, 0.677419245, 0)
  39. PlayerTP_Teleport.Size = UDim2.new(0, 332, 0, 50)
  40. PlayerTP_Teleport.Font = Enum.Font.SourceSans
  41. PlayerTP_Teleport.Text = "Teleport To Player"
  42. PlayerTP_Teleport.TextColor3 = Color3.new(1, 1, 1)
  43. PlayerTP_Teleport.TextSize = 14
  44. PlayerTP_Teleport.MouseButton1Click:connect(function()
  45.     local tp_namedplayer = PlayerTP_Input.Text
  46.     local tp_player = game:GetService("Players")[tp_namedplayer]
  47.     local PLR = game:GetService("Players").LocalPlayer
  48.     local p = PlayerTP_Input.Text
  49.    
  50.     if tp_player then
  51.         for i = 1,1 do
  52.         wait(.08)
  53.         PLR.Character.HumanoidRootPart.CFrame = tp_player.Character.HumanoidRootPart.CFrame + Vector3.new(0, 0, -1)
  54.         end
  55.     end
  56. end)
Advertisement
Add Comment
Please, Sign In to add comment
Advertisement