Advertisement
YoungAoS

Fly V3

Jun 19th, 2024
44
0
Never
Not a member of Pastebin yet? Sign Up, it unlocks many cool features!
text 16.52 KB | None | 0 0
  1.  
  2. local main = Instance.new("ScreenGui")
  3.  
  4. local Frame = Instance.new("Frame")
  5.  
  6. local up = Instance.new("TextButton")
  7.  
  8. local down = Instance.new("TextButton")
  9.  
  10. local onof = Instance.new("TextButton")
  11.  
  12. local TextLabel = Instance.new("TextLabel")
  13.  
  14. local plus = Instance.new("TextButton")
  15.  
  16. local speed = Instance.new("TextLabel")
  17.  
  18. local mine = Instance.new("TextButton")
  19.  
  20. local closebutton = Instance.new("TextButton")
  21.  
  22. local mini = Instance.new("TextButton")
  23.  
  24. local mini2 = Instance.new("TextButton")
  25.  
  26.  
  27.  
  28. main.Name = "main"
  29.  
  30. main.Parent = game.Players.LocalPlayer:WaitForChild("PlayerGui")
  31.  
  32. main.ZIndexBehavior = Enum.ZIndexBehavior.Sibling
  33.  
  34. main.ResetOnSpawn = false
  35.  
  36.  
  37.  
  38. Frame.Parent = main
  39.  
  40. Frame.BackgroundColor3 = Color3.fromRGB(0, 45, 207)
  41.  
  42. Frame.BorderColor3 = Color3.fromRGB(0, 0, 0)
  43.  
  44. Frame.Position = UDim2.new(0.100320168, 0, 0.379746825, 0)
  45.  
  46. Frame.Size = UDim2.new(0, 190, 0, 57)
  47.  
  48.  
  49.  
  50. up.Name = "up"
  51.  
  52. up.Parent = Frame
  53.  
  54. up.BackgroundColor3 = Color3.fromRGB(0, 45, 207)
  55.  
  56. up.Size = UDim2.new(0, 44, 0, 28)
  57.  
  58. up.Font = Enum.Font.SourceSans
  59.  
  60. up.Text = "↑"
  61.  
  62. up.TextColor3 = Color3.fromRGB(255, 255, 255)
  63.  
  64. up.TextSize = 14.000
  65.  
  66.  
  67.  
  68. down.Name = "down"
  69.  
  70. down.Parent = Frame
  71.  
  72. down.BackgroundColor3 = Color3.fromRGB(0, 45, 207)
  73.  
  74. down.Position = UDim2.new(0, 0, 0.491228074, 0)
  75.  
  76. down.Size = UDim2.new(0, 44, 0, 28)
  77.  
  78. down.Font = Enum.Font.SourceSans
  79.  
  80. down.Text = "↓"
  81.  
  82. down.TextColor3 = Color3.fromRGB(255, 255, 255)
  83.  
  84. down.TextSize = 14.000
  85.  
  86.  
  87.  
  88. onof.Name = "onof"
  89.  
  90. onof.Parent = Frame
  91.  
  92. onof.BackgroundColor3 = Color3.fromRGB(0, 45, 207)
  93.  
  94. onof.Position = UDim2.new(0.702823281, 0, 0.491228074, 0)
  95.  
  96. onof.Size = UDim2.new(0, 56, 0, 28)
  97.  
  98. onof.Font = Enum.Font.SourceSans
  99.  
  100. onof.Text = "FLY"
  101.  
  102. onof.TextColor3 = Color3.fromRGB(255, 255, 255)
  103.  
  104. onof.TextSize = 14.000
  105.  
  106.  
  107.  
  108. TextLabel.Parent = Frame
  109.  
  110. TextLabel.BackgroundColor3 = Color3.fromRGB(0, 45, 207)
  111.  
  112. TextLabel.Position = UDim2.new(0.469327301, 0, 0, 0)
  113.  
  114. TextLabel.Size = UDim2.new(0, 100, 0, 28)
  115.  
  116. TextLabel.Font = Enum.Font.Michroma
  117.  
  118. TextLabel.Text = "Fly gui modded"
  119.  
  120. TextLabel.TextColor3 = Color3.fromRGB(255, 255, 255)
  121.  
  122. TextLabel.TextScaled = true
  123.  
  124. TextLabel.TextSize = 14.000
  125.  
  126. TextLabel.TextWrapped = true
  127.  
  128.  
  129.  
  130. plus.Name = "plus"
  131.  
  132. plus.Parent = Frame
  133.  
  134. plus.BackgroundColor3 = Color3.fromRGB(0, 45, 207)
  135.  
  136. plus.Position = UDim2.new(0.231578946, 0, 0, 0)
  137.  
  138. plus.Size = UDim2.new(0, 45, 0, 28)
  139.  
  140. plus.Font = Enum.Font.SourceSans
  141.  
  142. plus.Text = "+"
  143.  
  144. plus.TextColor3 = Color3.fromRGB(255, 255, 255)
  145.  
  146. plus.TextScaled = true
  147.  
  148. plus.TextSize = 14.000
  149.  
  150. plus.TextWrapped = true
  151.  
  152.  
  153.  
  154. speed.Name = "speed"
  155.  
  156. speed.Parent = Frame
  157.  
  158. speed.BackgroundColor3 = Color3.fromRGB(0, 45, 207)
  159.  
  160. speed.Position = UDim2.new(0.468421042, 0, 0.491228074, 0)
  161.  
  162. speed.Size = UDim2.new(0, 44, 0, 28)
  163.  
  164. speed.Font = Enum.Font.SourceSans
  165.  
  166. speed.Text = "1"
  167.  
  168. speed.TextColor3 = Color3.fromRGB(255, 255, 255)
  169.  
  170. speed.TextScaled = true
  171.  
  172. speed.TextSize = 14.000
  173.  
  174. speed.TextWrapped = true
  175.  
  176.  
  177.  
  178. mine.Name = "mine"
  179.  
  180. mine.Parent = Frame
  181.  
  182. mine.BackgroundColor3 = Color3.fromRGB(0, 45, 207)
  183.  
  184. mine.Position = UDim2.new(0.231578946, 0, 0.491228074, 0)
  185.  
  186. mine.Size = UDim2.new(0, 45, 0, 29)
  187.  
  188. mine.Font = Enum.Font.SourceSans
  189.  
  190. mine.Text = "-"
  191.  
  192. mine.TextColor3 = Color3.fromRGB(255, 255, 255)
  193.  
  194. mine.TextScaled = true
  195.  
  196. mine.TextSize = 14.000
  197.  
  198. mine.TextWrapped = true
  199.  
  200.  
  201.  
  202. closebutton.Name = "Close"
  203.  
  204. closebutton.Parent = main.Frame
  205.  
  206. closebutton.BackgroundColor3 = Color3.fromRGB(0, 45, 207)
  207.  
  208. closebutton.Font = "SourceSans"
  209.  
  210. closebutton.Size = UDim2.new(0, 45, 0, 28)
  211.  
  212. closebutton.Text = "X"
  213.  
  214. closebutton.TextSize = 30
  215.  
  216. closebutton.Position = UDim2.new(0, 0, -1, 27)
  217.  
  218.  
  219.  
  220. mini.Name = "minimize"
  221.  
  222. mini.Parent = main.Frame
  223.  
  224. mini.BackgroundColor3 = Color3.fromRGB(0, 45, 207)
  225.  
  226. mini.Font = "Michroma"
  227.  
  228. mini.Size = UDim2.new(0, 45, 0, 28)
  229.  
  230. mini.Text = "-"
  231.  
  232. mini.TextSize = 40
  233.  
  234. mini.Position = UDim2.new(0, 44, -1, 27)
  235.  
  236.  
  237.  
  238. mini2.Name = "minimize2"
  239.  
  240. mini2.Parent = main.Frame
  241.  
  242. mini2.BackgroundColor3 = Color3.fromRGB(0, 45, 207)
  243.  
  244. mini2.Font = "SourceSans"
  245.  
  246. mini2.Size = UDim2.new(0, 45, 0, 28)
  247.  
  248. mini2.Text = "+"
  249.  
  250. mini2.TextSize = 40
  251.  
  252. mini2.Position = UDim2.new(0, 44, -1, 57)
  253.  
  254. mini2.Visible = false
  255.  
  256.  
  257.  
  258. speeds = 1
  259.  
  260.  
  261.  
  262. local speaker = game:GetService("Players").LocalPlayer
  263.  
  264.  
  265.  
  266. local chr = game.Players.LocalPlayer.Character
  267.  
  268. local hum = chr and chr:FindFirstChildWhichIsA("Humanoid")
  269.  
  270.  
  271.  
  272. nowe = false
  273.  
  274. local Notification = loadstring(game:HttpGet("https://raw.githubusercontent.com/Jxereas/UI-Libraries/main/notification_gui_library.lua", true))()
  275.  
  276. local notif = Notification.new("success", "FLY GUI V3", "By Oxycontin", 5)
  277.  
  278. Frame.Active = true -- main = gui
  279.  
  280. Frame.Draggable = true
  281.  
  282.  
  283.  
  284. onof.MouseButton1Down:connect(function()
  285.  
  286.  
  287.  
  288. if nowe == true then
  289.  
  290. nowe = false
  291.  
  292.  
  293.  
  294. speaker.Character.Humanoid:SetStateEnabled(Enum.HumanoidStateType.Climbing,true)
  295.  
  296. speaker.Character.Humanoid:SetStateEnabled(Enum.HumanoidStateType.FallingDown,true)
  297.  
  298. speaker.Character.Humanoid:SetStateEnabled(Enum.HumanoidStateType.Flying,true)
  299.  
  300. speaker.Character.Humanoid:SetStateEnabled(Enum.HumanoidStateType.Freefall,true)
  301.  
  302. speaker.Character.Humanoid:SetStateEnabled(Enum.HumanoidStateType.GettingUp,true)
  303.  
  304. speaker.Character.Humanoid:SetStateEnabled(Enum.HumanoidStateType.Jumping,true)
  305.  
  306. speaker.Character.Humanoid:SetStateEnabled(Enum.HumanoidStateType.Landed,true)
  307.  
  308. speaker.Character.Humanoid:SetStateEnabled(Enum.HumanoidStateType.Physics,true)
  309.  
  310. speaker.Character.Humanoid:SetStateEnabled(Enum.HumanoidStateType.PlatformStanding,true)
  311.  
  312. speaker.Character.Humanoid:SetStateEnabled(Enum.HumanoidStateType.Ragdoll,true)
  313.  
  314. speaker.Character.Humanoid:SetStateEnabled(Enum.HumanoidStateType.Running,true)
  315.  
  316. speaker.Character.Humanoid:SetStateEnabled(Enum.HumanoidStateType.RunningNoPhysics,true)
  317.  
  318. speaker.Character.Humanoid:SetStateEnabled(Enum.HumanoidStateType.Seated,true)
  319.  
  320. speaker.Character.Humanoid:SetStateEnabled(Enum.HumanoidStateType.StrafingNoPhysics,true)
  321.  
  322. speaker.Character.Humanoid:SetStateEnabled(Enum.HumanoidStateType.Swimming,true)
  323.  
  324. speaker.Character.Humanoid:ChangeState(Enum.HumanoidStateType.RunningNoPhysics)
  325.  
  326. else
  327.  
  328. nowe = true
  329.  
  330.  
  331.  
  332.  
  333.  
  334.  
  335.  
  336. for i = 1, speeds do
  337.  
  338. spawn(function()
  339.  
  340.  
  341.  
  342. local hb = game:GetService("RunService").Heartbeat
  343.  
  344.  
  345.  
  346.  
  347.  
  348. tpwalking = true
  349.  
  350. local chr = game.Players.LocalPlayer.Character
  351.  
  352. local hum = chr and chr:FindFirstChildWhichIsA("Humanoid")
  353.  
  354. while tpwalking and hb:Wait() and chr and hum and hum.Parent do
  355.  
  356. if hum.MoveDirection.Magnitude > 0 then
  357.  
  358. chr:TranslateBy(hum.MoveDirection)
  359.  
  360. end
  361.  
  362. end
  363.  
  364.  
  365.  
  366. end)
  367.  
  368. end
  369.  
  370. game.Players.LocalPlayer.Character.Animate.Disabled = true
  371.  
  372. local Char = game.Players.LocalPlayer.Character
  373.  
  374. local Hum = Char:FindFirstChildOfClass("Humanoid") or Char:FindFirstChildOfClass("AnimationController")
  375.  
  376.  
  377.  
  378. for i,v in next, Hum:GetPlayingAnimationTracks() do
  379.  
  380. v:AdjustSpeed(0)
  381.  
  382. end
  383.  
  384. speaker.Character.Humanoid:SetStateEnabled(Enum.HumanoidStateType.Climbing,false)
  385.  
  386. speaker.Character.Humanoid:SetStateEnabled(Enum.HumanoidStateType.FallingDown,false)
  387.  
  388. speaker.Character.Humanoid:SetStateEnabled(Enum.HumanoidStateType.Flying,false)
  389.  
  390. speaker.Character.Humanoid:SetStateEnabled(Enum.HumanoidStateType.Freefall,false)
  391.  
  392. speaker.Character.Humanoid:SetStateEnabled(Enum.HumanoidStateType.GettingUp,false)
  393.  
  394. speaker.Character.Humanoid:SetStateEnabled(Enum.HumanoidStateType.Jumping,false)
  395.  
  396. speaker.Character.Humanoid:SetStateEnabled(Enum.HumanoidStateType.Landed,false)
  397.  
  398. speaker.Character.Humanoid:SetStateEnabled(Enum.HumanoidStateType.Physics,false)
  399.  
  400. speaker.Character.Humanoid:SetStateEnabled(Enum.HumanoidStateType.PlatformStanding,false)
  401.  
  402. speaker.Character.Humanoid:SetStateEnabled(Enum.HumanoidStateType.Ragdoll,false)
  403.  
  404. speaker.Character.Humanoid:SetStateEnabled(Enum.HumanoidStateType.Running,false)
  405.  
  406. speaker.Character.Humanoid:SetStateEnabled(Enum.HumanoidStateType.RunningNoPhysics,false)
  407.  
  408. speaker.Character.Humanoid:SetStateEnabled(Enum.HumanoidStateType.Seated,false)
  409.  
  410. speaker.Character.Humanoid:SetStateEnabled(Enum.HumanoidStateType.StrafingNoPhysics,false)
  411.  
  412. speaker.Character.Humanoid:SetStateEnabled(Enum.HumanoidStateType.Swimming,false)
  413.  
  414. speaker.Character.Humanoid:ChangeState(Enum.HumanoidStateType.Swimming)
  415.  
  416. end
  417.  
  418.  
  419.  
  420.  
  421.  
  422.  
  423.  
  424.  
  425.  
  426. if game:GetService("Players").LocalPlayer.Character:FindFirstChildOfClass("Humanoid").RigType == Enum.HumanoidRigType.R6 then
  427.  
  428.  
  429.  
  430.  
  431.  
  432.  
  433.  
  434. local plr = game.Players.LocalPlayer
  435.  
  436. local torso = plr.Character.Torso
  437.  
  438. local flying = true
  439.  
  440. local deb = true
  441.  
  442. local ctrl = {f = 0, b = 0, l = 0, r = 0}
  443.  
  444. local lastctrl = {f = 0, b = 0, l = 0, r = 0}
  445.  
  446. local maxspeed = 50
  447.  
  448. local speed = 0
  449.  
  450.  
  451.  
  452.  
  453.  
  454. local bg = Instance.new("BodyGyro", torso)
  455.  
  456. bg.P = 9e4
  457.  
  458. bg.maxTorque = Vector3.new(9e9, 9e9, 9e9)
  459.  
  460. bg.cframe = torso.CFrame
  461.  
  462. local bv = Instance.new("BodyVelocity", torso)
  463.  
  464. bv.velocity = Vector3.new(0,0.1,0)
  465.  
  466. bv.maxForce = Vector3.new(9e9, 9e9, 9e9)
  467.  
  468. if nowe == true then
  469.  
  470. plr.Character.Humanoid.PlatformStand = true
  471.  
  472. end
  473.  
  474. while nowe == true or game:GetService("Players").LocalPlayer.Character.Humanoid.Health == 0 do
  475.  
  476. game:GetService("RunService").RenderStepped:Wait()
  477.  
  478.  
  479.  
  480. if ctrl.l + ctrl.r ~= 0 or ctrl.f + ctrl.b ~= 0 then
  481.  
  482. speed = speed+.5+(speed/maxspeed)
  483.  
  484. if speed > maxspeed then
  485.  
  486. speed = maxspeed
  487.  
  488. end
  489.  
  490. elseif not (ctrl.l + ctrl.r ~= 0 or ctrl.f + ctrl.b ~= 0) and speed ~= 0 then
  491.  
  492. speed = speed-1
  493.  
  494. if speed < 0 then
  495.  
  496. speed = 0
  497.  
  498. end
  499.  
  500. end
  501.  
  502. if (ctrl.l + ctrl.r) ~= 0 or (ctrl.f + ctrl.b) ~= 0 then
  503.  
  504. bv.velocity = ((game.Workspace.CurrentCamera.CoordinateFrame.lookVector * (ctrl.f+ctrl.b)) + ((game.Workspace.CurrentCamera.CoordinateFrame * CFrame.new(ctrl.l+ctrl.r,(ctrl.f+ctrl.b)*.2,0).p) - game.Workspace.CurrentCamera.CoordinateFrame.p))*speed
  505.  
  506. lastctrl = {f = ctrl.f, b = ctrl.b, l = ctrl.l, r = ctrl.r}
  507.  
  508. elseif (ctrl.l + ctrl.r) == 0 and (ctrl.f + ctrl.b) == 0 and speed ~= 0 then
  509.  
  510. bv.velocity = ((game.Workspace.CurrentCamera.CoordinateFrame.lookVector * (lastctrl.f+lastctrl.b)) + ((game.Workspace.CurrentCamera.CoordinateFrame * CFrame.new(lastctrl.l+lastctrl.r,(lastctrl.f+lastctrl.b)*.2,0).p) - game.Workspace.CurrentCamera.CoordinateFrame.p))*speed
  511.  
  512. else
  513.  
  514. bv.velocity = Vector3.new(0,0,0)
  515.  
  516. end
  517.  
  518. -- game.Players.LocalPlayer.Character.Animate.Disabled = true
  519.  
  520. bg.cframe = game.Workspace.CurrentCamera.CoordinateFrame * CFrame.Angles(-math.rad((ctrl.f+ctrl.b)*50*speed/maxspeed),0,0)
  521.  
  522. end
  523.  
  524. ctrl = {f = 0, b = 0, l = 0, r = 0}
  525.  
  526. lastctrl = {f = 0, b = 0, l = 0, r = 0}
  527.  
  528. speed = 0
  529.  
  530. bg:Destroy()
  531.  
  532. bv:Destroy()
  533.  
  534. plr.Character.Humanoid.PlatformStand = false
  535.  
  536. game.Players.LocalPlayer.Character.Animate.Disabled = false
  537.  
  538. tpwalking = false
  539.  
  540.  
  541.  
  542.  
  543.  
  544.  
  545.  
  546.  
  547.  
  548. else
  549.  
  550. local plr = game.Players.LocalPlayer
  551.  
  552. local UpperTorso = plr.Character.UpperTorso
  553.  
  554. local flying = true
  555.  
  556. local deb = true
  557.  
  558. local ctrl = {f = 0, b = 0, l = 0, r = 0}
  559.  
  560. local lastctrl = {f = 0, b = 0, l = 0, r = 0}
  561.  
  562. local maxspeed = 50
  563.  
  564. local speed = 0
  565.  
  566.  
  567.  
  568.  
  569.  
  570. local bg = Instance.new("BodyGyro", UpperTorso)
  571.  
  572. bg.P = 9e4
  573.  
  574. bg.maxTorque = Vector3.new(9e9, 9e9, 9e9)
  575.  
  576. bg.cframe = UpperTorso.CFrame
  577.  
  578. local bv = Instance.new("BodyVelocity", UpperTorso)
  579.  
  580. bv.velocity = Vector3.new(0,0.1,0)
  581.  
  582. bv.maxForce = Vector3.new(9e9, 9e9, 9e9)
  583.  
  584. if nowe == true then
  585.  
  586. plr.Character.Humanoid.PlatformStand = true
  587.  
  588. end
  589.  
  590. while nowe == true or game:GetService("Players").LocalPlayer.Character.Humanoid.Health == 0 do
  591.  
  592. wait()
  593.  
  594.  
  595.  
  596. if ctrl.l + ctrl.r ~= 0 or ctrl.f + ctrl.b ~= 0 then
  597.  
  598. speed = speed+.5+(speed/maxspeed)
  599.  
  600. if speed > maxspeed then
  601.  
  602. speed = maxspeed
  603.  
  604. end
  605.  
  606. elseif not (ctrl.l + ctrl.r ~= 0 or ctrl.f + ctrl.b ~= 0) and speed ~= 0 then
  607.  
  608. speed = speed-1
  609.  
  610. if speed < 0 then
  611.  
  612. speed = 0
  613.  
  614. end
  615.  
  616. end
  617.  
  618. if (ctrl.l + ctrl.r) ~= 0 or (ctrl.f + ctrl.b) ~= 0 then
  619.  
  620. bv.velocity = ((game.Workspace.CurrentCamera.CoordinateFrame.lookVector * (ctrl.f+ctrl.b)) + ((game.Workspace.CurrentCamera.CoordinateFrame * CFrame.new(ctrl.l+ctrl.r,(ctrl.f+ctrl.b)*.2,0).p) - game.Workspace.CurrentCamera.CoordinateFrame.p))*speed
  621.  
  622. lastctrl = {f = ctrl.f, b = ctrl.b, l = ctrl.l, r = ctrl.r}
  623.  
  624. elseif (ctrl.l + ctrl.r) == 0 and (ctrl.f + ctrl.b) == 0 and speed ~= 0 then
  625.  
  626. bv.velocity = ((game.Workspace.CurrentCamera.CoordinateFrame.lookVector * (lastctrl.f+lastctrl.b)) + ((game.Workspace.CurrentCamera.CoordinateFrame * CFrame.new(lastctrl.l+lastctrl.r,(lastctrl.f+lastctrl.b)*.2,0).p) - game.Workspace.CurrentCamera.CoordinateFrame.p))*speed
  627.  
  628. else
  629.  
  630. bv.velocity = Vector3.new(0,0,0)
  631.  
  632. end
  633.  
  634.  
  635.  
  636. bg.cframe = game.Workspace.CurrentCamera.CoordinateFrame * CFrame.Angles(-math.rad((ctrl.f+ctrl.b)*50*speed/maxspeed),0,0)
  637.  
  638. end
  639.  
  640. ctrl = {f = 0, b = 0, l = 0, r = 0}
  641.  
  642. lastctrl = {f = 0, b = 0, l = 0, r = 0}
  643.  
  644. speed = 0
  645.  
  646. bg:Destroy()
  647.  
  648. bv:Destroy()
  649.  
  650. plr.Character.Humanoid.PlatformStand = false
  651.  
  652. game.Players.LocalPlayer.Character.Animate.Disabled = false
  653.  
  654. tpwalking = false
  655.  
  656.  
  657.  
  658.  
  659.  
  660.  
  661.  
  662. end
  663.  
  664.  
  665.  
  666.  
  667.  
  668.  
  669.  
  670.  
  671.  
  672.  
  673.  
  674. end)
  675.  
  676.  
  677.  
  678. local tis
  679.  
  680.  
  681.  
  682. up.MouseButton1Down:connect(function()
  683.  
  684. tis = up.MouseEnter:connect(function()
  685.  
  686. while tis do
  687.  
  688. wait()
  689.  
  690. game.Players.LocalPlayer.Character.HumanoidRootPart.CFrame = game.Players.LocalPlayer.Character.HumanoidRootPart.CFrame * CFrame.new(0,1,0)
  691.  
  692. end
  693.  
  694. end)
  695.  
  696. end)
  697.  
  698.  
  699.  
  700. up.MouseLeave:connect(function()
  701.  
  702. if tis then
  703.  
  704. tis:Disconnect()
  705.  
  706. tis = nil
  707.  
  708. end
  709.  
  710. end)
  711.  
  712.  
  713.  
  714. local dis
  715.  
  716.  
  717.  
  718. down.MouseButton1Down:connect(function()
  719.  
  720. dis = down.MouseEnter:connect(function()
  721.  
  722. while dis do
  723.  
  724. wait()
  725.  
  726. game.Players.LocalPlayer.Character.HumanoidRootPart.CFrame = game.Players.LocalPlayer.Character.HumanoidRootPart.CFrame * CFrame.new(0,-1,0)
  727.  
  728. end
  729.  
  730. end)
  731.  
  732. end)
  733.  
  734.  
  735.  
  736. down.MouseLeave:connect(function()
  737.  
  738. if dis then
  739.  
  740. dis:Disconnect()
  741.  
  742. dis = nil
  743.  
  744. end
  745.  
  746. end)
  747.  
  748.  
  749.  
  750.  
  751.  
  752. game:GetService("Players").LocalPlayer.CharacterAdded:Connect(function(char)
  753.  
  754. wait(0.7)
  755.  
  756. game.Players.LocalPlayer.Character.Humanoid.PlatformStand = false
  757.  
  758. game.Players.LocalPlayer.Character.Animate.Disabled = false
  759.  
  760.  
  761.  
  762. end)
  763.  
  764.  
  765.  
  766.  
  767.  
  768. plus.MouseButton1Down:connect(function()
  769.  
  770. speeds = speeds + 1
  771.  
  772. speed.Text = speeds
  773.  
  774. if nowe == true then
  775.  
  776.  
  777.  
  778.  
  779.  
  780. tpwalking = false
  781.  
  782. for i = 1, speeds do
  783.  
  784. spawn(function()
  785.  
  786.  
  787.  
  788. local hb = game:GetService("RunService").Heartbeat
  789.  
  790.  
  791.  
  792.  
  793.  
  794. tpwalking = true
  795.  
  796. local chr = game.Players.LocalPlayer.Character
  797.  
  798. local hum = chr and chr:FindFirstChildWhichIsA("Humanoid")
  799.  
  800. while tpwalking and hb:Wait() and chr and hum and hum.Parent do
  801.  
  802. if hum.MoveDirection.Magnitude > 0 then
  803.  
  804. chr:TranslateBy(hum.MoveDirection)
  805.  
  806. end
  807.  
  808. end
  809.  
  810.  
  811.  
  812. end)
  813.  
  814. end
  815.  
  816. end
  817.  
  818. end)
  819.  
  820. mine.MouseButton1Down:connect(function()
  821.  
  822. if speeds == 1 then
  823.  
  824. speed.Text = 'Invalid'
  825.  
  826. wait(1)
  827.  
  828. speed.Text = speeds
  829.  
  830. else
  831.  
  832. speeds = speeds - 1
  833.  
  834. speed.Text = speeds
  835.  
  836. if nowe == true then
  837.  
  838. tpwalking = false
  839.  
  840. for i = 1, speeds do
  841.  
  842. spawn(function()
  843.  
  844.  
  845.  
  846. local hb = game:GetService("RunService").Heartbeat
  847.  
  848.  
  849.  
  850.  
  851.  
  852. tpwalking = true
  853.  
  854. local chr = game.Players.LocalPlayer.Character
  855.  
  856. local hum = chr and chr:FindFirstChildWhichIsA("Humanoid")
  857.  
  858. while tpwalking and hb:Wait() and chr and hum and hum.Parent do
  859.  
  860. if hum.MoveDirection.Magnitude > 0 then
  861.  
  862. chr:TranslateBy(hum.MoveDirection)
  863.  
  864. end
  865.  
  866. end
  867.  
  868.  
  869.  
  870. end)
  871.  
  872. end
  873.  
  874. end
  875.  
  876. end
  877.  
  878. end)
  879.  
  880.  
  881.  
  882. closebutton.MouseButton1Click:Connect(function()
  883.  
  884. main:Destroy()
  885.  
  886. end)
  887.  
  888.  
  889.  
  890. mini.MouseButton1Click:Connect(function()
  891.  
  892. up.Visible = false
  893.  
  894. down.Visible = false
  895.  
  896. onof.Visible = false
  897.  
  898. plus.Visible = false
  899.  
  900. speed.Visible = false
  901.  
  902. mine.Visible = false
  903.  
  904. mini.Visible = false
  905.  
  906. mini2.Visible = true
  907.  
  908. main.Frame.BackgroundTransparency = 1
  909.  
  910. closebutton.Position = UDim2.new(0, 0, -1, 57)
  911.  
  912. end)
  913.  
  914.  
  915.  
  916. mini2.MouseButton1Click:Connect(function()
  917.  
  918. up.Visible = true
  919.  
  920. down.Visible = true
  921.  
  922. onof.Visible = true
  923.  
  924. plus.Visible = true
  925.  
  926. speed.Visible = true
  927.  
  928. mine.Visible = true
  929.  
  930. mini.Visible = true
  931.  
  932. mini2.Visible = false
  933.  
  934. main.Frame.BackgroundTransparency = 0
  935.  
  936. closebutton.Position = UDim2.new(0, 0, -1, 27)
  937.  
  938. end)
  939.  
Advertisement
Add Comment
Please, Sign In to add comment
Advertisement