SHOW:
|
|
- or go back to the newest paste.
1 | - | player="goodguyaiden"--Your name Here or else it wont work |
1 | + | player="Magermash"--Your name Here or else it wont work |
2 | plays=game:GetService("Players") | |
3 | person=plays:FindFirstChild(player) | |
4 | local dec=Instance.new("Decal") | |
5 | c=false | |
6 | deb=false | |
7 | ----------------------------------------------------------Credit to decal makers | |
8 | --head | |
9 | htopbot="http://www.roblox.com/asset/?id=39643864" | |
10 | hface="http://www.roblox.com/asset/?id=39643800" | |
11 | hs="http://www.roblox.com/asset/?id=39643830" | |
12 | --body | |
13 | bfntbak="http://www.roblox.com/asset/?id=39644016" | |
14 | bside="http://www.roblox.com/asset/?id=39644038" | |
15 | btopbot="http://www.roblox.com/asset/?id=39644072" | |
16 | --Legs | |
17 | ltop="http://www.roblox.com/asset/?id=39644003" | |
18 | lfbot="http://www.roblox.com/asset/?id=39643926" | |
19 | lfnt="http://www.roblox.com/asset/?id=39643951" | |
20 | lbakside="http://www.roblox.com/asset/?id=39643893" | |
21 | ||
22 | if script.Parent:IsA("HopperBin") then | |
23 | print(":D") | |
24 | else | |
25 | local tol=Instance.new("HopperBin") | |
26 | tol.Name="Creeper" | |
27 | tol.Parent=plays:FindFirstChild(player).Backpack | |
28 | tol.Parent=plays:FindFirstChild(player).StarterGear | |
29 | script:clone().Parent=tol | |
30 | end | |
31 | -------------------------------------- | |
32 | function start(pos) | |
33 | person.Character=nil | |
34 | cpr=CreateCreep() | |
35 | wait(1) | |
36 | cpr.Parent=Workspace | |
37 | cpr:MakeJoints() | |
38 | cpr.Torso.CFrame=CFrame.new(pos) | |
39 | Instance.new("Humanoid").Parent=cpr | |
40 | person.Character=cpr | |
41 | c=true | |
42 | end | |
43 | ||
44 | function CreateCreep()--So much scripts here | |
45 | --Head | |
46 | local head=Instance.new("Part") | |
47 | head.FormFactor="Custom" | |
48 | head.Name="Head" | |
49 | head.Size=Vector3.new(2,2,2) | |
50 | face=dec:clone() | |
51 | face.Face="Front" | |
52 | face.Texture=hface | |
53 | face.Parent=head | |
54 | htop=dec:clone() | |
55 | htop.Face="Top" | |
56 | htop.Texture=htopbot | |
57 | htop.Parent=head | |
58 | hbot=htop:clone() | |
59 | hbot.Face="Bottom" | |
60 | hbot.Parent=head | |
61 | hsideb=dec:clone() | |
62 | hsideb.Face="Back" | |
63 | hsideb.Texture=hs | |
64 | hsideb.Parent=head | |
65 | hsidel=htop:clone() | |
66 | hsidel.Face="Left" | |
67 | hsidel.Parent=head | |
68 | hsider=htop:clone() | |
69 | hsider.Face="Right" | |
70 | hsider.Parent=head | |
71 | --Torso | |
72 | local body=Instance.new("Part") | |
73 | body.FormFactor="Custom" | |
74 | body.Name="Torso" | |
75 | body.Size=Vector3.new(2,3,1) | |
76 | bfront=dec:clone() | |
77 | bfront.Face="Front" | |
78 | bfront.Texture=bfntbak | |
79 | bfront.Parent=body | |
80 | bback=dec:clone() | |
81 | bback.Face="Back" | |
82 | bback.Texture=bfntbak | |
83 | bback.Parent=body | |
84 | bbot=dec:clone() | |
85 | bbot.Face="Bottom" | |
86 | bbot.Texture=btopbot | |
87 | bbot.Parent=body | |
88 | bleft=dec:clone() | |
89 | bleft.Face="Left" | |
90 | bleft.Texture=bside | |
91 | bleft.Parent=body | |
92 | bright=dec:clone() | |
93 | bright.Face="Right" | |
94 | bright.Texture=bside | |
95 | bright.Parent=body | |
96 | --Leg | |
97 | local Leg=Instance.new("Part") | |
98 | Leg.FormFactor="Custom" | |
99 | Leg.Size=Vector3.new(1,1.5,1) | |
100 | lf=dec:clone() | |
101 | lf.Face="Front" | |
102 | lf.Texture=lfnt | |
103 | lf.Parent=Leg | |
104 | lb=dec:clone() | |
105 | lb.Face="Back" | |
106 | lb.Texture=lbakside | |
107 | lb.Parent=Leg | |
108 | lbot=dec:clone() | |
109 | lbot.Face="Bottom" | |
110 | lbot.Texture=lfbot | |
111 | lbot.Parent=Leg | |
112 | lt=dec:clone() | |
113 | lt.Face="Top" | |
114 | lt.Texture=ltop | |
115 | lt.Parent=Leg | |
116 | ll=dec:clone() | |
117 | ll.Face="Left" | |
118 | ll.Texture=lbakside | |
119 | ll.Parent=Leg | |
120 | lr=dec:clone() | |
121 | lr.Face="Right" | |
122 | lr.Texture=lbakside | |
123 | lr.Parent=Leg | |
124 | ---Modding | |
125 | creep=Instance.new("Model") | |
126 | creep.Name="Creeper" | |
127 | head.Parent=creep | |
128 | body.Parent=creep | |
129 | headweld=Instance.new("Weld") | |
130 | headweld.C0=CFrame.new(0,2.5,0) | |
131 | headweld.Part0=body | |
132 | headweld.Part1=head | |
133 | headweld.Name="Neck" | |
134 | headweld.Parent=body | |
135 | lega=Leg:clone() | |
136 | legb=Leg:clone() | |
137 | legc=Leg:clone() | |
138 | legd=Leg:clone() | |
139 | lega.Name="Right Leg" | |
140 | legb.Name="Left Leg" | |
141 | legc.Name="Right Arm" | |
142 | legd.Name="Left Arm" | |
143 | ---more cframe T_T | |
144 | lega.Parent=creep | |
145 | legb.Parent=creep | |
146 | legc.Parent=creep | |
147 | legd.Parent=creep | |
148 | ||
149 | prophipa=Instance.new("Motor") | |
150 | prophipa.C0=CFrame.new(0.5, -2.25000025, 1, 1, 0, 0, 0, 1, 0, 0, 0, 1) | |
151 | prophipa.C1=CFrame.Angles(0,0,0) | |
152 | prophipa.Part0=body | |
153 | prophipa.Part1=lega | |
154 | prophipa.Parent=body | |
155 | prophipa.Name="Right Hip" | |
156 | ||
157 | prophipb=Instance.new("Motor") | |
158 | prophipb.C0=CFrame.new(-0.5, -2.25000025, 1, 1, 0, 0, 0, 1, 0, 0, 0, 1) | |
159 | prophipb.C1=CFrame.new(0,0,0) | |
160 | prophipb.Part0=body | |
161 | prophipb.Part1=legb | |
162 | prophipb.Parent=body | |
163 | prophipb.Name="Left Hip" | |
164 | ||
165 | prophipaa=Instance.new("Motor") | |
166 | prophipaa.C0=CFrame.new(0.5, -2.25000025, -1, 1, 0, 0, 0, 1, 0, 0, 0, 1) | |
167 | prophipaa.C1=CFrame.new(0,0,0) | |
168 | prophipaa.Part0=body | |
169 | prophipaa.Part1=legc | |
170 | prophipaa.Parent=body | |
171 | prophipaa.Name="Right Shoulder" | |
172 | ||
173 | prophipba=Instance.new("Motor") | |
174 | prophipba.C0=CFrame.new(-0.5, -2.25000025, -1, 1, 0, 0, 0, 1, 0, 0, 0, 1) | |
175 | prophipba.C1=CFrame.new(0,0,0) | |
176 | prophipba.Part0=body | |
177 | prophipba.Part1=legd | |
178 | prophipba.Parent=body | |
179 | prophipba.Name="Left Shoulder" | |
180 | return creep | |
181 | end | |
182 | ||
183 | function Kees(key) | |
184 | if key == "e" then | |
185 | if deb == false then | |
186 | deb = true | |
187 | hiss=Instance.new("Sound") | |
188 | hiss.SoundId="http://www.roblox.com/asset/?id=11565378" | |
189 | hiss.Pitch=2.4 | |
190 | hiss.Parent=Workspace | |
191 | hiss:Play() | |
192 | wait(3) | |
193 | b=Instance.new("Sound") | |
194 | b.SoundId="http://www.roblox.com/asset/?id=2233908" | |
195 | b.Pitch=0.8 | |
196 | b.Parent=Workspace | |
197 | b:Play() | |
198 | game:GetService("Debris"):AddItem(b,10) | |
199 | game:GetService("Debris"):AddItem(hiss,10) | |
200 | ex=Instance.new("Explosion") | |
201 | ex.BlastRadius=40 | |
202 | ex.BlastPressure = 30234 | |
203 | ex.Position = person.Character.Torso.Position | |
204 | ex.Parent=Workspace | |
205 | deb = false | |
206 | end | |
207 | end | |
208 | end | |
209 | ||
210 | ||
211 | function EQ(mouse) | |
212 | posi=person.Character.Torso.Position | |
213 | mouse.KeyDown:connect(function(key) Kees(key) end) | |
214 | mouse.Button1Down:connect(function(uselessness) start(posi) end) | |
215 | end |