roblox_roblox1098

Untitled

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