43Bullets

gui

Apr 7th, 2021
19
0
Never
Not a member of Pastebin yet? Sign Up, it unlocks many cool features!
text 19.66 KB | None | 0 0
  1. -- idk
  2. -- by ARedbidderr
  3.  
  4. -- INSTRUCTIONS
  5.  
  6. -- Press F to Fly
  7. -- Press E to NoClips
  8. -- Click TP Hotkey : CTRL
  9. -- Press R to uninfinite jump
  10.  
  11. -- prints
  12.  
  13. print("Thank you for using ARedbidderr's crappy gui!")
  14.  
  15. -- Notification - Loaded |
  16.  
  17. game:GetService("StarterGui"):SetCore("SendNotification",{
  18. Title = "SKIDDED GUI";
  19. Text = "Made by ARedbidderr";
  20. })
  21.  
  22. -- Instances:
  23.  
  24. local GUI = Instance.new("ScreenGui")
  25. local main = Instance.new("Frame")
  26. local noclip = Instance.new("TextButton")
  27. local clicktp = Instance.new("TextButton")
  28. local tpto = Instance.new("TextButton")
  29. local infjump = Instance.new("TextButton")
  30. local btools = Instance.new("TextButton")
  31. local jumppower = Instance.new("TextButton")
  32. local jpframe = Instance.new("Frame")
  33. local jpinput = Instance.new("TextBox")
  34. local setjp = Instance.new("TextButton")
  35. local rejp = Instance.new("TextButton")
  36. local title = Instance.new("TextLabel")
  37. local walkspeed = Instance.new("TextButton")
  38. local wsframe = Instance.new("Frame")
  39. local wsinput = Instance.new("TextBox")
  40. local setws = Instance.new("TextButton")
  41. local rews = Instance.new("TextButton")
  42. local close = Instance.new("TextButton")
  43. local fly = Instance.new("TextButton")
  44. local open = Instance.new("TextButton")
  45. local jpclose = Instance.new("TextButton")
  46. local wsclose = Instance.new("TextButton")
  47. local tpframe = Instance.new("Frame")
  48. local tpinput = Instance.new("TextBox")
  49. local settp = Instance.new("TextButton")
  50. local tpclose = Instance.new("TextButton")
  51.  
  52. --Properties:
  53.  
  54. GUI.Name = "SKIDDED GUI"
  55. GUI.Parent = game.Players.LocalPlayer:WaitForChild("PlayerGui")
  56.  
  57. main.Name = "main"
  58. main.Parent = GUI
  59. main.Active = true
  60. main.BackgroundColor3 = Color3.fromRGB(0, 0, 255)
  61. main.Position = UDim2.new(0.382422805, 0, 0.292828679, 0)
  62. main.Size = UDim2.new(0, 349, 0, 287)
  63. main.Draggable = true
  64.  
  65. noclip.Name = "noclip"
  66. noclip.Parent = main
  67. noclip.BackgroundColor3 = Color3.fromRGB(170, 170, 255)
  68. noclip.Position = UDim2.new(0.0658583343, 0, 0.198759019, 0)
  69. noclip.Size = UDim2.new(0, 119, 0, 40)
  70. noclip.Font = Enum.Font.SourceSans
  71. noclip.Text = "NoClip"
  72. noclip.TextColor3 = Color3.fromRGB(0, 0, 0)
  73. noclip.TextScaled = true
  74. noclip.TextSize = 14.000
  75. noclip.TextWrapped = true
  76. noclip.MouseButton1Click:Connect(function()
  77. game:GetService('RunService').Stepped:connect(function()
  78. if noclip then
  79. game.Players.LocalPlayer.Character.Humanoid:ChangeState(11)
  80. end
  81. end)
  82. plr = game.Players.LocalPlayer
  83. mouse = plr:GetMouse()
  84. mouse.KeyDown:connect(function(key)
  85.  
  86. if key == "e" then
  87. noclip = not noclip
  88. game.Players.LocalPlayer.Character.Humanoid:ChangeState(11)
  89. end
  90. end)
  91. noclip.Text = "Loaded!"
  92. noclip.TextColor3 = Color3.fromRGB(0, 255, 50)
  93. wait(2)
  94. noclip.TextColor3 = Color3.fromRGB(0, 0, 0)
  95. noclip.Text = "NoClip"
  96. end)
  97.  
  98. clicktp.Name = "clicktp"
  99. clicktp.Parent = main
  100. clicktp.BackgroundColor3 = Color3.fromRGB(170, 170, 255)
  101. clicktp.Position = UDim2.new(0.588318229, 0, 0.198759019, 0)
  102. clicktp.Size = UDim2.new(0, 119, 0, 40)
  103. clicktp.Font = Enum.Font.SourceSans
  104. clicktp.Text = "Click TP"
  105. clicktp.TextColor3 = Color3.fromRGB(0, 0, 0)
  106. clicktp.TextScaled = true
  107. clicktp.TextSize = 14.000
  108. clicktp.TextWrapped = true
  109. clicktp.MouseButton1Click:Connect(function()
  110. noclip = false
  111. local UIS = game:GetService("UserInputService")
  112. local Player = game.Players.LocalPlayer
  113. local Mouse = Player:GetMouse()
  114.  
  115.  
  116. function GetCharacter()
  117. return game.Players.LocalPlayer.Character
  118. end
  119.  
  120. function Teleport(pos)
  121. local Char = GetCharacter()
  122. if Char then
  123. Char:MoveTo(pos)
  124. end
  125. end
  126.  
  127.  
  128. UIS.InputBegan:Connect(function(input)
  129. if input.UserInputType == Enum.UserInputType.MouseButton1 and UIS:IsKeyDown(Enum.KeyCode.LeftControl) then
  130. Teleport(Mouse.Hit.p)
  131. end
  132. end)
  133. clicktp.Text = "Loaded!"
  134. clicktp.TextColor3 = Color3.fromRGB(0, 255, 50)
  135. wait(2)
  136. clicktp.TextColor3 = Color3.fromRGB(0, 0, 0)
  137. clicktp.Text = "Click TP"
  138. end)
  139.  
  140. tpto.Name = "tpto"
  141. tpto.Parent = main
  142. tpto.BackgroundColor3 = Color3.fromRGB(170, 170, 255)
  143. tpto.Position = UDim2.new(0.588318229, 0, 0.411871731, 0)
  144. tpto.Size = UDim2.new(0, 119, 0, 41)
  145. tpto.Font = Enum.Font.SourceSans
  146. tpto.Text = "Teleport To"
  147. tpto.TextColor3 = Color3.fromRGB(0, 0, 0)
  148. tpto.TextScaled = true
  149. tpto.TextSize = 14.000
  150. tpto.TextWrapped = true
  151. tpto.MouseButton1Click:Connect(function()
  152. tpframe.Visible = true
  153. infjump.Visible = false
  154. jumppower.Visible = false
  155. walkspeed.Visible = false
  156. btools.Visible = false
  157. fly.Visible = false
  158. end)
  159.  
  160. tpclose.Name = "tpclose"
  161. tpclose.Parent = tpframe
  162. tpclose.BackgroundColor3 = Color3.fromRGB(255, 0, 0)
  163. tpclose.Position = UDim2.new(0.92929244, 0, 0, 0)
  164. tpclose.Size = UDim2.new(0, 24, 0, 24)
  165. tpclose.Font = Enum.Font.SourceSans
  166. tpclose.Text = "X"
  167. tpclose.TextColor3 = Color3.fromRGB(255, 255, 255)
  168. tpclose.TextScaled = true
  169. tpclose.TextSize = 14.000
  170. tpclose.TextWrapped = true
  171. tpclose.MouseButton1Click:Connect(function()
  172. tpframe.Visible = false
  173. infjump.Visible = true
  174. jumppower.Visible = true
  175. walkspeed.Visible = true
  176. btools.Visible = true
  177. fly.Visible = true
  178. end)
  179.  
  180. tpframe.Name = "tpframe"
  181. tpframe.Parent = tpto
  182. tpframe.BackgroundColor3 = Color3.fromRGB(0, 0, 255)
  183. tpframe.BorderSizePixel = 0
  184. tpframe.Position = UDim2.new(-1.72255921, 0, -1.77698445, 0)
  185. tpframe.Size = UDim2.new(0, 348, 0, 240)
  186. tpframe.Visible = false
  187.  
  188. tpinput.Name = "tpinput"
  189. tpinput.Parent = tpframe
  190. tpinput.BackgroundColor3 = Color3.fromRGB(0, 0, 0)
  191. tpinput.Position = UDim2.new(0.209770113, 0, 0.174999997, 0)
  192. tpinput.Size = UDim2.new(0, 200, 0, 50)
  193. tpinput.Font = Enum.Font.SourceSans
  194. tpinput.Text = "Full Player Username"
  195. tpinput.TextColor3 = Color3.fromRGB(255, 255, 255)
  196. tpinput.TextSize = 22.000
  197.  
  198. settp.Name = "settp"
  199. settp.Parent = tpframe
  200. settp.BackgroundColor3 = Color3.fromRGB(85, 255, 255)
  201. settp.Position = UDim2.new(0.304597706, 0, 0.470833331, 0)
  202. settp.Size = UDim2.new(0, 135, 0, 50)
  203. settp.Font = Enum.Font.SourceSans
  204. settp.Text = "Teleport"
  205. settp.TextColor3 = Color3.fromRGB(85, 0, 127)
  206. settp.TextSize = 14.000
  207. settp.MouseButton1Click:Connect(function()
  208. local Victim = tpinput.Text
  209. game.Players.LocalPlayer.Character.HumanoidRootPart.CFrame = game.Players[Victim].Character.HumanoidRootPart.CFrame
  210. settp.Text = "Teleported!"
  211. settp.TextColor3 = Color3.fromRGB(0, 255, 50)
  212. wait(2)
  213. settp.TextColor3 = Color3.fromRGB(255, 255, 255)
  214. settp.Text = "Teleport"
  215. end)
  216.  
  217. infjump.Name = "infjump"
  218. infjump.Parent = main
  219. infjump.BackgroundColor3 = Color3.fromRGB(170, 170, 255)
  220. infjump.Position = UDim2.new(0.0658583343, 0, 0.411871731, 0)
  221. infjump.Size = UDim2.new(0, 119, 0, 41)
  222. infjump.Font = Enum.Font.SourceSans
  223. infjump.Text = "Infinite Jump"
  224. infjump.TextColor3 = Color3.fromRGB(0, 0, 0)
  225. infjump.TextScaled = true
  226. infjump.TextSize = 14.000
  227. infjump.TextWrapped = true
  228. infjump.MouseButton1Click:Connect(function()
  229. loadstring(game:HttpGet("https://pastebin.com/raw/HQsQysa8", true))()
  230. infjump.Text = "Loaded!"
  231. infjump.TextColor3 = Color3.fromRGB(0, 255, 50)
  232. wait(2)
  233. infjump.TextColor3 = Color3.fromRGB(0, 0, 0)
  234. infjump.Text = "Infinite Jump"
  235. end)
  236.  
  237. btools.Name = "btools"
  238. btools.Parent = main
  239. btools.BackgroundColor3 = Color3.fromRGB(170, 170, 255)
  240. btools.Position = UDim2.new(0.588318229, 0, 0.621999919, 0)
  241. btools.Size = UDim2.new(0, 119, 0, 38)
  242. btools.Font = Enum.Font.SourceSans
  243. btools.Text = "BTools"
  244. btools.TextColor3 = Color3.fromRGB(0, 0, 0)
  245. btools.TextScaled = true
  246. btools.TextSize = 14.000
  247. btools.TextWrapped = true
  248. btools.MouseButton1Click:Connect(function()
  249. game.StarterGui:SetCoreGuiEnabled(Enum.CoreGuiType.Backpack, true)
  250. for index, child in pairs(game:GetService("Workspace"):GetChildren()) do
  251. if child.ClassName == "Part" then
  252. child.Locked = false
  253. end
  254. if child.ClassName == "MeshPart" then
  255. child.Locked = false
  256. end
  257. if child.ClassName == "UnionOperation" then
  258. child.Locked = false
  259. end
  260. if child.ClassName == "Model" then
  261. for index, chil in pairs(child:GetChildren()) do
  262. if chil.ClassName == "Part" then
  263. chil.Locked = false
  264. end
  265. if chil.ClassName == "MeshPart" then
  266. chil.Locked = false
  267. end
  268. if chil.ClassName == "UnionOperation" then
  269. chil.Locked = false
  270. end
  271. if chil.ClassName == "Model" then
  272. for index, childe in pairs(chil:GetChildren()) do
  273. if childe.ClassName == "Part" then
  274. childe.Locked = false
  275. end
  276. if childe.ClassName == "MeshPart" then
  277. childe.Locked = false
  278. end
  279. if childe.ClassName == "UnionOperation" then
  280. childe.Locked = false
  281. end
  282. if childe.ClassName == "Model" then
  283. for index, childeo in pairs(childe:GetChildren()) do
  284. if childeo.ClassName == "Part" then
  285. childeo.Locked = false
  286. end
  287. if childeo.ClassName == "MeshPart" then
  288. childeo.Locked = false
  289. end
  290. if childeo.ClassName == "UnionOperation" then
  291. childeo.Locked = false
  292. end
  293. if childeo.ClassName == "Model" then
  294. end
  295. end
  296. end
  297. end
  298. end
  299. end
  300. end
  301. end
  302. c = Instance.new("HopperBin", game:GetService("Players").LocalPlayer.Backpack)
  303. c.BinType = Enum.BinType.Hammer
  304. c = Instance.new("HopperBin", game:GetService("Players").LocalPlayer.Backpack)
  305. c.BinType = Enum.BinType.Clone
  306. c = Instance.new("HopperBin", game:GetService("Players").LocalPlayer.Backpack)
  307. c.BinType = Enum.BinType.Grab
  308. btools.Text = "Loaded!"
  309. btools.TextColor3 = Color3.fromRGB(0, 255, 50)
  310. wait(2)
  311. btools.TextColor3 = Color3.fromRGB(0, 0, 0)
  312. btools.Text = "BTools"
  313. end)
  314.  
  315. jumppower.Name = "jumppower"
  316. jumppower.Parent = main
  317. jumppower.BackgroundColor3 = Color3.fromRGB(170, 170, 255)
  318. jumppower.Position = UDim2.new(0.0658583343, 0, 0.621999919, 0)
  319. jumppower.Size = UDim2.new(0, 119, 0, 42)
  320. jumppower.Font = Enum.Font.SourceSans
  321. jumppower.Text = "Jump Power"
  322. jumppower.TextColor3 = Color3.fromRGB(0, 0, 0)
  323. jumppower.TextScaled = true
  324. jumppower.TextSize = 14.000
  325. jumppower.TextWrapped = true
  326. jumppower.MouseButton1Click:Connect(function()
  327. jpframe.Visible = true
  328. walkspeed.Visible = false
  329. fly.Visible = false
  330. end)
  331.  
  332. jpframe.Name = "jpframe"
  333. jpframe.Parent = jumppower
  334. jpframe.BackgroundColor3 = Color3.fromRGB(0, 0, 255)
  335. jpframe.BorderSizePixel = 0
  336. jpframe.Position = UDim2.new(-0.19314754, 0, -3.15096831, 0)
  337. jpframe.Size = UDim2.new(0, 348, 0, 240)
  338. jpframe.Visible = false
  339.  
  340. jpclose.Name = "jpclose"
  341. jpclose.Parent = jpframe
  342. jpclose.BackgroundColor3 = Color3.fromRGB(255, 0, 0)
  343. jpclose.Position = UDim2.new(0.92929244, 0, 0, 0)
  344. jpclose.Size = UDim2.new(0, 24, 0, 24)
  345. jpclose.Font = Enum.Font.SourceSans
  346. jpclose.Text = "X"
  347. jpclose.TextColor3 = Color3.fromRGB(255, 255, 255)
  348. jpclose.TextScaled = true
  349. jpclose.TextSize = 14.000
  350. jpclose.TextWrapped = true
  351. jpclose.MouseButton1Click:Connect(function()
  352. walkspeed.Visible = true
  353. fly.Visible = true
  354. jpframe.Visible = false
  355. end)
  356.  
  357. jpinput.Name = "jpinput"
  358. jpinput.Parent = jpframe
  359. jpinput.BackgroundColor3 = Color3.fromRGB(0, 0, 0)
  360. jpinput.Position = UDim2.new(0.209770113, 0, 0.174999997, 0)
  361. jpinput.Size = UDim2.new(0, 200, 0, 50)
  362. jpinput.Font = Enum.Font.SourceSans
  363. jpinput.Text = "Power Value"
  364. jpinput.TextColor3 = Color3.fromRGB(255, 255, 255)
  365. jpinput.TextSize = 22.000
  366.  
  367. setjp.Name = "setjp"
  368. setjp.Parent = jpframe
  369. setjp.BackgroundColor3 = Color3.fromRGB(85, 255, 255)
  370. setjp.Position = UDim2.new(0.0632183924, 0, 0.470833331, 0)
  371. setjp.Size = UDim2.new(0, 135, 0, 50)
  372. setjp.Font = Enum.Font.SourceSans
  373. setjp.Text = "Set Jump Power"
  374. setjp.TextColor3 = Color3.fromRGB(85, 0, 127)
  375. setjp.TextSize = 14.000
  376. setjp.MouseButton1Click:Connect(function()
  377. game.Players.LocalPlayer.Character.Humanoid.JumpPower = jpinput.Text
  378. end)
  379.  
  380. rejp.Name = "rejp"
  381. rejp.Parent = jpframe
  382. rejp.BackgroundColor3 = Color3.fromRGB(85, 255, 255)
  383. rejp.Position = UDim2.new(0.537356317, 0, 0.470833331, 0)
  384. rejp.Size = UDim2.new(0, 136, 0, 50)
  385. rejp.Font = Enum.Font.SourceSans
  386. rejp.Text = "Reset Jump Power"
  387. rejp.TextColor3 = Color3.fromRGB(85, 0, 127)
  388. rejp.TextSize = 14.000
  389. rejp.MouseButton1Click:Connect(function()
  390. game.Players.LocalPlayer.Character.Humanoid.JumpPower = 50
  391. end)
  392.  
  393. title.Name = "title"
  394. title.Parent = main
  395. title.BackgroundColor3 = Color3.fromRGB(255, 255, 255)
  396. title.BackgroundTransparency = 1.000
  397. title.Position = UDim2.new(0.211408243, 0, -0.00288046151, 0)
  398. title.Size = UDim2.new(0, 200, 0, 47)
  399. title.Font = Enum.Font.Highway
  400. title.Text = "SKIDDED GUI"
  401. title.TextColor3 = Color3.fromRGB(0, 255, 255)
  402. title.TextScaled = true
  403. title.TextSize = 14.000
  404. title.TextWrapped = true
  405.  
  406. walkspeed.Name = "walkspeed"
  407. walkspeed.Parent = main
  408. walkspeed.BackgroundColor3 = Color3.fromRGB(170, 170, 255)
  409. walkspeed.Position = UDim2.new(0.0658583343, 0, 0.817121804, 0)
  410. walkspeed.Size = UDim2.new(0, 119, 0, 42)
  411. walkspeed.Font = Enum.Font.SourceSans
  412. walkspeed.Text = "Walk Speed"
  413. walkspeed.TextColor3 = Color3.fromRGB(0, 0, 0)
  414. walkspeed.TextScaled = true
  415. walkspeed.TextSize = 14.000
  416. walkspeed.TextWrapped = true
  417. walkspeed.MouseButton1Click:Connect(function()
  418. wsframe.Visible = true
  419. fly.Visible = false
  420. end)
  421.  
  422. wsframe.Name = "wsframe"
  423. wsframe.Parent = walkspeed
  424. wsframe.BackgroundColor3 = Color3.fromRGB(0, 0, 255)
  425. wsframe.BorderSizePixel = 0
  426. wsframe.Position = UDim2.new(-0.201550901, 0, -4.48430157, 0)
  427. wsframe.Size = UDim2.new(0, 348, 0, 240)
  428. wsframe.Visible = false
  429.  
  430. wsclose.Name = "wsclose"
  431. wsclose.Parent = wsframe
  432. wsclose.BackgroundColor3 = Color3.fromRGB(255, 0, 0)
  433. wsclose.Position = UDim2.new(0.92929244, 0, 0, 0)
  434. wsclose.Size = UDim2.new(0, 24, 0, 24)
  435. wsclose.Font = Enum.Font.SourceSans
  436. wsclose.Text = "X"
  437. wsclose.TextColor3 = Color3.fromRGB(255, 255, 255)
  438. wsclose.TextScaled = true
  439. wsclose.TextSize = 14.000
  440. wsclose.TextWrapped = true
  441. wsclose.MouseButton1Click:Connect(function()
  442. wsframe.Visible = false
  443. fly.Visible = true
  444. end)
  445.  
  446. wsinput.Name = "wsinput"
  447. wsinput.Parent = wsframe
  448. wsinput.BackgroundColor3 = Color3.fromRGB(0, 0, 0)
  449. wsinput.Position = UDim2.new(0.209770113, 0, 0.174999997, 0)
  450. wsinput.Size = UDim2.new(0, 200, 0, 50)
  451. wsinput.Font = Enum.Font.SourceSans
  452. wsinput.Text = "Speed Value"
  453. wsinput.TextColor3 = Color3.fromRGB(255, 255, 255)
  454. wsinput.TextSize = 22.000
  455.  
  456. setws.Name = "setws"
  457. setws.Parent = wsframe
  458. setws.BackgroundColor3 = Color3.fromRGB(85, 255, 255)
  459. setws.Position = UDim2.new(0.0632183924, 0, 0.470833331, 0)
  460. setws.Size = UDim2.new(0, 135, 0, 50)
  461. setws.Font = Enum.Font.SourceSans
  462. setws.Text = "Set Walk Speed"
  463. setws.TextColor3 = Color3.fromRGB(85, 0, 127)
  464. setws.TextSize = 14.000
  465. setws.MouseButton1Click:Connect(function()
  466. game.Players.LocalPlayer.Character.Humanoid.WalkSpeed = wsinput.Text
  467. end)
  468.  
  469. rews.Name = "rews"
  470. rews.Parent = wsframe
  471. rews.BackgroundColor3 = Color3.fromRGB(85, 255, 255)
  472. rews.Position = UDim2.new(0.537356317, 0, 0.470833331, 0)
  473. rews.Size = UDim2.new(0, 136, 0, 50)
  474. rews.Font = Enum.Font.SourceSans
  475. rews.Text = "Reset Walk Speed"
  476. rews.TextColor3 = Color3.fromRGB(85, 0, 127)
  477. rews.TextSize = 14.000
  478. rews.MouseButton1Click:Connect(function()
  479. game.Players.LocalPlayer.Character.Humanoid.WalkSpeed = 16
  480. end)
  481.  
  482. close.Name = "close"
  483. close.Parent = main
  484. close.BackgroundColor3 = Color3.fromRGB(255, 0, 0)
  485. close.Position = UDim2.new(0.92929244, 0, 0, 0)
  486. close.Size = UDim2.new(0, 24, 0, 24)
  487. close.Font = Enum.Font.SourceSans
  488. close.Text = "X"
  489. close.TextColor3 = Color3.fromRGB(255, 255, 255)
  490. close.TextScaled = true
  491. close.TextSize = 14.000
  492. close.TextWrapped = true
  493. close.MouseButton1Click:Connect(function()
  494. main.Visible = false
  495. open.Visible = true
  496. end)
  497.  
  498. fly.Name = "fly"
  499. fly.Parent = main
  500. fly.BackgroundColor3 = Color3.fromRGB(170, 170, 255)
  501. fly.Position = UDim2.new(0.587348342, 0, 0.817121804, 0)
  502. fly.Size = UDim2.new(0, 119, 0, 42)
  503. fly.Font = Enum.Font.SourceSans
  504. fly.Text = "Fly"
  505. fly.TextColor3 = Color3.fromRGB(0, 0, 0)
  506. fly.TextScaled = true
  507. fly.TextSize = 14.000
  508. fly.TextWrapped = true
  509. fly.MouseButton1Click:Connect(function()
  510. repeat wait()
  511. until game.Players.LocalPlayer and game.Players.LocalPlayer.Character and game.Players.LocalPlayer.Character:findFirstChild("Head") and game.Players.LocalPlayer.Character:findFirstChild("Humanoid")
  512. local mouse = game.Players.LocalPlayer:GetMouse()
  513. repeat wait() until mouse
  514. local plr = game.Players.LocalPlayer
  515. local torso = plr.Character.Head
  516. local flying = false
  517. local deb = true
  518. local ctrl = {f = 0, b = 0, l = 0, r = 0}
  519. local lastctrl = {f = 0, b = 0, l = 0, r = 0}
  520. local maxspeed = 400
  521. local speed = 5000
  522.  
  523. function Fly()
  524. local bg = Instance.new("BodyGyro", torso)
  525. bg.P = 9e4
  526. bg.maxTorque = Vector3.new(9e9, 9e9, 9e9)
  527. bg.cframe = torso.CFrame
  528. local bv = Instance.new("BodyVelocity", torso)
  529. bv.velocity = Vector3.new(0,0.1,0)
  530. bv.maxForce = Vector3.new(9e9, 9e9, 9e9)
  531. repeat wait()
  532. plr.Character.Humanoid.PlatformStand = true
  533. if ctrl.l + ctrl.r ~= 0 or ctrl.f + ctrl.b ~= 0 then
  534. speed = speed+.5+(speed/maxspeed)
  535. if speed > maxspeed then
  536. speed = maxspeed
  537. end
  538. elseif not (ctrl.l + ctrl.r ~= 0 or ctrl.f + ctrl.b ~= 0) and speed ~= 0 then
  539. speed = speed-1
  540. if speed < 0 then
  541. speed = 0
  542. end
  543. end
  544. if (ctrl.l + ctrl.r) ~= 0 or (ctrl.f + ctrl.b) ~= 0 then
  545. 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
  546. lastctrl = {f = ctrl.f, b = ctrl.b, l = ctrl.l, r = ctrl.r}
  547. elseif (ctrl.l + ctrl.r) == 0 and (ctrl.f + ctrl.b) == 0 and speed ~= 0 then
  548. 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
  549. else
  550. bv.velocity = Vector3.new(0,0.1,0)
  551. end
  552. bg.cframe = game.Workspace.CurrentCamera.CoordinateFrame * CFrame.Angles(-math.rad((ctrl.f+ctrl.b)*50*speed/maxspeed),0,0)
  553. until not flying
  554. ctrl = {f = 0, b = 0, l = 0, r = 0}
  555. lastctrl = {f = 0, b = 0, l = 0, r = 0}
  556. speed = 0
  557. bg:Destroy()
  558. bv:Destroy()
  559. plr.Character.Humanoid.PlatformStand = false
  560. end
  561. mouse.KeyDown:connect(function(key)
  562. if key:lower() == "f" then
  563. if flying then flying = false
  564. else
  565. flying = true
  566. Fly()
  567. end
  568. elseif key:lower() == "w" then
  569. ctrl.f = 1
  570. elseif key:lower() == "s" then
  571. ctrl.b = -1
  572. elseif key:lower() == "a" then
  573. ctrl.l = -1
  574. elseif key:lower() == "d" then
  575. ctrl.r = 1
  576. end
  577. end)
  578. mouse.KeyUp:connect(function(key)
  579. if key:lower() == "w" then
  580. ctrl.f = 0
  581. elseif key:lower() == "s" then
  582. ctrl.b = 0
  583. elseif key:lower() == "a" then
  584. ctrl.l = 0
  585. elseif key:lower() == "d" then
  586. ctrl.r = 0
  587. end
  588. end)
  589. Fly()
  590. fly.Text = "Loaded!"
  591. fly.TextColor3 = Color3.fromRGB(0, 255, 50)
  592. wait(2)
  593. fly.TextColor3 = Color3.fromRGB(0, 0, 0)
  594. fly.Text = "Fly"
  595. end)
  596.  
  597. open.Name = "open"
  598. open.Parent = GUI
  599. open.BackgroundColor3 = Color3.fromRGB(0, 0, 255)
  600. open.Position = UDim2.new(0, 0, 0.609974444, 0)
  601. open.Size = UDim2.new(0, 70, 0, 18)
  602. open.Visible = false
  603. open.Font = Enum.Font.SourceSans
  604. open.Text = "Open"
  605. open.TextColor3 = Color3.fromRGB(0, 255, 255)
  606. open.TextSize = 14.000
  607. open.MouseButton1Click:Connect(function()
  608. main.Visible = true
  609. open.Visible = false
  610. end)
Add Comment
Please, Sign In to add comment