Advertisement
arwaawfwa

Untitled

Jan 11th, 2024
25
0
Never
Not a member of Pastebin yet? Sign Up, it unlocks many cool features!
text 6.43 KB | None | 0 0
  1. -- Instances:
  2. local ScreenGui = Instance.new("ScreenGui")
  3. local Frame = Instance.new("Frame")
  4. local TextLabel = Instance.new("TextLabel")
  5. local TextButton = Instance.new("TextButton")
  6. local TextButton_2 = Instance.new("TextButton")
  7. local TextButton_3 = Instance.new("TextButton")
  8. local TextButton_4 = Instance.new("TextButton")
  9. local TextButton_5 = Instance.new("TextButton")
  10. local TextButton_6 = Instance.new("TextButton")
  11.  
  12. --Properties:
  13. ScreenGui.Parent = game.Players.LocalPlayer:WaitForChild("PlayerGui")
  14. ScreenGui.ZIndexBehavior = Enum.ZIndexBehavior.Sibling
  15.  
  16. Frame.Parent = ScreenGui
  17. Frame.BackgroundColor3 = Color3.fromRGB(33, 33, 33)
  18. Frame.BorderColor3 = Color3.fromRGB(74, 225, 255)
  19. Frame.BorderSizePixel = 4
  20. Frame.Position = UDim2.new(0.0626700148, 0, 0.15797317, 0)
  21. Frame.Size = UDim2.new(0, 429, 0, 427)
  22.  
  23. TextLabel.Parent = Frame
  24. TextLabel.BackgroundColor3 = Color3.fromRGB(101, 183, 255)
  25. TextLabel.BorderColor3 = Color3.fromRGB(0, 0, 0)
  26. TextLabel.BorderSizePixel = 0
  27. TextLabel.Position = UDim2.new(3.55682737e-08, 0, 0, 0)
  28. TextLabel.Size = UDim2.new(0, 429, 0, 50)
  29. TextLabel.Font = Enum.Font.Ubuntu
  30. TextLabel.Text = "z00pkidd epic gui"
  31. TextLabel.TextColor3 = Color3.fromRGB(0, 0, 0)
  32. TextLabel.TextSize = 31.000
  33.  
  34. TextButton.Parent = ScreenGui
  35. TextButton.BackgroundColor3 = Color3.fromRGB(101, 183, 255)
  36. TextButton.BorderColor3 = Color3.fromRGB(0, 0, 0)
  37. TextButton.BorderSizePixel = 0
  38. TextButton.Position = UDim2.new(0.0740493685, 0, 0.253353179, 0)
  39. TextButton.Size = UDim2.new(0, 100, 0, 50)
  40. TextButton.Font = Enum.Font.Ubuntu
  41. TextButton.Text = "Speed 100"
  42. TextButton.TextColor3 = Color3.fromRGB(0, 0, 0)
  43. TextButton.TextSize = 19.000
  44.  
  45. TextButton_2.Parent = ScreenGui
  46. TextButton_2.BackgroundColor3 = Color3.fromRGB(101, 183, 255)
  47. TextButton_2.BorderColor3 = Color3.fromRGB(0, 0, 0)
  48. TextButton_2.BorderSizePixel = 0
  49. TextButton_2.Position = UDim2.new(0.166110739, 0, 0.253353179, 0)
  50. TextButton_2.Size = UDim2.new(0, 100, 0, 50)
  51. TextButton_2.Font = Enum.Font.Ubuntu
  52. TextButton_2.Text = "Gravity"
  53. TextButton_2.TextColor3 = Color3.fromRGB(0, 0, 0)
  54. TextButton_2.TextSize = 19.000
  55.  
  56. TextButton_3.Parent = ScreenGui
  57. TextButton_3.BackgroundColor3 = Color3.fromRGB(101, 183, 255)
  58. TextButton_3.BorderColor3 = Color3.fromRGB(0, 0, 0)
  59. TextButton_3.BorderSizePixel = 0
  60. TextButton_3.Position = UDim2.new(0.260840565, 0, 0.253353179, 0)
  61. TextButton_3.Size = UDim2.new(0, 100, 0, 50)
  62. TextButton_3.Font = Enum.Font.Ubuntu
  63. TextButton_3.Text = "Tp tool"
  64. TextButton_3.TextColor3 = Color3.fromRGB(0, 0, 0)
  65. TextButton_3.TextSize = 19.000
  66.  
  67. TextButton_4.Parent = ScreenGui
  68. TextButton_4.BackgroundColor3 = Color3.fromRGB(101, 183, 255)
  69. TextButton_4.BorderColor3 = Color3.fromRGB(0, 0, 0)
  70. TextButton_4.BorderSizePixel = 0
  71. TextButton_4.Position = UDim2.new(0.0740493685, 0, 0.365126669, 0)
  72. TextButton_4.Size = UDim2.new(0, 100, 0, 50)
  73. TextButton_4.Font = Enum.Font.Ubuntu
  74. TextButton_4.Text = "Fly"
  75. TextButton_4.TextColor3 = Color3.fromRGB(0, 0, 0)
  76. TextButton_4.TextSize = 19.000
  77.  
  78. TextButton_5.Parent = ScreenGui
  79. TextButton_5.BackgroundColor3 = Color3.fromRGB(101, 183, 255)
  80. TextButton_5.BorderColor3 = Color3.fromRGB(0, 0, 0)
  81. TextButton_5.BorderSizePixel = 0
  82. TextButton_5.Position = UDim2.new(0.166110739, 0, 0.365126669, 0)
  83. TextButton_5.Size = UDim2.new(0, 100, 0, 50)
  84. TextButton_5.Font = Enum.Font.Ubuntu
  85. TextButton_5.Text = "Spin"
  86. TextButton_5.TextColor3 = Color3.fromRGB(0, 0, 0)
  87. TextButton_5.TextSize = 19.000
  88.  
  89. TextButton_6.Parent = ScreenGui
  90. TextButton_6.BackgroundColor3 = Color3.fromRGB(101, 183, 255)
  91. TextButton_6.BorderColor3 = Color3.fromRGB(0, 0, 0)
  92. TextButton_6.BorderSizePixel = 0
  93. TextButton_6.Position = UDim2.new(0.260840565, 0, 0.365126669, 0)
  94. TextButton_6.Size = UDim2.new(0, 100, 0, 50)
  95. TextButton_6.Font = Enum.Font.Ubuntu
  96. TextButton_6.Text = "Team z00pkidd"
  97. TextButton_6.TextColor3 = Color3.fromRGB(0, 0, 0)
  98. TextButton_6.TextSize = 15.000
  99.  
  100. -- Adicione esta parte para tornar a GUI arrastável
  101. local UIS = game:GetService("UserInputService")
  102. local dragging
  103. local dragInput
  104. local dragStart
  105. local startPos
  106.  
  107. local function updateInput(input)
  108. local delta = input.Position - dragStart
  109. Frame.Position = UDim2.new(startPos.X.Scale, startPos.X.Offset + delta.X, startPos.Y.Scale, startPos.Y.Offset + delta.Y)
  110. end
  111.  
  112. Frame.InputBegan:Connect(function(input)
  113. if input.UserInputType == Enum.UserInputType.MouseButton1 or input.UserInputType == Enum.UserInputType.Touch then
  114. dragging = true
  115. dragStart = input.Position
  116. startPos = Frame.Position
  117.  
  118. input.Changed:Connect(function()
  119. if input.UserInputState == Enum.UserInputState.End then
  120. dragging = false
  121. end
  122. end)
  123. end
  124. end)
  125.  
  126. Frame.InputChanged:Connect(function(input)
  127. if input.UserInputType == Enum.UserInputType.MouseMovement or input.UserInputType == Enum.UserInputType.Touch then
  128. dragInput = input
  129. end
  130. end)
  131.  
  132. UIS.InputChanged:Connect(function(input)
  133. if input == dragInput and dragging then
  134. updateInput(input)
  135. end
  136. end)
  137.  
  138. -- Adicione esta parte para alterar a velocidade, gravidade e teletransporte
  139. local player = game.Players.LocalPlayer
  140. local character = player.Character or player.CharacterAdded:Wait()
  141. local humanoid = character:WaitForChild("Humanoid")
  142.  
  143. local function setSpeed(speed)
  144. humanoid.WalkSpeed = speed
  145. end
  146.  
  147. local function setGravity(gravity)
  148. workspace.Gravity = gravity
  149. end
  150.  
  151. local function giveTool()
  152. local tool = Instance.new("Tool")
  153. tool.RequiresHandle = true
  154. tool.Name = "TeleportTool"
  155.  
  156. local function onActivated()
  157. local mouse = player:GetMouse()
  158. local targetPosition = mouse.Hit.p
  159.  
  160. -- Verifique se o objeto clicado está em um raio razoável
  161. local ray = Ray.new(character.Head.Position, targetPosition - character.Head.Position)
  162. local part, hitPoint = workspace:FindPartOnRay(ray, character, false, true)
  163.  
  164. if part then
  165. character:SetPrimaryPartCFrame(CFrame.new(hitPoint))
  166. end
  167. end
  168.  
  169. tool.Activated:Connect(onActivated)
  170.  
  171. return tool
  172. end
  173.  
  174. -- Botão "Speed 100"
  175. TextButton.MouseButton1Click:Connect(function()
  176. setSpeed(100)
  177. end)
  178.  
  179. -- Botão "Gravity"
  180. TextButton_2.MouseButton1Click:Connect(function()
  181. setGravity(5) -- Altere o valor conforme necessário
  182. end)
  183.  
  184. -- Botão "Tp tool"
  185. TextButton_3.MouseButton1Click:Connect(function()
  186. local tool = giveTool()
  187. tool.Parent = player.Backpack
  188. end)
  189.  
Advertisement
Add Comment
Please, Sign In to add comment
Advertisement