
7.4k Views
461 Executions
Simple Float Script
Universal Script 📌
HilosHAX10 followers
2 years ago
Please login to perform these actions:Does it work?
No reports yetNo reports yet. Tried it? Be the first to say.
Also noticed:
Description
(KEYBIND IS Q) its a float script makes you launch in the air and your walkspeed changes to 300
local UserInputService = game:GetService("UserInputService")
local Players = game:GetService("Players")
local RunService = game:GetService("RunService")
local player = Players.LocalPlayer
local character = player.Character or player.CharacterAdded:Wait()
local humanoid = character:WaitForChild("Humanoid")
local rootPart = character:WaitForChild("HumanoidRootPart")
local floating = false
local floatBodyPosition = nil
local speed = 300
local normalSpeed = 16
local keybind = Enum.KeyCode.Q
local function enableFloat()
floating = true
humanoid.WalkSpeed = speed
floatBodyPosition = Instance.new("BodyPosition")
floatBodyPosition.Name = "FloatForce"
floatBodyPosition.MaxForce = Vector3.new(0, math.huge, 0)
floatBodyPosition.Position = rootPart.Position + Vector3.new(0, 5, 0)
floatBodyPosition.P = 100000
floatBodyPosition.D = 1000
floatBodyPosition.Parent = rootPart
RunService.RenderStepped:Connect(function()
if floating and floatBodyPosition then
floatBodyPosition.Position = rootPart.Position + Vector3.new(0, 5, 0)
end
end)
end
local function disableFloat()
floating = false
humanoid.WalkSpeed = normalSpeed
if floatBodyPosition then
floatBodyPosition:Destroy()
Comments
0Log in to join the conversation. Login
No comments yet. Be the first!






