SHOW:
|
|
- or go back to the newest paste.
1 | -- Demon Blaze -- | |
2 | -- Local script -- | |
3 | -- By Immunidon -- | |
4 | ||
5 | - | person = "noobkiler5" |
5 | + | person = "thomasthong" |
6 | plyr = game:getService("Players")[person] | |
7 | mode = 1 | |
8 | speed = false | |
9 | frozen = false | |
10 | raon = true | |
11 | debby = false | |
12 | script.Parent = nil | |
13 | pcall(function() | |
14 | script.DSource.Value = "LOLWUT" | |
15 | end) | |
16 | mod = Instance.new("Model") | |
17 | mod.Parent = plyr.Character | |
18 | mod.Name = "IceMageSuit" | |
19 | function updateLooks() | |
20 | for i,v in pairs(plyr.Character:getChildren()) do | |
21 | if v:IsA("Part") then | |
22 | v.Reflectance = 0.1 | |
23 | v.TopSurface = "Smooth" | |
24 | v.BottomSurface = "Smooth" | |
25 | v.LeftSurface = "Smooth" | |
26 | v.RightSurface = "Smooth" | |
27 | v.BrickColor = BrickColor.new("black") | |
28 | v.Reflectance = 0.2 | |
29 | elseif v:IsA("Hat") then | |
30 | v:Remove() | |
31 | elseif v:IsA("Shirt") then | |
32 | v:Remove() | |
33 | elseif v:IsA("Pants") then | |
34 | v:Remove() | |
35 | end | |
36 | end | |
37 | pcall(function() | |
38 | plyr.Character.Torso.roblox:Remove() | |
39 | plyr.Character["Shirt Graphic"]:Remove() | |
40 | end) | |
41 | end | |
42 | pcall(function() | |
43 | plyr.Character.Head.face:Remove() | |
44 | end) | |
45 | updateLooks() | |
46 | -------Suit------------------------------------------------------ | |
47 | --Right arm ShoulderPad----------------------- | |
48 | rasp = Instance.new("Part") | |
49 | rasp.Parent = mod | |
50 | rasp.Locked = true | |
51 | rasp.Size = Vector3.new(1, 1, 1) | |
52 | rasp.formFactor = "Symmetric" | |
53 | rasp.BrickColor = BrickColor.new("Bright blue") | |
54 | rasp.Reflectance = 0.3 | |
55 | rasp.TopSurface = "Smooth" | |
56 | rasp.BottomSurface = "Smooth" | |
57 | m = Instance.new("SpecialMesh") | |
58 | m.MeshType = "Wedge" | |
59 | m.Parent = rasp | |
60 | m.Scale = Vector3.new(1.01,1.01,1.01) | |
61 | local Weld = Instance.new("Weld") | |
62 | Weld.Parent = rasp | |
63 | Weld.Part0 = rasp | |
64 | Weld.Part1 = plyr.Character["Right Arm"] | |
65 | Weld.C0 = CFrame.new(0,0.5,0)*CFrame.Angles(math.rad(90),math.rad(90),math.rad(90)) | |
66 | --Right arm ShoulderPad----------------------- | |
67 | lasp = Instance.new("Part") | |
68 | lasp.Parent = mod | |
69 | lasp.Locked = true | |
70 | lasp.Size = Vector3.new(1, 1, 1) | |
71 | lasp.formFactor = "Symmetric" | |
72 | lasp.BrickColor = BrickColor.new("Bright blue") | |
73 | lasp.Reflectance = 0.3 | |
74 | lasp.TopSurface = "Smooth" | |
75 | lasp.BottomSurface = "Smooth" | |
76 | m = Instance.new("SpecialMesh") | |
77 | m.MeshType = "Wedge" | |
78 | m.Parent = lasp | |
79 | m.Scale = Vector3.new(1.01,1.01,1.01) | |
80 | local Weld = Instance.new("Weld") | |
81 | Weld.Parent = lasp | |
82 | Weld.Part0 = lasp | |
83 | Weld.Part1 = plyr.Character["Left Arm"] | |
84 | Weld.C0 = CFrame.new(0,0,-0.5)*CFrame.Angles(0,math.rad(90),math.rad(90)) | |
85 | --Crystal in top------------------------------------ | |
86 | cry = Instance.new("Part") | |
87 | cry.Parent = mod | |
88 | cry.Anchored = false | |
89 | cry.Size = Vector3.new(1,1,1) | |
90 | cry.formFactor = "Symmetric" | |
91 | cry.CFrame = CFrame.new(3,3,0) | |
92 | cry.BrickColor = BrickColor.new("Bright blue") | |
93 | cry.Reflectance = 0.2 | |
94 | m = Instance.new("SpecialMesh") | |
95 | m.Parent = cry | |
96 | m.MeshId = "http://www.roblox.com/asset/?id=9756362" | |
97 | m.Scale = Vector3.new(0.2,0.5,0.2) | |
98 | local Weld = Instance.new("Weld") | |
99 | Weld.Parent = cry | |
100 | Weld.Part0 = cry | |
101 | Weld.Part1 = plyr.Character.Torso | |
102 | Weld.C0 = CFrame.new(0.7,-0.5,0.5)*CFrame.Angles(0,0,0) | |
103 | --Hood on ur head FEWL------------------------------- | |
104 | hd = Instance.new("Part") | |
105 | hd.Parent = mod | |
106 | hd.Anchored = false | |
107 | hd.Size = Vector3.new(1,1,1) | |
108 | hd.formFactor = "Symmetric" | |
109 | hd.CFrame = CFrame.new(3,3,0) | |
110 | hd.BrickColor = BrickColor.new("Really black") | |
111 | hd.Reflectance = 0.2 | |
112 | m = Instance.new("SpecialMesh") | |
113 | m.Parent = hd | |
114 | m.MeshType = "FileMesh" | |
115 | m.MeshId = "http://www.roblox.com/asset/?id=16952952" | |
116 | m.Scale = Vector3.new(1.05, 1.05, 1.05) | |
117 | local Weld = Instance.new("Weld") | |
118 | Weld.Parent = hd | |
119 | Weld.Part0 = hd | |
120 | Weld.Part1 = plyr.Character.Head | |
121 | Weld.C0 = CFrame.new(0,-0.35,0)*CFrame.Angles(0,0,0) | |
122 | --The right eye------------------------------------- | |
123 | e1 = Instance.new("Part") | |
124 | e1.Parent = mod | |
125 | e1.CanCollide = false | |
126 | e1.Locked = true | |
127 | e1.CanCollide = false | |
128 | e1.Size = Vector3.new(1, 1, 1) | |
129 | e1.formFactor = "Symmetric" | |
130 | e1.BrickColor = BrickColor.new("Institutional white") | |
131 | e1.TopSurface = "Smooth" | |
132 | e1.BottomSurface = "Smooth" | |
133 | e1.Reflectance = 0.2 | |
134 | m = Instance.new("BlockMesh") | |
135 | m.Parent = e1 | |
136 | m.Scale = Vector3.new(0.2, 0.2, 0.2) | |
137 | local Weld = Instance.new("Weld") | |
138 | Weld.Parent = e1 | |
139 | Weld.Part0 = e1 | |
140 | Weld.Part1 = plyr.Character.Head | |
141 | Weld.C0 = CFrame.new(0.2,-0.1,0.5)*CFrame.Angles(0,0,0.15) | |
142 | --The left eye---------------------------------------- | |
143 | e2 = Instance.new("Part") | |
144 | e2.Parent = mod | |
145 | e2.CanCollide = false | |
146 | e2.Locked = true | |
147 | e2.CanCollide = false | |
148 | e2.Size = Vector3.new(1, 1, 1) | |
149 | e2.formFactor = "Symmetric" | |
150 | e2.BrickColor = BrickColor.new("Institutional white") | |
151 | e2.TopSurface = "Smooth" | |
152 | e2.BottomSurface = "Smooth" | |
153 | e2.Reflectance = 0.2 | |
154 | m = Instance.new("BlockMesh") | |
155 | m.Parent = e2 | |
156 | m.Scale = Vector3.new(0.2, 0.2, 0.2) | |
157 | local Weld = Instance.new("Weld") | |
158 | Weld.Parent = e2 | |
159 | Weld.Part0 = e2 | |
160 | Weld.Part1 = plyr.Character.Head | |
161 | Weld.C0 = CFrame.new(-0.2, -0.1, 0.5)*CFrame.Angles(0,0,-0.15) | |
162 | --First arm joint---------------------------------------- | |
163 | j1 = Instance.new("Part") | |
164 | j1.Parent = mod | |
165 | j1.CanCollide = false | |
166 | j1.Locked = true | |
167 | j1.CanCollide = false | |
168 | j1.Size = Vector3.new(1, 1, 1) | |
169 | j1.formFactor = "Symmetric" | |
170 | j1.BrickColor = BrickColor.new("Really red") | |
171 | j1.TopSurface = "Smooth" | |
172 | j1.BottomSurface = "Smooth" | |
173 | j1.Transparency = 1 | |
174 | m = Instance.new("BlockMesh") | |
175 | m.Parent = j1 | |
176 | m.Scale = Vector3.new(1.1, 1.1, 1.1) | |
177 | local Weldj = Instance.new("Weld") | |
178 | Weldj.Parent = j1 | |
179 | Weldj.Part0 = j1 | |
180 | Weldj.Part1 = plyr.Character.Torso | |
181 | Weldj.C0 = CFrame.new(-1.3,-0.6,0)*CFrame.Angles(0,0,0) | |
182 | --Second arm joint---------------------------------------------------- | |
183 | j2 = Instance.new("Part") | |
184 | j2.Parent = mod | |
185 | j2.CanCollide = false | |
186 | j2.Locked = true | |
187 | j2.CanCollide = false | |
188 | j2.Size = Vector3.new(1, 1, 1) | |
189 | j2.formFactor = "Symmetric" | |
190 | j2.BrickColor = BrickColor.new("Really red") | |
191 | j2.TopSurface = "Smooth" | |
192 | j2.BottomSurface = "Smooth" | |
193 | j2.Transparency = 1 | |
194 | m = Instance.new("BlockMesh") | |
195 | m.Parent = j2 | |
196 | m.Scale = Vector3.new(1.1, 1.1, 1.1) | |
197 | local Weldj1 = Instance.new("Weld") | |
198 | Weldj1.Parent = j2 | |
199 | Weldj1.Part0 = j2 | |
200 | Weldj1.Part1 = plyr.Character.Torso | |
201 | Weldj1.C0 = CFrame.new(1.3,-0.6,0)*CFrame.Angles(0,0,0) | |
202 | --Tool----------------------------------------------------------------------------------------- | |
203 | rs = plyr.Character.Torso:FindFirstChild("Right Shoulder") | |
204 | ls = plyr.Character.Torso:FindFirstChild("Left Shoulder") | |
205 | hb = Instance.new("HopperBin") | |
206 | hb.Parent = plyr.Backpack | |
207 | hb.Name = "Demon Blaze" | |
208 | debounce = false | |
209 | function Select(mouse) | |
210 | function onKeyDown(key) | |
211 | if debounce == false then debounce = true | |
212 | key:lower() | |
213 | if string.byte(key) == 113 then | |
214 | --Laser mode------------------------------------------------------------------- | |
215 | if frozen == false then | |
216 | print("LaserActive") | |
217 | debounce = true | |
218 | rs.Parent = nil | |
219 | Weldrs = Instance.new("Weld") | |
220 | Weldrs.Parent = plyr.Character["Right Arm"] | |
221 | Weldrs.Part0 = plyr.Character["Right Arm"] | |
222 | Weldrs.Part1 = j1 | |
223 | Weldrs.Name = "Weldrs" | |
224 | Weldrs.C0 = CFrame.new(-0.2,0.6,0)*CFrame.Angles(0,0,0) | |
225 | for i = 1,15 do | |
226 | Weldrs.C1 = Weldrs.C1*CFrame.fromEulerAnglesXYZ(0.105, 0, 0) | |
227 | wait() | |
228 | end | |
229 | f1 = Instance.new("Part") | |
230 | f1.Parent = mod | |
231 | f1.CanCollide = false | |
232 | f1.Locked = true | |
233 | f1.CanCollide = false | |
234 | f1.Size = Vector3.new(1, 1, 1) | |
235 | f1.formFactor = "Symmetric" | |
236 | f1.BrickColor = BrickColor.new("institutional white") | |
237 | f1.TopSurface = "Smooth" | |
238 | f1.BottomSurface = "Smooth" | |
239 | f1.Transparency = 0 | |
240 | f1.Reflectance = 0.2 | |
241 | m1 = Instance.new("SpecialMesh") | |
242 | m1.MeshType = "Sphere" | |
243 | m1.Parent = f1 | |
244 | m1.Scale = Vector3.new(0, 0, 0) | |
245 | local Weld = Instance.new("Weld") | |
246 | Weld.Parent = f1 | |
247 | Weld.Part0 = f1 | |
248 | Weld.Part1 = plyr.Character["Right Arm"] | |
249 | Weld.C0 = CFrame.new(0,1,0)*CFrame.Angles(0,0,0) | |
250 | f2 = Instance.new("Part") | |
251 | f2.Parent = mod | |
252 | f2.CanCollide = false | |
253 | f2.Locked = true | |
254 | f2.CanCollide = false | |
255 | f2.Size = Vector3.new(1, 1, 1) | |
256 | f2.formFactor = "Symmetric" | |
257 | f2.BrickColor = BrickColor.new("institutional white") | |
258 | f2.TopSurface = "Smooth" | |
259 | f2.BottomSurface = "Smooth" | |
260 | f2.Transparency = 1 | |
261 | f2.Reflectance = 0.2 | |
262 | m2 = Instance.new("SpecialMesh") | |
263 | m2.MeshType = "Sphere" | |
264 | m2.Parent = f2 | |
265 | m2.Scale = Vector3.new(0, 0, 0) | |
266 | local Weld = Instance.new("Weld") | |
267 | Weld.Parent = f2 | |
268 | Weld.Part0 = f2 | |
269 | Weld.Part1 = f1 | |
270 | Weld.C0 = CFrame.new(0,0,0)*CFrame.Angles(0,0,0) | |
271 | f3 = Instance.new("Part") | |
272 | f3.Parent = mod | |
273 | f3.CanCollide = false | |
274 | f3.Locked = true | |
275 | f3.CanCollide = false | |
276 | f3.Size = Vector3.new(1, 1, 1) | |
277 | f3.formFactor = "Symmetric" | |
278 | f3.BrickColor = BrickColor.new("institutional white") | |
279 | f3.TopSurface = "Smooth" | |
280 | f3.BottomSurface = "Smooth" | |
281 | f3.Transparency = 1 | |
282 | f3.Reflectance = 0.2 | |
283 | m3 = Instance.new("SpecialMesh") | |
284 | m3.MeshId = "http://www.roblox.com/asset/?id=20329976" | |
285 | m3.Parent = f3 | |
286 | m3.Scale = Vector3.new(0, 0, 0) | |
287 | local Weld = Instance.new("Weld") | |
288 | Weld.Parent = f3 | |
289 | Weld.Part0 = f3 | |
290 | Weld.Part1 = plyr.Character["Right Arm"] | |
291 | Weld.C0 = CFrame.new(0,-1.2,0.1)*CFrame.Angles(math.pi,0,0) | |
292 | for i = 1,10 do | |
293 | m2.Scale = m2.Scale + Vector3.new(0.1,0.1,0.1) | |
294 | f2.Transparency = f2.Transparency - 0.05 | |
295 | wait() | |
296 | end | |
297 | for ind = 1,2 do | |
298 | for i = 1,10 do | |
299 | m1.Scale = m1.Scale + Vector3.new(0.1,0.1,0.1) | |
300 | f1.Transparency = f1.Transparency + 0.1 | |
301 | wait() | |
302 | end | |
303 | m1.Scale = Vector3.new(0,0,0) | |
304 | f1.Transparency = 0 | |
305 | end | |
306 | for i = 1,20 do | |
307 | m3.Scale = m3.Scale + Vector3.new(0.035,0.035,0.035) | |
308 | f3.Transparency = f3.Transparency - 0.03 | |
309 | wait() | |
310 | end | |
311 | mp = mouse.Hit.p | |
312 | p = Instance.new("Part") | |
313 | p.Parent = mod | |
314 | p.Locked = true | |
315 | p.Transparency = 0.4 | |
316 | p.CanCollide = false | |
317 | p.BrickColor = BrickColor.new("institutional white") | |
318 | p.Anchored = true | |
319 | p.Reflectance = 0.2 | |
320 | p.Size = Vector3.new(1,(f2.Position-mp).magnitude,1) | |
321 | p.CFrame = CFrame.new((f2.Position+mp)/2,f2.Position)*CFrame.Angles(math.pi/2,0,0) | |
322 | mp1 = Instance.new("CylinderMesh") | |
323 | mp1.Parent = p | |
324 | mp1.Scale = Vector3.new(1,1,1) | |
325 | p3 = Instance.new("Part") | |
326 | p3.Parent = mod | |
327 | p3.Locked = true | |
328 | p3.Transparency = 0.4 | |
329 | p3.CanCollide = false | |
330 | p3.BrickColor = BrickColor.new("institutional white") | |
331 | p3.Anchored = true | |
332 | p3.Reflectance = 0.2 | |
333 | p3.Size = Vector3.new(1,(f2.Position-mp).magnitude,1) | |
334 | p3.CFrame = CFrame.new((f2.Position+mp)/2,f2.Position)*CFrame.Angles(math.pi/2,0,0) | |
335 | mp2 = Instance.new("CylinderMesh") | |
336 | mp2.Parent = p3 | |
337 | mp2.Scale = Vector3.new(0.8,1,0.8) | |
338 | mt = mouse.Target | |
339 | print(mt) | |
340 | pcall(function() | |
341 | mt.Parent.Humanoid.WalkSpeed = 0 | |
342 | mt.Parent.Torso.Anchored = true | |
343 | iceb = Instance.new("Part") | |
344 | iceb.Parent = mt.Parent | |
345 | iceb.Name = "LOLURSTUCK" | |
346 | iceb.Size = Vector3.new(6,8,6) | |
347 | iceb.BrickColor = BrickColor.new("black") | |
348 | iceb.Reflectance = 0.3 | |
349 | iceb.Transparency = 0.4 | |
350 | iceb.Anchored = true | |
351 | iceb.TopSurface = "Smooth" | |
352 | iceb.BottomSurface = "Smooth" | |
353 | iceb.CFrame = mt.Parent.Torso.CFrame | |
354 | delay(2,function() | |
355 | for i = 1,20 do | |
356 | pcall(function() | |
357 | iceb.Transparency = iceb.Transparency + 0.02 | |
358 | end) | |
359 | wait() | |
360 | end | |
361 | iceb:Remove() | |
362 | mt.Parent.Humanoid.WalkSpeed = 16 | |
363 | mt.Parent.Torso.Anchored = false | |
364 | end) | |
365 | end) | |
366 | pcall(function() | |
367 | mt.Parent.Parent.Humanoid.WalkSpeed = 0 | |
368 | mt.Parent.Parent.Torso.Anchored = true | |
369 | iceb = Instance.new("Part") | |
370 | iceb.Parent = mt.Parent.Parent | |
371 | iceb.Name = "LOLURSTUCK" | |
372 | iceb.Size = Vector3.new(6,8,6) | |
373 | iceb.BrickColor = BrickColor.new("black") | |
374 | iceb.Reflectance = 0.3 | |
375 | iceb.Transparency = 0.4 | |
376 | iceb.Anchored = true | |
377 | iceb.TopSurface = "Smooth" | |
378 | iceb.BottomSurface = "Smooth" | |
379 | iceb.CFrame = mt.Parent.Parent.Torso.CFrame | |
380 | delay(2,function() | |
381 | for i = 1,20 do | |
382 | pcall(function() | |
383 | iceb.Transparency = iceb.Transparency + 0.02 | |
384 | end) | |
385 | wait() | |
386 | end | |
387 | iceb:Remove() | |
388 | mt.Parent.Parent.Humanoid.WalkSpeed = 16 | |
389 | mt.Parent.Parent.Torso.Anchored = false | |
390 | end) | |
391 | end) | |
392 | wait(0.5) | |
393 | for i = 1,20 do | |
394 | p.Transparency = p.Transparency - 0.05 | |
395 | p3.Transparency = p.Transparency - 0.05 | |
396 | mp1.Scale = mp1.Scale - Vector3.new(0.05,0,0.05) | |
397 | mp2.Scale = mp1.Scale - Vector3.new(0.05,0,0.05) | |
398 | wait() | |
399 | end | |
400 | p:Remove() | |
401 | p3:Remove() | |
402 | for i = 1,10 do | |
403 | m2.Scale = m2.Scale - Vector3.new(0.1,0.1,0.1) | |
404 | f2.Transparency = f2.Transparency + 0.05 | |
405 | m3.Scale = m3.Scale - Vector3.new(0.07,0.07,0.07) | |
406 | f3.Transparency = f3.Transparency + 0.06 | |
407 | wait() | |
408 | end | |
409 | f1:Remove() | |
410 | f2:Remove() | |
411 | f3:Remove() | |
412 | for i = 1,15 do | |
413 | Weldrs.C1 = Weldrs.C1*CFrame.fromEulerAnglesXYZ(-0.105, 0, 0) | |
414 | wait() | |
415 | end | |
416 | if rs ~= nil then | |
417 | rs.Parent = plyr.Character.Torso | |
418 | wcer = plyr.Character["Right Arm"]:findFirstChild("Weldrs") | |
419 | if wcer ~= nil then | |
420 | wcer:Remove() | |
421 | end | |
422 | end | |
423 | debounce = false | |
424 | end | |
425 | --Spear attack mode--------------------------------------------------------- | |
426 | elseif string.byte(key) == 122 then | |
427 | if frozen == false then | |
428 | print("Spear mode active") | |
429 | debounce = true | |
430 | rs.Parent = nil | |
431 | Weldrs = Instance.new("Weld") | |
432 | Weldrs.Parent = plyr.Character["Right Arm"] | |
433 | Weldrs.Part0 = plyr.Character["Right Arm"] | |
434 | Weldrs.Part1 = j1 | |
435 | Weldrs.Name = "Weldrs" | |
436 | Weldrs.C0 = CFrame.new(-0.2,0.6,0)*CFrame.Angles(0,0,0) | |
437 | for i = 1,15 do | |
438 | Weldrs.C1 = Weldrs.C1*CFrame.fromEulerAnglesXYZ(0, 0, 0.17) | |
439 | wait() | |
440 | end | |
441 | sm = Instance.new("Part") | |
442 | sm.Parent = mod | |
443 | sm.Locked = true | |
444 | sm.Size = Vector3.new(1, 1, 1) | |
445 | sm.formFactor = "Symmetric" | |
446 | sm.BrickColor = BrickColor.new("Really black") | |
447 | sm.Transparency = 1 | |
448 | sm.TopSurface = "Smooth" | |
449 | sm.CanCollide = false | |
450 | sm.BottomSurface = "Smooth" | |
451 | sm.Reflectance = 0.2 | |
452 | m = Instance.new("CylinderMesh") | |
453 | m.Parent = sm | |
454 | m.Scale = Vector3.new(0.3, 5, 0.3) | |
455 | local Weldx = Instance.new("Weld") | |
456 | Weldx.Parent = sm | |
457 | Weldx.Part0 = sm | |
458 | Weldx.Part1 = plyr.Character["Right Arm"] | |
459 | Weldx.C0 = CFrame.new(0, 0, -1.15)*CFrame.Angles(-1.559,0,0) | |
460 | sp = Instance.new("Part") | |
461 | sp.Parent = mod | |
462 | sp.Anchored = false | |
463 | sp.Size = Vector3.new(1,1,1) | |
464 | sp.formFactor = "Symmetric" | |
465 | sp.BrickColor = BrickColor.new("Really black") | |
466 | sp.Transparency = 1 | |
467 | sp.CanCollide = false | |
468 | sp.TopSurface = "Smooth" | |
469 | sp.BottomSurface = "Smooth" | |
470 | sp.Reflectance = 0.2 | |
471 | m = Instance.new("SpecialMesh") | |
472 | m.Parent = sp | |
473 | m.MeshId = "http://www.roblox.com/asset/?id=1033714" | |
474 | m.Scale = Vector3.new(0.15,0.5,0.15) | |
475 | local Weld = Instance.new("Weld") | |
476 | Weld.Parent = sp | |
477 | Weld.Part0 = sp | |
478 | Weld.Part1 = sm | |
479 | Weld.C0 = CFrame.new(0,-2.7,0)*CFrame.Angles(math.rad(180) ,0,0) | |
480 | for i = 1,20 do | |
481 | sm.Transparency = sm.Transparency - 0.05 | |
482 | sp.Transparency = sp.Transparency - 0.05 | |
483 | wait() | |
484 | end | |
485 | wait(0.2) | |
486 | for i = 1,10 do | |
487 | Weldrs.C1 = Weldrs.C1*CFrame.fromEulerAnglesXYZ(-0.1, 0, 0) | |
488 | wait() | |
489 | end | |
490 | wait(0.2) | |
491 | deb0z = false | |
492 | function onTouch(hit) | |
493 | if hit.Parent:findFirstChild("Humanoid") ~= nil then | |
494 | if deb0z == false then deb0z = true | |
495 | hit.Parent:BreakJoints() | |
496 | wait(0.2) | |
497 | deb0z = false | |
498 | end | |
499 | end | |
500 | end | |
501 | sp.Touched:connect(onTouch) | |
502 | function onTouch(hit) | |
503 | if hit.Parent:findFirstChild("Humanoid") ~= nil then | |
504 | if deb0z == false then deb0z = true | |
505 | hit.Parent:BreakJoints() | |
506 | wait(0.2) | |
507 | deb0z = false | |
508 | end | |
509 | end | |
510 | end | |
511 | sm.Touched:connect(onTouch) | |
512 | for ind = 1,4 do | |
513 | for i = 1,6 do | |
514 | Weldrs.C1 = Weldrs.C1*CFrame.fromEulerAnglesXYZ(0.4, -0.008, 0.008) | |
515 | wait() | |
516 | end | |
517 | for i = 1,6 do | |
518 | Weldrs.C1 = Weldrs.C1*CFrame.fromEulerAnglesXYZ(-0.4, 0.008, -0.008) | |
519 | wait() | |
520 | end | |
521 | end | |
522 | for i = 1,10 do | |
523 | Weldrs.C1 = Weldrs.C1*CFrame.fromEulerAnglesXYZ(0.1, 0, 0) | |
524 | wait() | |
525 | end | |
526 | for i = 1,20 do | |
527 | sm.Transparency = sm.Transparency + 0.05 | |
528 | sp.Transparency = sp.Transparency + 0.05 | |
529 | wait() | |
530 | end | |
531 | sm:Remove() | |
532 | sp:Remove() | |
533 | for i = 1,15 do | |
534 | Weldrs.C1 = Weldrs.C1*CFrame.fromEulerAnglesXYZ(0, 0, -0.17) | |
535 | wait() | |
536 | end | |
537 | if rs ~= nil then | |
538 | rs.Parent = plyr.Character.Torso | |
539 | wcer = plyr.Character["Right Arm"]:findFirstChild("Weldrs") | |
540 | if wcer ~= nil then | |
541 | wcer:Remove() | |
542 | end | |
543 | end | |
544 | debounce = false | |
545 | end | |
546 | --Shift speed clones--------------------------------------------------------- | |
547 | elseif string.byte(key) == 48 then | |
548 | if frozen == false then | |
549 | if speed == false then | |
550 | speed = true | |
551 | plyr.Character.Humanoid.WalkSpeed = 30 | |
552 | print("Speed active") | |
553 | else | |
554 | speed = false | |
555 | plyr.Character.Humanoid.WalkSpeed = 16 | |
556 | print("Speed unactive") | |
557 | end | |
558 | end | |
559 | --BOMB DROP :3------------------------------------------------------------- | |
560 | elseif string.byte(key) == 101 then | |
561 | if frozen == false then | |
562 | rs.Parent = nil | |
563 | Weldrs = Instance.new("Weld") | |
564 | Weldrs.Parent = plyr.Character["Right Arm"] | |
565 | Weldrs.Part0 = plyr.Character["Right Arm"] | |
566 | Weldrs.Part1 = j1 | |
567 | Weldrs.Name = "Weldrs" | |
568 | Weldrs.C0 = CFrame.new(-0.2,0.6,0)*CFrame.Angles(0,0,0) | |
569 | for i = 1,15 do | |
570 | Weldrs.C1 = Weldrs.C1*CFrame.fromEulerAnglesXYZ(0.105, 0, 0) | |
571 | wait() | |
572 | end | |
573 | bomb = Instance.new("Part") | |
574 | bomb.Parent = workspace | |
575 | bomb.Anchored = false | |
576 | bomb.Size = Vector3.new(1,1,1) | |
577 | bomb.formFactor = "Symmetric" | |
578 | bomb.CFrame = plyr.Character.Torso.CFrame | |
579 | bomb.BrickColor = BrickColor.new("Bright blue") | |
580 | bomb.Reflectance = 0.3 | |
581 | m = Instance.new("SpecialMesh") | |
582 | m.Parent = bomb | |
583 | m.MeshId = "http://www.roblox.com/asset/?id=24388358" | |
584 | m.Scale = Vector3.new(1,1,1) | |
585 | for i = 1,15 do | |
586 | Weldrs.C1 = Weldrs.C1*CFrame.fromEulerAnglesXYZ(-0.105, 0, 0) | |
587 | wait() | |
588 | end | |
589 | if rs ~= nil then | |
590 | rs.Parent = plyr.Character.Torso | |
591 | wcer = plyr.Character["Right Arm"]:findFirstChild("Weldrs") | |
592 | if wcer ~= nil then | |
593 | wcer:Remove() | |
594 | end | |
595 | end | |
596 | wait(1) | |
597 | e = Instance.new("Explosion") | |
598 | e.Parent = bomb | |
599 | e.Position = bomb.Position | |
600 | e.BlastRadius = 10 | |
601 | game:getService("Debris"):AddItem(bomb,1) | |
602 | end | |
603 | --Frozen in TIME----------------------------------------------------------- | |
604 | elseif string.byte(key) == 114 then | |
605 | if frozen == false then | |
606 | frozen = true | |
607 | speed = false | |
608 | rs.Parent = nil | |
609 | ls.Parent = nil | |
610 | Weldrs = Instance.new("Weld") | |
611 | Weldrs.Parent = plyr.Character["Right Arm"] | |
612 | Weldrs.Part0 = plyr.Character["Right Arm"] | |
613 | Weldrs.Part1 = j1 | |
614 | Weldrs.Name = "Weldrs" | |
615 | Weldrs.C0 = CFrame.new(-0.2,0.6,0)*CFrame.Angles(0,0,0) | |
616 | Weldls = Instance.new("Weld") | |
617 | Weldls.Parent = plyr.Character["Left Arm"] | |
618 | Weldls.Part0 = plyr.Character["Left Arm"] | |
619 | Weldls.Part1 = j2 | |
620 | Weldls.Name = "Weldls" | |
621 | Weldls.C0 = CFrame.new(0.2,0.6,0)*CFrame.Angles(0,0,0) | |
622 | for i = 1,12 do | |
623 | Weldrs.C1 = Weldrs.C1*CFrame.fromEulerAnglesXYZ(0, 0, 0.15) | |
624 | Weldls.C1 = Weldls.C1*CFrame.fromEulerAnglesXYZ(0, 0, -0.15) | |
625 | wait() | |
626 | end | |
627 | psh = Instance.new("Part") | |
628 | psh.Parent = mod | |
629 | psh.Name = "FrozenShield" | |
630 | psh.Anchored = true | |
631 | psh.Size = Vector3.new(15,15,15) | |
632 | psh.CFrame = plyr.Character.Torso.CFrame + Vector3.new(0,4.5,0) | |
633 | psh.Reflectance = 0.2 | |
634 | psh.BrickColor = BrickColor.new("black") | |
635 | psh.Transparency = 0.5 | |
636 | psh.TopSurface = "Smooth" | |
637 | psh.BottomSurface = "Smooth" | |
638 | plyr.Character.Torso.Anchored = true | |
639 | plyr.Character.Humanoid.WalkSpeed = 0 | |
640 | ff = Instance.new("ForceField") | |
641 | ff.Parent = plyr.Character | |
642 | plyr.Character.Humanoid.Health = math.huge | |
643 | ff = Instance.new("ForceField") | |
644 | ff.Parent = mod | |
645 | else | |
646 | frozen = false | |
647 | for i = 1,12 do | |
648 | Weldrs.C1 = Weldrs.C1*CFrame.fromEulerAnglesXYZ(0, 0, -0.15) | |
649 | Weldls.C1 = Weldls.C1*CFrame.fromEulerAnglesXYZ(0, 0, 0.15) | |
650 | wait() | |
651 | end | |
652 | for i,v in pairs(plyr.Character:getChildren()) do | |
653 | if v:IsA("ForceField") then | |
654 | v:Remove() | |
655 | end | |
656 | end | |
657 | for i,v in pairs(mod:getChildren()) do | |
658 | if v:IsA("ForceField") then | |
659 | v:Remove() | |
660 | end | |
661 | end | |
662 | for i = 1,10 do | |
663 | psh.Transparency = psh.Transparency + 0.05 | |
664 | wait() | |
665 | end | |
666 | psh:Remove() | |
667 | if rs ~= nil then | |
668 | rs.Parent = plyr.Character.Torso | |
669 | end | |
670 | if ls ~= nil then | |
671 | ls.Parent = plyr.Character.Torso | |
672 | end | |
673 | wcer = plyr.Character["Right Arm"]:findFirstChild("Weldrs") | |
674 | if wcer ~= nil then | |
675 | wcer:Remove() | |
676 | end | |
677 | wcel = plyr.Character["Left Arm"]:findFirstChild("Weldls") | |
678 | if wcer ~= nil then | |
679 | wcel:Remove() | |
680 | end | |
681 | plyr.Character.Torso.Anchored = false | |
682 | plyr.Character.Humanoid.WalkSpeed = 16 | |
683 | plyr.Character.Humanoid.Health = 100 | |
684 | end | |
685 | --grab--------------------------------------------------------------------- | |
686 | elseif string.byte(key) == 103 then | |
687 | if frozen == false and speed == false then | |
688 | if mouse.Target ~= nil then | |
689 | rs.Parent = nil | |
690 | Weldrs = Instance.new("Weld") | |
691 | Weldrs.Parent = plyr.Character["Right Arm"] | |
692 | Weldrs.Part0 = plyr.Character["Right Arm"] | |
693 | Weldrs.Part1 = j1 | |
694 | Weldrs.Name = "Weldrs" | |
695 | Weldrs.C0 = CFrame.new(-0.2,0.6,0)*CFrame.Angles(0,0,0) | |
696 | for i = 1,15 do | |
697 | Weldrs.C1 = Weldrs.C1*CFrame.fromEulerAnglesXYZ(0.105, 0, 0) | |
698 | wait() | |
699 | end | |
700 | humz = Instance.new("Humanoid") | |
701 | humz.Parent = mod | |
702 | humz.MaxHealth = math.huge | |
703 | mt = Instance.new("Part") | |
704 | mt.Parent = mod | |
705 | mt.CanCollide = false | |
706 | mt.Locked = true | |
707 | mt.Name = "Torso" | |
708 | mt.CanCollide = false | |
709 | mt.Size = Vector3.new(1, 1, 1) | |
710 | mt.formFactor = "Symmetric" | |
711 | mt.BrickColor = BrickColor.new("Really black") | |
712 | mt.TopSurface = "Smooth" | |
713 | mt.BottomSurface = "Smooth" | |
714 | mt.Transparency = 1 | |
715 | mt.Reflectance = 0.2 | |
716 | m1 = Instance.new("SpecialMesh") | |
717 | m1.MeshType = "Sphere" | |
718 | m1.Parent = mt | |
719 | m1.Scale = Vector3.new(0, 0, 0) | |
720 | local Weld = Instance.new("Weld") | |
721 | Weld.Parent = mt | |
722 | Weld.Part0 = mt | |
723 | Weld.Part1 = plyr.Character["Right Arm"] | |
724 | Weld.C0 = CFrame.new(0,1,0)*CFrame.Angles(0,0,0) | |
725 | mth = Instance.new("Part") | |
726 | mth.Parent = mod | |
727 | mth.CanCollide = false | |
728 | mth.Locked = true | |
729 | mth.Name = "Head" | |
730 | mth.CanCollide = false | |
731 | mth.Size = Vector3.new(1, 1, 1) | |
732 | mth.formFactor = "Symmetric" | |
733 | mth.BrickColor = BrickColor.new("Really black") | |
734 | mth.TopSurface = "Smooth" | |
735 | mth.BottomSurface = "Smooth" | |
736 | mth.Transparency = 1 | |
737 | mth.Reflectance = 0.2 | |
738 | m2 = Instance.new("SpecialMesh") | |
739 | m2.MeshType = "Sphere" | |
740 | m2.Parent = mth | |
741 | m2.Scale = Vector3.new(0, 0, 0) | |
742 | local Weld = Instance.new("Weld") | |
743 | Weld.Parent = mth | |
744 | Weld.Part0 = mth | |
745 | Weld.Part1 = mt | |
746 | Weld.C0 = CFrame.new(0, 0, 0) | |
747 | for i = 1,5 do | |
748 | m1.Scale = m1.Scale + Vector3.new(0.25,0.25,0.25) | |
749 | mt.Transparency = mt.Transparency - 0.2 | |
750 | wait() | |
751 | end | |
752 | spl = Instance.new("SelectionPointLasso") | |
753 | spl.Parent = mod | |
754 | spl.Humanoid = humz | |
755 | spl.Point = mouse.Hit.p | |
756 | spl.Color = BrickColor.new("Bright blue") | |
757 | bp = Instance.new("BodyPosition") | |
758 | bp.Parent = plyr.Character.Torso | |
759 | bp.position = mouse.Hit.p + Vector3.new(0,3,0) | |
760 | bp.maxForce = Vector3.new(100000,100000,100000) | |
761 | wait(1.5) | |
762 | for i = 1,5 do | |
763 | m1.Scale = m1.Scale + Vector3.new(-0.25,-0.25,-0.25) | |
764 | mt.Transparency = mt.Transparency + 0.2 | |
765 | wait() | |
766 | end | |
767 | bp:Remove() | |
768 | spl:Remove() | |
769 | humz:Remove() | |
770 | mt:Remove() | |
771 | mth:Remove() | |
772 | for i = 1,15 do | |
773 | Weldrs.C1 = Weldrs.C1*CFrame.fromEulerAnglesXYZ(-0.105, 0, 0) | |
774 | wait() | |
775 | end | |
776 | if rs ~= nil then | |
777 | rs.Parent = plyr.Character.Torso | |
778 | wcer = plyr.Character["Right Arm"]:findFirstChild("Weldrs") | |
779 | if wcer ~= nil then | |
780 | wcer:Remove() | |
781 | end | |
782 | end | |
783 | end | |
784 | end | |
785 | --Icy Punches--------------------------------------------------------- | |
786 | elseif string.byte(key) == 102 then | |
787 | if frozen == false then | |
788 | print("Punching NOW") | |
789 | raon = false | |
790 | debby = false | |
791 | if math.random(1,2) == 2 then --Ok, right arm punch | |
792 | rs.Parent = nil | |
793 | Weldrs = Instance.new("Weld") | |
794 | Weldrs.Parent = plyr.Character["Right Arm"] | |
795 | Weldrs.Part0 = plyr.Character["Right Arm"] | |
796 | Weldrs.Part1 = j1 | |
797 | Weldrs.Name = "Weldrs" | |
798 | Weldrs.C0 = CFrame.new(-0.2,0.6,0)*CFrame.Angles(0,0,0) | |
799 | for i = 1,5 do | |
800 | Weldrs.C1 = Weldrs.C1*CFrame.fromEulerAnglesXYZ(0.310, 0, 0) | |
801 | Weldrs.C1 = Weldrs.C1 + Vector3.new(0,0,0.170) | |
802 | wait() | |
803 | end | |
804 | wait() | |
805 | for i = 1,4 do | |
806 | Weldrs.C1 = Weldrs.C1*CFrame.fromEulerAnglesXYZ(0, 0, -0.1) | |
807 | Weldrs.C1 = Weldrs.C1 + Vector3.new(0,0,-0.41) | |
808 | wait() | |
809 | end | |
810 | wait(0.1) | |
811 | for i = 1,8 do | |
812 | Weldrs.C1 = Weldrs.C1*CFrame.fromEulerAnglesXYZ(0, 0, 0.05) | |
813 | Weldrs.C1 = Weldrs.C1 + Vector3.new(0,0,0.205) | |
814 | wait() | |
815 | end | |
816 | for i = 1,5 do | |
817 | Weldrs.C1 = Weldrs.C1*CFrame.fromEulerAnglesXYZ(-0.310, 0, 0) | |
818 | Weldrs.C1 = Weldrs.C1 + Vector3.new(0,0,-0.170) | |
819 | wait() | |
820 | end | |
821 | function onTouch(hit) | |
822 | if raon == false and hit.Parent:findFirstChild("Humanoid") ~= nil then | |
823 | if debby == false then debby = true | |
824 | hit.Parent.Humanoid:TakeDamage(math.random(10,25)) | |
825 | end | |
826 | end | |
827 | end | |
828 | plyr.Character["Right Arm"].Touched:connect(onTouch) | |
829 | if math.random(1,8) == 4 then --Will it freeze, or not? | |
830 | print("Freeeeze") | |
831 | function onTouch(hit) | |
832 | if raon == false and hit.Parent:findFirstChild("Humanoid") ~= nil then | |
833 | if hit.Parent.Torso:findFirstChild("LOLURSTUCK2") == nil then | |
834 | hit.Parent.Humanoid.WalkSpeed = 0 | |
835 | hit.Parent.Torso.Anchored = true | |
836 | iceb = Instance.new("Part") | |
837 | iceb.Parent = hit.Parent.Torso | |
838 | iceb.Name = "LOLURSTUCK2" | |
839 | iceb.Size = Vector3.new(4,8,4) | |
840 | iceb.BrickColor = BrickColor.new("black") | |
841 | iceb.Reflectance = 0.3 | |
842 | iceb.Transparency = 0.5 | |
843 | iceb.Anchored = true | |
844 | iceb.TopSurface = "Smooth" | |
845 | iceb.BottomSurface = "Smooth" | |
846 | iceb.CFrame = hit.Parent.Torso.CFrame | |
847 | delay(2,function() | |
848 | for i = 1,20 do | |
849 | pcall(function() | |
850 | iceb.Transparency = iceb.Transparency + 0.05 | |
851 | end) | |
852 | end | |
853 | hit.Parent.Humanoid.WalkSpeed = 16 | |
854 | hit.Parent.Torso.Anchored = false | |
855 | game:getService("Debris"):AddItem(iceb,0) | |
856 | end) | |
857 | end | |
858 | end | |
859 | end | |
860 | plyr.Character["Right Arm"].Touched:connect(onTouch) | |
861 | end | |
862 | if rs ~= nil then | |
863 | rs.Parent = plyr.Character.Torso | |
864 | wcer = plyr.Character["Right Arm"]:findFirstChild("Weldrs") | |
865 | if wcer ~= nil then | |
866 | wcer:Remove() | |
867 | end | |
868 | end | |
869 | else | |
870 | ls.Parent = nil | |
871 | Weldls = Instance.new("Weld") | |
872 | Weldls.Parent = plyr.Character["Left Arm"] | |
873 | Weldls.Part0 = plyr.Character["Left Arm"] | |
874 | Weldls.Part1 = j2 | |
875 | Weldls.Name = "Weldls" | |
876 | Weldls.C0 = CFrame.new(0.2,0.6,0)*CFrame.Angles(0,0,0) | |
877 | for i = 1,5 do | |
878 | Weldls.C1 = Weldls.C1*CFrame.fromEulerAnglesXYZ(0.310, 0, 0) | |
879 | Weldls.C1 = Weldls.C1 + Vector3.new(0,0,0.170) | |
880 | wait() | |
881 | end | |
882 | wait() | |
883 | for i = 1,4 do | |
884 | Weldls.C1 = Weldls.C1*CFrame.fromEulerAnglesXYZ(0, 0, 0.1) | |
885 | Weldls.C1 = Weldls.C1 + Vector3.new(0,0,-0.41) | |
886 | wait() | |
887 | end | |
888 | wait(0.1) | |
889 | for i = 1,8 do | |
890 | Weldls.C1 = Weldls.C1*CFrame.fromEulerAnglesXYZ(0, 0, -0.05) | |
891 | Weldls.C1 = Weldls.C1 + Vector3.new(0,0,0.205) | |
892 | wait() | |
893 | end | |
894 | for i = 1,5 do | |
895 | Weldls.C1 = Weldls.C1*CFrame.fromEulerAnglesXYZ(-0.310, 0, 0) | |
896 | Weldls.C1 = Weldls.C1 + Vector3.new(0,0,-0.170) | |
897 | wait() | |
898 | end | |
899 | function onTouch(hit) | |
900 | if raon == false and hit.Parent:findFirstChild("Humanoid") ~= nil then | |
901 | if debby == false then debby = true | |
902 | hit.Parent.Humanoid:TakeDamage(math.random(10,25)) | |
903 | end | |
904 | end | |
905 | end | |
906 | plyr.Character["Left Arm"].Touched:connect(onTouch) | |
907 | if math.random(1,8) == 4 then --Will it freeze, or not? | |
908 | print("Freeeeze") | |
909 | function onTouch(hit) | |
910 | if raon == false and hit.Parent:findFirstChild("Humanoid") ~= nil then | |
911 | if hit.Parent.Torso:findFirstChild("LOLURSTUCK2") == nil then | |
912 | hit.Parent.Humanoid.WalkSpeed = 0 | |
913 | hit.Parent.Torso.Anchored = true | |
914 | iceb = Instance.new("Part") | |
915 | iceb.Parent = hit.Parent.Torso | |
916 | iceb.Name = "LOLURSTUCK2" | |
917 | iceb.Size = Vector3.new(4,8,4) | |
918 | iceb.BrickColor = BrickColor.new("black") | |
919 | iceb.Reflectance = 0.3 | |
920 | iceb.Transparency = 0.5 | |
921 | iceb.Anchored = true | |
922 | iceb.TopSurface = "Smooth" | |
923 | iceb.BottomSurface = "Smooth" | |
924 | iceb.CFrame = hit.Parent.Torso.CFrame | |
925 | delay(2,function() | |
926 | for i = 1,20 do | |
927 | pcall(function() | |
928 | iceb.Transparency = iceb.Transparency + 0.05 | |
929 | end) | |
930 | wait() | |
931 | end | |
932 | hit.Parent.Humanoid.WalkSpeed = 16 | |
933 | hit.Parent.Torso.Anchored = false | |
934 | game:getService("Debris"):AddItem(iceb,0) | |
935 | end) | |
936 | end | |
937 | end | |
938 | end | |
939 | plyr.Character["Left Arm"].Touched:connect(onTouch) | |
940 | end | |
941 | if ls ~= nil then | |
942 | ls.Parent = plyr.Character.Torso | |
943 | wcer = plyr.Character["Left Arm"]:findFirstChild("Weldls") | |
944 | if wcer ~= nil then | |
945 | wcer:Remove() | |
946 | end | |
947 | end | |
948 | end | |
949 | end | |
950 | raon = true | |
951 | --Crystal Teleport-------------------------------------------------- | |
952 | elseif string.byte(key) == 116 then | |
953 | if frozen == false then | |
954 | print("Teleporting") | |
955 | rs.Parent = nil | |
956 | Weldrs = Instance.new("Weld") | |
957 | Weldrs.Parent = plyr.Character["Right Arm"] | |
958 | Weldrs.Part0 = plyr.Character["Right Arm"] | |
959 | Weldrs.Part1 = j1 | |
960 | Weldrs.Name = "Weldrs" | |
961 | Weldrs.C0 = CFrame.new(-0.2,0.6,0)*CFrame.Angles(0,0,0) | |
962 | cry2 = Instance.new("Part") | |
963 | cry2.Parent = mod | |
964 | cry2.Anchored = false | |
965 | cry2.Size = Vector3.new(1,1,1) | |
966 | cry2.formFactor = "Symmetric" | |
967 | cry2.CFrame = CFrame.new(3,3,0) | |
968 | cry2.BrickColor = BrickColor.new("really black") | |
969 | cry2.Reflectance = 0.3 | |
970 | mc2 = Instance.new("SpecialMesh") | |
971 | mc2.Parent = cry2 | |
972 | mc2.MeshId = "http://www.roblox.com/asset/?id=9756362" | |
973 | mc2.Scale = Vector3.new(0.2,0.5,0.2) | |
974 | local Weld = Instance.new("Weld") | |
975 | Weld.Parent = cry2 | |
976 | Weld.Part0 = cry2 | |
977 | Weld.Part1 = plyr.Character.Torso | |
978 | Weld.C0 = CFrame.new(0,0,0)*CFrame.Angles(0,0,0) | |
979 | for i = 1,7 do | |
980 | Weldrs.C1 = Weldrs.C1*CFrame.fromEulerAnglesXYZ(0.220, 0, 0) | |
981 | wait() | |
982 | end | |
983 | for i = 1,15 do | |
984 | Weldrs.C1 = Weldrs.C1*CFrame.fromEulerAnglesXYZ(0, 0, -0.1) | |
985 | Weldrs.C1 = Weldrs.C1 + Vector3.new(0,0,-0.05) | |
986 | Weldrs.C1 = Weldrs.C1 + Vector3.new(-0.05,0,0) | |
987 | wait() | |
988 | end | |
989 | for i = 1,10 do | |
990 | plyr.Character.Torso.CFrame = plyr.Character.Torso.CFrame + Vector3.new(0,1,0) | |
991 | wait() | |
992 | end | |
993 | delay(0.001, function() | |
994 | for i = 1,15 do | |
995 | mc2.Scale = mc2.Scale + Vector3.new(0.4,0.52,0.4) | |
996 | wait() | |
997 | end | |
998 | end) | |
999 | plyr.Character.Torso.Anchored = true | |
1000 | plyr.Character.Humanoid.WalkSpeed = 0 | |
1001 | wait(0.1) | |
1002 | for i = 1,15 do | |
1003 | Weldrs.C1 = Weldrs.C1*CFrame.fromEulerAnglesXYZ(0, 0, 0.1) | |
1004 | Weldrs.C1 = Weldrs.C1 + Vector3.new(0,0,0.05) | |
1005 | Weldrs.C1 = Weldrs.C1 + Vector3.new(0.05,0,0) | |
1006 | wait() | |
1007 | end | |
1008 | for i = 1,7 do | |
1009 | Weldrs.C1 = Weldrs.C1*CFrame.fromEulerAnglesXYZ(-0.220, 0, 0) | |
1010 | wait() | |
1011 | end | |
1012 | plyr.Character.Torso.Anchored = false | |
1013 | plyr.Character:MoveTo(mouse.Hit.p + Vector3.new(0,10,0) ) | |
1014 | plyr.Character.Torso.Anchored = true | |
1015 | delay(0.2, function() | |
1016 | for i = 1,15 do | |
1017 | mc2.Scale = mc2.Scale + Vector3.new(-0.4,-0.52,-0.4) | |
1018 | wait() | |
1019 | end | |
1020 | end) | |
1021 | wait(0.2) | |
1022 | plyr.Character.Torso.Anchored = false | |
1023 | plyr.Character.Humanoid.WalkSpeed = 16 | |
1024 | if rs ~= nil then | |
1025 | rs.Parent = plyr.Character.Torso | |
1026 | wcer = plyr.Character["Right Arm"]:findFirstChild("Weldrs") | |
1027 | if wcer ~= nil then | |
1028 | wcer:Remove() | |
1029 | end | |
1030 | end | |
1031 | end | |
1032 | --Spike now------------------------------------------------------------ | |
1033 | elseif string.byte(key) == 120 then | |
1034 | print("Spike Active") | |
1035 | debun = false | |
1036 | Weldrs = Instance.new("Weld") | |
1037 | Weldrs.Parent = plyr.Character["Right Arm"] | |
1038 | Weldrs.Part0 = plyr.Character["Right Arm"] | |
1039 | Weldrs.Part1 = j1 | |
1040 | Weldrs.Name = "Weldrs" | |
1041 | Weldrs.C0 = CFrame.new(-0.2,0.6,0)*CFrame.Angles(0,0,0) | |
1042 | sp = Instance.new("Part") | |
1043 | sp.Parent = workspace | |
1044 | sp.Name = "DeathSpike" | |
1045 | sp.Anchored = true | |
1046 | sp.Size = Vector3.new(1,10,1) | |
1047 | sp.formFactor = "Symmetric" | |
1048 | sp.BrickColor = BrickColor.new("institutional white") | |
1049 | sp.Transparency = 0.4 | |
1050 | sp.CanCollide = false | |
1051 | sp.TopSurface = "Smooth" | |
1052 | sp.BottomSurface = "Smooth" | |
1053 | sp.Reflectance = 0.3 | |
1054 | m = Instance.new("SpecialMesh") | |
1055 | m.Parent = sp | |
1056 | m.MeshId = "http://www.roblox.com/asset/?id=1033714" | |
1057 | m.Scale = Vector3.new(1,10,1) | |
1058 | sp2 = Instance.new("Part") | |
1059 | sp2.Parent = workspace | |
1060 | sp2.Name = "DeathSpikeInside" | |
1061 | sp2.Anchored = true | |
1062 | sp2.Size = Vector3.new(1,10,1) | |
1063 | sp2.formFactor = "Symmetric" | |
1064 | sp2.BrickColor = BrickColor.new("institutional white") | |
1065 | sp2.Transparency = 0 | |
1066 | sp2.CanCollide = false | |
1067 | sp2.TopSurface = "Smooth" | |
1068 | sp2.BottomSurface = "Smooth" | |
1069 | sp2.Reflectance = 0.2 | |
1070 | m = Instance.new("SpecialMesh") | |
1071 | m.Parent = sp2 | |
1072 | m.MeshId = "http://www.roblox.com/asset/?id=1033714" | |
1073 | m.Scale = Vector3.new(1,10,1) | |
1074 | mp = mouse.Hit.p | |
1075 | mpx = mp.X | |
1076 | mpy = mp.Y | |
1077 | mpz = mp.Z | |
1078 | sp.CFrame = CFrame.new(mpx,workspace.Base.Position.Y - 5,mpz) | |
1079 | sp2.CFrame = sp.CFrame + Vector3.new(0,-1,0) | |
1080 | wait() | |
1081 | delay(0,function() | |
1082 | for i = 1,15 do | |
1083 | Weldrs.C1 = Weldrs.C1*CFrame.fromEulerAnglesXYZ(0.105, 0, 0) | |
1084 | wait() | |
1085 | end | |
1086 | end) | |
1087 | for i = 1,17 do | |
1088 | sp.CFrame = sp.CFrame + Vector3.new(0,0.5,0) | |
1089 | sp2.CFrame = sp2.CFrame + Vector3.new(0,0.5,0) | |
1090 | wait() | |
1091 | end | |
1092 | debun = false | |
1093 | function onTouch(hit) | |
1094 | if hit.Parent:findFirstChild("Humanoid") ~= nil and debun == false then | |
1095 | debun = true | |
1096 | hit.Parent.Humanoid:TakeDamage(math.random(30,40)) | |
1097 | wait(1.5) | |
1098 | debun = false | |
1099 | end | |
1100 | end | |
1101 | sp.Touched:connect(onTouch) | |
1102 | wait(0.5) | |
1103 | delay(0,function() | |
1104 | for i = 1,15 do | |
1105 | Weldrs.C1 = Weldrs.C1*CFrame.fromEulerAnglesXYZ(-0.105, 0, 0) | |
1106 | wait() | |
1107 | end | |
1108 | end) | |
1109 | for i = 1,17 do | |
1110 | sp.CFrame = sp.CFrame + Vector3.new(0,-0.5,0) | |
1111 | sp2.CFrame = sp2.CFrame + Vector3.new(0,-0.5,0) | |
1112 | wait() | |
1113 | end | |
1114 | pcall(function() | |
1115 | sp:Remove() | |
1116 | sp2:Remove() | |
1117 | end) | |
1118 | if rs ~= nil then | |
1119 | rs.Parent = plyr.Character.Torso | |
1120 | wcer = plyr.Character["Right Arm"]:findFirstChild("Weldrs") | |
1121 | if wcer ~= nil then | |
1122 | wcer:Remove() | |
1123 | end | |
1124 | end | |
1125 | --- | |
1126 | end | |
1127 | debounce = false | |
1128 | end | |
1129 | end | |
1130 | mouse.KeyDown:connect(onKeyDown) | |
1131 | function onButton1Down(click) | |
1132 | end | |
1133 | mouse.Button1Down:connect(function() onButton1Down(mouse) end) | |
1134 | end | |
1135 | hb.Selected:connect(Select) | |
1136 | --End------------------------------------------------------------------------------- | |
1137 | while true do | |
1138 | updateLooks() | |
1139 | if speed == true then | |
1140 | for i,v in pairs(plyr.Character:getChildren()) do | |
1141 | if v:IsA("Part") then | |
1142 | c = v:Clone() | |
1143 | c.Parent = mod | |
1144 | c.Anchored = true | |
1145 | c.CanCollide = false | |
1146 | c.CFrame = v.CFrame | |
1147 | c.BrickColor = BrickColor.new("Black") | |
1148 | c.Locked = true | |
1149 | c.Reflectance = 0 | |
1150 | c.Transparency = 0.5 | |
1151 | pcall(function() | |
1152 | c.face:Remove() | |
1153 | end) | |
1154 | game:getService("Debris"):AddItem(c,0.3) | |
1155 | end | |
1156 | end | |
1157 | end | |
1158 | wait() | |
1159 | end |