Not a member of GistPad yet?
Sign Up,
it unlocks many cool features!
- local Rayfield = loadstring(game:HttpGet('https://sirius.menu/rayfield'))()
- local Window = Rayfield:CreateWindow({
- Name = "CoolStudios",
- Theme = "Amethyst",
- ToggleUIKeybind = "K",
- ConfigurationSaving = {
- Enabled = true,
- FileName = "CoolStudios Hub"
- },
- KeySystem = true,
- KeySettings = {
- Title = "CoolStudio's",
- Subtitle = "Key System",
- Note = "The Key is CoolStudios",
- FileName = "Keyo",
- SaveKey = true,
- Key = {"CoolStudios"}
- }
- })
- local Tab = Window:CreateTab("══════ Movement Hub ══════", 11767039004)
- -- SERVICES
- local Players = game:GetService("Players")
- local UIS = game:GetService("UserInputService")
- local RunService = game:GetService("RunService")
- local lp = Players.LocalPlayer
- -- STATES
- local flying = false
- local noclip = false
- local infJump = false
- local flySpeed = 60
- local smoothSpeed = 0
- -- CHARACTER
- local function char()
- return lp.Character or lp.CharacterAdded:Wait()
- end
- local function hum()
- return char():WaitForChild("Humanoid")
- end
- local function root()
- return char():WaitForChild("HumanoidRootPart")
- end
- ------------------------------------------------
- -- 💜 UI SECTIONS
- ------------------------------------------------
- Tab:CreateLabel("══════ Fly System ══════", 11767039004, Color3.fromRGB(98, 37, 209), false)
- Tab:CreateSlider({
- Name = "Fly Speed",
- Range = {50, 2000},
- Increment = 10,
- CurrentValue = 60,
- Callback = function(v)
- flySpeed = v
- end,
- })
- ------------------------------------------------
- -- ✈️ FLY (NO TILT FIXED)
- ------------------------------------------------
- Tab:CreateToggle({
- Name = "Fly",
- CurrentValue = false,
- Callback = function(state)
- flying = state
- local h = hum()
- local r = root()
- if flying then
- h:ChangeState(Enum.HumanoidStateType.Physics)
- local att = Instance.new("Attachment", r)
- local lv = Instance.new("LinearVelocity")
- lv.Attachment0 = att
- lv.MaxForce = math.huge
- lv.RelativeTo = Enum.ActuatorRelativeTo.World
- lv.Parent = r
- task.spawn(function()
- while flying and lv.Parent do
- local cam = workspace.CurrentCamera
- local dir = Vector3.zero
- if UIS:IsKeyDown(Enum.KeyCode.W) then dir += cam.CFrame.LookVector end
- if UIS:IsKeyDown(Enum.KeyCode.S) then dir -= cam.CFrame.LookVector end
- if UIS:IsKeyDown(Enum.KeyCode.A) then dir -= cam.CFrame.RightVector end
- if UIS:IsKeyDown(Enum.KeyCode.D) then dir += cam.CFrame.RightVector end
- if UIS:IsKeyDown(Enum.KeyCode.Space) then dir += Vector3.new(0,1,0) end
- if UIS:IsKeyDown(Enum.KeyCode.LeftControl) then dir -= Vector3.new(0,1,0) end
- local speed = flySpeed
- if UIS:IsKeyDown(Enum.KeyCode.LeftShift) then
- speed = flySpeed * 1.1
- end
- smoothSpeed = smoothSpeed + (speed - smoothSpeed) * 0.12
- if dir.Magnitude > 0 then
- lv.VectorVelocity = dir.Unit * smoothSpeed
- else
- lv.VectorVelocity = Vector3.zero
- end
- -- ❌ NO TILT (KEY FIX)
- r.CFrame = CFrame.new(r.Position)
- task.wait()
- end
- if lv then lv:Destroy() end
- if att then att:Destroy() end
- end)
- end
- end,
- })
- ------------------------------------------------
- -- SPEED & JUMP
- ------------------------------------------------
- Tab:CreateLabel("══════ Speed & Jump ══════", 11767039004, Color3.fromRGB(98, 37, 209), false)
- Tab:CreateSlider({
- Name = "WalkSpeed",
- Range = {16, 100},
- Increment = 1,
- CurrentValue = 16,
- Callback = function(v)
- hum().WalkSpeed = v
- end,
- })
- Tab:CreateSlider({
- Name = "JumpPower",
- Range = {50, 150},
- Increment = 1,
- CurrentValue = 50,
- Callback = function(v)
- hum().JumpPower = v
- end,
- })
- ------------------------------------------------
- -- UTILITIES
- ------------------------------------------------
- Tab:CreateLabel("══════ Utility System ══════", 11767039004, Color3.fromRGB(98, 37, 209), false)
- -- INF JUMP
- Tab:CreateToggle({
- Name = "Infinite Jump",
- CurrentValue = false,
- Callback = function(state)
- infJump = state
- end,
- })
- UIS.JumpRequest:Connect(function()
- if infJump then
- hum():ChangeState(Enum.HumanoidStateType.Jumping)
- end
- end)
- -- NOCLIP
- Tab:CreateToggle({
- Name = "Noclip",
- CurrentValue = false,
- Callback = function(state)
- noclip = state
- end,
- })
- RunService.Stepped:Connect(function()
- if noclip then
- for _,v in pairs(char():GetDescendants()) do
- if v:IsA("BasePart") then
- v.CanCollide = false
- end
- end
- end
- end)
- ------------------------------------------------
- -- END
- ------------------------------------------------
- Tab:CreateLabel("══════ End System ══════", 11767039004, Color3.fromRGB(98, 37, 209), false)
RAW Paste Data
Copied
