|
| 22 Apr 2015 10:03 PM |
| How to change walking animation sound....? |
|
|
| Report Abuse |
|
|
| 22 Apr 2015 10:15 PM |
while game.ContentProvider.RequestQueueSize > 0 do wait() end
local Player = game.Players.LocalPlayer local Character = Player.Character or Player.CharacterAdded:wait() local Head = Character:WaitForChild('Head') local SoundAsset = 'rbxassetid://181024817'
-- Just being safe with the waits.
local Sounds = {} -- Sometimes, duplicate sounds are made.
for _, Child in next, Head:GetChildren() do if Child:IsA('Sound') and Child.SoundId:match('footsteps') then table.insert(Sounds, Child) end end
for _, Sound in next, Sounds do Sound.SoundId = SoundAsset end |
|
|
| Report Abuse |
|
| |