Advertisement
Glitch_kingGUEST666

Steep steps fly script

Feb 6th, 2023
3,167
0
Never
Not a member of Pastebin yet? Sign Up, it unlocks many cool features!
text 15.60 KB | None | 0 0
  1. wait()
  2. game.workspace.Gravity = 5
  3.  
  4.  
  5.  
  6. -- Default: 196.2
  7.  
  8.  
  9.  
  10. local main = Instance.new("ScreenGui")
  11. local Frame = Instance.new("Frame")
  12. local up = Instance.new("TextButton")
  13. local down = Instance.new("TextButton")
  14. local onof = Instance.new("TextButton")
  15. local TextLabel = Instance.new("TextLabel")
  16. local plus = Instance.new("TextButton")
  17. local speed = Instance.new("TextLabel")
  18. local mine = Instance.new("TextButton")
  19. local closebutton = Instance.new("TextButton")
  20. local mini = Instance.new("TextButton")
  21. local mini2 = Instance.new("TextButton")
  22.  
  23. main.Name = "main"
  24. main.Parent = game.Players.LocalPlayer:WaitForChild("PlayerGui")
  25. main.ZIndexBehavior = Enum.ZIndexBehavior.Sibling
  26. main.ResetOnSpawn = false
  27.  
  28. Frame.Parent = main
  29. Frame.BackgroundColor3 = Color3.fromRGB(163, 255, 137)
  30. Frame.BorderColor3 = Color3.fromRGB(103, 221, 213)
  31. Frame.Position = UDim2.new(0.100320168, 0, 0.379746825, 0)
  32. Frame.Size = UDim2.new(0, 190, 0, 57)
  33.  
  34. up.Name = "up"
  35. up.Parent = Frame
  36. up.BackgroundColor3 = Color3.fromRGB(79, 255, 152)
  37. up.Size = UDim2.new(0, 44, 0, 28)
  38. up.Font = Enum.Font.SourceSans
  39. up.Text = "UP"
  40. up.TextColor3 = Color3.fromRGB(0, 0, 0)
  41. up.TextSize = 14.000
  42.  
  43. down.Name = "down"
  44. down.Parent = Frame
  45. down.BackgroundColor3 = Color3.fromRGB(215, 255, 121)
  46. down.Position = UDim2.new(0, 0, 0.491228074, 0)
  47. down.Size = UDim2.new(0, 44, 0, 28)
  48. down.Font = Enum.Font.SourceSans
  49. down.Text = "DOWN"
  50. down.TextColor3 = Color3.fromRGB(0, 0, 0)
  51. down.TextSize = 14.000
  52.  
  53. onof.Name = "onof"
  54. onof.Parent = Frame
  55. onof.BackgroundColor3 = Color3.fromRGB(255, 249, 74)
  56. onof.Position = UDim2.new(0.702823281, 0, 0.491228074, 0)
  57. onof.Size = UDim2.new(0, 56, 0, 28)
  58. onof.Font = Enum.Font.SourceSans
  59. onof.Text = "fly"
  60. onof.TextColor3 = Color3.fromRGB(0, 0, 0)
  61. onof.TextSize = 14.000
  62.  
  63. TextLabel.Parent = Frame
  64. TextLabel.BackgroundColor3 = Color3.fromRGB(242, 60, 255)
  65. TextLabel.Position = UDim2.new(0.469327301, 0, 0, 0)
  66. TextLabel.Size = UDim2.new(0, 100, 0, 28)
  67. TextLabel.Font = Enum.Font.SourceSans
  68. TextLabel.Text = "Fly GUI V3"
  69. TextLabel.TextColor3 = Color3.fromRGB(0, 0, 0)
  70. TextLabel.TextScaled = true
  71. TextLabel.TextSize = 14.000
  72. TextLabel.TextWrapped = true
  73.  
  74. plus.Name = "plus"
  75. plus.Parent = Frame
  76. plus.BackgroundColor3 = Color3.fromRGB(133, 145, 255)
  77. plus.Position = UDim2.new(0.231578946, 0, 0, 0)
  78. plus.Size = UDim2.new(0, 45, 0, 28)
  79. plus.Font = Enum.Font.SourceSans
  80. plus.Text = "+"
  81. plus.TextColor3 = Color3.fromRGB(0, 0, 0)
  82. plus.TextScaled = true
  83. plus.TextSize = 14.000
  84. plus.TextWrapped = true
  85.  
  86. speed.Name = "speed"
  87. speed.Parent = Frame
  88. speed.BackgroundColor3 = Color3.fromRGB(255, 85, 0)
  89. speed.Position = UDim2.new(0.468421042, 0, 0.491228074, 0)
  90. speed.Size = UDim2.new(0, 44, 0, 28)
  91. speed.Font = Enum.Font.SourceSans
  92. speed.Text = "1"
  93. speed.TextColor3 = Color3.fromRGB(0, 0, 0)
  94. speed.TextScaled = true
  95. speed.TextSize = 14.000
  96. speed.TextWrapped = true
  97.  
  98. mine.Name = "mine"
  99. mine.Parent = Frame
  100. mine.BackgroundColor3 = Color3.fromRGB(123, 255, 247)
  101. mine.Position = UDim2.new(0.231578946, 0, 0.491228074, 0)
  102. mine.Size = UDim2.new(0, 45, 0, 29)
  103. mine.Font = Enum.Font.SourceSans
  104. mine.Text = "-"
  105. mine.TextColor3 = Color3.fromRGB(0, 0, 0)
  106. mine.TextScaled = true
  107. mine.TextSize = 14.000
  108. mine.TextWrapped = true
  109.  
  110. closebutton.Name = "Close"
  111. closebutton.Parent = main.Frame
  112. closebutton.BackgroundColor3 = Color3.fromRGB(225, 25, 0)
  113. closebutton.Font = "SourceSans"
  114. closebutton.Size = UDim2.new(0, 45, 0, 28)
  115. closebutton.Text = "X"
  116. closebutton.TextSize = 30
  117. closebutton.Position = UDim2.new(0, 0, -1, 27)
  118.  
  119. mini.Name = "minimize"
  120. mini.Parent = main.Frame
  121. mini.BackgroundColor3 = Color3.fromRGB(192, 150, 230)
  122. mini.Font = "SourceSans"
  123. mini.Size = UDim2.new(0, 45, 0, 28)
  124. mini.Text = "-"
  125. mini.TextSize = 40
  126. mini.Position = UDim2.new(0, 44, -1, 27)
  127.  
  128. mini2.Name = "minimize2"
  129. mini2.Parent = main.Frame
  130. mini2.BackgroundColor3 = Color3.fromRGB(192, 150, 230)
  131. mini2.Font = "SourceSans"
  132. mini2.Size = UDim2.new(0, 45, 0, 28)
  133. mini2.Text = "+"
  134. mini2.TextSize = 40
  135. mini2.Position = UDim2.new(0, 44, -1, 57)
  136. mini2.Visible = false
  137.  
  138. speeds = 1
  139.  
  140. local speaker = game:GetService("Players").LocalPlayer
  141.  
  142. local chr = game.Players.LocalPlayer.Character
  143. local hum = chr and chr:FindFirstChildWhichIsA("Humanoid")
  144.  
  145. nowe = false
  146.  
  147. game:GetService("StarterGui"):SetCore("SendNotification", {
  148. Title = "Fly GUI V3";
  149. Text = "By me_ozone and Quandale The Dinglish XII#3550";
  150. Icon = "rbxthumb://type=Asset&id=5107182114&w=150&h=150"})
  151. Duration = 5;
  152.  
  153. Frame.Active = true -- main = gui
  154. Frame.Draggable = true
  155.  
  156. onof.MouseButton1Down:connect(function()
  157.  
  158. if nowe == true then
  159. nowe = false
  160.  
  161. speaker.Character.Humanoid:SetStateEnabled(Enum.HumanoidStateType.Climbing,true)
  162. speaker.Character.Humanoid:SetStateEnabled(Enum.HumanoidStateType.FallingDown,true)
  163. speaker.Character.Humanoid:SetStateEnabled(Enum.HumanoidStateType.Flying,true)
  164. speaker.Character.Humanoid:SetStateEnabled(Enum.HumanoidStateType.Freefall,true)
  165. speaker.Character.Humanoid:SetStateEnabled(Enum.HumanoidStateType.GettingUp,true)
  166. speaker.Character.Humanoid:SetStateEnabled(Enum.HumanoidStateType.Jumping,true)
  167. speaker.Character.Humanoid:SetStateEnabled(Enum.HumanoidStateType.Landed,true)
  168. speaker.Character.Humanoid:SetStateEnabled(Enum.HumanoidStateType.Physics,true)
  169. speaker.Character.Humanoid:SetStateEnabled(Enum.HumanoidStateType.PlatformStanding,true)
  170. speaker.Character.Humanoid:SetStateEnabled(Enum.HumanoidStateType.Ragdoll,true)
  171. speaker.Character.Humanoid:SetStateEnabled(Enum.HumanoidStateType.Running,true)
  172. speaker.Character.Humanoid:SetStateEnabled(Enum.HumanoidStateType.RunningNoPhysics,true)
  173. speaker.Character.Humanoid:SetStateEnabled(Enum.HumanoidStateType.Seated,true)
  174. speaker.Character.Humanoid:SetStateEnabled(Enum.HumanoidStateType.StrafingNoPhysics,true)
  175. speaker.Character.Humanoid:SetStateEnabled(Enum.HumanoidStateType.Swimming,true)
  176. speaker.Character.Humanoid:ChangeState(Enum.HumanoidStateType.RunningNoPhysics)
  177. else
  178. nowe = true
  179.  
  180.  
  181.  
  182. for i = 1, speeds do
  183. spawn(function()
  184.  
  185. local hb = game:GetService("RunService").Heartbeat
  186.  
  187.  
  188. tpwalking = true
  189. local chr = game.Players.LocalPlayer.Character
  190. local hum = chr and chr:FindFirstChildWhichIsA("Humanoid")
  191. while tpwalking and hb:Wait() and chr and hum and hum.Parent do
  192. if hum.MoveDirection.Magnitude > 0 then
  193. chr:TranslateBy(hum.MoveDirection)
  194. end
  195. end
  196.  
  197. end)
  198. end
  199. game.Players.LocalPlayer.Character.Animate.Disabled = true
  200. local Char = game.Players.LocalPlayer.Character
  201. local Hum = Char:FindFirstChildOfClass("Humanoid") or Char:FindFirstChildOfClass("AnimationController")
  202.  
  203. for i,v in next, Hum:GetPlayingAnimationTracks() do
  204. v:AdjustSpeed(0)
  205. end
  206. speaker.Character.Humanoid:SetStateEnabled(Enum.HumanoidStateType.Climbing,false)
  207. speaker.Character.Humanoid:SetStateEnabled(Enum.HumanoidStateType.FallingDown,false)
  208. speaker.Character.Humanoid:SetStateEnabled(Enum.HumanoidStateType.Flying,false)
  209. speaker.Character.Humanoid:SetStateEnabled(Enum.HumanoidStateType.Freefall,false)
  210. speaker.Character.Humanoid:SetStateEnabled(Enum.HumanoidStateType.GettingUp,false)
  211. speaker.Character.Humanoid:SetStateEnabled(Enum.HumanoidStateType.Jumping,false)
  212. speaker.Character.Humanoid:SetStateEnabled(Enum.HumanoidStateType.Landed,false)
  213. speaker.Character.Humanoid:SetStateEnabled(Enum.HumanoidStateType.Physics,false)
  214. speaker.Character.Humanoid:SetStateEnabled(Enum.HumanoidStateType.PlatformStanding,false)
  215. speaker.Character.Humanoid:SetStateEnabled(Enum.HumanoidStateType.Ragdoll,false)
  216. speaker.Character.Humanoid:SetStateEnabled(Enum.HumanoidStateType.Running,false)
  217. speaker.Character.Humanoid:SetStateEnabled(Enum.HumanoidStateType.RunningNoPhysics,false)
  218. speaker.Character.Humanoid:SetStateEnabled(Enum.HumanoidStateType.Seated,false)
  219. speaker.Character.Humanoid:SetStateEnabled(Enum.HumanoidStateType.StrafingNoPhysics,false)
  220. speaker.Character.Humanoid:SetStateEnabled(Enum.HumanoidStateType.Swimming,false)
  221. speaker.Character.Humanoid:ChangeState(Enum.HumanoidStateType.Swimming)
  222. end
  223.  
  224.  
  225.  
  226.  
  227. if game:GetService("Players").LocalPlayer.Character:FindFirstChildOfClass("Humanoid").RigType == Enum.HumanoidRigType.R6 then
  228.  
  229.  
  230.  
  231. local plr = game.Players.LocalPlayer
  232. local torso = plr.Character.Torso
  233. local flying = true
  234. local deb = true
  235. local ctrl = {f = 0, b = 0, l = 0, r = 0}
  236. local lastctrl = {f = 0, b = 0, l = 0, r = 0}
  237. local maxspeed = 50
  238. local speed = 0
  239.  
  240.  
  241. local bg = Instance.new("BodyGyro", torso)
  242. bg.P = 9e4
  243. bg.maxTorque = Vector3.new(9e9, 9e9, 9e9)
  244. bg.cframe = torso.CFrame
  245. local bv = Instance.new("BodyVelocity", torso)
  246. bv.velocity = Vector3.new(0,0.1,0)
  247. bv.maxForce = Vector3.new(9e9, 9e9, 9e9)
  248. if nowe == true then
  249. plr.Character.Humanoid.PlatformStand = true
  250. end
  251. while nowe == true or game:GetService("Players").LocalPlayer.Character.Humanoid.Health == 0 do
  252. game:GetService("RunService").RenderStepped:Wait()
  253.  
  254. if ctrl.l + ctrl.r ~= 0 or ctrl.f + ctrl.b ~= 0 then
  255. speed = speed+.5+(speed/maxspeed)
  256. if speed > maxspeed then
  257. speed = maxspeed
  258. end
  259. elseif not (ctrl.l + ctrl.r ~= 0 or ctrl.f + ctrl.b ~= 0) and speed ~= 0 then
  260. speed = speed-1
  261. if speed < 0 then
  262. speed = 0
  263. end
  264. end
  265. if (ctrl.l + ctrl.r) ~= 0 or (ctrl.f + ctrl.b) ~= 0 then
  266. 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
  267. lastctrl = {f = ctrl.f, b = ctrl.b, l = ctrl.l, r = ctrl.r}
  268. elseif (ctrl.l + ctrl.r) == 0 and (ctrl.f + ctrl.b) == 0 and speed ~= 0 then
  269. 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
  270. else
  271. bv.velocity = Vector3.new(0,0,0)
  272. end
  273. -- game.Players.LocalPlayer.Character.Animate.Disabled = true
  274. bg.cframe = game.Workspace.CurrentCamera.CoordinateFrame * CFrame.Angles(-math.rad((ctrl.f+ctrl.b)*50*speed/maxspeed),0,0)
  275. end
  276. ctrl = {f = 0, b = 0, l = 0, r = 0}
  277. lastctrl = {f = 0, b = 0, l = 0, r = 0}
  278. speed = 0
  279. bg:Destroy()
  280. bv:Destroy()
  281. plr.Character.Humanoid.PlatformStand = false
  282. game.Players.LocalPlayer.Character.Animate.Disabled = false
  283. tpwalking = false
  284.  
  285.  
  286.  
  287.  
  288. else
  289. local plr = game.Players.LocalPlayer
  290. local UpperTorso = plr.Character.UpperTorso
  291. local flying = true
  292. local deb = true
  293. local ctrl = {f = 0, b = 0, l = 0, r = 0}
  294. local lastctrl = {f = 0, b = 0, l = 0, r = 0}
  295. local maxspeed = 50
  296. local speed = 0
  297.  
  298.  
  299. local bg = Instance.new("BodyGyro", UpperTorso)
  300. bg.P = 9e4
  301. bg.maxTorque = Vector3.new(9e9, 9e9, 9e9)
  302. bg.cframe = UpperTorso.CFrame
  303. local bv = Instance.new("BodyVelocity", UpperTorso)
  304. bv.velocity = Vector3.new(0,0.1,0)
  305. bv.maxForce = Vector3.new(9e9, 9e9, 9e9)
  306. if nowe == true then
  307. plr.Character.Humanoid.PlatformStand = true
  308. end
  309. while nowe == true or game:GetService("Players").LocalPlayer.Character.Humanoid.Health == 0 do
  310. wait()
  311.  
  312. if ctrl.l + ctrl.r ~= 0 or ctrl.f + ctrl.b ~= 0 then
  313. speed = speed+.5+(speed/maxspeed)
  314. if speed > maxspeed then
  315. speed = maxspeed
  316. end
  317. elseif not (ctrl.l + ctrl.r ~= 0 or ctrl.f + ctrl.b ~= 0) and speed ~= 0 then
  318. speed = speed-1
  319. if speed < 0 then
  320. speed = 0
  321. end
  322. end
  323. if (ctrl.l + ctrl.r) ~= 0 or (ctrl.f + ctrl.b) ~= 0 then
  324. 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
  325. lastctrl = {f = ctrl.f, b = ctrl.b, l = ctrl.l, r = ctrl.r}
  326. elseif (ctrl.l + ctrl.r) == 0 and (ctrl.f + ctrl.b) == 0 and speed ~= 0 then
  327. 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
  328. else
  329. bv.velocity = Vector3.new(0,0,0)
  330. end
  331.  
  332. bg.cframe = game.Workspace.CurrentCamera.CoordinateFrame * CFrame.Angles(-math.rad((ctrl.f+ctrl.b)*50*speed/maxspeed),0,0)
  333. end
  334. ctrl = {f = 0, b = 0, l = 0, r = 0}
  335. lastctrl = {f = 0, b = 0, l = 0, r = 0}
  336. speed = 0
  337. bg:Destroy()
  338. bv:Destroy()
  339. plr.Character.Humanoid.PlatformStand = false
  340. game.Players.LocalPlayer.Character.Animate.Disabled = false
  341. tpwalking = false
  342.  
  343.  
  344.  
  345. end
  346.  
  347.  
  348.  
  349.  
  350.  
  351. end)
  352.  
  353. local tis
  354.  
  355. up.MouseButton1Down:connect(function()
  356. tis = up.MouseEnter:connect(function()
  357. while tis do
  358. wait()
  359. game.Players.LocalPlayer.Character.HumanoidRootPart.CFrame = game.Players.LocalPlayer.Character.HumanoidRootPart.CFrame * CFrame.new(0,1,0)
  360. end
  361. end)
  362. end)
  363.  
  364. up.MouseLeave:connect(function()
  365. if tis then
  366. tis:Disconnect()
  367. tis = nil
  368. end
  369. end)
  370.  
  371. local dis
  372.  
  373. down.MouseButton1Down:connect(function()
  374. dis = down.MouseEnter:connect(function()
  375. while dis do
  376. wait()
  377. game.Players.LocalPlayer.Character.HumanoidRootPart.CFrame = game.Players.LocalPlayer.Character.HumanoidRootPart.CFrame * CFrame.new(0,-1,0)
  378. end
  379. end)
  380. end)
  381.  
  382. down.MouseLeave:connect(function()
  383. if dis then
  384. dis:Disconnect()
  385. dis = nil
  386. end
  387. end)
  388.  
  389.  
  390. game:GetService("Players").LocalPlayer.CharacterAdded:Connect(function(char)
  391. wait(0.7)
  392. game.Players.LocalPlayer.Character.Humanoid.PlatformStand = false
  393. game.Players.LocalPlayer.Character.Animate.Disabled = false
  394.  
  395. end)
  396.  
  397.  
  398. plus.MouseButton1Down:connect(function()
  399. speeds = speeds + 1
  400. speed.Text = speeds
  401. if nowe == true then
  402.  
  403.  
  404. tpwalking = false
  405. for i = 1, speeds do
  406. spawn(function()
  407.  
  408. local hb = game:GetService("RunService").Heartbeat
  409.  
  410.  
  411. tpwalking = true
  412. local chr = game.Players.LocalPlayer.Character
  413. local hum = chr and chr:FindFirstChildWhichIsA("Humanoid")
  414. while tpwalking and hb:Wait() and chr and hum and hum.Parent do
  415. if hum.MoveDirection.Magnitude > 0 then
  416. chr:TranslateBy(hum.MoveDirection)
  417. end
  418. end
  419.  
  420. end)
  421. end
  422. end
  423. end)
  424. mine.MouseButton1Down:connect(function()
  425. if speeds == 1 then
  426. speed.Text = 'cannot be less than 1'
  427. wait(1)
  428. speed.Text = speeds
  429. else
  430. speeds = speeds - 1
  431. speed.Text = speeds
  432. if nowe == true then
  433. tpwalking = false
  434. for i = 1, speeds do
  435. spawn(function()
  436.  
  437. local hb = game:GetService("RunService").Heartbeat
  438.  
  439.  
  440. tpwalking = true
  441. local chr = game.Players.LocalPlayer.Character
  442. local hum = chr and chr:FindFirstChildWhichIsA("Humanoid")
  443. while tpwalking and hb:Wait() and chr and hum and hum.Parent do
  444. if hum.MoveDirection.Magnitude > 0 then
  445. chr:TranslateBy(hum.MoveDirection)
  446. end
  447. end
  448.  
  449. end)
  450. end
  451. end
  452. end
  453. end)
  454.  
  455. closebutton.MouseButton1Click:Connect(function()
  456. main:Destroy()
  457. end)
  458.  
  459. mini.MouseButton1Click:Connect(function()
  460. up.Visible = false
  461. down.Visible = false
  462. onof.Visible = false
  463. plus.Visible = false
  464. speed.Visible = false
  465. mine.Visible = false
  466. mini.Visible = false
  467. mini2.Visible = true
  468. main.Frame.BackgroundTransparency = 1
  469. closebutton.Position = UDim2.new(0, 0, -1, 57)
  470. end)
  471.  
  472. mini2.MouseButton1Click:Connect(function()
  473. up.Visible = true
  474. down.Visible = true
  475. onof.Visible = true
  476. plus.Visible = true
  477. speed.Visible = true
  478. mine.Visible = true
  479. mini.Visible = true
  480. mini2.Visible = false
  481. main.Frame.BackgroundTransparency = 0
  482. closebutton.Position = UDim2.new(0, 0, -1, 27)
  483. end)
Advertisement
Add Comment
Please, Sign In to add comment
Advertisement