I'm so confused
game.Players.PlayerAdded:Connect(function(plr) plr.CharacterAdded:Connect(function(char) char.HumanoidRootPart.Running.Volume = 0 end) end)
Running is, in fact, a member of HumanoidRootPart created by default when someone joins. I have tried using a wait()
but it didn't work. I have tried using WaitForChild()
but it just gave an infinite yield. Huh?
Make this on a LocalScript in StarterCharacterScripts. Did it work?
local HRP = script.Parent:WaitForChild("HumanoidRootPart", 120) HRP.Running.Volume = 0
Try doing this!
game.Players.PlayerAdded:Connect(function(plr) plr.CharacterAdded:Connect(function(char) repeat task.wait() until char.HumanoidRootPart:FindFirstChild("Running")~=nil char.HumanoidRootPart.Running.Volume = 0 end) end)
It looks horrible, but it'll wait until the humanoid root part can find running, if roblox's built in functions don't work