如何在游戏开始时限制玩家移动跳跃

如何在游戏开始时限制玩家移动跳跃

1 个赞

将玩家的jumppower设置成0就行

1 个赞

ok so what you want to do is basically set the player walkspeed and jumppower to 0 at the start (in a localscript)

--stan
local Humanoid = game:GetService("Players").LocalPlayer.Character:WaitForChild("Humanoid")
Humanoid.WalkSpeed = 0
Humanoid.JumpPower = 0
1 个赞

ayo thank you, this worked

1 个赞

@taiga 在‘设置游戏’里面就可以了

1 个赞
关于我们    加入我们    条款    隐私政策
©2021 Roblox Corporation、Roblox、Roblox 标志及 Powering Imagination 是我们在美国及其他国家或地区的注册与未注册商标。
粤ICP备20013629号