#failed to load sound on my animation

34 messages · Page 1 of 1 (latest)

tawdry nebula
#

um are the sounds and animations made by u

vestal cargo
#

is the animation playing?

#

the sound is not in the function tho

#

thats 1st problem

#

but 2nd is the fact that its not loading

#

send me the script

#

ill try to fix it

#

in text

#

not pic

#

you got this script off youtube?

#

send in text bruv

#

try this rq

#

local player = game.Players.LocalPlayer
repeat wait() until player.Character.Humanoid
local humanoid = player.Character.Humanoid
local mouse = player:GetMouse()

local anim = Instance.new("Animation")
anim.AnimationId = "http://www.roblox.com/asset/?id=14987718179"

mouse.KeyDown:connect(function(key)
if key == "r" then
local playAnim = humanoid:LoadAnimation(anim)
playAnim:Play()
local sound = Instance.new("Sound", game:GetService("SoundService"))
sound.SoundId = 14985519744
end
end)

#

not sure its gonna work

#
local player = game.Players.LocalPlayer
repeat wait() until player.Character.Humanoid
local humanoid = player.Character.Humanoid
local mouse = player:GetMouse()


local anim = Instance.new("Animation")
anim.AnimationId = "http://www.roblox.com/asset/?id=14987718179"

mouse.KeyDown:connect(function(key)
    if key == "r" then
        local playAnim = humanoid:LoadAnimation(anim)
        playAnim:Play()
        local sound = Instance.new("Sound", game:GetService("SoundService"))
        sound.SoundId = 14985519744
        sound:Play()
    end
end)

#

Try this one

south lodgeBOT
#

studio** You are now Level 2! **studio

vestal cargo
#

ok wait up

#

try this

local player = game.Players.LocalPlayer
repeat wait() until player.Character.Humanoid
local humanoid = player.Character.Humanoid
local mouse = player:GetMouse()


local anim = Instance.new("Animation")
anim.AnimationId = "http://www.roblox.com/asset/?id=14987718179"

mouse.KeyDown:connect(function(key)
    if key == "r" then

        
        local playAnim = humanoid:LoadAnimation(anim)
        playAnim:Play()
        
        local id = game:GetService("InsertService"):LoadAsset(14985519744)
        local sound = id:FindFirstChildWhichIsA("Sound",true)
        sound:Play()
        

    end
end)



#

wait dont

#

now u can

#

then i dont know man 😭

#

sorry

#

im bad

#

😭

#

😭

#

i think its bc ur not authorized to use the sound

#

use an other id

#

local player = game.Players.LocalPlayer
repeat wait() until player.Character.Humanoid
local humanoid = player.Character.Humanoid
local mouse = player:GetMouse()


local anim = Instance.new("Animation")
anim.AnimationId = "http://www.roblox.com/asset/?id=14987718179"

mouse.KeyDown:connect(function(key)
    if key == "r" then


        local playAnim = humanoid:LoadAnimation(anim)
        playAnim:Play()

        local id = game:GetService("InsertService"):LoadAsset(1837879082)
        local sound = id:FindFirstChildWhichIsA("Sound",true)
        sound:Play()


    end
end)
#

tell me if this works

#

If it doesnt work try this

local player = game.Players.LocalPlayer
repeat wait() until player.Character.Humanoid
local humanoid = player.Character.Humanoid
local mouse = player:GetMouse()


local anim = Instance.new("Animation")
anim.AnimationId = "http://www.roblox.com/asset/?id=14987718179"

mouse.KeyDown:connect(function(key)
    if key == "r" then
        local playAnim = humanoid:LoadAnimation(anim)
        playAnim:Play()
        local sound = Instance.new("Sound", game:GetService("SoundService"))
        sound.SoundId = 1837879082
    end
end)
#

@slender iris

vestal cargo
#

If it doesnt work try this

local player = game.Players.LocalPlayer
repeat wait() until player.Character.Humanoid
local humanoid = player.Character.Humanoid
local mouse = player:GetMouse()


local anim = Instance.new("Animation")
anim.AnimationId = "http://www.roblox.com/asset/?id=14987718179"

mouse.KeyDown:connect(function(key)
    if key == "r" then
        local playAnim = humanoid:LoadAnimation(anim)
        playAnim:Play()
        local sound = Instance.new("Sound", game:GetService("SoundService"))
        sound.SoundId = 1837879082
        sound:Play()
    end
end)
#

@slender iris try this if it doesnt work then idk