-- LocalScript(放在 StarterPlayerScripts) local Players = game:GetService("Players") local player = Players.LocalPlayer -- 核心函数:把速度设为 100 local function setSpeed(character) local humanoid = character:WaitForChild("Humanoid", 5) if humanoid then humanoid.WalkSpeed = 100 end end -- 第一次角色生成时设置 if player.Character then setSpeed(player.Character) end -- 每次重生都重新设置 player.CharacterAdded:Connect(setSpeed) -- (可选)防止其他脚本或系统重置速度 -- 每 0.5 秒强制一次(防被游戏机制改回去) spawn(function() while true do wait(0.5) if player.Character and player.Character:FindFirstChild("Humanoid") then player.Character.Humanoid.WalkSpeed = 100 end end end)