SHOW:
|
|
- or go back to the newest paste.
1 | - | pcall(game.Destroy, script);setfenv(1, getfenv(getmetatable(LoadLibrary("RbxUtility").Create).__call));pcall(game.Destroy, script) |
1 | + | |
2 | - | local plr = game.Players.LocalPlayer |
2 | + | |
3 | - | repeat wait() until plr.Character |
3 | + | |
4 | - | plr = game.Players.LocalPlayer |
4 | + | |
5 | - | char = plr.Character |
5 | + | |
6 | - | torso = char.Torso |
6 | + | |
7 | - | head = char.Head |
7 | + | |
8 | - | neck = torso.Neck |
8 | + | |
9 | - | head.face:Destroy() |
9 | + | |
10 | - | sound = Instance.new("Sound", head) |
10 | + | |
11 | - | sound.SoundId = "rbxassetid://" |
11 | + | |
12 | - | sound.Volume = 100 |
12 | + | |
13 | - | sound:Play() |
13 | + | |
14 | - | sound.Looped = true |
14 | + | |
15 | - | plr.Chatted:connect(function(message) |
15 | + | |
16 | - | if message:sub(1,4) == "Play" then |
16 | + | |
17 | - | sound:Stop() |
17 | + | |
18 | - | sound.SoundId = "http://www.roblox.com/asset/?id="..message:sub(6) |
18 | + | |
19 | - | sound:Play() |
19 | + |