FriedToes

epic

Aug 11th, 2020 (edited)
87
0
Never
Not a member of Pastebin yet? Sign Up, it unlocks many cool features!
text 6.26 KB | None | 0 0
  1. -- Gui to Lua
  2. -- Version: 3.2
  3.  
  4. -- Instances:
  5.  
  6. local fried = Instance.new("ScreenGui")
  7. local Main = Instance.new("ImageLabel")
  8. local TextBox = Instance.new("TextBox")
  9. local TextLabel = Instance.new("TextLabel")
  10. local DragBar = Instance.new("Frame")
  11. local DragBar_2 = Instance.new("ImageLabel")
  12. local speedlabel = Instance.new("TextBox")
  13. local cleaner = Instance.new("Frame")
  14.  
  15. --Properties:
  16.  
  17. fried.Name = "fried"
  18. fried.Parent = game.Players.LocalPlayer:WaitForChild("PlayerGui")
  19. fried.ResetOnSpawn = false
  20.  
  21. Main.Name = "Main"
  22. Main.Parent = fried
  23. Main.BackgroundColor3 = Color3.fromRGB(255, 255, 255)
  24. Main.BackgroundTransparency = 1.000
  25. Main.Position = UDim2.new(0.733453095, -428, 0.773290515, -173)
  26. Main.Size = UDim2.new(0, 241, 0, 121)
  27. Main.Image = "rbxassetid://3570695787"
  28. Main.ScaleType = Enum.ScaleType.Slice
  29. Main.SliceCenter = Rect.new(100, 100, 100, 100)
  30. Main.SliceScale = 0.060
  31.  
  32. TextBox.Parent = Main
  33. TextBox.BackgroundColor3 = Color3.fromRGB(222, 222, 222)
  34. TextBox.BorderSizePixel = 0
  35. TextBox.Position = UDim2.new(0.697095454, 0, 0.0409929715, 0)
  36. TextBox.Size = UDim2.new(0, 48, 0, 50)
  37. TextBox.Font = Enum.Font.GothamBold
  38. TextBox.Text = "E"
  39. TextBox.TextColor3 = Color3.fromRGB(52, 105, 157)
  40. TextBox.TextSize = 24.000
  41.  
  42. TextLabel.Parent = Main
  43. TextLabel.BackgroundColor3 = Color3.fromRGB(222, 222, 222)
  44. TextLabel.BorderSizePixel = 0
  45. TextLabel.Position = UDim2.new(0.0995850638, 0, 0.0409929715, 0)
  46. TextLabel.Size = UDim2.new(0, 144, 0, 50)
  47. TextLabel.Font = Enum.Font.GothamBold
  48. TextLabel.Text = "Click TP KeyBind:"
  49. TextLabel.TextColor3 = Color3.fromRGB(0, 0, 0)
  50. TextLabel.TextSize = 16.000
  51.  
  52. DragBar.Name = "DragBar"
  53. DragBar.Parent = Main
  54. DragBar.BackgroundColor3 = Color3.fromRGB(222, 222, 222)
  55. DragBar.BorderSizePixel = 0
  56. DragBar.Position = UDim2.new(0, 0, 0.957891881, 0)
  57. DragBar.Size = UDim2.new(0, 241, 0, 14)
  58. DragBar.ZIndex = 2
  59.  
  60. DragBar_2.Name = "DragBar"
  61. DragBar_2.Parent = DragBar
  62. DragBar_2.BackgroundColor3 = Color3.fromRGB(255, 255, 255)
  63. DragBar_2.BackgroundTransparency = 1.000
  64. DragBar_2.Size = UDim2.new(0, 241, 0, 23)
  65. DragBar_2.ZIndex = 2
  66. DragBar_2.Image = "rbxassetid://3570695787"
  67. DragBar_2.ImageColor3 = Color3.fromRGB(222, 222, 222)
  68. DragBar_2.ScaleType = Enum.ScaleType.Slice
  69. DragBar_2.SliceCenter = Rect.new(100, 100, 100, 100)
  70. DragBar_2.SliceScale = 0.060
  71.  
  72. speedlabel.Name = "speedlabel"
  73. speedlabel.Parent = Main
  74. speedlabel.BackgroundColor3 = Color3.fromRGB(222, 222, 222)
  75. speedlabel.BorderSizePixel = 0
  76. speedlabel.Position = UDim2.new(0.199170113, 0, 0.495867789, 0)
  77. speedlabel.Size = UDim2.new(0, 145, 0, 49)
  78. speedlabel.Font = Enum.Font.GothamBold
  79. speedlabel.Text = "100"
  80. speedlabel.TextColor3 = Color3.fromRGB(0, 0, 0)
  81. speedlabel.TextSize = 14.000
  82.  
  83. cleaner.Name = "cleaner"
  84. cleaner.Parent = Main
  85. cleaner.BackgroundColor3 = Color3.fromRGB(255, 255, 255)
  86. cleaner.BorderSizePixel = 0
  87. cleaner.Position = UDim2.new(0, 0, 0.800000012, 0)
  88. cleaner.Size = UDim2.new(0, 241, 0, 7)
  89. cleaner.Visible = false
  90.  
  91. -- Scripts:
  92.  
  93. local function QHTJMOV_fake_script() -- TextLabel.LocalScript
  94. local script = Instance.new('LocalScript', TextLabel)
  95.  
  96. local TweenService = game:GetService("TweenService")
  97. local speedL = script.Parent.Parent.speedlabel
  98. local Speed = speedL.Text
  99.  
  100. function slow_teleport(Pos)
  101. local x = Pos.X
  102. local y = Pos.Y
  103. local z = Pos.Z
  104.  
  105. if math.abs(game.Players.LocalPlayer.Character.HumanoidRootPart.Position.X-x) < 99 and math.abs(game.Players.LocalPlayer.Character.HumanoidRootPart.Position.Y-y) < 99 and math.abs(game.Players.LocalPlayer.Character.HumanoidRootPart.Position.Z-z) < 99 then
  106. game.Players.LocalPlayer.Character.HumanoidRootPart.CFrame = CFrame.new(x,y,z)
  107. return
  108. end
  109.  
  110. local absx = math.abs(game.Players.LocalPlayer.Character.HumanoidRootPart.Position.X-x)
  111. local absy = math.abs(game.Players.LocalPlayer.Character.HumanoidRootPart.Position.Y-y)
  112. local absz = math.abs(game.Players.LocalPlayer.Character.HumanoidRootPart.Position.Z-z)
  113. local MoveTime = math.sqrt(absx*absx + absy*absy + absz*absz) / (Speed * 10)
  114. local HRP = game.Players.LocalPlayer.Character.HumanoidRootPart
  115. local LP = game.Players.LocalPlayer
  116. local TPbypass = {}
  117. TPbypass.CFrame = Pos
  118. local TPFunction = TweenService:Create(HRP, TweenInfo.new(MoveTime, Enum.EasingStyle.Linear, Enum.EasingDirection.In), TPbypass)
  119. TPFunction:Play()
  120. end
  121.  
  122.  
  123. local Mouse = game.Players.LocalPlayer:GetMouse()
  124. local KeyBind = script.Parent.Parent.TextBox
  125. local chosenKey = "E"
  126.  
  127. Mouse.KeyDown:connect(function(key)
  128. if key == chosenKey:lower() and Mouse.Target then
  129. slow_teleport(CFrame.new(Mouse.Hit.p+Vector3.new(0,5,0)))
  130. end
  131. end)
  132. KeyBind.Changed:connect(function(change)
  133. if change ~= "Text" or KeyBind.Text == "" then return end
  134. if tonumber(KeyBind.Text) then
  135. KeyBind.Text = string.upper(chosenKey)
  136. else
  137. KeyBind.Text = string.upper(KeyBind.Text)
  138. chosenKey = KeyBind.Text
  139. end
  140. end)
  141. speedL.Changed:Connect(function()
  142. local function NumericOnly(text)
  143. return text:gsub("%D+", "")
  144. end
  145. speedL.Text = NumericOnly(speedL.Text)
  146. Speed = speedL.Text
  147. end)
  148.  
  149.  
  150. end
  151. coroutine.wrap(QHTJMOV_fake_script)()
  152. local function LSPHZ_fake_script() -- Main.LocalScript
  153. local script = Instance.new('LocalScript', Main)
  154.  
  155. local main = script.Parent
  156. local bruhrthisisepic = script.Parent.DragBar.DragBar
  157.  
  158. local dragging
  159. local dragInput
  160. local dragStart
  161. local startPos
  162. local special
  163. local DragAuraActive = false
  164.  
  165. local function update(input)
  166. local delta = input.Position - dragStart
  167. main:TweenPosition(UDim2.new(startPos.X.Scale, startPos.X.Offset + delta.X, startPos.Y.Scale, startPos.Y.Offset + delta.Y),'Out','Linear',0.08,true)
  168. end
  169. bruhrthisisepic.InputBegan:Connect(function(input)
  170. if input.UserInputType == Enum.UserInputType.MouseButton1 then
  171. dragging = true
  172. dragStart = input.Position
  173. startPos = main.Position
  174.  
  175. repeat wait() until input.UserInputState == Enum.UserInputState.End
  176. dragging = false
  177. end
  178. end)
  179. bruhrthisisepic.InputChanged:Connect(function(input)
  180. if input.UserInputType == Enum.UserInputType.MouseMovement then
  181. dragInput = input
  182. end
  183. end)
  184. game:GetService("UserInputService").InputChanged:Connect(function(input)
  185. if input == dragInput and dragging then
  186. update(input)
  187. end
  188. end)
  189. end
  190. coroutine.wrap(LSPHZ_fake_script)()
  191.  
Add Comment
Please, Sign In to add comment