Scripting Helpers is winding down operations and is now read-only. More info→
Ad
Log in to vote
0

"Unable to get sound data" HELP!?

Asked by 4 years ago

19:52:33.511 - Level 1 auto-recovery file was created 19:52:35.029 - Button1 is not a valid member of Model 19:52:35.030 - Stack Begin 19:52:35.030 - Script 'Workspace.Model.Sliding door.Touch.Script', Line 18 19:52:35.030 - Stack End Ro-Defender has removed a total of 0 viruses and junk items from your games! 19:52:35.694 - Failed to load sound rbxasset://3444211679: Unable to download sound data (x2) Ro-Defender has removed a total of 0 viruses and junk items from your games! 19:52:56.805 - Disconnect from 127.0.0.1|57791

SCRIPT : `~~~~~~~~~~~~~~~~~ ~~~~~~~~~~~~~~~~~

local player = game.Players.LocalPlayer


local run = game:GetService("RunService")


local char  = script.Parent


run.RenderStepped:connect(function()
 if char.Humanoid.FloorMaterial == Enum.Material.Metal then
  char.Head.Running.SoundId = "rbxassetid://3444211679"
  char.Head.Running.PlaybackSpeed = 1.15
 end
end)

`

SOMEONE HELP ME PLEASE!!!

0
I'm trying to make a footstep script that allows me to change playback speed graciechloe 2 — 4y

1 answer

Log in to vote
0
Answered by 4 years ago

So it seems you may have fixed the problem when you posted it here because the console error says you put rbxasset://3444211679 while your code here says you put rbxassetid://3444211679 which is correct. So a way to see if you got the ID wrong is go to the sound object and check to see if when you put the ID in that it actually finds the proper sound. If it does then you may have fixed your problem when you uploaded it here.

Ad

Answer this question