Advertisement
FFFadal

Air swim script roblox

Aug 3rd, 2024
755
0
Never
Not a member of Pastebin yet? Sign Up, it unlocks many cool features!
text 8.82 KB | Gaming | 0 0
  1. -- Gui to Lua
  2.  
  3. -- Version: 3.2
  4.  
  5. local speaker = game.Players.LocalPlayer
  6.  
  7. -- Instances:
  8.  
  9. local Flymguiv2 = Instance.new("ScreenGui")
  10.  
  11. local FlyFrame = Instance.new("Frame")
  12.  
  13. local ddnsfbfwewefe = Instance.new("TextButton")
  14.  
  15. local Speed = Instance.new("TextBox")
  16.  
  17. local Close = Instance.new("TextButton")
  18.  
  19. local Speeed = Instance.new("TextLabel")
  20.  
  21. local Stat = Instance.new("TextLabel")
  22.  
  23. local Stat2 = Instance.new("TextLabel")
  24.  
  25. local Unfly = Instance.new("TextButton")
  26.  
  27. local Fly = Instance.new("TextButton")
  28.  
  29. local Laballll = Instance.new("TextButton")
  30.  
  31. local Laballll2 = Instance.new("TextButton")
  32.  
  33. --Properties:
  34.  
  35. Flymguiv2.Name = "Flym gui v2"
  36.  
  37. Flymguiv2.Parent = game.CoreGui
  38.  
  39. Flymguiv2.ZIndexBehavior = Enum.ZIndexBehavior.Sibling
  40.  
  41. FlyFrame.Name = "FlyFrame"
  42.  
  43. FlyFrame.Parent = Flymguiv2
  44.  
  45. FlyFrame.BackgroundColor3 = Color3.fromRGB(80, 80, 80)
  46.  
  47. FlyFrame.BorderSizePixel = 0
  48.  
  49. FlyFrame.Draggable = true
  50.  
  51. FlyFrame.Position = UDim2.new(0.473242491, 0, 0.544645488, 0)
  52.  
  53. FlyFrame.Size = UDim2.new(0, 237, 0, 139)
  54.  
  55. FlyFrame.Active = true
  56.  
  57. ddnsfbfwewefe.Name = "ddnsfbfwewefe"
  58.  
  59. ddnsfbfwewefe.Parent = FlyFrame
  60.  
  61. ddnsfbfwewefe.BackgroundColor3 = Color3.fromRGB(0, 0, 191)
  62.  
  63. ddnsfbfwewefe.BorderSizePixel = 0
  64.  
  65. ddnsfbfwewefe.Position = UDim2.new(-0.000210968778, 0, -0.00395679474, 0)
  66.  
  67. ddnsfbfwewefe.Size = UDim2.new(0, 237, 0, 27)
  68.  
  69. ddnsfbfwewefe.Font = Enum.Font.SourceSans
  70.  
  71. ddnsfbfwewefe.Text = "Script made by WarriorRoberr"
  72.  
  73. ddnsfbfwewefe.TextColor3 = Color3.fromRGB(25, 253, 0)
  74.  
  75. ddnsfbfwewefe.TextScaled = true
  76.  
  77. ddnsfbfwewefe.TextSize = 14.000
  78.  
  79. ddnsfbfwewefe.TextWrapped = true
  80.  
  81. Speed.Name = "Speed"
  82.  
  83. Speed.Parent = FlyFrame
  84.  
  85. Speed.BackgroundColor3 = Color3.fromRGB(80, 80, 80)
  86.  
  87. Speed.BorderColor3 = Color3.fromRGB(0, 0, 191)
  88.  
  89. Speed.Position = UDim2.new(0.445025861, 0, 0.402877688, 0)
  90.  
  91. Speed.Size = UDim2.new(0, 111, 0, 33)
  92.  
  93. Speed.Font = Enum.Font.SourceSans
  94.  
  95. Speed.PlaceholderColor3 = Color3.fromRGB(255, 255, 255)
  96.  
  97. Speed.Text = "16"
  98.  
  99. Speed.TextColor3 = Color3.fromRGB(255, 255, 255)
  100.  
  101. Speed.TextScaled = true
  102.  
  103. Speed.TextSize = 14.000
  104.  
  105. Speed.TextWrapped = true
  106.  
  107. Speeed.Name = "Speeed"
  108.  
  109. Speeed.Parent = FlyFrame
  110.  
  111. Speeed.BackgroundColor3 = Color3.fromRGB(80, 80, 80)
  112.  
  113. Speeed.BorderSizePixel = 0
  114.  
  115. Speeed.Position = UDim2.new(0.0759493634, 0, 0.402877688, 0)
  116.  
  117. Speeed.Size = UDim2.new(0, 87, 0, 32)
  118.  
  119. Speeed.ZIndex = 0
  120.  
  121. Speeed.Font = Enum.Font.SourceSans
  122.  
  123. Speeed.Text = "Speed:"
  124.  
  125. Speeed.TextColor3 = Color3.fromRGB(255, 255, 255)
  126.  
  127. Speeed.TextScaled = true
  128.  
  129. Speeed.TextSize = 14.000
  130.  
  131. Speeed.TextWrapped = true
  132.  
  133. Stat.Name = "Stat"
  134.  
  135. Stat.Parent = FlyFrame
  136.  
  137. Stat.BackgroundColor3 = Color3.fromRGB(80, 80, 80)
  138.  
  139. Stat.BorderSizePixel = 0
  140.  
  141. Stat.Position = UDim2.new(0.299983799, 0, 0.239817441, 0)
  142.  
  143. Stat.Size = UDim2.new(0, 85, 0, 15)
  144.  
  145. Stat.Font = Enum.Font.SourceSans
  146.  
  147. Stat.Text = "Status:"
  148.  
  149. Stat.TextColor3 = Color3.fromRGB(255, 255, 255)
  150.  
  151. Stat.TextScaled = true
  152.  
  153. Stat.TextSize = 14.000
  154.  
  155. Stat.TextWrapped = true
  156.  
  157. Stat2.Name = "Stat2"
  158.  
  159. Stat2.Parent = FlyFrame
  160.  
  161. Stat2.BackgroundColor3 = Color3.fromRGB(80, 80, 80)
  162.  
  163. Stat2.BorderSizePixel = 0
  164.  
  165. Stat2.Position = UDim2.new(0.546535194, 0, 0.239817441, 0)
  166.  
  167. Stat2.Size = UDim2.new(0, 27, 0, 15)
  168.  
  169. Stat2.Font = Enum.Font.SourceSans
  170.  
  171. Stat2.Text = "Off"
  172.  
  173. Stat2.TextColor3 = Color3.fromRGB(255, 0, 0)
  174.  
  175. Stat2.TextScaled = true
  176.  
  177. Stat2.TextSize = 14.000
  178.  
  179. Stat2.TextWrapped = true
  180.  
  181. Close.Name = "Close"
  182.  
  183. Close.Parent = FlyFrame
  184.  
  185. Close.BackgroundColor3 = Color3.fromRGB(0, 0, 191)
  186.  
  187. Close.Position = UDim2.new(0.872971296, 0, -0.198201343, 0)
  188.  
  189. Close.Size = UDim2.new(0, 30, 0, 26)
  190.  
  191. Close.Font = Enum.Font.SourceSans
  192.  
  193. Close.Text = "X"
  194.  
  195. Close.TextColor3 = Color3.fromRGB(0, 0, 0)
  196.  
  197. Close.TextScaled = true
  198.  
  199. Close.TextSize = 14.000
  200.  
  201. Close.TextWrapped = true
  202.  
  203. function CLosee()
  204.  
  205. Flymguiv2:Destroy()
  206.  
  207. end
  208.  
  209. Close.MouseButton1Click:Connect(CLosee)
  210.  
  211. Laballll.Name = "Laballll"
  212.  
  213. Laballll.Parent = FlyFrame
  214.  
  215. Laballll.BackgroundColor3 = Color3.fromRGB(0, 0, 191)
  216.  
  217. Laballll.BorderSizePixel = 0
  218.  
  219. Laballll.Position = UDim2.new(-0.000210944563, 0, -0.205395609, 0)
  220.  
  221. Laballll.Size = UDim2.new(0, 78, 0, 27)
  222.  
  223. Laballll.Font = Enum.Font.SourceSans
  224.  
  225. Laballll.Text = "Swim"
  226.  
  227. Laballll.TextColor3 = Color3.fromRGB(25, 253, 0)
  228.  
  229. Laballll.TextScaled = true
  230.  
  231. Laballll.TextSize = 14.000
  232.  
  233. Laballll.TextWrapped = true
  234.  
  235. Laballll2.Name = "Laballll2"
  236.  
  237. Laballll2.Parent = FlyFrame
  238.  
  239. Laballll2.BackgroundColor3 = Color3.fromRGB(0, 0, 191)
  240.  
  241. Laballll2.BorderSizePixel = 0
  242.  
  243. Laballll2.Position = UDim2.new(0.333122402, 0, -0.205395594, 0)
  244.  
  245. Laballll2.Size = UDim2.new(0, 128, 0, 27)
  246.  
  247. Laballll2.Font = Enum.Font.SourceSans
  248.  
  249. Laballll2.Text = ""
  250.  
  251. Laballll2.TextColor3 = Color3.fromRGB(25, 253, 0)
  252.  
  253. Laballll2.TextScaled = true
  254.  
  255. Laballll2.TextSize = 14.000
  256.  
  257. Laballll2.TextWrapped = true
  258.  
  259. Unfly.Name = "Unfly"
  260.  
  261. Unfly.Parent = FlyFrame
  262.  
  263. Unfly.BackgroundColor3 = Color3.fromRGB(0, 0, 191)
  264.  
  265. Unfly.BorderSizePixel = 0
  266.  
  267. Unfly.Position = UDim2.new(0.0759493634, 0, 0.705797076, 0)
  268.  
  269. Unfly.Size = UDim2.new(0, 199, 0, 32)
  270.  
  271. Unfly.Visible = false
  272.  
  273. Unfly.Font = Enum.Font.SourceSans
  274.  
  275. Unfly.Text = "Disable"
  276.  
  277. Unfly.TextColor3 = Color3.fromRGB(255, 255, 255)
  278.  
  279. Unfly.TextScaled = true
  280.  
  281. Unfly.TextSize = 14.000
  282.  
  283. Unfly.TextWrapped = true
  284.  
  285. Unfly.MouseButton1Click:Connect(function()
  286.  
  287. Workspace.Gravity = 168
  288.  
  289. speaker.Character.Humanoid:SetStateEnabled(Enum.HumanoidStateType.Climbing,true)
  290.  
  291. speaker.Character.Humanoid:SetStateEnabled(Enum.HumanoidStateType.FallingDown,true)
  292.  
  293. speaker.Character.Humanoid:SetStateEnabled(Enum.HumanoidStateType.Flying,true)
  294.  
  295. speaker.Character.Humanoid:SetStateEnabled(Enum.HumanoidStateType.Freefall,true)
  296.  
  297. speaker.Character.Humanoid:SetStateEnabled(Enum.HumanoidStateType.GettingUp,true)
  298.  
  299. speaker.Character.Humanoid:SetStateEnabled(Enum.HumanoidStateType.Jumping,true)
  300.  
  301. speaker.Character.Humanoid:SetStateEnabled(Enum.HumanoidStateType.Landed,true)
  302.  
  303. speaker.Character.Humanoid:SetStateEnabled(Enum.HumanoidStateType.Physics,true)
  304.  
  305. speaker.Character.Humanoid:SetStateEnabled(Enum.HumanoidStateType.PlatformStanding,true)
  306.  
  307. speaker.Character.Humanoid:SetStateEnabled(Enum.HumanoidStateType.Ragdoll,true)
  308.  
  309. speaker.Character.Humanoid:SetStateEnabled(Enum.HumanoidStateType.Running,true)
  310.  
  311. speaker.Character.Humanoid:SetStateEnabled(Enum.HumanoidStateType.RunningNoPhysics,true)
  312.  
  313. speaker.Character.Humanoid:SetStateEnabled(Enum.HumanoidStateType.Seated,true)
  314.  
  315. speaker.Character.Humanoid:SetStateEnabled(Enum.HumanoidStateType.StrafingNoPhysics,true)
  316.  
  317. speaker.Character.Humanoid:SetStateEnabled(Enum.HumanoidStateType.Swimming,true)
  318.  
  319. speaker.Character.Humanoid:ChangeState(Enum.HumanoidStateType.RunningNoPhysics)
  320.  
  321. game.Players.LocalPlayer.Character.Humanoid.WalkSpeed = 16
  322.  
  323. Unfly.Visible = false
  324.  
  325. Fly.Visible = true
  326.  
  327. Stat2.Text = "Off"
  328.  
  329. Stat2.TextColor3 = Color3.fromRGB(255, 0, 0)
  330.  
  331. end)
  332.  
  333. Fly.Name = "Fly"
  334.  
  335. Fly.Parent = FlyFrame
  336.  
  337. Fly.BackgroundColor3 = Color3.fromRGB(0, 0, 191)
  338.  
  339. Fly.BorderSizePixel = 0
  340.  
  341. Fly.Position = UDim2.new(0.0759493634, 0, 0.705797076, 0)
  342.  
  343. Fly.Size = UDim2.new(0, 199, 0, 32)
  344.  
  345. Fly.Font = Enum.Font.SourceSans
  346.  
  347. Fly.Text = "Enable"
  348.  
  349. Fly.TextColor3 = Color3.fromRGB(255, 255, 255)
  350.  
  351. Fly.TextScaled = true
  352.  
  353. Fly.TextSize = 14.000
  354.  
  355. Fly.TextWrapped = true
  356.  
  357. Fly.MouseButton1Click:Connect(function()
  358.  
  359. Workspace.Gravity = 0
  360.  
  361. speaker.Character.Humanoid:SetStateEnabled(Enum.HumanoidStateType.Climbing,false)
  362.  
  363. speaker.Character.Humanoid:SetStateEnabled(Enum.HumanoidStateType.FallingDown,false)
  364.  
  365. speaker.Character.Humanoid:SetStateEnabled(Enum.HumanoidStateType.Flying,false)
  366.  
  367. speaker.Character.Humanoid:SetStateEnabled(Enum.HumanoidStateType.Freefall,false)
  368.  
  369. speaker.Character.Humanoid:SetStateEnabled(Enum.HumanoidStateType.GettingUp,false)
  370.  
  371. speaker.Character.Humanoid:SetStateEnabled(Enum.HumanoidStateType.Jumping,false)
  372.  
  373. speaker.Character.Humanoid:SetStateEnabled(Enum.HumanoidStateType.Landed,false)
  374.  
  375. speaker.Character.Humanoid:SetStateEnabled(Enum.HumanoidStateType.Physics,false)
  376.  
  377. speaker.Character.Humanoid:SetStateEnabled(Enum.HumanoidStateType.PlatformStanding,false)
  378.  
  379. speaker.Character.Humanoid:SetStateEnabled(Enum.HumanoidStateType.Ragdoll,false)
  380.  
  381. speaker.Character.Humanoid:SetStateEnabled(Enum.HumanoidStateType.Running,false)
  382.  
  383. speaker.Character.Humanoid:SetStateEnabled(Enum.HumanoidStateType.RunningNoPhysics,false)
  384.  
  385. speaker.Character.Humanoid:SetStateEnabled(Enum.HumanoidStateType.Seated,false)
  386.  
  387. speaker.Character.Humanoid:SetStateEnabled(Enum.HumanoidStateType.StrafingNoPhysics,false)
  388.  
  389. speaker.Character.Humanoid:SetStateEnabled(Enum.HumanoidStateType.Swimming,false)
  390.  
  391. speaker.Character.Humanoid:ChangeState(Enum.HumanoidStateType.Swimming)
  392.  
  393. game.Players.LocalPlayer.Character.Humanoid.WalkSpeed = Speed.Text
  394.  
  395. Fly.Visible = false
  396.  
  397. Unfly.Visible = true
  398.  
  399. Stat2.Text = "On"
  400.  
  401. Stat2.TextColor3 = Color3.fromRGB(0, 255, 0)
  402.  
  403. end)
Advertisement
Add Comment
Please, Sign In to add comment
Advertisement