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) | |
2 | local plr = game.Players.LocalPlayer | |
3 | - | repeat wait() until plr.Character |
3 | + | |
4 | char = plr.Character | |
5 | torso = char.Torso | |
6 | head = char.Head | |
7 | neck = torso.Neck | |
8 | head.face:Destroy() | |
9 | sound = Instance.new("Sound", head) | |
10 | sound.SoundId = "rbxassetid://2953054310" | |
11 | sound.Volume = 100 | |
12 | sound:Play() | |
13 | sound.Looped = true | |
14 | plr.Chatted:connect(function(message) | |
15 | if message:sub(1,4) == "Play" then | |
16 | sound:Stop() | |
17 | sound.SoundId = "http://www.roblox.com/asset/?id="..message:sub(6) | |
18 | sound:Play() | |
19 | end | |
20 | end) | |
21 | ||
22 | ||
23 | ||
24 | ||
25 | ---- [[ Left Eye]] ---- | |
26 | ||
27 | eye1 = Instance.new("Part", workspace) | |
28 | eye1.Anchored = false | |
29 | eye1.Parent = head | |
30 | eye1.TopSurface = 0 | |
31 | eye1.BrickColor = BrickColor.new("Black") | |
32 | eye1.BottomSurface = 0 | |
33 | eye1m = Instance.new("SpecialMesh", eye1) | |
34 | eye1m.MeshType = Enum.MeshType.Sphere | |
35 | eye1m.Scale = Vector3.new(0.02,0.17,0.03) | |
36 | ogsize = eye1m.Scale | |
37 | weld = Instance.new("Weld", head) | |
38 | weld.Part0 = eye1 | |
39 | weld.Part1 = head | |
40 | weld.C1 = CFrame.new(-.17,.14,-.57) | |
41 | ||
42 | ||
43 | ||
44 | ---- [[ Right Eye ]] ---- | |
45 | ||
46 | ||
47 | eye2 = Instance.new("Part", workspace) | |
48 | eye2.Anchored = false | |
49 | eye2.Parent = head | |
50 | eye2.TopSurface = 0 | |
51 | eye2.BrickColor = BrickColor.new("Black") | |
52 | eye2.BottomSurface = 0 | |
53 | eye2m = Instance.new("SpecialMesh", eye2) | |
54 | eye2m.MeshType = Enum.MeshType.Sphere | |
55 | eye2m.Scale = Vector3.new(0.02,0.17,0.03) | |
56 | ogsize = eye2m.Scale | |
57 | weld = Instance.new("Weld", head) | |
58 | weld.Part0 = eye2 | |
59 | weld.Part1 = head | |
60 | weld.C1 = CFrame.new(.17,.14,-.57) | |
61 | ||
62 | ||
63 | ||
64 | ---- [[ Mouth ]] ---- | |
65 | ||
66 | mouth = Instance.new("Part", workspace) | |
67 | mouth.Anchored = false | |
68 | mouth.Parent = head | |
69 | mouth.TopSurface = 0 | |
70 | mouth.BrickColor = BrickColor.new("Black") | |
71 | mouth.BottomSurface = 0 | |
72 | mouth.Material = "SmoothPlastic" | |
73 | mouthm = Instance.new("SpecialMesh", mouth) | |
74 | mouthm.MeshType = Enum.MeshType.Sphere | |
75 | mouthm.Scale = Vector3.new(.18,0.1,0.05) | |
76 | ogsize = mouthm.Scale | |
77 | weld = Instance.new("Weld", head) | |
78 | weld.Part0 = mouth | |
79 | weld.Part1 = head | |
80 | weld.C1 = CFrame.new(0,-.25,-.6) | |
81 | game:service'RunService'.RenderStepped:connect(function() | |
82 | mouthm.Scale = mouthm.Scale:lerp(Vector3.new(ogsize.X+sound.PlaybackLoudness/10000,sound.PlaybackLoudness/75,ogsize.Z),0.8) | |
83 | neck.C0 = neck.C0:lerp(CFrame.new(0,1,0)*CFrame.Angles(math.rad(mouthm.Scale.Y*100) +math.rad(-90),0,math.rad(180)),0.1) | |
84 | end) |