skibidisigma2555

fly

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