1. local Rayfield = loadstring(game:HttpGet('https://sirius.menu/rayfield'))()
  2.  
  3. local Window = Rayfield:CreateWindow({
  4. Name = "CoolStudios",
  5. Theme = "Amethyst",
  6. ToggleUIKeybind = "K",
  7.  
  8. ConfigurationSaving = {
  9. Enabled = true,
  10. FileName = "CoolStudios Hub"
  11. },
  12.  
  13. KeySystem = true,
  14. KeySettings = {
  15. Title = "CoolStudio's",
  16. Subtitle = "Key System",
  17. Note = "The Key is CoolStudios",
  18. FileName = "Keyo",
  19. SaveKey = true,
  20. Key = {"CoolStudios"}
  21. }
  22. })
  23.  
  24. local Tab = Window:CreateTab("Movement", 11767039004)
  25.  
  26. -- SERVICES
  27. local Players = game:GetService("Players")
  28. local UIS = game:GetService("UserInputService")
  29. local RunService = game:GetService("RunService")
  30.  
  31. local lp = Players.LocalPlayer
  32.  
  33. -- STATES
  34. local flying = false
  35. local noclip = false
  36. local infJump = false
  37.  
  38. local flySpeed = 60
  39. local smoothSpeed = 0
  40.  
  41. -- CHARACTER
  42. local function char()
  43. return lp.Character or lp.CharacterAdded:Wait()
  44. end
  45.  
  46. local function hum()
  47. return char():WaitForChild("Humanoid")
  48. end
  49.  
  50. local function root()
  51. return char():WaitForChild("HumanoidRootPart")
  52. end
  53.  
  54. -- 💜 UI SECTIONS (FULL)
  55. Tab:CreateLabel("══════ Movement Hub ══════", 11767039004, Color3.fromRGB(98, 37, 209), false)
  56. Tab:CreateLabel("══════ Fly System ══════", 11767039004, Color3.fromRGB(98, 37, 209), false)
  57.  
  58. -- FLY SPEED
  59. Tab:CreateSlider({
  60. Name = "Fly Speed",
  61. Range = {50, 2000},
  62. Increment = 10,
  63. CurrentValue = 60,
  64. Callback = function(v)
  65. flySpeed = v
  66. end,
  67. })
  68.  
  69. -- FLY TOGGLE (SIMPLE STABLE BASE)
  70. Tab:CreateToggle({
  71. Name = "Fly",
  72. CurrentValue = false,
  73. Callback = function(state)
  74. flying = state
  75.  
  76. local h = hum()
  77. local r = root()
  78.  
  79. if flying then
  80. h:ChangeState(Enum.HumanoidStateType.Physics)
  81.  
  82. local att = Instance.new("Attachment", r)
  83.  
  84. local lv = Instance.new("LinearVelocity")
  85. lv.Attachment0 = att
  86. lv.MaxForce = math.huge
  87. lv.RelativeTo = Enum.ActuatorRelativeTo.World
  88. lv.Parent = r
  89.  
  90. task.spawn(function()
  91. while flying and lv.Parent do
  92. local cam = workspace.CurrentCamera
  93. local dir = Vector3.zero
  94.  
  95. if UIS:IsKeyDown(Enum.KeyCode.W) then dir += cam.CFrame.LookVector end
  96. if UIS:IsKeyDown(Enum.KeyCode.S) then dir -= cam.CFrame.LookVector end
  97. if UIS:IsKeyDown(Enum.KeyCode.A) then dir -= cam.CFrame.RightVector end
  98. if UIS:IsKeyDown(Enum.KeyCode.D) then dir += cam.CFrame.RightVector end
  99. if UIS:IsKeyDown(Enum.KeyCode.Space) then dir += Vector3.new(0,1,0) end
  100. if UIS:IsKeyDown(Enum.KeyCode.LeftControl) then dir -= Vector3.new(0,1,0) end
  101.  
  102. local speed = flySpeed
  103. if UIS:IsKeyDown(Enum.KeyCode.LeftShift) then
  104. speed = flySpeed * 1.1
  105. end
  106.  
  107. smoothSpeed = smoothSpeed + (speed - smoothSpeed) * 0.12
  108.  
  109. if dir.Magnitude > 0 then
  110. lv.VectorVelocity = dir.Unit * smoothSpeed
  111. else
  112. lv.VectorVelocity = Vector3.zero
  113. end
  114.  
  115. task.wait()
  116. end
  117.  
  118. if lv then lv:Destroy() end
  119. if att then att:Destroy() end
  120. end)
  121. end
  122. end,
  123. })
  124.  
  125. -- 💜 NEXT SECTION
  126. Tab:CreateLabel("══════ Speed & Jump ══════", 11767039004, Color3.fromRGB(98, 37, 209), false)
  127.  
  128. Tab:CreateSlider({
  129. Name = "WalkSpeed",
  130. Range = {16, 100},
  131. Increment = 1,
  132. CurrentValue = 16,
  133. Callback = function(v)
  134. hum().WalkSpeed = v
  135. end,
  136. })
  137.  
  138. Tab:CreateSlider({
  139. Name = "JumpPower",
  140. Range = {50, 150},
  141. Increment = 1,
  142. CurrentValue = 50,
  143. Callback = function(v)
  144. hum().JumpPower = v
  145. end,
  146. })
  147.  
  148. -- 💜 UTILITIES
  149. Tab:CreateLabel("══════ Utility System ══════", 11767039004, Color3.fromRGB(98, 37, 209), false)
  150.  
  151. -- INFINITE JUMP
  152. Tab:CreateToggle({
  153. Name = "Infinite Jump",
  154. CurrentValue = false,
  155. Callback = function(state)
  156. infJump = state
  157. end,
  158. })
  159.  
  160. UIS.JumpRequest:Connect(function()
  161. if infJump then
  162. hum():ChangeState(Enum.HumanoidStateType.Jumping)
  163. end
  164. end)
  165.  
  166. -- NOCLIP
  167. Tab:CreateToggle({
  168. Name = "Noclip",
  169. CurrentValue = false,
  170. Callback = function(state)
  171. noclip = state
  172. end,
  173. })
  174.  
  175. RunService.Stepped:Connect(function()
  176. if noclip then
  177. for _,v in pairs(char():GetDescendants()) do
  178. if v:IsA("BasePart") then
  179. v.CanCollide = false
  180. end
  181. end
  182. end
  183. end)
  184.  
  185. -- END
  186. Tab:CreateLabel("══════ End ══════", 11767039004, Color3.fromRGB(98, 37, 209), false)