SHOW:
|
|
- or go back to the newest paste.
1 | iz = (game.Players.LocalPlayer.Name) | |
2 | ||
3 | is = (game.Players.LocalPlayer.Character) | |
4 | ||
5 | is.Head.Transparency = 1 | |
6 | ||
7 | for i,v in pairs(is:GetChildren()) do | |
8 | if v.ClassName == 'Hat' then | |
9 | v:Destroy() | |
10 | end | |
11 | end | |
12 | ||
13 | for i,v in pairs(is:GetChildren()) do | |
14 | if v.ClassName == 'Shirt' then | |
15 | v:Destroy() | |
16 | end | |
17 | end | |
18 | ||
19 | for i,v in pairs(is:GetChildren()) do | |
20 | if v.ClassName == 'Pants' then | |
21 | v:Destroy() | |
22 | end | |
23 | end | |
24 | ||
25 | ||
26 | wait() | |
27 | ||
28 | hat1 = Instance.new('Hat') | |
29 | hat1.Parent = game.Players[iz].Character | |
30 | ||
31 | handle = Instance.new('Part') | |
32 | handle.Name = 'Handle' | |
33 | handle.Parent = hat1 | |
34 | ||
35 | handlemesh = Instance.new('SpecialMesh') | |
36 | handlemesh.MeshType = 'FileMesh' | |
37 | - | handlemesh.MeshId = 'http://www.roblox.com/asset/?id=517217000' |
37 | + | handlemesh.MeshId = 'http://www.roblox.com/asset/?id=23265118' |
38 | - | handlemesh.TextureId = 'rbxassetid://517217147' |
38 | + | handlemesh.TextureId = 'rbxassetid://252864626' |
39 | handlemesh.Parent = handle | |
40 | ||
41 | hat2 = Instance.new('Hat') | |
42 | hat2.Parent = game.Players[iz].Character | |
43 | ||
44 | shirt = Instance.new('Shirt') | |
45 | shirt.Parent = is | |
46 | - | shirt.ShirtTemplate = 'http://www.roblox.com/asset/?id=183713057' |
46 | + | shirt.ShirtTemplate = 'http://www.roblox.com/asset/?id=483714823' |
47 | ||
48 | shirt = Instance.new('Pants') | |
49 | shirt.Parent = is | |
50 | - | shirt.PantsTemplate = 'http://www.roblox.com/asset/?id=181670815' |
50 | + | shirt.PantsTemplate = 'http://www.roblox.com/asset/?id=273002960' |
51 | ||
52 | sound = Instance.new('Sound') | |
53 | - | sound.SoundId = 'http://www.roblox.com/asset/?id=453411487' —453411487 |
53 | + | sound.SoundId = 'http://www.roblox.com/asset/?id=491118865' --491118865 |
54 | sound.Looped = true | |
55 | sound.Parent = is.Torso | |
56 | sound.Volume = 999439493943949394939 | |
57 | ||
58 | local player = game.Players.LocalPlayer | |
59 | repeat wait() until player.Character.Humanoid | |
60 | local humanoid = player.Character.Humanoid | |
61 | local mouse = player:GetMouse() | |
62 | ||
63 | local anim = Instance.new("Animation") | |
64 | anim.AnimationId = "http://www.roblox.com/Asset?ID=27789359" | |
65 | ||
66 | ||
67 | local msg = Instance.new("Hint") | |
68 | msg.Parent = game.Workspace | |
69 | msg.Text = "Click 'z' to get started." | |
70 | is.Humanoid.WalkSpeed = 0 | |
71 | ||
72 | mouse.KeyDown:connect(function(key) | |
73 | if key == "z" then | |
74 | sound:Play() | |
75 | msg:Destroy() | |
76 | - | is.Humanoid.WalkSpeed = 100 |
76 | + | is.Humanoid.WalkSpeed = 50 |
77 | is.Animate.walk.WalkAnim.AnimationId = 'http://www.roblox.com/Asset?ID=252557606' | |
78 | end | |
79 | end) | |
80 | ||
81 | function onTouch(part) | |
82 | local humanoid = part.Parent:findFirstChild("Humanoid") | |
83 | sound1 = Instance.new('Sound') | |
84 | sound1.SoundId = 'http://www.roblox.com/asset/?id=160432334' | |
85 | sound1.Looped = false | |
86 | sound1.Parent = is.Torso | |
87 | sound1:Play() | |
88 | ||
89 | sound2 = Instance.new('Sound') | |
90 | sound2.SoundId = 'http://www.roblox.com/asset/?id=170040190' | |
91 | sound2.Looped = false | |
92 | sound2.Parent = is.Torso | |
93 | sound2:Play() | |
94 | if (humanoid ~=nil) then | |
95 | humanoid.Health = 0 | |
96 | end | |
97 | end | |
98 | ||
99 | is.Torso.Touched:connect(onTouch) |