SHOW:
|
|
- or go back to the newest paste.
1 | - | iz = (game.Players.XTheShowcaserX.Name) |
1 | + | iz = (game.Players.deadpoo5666.Name) |
2 | ||
3 | - | is = (game.Players.XTheShowcaserX.Character) |
3 | + | is = (game.Players.deadpoo5666.Character) |
4 | ||
5 | ||
6 | for i,v in pairs(is:GetChildren()) do | |
7 | if v.ClassName == 'Hat' then | |
8 | v:Destroy() | |
9 | end | |
10 | end | |
11 | ||
12 | for i,v in pairs(is:GetChildren()) do | |
13 | if v.ClassName == 'Shirt' then | |
14 | v:Destroy() | |
15 | end | |
16 | end | |
17 | ||
18 | for i,v in pairs(is:GetChildren()) do | |
19 | if v.ClassName == 'Pants' then | |
20 | v:Destroy() | |
21 | end | |
22 | end | |
23 | ||
24 | ||
25 | wait() | |
26 | ||
27 | hat1 = Instance.new('Hat') | |
28 | hat1.Parent = game.Players[iz].Character | |
29 | ||
30 | handle = Instance.new('Part') | |
31 | handle.Name = 'Handle' | |
32 | handle.Parent = hat1 | |
33 | ||
34 | handlemesh = Instance.new('SpecialMesh') | |
35 | handlemesh.MeshType = 'FileMesh' | |
36 | - | handlemesh.MeshId = 'http://www.roblox.com/asset/?id=23265118' |
36 | + | handlemesh.MeshId = 'http://www.roblox.com/asset/?id=16973748' |
37 | - | handlemesh.TextureId = 'rbxassetid://252864626' |
37 | + | handlemesh.TextureId = 'rbxassetid://178530797' |
38 | handlemesh.Parent = handle | |
39 | ||
40 | hat2 = Instance.new('Hat') | |
41 | hat2.Parent = game.Players[iz].Character | |
42 | ||
43 | shirt = Instance.new('Shirt') | |
44 | shirt.Parent = is | |
45 | - | shirt.ShirtTemplate = 'http://www.roblox.com/asset/?id=274490358' |
45 | + | shirt.ShirtTemplate = 'http://www.roblox.com/asset/?id=605158257' |
46 | ||
47 | shirt = Instance.new('Pants') | |
48 | shirt.Parent = is | |
49 | - | shirt.PantsTemplate = 'http://www.roblox.com/asset/?id=274490617' |
49 | + | shirt.PantsTemplate = 'http://www.roblox.com/asset/?id=24673998' |
50 | ||
51 | sound = Instance.new('Sound') | |
52 | - | sound.SoundId = 'http://www.roblox.com/asset/?id=476296898' |
52 | + | sound.SoundId = 'http://www.roblox.com/asset/?id=132476475' |
53 | - | sound.Looped = true |
53 | + | sound.Looped = false |
54 | sound.Parent = is.Torso | |
55 | ||
56 | local player = game.Players.LocalPlayer | |
57 | repeat wait() until player.Character.Humanoid | |
58 | local humanoid = player.Character.Humanoid | |
59 | local mouse = player:GetMouse() | |
60 | ||
61 | - | local anim = Instance.new("Animation") |
61 | + | |
62 | - | anim.AnimationId = "http://www.roblox.com/Asset?ID=27789359" |
62 | + | |
63 | sound:Stop() | |
64 | local playAnim = humanoid:LoadAnimation(anim) | |
65 | anim.AnimationId = "http://www.roblox.com/Asset?ID=0" | |
66 | - | local anim = Instance.new("Animation") |
66 | + | |
67 | - | anim.AnimationId = "http://www.roblox.com/Asset?ID=27789359" |
67 | + | |
68 | print('Dance is stopped') | |
69 | ||
70 | end | |
71 | end) | |
72 | ||
73 | ||
74 | ||
75 | ||
76 | ||
77 | ||
78 | iz = (game.Players.LocalPlayer.Name) | |
79 | ||
80 | is = (game.Players.LocalPlayer.Character) | |
81 | ||
82 | is.Head.Transparency = 1 | |
83 | ||
84 | for i,v in pairs(is:GetChildren()) do | |
85 | if v.ClassName == 'Hat' then | |
86 | v:Destroy() | |
87 | end | |
88 | end | |
89 | ||
90 | for i,v in pairs(is:GetChildren()) do | |
91 | if v.ClassName == 'Shirt' then | |
92 | v:Destroy() | |
93 | end | |
94 | end | |
95 | ||
96 | for i,v in pairs(is:GetChildren()) do | |
97 | if v.ClassName == 'Pants' then | |
98 | v:Destroy() | |
99 | end | |
100 | end | |
101 | ||
102 | ||
103 | wait() | |
104 | ||
105 | hat2 = Instance.new('Hat') | |
106 | hat2.Parent = game.Players[iz].Character | |
107 | ||
108 | handle = Instance.new('Part') | |
109 | handle.Name = 'Handle' | |
110 | handle.Parent = hat2 | |
111 | ||
112 | handlemesh = Instance.new('SpecialMesh') | |
113 | handlemesh.MeshType = 'FileMesh' | |
114 | handlemesh.MeshId = 'http://www.roblox.com/asset/?id=16973748' | |
115 | handlemesh.TextureId = 'rbxassetid://178530797' | |
116 | handlemesh.Parent = handle | |
117 | ||
118 | hat3 = Instance.new('Hat') | |
119 | hat3.Parent = game.Players[iz].Character | |
120 | ||
121 | shirt = Instance.new('Shirt') | |
122 | shirt.Parent = is | |
123 | shirt.ShirtTemplate = 'http://www.roblox.com/asset/?id=605158257' | |
124 | ||
125 | shirt = Instance.new('Pants') | |
126 | shirt.Parent = is | |
127 | - | handlemesh.MeshId = 'http://www.roblox.com/asset/?id=23265118' |
127 | + | shirt.PantsTemplate = 'http://www.roblox.com/asset/?id=24673998' |
128 | - | handlemesh.TextureId = 'rbxassetid://252864626' |
128 | + | |
129 | sound = Instance.new('Sound') | |
130 | sound.SoundId = 'http://www.roblox.com/asset/?id=132476475' | |
131 | sound.Looped = false | |
132 | sound.Parent = is.Torso | |
133 | ||
134 | local player = game.Players.LocalPlayer | |
135 | repeat wait() until player.Character.Humanoid | |
136 | - | shirt.ShirtTemplate = 'http://www.roblox.com/asset/?id=274490358' |
136 | + | |
137 | local mouse = player:GetMouse() | |
138 | ||
139 | local msg = Instance.new("Hint") | |
140 | - | shirt.PantsTemplate = 'http://www.roblox.com/asset/?id=274490617' |
140 | + | |
141 | msg.Text = "Click 'z' to get started." | |
142 | is.Humanoid.WalkSpeed = 5 | |
143 | - | sound.SoundId = 'http://www.roblox.com/asset/?id=476296898' |
143 | + | |
144 | - | sound.Looped = true |
144 | + | |
145 | if key == "z" then | |
146 | sound:Play() | |
147 | msg:Destroy() | |
148 | is.Humanoid.WalkSpeed = 90 | |
149 | is.Animate.walk.WalkAnim.AnimationId = 'http://www.roblox.com/Asset?ID=252557606' | |
150 | end | |
151 | end) | |
152 | - | local anim = Instance.new("Animation") |
152 | + | |
153 | - | anim.AnimationId = "http://www.roblox.com/Asset?ID=27789359" |
153 | + | |
154 | local humanoid = part.Parent:findFirstChild("Humanoid") | |
155 | sound1 = Instance.new('Sound') | |
156 | sound1.SoundId = 'http://www.roblox.com/asset/?id=261566877' | |
157 | sound1.Looped = false | |
158 | sound1.Parent = is.Torso | |
159 | - | is.Humanoid.WalkSpeed = 0 |
159 | + | |
160 | ||
161 | sound2 = Instance.new('Sound') | |
162 | sound2.SoundId = 'http://www.roblox.com/asset/?id=261566877' | |
163 | sound2.Looped = false | |
164 | sound2.Parent = is.Torso | |
165 | - | is.Humanoid.WalkSpeed = 30 |
165 | + | |
166 | if (humanoid ~=nil) then | |
167 | humanoid.Health = 0 | |
168 | end | |
169 | end | |
170 | ||
171 | is.Torso.Touched:connect(onTouch) |