Advertisement
TAMATI9875

Teleporteur

Apr 18th, 2022 (edited)
230
0
Never
Not a member of Pastebin yet? Sign Up, it unlocks many cool features!
text 5.84 KB | None | 0 0
  1. -- Par @TAMATI9875
  2. -- Gui to Lua
  3. -- Instances:
  4.  
  5. local Tutorial = Instance.new("ScreenGui")
  6. local OpenFrame = Instance.new("Frame")
  7. local Open = Instance.new("TextButton")
  8. local Main = Instance.new("Frame")
  9. local TextLabel = Instance.new("TextLabel")
  10. local TextLabel_2 = Instance.new("TextLabel")
  11. local Close = Instance.new("TextButton")
  12. local ImageLabel = Instance.new("ImageLabel")
  13. local Teleport = Instance.new("TextButton")
  14. local TextLabel_3 = Instance.new("TextLabel")
  15. local TextBox = Instance.new("TextBox")
  16.  
  17. --Properties:
  18.  
  19. Tutorial.Name = "Tutorial"
  20. Tutorial.Parent = game.CoreGui
  21.  
  22. OpenFrame.Name = "OpenFrame"
  23. OpenFrame.Parent = Tutorial
  24. OpenFrame.Active = true
  25. OpenFrame.BackgroundColor3 = Color3.fromRGB(0, 0, 0)
  26. OpenFrame.BackgroundTransparency = 0.500
  27. OpenFrame.BorderColor3 = Color3.fromRGB(0, 0, 0)
  28. OpenFrame.Position = UDim2.new(0.891908348, 0, 0.654420495, 0)
  29. OpenFrame.Size = UDim2.new(0, 100, 0, 50)
  30.  
  31. Open.Name = "Open"
  32. Open.Parent = OpenFrame
  33. Open.BackgroundColor3 = Color3.fromRGB(0, 0, 0)
  34. Open.BackgroundTransparency = 0.500
  35. Open.BorderColor3 = Color3.fromRGB(0, 0, 0)
  36. Open.Position = UDim2.new(-0.000202026364, 0, -0.00305725099, 0)
  37. Open.Size = UDim2.new(0, 100, 0, 50)
  38. Open.Font = Enum.Font.Sarpanch
  39. Open.Text = "Ouvrir"
  40. Open.TextColor3 = Color3.fromRGB(255, 255, 255)
  41. Open.TextScaled = true
  42. Open.TextSize = 14.000
  43. Open.TextStrokeColor3 = Color3.fromRGB(255, 255, 255)
  44. Open.TextWrapped = true
  45. Open.MouseButton1Down:connect(function()
  46. Main.Visible = true
  47. OpenFrame.Visible = false
  48. end)
  49.  
  50. Main.Name = "Main"
  51. Main.Parent = Tutorial
  52. Main.Active = true
  53. Main.BackgroundColor3 = Color3.fromRGB(0, 0, 0)
  54. Main.BackgroundTransparency = 0.500
  55. Main.BorderColor3 = Color3.fromRGB(0, 0, 0)
  56. Main.Position = UDim2.new(0.206340134, 0, 0.291599989, 0)
  57. Main.Size = UDim2.new(0, 583, 0, 332)
  58. Main.Visible = false
  59. Main.Draggable = true
  60.  
  61. TextLabel.Parent = Main
  62. TextLabel.Active = true
  63. TextLabel.BackgroundColor3 = Color3.fromRGB(0, 0, 0)
  64. TextLabel.BackgroundTransparency = 0.500
  65. TextLabel.BorderColor3 = Color3.fromRGB(0, 0, 0)
  66. TextLabel.Position = UDim2.new(0, 0, -0.00052341976, 0)
  67. TextLabel.Size = UDim2.new(0, 583, 0, 50)
  68. TextLabel.Font = Enum.Font.SourceSansItalic
  69. TextLabel.Text = "Teleporteur aux joueurs"
  70. TextLabel.TextColor3 = Color3.fromRGB(255, 255, 255)
  71. TextLabel.TextScaled = true
  72. TextLabel.TextSize = 14.000
  73. TextLabel.TextStrokeColor3 = Color3.fromRGB(255, 255, 255)
  74. TextLabel.TextWrapped = true
  75.  
  76. TextLabel_2.Parent = Main
  77. TextLabel_2.Active = true
  78. TextLabel_2.BackgroundColor3 = Color3.fromRGB(0, 0, 0)
  79. TextLabel_2.BackgroundTransparency = 0.500
  80. TextLabel_2.BorderColor3 = Color3.fromRGB(0, 0, 0)
  81. TextLabel_2.Position = UDim2.new(0, 0, 0.850090206, 0)
  82. TextLabel_2.Size = UDim2.new(0, 583, 0, 50)
  83. TextLabel_2.Font = Enum.Font.SourceSansItalic
  84. TextLabel_2.Text = "Par @TAMATI9875"
  85. TextLabel_2.TextColor3 = Color3.fromRGB(255, 255, 255)
  86. TextLabel_2.TextScaled = true
  87. TextLabel_2.TextSize = 14.000
  88. TextLabel_2.TextStrokeColor3 = Color3.fromRGB(255, 255, 255)
  89. TextLabel_2.TextWrapped = true
  90.  
  91. Close.Name = "Close"
  92. Close.Parent = Main
  93. Close.BackgroundColor3 = Color3.fromRGB(0, 0, 0)
  94. Close.BackgroundTransparency = 0.500
  95. Close.BorderColor3 = Color3.fromRGB(0, 0, 0)
  96. Close.Position = UDim2.new(0.914032459, 0, -0.000113993883, 0)
  97. Close.Size = UDim2.new(0, 50, 0, 50)
  98. Close.Font = Enum.Font.SourceSansSemibold
  99. Close.Text = "X"
  100. Close.TextColor3 = Color3.fromRGB(255, 255, 255)
  101. Close.TextSize = 50.000
  102. Close.TextStrokeColor3 = Color3.fromRGB(255, 255, 255)
  103. Close.MouseButton1Down:connect(function()
  104. OpenFrame.Visible = true
  105. Main.Visible = false
  106. end)
  107.  
  108. ImageLabel.Parent = Main
  109. ImageLabel.Active = true
  110. ImageLabel.BackgroundColor3 = Color3.fromRGB(0, 0, 0)
  111. ImageLabel.BackgroundTransparency = 1.000
  112. ImageLabel.BorderColor3 = Color3.fromRGB(0, 0, 0)
  113. ImageLabel.Position = UDim2.new(-5.47013187e-05, 0, -0.00138611393, 0)
  114. ImageLabel.Size = UDim2.new(0, 75, 0, 50)
  115. ImageLabel.Image = "http://www.roblox.com/asset/?id=9406229933"
  116.  
  117. Teleport.Name = "Teleport"
  118. Teleport.Parent = Main
  119. Teleport.BackgroundColor3 = Color3.fromRGB(0, 0, 0)
  120. Teleport.BackgroundTransparency = 0.500
  121. Teleport.BorderColor3 = Color3.fromRGB(0, 0, 0)
  122. Teleport.Position = UDim2.new(0.217702299, 0, 0.640216887, 0)
  123. Teleport.Size = UDim2.new(0, 328, 0, 49)
  124. Teleport.Font = Enum.Font.Roboto
  125. Teleport.Text = "Teleporter"
  126. Teleport.TextColor3 = Color3.fromRGB(255, 255, 255)
  127. Teleport.TextSize = 40.000
  128. Teleport.TextStrokeColor3 = Color3.fromRGB(255, 255, 255)
  129. Teleport.TextWrapped = true
  130. Teleport.MouseButton1Click:connect(function()
  131. local tp_namedplayer = TextBox.Text
  132. local tp_player = game:GetService("Players")[tp_namedplayer]
  133. local PLR = game:GetService("Players").LocalPlayer
  134. local p = TextBox.Text
  135.  
  136. if tp_player then
  137. for i = 1,1 do
  138. wait(.08)
  139. PLR.Character.HumanoidRootPart.CFrame = tp_player.Character.HumanoidRootPart.CFrame + Vector3.new(0, 0, -1)
  140. end
  141. end
  142. end)
  143.  
  144. TextLabel_3.Parent = Main
  145. TextLabel_3.Active = true
  146. TextLabel_3.BackgroundColor3 = Color3.fromRGB(0, 0, 0)
  147. TextLabel_3.BackgroundTransparency = 1.000
  148. TextLabel_3.BorderColor3 = Color3.fromRGB(0, 0, 0)
  149. TextLabel_3.Position = UDim2.new(0.106525294, 0, 0.148282975, 0)
  150. TextLabel_3.Size = UDim2.new(0, 458, 0, 79)
  151. TextLabel_3.Font = Enum.Font.Roboto
  152. TextLabel_3.Text = "Entrer le nom du joueur ici"
  153. TextLabel_3.TextColor3 = Color3.fromRGB(255, 255, 255)
  154. TextLabel_3.TextScaled = true
  155. TextLabel_3.TextSize = 40.000
  156. TextLabel_3.TextStrokeColor3 = Color3.fromRGB(255, 255, 255)
  157. TextLabel_3.TextWrapped = true
  158.  
  159. TextBox.Parent = Main
  160. TextBox.BackgroundColor3 = Color3.fromRGB(255, 255, 255)
  161. TextBox.BackgroundTransparency = 0.700
  162. TextBox.Position = UDim2.new(0.217702314, 0, 0.423602074, 0)
  163. TextBox.Size = UDim2.new(0, 329, 0, 50)
  164. TextBox.Font = Enum.Font.Roboto
  165. TextBox.Text = "Joueur"
  166. TextBox.TextColor3 = Color3.fromRGB(0, 0, 0)
  167. TextBox.TextSize = 40.000
Advertisement
Add Comment
Please, Sign In to add comment
Advertisement