Yeah i was just wondering if it was possible to input audio into workspace with a script as i tried doing this like im dumb
game.workspace:New.Sound
yeah if anyone can answer this thankz
Yeah i was just wondering if it was possible to input audio into workspace with a script as i tried doing this like im dumb
game.workspace:New.Sound
yeah if anyone can answer this thankz
Referencing kingdom5:
s = Instance.new("Sound")
s.Parent = game.Workspace
s.SoundId = "rbxassetid://000000000" -- ID goes here
s.Looped = false -- Or true if you want server music
s.Volume = 1
s:Play()
thank youu
If I understand this right you need something like this :)
local ID = 000000000 -- ID HERE :D
local Sound = Instance.new("Sound")
Sound.Parent = game.Workspace
Sound.SoundId = ID
Any questions or if you want to correct me feel free to do so :)
It says Sound Workspace.Sound failed to load id but im putting my own id in :U
This is not the correct ID format. If you crate a sound object in studio and input the id it will format it correctly for you.
its supposed to say rbxassetid or something right? if yes do i keep that part
This discussion is preserved as it was. New answers, comments, and votes are closed.
3 comments
You can but you need to set id to it
I got cancer from that code. learn lua
ur mom