Talk:Music: Difference between revisions

From Legacy Roblox Wiki
Jump to navigationJump to search
>Mindraker
Testing
>Mindraker
mNo edit summary
Line 1: Line 1:
Any sounds not included with the Roblox client won't work this way. You have to upload them to the site, a feature not supported. ---[[User:Mr Doom Bringer|Mr Doom Bringer]] 13:12, 2 July 2008 (CDT)
Any sounds not included with the Roblox client won't work this way. You have to upload them to the site, a feature not supported. ---[[User:Mr Doom Bringer|Mr Doom Bringer]] 13:12, 2 July 2008 (CDT)
Any sounds not included with the Roblox client won't work this way. You have to upload them to the site, a feature not supported. ---[[User:Mr Doom Bringer|Mr Doom Bringer]] 13:12, 2 July 2008 (CDT)



Revision as of 00:06, 20 August 2008

Any sounds not included with the Roblox client won't work this way. You have to upload them to the site, a feature not supported. ---Mr Doom Bringer 13:12, 2 July 2008 (CDT)

Testing

I did things a little differently, instead of doing things as the page said, I simply took a free music box, and cut out the the script from the music box into a new brick, copied the brick, started a new map, and pasted in the brick. The 'sound' object needed the SoundId. Voilà, it worked, maybe a little differently than the page's example. You can make whatever size and shape play music. However, with this method, you know ahead of time whether or not your music works  ;) :

local s = Instance.new("Sound")

s.Name = "Sound"
s.SoundId = "3f6768818ccb1e1490bd8c95bd9846a7" -- Indiana Jones Theme, I think
s.Volume = 3
s.Looped = true
s.archivable = false

s.Parent = game.Workspace

wait(0)

s:play() 

MINDRAKER 19:06, 19 August 2008 (CDT)