RobloxScripterAI
Discord ↗
Link Copied to Clipboard
×
"make a fly hack."
-- local script local player = game.Players.LocalPlayer local mouse = player:GetMouse() local flying = false local function fly() if flying then flying = false player.Character.Humanoid.PlatformStand = false else flying = true player.Character.Humanoid.PlatformStand = true end end mouse.KeyDown:Connect(fly) game:GetService("RunService").RenderStepped:Connect(function() if flying then local speed = 100 local moveVector = Vector3.new(0, 0, 0) if mouse.Target then local target = mouse.Hit.p local direction = (target - player.Character.HumanoidRootPart.Position).unit moveVector = direction * speed end player.Character.HumanoidRootPart.CFrame = player.Character.HumanoidRootPart.CFrame + moveVector end end)