Advertisement
FazzaRBLX

Teleport Gui

Oct 22nd, 2018
623
0
Never
Not a member of Pastebin yet? Sign Up, it unlocks many cool features!
Lua 3.71 KB | None | 0 0
  1. -- Farewell Infortality.
  2. -- Version: 2.82
  3. -- Instances:
  4. local JailBreak = Instance.new("ScreenGui")
  5. local TeleportFrame = Instance.new("Frame")
  6. local Title = Instance.new("TextLabel")
  7. local ExitTeleport = Instance.new("TextButton")
  8. local teleport = Instance.new("TextButton")
  9. local TextLabel = Instance.new("TextLabel")
  10. --Properties:
  11. JailBreak.Name = "JailBreak"
  12. JailBreak.Parent = game.CoreGui
  13.  
  14. TeleportFrame.Name = "TeleportFrame"
  15. TeleportFrame.Parent = JailBreak
  16. TeleportFrame.Active = true
  17. TeleportFrame.BackgroundColor3 = Color3.new(0.117647, 0.117647, 0.117647)
  18. TeleportFrame.BorderColor3 = Color3.new(0.117647, 0.117647, 0.117647)
  19. TeleportFrame.ClipsDescendants = true
  20. TeleportFrame.Position = UDim2.new(0.297655463, 0, 0.319488823, 0)
  21. TeleportFrame.Selectable = true
  22. TeleportFrame.Size = UDim2.new(0, 358, 0, 240)
  23. TeleportFrame.Draggable = true
  24.  
  25. Title.Name = "Title"
  26. Title.Parent = TeleportFrame
  27. Title.BackgroundColor3 = Color3.new(0.0588235, 0.0588235, 0.0588235)
  28. Title.BorderColor3 = Color3.new(0.0588235, 0.0588235, 0.0588235)
  29. Title.Size = UDim2.new(0, 358, 0, 50)
  30. Title.Font = Enum.Font.SourceSansBold
  31. Title.Text = "TELEPORT"
  32. Title.TextColor3 = Color3.new(0.333333, 1, 1)
  33. Title.TextScaled = true
  34. Title.TextSize = 14
  35. Title.TextWrapped = true
  36.  
  37. ExitTeleport.Name = "ExitTeleport"
  38. ExitTeleport.Parent = TeleportFrame
  39. ExitTeleport.BackgroundColor3 = Color3.new(0.0588235, 0.0588235, 0.0588235)
  40. ExitTeleport.BorderColor3 = Color3.new(0.0588235, 0.0588235, 0.0588235)
  41. ExitTeleport.Position = UDim2.new(0.865921795, 0, 0, 0)
  42. ExitTeleport.Size = UDim2.new(0, 48, 0, 50)
  43. ExitTeleport.Font = Enum.Font.SourceSansBold
  44. ExitTeleport.Text = "X"
  45. ExitTeleport.TextColor3 = Color3.new(1, 0, 0)
  46. ExitTeleport.TextScaled = true
  47. ExitTeleport.TextSize = 14
  48. ExitTeleport.TextWrapped = true
  49. ExitTeleport.MouseButton1Down:connect(function()
  50.     TeleportFrame:Destroy()
  51. end)
  52.  
  53. teleport.Name = "teleport"
  54. teleport.Parent = TeleportFrame
  55. teleport.BackgroundColor3 = Color3.new(0.0588235, 0.0588235, 0.0588235)
  56. teleport.BorderColor3 = Color3.new(0.0588235, 0.0588235, 0.0588235)
  57. teleport.Position = UDim2.new(0.220670387, 0, 0.395833313, 0)
  58. teleport.Size = UDim2.new(0, 200, 0, 50)
  59. teleport.Font = Enum.Font.SourceSansBold
  60. teleport.Text = "CLICK TP"
  61. teleport.TextColor3 = Color3.new(0.333333, 1, 1)
  62. teleport.TextScaled = true
  63. teleport.TextSize = 14
  64. teleport.TextWrapped = true
  65. teleport.MouseButton1Down:connect(function()
  66.     player1=game.Players.LocalPlayer
  67.  
  68. q=Instance.new('HopperBin', player1.Backpack)
  69. q.Name = 'Click Teleport'
  70.  
  71.  
  72. bin = q
  73.  
  74.  
  75.  
  76. function teleportPlayer(pos)
  77. local player = game.Players.LocalPlayer
  78. if player == nil or player.Character == nil then return end
  79. player.Character.HumanoidRootPart.CFrame = CFrame.new(Vector3.new(pos.x, pos.y + 7, pos.z))
  80. end
  81.  
  82.  
  83. enabled = true
  84. function onButton1Down(mouse)
  85. if not enabled then
  86. return
  87. end
  88.  
  89. local player = game.Players.LocalPlayer
  90. if player == nil then return end
  91.  
  92.  
  93. enabled = false
  94. local cf = mouse.Hit
  95. local v = cf.lookVector
  96.  
  97. teleportPlayer(cf.p)
  98.  
  99. wait()
  100. enabled = true
  101.  
  102. end
  103.  
  104. function onSelected(mouse)
  105. mouse.Icon = "rbxasset://textures\\ArrowCursor.png"
  106. mouse.Button1Down:connect(function() onButton1Down(mouse) end)
  107. end
  108.  
  109. bin.Selected:connect(onSelected)
  110. end)
  111.  
  112. TextLabel.Parent = TeleportFrame
  113. TextLabel.BackgroundColor3 = Color3.new(0.117647, 0.117647, 0.117647)
  114. TextLabel.BorderColor3 = Color3.new(0.117647, 0.117647, 0.117647)
  115. TextLabel.Position = UDim2.new(0, 0, 0.929166675, 0)
  116. TextLabel.Size = UDim2.new(0, 325, 0, 17)
  117. TextLabel.Font = Enum.Font.SourceSans
  118. TextLabel.Text = "Made By FazzaRBLX YT Channel Subscribe For Next Script"
  119. TextLabel.TextColor3 = Color3.new(0.333333, 1, 1)
  120. TextLabel.TextSize = 14
  121. TextLabel.TextWrapped = true
Advertisement
Add Comment
Please, Sign In to add comment
Advertisement