igstfjit

Vfly

Oct 3rd, 2025
59
0
Never
Not a member of Pastebin yet? Sign Up, it unlocks many cool features!
Lua 8.89 KB | None | 0 0
  1. -- Gui to Lua
  2. -- Version: 3.2
  3.  
  4. local Flymguiv2 = Instance.new("ScreenGui")
  5. local Drag = Instance.new("Frame")
  6. local FlyFrame = Instance.new("Frame")
  7. local ddnsfbfwewefe = Instance.new("TextButton")
  8. local Speed = Instance.new("TextBox")
  9. local Fly = Instance.new("TextButton")
  10. local Speeed = Instance.new("TextLabel")
  11. local Stat = Instance.new("TextLabel")
  12. local Stat2 = Instance.new("TextLabel")
  13. local Unfly = Instance.new("TextButton")
  14. local Vfly = Instance.new("TextLabel")
  15. local Close = Instance.new("TextButton")
  16. local Minimize = Instance.new("TextButton")
  17. local Flyon = Instance.new("Frame")
  18. local W = Instance.new("TextButton")
  19. local S = Instance.new("TextButton")
  20.  
  21. Flymguiv2.Name = "Flym gui v2"
  22. Flymguiv2.Parent = game.CoreGui
  23. Flymguiv2.ZIndexBehavior = Enum.ZIndexBehavior.Sibling
  24.  
  25. Drag.Name = "Drag"
  26. Drag.Parent = Flymguiv2
  27. Drag.Active = true
  28. Drag.BackgroundColor3 = Color3.fromRGB(0, 150, 191)
  29. Drag.BorderSizePixel = 0
  30. Drag.Draggable = true
  31. Drag.Position = UDim2.new(0.482438415, 0, 0.454874992, 0)
  32. Drag.Size = UDim2.new(0, 237, 0, 27)
  33.  
  34. FlyFrame.Name = "FlyFrame"
  35. FlyFrame.Parent = Drag
  36. FlyFrame.BackgroundColor3 = Color3.fromRGB(80, 80, 80)
  37. FlyFrame.BorderSizePixel = 0
  38. FlyFrame.Position = UDim2.new(-0.00200000009, 0, 0.989000022, 0)
  39. FlyFrame.Size = UDim2.new(0, 237, 0, 139)
  40.  
  41. ddnsfbfwewefe.Name = "ddnsfbfwewefe"
  42. ddnsfbfwewefe.Parent = FlyFrame
  43. ddnsfbfwewefe.BackgroundColor3 = Color3.fromRGB(0, 150, 191)
  44. ddnsfbfwewefe.BorderSizePixel = 0
  45. ddnsfbfwewefe.Position = UDim2.new(-0.000210968778, 0, -0.00395679474, 0)
  46. ddnsfbfwewefe.Size = UDim2.new(0, 237, 0, 27)
  47. ddnsfbfwewefe.Font = Enum.Font.SourceSans
  48. ddnsfbfwewefe.Text = "Script made by WarriorRoberr"
  49. ddnsfbfwewefe.TextColor3 = Color3.fromRGB(255, 255, 255)
  50. ddnsfbfwewefe.TextScaled = true
  51. ddnsfbfwewefe.TextSize = 14.000
  52. ddnsfbfwewefe.TextWrapped = true
  53.  
  54. Speed.Name = "Speed"
  55. Speed.Parent = FlyFrame
  56. Speed.BackgroundColor3 = Color3.fromRGB(63, 63, 63)
  57. Speed.BorderSizePixel = 0
  58. Speed.Position = UDim2.new(0.445025861, 0, 0.402877688, 0)
  59. Speed.Size = UDim2.new(0, 111, 0, 33)
  60. Speed.Font = Enum.Font.SourceSans
  61. Speed.PlaceholderColor3 = Color3.fromRGB(255, 255, 255)
  62. Speed.Text = "50"
  63. Speed.TextColor3 = Color3.fromRGB(255, 255, 255)
  64. Speed.TextScaled = true
  65. Speed.TextSize = 14.000
  66. Speed.TextWrapped = true
  67.  
  68. Speeed.Name = "Speeed"
  69. Speeed.Parent = FlyFrame
  70. Speeed.BackgroundColor3 = Color3.fromRGB(80, 80, 80)
  71. Speeed.BorderSizePixel = 0
  72. Speeed.Position = UDim2.new(0.0759493634, 0, 0.402877688, 0)
  73. Speeed.Size = UDim2.new(0, 87, 0, 32)
  74. Speeed.Font = Enum.Font.SourceSans
  75. Speeed.Text = "Speed:"
  76. Speeed.TextColor3 = Color3.fromRGB(255, 255, 255)
  77. Speeed.TextScaled = true
  78. Speeed.TextSize = 14.000
  79. Speeed.TextWrapped = true
  80.  
  81. Stat.Name = "Stat"
  82. Stat.Parent = FlyFrame
  83. Stat.BackgroundColor3 = Color3.fromRGB(80, 80, 80)
  84. Stat.BorderSizePixel = 0
  85. Stat.Position = UDim2.new(0.299983799, 0, 0.239817441, 0)
  86. Stat.Size = UDim2.new(0, 85, 0, 15)
  87. Stat.Font = Enum.Font.SourceSans
  88. Stat.Text = "Status:"
  89. Stat.TextColor3 = Color3.fromRGB(255, 255, 255)
  90. Stat.TextScaled = true
  91. Stat.TextSize = 14.000
  92. Stat.TextWrapped = true
  93.  
  94. Stat2.Name = "Stat2"
  95. Stat2.Parent = FlyFrame
  96. Stat2.BackgroundColor3 = Color3.fromRGB(80, 80, 80)
  97. Stat2.BorderSizePixel = 0
  98. Stat2.Position = UDim2.new(0.546535194, 0, 0.239817441, 0)
  99. Stat2.Size = UDim2.new(0, 27, 0, 15)
  100. Stat2.Font = Enum.Font.SourceSans
  101. Stat2.Text = "Off"
  102. Stat2.TextColor3 = Color3.fromRGB(255, 0, 0)
  103. Stat2.TextScaled = true
  104. Stat2.TextSize = 14.000
  105. Stat2.TextWrapped = true
  106.  
  107. Fly.Name = "Fly"
  108. Fly.Parent = FlyFrame
  109. Fly.BackgroundColor3 = Color3.fromRGB(0, 150, 191)
  110. Fly.BorderSizePixel = 0
  111. Fly.Position = UDim2.new(0.0759493634, 0, 0.705797076, 0)
  112. Fly.Size = UDim2.new(0, 199, 0, 32)
  113. Fly.Font = Enum.Font.SourceSans
  114. Fly.Text = "Enable"
  115. Fly.TextColor3 = Color3.fromRGB(255, 255, 255)
  116. Fly.TextScaled = true
  117. Fly.TextSize = 14.000
  118. Fly.TextWrapped = true
  119.  
  120. Unfly.Name = "Unfly"
  121. Unfly.Parent = FlyFrame
  122. Unfly.BackgroundColor3 = Color3.fromRGB(0, 150, 191)
  123. Unfly.BorderSizePixel = 0
  124. Unfly.Position = UDim2.new(0.0759493634, 0, 0.705797076, 0)
  125. Unfly.Size = UDim2.new(0, 199, 0, 32)
  126. Unfly.Visible = false
  127. Unfly.Font = Enum.Font.SourceSans
  128. Unfly.Text = "Disable"
  129. Unfly.TextColor3 = Color3.fromRGB(255, 255, 255)
  130. Unfly.TextScaled = true
  131. Unfly.TextSize = 14.000
  132. Unfly.TextWrapped = true
  133.  
  134. Vfly.Name = "Vfly"
  135. Vfly.Parent = Drag
  136. Vfly.BackgroundColor3 = Color3.fromRGB(0, 150, 191)
  137. Vfly.BorderSizePixel = 0
  138. Vfly.Size = UDim2.new(0, 57, 0, 27)
  139. Vfly.Font = Enum.Font.SourceSans
  140. Vfly.Text = "Vfly"
  141. Vfly.TextColor3 = Color3.fromRGB(255, 255, 255)
  142. Vfly.TextScaled = true
  143. Vfly.TextSize = 14.000
  144. Vfly.TextWrapped = true
  145.  
  146. Close.Name = "Close"
  147. Close.Parent = Drag
  148. Close.BackgroundColor3 = Color3.fromRGB(0, 150, 191)
  149. Close.BorderSizePixel = 0
  150. Close.Position = UDim2.new(0.875, 0, 0, 0)
  151. Close.Size = UDim2.new(0, 27, 0, 27)
  152. Close.Font = Enum.Font.SourceSans
  153. Close.Text = "X"
  154. Close.TextColor3 = Color3.fromRGB(255, 255, 255)
  155. Close.TextScaled = true
  156. Close.TextSize = 14.000
  157. Close.TextWrapped = true
  158.  
  159. Minimize.Name = "Minimize"
  160. Minimize.Parent = Drag
  161. Minimize.BackgroundColor3 = Color3.fromRGB(0, 150, 191)
  162. Minimize.BorderSizePixel = 0
  163. Minimize.Position = UDim2.new(0.75, 0, 0, 0)
  164. Minimize.Size = UDim2.new(0, 27, 0, 27)
  165. Minimize.Font = Enum.Font.SourceSans
  166. Minimize.Text = "-"
  167. Minimize.TextColor3 = Color3.fromRGB(255, 255, 255)
  168. Minimize.TextScaled = true
  169. Minimize.TextSize = 14.000
  170. Minimize.TextWrapped = true
  171.  
  172. Flyon.Name = "Fly on"
  173. Flyon.Parent = Flymguiv2
  174. Flyon.BackgroundColor3 = Color3.fromRGB(0, 0, 0)
  175. Flyon.BorderSizePixel = 0
  176. Flyon.Position = UDim2.new(0.117647067, 0, 0.550284624, 0)
  177. Flyon.Size = UDim2.new(0.148000002, 0, 0.314999998, 0)
  178. Flyon.Visible = false
  179. Flyon.Active = true
  180. Flyon.Draggable = true
  181.  
  182. W.Name = "W"
  183. W.Parent = Flyon
  184. W.BackgroundColor3 = Color3.fromRGB(0, 150, 191)
  185. W.BorderSizePixel = 0
  186. W.Position = UDim2.new(0.134719521, 0, 0.0152013302, 0)
  187. W.Size = UDim2.new(0.708999991, 0, 0.499000013, 0)
  188. W.Font = Enum.Font.SourceSans
  189. W.Text = "^"
  190. W.TextColor3 = Color3.fromRGB(255, 255, 255)
  191. W.TextScaled = true
  192. W.TextSize = 14.000
  193. W.TextWrapped = true
  194.  
  195. S.Name = "S"
  196. S.Parent = Flyon
  197. S.BackgroundColor3 = Color3.fromRGB(0, 150, 191)
  198. S.BorderSizePixel = 0
  199. S.Position = UDim2.new(0.134000003, 0, 0.479999989, 0)
  200. S.Rotation = 180.000
  201. S.Size = UDim2.new(0.708999991, 0, 0.499000013, 0)
  202. S.Font = Enum.Font.SourceSans
  203. S.Text = "^"
  204. S.TextColor3 = Color3.fromRGB(255, 255, 255)
  205. S.TextScaled = true
  206. S.TextSize = 14.000
  207. S.TextWrapped = true
  208.  
  209. local isWDown = false
  210. local isSDown = false
  211.  
  212. Fly.MouseButton1Click:Connect(function()
  213.     local HumanoidRP = game.Players.LocalPlayer.Character.HumanoidRootPart
  214.     Fly.Visible = false
  215.     Stat2.Text = "On"
  216.     Stat2.TextColor3 = Color3.fromRGB(0, 255, 0)
  217.     Unfly.Visible = true
  218.     Flyon.Visible = true
  219.     local BV = Instance.new("BodyVelocity",HumanoidRP)
  220.     local BG = Instance.new("BodyGyro",HumanoidRP)
  221.     BV.MaxForce = Vector3.new(math.huge,math.huge,math.huge)
  222.     BV.Velocity = Vector3.new(0, 0, 0)
  223.     game:GetService('RunService').RenderStepped:connect(function()
  224.         BG.MaxTorque = Vector3.new(math.huge,math.huge,math.huge)
  225.         BG.D = 5000
  226.         BG.P = 100000
  227.         BG.CFrame = game.Workspace.CurrentCamera.CFrame
  228.     end)
  229. end)
  230.  
  231. Unfly.MouseButton1Click:Connect(function()
  232.     local HumanoidRP = game.Players.LocalPlayer.Character.HumanoidRootPart
  233.     Fly.Visible = true
  234.     Stat2.Text = "Off"
  235.     Stat2.TextColor3 = Color3.fromRGB(255, 0, 0)
  236.     Unfly.Visible = false
  237.     Flyon.Visible = false
  238.     HumanoidRP:FindFirstChildOfClass("BodyVelocity"):Destroy()
  239.     HumanoidRP:FindFirstChildOfClass("BodyGyro"):Destroy()
  240. end)
  241.  
  242. W.MouseButton1Down:Connect(function()
  243.     isWDown = true
  244.     local HumanoidRP = game.Players.LocalPlayer.Character.HumanoidRootPart
  245.     while isWDown do
  246.         HumanoidRP.BodyVelocity.Velocity = game.Workspace.CurrentCamera.CFrame.LookVector * Speed.Text
  247.         wait()
  248.     end
  249. end)
  250.  
  251. W.MouseButton1Up:Connect(function()
  252.     isWDown = false
  253.     local HumanoidRP = game.Players.LocalPlayer.Character.HumanoidRootPart
  254.     HumanoidRP.BodyVelocity.Velocity = Vector3.new(0, 0, 0)
  255. end)
  256.  
  257. S.MouseButton1Down:Connect(function()
  258.     isSDown = true
  259.     local HumanoidRP = game.Players.LocalPlayer.Character.HumanoidRootPart
  260.     while isSDown do
  261.         HumanoidRP.BodyVelocity.Velocity = game.Workspace.CurrentCamera.CFrame.LookVector * -Speed.Text
  262.         wait()
  263.     end
  264. end)
  265.  
  266. S.MouseButton1Up:Connect(function()
  267.     isSDown = false
  268.     local HumanoidRP = game.Players.LocalPlayer.Character.HumanoidRootPart
  269.     HumanoidRP.BodyVelocity.Velocity = Vector3.new(0, 0, 0)
  270. end)
  271.  
  272. Close.MouseButton1Click:Connect(function()
  273.     Flymguiv2:Destroy()
  274. end)
  275.  
  276. Minimize.MouseButton1Click:Connect(function()
  277.     if Minimize.Text == "-" then
  278.         Minimize.Text = "+"
  279.         FlyFrame.Visible = false
  280.     else
  281.         Minimize.Text = "-"
  282.         FlyFrame.Visible = true
  283.     end
  284. end)
Advertisement
Add Comment
Please, Sign In to add comment