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 Hub ══════", 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. ------------------------------------------------
  55. -- 💜 UI SECTIONS
  56. ------------------------------------------------
  57.  
  58. Tab:CreateLabel("══════ Fly System ══════", 11767039004, Color3.fromRGB(98, 37, 209), false)
  59.  
  60. Tab:CreateSlider({
  61. Name = "Fly Speed",
  62. Range = {50, 2000},
  63. Increment = 10,
  64. CurrentValue = 60,
  65. Callback = function(v)
  66. flySpeed = v
  67. end,
  68. })
  69.  
  70. ------------------------------------------------
  71. -- ✈️ FLY (NO TILT FIXED)
  72. ------------------------------------------------
  73.  
  74. Tab:CreateToggle({
  75. Name = "Fly",
  76. CurrentValue = false,
  77. Callback = function(state)
  78. flying = state
  79.  
  80. local h = hum()
  81. local r = root()
  82.  
  83. if flying then
  84. h:ChangeState(Enum.HumanoidStateType.Physics)
  85.  
  86. local att = Instance.new("Attachment", r)
  87.  
  88. local lv = Instance.new("LinearVelocity")
  89. lv.Attachment0 = att
  90. lv.MaxForce = math.huge
  91. lv.RelativeTo = Enum.ActuatorRelativeTo.World
  92. lv.Parent = r
  93.  
  94. task.spawn(function()
  95. while flying and lv.Parent do
  96. local cam = workspace.CurrentCamera
  97. local dir = Vector3.zero
  98.  
  99. if UIS:IsKeyDown(Enum.KeyCode.W) then dir += cam.CFrame.LookVector end
  100. if UIS:IsKeyDown(Enum.KeyCode.S) then dir -= cam.CFrame.LookVector end
  101. if UIS:IsKeyDown(Enum.KeyCode.A) then dir -= cam.CFrame.RightVector end
  102. if UIS:IsKeyDown(Enum.KeyCode.D) then dir += cam.CFrame.RightVector end
  103. if UIS:IsKeyDown(Enum.KeyCode.Space) then dir += Vector3.new(0,1,0) end
  104. if UIS:IsKeyDown(Enum.KeyCode.LeftControl) then dir -= Vector3.new(0,1,0) end
  105.  
  106. local speed = flySpeed
  107. if UIS:IsKeyDown(Enum.KeyCode.LeftShift) then
  108. speed = flySpeed * 1.1
  109. end
  110.  
  111. smoothSpeed = smoothSpeed + (speed - smoothSpeed) * 0.12
  112.  
  113. if dir.Magnitude > 0 then
  114. lv.VectorVelocity = dir.Unit * smoothSpeed
  115. else
  116. lv.VectorVelocity = Vector3.zero
  117. end
  118.  
  119. -- ❌ NO TILT (KEY FIX)
  120. r.CFrame = CFrame.new(r.Position)
  121.  
  122. task.wait()
  123. end
  124.  
  125. if lv then lv:Destroy() end
  126. if att then att:Destroy() end
  127. end)
  128. end
  129. end,
  130. })
  131.  
  132. ------------------------------------------------
  133. -- SPEED & JUMP
  134. ------------------------------------------------
  135.  
  136. Tab:CreateLabel("══════ Speed & Jump ══════", 11767039004, Color3.fromRGB(98, 37, 209), false)
  137.  
  138. Tab:CreateSlider({
  139. Name = "WalkSpeed",
  140. Range = {16, 100},
  141. Increment = 1,
  142. CurrentValue = 16,
  143. Callback = function(v)
  144. hum().WalkSpeed = v
  145. end,
  146. })
  147.  
  148. Tab:CreateSlider({
  149. Name = "JumpPower",
  150. Range = {50, 150},
  151. Increment = 1,
  152. CurrentValue = 50,
  153. Callback = function(v)
  154. hum().JumpPower = v
  155. end,
  156. })
  157.  
  158. ------------------------------------------------
  159. -- UTILITIES
  160. ------------------------------------------------
  161.  
  162. Tab:CreateLabel("══════ Utility System ══════", 11767039004, Color3.fromRGB(98, 37, 209), false)
  163.  
  164. -- INF JUMP
  165. Tab:CreateToggle({
  166. Name = "Infinite Jump",
  167. CurrentValue = false,
  168. Callback = function(state)
  169. infJump = state
  170. end,
  171. })
  172.  
  173. UIS.JumpRequest:Connect(function()
  174. if infJump then
  175. hum():ChangeState(Enum.HumanoidStateType.Jumping)
  176. end
  177. end)
  178.  
  179. -- NOCLIP
  180. Tab:CreateToggle({
  181. Name = "Noclip",
  182. CurrentValue = false,
  183. Callback = function(state)
  184. noclip = state
  185. end,
  186. })
  187.  
  188. RunService.Stepped:Connect(function()
  189. if noclip then
  190. for _,v in pairs(char():GetDescendants()) do
  191. if v:IsA("BasePart") then
  192. v.CanCollide = false
  193. end
  194. end
  195. end
  196. end)
  197.  
  198. ------------------------------------------------
  199. -- END
  200. ------------------------------------------------
  201.  
  202. Tab:CreateLabel("══════ End System ══════", 11767039004, Color3.fromRGB(98, 37, 209), false)