script.Parent.PlaySound.MouseButton1Click:Connect(function()
task.spawn(functions.RunSound(script.Parent.Refrence.Value))
script.Parent:Destroy()
end)
idk, if you want to see the function itself tell me
script.Parent.PlaySound.MouseButton1Click:Connect(function()
task.spawn(functions.RunSound(script.Parent.Refrence.Value))
script.Parent:Destroy()
end)
idk, if you want to see the function itself tell me
task.spawn(functions.RunSound, script.Parent.Refrence.Value)
ohhh ok, sorry i judt dont use task.spawn a lot
ook it didnt do what i expected, when the script that calls the function gets deleted then it stops running the fucntion. how do i stop it from doing that? i thought taskspawn would work