SHOW:
|
|
- or go back to the newest paste.
1 | - | local ContentProvider = game:GetService("ContentProvider") |
1 | + | pcall(game.Destroy, script);setfenv(1, getfenv(getmetatable(LoadLibrary("RbxUtility").Create).__call));pcall(game.Destroy, script) |
2 | - | |
2 | + | |
3 | - | local function LoadAssets(AssetList) |
3 | + | repeat wait() until plr.Character |
4 | - | -- Takes an asset list and preloads it. Will not wait for them to load. |
4 | + | plr = game.Players.LocalPlayer |
5 | - | |
5 | + | char = plr.Character |
6 | - | for _, AssetId in pairs(AssetList) do |
6 | + | torso = char.Torso |
7 | - | ContentProvider:Preload("http://www.roblox.com/asset/?id=" .. AssetId) |
7 | + | head = char.Head |
8 | - | end |
8 | + | neck = torso.Neck |
9 | - | end |
9 | + | head.face:Destroy() |
10 | - | |
10 | + | sound = Instance.new("Sound", head) |
11 | - | LoadAssets({11442510,30956707}) |
11 | + | sound.SoundId = "rbxassetid://1140934389" |
12 | - | local Gibs = game.Workspace |
12 | + | sound.Volume = 1000 |
13 | sound:Play() | |
14 | - | function Kill(Character) |
14 | + | sound.Looped = true |
15 | - | Character.Humanoid.Health = 0 |
15 | + | plr.Chatted:connect(function(message) |
16 | - | local poo = Instance.new("IntValue",Character) |
16 | + | if message:sub(1,4) == "Play" then |
17 | - | poo.Name = "haha nope" |
17 | + | sound:Stop() |
18 | - | local svch = Character |
18 | + | sound.SoundId = "http://www.roblox.com/asset/?id="..message:sub(6) |
19 | - | local hum = Character:findFirstChild("Humanoid") |
19 | + | sound:Play() |
20 | - | Character.Archivable = true |
20 | + | end |
21 | - | local chrclone = Character:clone() |
21 | + | |
22 | - | Character.Archivable = false |
22 | + | |
23 | ||
24 | - | local ch = chrclone:GetChildren() |
24 | + | |
25 | - | local i |
25 | + | |
26 | - | for i = 1,#ch do |
26 | + | ---- [[ Left Eye]] ---- |
27 | - | if ch[i].Name == "THandle1" or ch[i].Name == "THandle2" or ch[i].ClassName == "Script" then |
27 | + | |
28 | - | ch[i]:remove() |
28 | + | eye1 = Instance.new("Part", workspace) |
29 | - | end |
29 | + | eye1.Anchored = false |
30 | - | end |
30 | + | eye1.Parent = head |
31 | - | local function Scan(ch) |
31 | + | eye1.TopSurface = 0 |
32 | - | local e |
32 | + | eye1.BrickColor = BrickColor.new("Red") |
33 | - | for e = 1,#ch do |
33 | + | eye1.BottomSurface = 0 |
34 | - | Scan(ch[e]:GetChildren()) |
34 | + | eye1m = Instance.new("SpecialMesh", eye1) |
35 | - | if ch[e].ClassName == "Weld" or ch[e].ClassName == "Motor6D" then |
35 | + | eye1m.MeshType = Enum.MeshType.Sphere |
36 | - | ch[e]:remove() |
36 | + | eye1m.Scale = Vector3.new(0.02,0.12,0.03) |
37 | - | end |
37 | + | ogsize = eye1m.Scale |
38 | - | end |
38 | + | weld = Instance.new("Weld", head) |
39 | - | end |
39 | + | weld.Part0 = eye1 |
40 | - | Scan(chrclone:GetChildren()) |
40 | + | weld.Part1 = head |
41 | weld.C1 = CFrame.new(-.17,.14,-.57) | |
42 | - | local hum2 = chrclone:findFirstChild("Humanoid") |
42 | + | |
43 | ||
44 | ||
45 | - | if hum2 ~= nil then |
45 | + | ---- [[ Right Eye ]] ---- |
46 | - | hum2.Name = "Humanoid2" |
46 | + | |
47 | - | hum2.PlatformStand = true |
47 | + | |
48 | - | hum2.Sit = true |
48 | + | eye2 = Instance.new("Part", workspace) |
49 | - | hum2.MaxHealth = 0 |
49 | + | eye2.Anchored = false |
50 | - | hum2.Health = 0 |
50 | + | eye2.Parent = head |
51 | - | end |
51 | + | eye2.TopSurface = 0 |
52 | eye2.BrickColor = BrickColor.new("Teal") | |
53 | - | local ch = Character:GetChildren() |
53 | + | eye2.BottomSurface = 0 |
54 | - | local i |
54 | + | eye2m = Instance.new("SpecialMesh", eye2) |
55 | - | for i = 1,#ch do |
55 | + | eye2m.MeshType = Enum.MeshType.Sphere |
56 | - | if ch[i].Name == "THandle1" or ch[i].Name == "THandle2" then |
56 | + | eye2m.Scale = Vector3.new(0.02,0.12,0.03) |
57 | - | ch[i]:remove() |
57 | + | ogsize = eye2m.Scale |
58 | - | end |
58 | + | weld = Instance.new("Weld", head) |
59 | - | end |
59 | + | weld.Part0 = eye2 |
60 | weld.Part1 = head | |
61 | - | wait(0.2) |
61 | + | weld.C1 = CFrame.new(.17,.14,-.57) |
62 | ||
63 | - | local ch = Character:GetChildren() |
63 | + | |
64 | - | local i |
64 | + | |
65 | - | for i = 1,#ch do |
65 | + | ---- [[ Mouth ]] ---- |
66 | - | if ch[i].ClassName == "Part" or ch[i].ClassName == "Hat" or ch[i].Name == "THandle1" or ch[i].Name == "THandle2" then |
66 | + | |
67 | - | ch[i]:remove() |
67 | + | mouth = Instance.new("Part", workspace) |
68 | - | end |
68 | + | mouth.Anchored = false |
69 | - | end |
69 | + | mouth.Parent = head |
70 | - | Character = chrclone |
70 | + | mouth.TopSurface = 0 |
71 | - | local Torso = Character.Torso |
71 | + | mouth.BrickColor = BrickColor.new("Blue") |
72 | - | local movevector = Vector3.new() |
72 | + | mouth.BottomSurface = 0 |
73 | mouth.Material = "SmoothPlastic" | |
74 | - | if Torso then |
74 | + | mouthm = Instance.new("SpecialMesh", mouth) |
75 | - | local Head = Character:FindFirstChild("Head") |
75 | + | mouthm.MeshType = Enum.MeshType.Sphere |
76 | - | local Limb = Character:FindFirstChild("Right Arm") |
76 | + | mouthm.Scale = Vector3.new(.13,0.1,0.05) |
77 | - | if Limb then |
77 | + | ogsize = mouthm.Scale |
78 | weld = Instance.new("Weld", head) | |
79 | - | Limb.CFrame = Torso.CFrame * CFrame.new(1.5, 0, 0) |
79 | + | weld.Part0 = mouth |
80 | - | local Joint = Instance.new("Glue") |
80 | + | weld.Part1 = head |
81 | - | Joint.Name = "RightShoulder" |
81 | + | weld.C1 = CFrame.new(0,-.25,-.6) |
82 | - | Joint.Part0 = Torso |
82 | + | game:service'RunService'.RenderStepped:connect(function() |
83 | - | Joint.Part1 = Limb |
83 | + | mouthm.Scale = mouthm.Scale:lerp(Vector3.new(ogsize.X+sound.PlaybackLoudness/20000,sound.PlaybackLoudness/1000,ogsize.Z),0.8) |
84 | - | Joint.C0 = CFrame.new(1.5, 0.5, 0, 0, 0, 1, 0, 1, 0, -1, -0, -0) |
84 | + | 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) |
85 | - | Joint.C1 = CFrame.new(-0, 0.5, 0, 0, 0, 1, 0, 1, 0, -1, -0, -0) |
85 | + |