Advertisement
Meliodas0_0

teleport to player JB

Sep 29th, 2019
169
0
Never
Not a member of Pastebin yet? Sign Up, it unlocks many cool features!
text 3.78 KB | None | 0 0
  1. -- Farewell Infortality.
  2. -- Version: 2.82
  3. -- Instances:
  4. local ScreenGui = Instance.new("ScreenGui")
  5. local drag = Instance.new("TextLabel")
  6. local Frame = Instance.new("Frame")
  7. local TextLabel = Instance.new("TextLabel")
  8. local username = Instance.new("TextBox")
  9. local button = Instance.new("TextButton")
  10. local Frame_2 = Instance.new("Frame")
  11. --Properties:
  12. ScreenGui.Parent = game.Players.LocalPlayer:WaitForChild("PlayerGui")
  13. ScreenGui.ZIndexBehavior = Enum.ZIndexBehavior.Sibling
  14.  
  15. drag.Name = "drag"
  16. drag.Parent = ScreenGui
  17. drag.BackgroundColor3 = Color3.new(0.294118, 0.294118, 0.294118)
  18. drag.BorderSizePixel = 0
  19. drag.Position = UDim2.new(0.63885349, 0, 0.276412785, 0)
  20. drag.Size = UDim2.new(0, 223, 0, 26)
  21. drag.Font = Enum.Font.SourceSansBold
  22. drag.Text = "Jailbreak Player Teleport"
  23. drag.TextColor3 = Color3.new(1, 1, 1)
  24. drag.TextSize = 20
  25. drag.TextStrokeTransparency = 0
  26. drag.TextWrapped = true
  27.  
  28. Frame.Parent = drag
  29. Frame.BackgroundColor3 = Color3.new(0.188235, 0.188235, 0.188235)
  30. Frame.BorderSizePixel = 0
  31. Frame.Position = UDim2.new(0, 0, 1, 0)
  32. Frame.Size = UDim2.new(0, 223, 0, 115)
  33.  
  34. TextLabel.Parent = Frame
  35. TextLabel.BackgroundColor3 = Color3.new(1, 1, 1)
  36. TextLabel.BackgroundTransparency = 1
  37. TextLabel.Position = UDim2.new(0, 0, 0.835682154, 0)
  38. TextLabel.Size = UDim2.new(0, 223, 0, 18)
  39. TextLabel.Font = Enum.Font.SourceSansBold
  40. TextLabel.Text = "Scripted By: Laced Xans#6787"
  41. TextLabel.TextColor3 = Color3.new(1, 1, 1)
  42. TextLabel.TextSize = 15
  43. TextLabel.TextStrokeTransparency = 0
  44. TextLabel.TextXAlignment = Enum.TextXAlignment.Left
  45.  
  46. username.Name = "username"
  47. username.Parent = Frame
  48. username.BackgroundColor3 = Color3.new(0.294118, 0.294118, 0.294118)
  49. username.BorderSizePixel = 0
  50. username.Position = UDim2.new(0.0493273549, 0, 0.132183909, 0)
  51. username.Size = UDim2.new(0, 200, 0, 16)
  52. username.Font = Enum.Font.Arial
  53. username.PlaceholderColor3 = Color3.new(1, 1, 1)
  54. username.PlaceholderText = "< Username >"
  55. username.Text = ""
  56. username.TextColor3 = Color3.new(1, 1, 1)
  57. username.TextSize = 16
  58. username.TextStrokeTransparency = 0.89999997615814
  59.  
  60. button.Name = "button"
  61. button.Parent = Frame
  62. button.BackgroundColor3 = Color3.new(0.294118, 0.294118, 0.294118)
  63. button.BorderSizePixel = 0
  64. button.Position = UDim2.new(0.0493273549, 0, 0.426086962, 0)
  65. button.Size = UDim2.new(0, 200, 0, 16)
  66. button.Font = Enum.Font.Arial
  67. button.Text = "Teleport"
  68. button.TextColor3 = Color3.new(1, 1, 1)
  69. button.TextSize = 16
  70. button.TextStrokeTransparency = 0.89999997615814
  71.  
  72. Frame_2.Parent = drag
  73. Frame_2.BackgroundColor3 = Color3.new(1, 1, 1)
  74. Frame_2.BorderSizePixel = 0
  75. Frame_2.Position = UDim2.new(0, 0, 1, 0)
  76. Frame_2.Size = UDim2.new(0, 223, 0.0500000045, 0)
  77. -- Scripts:
  78. drag.Active = true
  79. drag.Draggable = true
  80. local E = false
  81.  
  82. username.Focused:Connect(function()
  83. E = true
  84. end)
  85.  
  86. username.FocusLost:Connect(function()
  87. wait()
  88. E = false
  89. end)
  90.  
  91. game:GetService("UserInputService").InputBegan:Connect(function(Key)
  92. if Key.KeyCode == Enum.KeyCode.Return then
  93. if E == true then
  94. for i,v in next, game:GetService("Players"):GetChildren() do
  95. if string.find(string.lower(v.Name),string.lower(username.Text)) and v.Name ~= game:GetService("Players").LocalPlayer.Name then
  96. username.Text = v.Name
  97. break
  98. end
  99. end
  100. else
  101. end
  102. end
  103. end)
  104.  
  105. button.MouseButton1Click:Connect(function()
  106. for i,v in next, getreg() do
  107. if type(v)=='function' then
  108. for a,b in next, debug.getupvalues(v) do
  109. if type(b) == 'table' then
  110. for u,y in next, b do
  111. if u=='Parachute' then
  112. y()
  113. game:GetService("Players").LocalPlayer.Character.HumanoidRootPart.CFrame = game:GetService("Players")[username.Text].Character.Head.CFrame + Vector3.new(0,7,0)
  114. end
  115. end
  116. end
  117. end
  118. end
  119. end
  120. end)
Advertisement
Add Comment
Please, Sign In to add comment
Advertisement