--Title says it all
01 | Player = script.Parent.Parent |
02 | Char = Player.Character |
03 | mouse = Player:GetMouse() |
04 |
05 |
06 | function keydown(key) |
07 | key:lower() |
08 | if key = = "v" then |
09 | SandPool = Instance.new( "Part" ) |
10 | SandPool.Parent = Char [ "Torso" ] |
11 | SandPool.CFrame = CFrame.new(Char [ "Right Leg" ] .Position) |
12 | SandPool.Size = Vector 3. new( 1 ,. 2 , 1 ) |
13 | SandPool.BrickColor = BrickColor.new( "Daisy orange" ) |
14 | SandPool.Name = "SP" |
15 | SandPlate = Instance.new( "CylinderMesh" ) |
01 | -- I put this stuff here to show just where the Sound is located |
02 | wait( 34 ) |
03 | Song = game.Workspace.PickAToonSongs |
04 | Song.Volume = 1 |
05 | Song.Looped = true |
06 |
07 |
08 | Assets = { 253943659 , 392883743 } |
09 | for _, asset in ipairs (Assets) do |
10 | game:GetService( "ContentProvider" ):Preload( "http://www.roblox.com/asset/?id=" .. asset) |
11 | end |
12 |
13 |
14 | Song.SoundId = "rbxassetid://" ..Assets [ math.random( 1 ,#Assets) ] --'http://www.roblox.com/asset/?id=' can also be used. |
15 | Song:Play() |