Advertisement
ExluZive

Fly roblox

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