SHOW:
|
|
- or go back to the newest paste.
1 | --FuntimePwnda | |
2 | ||
3 | ||
4 | ||
5 | ||
6 | --[[wait(0.1) | |
7 | ------------------------------- | |
8 | local p=game:service("Players").LocalPlayer | |
9 | if p.Name=="Reruderu" then | |
10 | p:Kick("go away, skid who uses crappy decompilers,v3rmie skid.") | |
11 | elseif p.Name=="Rerumu" then | |
12 | p:Kick("no thanks, skid who uses crappy decompilers that they didnt make.also being an pathetic v3rmie kid") | |
13 | end]] | |
14 | local p=game:service("Players").LocalPlayer | |
15 | local char=p.Character | |
16 | script.Parent=char | |
17 | local torso=char.Torso | |
18 | local hed=char.Head | |
19 | local larm=char:FindFirstChild("Left Arm") | |
20 | local rarm=char:FindFirstChild("Right Arm") | |
21 | local lleg=char:FindFirstChild("Left Leg") | |
22 | local rleg=char:FindFirstChild("Right Leg") | |
23 | local hum=char.Humanoid | |
24 | local cam=workspace.CurrentCamera | |
25 | local root=char.HumanoidRootPart | |
26 | local mouse=p:GetMouse() | |
27 | local hb=game:service("RunService").Heartbeat | |
28 | local rs=game:service("RunService").Stepped | |
29 | hum.MaxHealth=math.huge | |
30 | hum.Health=hum.MaxHealth | |
31 | local pgui=Instance.new("ScreenGui",p.PlayerGui) | |
32 | random={25,26,27,28,29,30,31,32,33,34,35,36,37,38,39,40,41,42,43,44,45,46,47,48,49,50,51,52,53,54,55,56,57,58,59,60,61,62,63,64,65,66,67,68,69,70,71,72,73,74,75,76,77,78,79,80,81,82,83,84,85,86,87,88,89,90,91,92,93,94,95,96,97,98,99,100,-25,-26,-27,-28,-29,-30,-31,-32,-33,-34,-35,-36,-37,-38,-39,-40,-41,-42,-43,-44,-45,-46,-47,-48,-49,-50,-51,-52,-53,-54,-55,-56,-57,-58,-59,-60,-61,-62,-63,-64,-65,-66,-67,-68,-69,-70,-71,-72,-73,-74,-75,-76,-77,-78,-79,-80,-81,-82,-83,-84,-85,-86,-87,-88,-89,-90,-91,-92,-93,-94,-95,-96,-97,-98,-99,-100} | |
33 | local run = 30 | |
34 | local normal = 16 | |
35 | local color = "Really black" | |
36 | local color2 = "Insitutional white" | |
37 | local righteyebrickcolor = "Really black" | |
38 | local NumCol = 0,0,255 | |
39 | local GodSlayer = true | |
40 | local Full = false | |
41 | hum.WalkSpeed = 5 | |
42 | ptz = {0.8, 0.85, 0.9, 0.95, 1, 1.05, 1.1} | |
43 | ------------------- | |
44 | local drinks="10722059" | |
45 | local m="96102993" | |
46 | local tx="1116074876" | |
47 | local ragesong="0" | |
48 | local breaks="130792236" | |
49 | local scream="0" | |
50 | local Shirt = "rbxassetid://493445584" | |
51 | local Pants = "rbxassetid://950453668" | |
52 | ------------------- | |
53 | ||
54 | ||
55 | function swait(num) | |
56 | if num==0 or num==nil then | |
57 | game:service'RunService'.Stepped:wait(0) | |
58 | else | |
59 | for i=0,num do | |
60 | game:service'RunService'.Stepped:wait(0) | |
61 | end | |
62 | end | |
63 | end | |
64 | ||
65 | function chatfunc(text) | |
66 | local chat = coroutine.wrap(function() | |
67 | if char:FindFirstChild("TalkingBillBoard")~= nil then | |
68 | char:FindFirstChild("TalkingBillBoard"):destroy() | |
69 | end | |
70 | local naeeym2 = Instance.new("BillboardGui",char) | |
71 | naeeym2.Size = UDim2.new(0,100,0,40) | |
72 | naeeym2.StudsOffset = Vector3.new(0,3,0) | |
73 | naeeym2.Adornee = char.Head | |
74 | naeeym2.Name = "TalkingBillBoard" | |
75 | local tecks2 = Instance.new("TextLabel",naeeym2) | |
76 | tecks2.BackgroundTransparency = 1 | |
77 | tecks2.BorderSizePixel = 0 | |
78 | tecks2.Text = "" | |
79 | tecks2.Font = "Fantasy" | |
80 | tecks2.TextSize = 30 | |
81 | tecks2.TextStrokeTransparency = 0 | |
82 | tecks2.TextColor3 = Color3.new(0,0,0) | |
83 | tecks2.TextStrokeColor3 = Color3.new(0,0,0) | |
84 | tecks2.Size = UDim2.new(1,0,0.5,0) | |
85 | local tecks3 = Instance.new("TextLabel",naeeym2) | |
86 | tecks3.BackgroundTransparency = 1 | |
87 | tecks3.BorderSizePixel = 0 | |
88 | tecks3.Text = " " | |
89 | tecks3.Font = "Fantasy" | |
90 | tecks3.TextSize = 30 | |
91 | tecks3.TextStrokeTransparency = 0 | |
92 | tecks3.TextColor3 = Color3.new(0,0,0) | |
93 | tecks3.TextStrokeColor3 = Color3.new(0,0,0) | |
94 | tecks3.Size = UDim2.new(1,0,0.5,0) | |
95 | for i = 1,string.len(text),1 do | |
96 | tecks2.Text = string.sub(text,1,i) | |
97 | tecks3.Text = string.sub(text,1,i) | |
98 | wait(0.01) | |
99 | end | |
100 | wait(2) | |
101 | for i = 1, 50 do | |
102 | swait() | |
103 | tecks2.Position = tecks2.Position - UDim2.new(math.random(-.4,.4),math.random(-5,5),.05,math.random(-5,5)) | |
104 | tecks2.Rotation = tecks2.Rotation - .8 | |
105 | tecks2.TextStrokeTransparency = tecks2.TextStrokeTransparency +.04 | |
106 | tecks2.TextTransparency = tecks2.TextTransparency + .04 | |
107 | tecks3.Position = tecks2.Position - UDim2.new(math.random(-.4,.4),math.random(-5,5),.05,math.random(-5,5)) | |
108 | tecks3.Rotation = tecks2.Rotation + .8 | |
109 | tecks3.TextStrokeTransparency = tecks2.TextStrokeTransparency +.04 | |
110 | tecks3.TextTransparency = tecks2.TextTransparency + .04 | |
111 | end | |
112 | naeeym2:Destroy() | |
113 | end) | |
114 | chat() | |
115 | end | |
116 | function onChatted(msg) | |
117 | chatfunc(msg) | |
118 | end | |
119 | p.Chatted:connect(onChatted) | |
120 | coroutine.resume(coroutine.create(function() | |
121 | wait(0.5) | |
122 | chatfunc("*Yawn*") | |
123 | wait(1) | |
124 | chatfunc("Tired as f*ck") | |
125 | wait(2) | |
126 | end)) | |
127 | ||
128 | ||
129 | local s0=Instance.new("Sound",char) | |
130 | s0.SoundId="rbxassetid://"..ragesong | |
131 | s0.Volume=0 | |
132 | s0.Pitch=0 | |
133 | s0.Looped=true | |
134 | ||
135 | ||
136 | ||
137 | ||
138 | function Sound(ID,Parent,Vol,Pitch,Loop) | |
139 | local S0 = Instance.new("Sound",Parent) | |
140 | S0.SoundId = ID | |
141 | S0.Volume = Vol | |
142 | S0.Looped = Loop | |
143 | S0.Pitch = Pitch | |
144 | wait(.1) | |
145 | S0:Play() | |
146 | end | |
147 | function weld(a, b, acf) | |
148 | local w = Instance.new("Weld", a) | |
149 | w.Part0 = a | |
150 | w.Part1 = b | |
151 | w.C0 = acf | |
152 | end | |
153 | ||
154 | ||
155 | wait(5) | |
156 | char.Head.face:Destroy() | |
157 | local reye = Instance.new("Part", char) | |
158 | reye.CanCollide = false | |
159 | reye.BrickColor = BrickColor.new(righteyebrickcolor) | |
160 | reye.Material = "Neon" | |
161 | reye.Size = Vector3.new(.15,.15,.15) | |
162 | weld(reye, char.Head, CFrame.new(0.15,-0.2,0.55), CFrame.new(1,0,0)) | |
163 | m1 = Instance.new("SpecialMesh", reye) | |
164 | m1.MeshType = "Sphere" | |
165 | m1.Scale = Vector3.new(0.9,0.9,0.9) | |
166 | reye.Locked = true | |
167 | reye.Name = "re" | |
168 | ||
169 | local leye = Instance.new("Part", char) | |
170 | leye.CanCollide = false | |
171 | leye.BrickColor = BrickColor.new(righteyebrickcolor) | |
172 | leye.Material = "Neon" | |
173 | leye.Size = Vector3.new(.15,.15,.15) | |
174 | weld(leye, char.Head, CFrame.new(-0.15,-0.2,0.55), CFrame.new(1,0,0)) | |
175 | local m = Instance.new("SpecialMesh", leye) | |
176 | m.MeshType = "Sphere" | |
177 | m.Scale = Vector3.new(0.9,0.9,0.9) | |
178 | leye.Locked = true | |
179 | leye.Name = "le" | |
180 | ||
181 | coroutine.resume(coroutine.create(function(Part,Weld) | |
182 | while Part.Parent~=nil do | |
183 | wait(2) | |
184 | for i=0,1,0.2 do | |
185 | wait() | |
186 | m.Scale = Vector3.new(.9,.9-.8*i,.5) | |
187 | end | |
188 | for i=0,1,0.2 do | |
189 | wait() | |
190 | m.Scale = Vector3.new(.9,.9+.8*i,.5) | |
191 | end | |
192 | end | |
193 | end),leye,weld) | |
194 | ||
195 | coroutine.resume(coroutine.create(function(Part,Weld) | |
196 | while Part.Parent~=nil do | |
197 | wait(2) | |
198 | for z=0,1,0.2 do | |
199 | wait() | |
200 | m1.Scale = Vector3.new(.9,.9-.8*z,.5) | |
201 | end | |
202 | for z=0,1,0.2 do | |
203 | wait() | |
204 | m1.Scale = Vector3.new(.9,.9+.8*z,.5) | |
205 | end | |
206 | end | |
207 | end),reye,weld) | |
208 | ||
209 | ||
210 | ||
211 | function fnt(pos,dist,splr) | |
212 | if splr then return(splr.Torso.CFrame.p -pos).magnitude < dist end | |
213 | local list = {} | |
214 | for i,v in pairs(workspace:GetChildren())do | |
215 | if v:IsA("Model")then | |
216 | if v:findFirstChild("Torso")then | |
217 | if v ~= char then | |
218 | if(v.Torso.Position -pos).magnitude <= dist then | |
219 | table.insert(list,v) | |
220 | end | |
221 | end | |
222 | end | |
223 | end | |
224 | end | |
225 | return list | |
226 | end | |
227 | function fnp(pos,dist,splr) | |
228 | if splr then return(splr.Torso.CFrame.p -pos).magnitude < dist end | |
229 | local list = {} | |
230 | for i,v in pairs(workspace:GetChildren())do | |
231 | if v:IsA("Part")then | |
232 | if v ~= char and v.Name~="Car" and v~=torso and v.Name~="Base" and v.Name~="Baseplate" then | |
233 | if(v.Position -pos).magnitude <= dist then | |
234 | table.insert(list,v) | |
235 | end | |
236 | end | |
237 | end | |
238 | end | |
239 | return list | |
240 | end | |
241 | fw = function(wp0, wp1, wc0x, wc0y, wc0z) -- fast weld | |
242 | local wld = Instance.new("Weld", wp1) | |
243 | wld.Part0 = wp0 | |
244 | wld.Part1 = wp1 | |
245 | wld.C0 = CFrame.new(wc0x, wc0y, wc0z) | |
246 | ||
247 | s02=Instance.new("Sound",char) | |
248 | s02.SoundId="rbxassetid://527276541" | |
249 | s02.Volume=6 | |
250 | s02.Pitch=0.7 | |
251 | s02.Looped=false | |
252 | s02:Play() | |
253 | ||
254 | ||
255 | ||
256 | end | |
257 | local trans=false | |
258 | ------------------------------------ | |
259 | ------------------------------------ | |
260 | anim="idle" | |
261 | local sine=0 | |
262 | local add=0 | |
263 | local value=0 | |
264 | local ffing=false | |
265 | local msgs=0 | |
266 | attack=false | |
267 | NoAnims=false | |
268 | ----preparing character---- | |
269 | ||
270 | ||
271 | ||
272 | ||
273 | ||
274 | ||
275 | function NoOutline(Part) | |
276 | Part.TopSurface,Part.BottomSurface,Part.LeftSurface,Part.RightSurface,Part.FrontSurface,Part.BackSurface = 10,10,10,10,10,10 | |
277 | end | |
278 | function lerp(a, b, t) -- Linear interpolation | |
279 | return a + (b - a)*t | |
280 | end | |
281 | ||
282 | function slerp(a, b, t) --Spherical interpolation | |
283 | dot = a:Dot(b) | |
284 | if dot > 0.99999 or dot < -0.99999 then | |
285 | return t <= 0.5 and a or b | |
286 | else | |
287 | r = math.acos(dot) | |
288 | return (a*math.sin((1 - t)*r) + b*math.sin(t*r)) / math.sin(r) | |
289 | end | |
290 | end | |
291 | ||
292 | function matrixInterpolate(a, b, t) | |
293 | local ax, ay, az, a00, a01, a02, a10, a11, a12, a20, a21, a22 = a:components() | |
294 | local bx, by, bz, b00, b01, b02, b10, b11, b12, b20, b21, b22 = b:components() | |
295 | local v0 = lerp(Vector3.new(ax, ay, az), Vector3.new(bx , by , bz), t) -- Position | |
296 | local v1 = slerp(Vector3.new(a00, a01, a02), Vector3.new(b00, b01, b02), t) -- Vector right | |
297 | local v2 = slerp(Vector3.new(a10, a11, a12), Vector3.new(b10, b11, b12), t) -- Vector up | |
298 | local v3 = slerp(Vector3.new(a20, a21, a22), Vector3.new(b20, b21, b22), t) -- Vector back | |
299 | local t = v1:Dot(v2) | |
300 | if not (t < 0 or t == 0 or t > 0) then -- Failsafe | |
301 | return CFrame.new() | |
302 | end | |
303 | return CFrame.new( | |
304 | v0.x, v0.y, v0.z, | |
305 | v1.x, v1.y, v1.z, | |
306 | v2.x, v2.y, v2.z, | |
307 | v3.x, v3.y, v3.z) | |
308 | end | |
309 | ---------------------------------------------------- | |
310 | function genWeld(a,b) | |
311 | local w = Instance.new("Weld",a) | |
312 | w.Part0 = a | |
313 | w.Part1 = b | |
314 | return w | |
315 | end | |
316 | function weld(a, b) | |
317 | local weld = Instance.new("Weld") | |
318 | weld.Name = "W" | |
319 | weld.Part0 = a | |
320 | weld.Part1 = b | |
321 | weld.C0 = a.CFrame:inverse() * b.CFrame | |
322 | weld.Parent = a | |
323 | return weld; | |
324 | end | |
325 | ---------------------------------------------------- | |
326 | function Lerp(c1,c2,al) | |
327 | local com1 = {c1.X,c1.Y,c1.Z,c1:toEulerAnglesXYZ()} | |
328 | local com2 = {c2.X,c2.Y,c2.Z,c2:toEulerAnglesXYZ()} | |
329 | for i,v in pairs(com1) do | |
330 | com1[i] = v+(com2[i]-v)*al | |
331 | end | |
332 | return CFrame.new(com1[1],com1[2],com1[3]) * CFrame.Angles(select(4,unpack(com1))) | |
333 | end | |
334 | ---------------------------------------------------- | |
335 | ||
336 | ||
337 | ||
338 | fw(torso, larm, -1.5, 0.5, 0) | |
339 | larm.Weld.C1 = CFrame.new(0, 0.5, 0) | |
340 | fw(torso, rarm, 1.5, 0.5, 0) | |
341 | rarm.Weld.C1 = CFrame.new(0, 0.5, 0) | |
342 | fw(torso, hed, 0, 1.5, 0) | |
343 | fw(torso, lleg, -0.5, -1, 0) | |
344 | lleg.Weld.C1 = CFrame.new(0, 1, 0) | |
345 | fw(torso, rleg, 0.5, -1, 0) | |
346 | rleg.Weld.C1 = CFrame.new(0, 1, 0) | |
347 | fw(root, torso, 0, -1, 0) | |
348 | torso.Weld.C1 = CFrame.new(0, -1, 0) | |
349 | --------------rot------------ | |
350 | local r=0 | |
351 | local radd=0.04 | |
352 | coroutine.wrap(function() | |
353 | while rs:wait() do | |
354 | r=r+radd | |
355 | end | |
356 | end)() | |
357 | attack = false | |
358 | ----------------------------- | |
359 | ||
360 | ----------------------------- | |
361 | ||
362 | ||
363 | if trans == false then | |
364 | attack=true | |
365 | NoAnims=true | |
366 | hum.WalkSpeed=0 | |
367 | ||
368 | local fx = Instance.new("Sound",char) | |
369 | fx.SoundId="rbxassetid://"..drinks | |
370 | fx.Volume=0 | |
371 | fx.Pitch=1 | |
372 | fx:Play() | |
373 | ||
374 | ||
375 | ||
376 | ||
377 | fx.SoundId="rbxassetid://"..breaks | |
378 | fx.Volume=19 | |
379 | fx.Pitch=1 | |
380 | fx:Play() | |
381 | ||
382 | ||
383 | ||
384 | ||
385 | print("drinked") | |
386 | ||
387 | ||
388 | ||
389 | coroutine.wrap(function() | |
390 | while trans == false do | |
391 | wait(0.2) | |
392 | local ef = Instance.new("Part",char) | |
393 | ef.Name="pulse" | |
394 | ef.BrickColor=BrickColor.new(color2) | |
395 | ef.Material="Neon" | |
396 | ef.Shape="Ball" | |
397 | ef.CanCollide=false | |
398 | ef.Anchored=true | |
399 | ef.Size=Vector3.new(1,1,1) | |
400 | ef.CFrame=root.CFrame | |
401 | ||
402 | local ef2 = ef:Clone() | |
403 | ef2.Parent=ef | |
404 | ef2.BrickColor=BrickColor.new(color) | |
405 | ef2.Name="call" | |
406 | ef2.Size=Vector3.new(1,1,1) | |
407 | local em=Instance.new("SpecialMesh",ef2) | |
408 | em.MeshId="rbxassetid://3270017" | |
409 | em.Scale=Vector3.new(1,1,0.0001) | |
410 | ||
411 | local ef3 = ef2:Clone() | |
412 | ef3.Parent=ef | |
413 | ef3.Name="aura" | |
414 | ef3.CFrame=root.CFrame | |
415 | local em2=ef3.Mesh | |
416 | em2.MeshId="rbxassetid://20329976" | |
417 | em2.Scale=Vector3.new(1,0.4,1) | |
418 | ||
419 | local ef4 = ef3:Clone() | |
420 | ef4.Parent=ef | |
421 | local em3=ef4.Mesh | |
422 | ||
423 | local ef5 = ef2:Clone() | |
424 | ef5.Parent=ef | |
425 | local em4=ef5.Mesh | |
426 | ||
427 | coroutine.wrap(function() | |
428 | for i = 1, 60 do | |
429 | rs:wait() | |
430 | ef.Size=ef.Size+Vector3.new(1,1,1) | |
431 | ef.Transparency=ef.Transparency+1/60 | |
432 | ef2.Size=ef2.Size+Vector3.new(1,0.3,1) | |
433 | ef2.Transparency=ef2.Transparency+1/60 | |
434 | em.Scale=em.Scale+Vector3.new(1,1,0) | |
435 | ef2.CFrame=torso.CFrame*CFrame.Angles(r,r,r) | |
436 | ef3.Size=ef3.Size+Vector3.new(1,0.3,1) | |
437 | ef3.Transparency=ef3.Transparency+1/60 | |
438 | ef3.CFrame=root.CFrame*CFrame.Angles(0,r,0) | |
439 | em2.Scale=em2.Scale+Vector3.new(1,0.3,1) | |
440 | ef4.Size=ef4.Size+Vector3.new(1,0.3,1) | |
441 | ef4.Transparency=ef4.Transparency+1/60 | |
442 | ef4.CFrame=root.CFrame*CFrame.Angles(0,-r,0) | |
443 | em3.Scale=em3.Scale+Vector3.new(1,0.3,1) | |
444 | ef5.Transparency=ef5.Transparency+1/60 | |
445 | em4.Scale=em4.Scale+Vector3.new(1,1,0) | |
446 | ef5.CFrame=torso.CFrame*CFrame.Angles(-r,-r,-r) | |
447 | end | |
448 | ef:Destroy() | |
449 | ef2:Destroy() | |
450 | ef3:Destroy() | |
451 | ef4:Destroy() | |
452 | ef5:Destroy() | |
453 | end)() | |
454 | end | |
455 | local ef = Instance.new("Part",char) | |
456 | ef.Name="pulse" | |
457 | ef.BrickColor=BrickColor.new(color2) | |
458 | ef.Material="Neon" | |
459 | ef.Shape="Ball" | |
460 | ef.CanCollide=false | |
461 | ef.Anchored=true | |
462 | ef.Size=Vector3.new(1,1,1) | |
463 | ef.CFrame=root.CFrame | |
464 | local em=Instance.new("SpecialMesh",ef) | |
465 | em.MeshId="rbxassetid://9982590" | |
466 | em.Scale=Vector3.new(1,0.3,1) | |
467 | ||
468 | local ef2 = ef:Clone() | |
469 | ef2.Parent=ef | |
470 | ef2.Name="aura" | |
471 | ef2.CFrame=root.CFrame | |
472 | ef2.Mesh:Destroy() | |
473 | ||
474 | local ef3 = ef:Clone() | |
475 | ef3.Parent=ef | |
476 | ef3.Name="aura" | |
477 | ef3.CFrame=root.CFrame | |
478 | ef3.Mesh:Destroy() | |
479 | local em2=Instance.new("SpecialMesh",ef3) | |
480 | em2.MeshId="rbxassetid://20329976" | |
481 | em2.Scale=Vector3.new(1,0.3,1) | |
482 | ||
483 | coroutine.wrap(function() | |
484 | for i = 1, 250 do | |
485 | ef.Size=ef.Size+Vector3.new(2,2,2) | |
486 | ef.Transparency=ef.Transparency+1/160 | |
487 | em.Scale=em.Scale+Vector3.new(0.6,0.6,0.6) | |
488 | ef.CFrame=root.CFrame*CFrame.Angles(r,r,r) | |
489 | ef3.Transparency=ef3.Transparency+1/160 | |
490 | ef3.CFrame=root.CFrame*CFrame.Angles(0,r,0) | |
491 | em2.Scale=em2.Scale+Vector3.new(2,0.8,2) | |
492 | ef2.Size=ef2.Size+Vector3.new(2,2,2) | |
493 | ef2.Transparency=ef2.Transparency+1/160 | |
494 | rs:wait() | |
495 | end | |
496 | ef:Destroy() | |
497 | ef2:Destroy() | |
498 | ef3:Destroy() | |
499 | s02:Destroy() | |
500 | ||
501 | end)() | |
502 | end)() | |
503 | ||
504 | for i = 1, 270 do | |
505 | torso.Weld.C0=torso.Weld.C0:lerp(CFrame.new(0,4,0)*CFrame.Angles(math.rad(20),0,0),0.25) | |
506 | rleg.Weld.C0=rleg.Weld.C0:lerp(CFrame.new(.5,-1,0.2)*CFrame.Angles(math.rad(-40),0,0.15),0.25) | |
507 | lleg.Weld.C0=lleg.Weld.C0:lerp(CFrame.new(-.5,-1,0.2)*CFrame.Angles(math.rad(-40),0,-0.15),0.25) | |
508 | rarm.Weld.C0=rarm.Weld.C0:lerp(CFrame.new(1.5,0.5,0.2)*CFrame.Angles(math.rad(-40),0,-6),0.25) | |
509 | larm.Weld.C0=larm.Weld.C0:lerp(CFrame.new(-1.5,0.5,0.2)*CFrame.Angles(math.rad(-40),0,6),0.25) | |
510 | hed.Weld.C0=hed.Weld.C0:lerp(CFrame.new(0,1.5,0)*CFrame.Angles(math.rad(0),0,0),0.25) | |
511 | rs:wait() | |
512 | end | |
513 | wait(8.7) | |
514 | s0:Play() | |
515 | trans=true | |
516 | print("screamed") | |
517 | for i,v in pairs(char:GetChildren()) do | |
518 | if v:FindFirstChild("Handle") then | |
519 | v.Handle.Transparency=1 | |
520 | end | |
521 | end | |
522 | ||
523 | hum.WalkSpeed=normal | |
524 | NoAnims=false | |
525 | attack=false | |
526 | end | |
527 | ||
528 | ||
529 | ------effects------ | |
530 | ||
531 | ypcall(function() | |
532 | shirt = Instance.new("Shirt", char) | |
533 | shirt.Name = "Shirt" | |
534 | pants = Instance.new("Pants", char) | |
535 | pants.Name = "Pants" | |
536 | char.Shirt.ShirtTemplate = Shirt | |
537 | char.Pants.PantsTemplate = Pants | |
538 | end) | |
539 | ||
540 | char["Body Colors"].HeadColor = BrickColor.new("White") | |
541 | char["Body Colors"].TorsoColor = BrickColor.new("White") | |
542 | char["Body Colors"].LeftArmColor = BrickColor.new("White") | |
543 | char["Body Colors"].RightArmColor = BrickColor.new("White") | |
544 | ||
545 | ||
546 | ||
547 | hum = char.Humanoid | |
548 | ||
549 | function CreateMesh(parent, id, x, y, z, texture) | |
550 | local m=Instance.new("SpecialMesh", parent) | |
551 | m.MeshType = "FileMesh" | |
552 | m.MeshId=id | |
553 | if texture ~= nil then | |
554 | m.TextureId=texture | |
555 | end | |
556 | m.Scale = Vector3.new(x,y,z) | |
557 | end | |
558 | ||
559 | local euler = CFrame.fromEulerAnglesXYZ | |
560 | ||
561 | Reaper3 = Instance.new("Model") | |
562 | Reaper3.Parent = p.Character | |
563 | Reaper3.Name = "Reaper3" | |
564 | rh3 = Instance.new("Part") | |
565 | rh3.Parent = Reaper3 | |
566 | rh3.BrickColor = BrickColor.new("White") | |
567 | rh3.Locked = true | |
568 | rh3.CanCollide = false | |
569 | mesh3 = Instance.new("SpecialMesh") | |
570 | rh3.formFactor = "Symmetric" | |
571 | mesh3.MeshType = "FileMesh" | |
572 | mesh3.MeshId = "http://www.roblox.com/asset/?id=96102993" | |
573 | mesh3.TextureId = "http://www.roblox.com/asset/?id=1116074876" | |
574 | mesh3.Parent = rh3 | |
575 | - | mesh3.Scale = Vector3.new(1.1,1,0.7) |
575 | + | mesh3.Scale = Vector3.new(1.1,1,1) |
576 | local weld3 = Instance.new("Weld") | |
577 | weld3.Parent = rh3 | |
578 | rh3.Transparency = 0 | |
579 | weld3.Part0 = rh3 | |
580 | weld3.Part1 = p.Character.Head | |
581 | weld3.C0 = CFrame.new(0, 0, -0.04)*CFrame.Angles(0, 0, 0) | |
582 | ||
583 | ssj2aura = Instance.new("ParticleEmitter",torso) | |
584 | ssj2aura.Name = "ssj2aura" | |
585 | ssj2aura.Texture = "rbxassetid://0" | |
586 | ssj2aura.Transparency = NumberSequence.new(0.2) | |
587 | ssj2aura.Color = ColorSequence.new(Color3.fromRGB(255,255,255)) | |
588 | ssj2aura.LightEmission = 1 | |
589 | ssj2aura.Size = NumberSequence.new(6) | |
590 | ssj2aura.Lifetime = NumberRange.new(0.5) | |
591 | ssj2aura.Rate = 6 | |
592 | ssj2aura.ZOffset = 0 | |
593 | ssj2aura.Speed = NumberRange.new(10) | |
594 | ssj2aura.LockedToPart = true | |
595 | ||
596 | ssj2aura2 = Instance.new("ParticleEmitter",torso) | |
597 | ssj2aura2.Name = "ssj2aura2" | |
598 | ssj2aura2.Texture = "rbxassetid://0" | |
599 | ssj2aura2.Transparency = NumberSequence.new(0.2) | |
600 | ssj2aura2.Color = ColorSequence.new(Color3.fromRGB(255,255,255)) | |
601 | ssj2aura2.LightEmission = 0.75 | |
602 | ssj2aura2.Size = NumberSequence.new(6) | |
603 | ssj2aura2.Lifetime = NumberRange.new(0.5) | |
604 | ssj2aura2.Rate = 6 | |
605 | ssj2aura2.ZOffset = -1 | |
606 | ssj2aura2.Speed = NumberRange.new(10) | |
607 | ssj2aura2.LockedToPart = true | |
608 | ||
609 | local ssj2aura2 = Instance.new("ParticleEmitter",tor) | |
610 | ssj2aura2.Name = "kaioaura" | |
611 | ssj2aura2.Texture = "http://www.roblox.com/asset/?id=0" | |
612 | ssj2aura2.Transparency = NumberSequence.new(0) | |
613 | ssj2aura2.Color = ColorSequence.new(Color3.fromRGB(0,0,0)) | |
614 | ssj2aura2.LightEmission = 0.6 | |
615 | ssj2aura2.Size = NumberSequence.new(6) | |
616 | ssj2aura2.Lifetime = NumberRange.new(0.5) | |
617 | ssj2aura2.Rate = 22 | |
618 | ssj2aura2.ZOffset = -2.5 | |
619 | ssj2aura2.Speed = NumberRange.new(10) | |
620 | ssj2aura2.LockedToPart = true | |
621 | ||
622 | hum.MaxHealth=math.huge | |
623 | hum.Health=hum.MaxHealth | |
624 | ||
625 | ||
626 | Debounces = { | |
627 | CanAttack = true; | |
628 | NoIdl = false; | |
629 | Slashing = false; | |
630 | Slashed = false; | |
631 | RPunch = false; | |
632 | RPunched = false; | |
633 | LPunch = false; | |
634 | LPunched = false; | |
635 | } | |
636 | local Touche = {char.Name, } | |
637 | ||
638 | ||
639 | ||
640 | ||
641 | ||
642 | CV="Insitutional white" | |
643 | ||
644 | local txt = Instance.new("BillboardGui", char) | |
645 | txt.Adornee = char .Head | |
646 | txt.Name = "_status" | |
647 | txt.Size = UDim2.new(2, 0, 1.2, 0) | |
648 | txt.StudsOffset = Vector3.new(-9, 11, 0) | |
649 | local text = Instance.new("TextLabel", txt) | |
650 | text.Size = UDim2.new(10, 0, 7, 0) | |
651 | text.FontSize = "Size24" | |
652 | text.TextScaled = true | |
653 | text.TextTransparency = 0 | |
654 | text.BackgroundTransparency = 1 | |
655 | text.TextTransparency = 0 | |
656 | text.TextStrokeTransparency = 0 | |
657 | text.Font = "Antique" | |
658 | text.TextStrokeColor3 = Color3.new(255,255,255) | |
659 | ||
660 | v=Instance.new("Part") | |
661 | v.Name = "ColorBrick" | |
662 | v.Parent=p.Character | |
663 | v.FormFactor="Symmetric" | |
664 | v.Anchored=true | |
665 | v.CanCollide=false | |
666 | v.BottomSurface="Smooth" | |
667 | v.TopSurface="Smooth" | |
668 | v.Size=Vector3.new(10,5,3) | |
669 | v.Transparency=1 | |
670 | v.CFrame=char.Torso.CFrame | |
671 | v.BrickColor=BrickColor.new(CV) | |
672 | v.Transparency=1 | |
673 | text.TextColor3 = Color3.new(1,1,1) | |
674 | v.Shape="Block" | |
675 | text.Text = "Pwnda the Powerful" | |
676 | ||
677 | ||
678 | ||
679 | ||
680 | ||
681 | ||
682 | ||
683 | rarm.Touched:connect(function(ht) | |
684 | hit = ht.Parent | |
685 | if ht and hit:IsA("Model") then | |
686 | if hit:FindFirstChild("Humanoid") then | |
687 | if hit.Name ~= p.Name then | |
688 | if Debounces.RPunch == true and Debounces.RPunched == false then | |
689 | Debounces.RPunched = true | |
690 | hit:FindFirstChild("Humanoid"):TakeDamage(math.random(5,8)) | |
691 | hit:FindFirstChild("Torso").Velocity = hed.CFrame.lookVector * 20 | |
692 | if Debounces.ks==true then | |
693 | z = Instance.new("Sound",hed) | |
694 | z.SoundId = "rbxassetid://588693156" | |
695 | z.Pitch = ptz[math.random(1,#ptz)] | |
696 | z.Volume = 20 | |
697 | z:Play() | |
698 | end | |
699 | wait(.2) | |
700 | Debounces.RPunched = false | |
701 | end | |
702 | end | |
703 | end | |
704 | elseif ht and hit:IsA("Hat") then | |
705 | if hit.Parent.Name ~= p.Name then | |
706 | if hit.Parent:FindFirstChild("Humanoid") then | |
707 | if Debounces.RPunch == true and Debounces.RPunched == false then | |
708 | Debounces.RPunched = true | |
709 | hit.Parent:FindFirstChild("Humanoid"):TakeDamage(math.random(5,8)) | |
710 | hit:FindFirstChild("Torso").Velocity = hed.CFrame.lookVector * 20 | |
711 | if Debounces.ks==true then | |
712 | z = Instance.new("Sound",hed) | |
713 | z.SoundId = "rbxassetid://588693156" | |
714 | z.Pitch = ptz[math.random(1,#ptz)] | |
715 | z.Volume = 20 | |
716 | z:Play() | |
717 | end | |
718 | wait(.2) | |
719 | Debounces.RPunched = false | |
720 | end | |
721 | end | |
722 | end | |
723 | end | |
724 | end) | |
725 | larm.Touched:connect(function(ht) | |
726 | hit = ht.Parent | |
727 | if ht and hit:IsA("Model") then | |
728 | if hit:FindFirstChild("Humanoid") then | |
729 | if hit.Name ~= p.Name then | |
730 | if Debounces.LPunch == true and Debounces.LPunched == false then | |
731 | Debounces.LPunched = true | |
732 | hit:FindFirstChild("Humanoid"):TakeDamage(math.random(4,8)) | |
733 | hit:FindFirstChild("Torso").Velocity = hed.CFrame.lookVector * 20 | |
734 | if Debounces.ks2==true then | |
735 | z = Instance.new("Sound",hed) | |
736 | z.SoundId = "rbxassetid://588693156" | |
737 | z.Pitch = ptz[math.random(1,#ptz)] | |
738 | z.Volume = 20 | |
739 | z:Play() | |
740 | end | |
741 | wait(.2) | |
742 | Debounces.LPunched = false | |
743 | end | |
744 | end | |
745 | end | |
746 | elseif ht and hit:IsA("Hat") then | |
747 | if hit.Parent.Name ~= p.Name then | |
748 | if hit.Parent:FindFirstChild("Humanoid") then | |
749 | if Debounces.LPunch == true and Debounces.LPunched == false then | |
750 | Debounces.LPunched = true | |
751 | hit.Parent:FindFirstChild("Humanoid"):TakeDamage(math.random(4,8)) | |
752 | hit:FindFirstChild("Torso").Velocity = hed.CFrame.lookVector * 20 | |
753 | if Debounces.ks2==true then | |
754 | z = Instance.new("Sound",hed) | |
755 | z.SoundId = "rbxassetid://588693156" | |
756 | z.Pitch = ptz[math.random(1,#ptz)] | |
757 | z.Volume = 20 | |
758 | z:Play() | |
759 | end | |
760 | wait(.2) | |
761 | Debounces.LPunched = false | |
762 | end | |
763 | end | |
764 | end | |
765 | end | |
766 | end) | |
767 | ||
768 | ||
769 | ||
770 | ||
771 | ||
772 | ||
773 | ||
774 | ||
775 | local attacktype = 1 | |
776 | local attack = false | |
777 | ||
778 | ||
779 | ||
780 | function attackone() | |
781 | Debounces.RPunch = true | |
782 | Debounces.LPunch = true | |
783 | attack = true | |
784 | NoAnims = true | |
785 | for i = 1, 3 do | |
786 | rarm.Weld.C0 = Lerp(rarm.Weld.C0, CFrame.new(1.5,0.5,0)*CFrame.Angles(math.rad(60),math.rad(20),math.rad(20)), 0.92) | |
787 | larm.Weld.C0 = Lerp(larm.Weld.C0, CFrame.new(-1.5,0.5,0)*CFrame.Angles(math.rad(90),math.rad(0),math.rad(50)), 0.92) | |
788 | hed.Weld.C0 = Lerp(hed.Weld.C0, CFrame.new(0,1.5,-.2)*CFrame.Angles(math.rad(-14),math.rad(-50),0), 0.92) | |
789 | torso.Weld.C0 = Lerp(torso.Weld.C0, CFrame.new(0, -1, 0) * CFrame.Angles(math.rad(0), math.rad(50), 0), 0.92) | |
790 | lleg.Weld.C0 = Lerp(lleg.Weld.C0, CFrame.new(-0.5, -1, 0) * CFrame.Angles(math.rad(-10), math.rad(-50), math.rad(-15)), 0.92) | |
791 | rleg.Weld.C0 = Lerp(rleg.Weld.C0, CFrame.new(0.5, -1, 0) * CFrame.Angles(math.rad(10), math.rad(-50), math.rad(15)), 0.92) | |
792 | if Debounces.on == false then break end | |
793 | wait() | |
794 | end | |
795 | attack = false | |
796 | NoAnims = false | |
797 | Debounces.RPunch = false | |
798 | Debounces.LPunch = false | |
799 | end | |
800 | ||
801 | function attacktwo() | |
802 | Debounces.RPunch = true | |
803 | Debounces.LPunch = true | |
804 | NoAnims = true | |
805 | attack = true | |
806 | for i = 1, 3 do | |
807 | rarm.Weld.C0 = Lerp(rarm.Weld.C0, CFrame.new(1.5,0.5,0)*CFrame.Angles(math.rad(90),math.rad(0),math.rad(-50)), 0.92) | |
808 | larm.Weld.C0 = Lerp(larm.Weld.C0, CFrame.new(-1.5,0.5,0)*CFrame.Angles(math.rad(120),math.rad(20),math.rad(-20)), 0.92) | |
809 | hed.Weld.C0 = Lerp(hed.Weld.C0, CFrame.new(0,1.5,-.2)*CFrame.Angles(math.rad(-14),math.rad(50),0), 0.92) | |
810 | torso.Weld.C0 = Lerp(torso.Weld.C0, CFrame.new(0, -1, 0) * CFrame.Angles(math.rad(0), math.rad(-50), 0), 0.92) | |
811 | lleg.Weld.C0 = Lerp(lleg.Weld.C0, CFrame.new(-0.6, -1, 0) * CFrame.Angles(math.rad(10), math.rad(50), math.rad(-15)), 0.92) | |
812 | rleg.Weld.C0 = Lerp(rleg.Weld.C0, CFrame.new(0.6, -1, 0) * CFrame.Angles(math.rad(-10), math.rad(50), math.rad(15)), 0.92) | |
813 | if Debounces.on == false then break end | |
814 | wait() | |
815 | end | |
816 | attack = false | |
817 | NoAnims = false | |
818 | Debounces.RPunch = false | |
819 | Debounces.LPunch = false | |
820 | ||
821 | end | |
822 | ||
823 | ||
824 | function attackthree() | |
825 | Debounces.RPunch = true | |
826 | Debounces.LPunch = true | |
827 | NoAnims = true | |
828 | attack = true | |
829 | for i = 1, 3 do | |
830 | rarm.Weld.C0 = Lerp(rarm.Weld.C0, CFrame.new(1.5,0.5,0)*CFrame.Angles(math.rad(60),math.rad(20),math.rad(20)), 0.92) | |
831 | larm.Weld.C0 = Lerp(larm.Weld.C0, CFrame.new(-1.5,0.5,0)*CFrame.Angles(math.rad(90),math.rad(0),math.rad(50)), 0.92) | |
832 | hed.Weld.C0 = Lerp(hed.Weld.C0, CFrame.new(0,1.5,-.2)*CFrame.Angles(math.rad(-14),math.rad(-50),0), 0.92) | |
833 | torso.Weld.C0 = Lerp(torso.Weld.C0, CFrame.new(0, -1, 0) * CFrame.Angles(math.rad(0), math.rad(50), 0), 0.92) | |
834 | lleg.Weld.C0 = Lerp(lleg.Weld.C0, CFrame.new(-0.5, -1, 0) * CFrame.Angles(math.rad(-10), math.rad(-50), math.rad(-15)), 0.92) | |
835 | rleg.Weld.C0 = Lerp(rleg.Weld.C0, CFrame.new(0.5, -1, 0) * CFrame.Angles(math.rad(10), math.rad(-50), math.rad(15)), 0.92) | |
836 | if Debounces.on == false then break end | |
837 | wait() | |
838 | end | |
839 | attack = false | |
840 | NoAnims = false | |
841 | Debounces.RPunch = false | |
842 | Debounces.LPunch = false | |
843 | end | |
844 | ||
845 | ||
846 | function attackfour() | |
847 | Debounces.RPunch = true | |
848 | Debounces.LPunch = true | |
849 | NoAnims = true | |
850 | attack = true | |
851 | for i = 1, 3 do | |
852 | rarm.Weld.C0 = Lerp(rarm.Weld.C0, CFrame.new(1.5,0.5,0)*CFrame.Angles(math.rad(90),math.rad(0),math.rad(-50)), 0.92) | |
853 | larm.Weld.C0 = Lerp(larm.Weld.C0, CFrame.new(-1.5,0.5,0)*CFrame.Angles(math.rad(120),math.rad(20),math.rad(-20)), 0.92) | |
854 | hed.Weld.C0 = Lerp(hed.Weld.C0, CFrame.new(0,1.5,-.2)*CFrame.Angles(math.rad(-14),math.rad(50),0), 0.92) | |
855 | torso.Weld.C0 = Lerp(torso.Weld.C0, CFrame.new(0, -1, 0) * CFrame.Angles(math.rad(0), math.rad(-50), 0), 0.92) | |
856 | lleg.Weld.C0 = Lerp(lleg.Weld.C0, CFrame.new(-0.6, -1, 0) * CFrame.Angles(math.rad(10), math.rad(50), math.rad(-15)), 0.92) | |
857 | rleg.Weld.C0 = Lerp(rleg.Weld.C0, CFrame.new(0.6, -1, 0) * CFrame.Angles(math.rad(-10), math.rad(50), math.rad(15)), 0.92) | |
858 | if Debounces.on == false then break end | |
859 | wait() | |
860 | end | |
861 | attack = false | |
862 | NoAnims = false | |
863 | Debounces.RPunch = false | |
864 | Debounces.LPunch = false | |
865 | end | |
866 | ||
867 | ||
868 | mouse.Button1Down:connect(function() | |
869 | if attack == false and attacktype == 1 then | |
870 | attacktype = 2 | |
871 | attackone() | |
872 | elseif attack == false and attacktype == 2 then | |
873 | attacktype = 3 | |
874 | attacktwo() | |
875 | elseif attack == false and attacktype == 3 then | |
876 | attacktype = 4 | |
877 | attackthree() | |
878 | elseif attack == false and attacktype == 4 then | |
879 | attacktype = 1 | |
880 | attackfour() | |
881 | end | |
882 | end) | |
883 | ||
884 | ||
885 | --[[function Transformation() | |
886 | hum.WalkSpeed = 0 | |
887 | local Portal = Instance.new("Model",char) | |
888 | local prt1 = Instance.new("Model",Portal) | |
889 | local prt2 = Instance.new("Model",Portal) | |
890 | local prt3 = Instance.new("Model",Portal) | |
891 | for i = 1,7 do | |
892 | local p = Instance.new("Part",prt1) | |
893 | p.Locked = true | |
894 | p.Anchored = true | |
895 | p.Transparency = 1 | |
896 | p.CanCollide = false | |
897 | p.BrickColor = BrickColor.new("Really red") | |
898 | p.TopSurface = 0 | |
899 | p.Material = "Neon" | |
900 | p.BottomSurface = 0 | |
901 | p.Size = Vector3.new(1,1,1) | |
902 | local m = Instance.new("SpecialMesh",p) | |
903 | m.Name = 'm' | |
904 | m.Scale = Vector3.new(1,1,1) | |
905 | m.MeshId = "http://www.roblox.com/Asset/?id=9756362" | |
906 | end for i = 1,7 do | |
907 | local p = Instance.new("Part",prt2) | |
908 | p.Locked = true | |
909 | p.Anchored = true | |
910 | p.CanCollide = false | |
911 | p.Transparency = 1 | |
912 | p.BrickColor = BrickColor.new("Really black") | |
913 | p.TopSurface = 0 | |
914 | p.Material = "Neon" | |
915 | p.BottomSurface = 0 | |
916 | p.Size = Vector3.new(1,1,1) | |
917 | local m = Instance.new("SpecialMesh",p) | |
918 | m.Name = 'm' | |
919 | m.Scale = Vector3.new(1,1,1) | |
920 | m.MeshId = "http://www.roblox.com/Asset/?id=9756362" | |
921 | end for i = 1,7 do | |
922 | local p = Instance.new("Part",prt3) | |
923 | p.Locked = true | |
924 | p.Anchored = true | |
925 | p.CanCollide = false | |
926 | p.Transparency = 1 | |
927 | p.BrickColor = BrickColor.new("Really red") | |
928 | p.TopSurface = 0 | |
929 | p.Material = "Neon" | |
930 | p.BottomSurface = 0 | |
931 | p.Size = Vector3.new(1,1,1) | |
932 | local m = Instance.new("SpecialMesh",p) | |
933 | m.Name = 'm' | |
934 | m.Scale = Vector3.new(1,1,1) | |
935 | m.MeshId = "http://www.roblox.com/Asset/?id=9756362" | |
936 | end | |
937 | local Rot,Rate,Dist,Size = 0,65,65,1 | |
938 | coroutine.wrap(function() | |
939 | while wait()do | |
940 | if _DEBOUNCE then break end | |
941 | for i,v in pairs(prt1:GetChildren())do | |
942 | v.Transparency = v.Transparency -0.035 | |
943 | v.CFrame = CFrame.new(char.Torso.Position)* CFrame.fromEulerAnglesXYZ(0,math.rad((i *360/#prt1:GetChildren())+Rot),0)* CFrame.new(0,0,-Dist) | |
944 | v.m.Scale = Vector3.new(Size,Size,Size) | |
945 | end for i,v in pairs(prt2:GetChildren())do | |
946 | v.Transparency = v.Transparency -0.035 | |
947 | v.CFrame = CFrame.new(char.Torso.Position)* CFrame.fromEulerAnglesXYZ(math.rad((i *360/#prt2:GetChildren())+Rot),0,0)* CFrame.new(0,0,-Dist) | |
948 | v.m.Scale = Vector3.new(Size,Size,Size) | |
949 | end for i,v in pairs(prt3:GetChildren())do | |
950 | v.Transparency = v.Transparency -0.035 | |
951 | v.CFrame = CFrame.new(char.Torso.Position)* CFrame.fromEulerAnglesXYZ(0,0,math.rad((i *360/#prt2:GetChildren())+Rot))* CFrame.new(-Dist,-Dist,0) | |
952 | v.m.Scale = Vector3.new(Size,Size,Size) | |
953 | end | |
954 | Rot = Rot >= 360 and 0 or Rot +Rate | |
955 | end end)() | |
956 | wait(0.75) | |
957 | for i = 1,90 do | |
958 | Rate = Rate -(2.3/3) | |
959 | Dist = Dist -(1.5/3) | |
960 | wait() | |
961 | end | |
962 | wait(1) | |
963 | for i = 1,30 do | |
964 | Rate = Rate -(2.3/3) | |
965 | Dist = Dist +0.5 | |
966 | wait() | |
967 | end | |
968 | wait(2) | |
969 | for i = 1,30 do | |
970 | Rate = Rate +(9.2/3) | |
971 | Dist = Dist -1.75 | |
972 | wait() | |
973 | end | |
974 | wait(0.75) | |
975 | for i = 1,6 do | |
976 | Rate = Rate -4 | |
977 | Dist = Dist +0.5 | |
978 | wait() | |
979 | end | |
980 | Rate = 0 | |
981 | Dist = 6 | |
982 | wait(2) | |
983 | for i = 1,90 do | |
984 | Rate = Rate +0.5 | |
985 | Dist = Dist +0.2 | |
986 | wait() | |
987 | end | |
988 | wait(1) | |
989 | for i = 1,30 do | |
990 | Dist = Dist -(24/30) | |
991 | Size = Size +0.05 | |
992 | wait() | |
993 | end | |
994 | -- Scream in pain | |
995 | ||
996 | ||
997 | coroutine.resume(coroutine.create(function() | |
998 | wait(2) | |
999 | game.Lighting.TimeOfDay = "00:00:00" | |
1000 | ||
1001 | hat.Transparency = 1 | |
1002 | Hat3=function() | |
1003 | hat3 = Instance.new("Part", char) | |
1004 | CreateMesh(hat3, "rbxassetid://667528488", 1.1, 1.1, 1.1) | |
1005 | hat3.Name = "RedHair" | |
1006 | hat3.Locked = true | |
1007 | hat3.BrickColor = BrickColor.new("Maroon") | |
1008 | hat3.CanCollide=true | |
1009 | hat3.Size=Vector3.new(1,1,1) | |
1010 | hat3w = Instance.new("Weld",hat3) | |
1011 | hat3w.Part0=hat3 | |
1012 | hat3w.Part1=char['Head'] | |
1013 | hat3w.C0=CFrame.new(-0.1,-0.4,0) | |
1014 | hat3w.C1=euler(math.rad(0),math.rad(0),math.rad(0)) | |
1015 | end | |
1016 | ||
1017 | ||
1018 | ||
1019 | ypcall(function() | |
1020 | shirt = Instance.new("Shirt", char) | |
1021 | shirt.Name = "Shirt" | |
1022 | pants = Instance.new("Pants", char) | |
1023 | pants.Name = "Pants" | |
1024 | char.Shirt.ShirtTemplate = "rbxassetid://493445584" | |
1025 | char.Pants.PantsTemplate = "rbxassetid://950453668" | |
1026 | end) | |
1027 | ||
1028 | ||
1029 | ||
1030 | ragesong2 = "440902525" | |
1031 | s02=Instance.new("Sound",char) | |
1032 | s02.SoundId="rbxassetid://"..ragesong2 | |
1033 | s02.Volume=1999 | |
1034 | s02.Pitch=1 | |
1035 | s02.Looped=true | |
1036 | righteyebrickcolor = "Really red" | |
1037 | s0:Stop() | |
1038 | wait(0.01) | |
1039 | s02:Play() | |
1040 | reye.BrickColor = BrickColor.new(righteyebrickcolor) | |
1041 | leye.BrickColor = BrickColor.new(righteyebrickcolor) | |
1042 | text.TextStrokeColor3 = Color3.new(255,0,0) | |
1043 | hat.BrickColor = BrickColor.new("Maroon") | |
1044 | Hat3() | |
1045 | end)) | |
1046 | ||
1047 | ||
1048 | tran = 0 | |
1049 | for i,v in pairs(char:GetChildren()) do | |
1050 | if v.Name == "Head" or v.Name == "Torso" or v.Name == "Torso" or v.Name == "Left Arm" or v.Name == "Right Arm" or v.Name == "Left Leg" or v.Name == "Right Leg" then | |
1051 | Glow1 = Color3.new(.6,0,.1) | |
1052 | Glow2 = Color3.new(0,0,0) | |
1053 | ||
1054 | GlowParticle = Instance.new("ParticleEmitter",v) | |
1055 | GlowParticle.LightEmission = 1 | |
1056 | GlowParticle.Color = ColorSequence.new(Glow1,Glow2) | |
1057 | GlowParticle.Size = NumberSequence.new(0,2) | |
1058 | ||
1059 | GlowParticle.Texture = "http://www.roblox.com/asset/?id=467188845" | |
1060 | GlowParticle.Transparency = NumberSequence.new(tran,1) | |
1061 | GlowParticle.LockedToPart = true | |
1062 | GlowParticle.Lifetime = NumberRange.new(0.5) | |
1063 | GlowParticle.Rate= 300 | |
1064 | GlowParticle.Speed =NumberRange.new(0) | |
1065 | end end | |
1066 | ||
1067 | ||
1068 | ||
1069 | ||
1070 | ||
1071 | ||
1072 | ||
1073 | ||
1074 | ||
1075 | ||
1076 | ||
1077 | ||
1078 | ||
1079 | coroutine.wrap(function() | |
1080 | for i = 1,3 do | |
1081 | wait() | |
1082 | end end)() | |
1083 | wait(1.65) | |
1084 | _DEBOUNCE = true | |
1085 | wait() | |
1086 | Portal:Destroy() | |
1087 | coroutine.wrap(function() | |
1088 | local Pos = char.Torso.Position | |
1089 | local BOOSH = Instance.new("Sound",Workspace) | |
1090 | BOOSH.SoundId = "http://www.roblox.com/asset/?id=2101159" | |
1091 | BOOSH.Volume = 1 | |
1092 | BOOSH.Pitch = 0.675 | |
1093 | local Fuse = Instance.new("Sound",Workspace) | |
1094 | Fuse.SoundId = "http://www.roblox.com/asset/?id=2233908" | |
1095 | Fuse.Volume = 1 | |
1096 | Fuse.Pitch = 0.25 | |
1097 | local BOOSH2 = Instance.new("Sound",Workspace) | |
1098 | BOOSH2.SoundId = "http://www.roblox.com/asset/?id=3264793" | |
1099 | BOOSH2.Volume = 1 | |
1100 | BOOSH2.Pitch = 0.25 | |
1101 | local dsound = true | |
1102 | local PewPew = Instance.new("Sound",Workspace) | |
1103 | PewPew.Name = "PewPew" | |
1104 | PewPew.SoundId = "http://www.roblox.com/asset/?id=34315534" | |
1105 | PewPew.Volume = 1 | |
1106 | PewPew.Pitch = 0.32 | |
1107 | local function GetHumanoids() | |
1108 | local Characters = {} | |
1109 | for i,v in pairs(Workspace:GetChildren())do | |
1110 | if v:IsA("Model")then | |
1111 | local Hu = v:findFirstChild("Humanoid") | |
1112 | local Torso = v:findFirstChild("Torso") | |
1113 | if Hu and Torso and v.Name ~= p.Name then | |
1114 | table.insert(Characters,Torso) | |
1115 | end end end | |
1116 | return Characters | |
1117 | end | |
1118 | local function Boom() | |
1119 | for i = 1,25 do | |
1120 | for _,v in pairs(GetHumanoids())do | |
1121 | if(Pos - v.Position).magnitude <=(40 +i *2.5)/2 then | |
1122 | local h = v.Parent:findFirstChild("Humanoid") | |
1123 | if h then | |
1124 | local Moar =(Pos - v.Position).unit | |
1125 | ||
1126 | ||
1127 | end end end | |
1128 | local p = Instance.new("Part",char) | |
1129 | p.Name = "BlastRing" | |
1130 | p.TopSurface = 0 | |
1131 | p.BottomSurface = 0 | |
1132 | p.CanCollide = false | |
1133 | p.Anchored = true | |
1134 | p.BrickColor = BrickColor.new("Really red") | |
1135 | p.Size = Vector3.new(1,1,1) | |
1136 | p.CFrame = CFrame.new(Pos - Vector3.new(0,3,0))* CFrame.fromEulerAnglesXYZ(math.random(-50,50),math.random(-50,50),math.random(-50,50)/30) | |
1137 | local rm = Instance.new("SpecialMesh",p) | |
1138 | rm.MeshId = "http://www.roblox.com/asset/?id=3270017" | |
1139 | rm.Name = "BlastMesh" | |
1140 | rm.Scale = Vector3.new(1,1,1) | |
1141 | coroutine.wrap(function() | |
1142 | for n = 1,15 do | |
1143 | rm.Scale = rm.Scale + Vector3.new(1.2 +2 +i/5,1.2 +2 +i/5,0.1)*4/2 | |
1144 | if 2 +i/5 == 1.2 then | |
1145 | rm.Scale = rm.Scale + Vector3.new(0,0.9,0) | |
1146 | end | |
1147 | p.Transparency = n/15 | |
1148 | p.CFrame = p.CFrame * CFrame.new(0,0.01,0)* CFrame.fromEulerAnglesXYZ(math.random(-20,20)/50,math.random(-20,20)/70,0) | |
1149 | wait() | |
1150 | end | |
1151 | p:Destroy() | |
1152 | end)() | |
1153 | local p = Instance.new("Part",char) | |
1154 | p.TopSurface = 0 | |
1155 | p.BottomSurface = 0 | |
1156 | p.formFactor = "Symmetric" | |
1157 | p.Size = Vector3.new(1,1,1) | |
1158 | p.Anchored = true | |
1159 | p.CanCollide = false | |
1160 | p.BrickColor = BrickColor.new("Really red") | |
1161 | p.CFrame = CFrame.new(Pos) | |
1162 | local m = Instance.new("BlockMesh",p) | |
1163 | coroutine.wrap(function() | |
1164 | for x = 1,48 do | |
1165 | m.Scale = m.Scale + Vector3.new(0.48 *2 -x/50 +i *0.4,0.48 *2 -i/50 +i *0.4,0.48 *2 -i/50 +i *0.4)/2 | |
1166 | p.CFrame = p.CFrame * CFrame.fromEulerAnglesXYZ(math.random(-10,10)/20,math.random(-10,10)/60,math.random(-10,10)/50) | |
1167 | p.Transparency = x/48 | |
1168 | Wait() | |
1169 | end | |
1170 | p:Destroy() | |
1171 | end)() | |
1172 | Game:GetService("Debris"):AddItem(p,5) | |
1173 | local p = Instance.new("Part",char) | |
1174 | p.Name = "BlastRing" | |
1175 | p.TopSurface = 0 | |
1176 | p.BottomSurface = 0 | |
1177 | p.CanCollide = false | |
1178 | p.Anchored = true | |
1179 | p.BrickColor = BrickColor.new("Really black") | |
1180 | p.Size = Vector3.new(1,1,1) | |
1181 | p.CFrame = CFrame.new(Pos - Vector3.new(0,3,0))* CFrame.fromEulerAnglesXYZ(0,0,0) | |
1182 | local m = Instance.new("SpecialMesh",p) | |
1183 | m.MeshId = "http://www.roblox.com/asset/?id=20329976" | |
1184 | m.Scale = Vector3.new(1,0.25,1) | |
1185 | coroutine.wrap(function() | |
1186 | for n = 1,13 do | |
1187 | m.Scale = m.Scale + Vector3.new(0.7 +1 +i/5,0.7/(n/5),0.7 +1 +i/5)*4/2 | |
1188 | if 1 +i/5 == 1.2 then | |
1189 | m.Scale = m.Scale + Vector3.new(0,0.9,0) | |
1190 | end | |
1191 | p.Transparency = n/13 | |
1192 | p.CFrame = p.CFrame * CFrame.new(0,0.01,0)* CFrame.fromEulerAnglesXYZ(0,math.random(-4,4)/20,0) | |
1193 | Wait() | |
1194 | end | |
1195 | p:Destroy() | |
1196 | end)() | |
1197 | Wait(0.1) | |
1198 | end for i = 10,19 do | |
1199 | local p = Instance.new("Part",char) | |
1200 | p.Name = "BlastRing" | |
1201 | p.TopSurface = 0 | |
1202 | p.BottomSurface = 0 | |
1203 | p.CanCollide = false | |
1204 | p.Anchored = true | |
1205 | p.BrickColor = BrickColor.new("Really red") | |
1206 | p.Size = Vector3.new(1,1,1) | |
1207 | p.CFrame = CFrame.new(Pos -Vector3.new(0,3,0))* CFrame.fromEulerAnglesXYZ(0,0,0) | |
1208 | local m = Instance.new("SpecialMesh",p) | |
1209 | m.MeshId = "http://www.roblox.com/asset/?id=20329976" | |
1210 | m.Scale = Vector3.new(1,0.25,1) | |
1211 | coroutine.wrap(function() | |
1212 | for n = 1,13 do | |
1213 | m.Scale = m.Scale + Vector3.new(0.7 +1 +i/5,0.7/(n/5),0.7 +1 +i/5)*4/2 | |
1214 | if 1 +i/5 == 1.2 then | |
1215 | m.Scale = m.Scale + Vector3.new(0,0.9,0) | |
1216 | end | |
1217 | p.Transparency = n/13 | |
1218 | p.CFrame = p.CFrame * CFrame.new(0,0.01,0)* CFrame.fromEulerAnglesXYZ(0,math.random(-4,4)/20,0) | |
1219 | Wait() | |
1220 | end | |
1221 | p:Destroy() | |
1222 | end)() | |
1223 | local p = Instance.new("Part",char) | |
1224 | p.Name = "BlastRing" | |
1225 | p.TopSurface = 0 | |
1226 | p.BottomSurface = 0 | |
1227 | p.CanCollide = false | |
1228 | p.Anchored = true | |
1229 | p.BrickColor = BrickColor.new("Really black") | |
1230 | p.Size = Vector3.new(1,1,1) | |
1231 | p.CFrame = CFrame.new(Pos -Vector3.new(0,3,0))* CFrame.fromEulerAnglesXYZ(math.random(-50,50),math.random(-50,50),math.random(-50,50)/30) | |
1232 | p.Parent = workspace | |
1233 | local m = Instance.new("SpecialMesh",p) | |
1234 | m.Name = "BlastMesh" | |
1235 | m.Scale = Vector3.new(0.1,0.1,0.1) | |
1236 | m.MeshId = "http://www.roblox.com/asset/?id=3270017" | |
1237 | coroutine.wrap(function() | |
1238 | for n = 1,15 do | |
1239 | m.Scale = m.Scale + Vector3.new(1.5 + 3 +i/5,1.5 + 3+i/5,0.1)*4/2 | |
1240 | if 3+i/5 == 1.2 then | |
1241 | m.Scale = m.Scale + Vector3.new(0,0.9,0) | |
1242 | end | |
1243 | p.Transparency = n/15 | |
1244 | p.CFrame = p.CFrame * CFrame.new(0,0.01,0)* CFrame.fromEulerAnglesXYZ(math.random(-20,20)/90,math.random(-20,20)/170,0) | |
1245 | Wait() | |
1246 | end | |
1247 | p:Destroy() | |
1248 | end)() | |
1249 | for _,v in pairs(GetHumanoids())do | |
1250 | if(Pos - v.Position).magnitude <=(5 +i *9.5)/3 then | |
1251 | local h = v.Parent:findFirstChild("Humanoid") | |
1252 | if h then | |
1253 | local Moar =(Pos - v.Position).unit | |
1254 | ||
1255 | ||
1256 | end end end | |
1257 | Wait(0.1) | |
1258 | end for i = 30,37 do | |
1259 | for _,v in pairs(GetHumanoids())do | |
1260 | if(Pos -v.Position).magnitude <=(140 +i *2.5)/3 then | |
1261 | local h = v.Parent:findFirstChild("Humanoid") | |
1262 | if h then | |
1263 | local Moar =(Pos - v.Position).unit | |
1264 | ||
1265 | ||
1266 | end end end end | |
1267 | dsound = false | |
1268 | wait(6.5) | |
1269 | for i = 1,30 do | |
1270 | BOOSH.Volume = BOOSH.Volume -0.033 | |
1271 | BOOSH2.Volume = BOOSH.Volume | |
1272 | Fuse.Volume = BOOSH.Volume | |
1273 | Wait() | |
1274 | end | |
1275 | BOOSH:Stop() | |
1276 | BOOSH2:Stop() | |
1277 | Fuse:Stop() | |
1278 | end | |
1279 | BOOSH2:Play() | |
1280 | Fuse:Play() | |
1281 | BOOSH:Play() | |
1282 | Boom() | |
1283 | end)() | |
1284 | hum.WalkSpeed = 5 | |
1285 | end]] | |
1286 | ||
1287 | ||
1288 | GroundWave = function() | |
1289 | local HandCF = CFrame.new(root.Position - Vector3.new(0,3,0)) * CFrame.Angles(math.rad(90), math.rad(0), math.rad(0)) | |
1290 | local Colors = {"Insitutional white", "Insitutional white"} | |
1291 | local wave = Instance.new("Part", torso) | |
1292 | wave.BrickColor = BrickColor.new(Colors[math.random(1,#Colors)]) | |
1293 | wave.Anchored = true | |
1294 | wave.CanCollide = false | |
1295 | wave.Locked = true | |
1296 | wave.Size = Vector3.new(1, 1, 1) | |
1297 | wave.TopSurface = "Smooth" | |
1298 | wave.BottomSurface = "Smooth" | |
1299 | wave.Transparency = 0.35 | |
1300 | wave.CFrame = HandCF | |
1301 | wm = Instance.new("SpecialMesh", wave) | |
1302 | wm.MeshId = "rbxassetid://3270017" | |
1303 | coroutine.wrap(function() | |
1304 | for i = 1, 14, 1 do | |
1305 | wm.Scale = Vector3.new(1 + i*1.1, 1 + i*1.1, 1) | |
1306 | wave.Size = wm.Scale | |
1307 | wave.CFrame = HandCF | |
1308 | wave.Transparency = i/14 | |
1309 | wait() | |
1310 | end | |
1311 | wait() | |
1312 | wave:Destroy() | |
1313 | end)() | |
1314 | end | |
1315 | ||
1316 | -----------Tauntsnstuff | |
1317 | DeathMelody = Instance.new("Sound", char) | |
1318 | DeathMelody.SoundId = "rbxassetid://144213980" | |
1319 | DeathMelody.Looped = true | |
1320 | DeathMelody.Pitch = 0.7 | |
1321 | DeathMelody.Volume = 1.5 | |
1322 | DeathMelody.Looped=false | |
1323 | ||
1324 | -----------------------------Aura | |
1325 | mouse.KeyDown:connect(function(k) | |
1326 | if k == "m" and Full == "true" then | |
1327 | ||
1328 | ||
1329 | Full = "true1" | |
1330 | ||
1331 | chatfunc("Guess I'll have to push past even more limits...") | |
1332 | ||
1333 | Humanoid.MaxHealth = "inf" | |
1334 | Humanoid.Health = "inf" | |
1335 | ||
1336 | ssjgaura = Instance.new("ParticleEmitter",tor) | |
1337 | ssjgaura.Name = "transformation1" | |
1338 | ssjgaura.Color = ColorSequence.new(Color3.fromRGB(0,0,0)) | |
1339 | ssjgaura.LightEmission = 0.69 | |
1340 | ssjgaura.Size = NumberSequence.new(2) | |
1341 | ssjgaura.Lifetime = NumberRange.new(0.9) | |
1342 | ssjgaura.Rate = 89 | |
1343 | ssjgaura.ZOffset = -5.5 | |
1344 | ssjgaura.Speed = NumberRange.new(5) | |
1345 | ssjgaura.LockedToPart = true | |
1346 | ||
1347 | ssjgaurag = Instance.new("ParticleEmitter",tor) | |
1348 | ssjgaurag.Name = "transformation2" | |
1349 | ssjgaurag.Color = ColorSequence.new(Color3.fromRGB(0,0,0)) | |
1350 | ssjgaurag.LightEmission = 0.75 | |
1351 | ssjgaurag.Size = NumberSequence.new(2) | |
1352 | ssjgaurag.Lifetime = NumberRange.new(0.99) | |
1353 | ssjgaurag.Rate = 89 | |
1354 | ssjgaurag.ZOffset = -2.5 | |
1355 | ssjgaurag.Speed = NumberRange.new(5.999) | |
1356 | ssjgaurag.SpreadAngle = Vector2.new(0.9,0.99) | |
1357 | ssjgaurag.LockedToPart = true | |
1358 | ||
1359 | ssjgaura.Texture = "rbxassetid://0" | |
1360 | ssjgaurag.Texture = "rbxassetid://0" | |
1361 | ||
1362 | local particleemitter = Instance.new("ParticleEmitter", RightArm) | |
1363 | particleemitter.VelocitySpread = 180 | |
1364 | particleemitter.Lifetime = NumberRange.new(2) | |
1365 | particleemitter.Texture = "http://roblox.com/asset/?id=0" | |
1366 | particleemitter.Speed = NumberRange.new(0.5) | |
1367 | particleemitter.Size = NumberSequence.new({NumberSequenceKeypoint.new(0, 1), NumberSequenceKeypoint.new(1, 1)}) | |
1368 | particleemitter.RotSpeed = NumberRange.new(-45, 45) | |
1369 | particleemitter.Rate = 80 | |
1370 | particleemitter.Rotation = NumberRange.new(-45, 45) | |
1371 | particleemitter.Acceleration = Vector3.new(1,3,0) | |
1372 | particleemitter.Transparency = NumberSequence.new({NumberSequenceKeypoint.new(0, 0), NumberSequenceKeypoint.new(0.701, 0), NumberSequenceKeypoint.new(1, 1)}) | |
1373 | particleemitter.LightEmission = 0.8 | |
1374 | particleemitter.Color = ColorSequence.new(Color3.new(0, 0, 0), Color3.new(0,0,0)) | |
1375 | ||
1376 | end | |
1377 | end) | |
1378 | ||
1379 | ----------- | |
1380 | ||
1381 | function BurningEff(part) | |
1382 | local eff1 = Instance.new("ParticleEmitter",part) | |
1383 | eff1.Size = NumberSequence.new(.1) | |
1384 | eff1.Transparency = NumberSequence.new({NumberSequenceKeypoint.new(0,0),NumberSequenceKeypoint.new(.2,0),NumberSequenceKeypoint.new(1,1)}) | |
1385 | eff1.LightEmission = 1 | |
1386 | eff1.Lifetime = NumberRange.new(1) | |
1387 | eff1.Speed = NumberRange.new(0) | |
1388 | eff1.Rate = 100 | |
1389 | eff1.Texture = "rbxassetid://284205403" | |
1390 | eff1.Acceleration = Vector3.new(0,10,0) | |
1391 | eff1.Color = ColorSequence.new(Color3.new(0,0,255)) | |
1392 | local eff2 = Instance.new("ParticleEmitter",part) | |
1393 | eff2.Size = NumberSequence.new(.1) | |
1394 | eff2.Transparency = NumberSequence.new({NumberSequenceKeypoint.new(0,0),NumberSequenceKeypoint.new(.2,0),NumberSequenceKeypoint.new(1,1)}) | |
1395 | eff2.LightEmission = 1 | |
1396 | eff2.Lifetime = NumberRange.new(0.2) | |
1397 | eff2.Speed = NumberRange.new(0) | |
1398 | eff2.Rate = 100 | |
1399 | eff2.Texture = "rbxassetid://347504259" | |
1400 | eff2.Acceleration = Vector3.new(0,10,0) | |
1401 | eff2.Color = ColorSequence.new(Color3.new(1,1,1)) | |
1402 | local eff3 = Instance.new("ParticleEmitter",part) | |
1403 | eff3.Size = NumberSequence.new(0.2) | |
1404 | eff3.Transparency = NumberSequence.new({NumberSequenceKeypoint.new(0,0),NumberSequenceKeypoint.new(1,1)}) | |
1405 | eff3.LightEmission = 1 | |
1406 | eff3.Lifetime = NumberRange.new(1) | |
1407 | eff3.Speed = NumberRange.new(0) | |
1408 | eff3.Rate = 100 | |
1409 | eff3.Texture = "rbxassetid://284205403" | |
1410 | eff3.Acceleration = Vector3.new(0,10,0) | |
1411 | eff3.Color = ColorSequence.new(Color3.new(1,1,1)) | |
1412 | end | |
1413 | ||
1414 | ||
1415 | function FullPower() | |
1416 | NoAnims = true | |
1417 | attack = true | |
1418 | ||
1419 | ||
1420 | ||
1421 | Full = true | |
1422 | ||
1423 | chatfunc("You know what...") | |
1424 | wait(3) | |
1425 | chatfunc("I'm taking all limits off of my power.") | |
1426 | ||
1427 | for i = 1, 40 do | |
1428 | wait() | |
1429 | hed.Weld.C0 = Lerp(hed.Weld.C0, CFrame.new(0,1.5,-.10)*CFrame.Angles(math.rad(-20),math.rad(0),math.rad(0)), 0.4)--head | |
1430 | torso.Weld.C0 = Lerp(torso.Weld.C0, CFrame.new(0, -1.2, 0) * CFrame.Angles(math.rad(-20), math.rad(0), math.rad(0)), 0.2)--torso | |
1431 | rarm.Weld.C0 = Lerp(rarm.Weld.C0, CFrame.new(1.5,0.2,-.70)*CFrame.Angles(math.rad(150),math.rad(0),math.rad(10)), 0.2)--rarm | |
1432 | larm.Weld.C0 = Lerp(larm.Weld.C0, CFrame.new(-1.5,0.2,-.70)*CFrame.Angles(math.rad(150),math.rad(0),math.rad(-10)), 0.2)--larm | |
1433 | lleg.Weld.C0 = Lerp(lleg.Weld.C0, CFrame.new(-0.5, -0.6, -.40) * CFrame.Angles(math.rad(20), math.rad(0), math.rad(-20)), 0.4)--lleg | |
1434 | rleg.Weld.C0 = Lerp(rleg.Weld.C0, CFrame.new(0.5, -0.6, -.40) * CFrame.Angles(math.rad(20), math.rad(0), math.rad(10)), 0.4)--rleg | |
1435 | end | |
1436 | ||
1437 | ||
1438 | ||
1439 | ||
1440 | ||
1441 | ||
1442 | ||
1443 | ||
1444 | ||
1445 | for i = 1, 20 do | |
1446 | wait() | |
1447 | hed.Weld.C0 = Lerp(hed.Weld.C0, CFrame.new(0,1.5,0)*CFrame.Angles(math.rad(0),math.rad(0),math.rad(0)), 0.4)--head | |
1448 | torso.Weld.C0 = Lerp(torso.Weld.C0, CFrame.new(0, -1, 0) * CFrame.Angles(math.rad(10), math.rad(0), math.rad(0)), 0.2)--torso | |
1449 | rarm.Weld.C0 = Lerp(rarm.Weld.C0, CFrame.new(1.2,0.5,0)*CFrame.Angles(math.rad(150),math.rad(0),math.rad(-30)), 0.2)--arm | |
1450 | larm.Weld.C0 = Lerp(larm.Weld.C0, CFrame.new(-1.2,0.5,0)*CFrame.Angles(math.rad(150),math.rad(0),math.rad(30)), 0.2)--arm | |
1451 | lleg.Weld.C0 = Lerp(lleg.Weld.C0, CFrame.new(-0.5, -1, 0) * CFrame.Angles(math.rad(-10), math.rad(0), math.rad(-10)), 0.4)--leg | |
1452 | rleg.Weld.C0 = Lerp(rleg.Weld.C0, CFrame.new(0.5, -1, 0) * CFrame.Angles(math.rad(-10), math.rad(0), math.rad(10)), 0.4)--leg | |
1453 | end | |
1454 | ||
1455 | s0:Destroy() | |
1456 | ragesong = "381659681" | |
1457 | wait(0.001) | |
1458 | s02 = Instance.new("Sound",char) | |
1459 | s02.Volume = 8 | |
1460 | s02.SoundId = "rbxassetid://"..ragesong | |
1461 | s02.Looped = true | |
1462 | s02.Pitch = 0.7 | |
1463 | wait(0.001) | |
1464 | s02:Play() | |
1465 | Ring() | |
1466 | Landing() | |
1467 | ||
1468 | chatfunc("This is going beyond...") | |
1469 | wait(4) | |
1470 | ||
1471 | p.Character.Head.BrickColor = BrickColor.new("White") | |
1472 | p.Character.Torso.BrickColor = BrickColor.new("White") | |
1473 | p.Character["Right Arm"].BrickColor = BrickColor.new("White") | |
1474 | p.Character["Right Leg"].BrickColor = BrickColor.new("White") | |
1475 | p.Character["Left Leg"].BrickColor = BrickColor.new("White") | |
1476 | p.Character["Left Arm"].BrickColor = BrickColor.new("White") | |
1477 | ||
1478 | ||
1479 | ||
1480 | ||
1481 | ||
1482 | local selectionBoxOfTorso = Instance.new("SelectionBox",torso) | |
1483 | selectionBoxOfTorso.Adornee = torso | |
1484 | selectionBoxOfTorso.Color = BrickColor.new("Insitutional white") | |
1485 | selectionBoxOfTorso.LineThickness = 0.01 | |
1486 | selectionBoxOfTorso.Transparency = 0 | |
1487 | ||
1488 | local selectionBoxOfRightArm = Instance.new("SelectionBox",char["Right Arm"]) | |
1489 | selectionBoxOfRightArm.Adornee = char["Right Arm"] | |
1490 | selectionBoxOfRightArm.Color = BrickColor.new("Insitutional white") | |
1491 | selectionBoxOfRightArm.LineThickness = 0.01 | |
1492 | selectionBoxOfRightArm.Transparency = 0 | |
1493 | ||
1494 | local selectionBoxOfRightLeg = Instance.new("SelectionBox",char["Right Leg"]) | |
1495 | selectionBoxOfRightLeg.Adornee = char["Right Leg"] | |
1496 | selectionBoxOfRightLeg.Color = BrickColor.new("Insitutional white") | |
1497 | selectionBoxOfRightLeg.LineThickness = 0.01 | |
1498 | selectionBoxOfRightLeg.Transparency = 0 | |
1499 | ||
1500 | local selectionBoxOfLeftArm = Instance.new("SelectionBox",char["Left Arm"]) | |
1501 | selectionBoxOfLeftArm.Adornee = char["Left Arm"] | |
1502 | selectionBoxOfLeftArm.Color = BrickColor.new("Insitutional white") | |
1503 | selectionBoxOfLeftArm.LineThickness = 0.01 | |
1504 | selectionBoxOfLeftArm.Transparency = 0 | |
1505 | ||
1506 | local selectionBoxOfLeftLeg = Instance.new("SelectionBox",char["Left Leg"]) | |
1507 | selectionBoxOfLeftLeg.Adornee = char["Left Leg"] | |
1508 | selectionBoxOfLeftLeg.Color = BrickColor.new("Insitutional white") | |
1509 | selectionBoxOfLeftLeg.LineThickness = 0.01 | |
1510 | selectionBoxOfLeftLeg.Transparency = 0 | |
1511 | ||
1512 | ||
1513 | ||
1514 | BurningEff(reye) | |
1515 | ||
1516 | LightOnBody = Instance.new("PointLight", hed) | |
1517 | LightOnBody.Brightness = 3000 | |
1518 | LightOnBody.Range = 20 | |
1519 | LightOnBody.Color = Color3.new(0, 0, 255) | |
1520 | ||
1521 | r = game:GetService("RunService").RenderStepped | |
1522 | Activated = true | |
1523 | custommath={25,26,27,28,29,30,31,32,33,34,35,36,37,38,39,40,41,42,43,44,45,46,47,48,49,50,51,52,53,54,55,56,57,58,59,60,61,62,63,64,65,66,67,68,69,70,71,72,73,74,75,76,77,78,79,80,81,82,83,84,85,86,87,88,89,90,91,92,93,94,95,96,97,98,99,100,-25,-26,-27,-28,-29,-30,-31,-32,-33,-34,-35,-36,-37,-38,-39,-40,-41,-42,-43,-44,-45,-46,-47,-48,-49,-50,-51,-52,-53,-54,-55,-56,-57,-58,-59,-60,-61,-62,-63,-64,-65,-66,-67,-68,-69,-70,-71,-72,-73,-74,-75,-76,-77,-78,-79,-80,-81,-82,-83,-84,-85,-86,-87,-88,-89,-90,-91,-92,-93,-94,-95,-96,-97,-98,-99,-100} | |
1524 | Debri = coroutine.wrap(function() | |
1525 | repeat | |
1526 | local p = Instance.new('Part',torso) | |
1527 | p.formFactor = 'Custom' | |
1528 | p.Size = Vector3.new(1,1,1) | |
1529 | p.BrickColor = workspace.Base.BrickColor | |
1530 | p.CanCollide = false | |
1531 | p.Transparency = 0 | |
1532 | p.Anchored = true | |
1533 | p.Locked=true | |
1534 | p.Material = workspace.Base.Material | |
1535 | s = math.random(1,40)/10 | |
1536 | local m = Instance.new("BlockMesh",p) | |
1537 | m.Scale = Vector3.new(s,s,s) | |
1538 | p.CFrame = torso.CFrame*CFrame.new(custommath[math.random(1,#custommath)]/10,-math.random(5,7),custommath[math.random(1,#custommath)]/10)*CFrame.Angles(math.random(),math.random(),math.random()) | |
1539 | --[[coroutine.wrap(function() | |
1540 | wait(2) | |
1541 | while Charging == true do | |
1542 | wait(2) | |
1543 | GroundWave1() | |
1544 | wait(2) | |
1545 | end | |
1546 | end)()]]-- | |
1547 | ||
1548 | spawn(function() | |
1549 | while r:wait() do | |
1550 | if p.Transparency >= 1 then p:Destroy() break end | |
1551 | p.CFrame = p.CFrame*CFrame.Angles(math.rad(2),math.rad(2),math.rad(2))+Vector3.new(0,0.2,0) | |
1552 | p.Transparency = p.Transparency+0.01 | |
1553 | end | |
1554 | end) | |
1555 | wait(.3) | |
1556 | until Activated == false | |
1557 | end) | |
1558 | Debri() | |
1559 | ||
1560 | l = game.Lighting | |
1561 | l.TimeOfDay = 1 | |
1562 | game.Lighting.Ambient = Color3.new(0,0,0) | |
1563 | l.Brightness = 0.1 | |
1564 | ||
1565 | ||
1566 | spawn(function() | |
1567 | while wait(2) | |
1568 | do | |
1569 | GroundWave() | |
1570 | end | |
1571 | end) | |
1572 | ||
1573 | ||
1574 | local eColors = {"Insitutional white", "Insitutional white"} | |
1575 | coroutine.resume(coroutine.create(function() | |
1576 | function Lightning(Part0,Part1,Times,Offset,Color,Thickness,Trans) -- Lightning module | |
1577 | local magz = (Part0 - Part1).magnitude | |
1578 | local curpos = Part0 | |
1579 | local trz = {-Offset,Offset} | |
1580 | for i=1,Times do | |
1581 | local li = Instance.new("Part", torso) | |
1582 | li.Name = "Lightning" | |
1583 | li.TopSurface =0 | |
1584 | li.Material = "Neon" | |
1585 | li.BottomSurface = 0 | |
1586 | li.Anchored = true | |
1587 | li.Locked = true | |
1588 | li.Transparency = Trans or 0.4 | |
1589 | li.BrickColor = BrickColor.new(Color) | |
1590 | li.formFactor = "Custom" | |
1591 | li.CanCollide = false | |
1592 | li.Size = Vector3.new(Thickness,Thickness,magz/Times) | |
1593 | local Offzet = Vector3.new(trz[math.random(1,2)],trz[math.random(1,2)],trz[math.random(1,2)]) | |
1594 | local trolpos = CFrame.new(curpos,Part1)*CFrame.new(0,0,magz/Times).p+Offzet | |
1595 | if Times == i then | |
1596 | local magz2 = (curpos - Part1).magnitude | |
1597 | li.Size = Vector3.new(Thickness,Thickness,magz2) | |
1598 | li.CFrame = CFrame.new(curpos,Part1)*CFrame.new(0,0,-magz2/2) | |
1599 | else | |
1600 | li.CFrame = CFrame.new(curpos,trolpos)*CFrame.new(0,0,magz/Times/2) | |
1601 | end | |
1602 | curpos = li.CFrame*CFrame.new(0,0,magz/Times/2).p | |
1603 | game.Debris:AddItem(li,.1) | |
1604 | end | |
1605 | end | |
1606 | ||
1607 | BodyParts = {} | |
1608 | for _, v in pairs(char:GetChildren()) do | |
1609 | if v:IsA("Part") then | |
1610 | table.insert(BodyParts, v) | |
1611 | end | |
1612 | end | |
1613 | ||
1614 | Bounding = {} -- Calculate the bounding boxes | |
1615 | for _, v in pairs(BodyParts) do | |
1616 | local temp = {X=nil, Y=nil, Z=nil} | |
1617 | temp.X = v.Size.X/2 * 10 | |
1618 | temp.Y = v.Size.Y/2 * 10 | |
1619 | temp.Z = v.Size.Z/2 * 10 | |
1620 | Bounding[v.Name] = temp | |
1621 | end | |
1622 | ||
1623 | while wait(lightspeed) do | |
1624 | lightspeed = math.random(0.1,0.2) | |
1625 | local Body1 = BodyParts[math.random(#BodyParts)] | |
1626 | local Body2 = BodyParts[math.random(#BodyParts)] | |
1627 | local Pos1 = Vector3.new( | |
1628 | math.random(-Bounding[Body1.Name].X, Bounding[Body1.Name].X)/10, | |
1629 | math.random(-Bounding[Body1.Name].Y, Bounding[Body1.Name].Y)/10, | |
1630 | math.random(-Bounding[Body1.Name].Z, Bounding[Body1.Name].Z)/10 | |
1631 | ) | |
1632 | local Pos2 = Vector3.new( | |
1633 | math.random(-Bounding[Body2.Name].X, Bounding[Body2.Name].X)/10, | |
1634 | math.random(-Bounding[Body2.Name].Y, Bounding[Body2.Name].Y)/10, | |
1635 | math.random(-Bounding[Body2.Name].Z, Bounding[Body2.Name].Z)/10 | |
1636 | ) | |
1637 | local SPos1 = Body1.Position + Pos1 | |
1638 | local SPos2 = Body2.Position + Pos2 | |
1639 | Lightning(SPos1, SPos2, 4, 3, eColors[math.random(1,#eColors)], .2, .56) | |
1640 | end | |
1641 | end)) | |
1642 | for i = 1, 20 do | |
1643 | wait() | |
1644 | hed.Weld.C0 = Lerp(hed.Weld.C0, CFrame.new(0,1.3,.2)*CFrame.Angles(math.rad(50),math.rad(0),math.rad(0)), 0.4)--head | |
1645 | torso.Weld.C0 = Lerp(torso.Weld.C0, CFrame.new(0, -1, 0) * CFrame.Angles(math.rad(20), math.rad(0), math.rad(0)), 0.2)--torso | |
1646 | rarm.Weld.C0 = Lerp(rarm.Weld.C0, CFrame.new(1.4,0.5,0)*CFrame.Angles(math.rad(-120),math.rad(0),math.rad(60)), 0.2)--arm | |
1647 | larm.Weld.C0 = Lerp(larm.Weld.C0, CFrame.new(-1.4,0.5,0)*CFrame.Angles(math.rad(-120),math.rad(0),math.rad(-60)), 0.2)--arm | |
1648 | lleg.Weld.C0 = Lerp(lleg.Weld.C0, CFrame.new(-0.5, -1, 0) * CFrame.Angles(math.rad(-20), math.rad(0), math.rad(-10)), 0.4)--leg | |
1649 | rleg.Weld.C0 = Lerp(rleg.Weld.C0, CFrame.new(0.5, -1, 0) * CFrame.Angles(math.rad(-20), math.rad(0), math.rad(10)), 0.4)--leg | |
1650 | end | |
1651 | ||
1652 | ||
1653 | DeathMelody:Play() | |
1654 | ||
1655 | ssj2aura:Destroy() | |
1656 | ssj2aura2:Destroy() | |
1657 | ||
1658 | ssj2aura = Instance.new("ParticleEmitter",torso) | |
1659 | ssj2aura.Name = "ssj2aura" | |
1660 | ssj2aura.Texture = "rbxassetid://0" | |
1661 | ssj2aura.Transparency = NumberSequence.new(0.2) | |
1662 | ssj2aura.Color = ColorSequence.new(Color3.fromRGB(1,1,1)) | |
1663 | ssj2aura.LightEmission = 1 | |
1664 | ssj2aura.Size = NumberSequence.new(6) | |
1665 | ssj2aura.Lifetime = NumberRange.new(0.5) | |
1666 | ssj2aura.Rate = 20 | |
1667 | ssj2aura.ZOffset = 0 | |
1668 | ssj2aura.Speed = NumberRange.new(10) | |
1669 | ssj2aura.LockedToPart = true | |
1670 | ||
1671 | ssj2aura2 = Instance.new("ParticleEmitter",torso) | |
1672 | ssj2aura2.Name = "ssj2aura2" | |
1673 | ssj2aura2.Texture = "rbxassetid://1072507908" | |
1674 | ssj2aura2.Transparency = NumberSequence.new(0.2) | |
1675 | ssj2aura2.Color = ColorSequence.new(Color3.fromRGB(1,1,1)) | |
1676 | ssj2aura2.LightEmission = 0.75 | |
1677 | ssj2aura2.Size = NumberSequence.new(6) | |
1678 | ssj2aura2.Lifetime = NumberRange.new(0.5) | |
1679 | ssj2aura2.Rate = 20 | |
1680 | ssj2aura2.ZOffset = -1 | |
1681 | ssj2aura2.Speed = NumberRange.new(10) | |
1682 | ssj2aura2.LockedToPart = true | |
1683 | ||
1684 | chatfunc("You have pushed me far past my patience") | |
1685 | wait(4) | |
1686 | chatfunc("Now, face my full power!") | |
1687 | wait(5) | |
1688 | ||
1689 | attack = false | |
1690 | NoAnims = false | |
1691 | end | |
1692 | ||
1693 | function weld5(part0, part1, c0, c1) | |
1694 | weeld=Instance.new("Weld", part0) | |
1695 | weeld.Part0=part0 | |
1696 | weeld.Part1=part1 | |
1697 | weeld.C0=c0 | |
1698 | weeld.C1=c1 | |
1699 | return weeld | |
1700 | ||
1701 | ||
1702 | end | |
1703 | ||
1704 | ||
1705 | ||
1706 | Grab = false | |
1707 | ||
1708 | ||
1709 | ||
1710 | ||
1711 | ||
1712 | fat = Instance.new("BindableEvent",script) | |
1713 | fat.Name = "Heartbeat" | |
1714 | ||
1715 | script:WaitForChild("Heartbeat") | |
1716 | ||
1717 | frame = 1/30 | |
1718 | tf = 0 | |
1719 | allowframeloss = false --if set to true will fire every frame it possibly can. This will result in multiple events happening at the same time whenever delta returns frame*2 or greater. | |
1720 | tossremainder = false --if set to true t will be set to 0 after Fire()-ing. | |
1721 | lastframe = tick() | |
1722 | script.Heartbeat:Fire() --ayy lmao | |
1723 | ||
1724 | game:GetService("RunService").Heartbeat:connect(function(s,p) --herp derp | |
1725 | tf = tf + s | |
1726 | if tf >= frame then | |
1727 | if allowframeloss then | |
1728 | script.Heartbeat:Fire() | |
1729 | lastframe=tick() | |
1730 | else | |
1731 | --print("FIRED "..math.floor(t/frame).." FRAME(S)","REMAINDER "..(t - frame*(math.floor(t/frame)))) | |
1732 | for i=1, math.floor(tf/frame) do | |
1733 | script.Heartbeat:Fire() | |
1734 | end | |
1735 | lastframe=tick() | |
1736 | end | |
1737 | if tossremainder then | |
1738 | tf = 0 | |
1739 | else | |
1740 | tf = tf - frame * math.floor(tf/frame) | |
1741 | end | |
1742 | end | |
1743 | end) | |
1744 | ||
1745 | function Swait(NUMBER) | |
1746 | if NUMBER == 0 or NUMBER == nil then | |
1747 | fat.Event:wait() | |
1748 | else | |
1749 | for i = 1, NUMBER do | |
1750 | fat.Event:wait() | |
1751 | end | |
1752 | end | |
1753 | end | |
1754 | ||
1755 | ||
1756 | ||
1757 | ||
1758 | ||
1759 | function GrabAndDrag() | |
1760 | NoAnims = true | |
1761 | attack = true | |
1762 | ||
1763 | if Grab == false then | |
1764 | ||
1765 | for i = 1, 20 do | |
1766 | rarm.Weld.C0 = Lerp(rarm.Weld.C0, CFrame.new(1.5,0.65,0)*CFrame.Angles(math.rad(-20),math.rad(0),math.rad(20)), 0.2) | |
1767 | larm.Weld.C0 = Lerp(larm.Weld.C0, CFrame.new(-1.5,0.65,0)*CFrame.Angles(math.rad(80),math.rad(0),math.rad(-80)), 0.2) | |
1768 | hed.Weld.C0 = Lerp(hed.Weld.C0, CFrame.new(0,1.5,-.2)*CFrame.Angles(math.rad(-10),math.rad(-70),0), 0.2) | |
1769 | torso.Weld.C0 = Lerp(torso.Weld.C0, CFrame.new(0, -1, 0) * CFrame.Angles(0, math.rad(70), 0), 0.2) | |
1770 | lleg.Weld.C0 = Lerp(lleg.Weld.C0, CFrame.new(-0.5, -1, 0) * CFrame.Angles(math.rad(-10), math.rad(30), math.rad(-20)), 0.2) | |
1771 | rleg.Weld.C0 = Lerp(rleg.Weld.C0, CFrame.new(0.5, -1, 0) * CFrame.Angles(math.rad(10), math.rad(-15), math.rad(20)), 0.2) | |
1772 | if Debounces.on == false then break end | |
1773 | rs:wait(2) | |
1774 | end | |
1775 | con1=larm.Touched:connect(function(hit) -- this is grab | |
1776 | ht = hit.Parent | |
1777 | hum1=ht:FindFirstChild('Humanoid') | |
1778 | if hum1 ~= nil then | |
1779 | ||
1780 | ||
1781 | ||
1782 | ||
1783 | z = Instance.new("Sound",char) | |
1784 | z.SoundId = "rbxassetid://227194112" | |
1785 | z.Volume = 90 | |
1786 | wait(.1) | |
1787 | z:Play() | |
1788 | hum1.PlatformStand=true | |
1789 | gp = ht | |
1790 | Grab = true | |
1791 | asd=weld5(larm,ht:FindFirstChild("Torso"),CFrame.new(0,-1,1.5),CFrame.new(0,0,0)) | |
1792 | asd.Parent = larm | |
1793 | asd.Name = "asd" | |
1794 | asd.C0=asd.C0*CFrame.Angles(math.rad(-90),math.rad(180),0) | |
1795 | ||
1796 | ||
1797 | --[[ elseif hum1 == nil then | |
1798 | con1:disconnect() | |
1799 | wait() return]] | |
1800 | end | |
1801 | end) | |
1802 | ||
1803 | ||
1804 | for i = 1, 20 do | |
1805 | rarm.Weld.C0 = Lerp(rarm.Weld.C0, CFrame.new(1.5,0.65,0)*CFrame.Angles(math.rad(-20),math.rad(0),math.rad(20)), 0.2) | |
1806 | larm.Weld.C0 = Lerp(larm.Weld.C0, CFrame.new(-1.5,0.65,0)*CFrame.Angles(math.rad(70),math.rad(0),math.rad(20)), 0.2) | |
1807 | hed.Weld.C0 = Lerp(hed.Weld.C0, CFrame.new(0,1.5,-.2)*CFrame.Angles(math.rad(-10),math.rad(30),0), 0.2) | |
1808 | torso.Weld.C0 = Lerp(torso.Weld.C0, CFrame.new(0, -1, 0) * CFrame.Angles(0, math.rad(-30), 0), 0.2) | |
1809 | lleg.Weld.C0 = Lerp(lleg.Weld.C0, CFrame.new(-0.5, -1, 0) * CFrame.Angles(math.rad(10), math.rad(30), math.rad(-20)), 0.2) | |
1810 | rleg.Weld.C0 = Lerp(rleg.Weld.C0, CFrame.new(0.5, -1, 0) * CFrame.Angles(math.rad(-10), math.rad(-15), math.rad(20)), 0.2) | |
1811 | if Debounces.on == false then break end | |
1812 | rs:wait(2) | |
1813 | end | |
1814 | con1:disconnect() | |
1815 | ||
1816 | if gp == nil then | |
1817 | attack = false | |
1818 | NoAnims = false | |
1819 | return end | |
1820 | ||
1821 | ||
1822 | ||
1823 | --[[for i = 1, 16 do | |
1824 | rarm.Weld.C0 = Lerp(rarm.Weld.C0, CFrame.new(1.5,0.65,0)*CFrame.Angles(math.rad(0),math.rad(50),math.rad(60)), 0.3) | |
1825 | larm.Weld.C0 = Lerp(larm.Weld.C0, CFrame.new(-1.5,0.65,-.5)*CFrame.Angles(math.rad(130),math.rad(0),math.rad(-60)), 0.3) | |
1826 | hed.Weld.C0 = Lerp(hed.Weld.C0, CFrame.new(0,1.5,-.2)*CFrame.Angles(math.rad(14),math.rad(70),0), 0.3) | |
1827 | torso.Weld.C0 = Lerp(torso.Weld.C0, CFrame.new(0, -1, 0) * CFrame.Angles(0, math.rad(-70), 0), 0.3) | |
1828 | lleg.Weld.C0 = Lerp(lleg.Weld.C0, CFrame.new(-0.5, -1, 0) * CFrame.Angles(math.rad(10), math.rad(30), math.rad(-20)), 0.3) | |
1829 | rleg.Weld.C0 = Lerp(rleg.Weld.C0, CFrame.new(0.5, -1, 0) * CFrame.Angles(math.rad(-10), math.rad(-15), math.rad(20)), 0.3) | |
1830 | cor.Weld.C1 = Lerp(cor.Weld.C1, CFrame.new(0, 0, 0) * CFrame.Angles(0, math.rad(40), 0), 0.3) | |
1831 | if Debounces.on == false then end | |
1832 | rs:wait() | |
1833 | end]]-- | |
1834 | for i = 1, 16 do | |
1835 | rarm.Weld.C0 = Lerp(rarm.Weld.C0, CFrame.new(1.5,0.65,0)*CFrame.Angles(math.rad(-20),math.rad(0),math.rad(20)), 0.3) | |
1836 | larm.Weld.C0 = Lerp(larm.Weld.C0, CFrame.new(-1.5,0.65,0)*CFrame.Angles(math.rad(140),math.rad(0),math.rad(-73)), 0.3) | |
1837 | hed.Weld.C0 = Lerp(hed.Weld.C0, CFrame.new(0,1.5,-.2)*CFrame.Angles(math.rad(20),math.rad(-60),0), 0.3) | |
1838 | torso.Weld.C0 = Lerp(torso.Weld.C0, CFrame.new(0, -1, 0) * CFrame.Angles(0, math.rad(50), 0), 0.3) | |
1839 | lleg.Weld.C0 = Lerp(lleg.Weld.C0, CFrame.new(-0.5, -1, 0) * CFrame.Angles(math.rad(0), math.rad(30), math.rad(-20)), 0.3) | |
1840 | rleg.Weld.C0 = Lerp(rleg.Weld.C0, CFrame.new(0.5, -1, 0) * CFrame.Angles(math.rad(-10), math.rad(-15), math.rad(20)), 0.3) | |
1841 | if Debounces.on == false then end | |
1842 | rs:wait() | |
1843 | end | |
1844 | ||
1845 | ||
1846 | coroutine.resume(coroutine.create(function() | |
1847 | local BF = Instance.new("BodyVelocity",hed) | |
1848 | BF.maxForce = Vector3.new(math.huge,math.huge,math.huge) | |
1849 | BF.velocity = root.CFrame.lookVector*120 | |
1850 | wait(2.5) | |
1851 | BF:remove() | |
1852 | end)) | |
1853 | ||
1854 | ||
1855 | ||
1856 | z = Instance.new("Sound",char) | |
1857 | z.SoundId = "rbxassetid://138223085" | |
1858 | z.Volume = 90 | |
1859 | wait(.1) | |
1860 | z:Play() | |
1861 | ||
1862 | coroutine.resume(coroutine.create(function() | |
1863 | for i=1,78 do | |
1864 | wait() | |
1865 | MagicBlock(BrickColor.new("Insitutional white"),gp:FindFirstChild("Torso").CFrame,1,1,1,0.5,0.5,0.5,0.025) | |
1866 | wait(0.01) | |
1867 | MagicBlock(BrickColor.new("Really black"),gp:FindFirstChild("Torso").CFrame,1,1,1,0.5,0.5,0.5,0.025) | |
1868 | end | |
1869 | end)) | |
1870 | ||
1871 | coroutine.resume(coroutine.create(function() | |
1872 | Grabee = gp:FindFirstChild("Torso") | |
1873 | par,loc=workspace:FindPartOnRay(Ray.new(char.Torso.Position,(char.Torso.Position-(char.Torso.Position-Vector3.new(0,2,0))).unit*-500),char) | |
1874 | wait(0.01) | |
1875 | for i = 1,78 do | |
1876 | wait(0.01) | |
1877 | for i=1, 5 do | |
1878 | p=Instance.new("Part") | |
1879 | p.FrontSurface=par.TopSurface | |
1880 | p.Material=par.Material | |
1881 | p.BottomSurface=0 | |
1882 | p.Anchored=true p.CanCollide=false | |
1883 | p.BrickColor=par.BrickColor | |
1884 | p.Size=Vector3.new(math.random(15,35)/5,math.random(15,35)/5,math.random(4,5)) | |
1885 | p.CFrame=CFrame.new(Grabee.Position-Vector3.new(math.random(-i,i)/1,3,math.random(-i,i)/1),loc+Vector3.new(0,1000-i*20,0))*CFrame.fromEulerAnglesXYZ(math.random(-10,10)/30,math.random(-10,10)/30,math.random(-10,10)/30) | |
1886 | p.Parent=char | |
1887 | game:GetService("Debris"):AddItem(p,2+i*.1) | |
1888 | if math.random(1,5)==5 then | |
1889 | coroutine.resume(coroutine.create(function(p) f=Instance.new("Smoke") f.Parent=p f.Size=30 f.RiseVelocity=0 f.Opacity=.025 Swait(.1) f.Enabled=false Swait(1) f:Remove() end),p) | |
1890 | end | |
1891 | end | |
1892 | end | |
1893 | ||
1894 | end)) | |
1895 | ||
1896 | coroutine.resume(coroutine.create(function() | |
1897 | Grabee = gp:FindFirstChild("Torso") | |
1898 | par,loc=workspace:FindPartOnRay(Ray.new(char.Torso.Position,(char.Torso.Position-(char.Torso.Position-Vector3.new(0,2,0))).unit*-500),char) | |
1899 | wait(0.01) | |
1900 | ||
1901 | for i=1, 78 do | |
1902 | wait(0.01) | |
1903 | for i=1, 1 do | |
1904 | p=Instance.new("Part") | |
1905 | p.TopSurface=par.TopSurface | |
1906 | p.BottomSurface=par.BottomSurface | |
1907 | p.Material=par.Material | |
1908 | p.BottomSurface=0 | |
1909 | p.Anchored=false p.CanCollide=false | |
1910 | p.BrickColor=par.BrickColor | |
1911 | p.formFactor="Custom" | |
1912 | p.Size=Vector3.new(math.random(15,35)/12,math.random(13,35)/12,math.random(15,35)/12) | |
1913 | p.CFrame=CFrame.new(Grabee.Position-Vector3.new(math.random(-4,4),-2,math.random(-4,4)))*CFrame.fromEulerAnglesXYZ(math.random(-10,10)/20,math.random(-10,10)/5,math.random(-10,10)/20) | |
1914 | p.Parent=char | |
1915 | game:GetService("Debris"):AddItem(p,3+i*.1) | |
1916 | p.Velocity=Vector3.new(math.random(-10,10)*4,math.random(40,80),math.random(-10,10)*4) | |
1917 | p.RotVelocity=p.Velocity | |
1918 | if math.random(1,5)==5 then | |
1919 | coroutine.resume(coroutine.create(function(p) f=Instance.new("Smoke") f.Parent=p f.Size=15 f.RiseVelocity=10 f.Opacity=.1 Swait(.1) f.Enabled=false Swait(1) f:Remove() end),p) | |
1920 | end | |
1921 | end | |
1922 | Swait(.025) | |
1923 | end | |
1924 | ||
1925 | end)) | |
1926 | for i = 1, 100 do | |
1927 | rarm.Weld.C0 = Lerp(rarm.Weld.C0, CFrame.new(1.5,0.65,0)*CFrame.Angles(math.rad(-20),math.rad(0),math.rad(20)), 0.3) | |
1928 | larm.Weld.C0 = Lerp(larm.Weld.C0, CFrame.new(-1.5,0.65,-.4)*CFrame.Angles(math.rad(70),math.rad(0),math.rad(-13)), 0.3) | |
1929 | hed.Weld.C0 = Lerp(hed.Weld.C0, CFrame.new(0,1.5,-.2)*CFrame.Angles(math.rad(0),math.rad(20),0), 0.3) | |
1930 | torso.Weld.C0 = Lerp(torso.Weld.C0, CFrame.new(0, -1, 0) * CFrame.Angles(math.rad(-60), math.rad(-30), 0), 0.3) | |
1931 | lleg.Weld.C0 = Lerp(lleg.Weld.C0, CFrame.new(-0.5, -1, 0) * CFrame.Angles(math.rad(80), math.rad(30), math.rad(-20)), 0.3) | |
1932 | rleg.Weld.C0 = Lerp(rleg.Weld.C0, CFrame.new(0.5, -1, 0) * CFrame.Angles(math.rad(70), math.rad(-15), math.rad(20)), 0.3) | |
1933 | if Debounces.on == false then end | |
1934 | rs:wait() | |
1935 | ||
1936 | end | |
1937 | asd:Destroy() | |
1938 | gp = nil | |
1939 | hum1.Health = 0 | |
1940 | attack = false | |
1941 | ht = nil | |
1942 | NoAnims = false | |
1943 | Grab = false | |
1944 | end | |
1945 | end | |
1946 | ||
1947 | ||
1948 | ||
1949 | ||
1950 | ||
1951 | ||
1952 | ||
1953 | ||
1954 | ||
1955 | ||
1956 | ||
1957 | function FindNearestTorso(Position,Distance,SinglePlayer) | |
1958 | if SinglePlayer then return(SinglePlayer.Torso.CFrame.p -Position).magnitude < Distance end | |
1959 | local List = {} | |
1960 | for i,v in pairs(workspace:GetChildren())do | |
1961 | if v:IsA("Model")then | |
1962 | if v:findFirstChild("Torso")then | |
1963 | if v ~= char then | |
1964 | if(v.Torso.Position -Position).magnitude <= Distance then | |
1965 | table.insert(List,v) | |
1966 | end | |
1967 | end | |
1968 | end | |
1969 | end | |
1970 | end | |
1971 | return List | |
1972 | end | |
1973 | ||
1974 | ||
1975 | ||
1976 | function Ring() | |
1977 | ||
1978 | ||
1979 | local effspwn = Instance.new("Part") | |
1980 | local model = Instance.new("Model") | |
1981 | game.Debris:AddItem(model, 20) | |
1982 | model.Name = "smasheffects" | |
1983 | model.Parent = workspace | |
1984 | effspwn.Name = "spwnr" | |
1985 | effspwn.Size = Vector3.new(1, 1, 1) | |
1986 | effspwn.Anchored = true | |
1987 | effspwn.CanCollide = false | |
1988 | effspwn.Transparency = 1 | |
1989 | effspwn.CFrame = root.CFrame * CFrame.Angles(math.rad(180), 0, 0) | |
1990 | effspwn.Parent = model | |
1991 | ||
1992 | for i,v in pairs(FindNearestTorso(torso.CFrame.p,50))do | |
1993 | if v:FindFirstChild('Humanoid') then | |
1994 | v.Humanoid:TakeDamage(math.random(10000020,10000030)) | |
1995 | v.Humanoid.PlatformStand = true | |
1996 | v:FindFirstChild("Torso").Velocity = hed.CFrame.lookVector * 200 | |
1997 | end | |
1998 | end | |
1999 | coroutine.resume(coroutine.create(function() | |
2000 | local shok = Instance.new("Part") | |
2001 | shok.Name = "wring1" | |
2002 | shok.BrickColor = BrickColor.new("Insitutional white") | |
2003 | shok.CFrame = effspwn.CFrame * CFrame.Angles(math.rad(-90), math.rad(0), math.rad(0)) | |
2004 | shok.Size = Vector3.new(1, 1, 1) | |
2005 | shok.Anchored = true | |
2006 | shok.Material = "Neon" | |
2007 | shok.Transparency = 0.25 | |
2008 | shok.CanCollide = false | |
2009 | shok.Parent = model | |
2010 | game.Debris:AddItem(shok, 12) | |
2011 | local mesh = Instance.new("SpecialMesh") | |
2012 | mesh.MeshType = "FileMesh" | |
2013 | mesh.MeshId = "rbxassetid://3270017" | |
2014 | mesh.Scale = Vector3.new(0.1, 0.1, 0.05) | |
2015 | mesh.Parent = shok | |
2016 | for e = 1, 30 do | |
2017 | wait() | |
2018 | mesh.Scale = mesh.Scale + Vector3.new(2.6, 2.6, 3) | |
2019 | shok.Transparency = shok.Transparency + 0.002 | |
2020 | shok.CFrame = shok.CFrame:lerp(shok.CFrame * CFrame.new(0, 0, -1), 0.4) | |
2021 | shok.CFrame = shok.CFrame * CFrame.Angles(math.rad(0), math.rad(0), math.rad(-2)) | |
2022 | end | |
2023 | for e = 1, 38 do | |
2024 | wait() | |
2025 | mesh.Scale = mesh.Scale + Vector3.new(2.6, 2.6, 0.1) | |
2026 | shok.Transparency = shok.Transparency + 0.002 | |
2027 | shok.CFrame = shok.CFrame:lerp(shok.CFrame * CFrame.new(0, 0, -0.12), 0.4) | |
2028 | shok.CFrame = shok.CFrame * CFrame.Angles(math.rad(0), math.rad(0), math.rad(-2)) | |
2029 | end | |
2030 | for e = 1, 24 do | |
2031 | wait() | |
2032 | mesh.Scale = mesh.Scale + Vector3.new(2.6, 2.6, 0.1) | |
2033 | shok.Transparency = shok.Transparency + 0.03 | |
2034 | shok.CFrame = shok.CFrame:lerp(shok.CFrame * CFrame.new(0, 0, -0.12), 0.4) | |
2035 | shok.CFrame = shok.CFrame * CFrame.Angles(math.rad(0), math.rad(0), math.rad(-2)) | |
2036 | end | |
2037 | end)) | |
2038 | coroutine.resume(coroutine.create(function() | |
2039 | local shok = Instance.new("Part") | |
2040 | shok.Name = "wring2" | |
2041 | shok.BrickColor = BrickColor.new("Insitutional white") | |
2042 | shok.CFrame = effspwn.CFrame * CFrame.new(0, 12, 0) * CFrame.Angles(math.rad(-90), math.rad(0), math.rad(0)) | |
2043 | shok.Size = Vector3.new(1, 1, 1) | |
2044 | shok.Anchored = true | |
2045 | shok.Material = "Neon" | |
2046 | shok.Transparency = 0.25 | |
2047 | shok.CanCollide = false | |
2048 | shok.Parent = model | |
2049 | game.Debris:AddItem(shok, 12) | |
2050 | local mesh = Instance.new("SpecialMesh") | |
2051 | mesh.MeshType = "FileMesh" | |
2052 | mesh.MeshId = "rbxassetid://3270017" | |
2053 | mesh.Scale = Vector3.new(12, 12, 0.05) | |
2054 | mesh.Parent = shok | |
2055 | for e = 1, 30 do | |
2056 | wait() | |
2057 | mesh.Scale = mesh.Scale + Vector3.new(2.8, 2.8, 3) | |
2058 | shok.Transparency = shok.Transparency + 0.002 | |
2059 | shok.CFrame = shok.CFrame:lerp(shok.CFrame * CFrame.new(0, 0, -1), 0.4) | |
2060 | shok.CFrame = shok.CFrame * CFrame.Angles(math.rad(0), math.rad(0), math.rad(2)) | |
2061 | end | |
2062 | for e = 1, 38 do | |
2063 | wait() | |
2064 | mesh.Scale = mesh.Scale + Vector3.new(2.8, 2.8, 0.1) | |
2065 | shok.Transparency = shok.Transparency + 0.002 | |
2066 | shok.CFrame = shok.CFrame:lerp(shok.CFrame * CFrame.new(0, 0, -0.12), 0.4) | |
2067 | shok.CFrame = shok.CFrame * CFrame.Angles(math.rad(0), math.rad(0), math.rad(2)) | |
2068 | end | |
2069 | for e = 1, 24 do | |
2070 | wait() | |
2071 | mesh.Scale = mesh.Scale + Vector3.new(2.8, 2.8, 0.1) | |
2072 | shok.Transparency = shok.Transparency + 0.03 | |
2073 | shok.CFrame = shok.CFrame:lerp(shok.CFrame * CFrame.new(0, 0, -0.12), 0.4) | |
2074 | shok.CFrame = shok.CFrame * CFrame.Angles(math.rad(0), math.rad(0), math.rad(2)) | |
2075 | end | |
2076 | end)) | |
2077 | ||
2078 | coroutine.resume(coroutine.create(function() | |
2079 | local shok = Instance.new("Part") | |
2080 | shok.Name = "shokwve" | |
2081 | shok.BrickColor = BrickColor.new("Really black") | |
2082 | shok.Position = effspwn.Position + Vector3.new(0, 5, 0) | |
2083 | shok.Size = Vector3.new(1, 1, 1) | |
2084 | shok.Anchored = true | |
2085 | shok.Material = "Neon" | |
2086 | shok.Transparency = 0.6 | |
2087 | shok.CanCollide = false | |
2088 | shok.Parent = model | |
2089 | game.Debris:AddItem(shok, 12) | |
2090 | local mesh = Instance.new("SpecialMesh") | |
2091 | mesh.MeshType = "FileMesh" | |
2092 | mesh.MeshId = "rbxassetid://489415447" | |
2093 | mesh.Scale = Vector3.new(1, 1, 1) | |
2094 | mesh.Parent = shok | |
2095 | for e = 1, 12 do | |
2096 | wait() | |
2097 | mesh.Scale = mesh.Scale + Vector3.new(2, 2, 2) | |
2098 | shok.Transparency = shok.Transparency + 0.002 | |
2099 | end | |
2100 | for e = 1, 32 do | |
2101 | wait() | |
2102 | mesh.Scale = mesh.Scale + Vector3.new(0.5, 0.5, 0.5) | |
2103 | shok.Transparency = shok.Transparency + 0.002 | |
2104 | end | |
2105 | for e = 1, 24 do | |
2106 | wait() | |
2107 | mesh.Scale = mesh.Scale + Vector3.new(0.5, 0.5, 0.5) | |
2108 | shok.Transparency = shok.Transparency + 0.03 | |
2109 | end | |
2110 | end)) | |
2111 | coroutine.resume(coroutine.create(function() | |
2112 | local shok = Instance.new("Part") | |
2113 | shok.Name = "shock2" | |
2114 | shok.BrickColor = BrickColor.new("Really black") | |
2115 | shok.CFrame = effspwn.CFrame * CFrame.new(0, 6, 0) * CFrame.Angles(math.rad(0), math.rad(90), math.rad(0)) | |
2116 | shok.Size = Vector3.new(1, 1, 1) | |
2117 | shok.Anchored = true | |
2118 | shok.Material = "Neon" | |
2119 | shok.Transparency = 0.35 | |
2120 | shok.CanCollide = false | |
2121 | shok.Parent = model | |
2122 | game.Debris:AddItem(shok, 12) | |
2123 | local mesh = Instance.new("SpecialMesh") | |
2124 | mesh.MeshType = "FileMesh" | |
2125 | mesh.MeshId = "rbxassetid://489415447" | |
2126 | mesh.Scale = Vector3.new(12, 12, 12) | |
2127 | mesh.Parent = shok | |
2128 | for e = 1, 15 do | |
2129 | wait() | |
2130 | mesh.Scale = mesh.Scale + Vector3.new(1.5, 2.8, 1.5) | |
2131 | shok.Transparency = shok.Transparency + 0.004 | |
2132 | shok.CFrame = shok.CFrame * CFrame.Angles(math.rad(0), math.rad(35), math.rad(0)) | |
2133 | end | |
2134 | for e = 1, 16 do | |
2135 | wait() | |
2136 | mesh.Scale = mesh.Scale + Vector3.new(1.5, 2.8, 1.5) | |
2137 | shok.Transparency = shok.Transparency + 0.004 | |
2138 | shok.CFrame = shok.CFrame * CFrame.Angles(math.rad(0), math.rad(35), math.rad(0)) | |
2139 | end | |
2140 | for e = 1, 12 do | |
2141 | wait() | |
2142 | mesh.Scale = mesh.Scale + Vector3.new(1.5, 2.8, 1.5) | |
2143 | shok.Transparency = shok.Transparency + 0.06 | |
2144 | shok.CFrame = shok.CFrame * CFrame.Angles(math.rad(0), math.rad(35), math.rad(0)) | |
2145 | end | |
2146 | end)) | |
2147 | coroutine.resume(coroutine.create(function() | |
2148 | local shok = Instance.new("Part") | |
2149 | shok.Name = "shock3" | |
2150 | shok.BrickColor = BrickColor.new("Insitutional white") | |
2151 | shok.CFrame = effspwn.CFrame * CFrame.new(0, 6, 0) * CFrame.Angles(math.rad(0), math.rad(90), math.rad(0)) | |
2152 | shok.Size = Vector3.new(1, 1, 1) | |
2153 | shok.Anchored = true | |
2154 | shok.Material = "Neon" | |
2155 | shok.Transparency = 0.35 | |
2156 | shok.CanCollide = false | |
2157 | shok.Parent = model | |
2158 | game.Debris:AddItem(shok, 12) | |
2159 | local mesh = Instance.new("SpecialMesh") | |
2160 | mesh.MeshType = "FileMesh" | |
2161 | mesh.MeshId = "rbxassetid://489415447" | |
2162 | mesh.Scale = Vector3.new(12, 12, 12) | |
2163 | mesh.Parent = shok | |
2164 | for e = 1, 15 do | |
2165 | wait() | |
2166 | mesh.Scale = mesh.Scale + Vector3.new(0.5, 2.6, 0.5) | |
2167 | shok.Transparency = shok.Transparency + 0.004 | |
2168 | shok.CFrame = shok.CFrame:lerp(shok.CFrame * CFrame.new(0, 2, 0), 0.4) | |
2169 | shok.CFrame = shok.CFrame * CFrame.Angles(math.rad(0), math.rad(-16), math.rad(0)) | |
2170 | end | |
2171 | for e = 1, 16 do | |
2172 | wait() | |
2173 | mesh.Scale = mesh.Scale + Vector3.new(0.5, 2.6, 0.5) | |
2174 | shok.Transparency = shok.Transparency + 0.004 | |
2175 | shok.CFrame = shok.CFrame:lerp(shok.CFrame * CFrame.new(0, 2, 0), 0.4) | |
2176 | shok.CFrame = shok.CFrame * CFrame.Angles(math.rad(0), math.rad(-16), math.rad(0)) | |
2177 | end | |
2178 | for e = 1, 12 do | |
2179 | wait() | |
2180 | mesh.Scale = mesh.Scale + Vector3.new(0.5, -1, 0.5) | |
2181 | shok.Transparency = shok.Transparency + 0.06 | |
2182 | shok.CFrame = shok.CFrame:lerp(shok.CFrame * CFrame.new(0, 2, 0), 0.4) | |
2183 | shok.CFrame = shok.CFrame * CFrame.Angles(math.rad(0), math.rad(-16), math.rad(0)) | |
2184 | end | |
2185 | end)) | |
2186 | ||
2187 | end | |
2188 | ||
2189 | ||
2190 | ||
2191 | ||
2192 | ||
2193 | ||
2194 | ||
2195 | it=Instance.new | |
2196 | vt=Vector3.new | |
2197 | cf=CFrame.new | |
2198 | ||
2199 | function NoOutline(Part) | |
2200 | Part.TopSurface,Part.BottomSurface,Part.LeftSurface,Part.RightSurface,Part.FrontSurface,Part.BackSurface = 10,10,10,10,10,10 | |
2201 | end | |
2202 | ||
2203 | ||
2204 | function part(formfactor,parent,reflectance,transparency,brickcolor,name,size) | |
2205 | local fp=it("Part") | |
2206 | fp.formFactor=formfactor | |
2207 | fp.Parent=parent | |
2208 | fp.Reflectance=reflectance | |
2209 | fp.Transparency=transparency | |
2210 | fp.CanCollide=false | |
2211 | fp.Locked=true | |
2212 | fp.BrickColor=brickcolor | |
2213 | fp.Name=name | |
2214 | fp.Size=size | |
2215 | fp.Position=torso.Position | |
2216 | NoOutline(fp) | |
2217 | fp.Material="SmoothPlastic" | |
2218 | fp:BreakJoints() | |
2219 | return fp | |
2220 | end | |
2221 | ||
2222 | ||
2223 | ||
2224 | function mesh(Mesh,part,meshtype,meshid,offset,scale) | |
2225 | local mesh=it(Mesh) | |
2226 | mesh.Parent=part | |
2227 | if Mesh=="SpecialMesh" then | |
2228 | mesh.MeshType=meshtype | |
2229 | if meshid~="nil" then | |
2230 | mesh.MeshId="http://www.roblox.com/asset/?id="..meshid | |
2231 | end | |
2232 | end | |
2233 | mesh.Offset=offset | |
2234 | mesh.Scale=scale | |
2235 | return mesh | |
2236 | end | |
2237 | ||
2238 | function weld(parent,part0,part1,c0) | |
2239 | local weld=it("Weld") | |
2240 | weld.Parent=parent | |
2241 | weld.Part0=part0 | |
2242 | weld.Part1=part1 | |
2243 | weld.C0=c0 | |
2244 | return weld | |
2245 | end | |
2246 | ||
2247 | ||
2248 | function swait(num) | |
2249 | if num==0 or num==nil then | |
2250 | game:service'RunService'.Stepped:wait(0) | |
2251 | else | |
2252 | for i=0,num do | |
2253 | game:service'RunService'.Stepped:wait(0) | |
2254 | end | |
2255 | end | |
2256 | end | |
2257 | ||
2258 | ||
2259 | ||
2260 | ||
2261 | function rayCast(Pos, Dir, Max, Ignore) -- Origin Position , Direction, MaxDistance , IgnoreDescendants | |
2262 | return game:service("Workspace"):FindPartOnRay(Ray.new(Pos, Dir.unit * (Max or 999.999)), Ignore) | |
2263 | end | |
2264 | ||
2265 | function SkullEffect(brickcolor,cframe,x1,y1,z1,delay) | |
2266 | local prt=part(3,workspace,0,0,brickcolor,"Effect",vt(0.5,0.5,0.5)) | |
2267 | prt.Anchored=true | |
2268 | prt.CFrame=cframe | |
2269 | local msh=mesh("SpecialMesh",prt,"FileMesh","http://www.roblox.com/asset/?id=4770583",vt(0,0,0),vt(x1,y1,z1)) | |
2270 | --http://www.roblox.com/asset/?id=4770560 | |
2271 | game:GetService("Debris"):AddItem(prt,2) | |
2272 | CF=prt.CFrame | |
2273 | coroutine.resume(coroutine.create(function(Part,Mesh,TehCF) | |
2274 | for i=0,1,0.2 do | |
2275 | wait() | |
2276 | Part.CFrame=CF*cf(0,0,-0.4) | |
2277 | end | |
2278 | for i=0,1,delay do | |
2279 | wait() | |
2280 | --Part.CFrame=CF*cf((math.random(-1,0)+math.random())/5,(math.random(-1,0)+math.random())/5,(math.random(-1,0)+math.random())/5) | |
2281 | Mesh.Scale=Mesh.Scale | |
2282 | end | |
2283 | for i=0,1,0.1 do | |
2284 | wait() | |
2285 | Part.Transparency=i | |
2286 | end | |
2287 | Part.Parent=nil | |
2288 | end),prt,msh,CF) | |
2289 | end | |
2290 | ||
2291 | function MagicBlock(brickcolor,cframe,x1,y1,z1,x3,y3,z3,delay) | |
2292 | local prt=part(3,char,0,0,brickcolor,"Effect",vt(0.5,0.5,0.5)) | |
2293 | prt.Anchored=true | |
2294 | prt.Material = "SmoothPlastic" | |
2295 | prt.CFrame=cframe | |
2296 | prt.CFrame=prt.CFrame*euler(math.random(-50,50),math.random(-50,50),math.random(-50,50)) | |
2297 | msh=mesh("BlockMesh",prt,"","",vt(0,0,0),vt(x1,y1,z1)) | |
2298 | game:GetService("Debris"):AddItem(prt,5) | |
2299 | coroutine.resume(coroutine.create(function(Part,Mesh) | |
2300 | for i=0,1,delay do | |
2301 | swait() | |
2302 | Part.CFrame=Part.CFrame*euler(math.random(-50,50),math.random(-50,50),math.random(-50,50)) | |
2303 | Part.Transparency=i | |
2304 | Mesh.Scale=Mesh.Scale+vt(x3,y3,z3) | |
2305 | end | |
2306 | Part.Parent=nil | |
2307 | end),prt,msh) | |
2308 | end | |
2309 | ||
2310 | function MagicBlockSteady(brickcolor,cframe,x1,y1,z1,x3,y3,z3,delay,rottype) | |
2311 | local prt=part(3,char,0,0,brickcolor,"Effect",vt(0.5,0.5,0.5)) | |
2312 | prt.Anchored=true | |
2313 | prt.Material = "Neon" | |
2314 | prt.CFrame=cframe | |
2315 | msh=mesh("BlockMesh",prt,"","",vt(0,0,0),vt(x1,y1,z1)) | |
2316 | game:GetService("Debris"):AddItem(prt,5) | |
2317 | coroutine.resume(coroutine.create(function(Part,Mesh) | |
2318 | local rtype = rottype | |
2319 | for i=0,1,delay do | |
2320 | swait() | |
2321 | if rtype == 1 then | |
2322 | prt.CFrame = prt.CFrame*CFrame.Angles(0,0,0.1) | |
2323 | elseif rtype == 2 then | |
2324 | prt.CFrame = prt.CFrame*CFrame.Angles(0,0,-0.1) | |
2325 | end | |
2326 | Part.Transparency=i | |
2327 | Mesh.Scale=Mesh.Scale+vt(x3,y3,z3) | |
2328 | end | |
2329 | Part.Parent=nil | |
2330 | end),prt,msh) | |
2331 | end | |
2332 | ||
2333 | function MagicSphere(brickcolor,cframe,x1,y1,z1,x3,y3,z3,delay) | |
2334 | local prt=part(3,char,0,0,brickcolor,"Effect",vt(0.5,0.5,0.5)) | |
2335 | prt.Anchored=true | |
2336 | prt.CFrame=cframe | |
2337 | prt.CFrame=prt.CFrame*euler(math.random(-50,50),math.random(-50,50),math.random(-50,50)) | |
2338 | msh=mesh("SpecialMesh",prt,"Sphere","",vt(0,0,0),vt(x1,y1,z1)) | |
2339 | game:GetService("Debris"):AddItem(prt,5) | |
2340 | coroutine.resume(coroutine.create(function(Part,Mesh) | |
2341 | for i=0,1,delay do | |
2342 | wait() | |
2343 | Part.Transparency=i | |
2344 | Mesh.Scale=Mesh.Scale+vt(x3,y3,z3) | |
2345 | end | |
2346 | Part.Parent=nil | |
2347 | end),prt,msh) | |
2348 | end | |
2349 | ||
2350 | function MagicBlock2(brickcolor,cframe,Parent,x1,y1,z1,x3,y3,z3,delay) | |
2351 | local prt=part(3,char,0,0,brickcolor,"Effect",vt(0.5,0.5,0.5)) | |
2352 | prt.Anchored=false | |
2353 | prt.CFrame=cframe | |
2354 | msh=mesh("BlockMesh",prt,"","",vt(0,0,0),vt(x1,y1,z1)) | |
2355 | local wld=weld(prt,prt,Parent,cframe) | |
2356 | game:GetService("Debris"):AddItem(prt,5) | |
2357 | coroutine.resume(coroutine.create(function(Part,Mesh,Weld) | |
2358 | for i=0,1,delay do | |
2359 | wait() | |
2360 | Weld.C0=euler(math.random(-50,50),math.random(-50,50),math.random(-50,50))*cframe | |
2361 | --Part.CFrame=Part.CFrame*euler(math.random(-50,50),math.random(-50,50),math.random(-50,50)) | |
2362 | Part.Transparency=i | |
2363 | Mesh.Scale=Mesh.Scale+vt(x3,y3,z3) | |
2364 | end | |
2365 | Part.Parent=nil | |
2366 | end),prt,msh,wld) | |
2367 | end | |
2368 | ||
2369 | function MagicBlock3(brickcolor,cframe,Parent,x1,y1,z1,x3,y3,z3,delay) | |
2370 | local prt=part(3,workspace,0,0,brickcolor,"Effect",vt(0.5,0.5,0.5)) | |
2371 | prt.Anchored=false | |
2372 | prt.CFrame=cframe | |
2373 | msh=mesh("BlockMesh",prt,"","",vt(0,0,0),vt(x1,y1,z1)) | |
2374 | local wld=weld(prt,prt,Parent,euler(0,0,0)*cf(0,0,0)) | |
2375 | game:GetService("Debris"):AddItem(prt,5) | |
2376 | coroutine.resume(coroutine.create(function(Part,Mesh,Weld) | |
2377 | for i=0,1,delay do | |
2378 | wait() | |
2379 | Weld.C0=euler(i*20,0,0) | |
2380 | --Part.CFrame=Part.CFrame*euler(math.random(-50,50),math.random(-50,50),math.random(-50,50)) | |
2381 | Part.Transparency=i | |
2382 | Mesh.Scale=Mesh.Scale+vt(x3,y3,z3) | |
2383 | end | |
2384 | Part.Parent=nil | |
2385 | end),prt,msh,wld) | |
2386 | end | |
2387 | ||
2388 | function MagicCircle2(brickcolor,cframe,x1,y1,z1,x3,y3,z3,delay) | |
2389 | local prt=part(3,workspace,0,0,brickcolor,"Effect",vt(0.5,0.5,0.5)) | |
2390 | prt.Anchored=true | |
2391 | prt.CFrame=cframe | |
2392 | local msh=mesh("CylinderMesh",prt,"","",vt(0,0,0),vt(x1,y1,z1)) | |
2393 | game:GetService("Debris"):AddItem(prt,2) | |
2394 | coroutine.resume(coroutine.create(function(Part,Mesh) | |
2395 | for i=0,1,delay do | |
2396 | wait() | |
2397 | Part.CFrame=Part.CFrame | |
2398 | Mesh.Scale=Mesh.Scale+vt(x3,y3,z3) | |
2399 | local prt2=part(3,workspace,0,0,brickcolor,"Effect",vt(0.5,0.5,0.5)) | |
2400 | prt2.Anchored=true | |
2401 | prt2.CFrame=cframe*euler(math.random(-50,50),math.random(-50,50),math.random(-50,50)) | |
2402 | local msh2=mesh("SpecialMesh",prt2,"Sphere","",vt(0,0,0),vt(0.5,0.5,0.5)) | |
2403 | game:GetService("Debris"):AddItem(prt2,2) | |
2404 | coroutine.resume(coroutine.create(function(Part,Mesh) | |
2405 | for i=0,1,0.1 do | |
2406 | wait() | |
2407 | Part.CFrame=Part.CFrame*cf(0,0.5,0) | |
2408 | end | |
2409 | Part.Parent=nil | |
2410 | end),prt2,msh2) | |
2411 | end | |
2412 | for i=0,1,delay*2 do | |
2413 | wait() | |
2414 | Part.CFrame=Part.CFrame | |
2415 | Mesh.Scale=vt((x1+x3)-(x1+x3)*i,(y1+y3)-(y1+y3)*i,(z1+z3)-(z1+z3)*i) | |
2416 | end | |
2417 | Part.Parent=nil | |
2418 | end),prt,msh) | |
2419 | end | |
2420 | ||
2421 | function MagicCircle(brickcolor,cframe,x1,y1,z1,x3,y3,z3,delay) | |
2422 | local prt=part(3,workspace,0,0,brickcolor,"Effect",vt(0.5,0.5,0.5)) | |
2423 | prt.Anchored=true | |
2424 | prt.CFrame=cframe | |
2425 | local msh=mesh("SpecialMesh",prt,"Sphere","",vt(0,0,0),vt(x1,y1,z1)) | |
2426 | game:GetService("Debris"):AddItem(prt,2) | |
2427 | coroutine.resume(coroutine.create(function(Part,Mesh) | |
2428 | for i=0,1,delay do | |
2429 | wait() | |
2430 | Part.CFrame=Part.CFrame | |
2431 | Part.Transparency=i | |
2432 | Mesh.Scale=Mesh.Scale+vt(x3,y3,z3) | |
2433 | end | |
2434 | Part.Parent=nil | |
2435 | end),prt,msh) | |
2436 | end | |
2437 | ||
2438 | function BreakEffect(brickcolor,cframe,x1,y1,z1) | |
2439 | local prt=part(3,workspace,0,0,brickcolor,"Effect",vt(0.5,0.5,0.5)) | |
2440 | prt.Anchored=true | |
2441 | prt.CFrame=cframe*euler(math.random(-50,50),math.random(-50,50),math.random(-50,50)) | |
2442 | local msh=mesh("SpecialMesh",prt,"Sphere","",vt(0,0,0),vt(x1,y1,z1)) | |
2443 | game:GetService("Debris"):AddItem(prt,2) | |
2444 | coroutine.resume(coroutine.create(function(Part,CF,Numbb,randnumb) | |
2445 | CF=Part.CFrame | |
2446 | Numbb=0 | |
2447 | randnumb=math.random()/10 | |
2448 | rand1=math.random()/10 | |
2449 | for i=0,1,rand1 do | |
2450 | wait() | |
2451 | CF=CF*cf(0,math.random()/2,0) | |
2452 | --Part.CFrame=Part.CFrame*euler(0.5,0,0)*cf(0,1,0) | |
2453 | Part.CFrame=CF*euler(Numbb,0,0) | |
2454 | Part.Transparency=i | |
2455 | Numbb=Numbb+randnumb | |
2456 | end | |
2457 | Part.Parent=nil | |
2458 | end),prt,CF,Numbb,randnumb) | |
2459 | end | |
2460 | ||
2461 | function MagicWaveThing(brickcolor,cframe,x1,y1,z1,x3,y3,z3,delay) | |
2462 | local prt=part(3,workspace,0,0,brickcolor,"Effect",vt(0.5,0.5,0.5)) | |
2463 | prt.Anchored=true | |
2464 | prt.CFrame=cframe | |
2465 | msh=mesh("SpecialMesh",prt,"FileMesh","http://www.roblox.com/asset/?id=1051557",vt(0,0,0),vt(x1,y1,z1)) | |
2466 | game:GetService("Debris"):AddItem(prt,5) | |
2467 | coroutine.resume(coroutine.create(function(Part,Mesh) | |
2468 | for i=0,1,delay do | |
2469 | wait() | |
2470 | Part.CFrame=Part.CFrame*euler(0,0.7,0) | |
2471 | Part.Transparency=i | |
2472 | Mesh.Scale=Mesh.Scale+vt(x3,y3,z3) | |
2473 | end | |
2474 | Part.Parent=nil | |
2475 | end),prt,msh) | |
2476 | end | |
2477 | ||
2478 | function WaveEffect(brickcolor,cframe,x1,y1,z1,x3,y3,z3,delay) | |
2479 | local prt=part(3,workspace,0,0,brickcolor,"Effect",vt(0.5,0.5,0.5)) | |
2480 | prt.Anchored=true | |
2481 | prt.CFrame=cframe | |
2482 | msh=mesh("SpecialMesh",prt,"FileMesh","http://www.roblox.com/asset/?id=20329976",vt(0,0,0),vt(x1,y1,z1)) | |
2483 | game:GetService("Debris"):AddItem(prt,2) | |
2484 | coroutine.resume(coroutine.create(function(Part,Mesh) | |
2485 | for i=0,1,delay do | |
2486 | wait() | |
2487 | Part.CFrame=Part.CFrame*cf(0,y3/2,0) | |
2488 | Part.Transparency=i | |
2489 | Mesh.Scale=Mesh.Scale+vt(x3,y3,z3) | |
2490 | end | |
2491 | Part.Parent=nil | |
2492 | end),prt,msh) | |
2493 | end | |
2494 | ||
2495 | function StravEffect(brickcolor,cframe,x,y,z,x1,y1,z1,delay) | |
2496 | local prt=part(3,workspace,0,0,brickcolor,"Effect",vt(0.5,0.5,0.5)) | |
2497 | prt.Anchored=true | |
2498 | prt.CFrame=cframe*cf(x,y,z) | |
2499 | msh=mesh("SpecialMesh",prt,"FileMesh","rbxassetid://168892363",vt(0,0,0),vt(x1,y1,z1)) | |
2500 | game:GetService("Debris"):AddItem(prt,5) | |
2501 | coroutine.resume(coroutine.create(function(Part,Mesh,ex,why,zee) | |
2502 | local num=math.random() | |
2503 | local num2=math.random(-3,2)+math.random() | |
2504 | local numm=0 | |
2505 | for i=0,1,delay*2 do | |
2506 | swait() | |
2507 | Part.CFrame=cframe*euler(0,numm*num*10,0)*cf(ex,why,zee)*cf(-i*10,num2,0) | |
2508 | Part.Transparency=i | |
2509 | numm=numm+0.01 | |
2510 | end | |
2511 | Part.Parent=nil | |
2512 | Mesh.Parent=nil | |
2513 | end),prt,msh,x,y,z) | |
2514 | end | |
2515 | ||
2516 | ||
2517 | ||
2518 | function newRay(start,face,range,wat) | |
2519 | local rey=Ray.new(start.p,(face.p-start.p).Unit*range) | |
2520 | hit,pos=game.Workspace:FindPartOnRayWithIgnoreList(rey,wat) | |
2521 | return rey,hit,pos | |
2522 | end | |
2523 | ||
2524 | function Landing() | |
2525 | MagicBlock(BrickColor.new("Insitutional white"),root.CFrame,5*2.5,5*2.5,5*2.5,1.25*2.5,1.25*2.5,1.25*2.5,0.015) | |
2526 | MagicBlock(BrickColor.new("Really black"),root.CFrame,5*2.5,5*2.5,5*2.5,1.5*2.5,1.5*2.5,1.5*2.5,0.025) | |
2527 | MagicBlock(BrickColor.new("Insitutional white"),root.CFrame,5*2.5,5*2.5,5*2.5,1.25*2.5,1.25*2.5,1.25*2.5,0.015) | |
2528 | MagicBlock(BrickColor.new("Insitutional white"),root.CFrame,5*2.5,5*2.5,5*2.5,1.25*2.5,1.25*2.5,1.25*2.5,0.015) | |
2529 | MagicBlock(BrickColor.new("Really black"),root.CFrame,5*2.5,5*2.5,5*2.5,1.5*2.5,1.5*2.5,1.5*2.5,0.025) | |
2530 | MagicBlock(BrickColor.new("Insitutional white"),root.CFrame,5*2.5,5*2.5,5*2.5,1.25*2.5,1.25*2.5,1.25*2.5,0.015) | |
2531 | ||
2532 | MagicBlock(BrickColor.new("Insitutional white"),root.CFrame,5*2.5,5*2.5,5*2.5,1.25*2.5,1.25*2.5,1.25*2.5,0.015) | |
2533 | MagicBlock(BrickColor.new("Really black"),root.CFrame,5*2.5,5*2.5,5*2.5,1.5*2.5,1.5*2.5,1.5*2.5,0.025) | |
2534 | MagicBlock(BrickColor.new("Insitutional white"),root.CFrame,5*2.5,5*2.5,5*2.5,1.25*2.5,1.25*2.5,1.25*2.5,0.015) | |
2535 | end | |
2536 | ||
2537 | ||
2538 | ||
2539 | ||
2540 | ||
2541 | ||
2542 | ||
2543 | ||
2544 | ||
2545 | ||
2546 | function nooutline(part) | |
2547 | part.TopSurface,part.BottomSurface,part.LeftSurface,part.RightSurface,part.FrontSurface,part.BackSurface = 10,10,10,10,10,10 | |
2548 | end | |
2549 | ||
2550 | ||
2551 | ||
2552 | ||
2553 | function debris(cfremz, thepart, amt) | |
2554 | for j = 1, amt do | |
2555 | do | |
2556 | local pr = Instance.new("Part") | |
2557 | nooutline(pr) | |
2558 | pr.Name = "debrisobeb" | |
2559 | pr.Anchored = true | |
2560 | pr.BrickColor = thepart.BrickColor | |
2561 | pr.CanCollide = true | |
2562 | pr.Material = thepart.Material | |
2563 | pr.Transparency = thepart.Transparency | |
2564 | pr.Size = Vector3.new(math.random(16, 24), math.random(12, 16), math.random(16, 24)) | |
2565 | pr.CFrame = cfremz * CFrame.Angles(0, math.rad(amt * j), 0) * CFrame.new(0, -5, math.random(18, 22)) * CFrame.Angles(math.rad(math.random(-30, -15)), math.rad(math.random(0, 1)), math.rad(math.random(0, 1))) | |
2566 | pr.Parent = workspace | |
2567 | game.Debris:AddItem(pr, 25) | |
2568 | delay(15, function() | |
2569 | if pr then | |
2570 | pr.CanCollide = false | |
2571 | pr.Anchored = false | |
2572 | end | |
2573 | end) | |
2574 | end | |
2575 | end | |
2576 | for c = 1, amt do | |
2577 | do | |
2578 | local pr2 = Instance.new("Part") | |
2579 | nooutline(pr2) | |
2580 | pr2.Name = "moredebr" | |
2581 | pr2.Anchored = false | |
2582 | pr2.BrickColor = thepart.BrickColor | |
2583 | pr2.CanCollide = false | |
2584 | pr2.Material = thepart.Material | |
2585 | pr2.Transparency = thepart.Transparency | |
2586 | pr2.Size = Vector3.new(math.random(8, 18), math.random(6, 18), math.random(8, 18)) | |
2587 | pr2.CFrame = cfremz * CFrame.Angles(0, math.rad(30 * c), 0) * CFrame.new(0, -5, math.random(18, 22)) * CFrame.Angles(math.rad(math.random(-30, -15)), math.rad(math.random(0, 1)), math.rad(math.random(0, 1))) | |
2588 | pr2.Parent = workspace | |
2589 | pr2.Velocity = Vector3.new(math.random(-75, 75), math.random(120, 240), math.random(-75, 75)) | |
2590 | pr2.RotVelocity = Vector3.new(math.random(-35, 35), math.random(-35, 35), math.random(-35, 35)) | |
2591 | game.Debris:AddItem(pr2, 45) | |
2592 | delay(2, function() | |
2593 | pr2.CanCollide = true | |
2594 | wait(10) | |
2595 | if pr2 then | |
2596 | pr2.CanCollide = false | |
2597 | end | |
2598 | end) | |
2599 | end | |
2600 | end | |
2601 | end | |
2602 | ||
2603 | ||
2604 | ||
2605 | ||
2606 | ||
2607 | ||
2608 | ||
2609 | ||
2610 | ||
2611 | ||
2612 | function AirSlam() | |
2613 | NoAnims = true | |
2614 | attack = true | |
2615 | for i = 1, 20 do | |
2616 | rarm.Weld.C0 = Lerp(rarm.Weld.C0, CFrame.new(1,0.6,-.2) *CFrame.Angles (math.rad (45),math.rad(0),math.rad(32)), 0.2) | |
2617 | larm.Weld.C0 = Lerp(larm.Weld.C0, CFrame.new(-1,1,0)*CFrame.Angles(math.rad (0),math.rad(0),math.rad(-20)), 0.2) | |
2618 | hed.Weld.C0 = Lerp(hed.Weld.C0, CFrame.new(0,1.5,0)*CFrame.Angles(math.rad (- 8),math.rad(-40), math.rad(-8)),0.2) | |
2619 | torso.Weld.C0 = Lerp(torso.Weld.C0, CFrame.new(0, -1.5, 0) * CFrame.Angles (math.rad (-50), math.rad(40), math.rad(0)), 0.2) | |
2620 | lleg.Weld.C0 = Lerp(lleg.Weld.C0, CFrame.new(-0.8, .4, -.6) * CFrame.Angles (math.rad (30), 0, math.rad(20)), 0.2) | |
2621 | rleg.Weld.C0 = Lerp(rleg.Weld.C0, CFrame.new(1, -1, 0) * CFrame.Angles (math.rad(- 10), math.rad(-40), math.rad(0)), 0.2) | |
2622 | if Debounces.on == false then break end | |
2623 | wait() | |
2624 | end | |
2625 | wait(0.5) | |
2626 | ||
2627 | ||
2628 | coroutine.resume(coroutine.create(function() | |
2629 | MagicBlock(BrickColor.new("Insitutional white"),root.CFrame,5*2.5,5*2.5,5*2.5,1.25*2.5,1.25*2.5,1.25*2.5,0.015) | |
2630 | MagicBlock(BrickColor.new("Really black"),root.CFrame,5*2.5,5*2.5,5*2.5,1.5*2.5,1.5*2.5,1.5*2.5,0.025) | |
2631 | MagicBlock(BrickColor.new("Insitutional white"),root.CFrame,10*2.5,10*2.5,10*2.5,5.5*2.5,5.5*2.5,5.5*2.5,0.15) | |
2632 | end)) | |
2633 | ||
2634 | Sound("http://www.roblox.com/asset?id = 180199750",char,90,1,false) | |
2635 | ||
2636 | hum.WalkSpeed = 50 | |
2637 | BV = Instance.new("BodyVelocity", torso) | |
2638 | BV.maxForce = Vector3.new(0,200000,0) | |
2639 | BV.P = 100000 | |
2640 | BV.velocity = Vector3.new(0,150,0) | |
2641 | for i = 1, 20 do | |
2642 | hed.Weld.C0 = Lerp(hed.Weld.C0, CFrame.new(0, 1.5, 0)*CFrame.Angles(math.rad(20),math.rad(0), math.rad(0)),0.7) | |
2643 | torso.Weld.C0 = Lerp(torso.Weld.C0, CFrame.new(0, -1.2, 0) * CFrame.Angles(math.rad(-16), math.rad(0), math.rad(0)), 0.7) | |
2644 | larm.Weld.C0 = Lerp(larm.Weld.C0, CFrame.new(-1.5, 0.5, 0) * CFrame.Angles(math.rad(40), 0, math.rad(-20)), 0.7) | |
2645 | rarm.Weld.C0 = Lerp(rarm.Weld.C0, CFrame.new(1.5, 0.5, 0) * CFrame.Angles(math.rad(-40), math.rad(0), math.rad(20)), 0.7) | |
2646 | lleg.Weld.C0 = Lerp(lleg.Weld.C0, CFrame.new(-0.5, -1, 0) * CFrame.Angles(math.rad(-10), 0, 0), 0.7) | |
2647 | rleg.Weld.C0 = Lerp(rleg.Weld.C0, CFrame.new(0.5, -1, -0.5) * CFrame.Angles(math.rad(0), 0, 0), 0.7) | |
2648 | if Debounces.on == false then break end | |
2649 | wait() | |
2650 | end | |
2651 | BV:Destroy() | |
2652 | ||
2653 | coroutine.resume(coroutine.create(function() | |
2654 | for i = 1, 2880, 48 do | |
2655 | torso.Weld.C1 = CFrame.new(0, -1, 0) * CFrame.Angles(math.rad(i), math.rad(0), math.rad(0)) | |
2656 | rs:wait(4) | |
2657 | end | |
2658 | torso.Weld.C1 = CFrame.new(0, -1, 0) | |
2659 | end)) | |
2660 | ||
2661 | for i = 1, 30 do | |
2662 | hed.Weld.C0 = Lerp(hed.Weld.C0, CFrame.new(0, 1.5, 0)*CFrame.Angles(math.rad(-14),math.rad(0), math.rad(0)),0.3) | |
2663 | torso.Weld.C0 = Lerp(torso.Weld.C0, CFrame.new(0, -1, 0) * CFrame.Angles(math.rad(-16), math.rad (0), math.rad(0)), 0.3) | |
2664 | larm.Weld.C0 = Lerp(larm.Weld.C0, CFrame.new(-1.5, 0.5, 0) * CFrame.Angles(math.rad(0), math.rad(0), math.rad(-10)), 0.3) | |
2665 | rarm.Weld.C0 = Lerp(rarm.Weld.C0, CFrame.new(1.5, 0.5, 0) * CFrame.Angles(math.rad(0), math.rad(0), math.rad(10)), 0.3) | |
2666 | lleg.Weld.C0 = Lerp(lleg.Weld.C0, CFrame.new(-0.5, -.4, -1) * CFrame.Angles(math.rad(20), 0, 0), 0.3) | |
2667 | rleg.Weld.C0 = Lerp(rleg.Weld.C0, CFrame.new(0.5, -.8, -.6) * CFrame.Angles(math.rad(-30), 0, 0), 0.3) | |
2668 | if Debounces.on == false then break end | |
2669 | wait() | |
2670 | end | |
2671 | ||
2672 | if (torso.Velocity*Vector3.new(1, 1, 1)).magnitude > 1 then | |
2673 | for i = 1, 20 do | |
2674 | hed.Weld.C0 = Lerp(hed.Weld.C0, CFrame.new(0, 1.5, 0)*CFrame.Angles(math.rad(-18),math.rad(0), math.rad(0)),0.3) | |
2675 | torso.Weld.C0 = Lerp(torso.Weld.C0, CFrame.new(0, -1, 0) * CFrame.Angles(math.rad(-13), math.rad (0), math.rad(0)), 0.3) | |
2676 | larm.Weld.C0 = Lerp(larm.Weld.C0, CFrame.new(-1.5, 0.5, 0) * CFrame.Angles(math.rad(0), math.rad(0), math.rad(-60)), 0.3) | |
2677 | rarm.Weld.C0 = Lerp(rarm.Weld.C0, CFrame.new(1.5, 0.5, 0) * CFrame.Angles(math.rad(0), math.rad(0), math.rad(60)), 0.3) | |
2678 | lleg.Weld.C0 = Lerp(lleg.Weld.C0, CFrame.new(-0.5, -.4, -0.6) * CFrame.Angles(math.rad(10), 0, 0), 0.3) | |
2679 | rleg.Weld.C0 = Lerp(rleg.Weld.C0, CFrame.new(0.5, -.8, -.4) * CFrame.Angles(math.rad(-20), 0, 0), 0.3) | |
2680 | if Debounces.on == false then break end | |
2681 | wait() | |
2682 | end | |
2683 | end | |
2684 | local ry,ht,ps=nil,nil,nil | |
2685 | while ht==nil do | |
2686 | ry,ht,ps=newRay(root.CFrame*CFrame.new(0,-2,0),root.CFrame*CFrame.new(0,-3,0),4.1,{char}) | |
2687 | wait() | |
2688 | end | |
2689 | par,loc=workspace:FindPartOnRay(Ray.new(char.Torso.Position,(char.Torso.Position-(char.Torso.Position-Vector3.new(0,2,0))).unit*-500),char) | |
2690 | if par then | |
2691 | local cfremz = CFrame.new(loc) | |
2692 | debris(cfremz, par, 50) | |
2693 | end | |
2694 | coroutine.resume(coroutine.create(function() | |
2695 | Ring() | |
2696 | end)) | |
2697 | Landing() | |
2698 | wait(1) | |
2699 | Ring() | |
2700 | Ring() | |
2701 | wait(0.3) | |
2702 | Ring() | |
2703 | Landing() | |
2704 | Sound("rbxassetid://514867425",char,90,1,false) | |
2705 | hum.WalkSpeed = 5 | |
2706 | for i = 1, 25 do | |
2707 | rarm.Weld.C0 = Lerp(rarm.Weld.C0, CFrame.new(1.5, 0.6, 0.3) *CFrame.Angles (math.rad(120),math.rad(10),math.rad(32)), 0.2) | |
2708 | larm.Weld.C0 = Lerp(larm.Weld.C0, CFrame.new(-1.2,1,0)*CFrame.Angles(math.rad(80),math.rad(0),math.rad(-20)), 0.2) | |
2709 | hed.Weld.C0 = Lerp(hed.Weld.C0, CFrame.new(0,1.5,0)*CFrame.Angles(math.rad (-8),math.rad(-40), math.rad(-8)),0.2) | |
2710 | torso.Weld.C0 = Lerp(torso.Weld.C0, CFrame.new(0, -1.5, 0) * CFrame.Angles(math.rad(-50), math.rad(40), math.rad(0)), 0.2) | |
2711 | lleg.Weld.C0 = Lerp(lleg.Weld.C0, CFrame.new(-0.8, 0, -.6) * CFrame.Angles(math.rad(30), 0, math.rad(20)), 0.2) | |
2712 | rleg.Weld.C0 = Lerp(rleg.Weld.C0, CFrame.new(1, -1, 0) * CFrame.Angles(math.rad(-10), math.rad(-40), math.rad(0)), 0.2) | |
2713 | if Debounces.on == false then break end | |
2714 | wait() | |
2715 | end | |
2716 | wait(0.2) | |
2717 | attack = false | |
2718 | NoAnims = false | |
2719 | end | |
2720 | ||
2721 | ||
2722 | ||
2723 | function CreatePart(parent,transparency,reflectance,material,brickcolor) | |
2724 | local p = Instance.new("Part") | |
2725 | p.Parent = parent | |
2726 | p.Size = Vector3.new(1,1,1) | |
2727 | p.Transparency = transparency | |
2728 | p.Reflectance = reflectance | |
2729 | p.CanCollide = false | |
2730 | p.BrickColor = brickcolor | |
2731 | p.Material = material | |
2732 | return p | |
2733 | end | |
2734 | ||
2735 | ||
2736 | function CreateWeld(parent,part0,part1,C1X,C1Y,C1Z,C1Xa,C1Ya,C1Za,C0X,C0Y,C0Z,C0Xa,C0Ya,C0Za) | |
2737 | local weld = Instance.new("Weld") | |
2738 | weld.Parent = parent | |
2739 | weld.Part0 = part0 | |
2740 | weld.Part1 = part1 | |
2741 | weld.C1 = CFrame.new(C1X,C1Y,C1Z)*CFrame.Angles(C1Xa,C1Ya,C1Za) | |
2742 | weld.C0 = CFrame.new(C0X,C0Y,C0Z)*CFrame.Angles(C0Xa,C0Ya,C0Za) | |
2743 | return weld | |
2744 | end | |
2745 | ||
2746 | ||
2747 | ||
2748 | --[[HandleR = Instance.new("Part") | |
2749 | HandleR.BrickColor = BrickColor.new("Insitutional white") | |
2750 | HandleR.Material = "Neon" | |
2751 | HandleR.Transparency = 0.3 | |
2752 | HandleR.Size = Vector3.new(1,0.8,4) | |
2753 | HandleR.CFrame = sorb.CFrame | |
2754 | HandleRM = Instance.new("SpecialMesh",HandleR) | |
2755 | HandleRM.MeshId = "rbxasset://fonts/sword.mesh" | |
2756 | HandleRM.Scale = Vector3.new(1,1,1) | |
2757 | ||
2758 | HandleL = Instance.new("Part") | |
2759 | HandleL.BrickColor = BrickColor.new("Insitutional white") | |
2760 | HandleL.Material = "Neon" | |
2761 | HandleL.Transparency = 0.3 | |
2762 | HandleL.Size = Vector3.new(1,0.8,4) | |
2763 | HandleL.CFrame = sorb2.CFrame | |
2764 | HandleLM = Instance.new("SpecialMesh",HandleL) | |
2765 | HandleLM.MeshId = "rbxasset://fonts/sword.mesh" | |
2766 | HandleLM.Scale = Vector3.new(1,1,1)]] | |
2767 | ||
2768 | ||
2769 | local sorb = CreatePart(m,1,1,"SmoothPlastic",BrickColor.new("Insitutional white")) | |
2770 | CreateWeld(sorb,rarm,sorb,0,2,0,math.rad(0),math.rad(0),math.rad(0),0,0,0,math.rad(0),math.rad(0),math.rad(0)) | |
2771 | local sorb2 = CreatePart(m,1,1,"SmoothPlastic",BrickColor.new("Insitutional white")) | |
2772 | CreateWeld(sorb2,larm,sorb2,0,2,0,math.rad(0),math.rad(0),math.rad(0),0,0,0,math.rad(0),math.rad(0),math.rad(0)) | |
2773 | ||
2774 | ||
2775 | v3 = Vector3.new | |
2776 | rad=math.rad | |
2777 | ||
2778 | kiblade = Instance.new("Part",char) | |
2779 | kiblade.Name = "Blade" | |
2780 | kiblade.Size = v3(1,5,1) | |
2781 | kiblade.Transparency = 1 | |
2782 | kiblade.BrickColor = BrickColor.new("Insitutional white") | |
2783 | kiblade.Position = v3(999,999,999) | |
2784 | kiblade.CanCollide = false | |
2785 | kiblademesh = Instance.new("SpecialMesh",kiblade) | |
2786 | kiblademesh.MeshType = "FileMesh" | |
2787 | kiblademesh.MeshId = "rbxassetid://898849476" | |
2788 | kiblademesh.Scale = v3(0.01,0.008,0.01) | |
2789 | kiweld7 = Instance.new("Weld",kiblade) | |
2790 | kiweld7.Part0 = rarm | |
2791 | kiweld7.Part1 = kiblade | |
2792 | kiweld7.C0 = CFrame.new(0,-2.1,0) * CFrame.Angles(rad(180),rad(0),rad(0)) | |
2793 | kiblade1 = Instance.new("Part",char) | |
2794 | kiblade1.Name = "Blade" | |
2795 | kiblade1.Transparency = 1 | |
2796 | kiblade1.Size = v3(0.1,0.1,0.1) | |
2797 | kiblade1.Position = v3(999,999,999) | |
2798 | kiblade1.CanCollide = false | |
2799 | kiblademesh = Instance.new("SpecialMesh",kiblade1) | |
2800 | kiblademesh.MeshType = "Sphere" | |
2801 | kiblademesh.Scale = v3(1,1,1) | |
2802 | kiweld = Instance.new("Weld",kiblade1) | |
2803 | kiweld.Part0 = rarm | |
2804 | kiweld.Part1 = kiblade1 | |
2805 | kiweld.C0 = CFrame.new(0,-1,0) | |
2806 | kiblade2 = Instance.new("Part",char) | |
2807 | kiblade2.Name = "Blade" | |
2808 | kiblade2.Size = v3(0.1,0.1,0.1) | |
2809 | kiblade2.Transparency = 1 | |
2810 | kiblade2.Position = v3(999,999,999) | |
2811 | kiblade2.CanCollide = false | |
2812 | kiblademesh = Instance.new("SpecialMesh",kiblade2) | |
2813 | kiblademesh.MeshType = "Sphere" | |
2814 | kiblademesh.Scale = v3(1,1,1) | |
2815 | kiweld = Instance.new("Weld",kiblade2) | |
2816 | kiweld.Part0 = rarm | |
2817 | kiweld.Part1 = kiblade2 | |
2818 | kiweld.C0 = CFrame.new(0,-4.5,0) | |
2819 | torso = game.Players.LocalPlayer.Character.Torso | |
2820 | head = game.Players.LocalPlayer.Character.Head | |
2821 | torso1 = Instance.new("Attachment",kiblade1) | |
2822 | head1 = Instance.new("Attachment",kiblade2) | |
2823 | trail = Instance.new("Trail",torso) | |
2824 | trail.Color = ColorSequence.new(Color3.fromRGB(0,0,255)) | |
2825 | trail.Attachment0 = torso1 | |
2826 | trail.Attachment1 = head1 | |
2827 | trail.Lifetime = 0.5 | |
2828 | trail.Enabled = false | |
2829 | ||
2830 | ||
2831 | ||
2832 | ||
2833 | kiblade2 = Instance.new("Part",char) | |
2834 | kiblade2.Name = "Blade" | |
2835 | kiblade2.Size = v3(1,5,1) | |
2836 | kiblade2.Transparency = 1 | |
2837 | kiblade2.BrickColor = BrickColor.new("Insitutional white") | |
2838 | kiblade2.Position = v3(999,999,999) | |
2839 | kiblade2.CanCollide = false | |
2840 | kiblademesh2 = Instance.new("SpecialMesh",kiblade2) | |
2841 | kiblademesh2.MeshType = "FileMesh" | |
2842 | kiblademesh2.MeshId = "rbxassetid://898849476" | |
2843 | kiblademesh2.Scale = v3(0.01,0.008,0.01) | |
2844 | kiweld72 = Instance.new("Weld",kiblade2) | |
2845 | kiweld72.Part0 = larm | |
2846 | kiweld72.Part1 = kiblade2 | |
2847 | kiweld72.C0 = CFrame.new(0,-2.1,0) * CFrame.Angles(rad(180),rad(0),rad(0)) | |
2848 | kiblade12 = Instance.new("Part",char) | |
2849 | kiblade12.Name = "Blade" | |
2850 | kiblade12.Transparency = 1 | |
2851 | kiblade12.Size = v3(0.1,0.1,0.1) | |
2852 | kiblade12.Position = v3(999,999,999) | |
2853 | kiblade12.CanCollide = false | |
2854 | kiblademesh2 = Instance.new("SpecialMesh",kiblade12) | |
2855 | kiblademesh2.MeshType = "Sphere" | |
2856 | kiblademesh2.Scale = v3(1,1,1) | |
2857 | kiweld2 = Instance.new("Weld",kiblade12) | |
2858 | kiweld2.Part0 = larm | |
2859 | kiweld2.Part1 = kiblade12 | |
2860 | kiweld2.C0 = CFrame.new(0,-1,0) | |
2861 | kiblade22 = Instance.new("Part",char) | |
2862 | kiblade22.Name = "Blade" | |
2863 | kiblade22.Size = v3(0.1,0.1,0.1) | |
2864 | kiblade22.Transparency = 1 | |
2865 | kiblade22.Position = v3(999,999,999) | |
2866 | kiblade22.CanCollide = false | |
2867 | kiblademesh2 = Instance.new("SpecialMesh",kiblade22) | |
2868 | kiblademesh2.MeshType = "Sphere" | |
2869 | kiblademesh2.Scale = v3(1,1,1) | |
2870 | kiweld2 = Instance.new("Weld",kiblade22) | |
2871 | kiweld2.Part0 = larm | |
2872 | kiweld2.Part1 = kiblade22 | |
2873 | kiweld2.C0 = CFrame.new(0,-4.5,0) | |
2874 | torso2 = game.Players.LocalPlayer.Character.Torso | |
2875 | head2 = game.Players.LocalPlayer.Character.Head | |
2876 | torso12 = Instance.new("Attachment",kiblade12) | |
2877 | head12 = Instance.new("Attachment",kiblade22) | |
2878 | trail2 = Instance.new("Trail",torso2) | |
2879 | trail2.Color = ColorSequence.new(Color3.fromRGB(0,0,255)) | |
2880 | trail2.Attachment0 = torso12 | |
2881 | trail2.Attachment1 = head12 | |
2882 | trail2.Lifetime = 0.5 | |
2883 | trail2.Enabled = false | |
2884 | ||
2885 | ||
2886 | ||
2887 | local Gibs = game.Workspace | |
2888 | ||
2889 | ||
2890 | ||
2891 | ||
2892 | ||
2893 | ||
2894 | ||
2895 | ||
2896 | ||
2897 | ||
2898 | ||
2899 | ||
2900 | function Kill(Character) | |
2901 | Character.Humanoid.Health = 0 | |
2902 | local poo = Instance.new("IntValue",Character) | |
2903 | poo.Name = "haha nope" | |
2904 | local svch = Character | |
2905 | local hum = Character:findFirstChild("Humanoid") | |
2906 | Character.Archivable = true | |
2907 | local chrclone = Character:clone() | |
2908 | Character.Archivable = false | |
2909 | ||
2910 | local ch = chrclone:GetChildren() | |
2911 | local i | |
2912 | for i = 1,#ch do | |
2913 | if ch[i].Name == "THandle1" or ch[i].Name == "THandle2" or ch[i].ClassName == "Script" then | |
2914 | ch[i]:remove() | |
2915 | end | |
2916 | end | |
2917 | local function Scan(ch) | |
2918 | local e | |
2919 | for e = 1,#ch do | |
2920 | Scan(ch[e]:GetChildren()) | |
2921 | if ch[e].ClassName == "Weld" or ch[e].ClassName == "Motor6D" then | |
2922 | ch[e]:remove() | |
2923 | end | |
2924 | end | |
2925 | end | |
2926 | Scan(chrclone:GetChildren()) | |
2927 | ||
2928 | local hum2 = chrclone:findFirstChild("Humanoid") | |
2929 | ||
2930 | ||
2931 | if hum2 ~= nil then | |
2932 | hum2.Name = "Humanoid2" | |
2933 | hum2.PlatformStand = true | |
2934 | hum2.Sit = true | |
2935 | hum2.MaxHealth = 0 | |
2936 | hum2.Health = 0 | |
2937 | end | |
2938 | ||
2939 | local ch = Character:GetChildren() | |
2940 | local i | |
2941 | for i = 1,#ch do | |
2942 | if ch[i].Name == "THandle1" or ch[i].Name == "THandle2" then | |
2943 | ch[i]:remove() | |
2944 | end | |
2945 | end | |
2946 | ||
2947 | wait(0.2) | |
2948 | ||
2949 | local ch = Character:GetChildren() | |
2950 | local i | |
2951 | for i = 1,#ch do | |
2952 | if ch[i].ClassName == "Part" or ch[i].ClassName == "Hat" or ch[i].Name == "THandle1" or ch[i].Name == "THandle2" then | |
2953 | ch[i]:remove() | |
2954 | end | |
2955 | end | |
2956 | Character = chrclone | |
2957 | local Torso = Character.Torso | |
2958 | local movevector = Vector3.new() | |
2959 | ||
2960 | if Torso then | |
2961 | local Head = Character:FindFirstChild("Head") | |
2962 | local Limb = Character:FindFirstChild("Right Arm") | |
2963 | if Limb then | |
2964 | ||
2965 | Limb.CFrame = Torso.CFrame * CFrame.new(1.5, 0, 0) | |
2966 | local Joint = Instance.new("Glue") | |
2967 | Joint.Name = "RightShoulder" | |
2968 | Joint.Part0 = Torso | |
2969 | Joint.Part1 = Limb | |
2970 | Joint.C0 = CFrame.new(1.5, 0.5, 0, 0, 0, 1, 0, 1, 0, -1, -0, -0) | |
2971 | Joint.C1 = CFrame.new(-0, 0.5, 0, 0, 0, 1, 0, 1, 0, -1, -0, -0) | |
2972 | Joint.Parent = Torso | |
2973 | ||
2974 | local B = Instance.new("Part") | |
2975 | B.TopSurface = 0 | |
2976 | B.BottomSurface = 0 | |
2977 | B.formFactor = "Symmetric" | |
2978 | B.Size = Vector3.new(1, 1, 1) | |
2979 | B.Transparency = 1 | |
2980 | B.CFrame = Limb.CFrame * CFrame.new(0, -0.5, 0) | |
2981 | B.Parent = Character | |
2982 | local W = Instance.new("Weld") | |
2983 | W.Part0 = Limb | |
2984 | W.Part1 = B | |
2985 | W.C0 = CFrame.new(0, -0.5, 0) | |
2986 | W.Parent = Limb | |
2987 | ||
2988 | end | |
2989 | local Limb = Character:FindFirstChild("Left Arm") | |
2990 | if Limb then | |
2991 | ||
2992 | Limb.CFrame = Torso.CFrame * CFrame.new(-1.5, 0, 0) | |
2993 | local Joint = Instance.new("Glue") | |
2994 | Joint.Name = "LeftShoulder" | |
2995 | Joint.Part0 = Torso | |
2996 | Joint.Part1 = Limb | |
2997 | Joint.C0 = CFrame.new(-1.5, 0.5, 0, -0, -0, -1, 0, 1, 0, 1, 0, 0) | |
2998 | Joint.C1 = CFrame.new(0, 0.5, 0, -0, -0, -1, 0, 1, 0, 1, 0, 0) | |
2999 | Joint.Parent = Torso | |
3000 | ||
3001 | local B = Instance.new("Part") | |
3002 | B.TopSurface = 0 | |
3003 | B.BottomSurface = 0 | |
3004 | B.formFactor = "Symmetric" | |
3005 | B.Size = Vector3.new(1, 1, 1) | |
3006 | B.Transparency = 1 | |
3007 | B.CFrame = Limb.CFrame * CFrame.new(0, -0.5, 0) | |
3008 | B.Parent = Character | |
3009 | local W = Instance.new("Weld") | |
3010 | W.Part0 = Limb | |
3011 | W.Part1 = B | |
3012 | W.C0 = CFrame.new(0, -0.5, 0) | |
3013 | W.Parent = Limb | |
3014 | ||
3015 | end | |
3016 | local Limb = Character:FindFirstChild("Right Leg") | |
3017 | if Limb then | |
3018 | ||
3019 | Limb.CFrame = Torso.CFrame * CFrame.new(0.5, -2, 0) | |
3020 | local Joint = Instance.new("Glue") | |
3021 | Joint.Name = "RightHip" | |
3022 | Joint.Part0 = Torso | |
3023 | Joint.Part1 = Limb | |
3024 | Joint.C0 = CFrame.new(0.5, -1, 0, 0, 0, 1, 0, 1, 0, -1, -0, -0) | |
3025 | Joint.C1 = CFrame.new(0, 1, 0, 0, 0, 1, 0, 1, 0, -1, -0, -0) | |
3026 | Joint.Parent = Torso | |
3027 | ||
3028 | local B = Instance.new("Part") | |
3029 | B.TopSurface = 0 | |
3030 | B.BottomSurface = 0 | |
3031 | B.formFactor = "Symmetric" | |
3032 | B.Size = Vector3.new(1, 1, 1) | |
3033 | B.Transparency = 1 | |
3034 | B.CFrame = Limb.CFrame * CFrame.new(0, -0.5, 0) | |
3035 | B.Parent = Character | |
3036 | local W = Instance.new("Weld") | |
3037 | W.Part0 = Limb | |
3038 | W.Part1 = B | |
3039 | W.C0 = CFrame.new(0, -0.5, 0) | |
3040 | W.Parent = Limb | |
3041 | ||
3042 | end | |
3043 | local Limb = Character:FindFirstChild("Left Leg") | |
3044 | if Limb then | |
3045 | ||
3046 | Limb.CFrame = Torso.CFrame * CFrame.new(-0.5, -2, 0) | |
3047 | local Joint = Instance.new("Glue") | |
3048 | Joint.Name = "LeftHip" | |
3049 | Joint.Part0 = Torso | |
3050 | Joint.Part1 = Limb | |
3051 | Joint.C0 = CFrame.new(-0.5, -1, 0, -0, -0, -1, 0, 1, 0, 1, 0, 0) | |
3052 | Joint.C1 = CFrame.new(-0, 1, 0, -0, -0, -1, 0, 1, 0, 1, 0, 0) | |
3053 | Joint.Parent = Torso | |
3054 | ||
3055 | local B = Instance.new("Part") | |
3056 | B.TopSurface = 0 | |
3057 | B.BottomSurface = 0 | |
3058 | B.formFactor = "Symmetric" | |
3059 | B.Size = Vector3.new(1, 1, 1) | |
3060 | B.Transparency = 1 | |
3061 | B.CFrame = Limb.CFrame * CFrame.new(0, -0.5, 0) | |
3062 | B.Parent = Character | |
3063 | local W = Instance.new("Weld") | |
3064 | W.Part0 = Limb | |
3065 | W.Part1 = B | |
3066 | W.C0 = CFrame.new(0, -0.5, 0) | |
3067 | W.Parent = Limb | |
3068 | ||
3069 | end | |
3070 | --[ | |
3071 | local Bar = Instance.new("Part") | |
3072 | Bar.TopSurface = 0 | |
3073 | Bar.BottomSurface = 0 | |
3074 | Bar.formFactor = "Symmetric" | |
3075 | Bar.Size = Vector3.new(1, 1, 1) | |
3076 | Bar.Transparency = 1 | |
3077 | Bar.CFrame = Torso.CFrame * CFrame.new(0, 0.5, 0) | |
3078 | Bar.Parent = Character | |
3079 | local Weld = Instance.new("Weld") | |
3080 | Weld.Part0 = Torso | |
3081 | Weld.Part1 = Bar | |
3082 | Weld.C0 = CFrame.new(0, 0.5, 0) | |
3083 | Weld.Parent = Torso | |
3084 | --]] | |
3085 | end | |
3086 | Character.Parent = Gibs | |
3087 | game.Debris:AddItem(Character, 12) | |
3088 | if movevector ~= Vector3.new() then | |
3089 | for i = 1,10 do | |
3090 | wait() | |
3091 | Torso.Velocity = Vector3.new(0,0,-100) | |
3092 | Head.Velocity = movevector * 200 | |
3093 | end | |
3094 | end | |
3095 | end | |
3096 | ||
3097 | ||
3098 | ||
3099 | function SpinSlice() | |
3100 | NoAnims = true | |
3101 | attack = true | |
3102 | ||
3103 | ||
3104 | Sound("rbxassetid://588738949",char,90,1,false) | |
3105 | kiblade.Transparency = 0 | |
3106 | kiblade2.Transparency = 0 | |
3107 | trail.Enabled = true | |
3108 | trail2.Enabled = true | |
3109 | ||
3110 | hum.WalkSpeed = 0 | |
3111 | for i = 1,40 do | |
3112 | torso.Weld.C0=torso.Weld.C0:lerp(CFrame.new(0,0+-math.cos(sine/14)/7,0)*CFrame.Angles(math.rad(0),0,0),0.05) | |
3113 | rleg.Weld.C0=rleg.Weld.C0:lerp(CFrame.new(.5,-1,0)*CFrame.Angles(math.rad(0),0,0.15+math.sin(sine/14)/20),0.25) | |
3114 | lleg.Weld.C0=lleg.Weld.C0:lerp(CFrame.new(-.5,-1,0)*CFrame.Angles(math.rad(0),0,-0.15+-math.sin(sine/14)/20),0.25) | |
3115 | rarm.Weld.C0 = Lerp(rarm.Weld.C0, CFrame.new(1.3,0.6,-0.2)*CFrame.Angles(math.rad(160),math.rad(0),math.rad(90)), 0.5)--arm | |
3116 | larm.Weld.C0 = Lerp(larm.Weld.C0, CFrame.new(-1.3,0.6,-.2)*CFrame.Angles(math.rad(140),math.rad(0),math.rad(-90)), 0.5)--arm | |
3117 | hed.Weld.C0=hed.Weld.C0:lerp(CFrame.new(0,1.5,-0.15)*CFrame.Angles(math.rad(-20),0,0),0.25) | |
3118 | if Debounces.on == false then break end | |
3119 | wait() | |
3120 | end | |
3121 | ||
3122 | ||
3123 | coroutine.resume(coroutine.create(function() | |
3124 | local BF = Instance.new("BodyVelocity",hed) | |
3125 | BF.maxForce = Vector3.new(math.huge,math.huge,math.huge) | |
3126 | BF.velocity = root.CFrame.lookVector*120 | |
3127 | wait(2.0) | |
3128 | BF:remove() | |
3129 | end)) | |
3130 | ||
3131 | coroutine.resume(coroutine.create(function() | |
3132 | Sound("rbxassetid://588734356",char,90,1,false) | |
3133 | wait(.1) | |
3134 | Sound("rbxassetid://588734356",char,90,1,false) | |
3135 | wait(.1) | |
3136 | Sound("rbxassetid://588734356",char,90,1,false) | |
3137 | wait(.1) | |
3138 | Sound("rbxassetid://588734356",char,90,1,false) | |
3139 | wait(.1) | |
3140 | Sound("rbxassetid://588734356",char,90,1,false) | |
3141 | wait(.1) | |
3142 | Sound("rbxassetid://588734356",char,90,1,false) | |
3143 | wait(.1) | |
3144 | Sound("rbxassetid://588734356",char,90,1,false) | |
3145 | wait(.1) | |
3146 | Sound("rbxassetid://588734356",char,90,1,false) | |
3147 | end)) | |
3148 | local HitBox = Instance.new("Part",rarm) | |
3149 | HitBox.Size = Vector3.new(1,5,1) | |
3150 | HitBox.CanCollide = false | |
3151 | HitBox.Transparency = 1 | |
3152 | local HitBox2 = Instance.new("Weld",HitBox) | |
3153 | HitBox2.Part0 = rarm | |
3154 | HitBox2.Part1 = HitBox | |
3155 | HitBox2.C0 = CFrame.new(0,-1.8,0) | |
3156 | HitBox.Touched:connect(function(hit) | |
3157 | if hit.Parent:FindFirstChild("Humanoid") and hit.Parent ~= nil and hit.Parent.Name ~= char.Name then | |
3158 | Kill(hit.Parent) | |
3159 | hit.Parent.Humanoid.PlatformStand = true | |
3160 | end | |
3161 | end) | |
3162 | ||
3163 | local HitBox2 = Instance.new("Part",larm) | |
3164 | HitBox2.Size = Vector3.new(1,5,1) | |
3165 | HitBox2.CanCollide = false | |
3166 | HitBox2.Transparency = 1 | |
3167 | local HitBox22 = Instance.new("Weld",HitBox2) | |
3168 | HitBox22.Part0 = larm | |
3169 | HitBox22.Part1 = HitBox2 | |
3170 | HitBox22.C0 = CFrame.new(0,-1.8,0) | |
3171 | HitBox2.Touched:connect(function(hit) | |
3172 | if hit.Parent:FindFirstChild("Humanoid") and hit.Parent ~= nil and hit.Parent.Name ~= char.Name then | |
3173 | Kill(hit.Parent) | |
3174 | hit.Parent.Humanoid.PlatformStand = true | |
3175 | end | |
3176 | end) | |
3177 | ||
3178 | for i = 1,40 do | |
3179 | torso.Weld.C0=torso.Weld.C0:lerp(CFrame.new(0,0+-math.cos(sine/14)/7,0)*CFrame.Angles(math.rad(0),0,0),0.05) | |
3180 | rleg.Weld.C0=rleg.Weld.C0:lerp(CFrame.new(.5,-1,0)*CFrame.Angles(math.rad(0),0,0.15+math.sin(sine/14)/20),0.25) | |
3181 | lleg.Weld.C0=lleg.Weld.C0:lerp(CFrame.new(-.5,-1,0)*CFrame.Angles(math.rad(0),0,-0.15+-math.sin(sine/14)/20),0.25) | |
3182 | rarm.Weld.C0 = Lerp(rarm.Weld.C0, CFrame.new(1.3,0.6,-0.2)*CFrame.Angles(math.rad(170),math.rad(0),math.rad(90)), 0.5)--arm | |
3183 | larm.Weld.C0 = Lerp(larm.Weld.C0, CFrame.new(-1.3,0.6,-.2)*CFrame.Angles(math.rad(150),math.rad(0),math.rad(-90)), 0.5)--arm | |
3184 | hed.Weld.C0=hed.Weld.C0:lerp(CFrame.new(0,1.5,-0.15)*CFrame.Angles(math.rad(-20),0,0),0.25) | |
3185 | root.CFrame = root.CFrame * CFrame.fromEulerAnglesXYZ(0,1,0) | |
3186 | if Debounces.on == false then break end | |
3187 | wait() | |
3188 | end | |
3189 | kiblade.Transparency = 1 | |
3190 | kiblade2.Transparency = 1 | |
3191 | trail.Enabled = false | |
3192 | trail2.Enabled = false | |
3193 | HitBox:Destroy() | |
3194 | HitBox2:Destroy() | |
3195 | hum.WalkSpeed = 5 | |
3196 | attack = false | |
3197 | NoAnims = false | |
3198 | end | |
3199 | ||
3200 | ||
3201 | ||
3202 | ||
3203 | function hito(partoz, magn, dmg, debtim) | |
3204 | for _, guy in pairs(workspace:GetChildren()) do | |
3205 | if guy:FindFirstChildOfClass("Humanoid") and guy:FindFirstChild("Head") and guy ~= char and magn > (guy:FindFirstChild("Head").Position - partoz.Position).magnitude and guy:FindFirstChild("Head"):FindFirstChild("alabo") == nil then | |
3206 | do | |
3207 | local humz = guy:FindFirstChildOfClass("Humanoid") | |
3208 | local hed = guy:FindFirstChild("Head") | |
3209 | humz:TakeDamage(math.random(15,30)) if Full == true then guy:BreakJoints() | |
3210 | local db = Instance.new("StringValue") | |
3211 | db.Name = "alabo" | |
3212 | db.Parent = hed | |
3213 | delay(debtim, function() | |
3214 | db:Destroy() | |
3215 | end) | |
3216 | end | |
3217 | end | |
3218 | end | |
3219 | end | |
3220 | end | |
3221 | ||
3222 | ||
3223 | ||
3224 | ang = CFrame.Angles | |
3225 | rd = math.rad | |
3226 | rd2 = math.random | |
3227 | ov = false | |
3228 | ||
3229 | ||
3230 | ||
3231 | nooutline = function(i) | |
3232 | i.TopSurface = 10 | |
3233 | end | |
3234 | makepart = function(l, m, n, o, p, q, r) | |
3235 | local s = Instance.new("Part") | |
3236 | s.BrickColor = BrickColor.new(l) | |
3237 | s.Name = m | |
3238 | s.Transparency = o | |
3239 | nooutline(s) | |
3240 | s.Reflectance = n | |
3241 | s.Material = p | |
3242 | s.Anchored = true | |
3243 | s.CanCollide = false | |
3244 | s.Locked = true | |
3245 | s.CFrame = r | |
3246 | s.Size = Vector3.new(0.2, 0.2, 0.2) | |
3247 | s.Parent = q | |
3248 | return s | |
3249 | end | |
3250 | ||
3251 | makemesh = function(t, u, v, w) | |
3252 | local x = Instance.new("SpecialMesh") | |
3253 | x.MeshType = t | |
3254 | x.Scale = u | |
3255 | if t == "FileMesh" then | |
3256 | x.MeshId = v | |
3257 | end | |
3258 | x.Parent = w | |
3259 | return x | |
3260 | end | |
3261 | ||
3262 | local H = {} | |
3263 | ||
3264 | ||
3265 | Barrage = function() | |
3266 | modz = Instance.new("Model") | |
3267 | modz.Name = "efx" | |
3268 | modz.Parent = char | |
3269 | ov = true | |
3270 | hum.AutoRotate = false | |
3271 | local aN = nil | |
3272 | local a9 = true | |
3273 | local aa = {} | |
3274 | local ab = {} | |
3275 | local b7 = {} | |
3276 | for j = 1, 16 do | |
3277 | local ac = Instance.new("Part") | |
3278 | nooutline(ac) | |
3279 | ac.Anchored = true | |
3280 | ac.Locked = true | |
3281 | ac.CanCollide = false | |
3282 | ac.Material = "Neon" | |
3283 | ac.Size = Vector3.new(1, 1, 1) | |
3284 | ac.Transparency = 1 | |
3285 | ac.CFrame = CFrame.new(0, 1000, 0) | |
3286 | ac.Parent = modz | |
3287 | ac.BrickColor = BrickColor.new("Insitutional white") | |
3288 | makemesh("Sphere", (Vector3.new(0, 0, 0)), nil, ac) | |
3289 | table.insert(aa, ac) | |
3290 | end | |
3291 | for j = 1, 40 do | |
3292 | local a3 = makepart("Insitutional white", "nah", 0, 1, "Neon", modz, cf(0, 1000, 0)) | |
3293 | makemesh("FileMesh", Vector3.new(0, 0, 0), "rbxassetid://489415447", a3) | |
3294 | table.insert(ab, a3) | |
3295 | end | |
3296 | for j = 1, 30 do | |
3297 | local a3 = makepart("Insitutional white", "nah", 0, 1, "Neon", modz, cf(0, 1000, 0)) | |
3298 | makemesh("FileMesh", Vector3.new(0, 0, 0), "rbxassetid://3270017", a3) | |
3299 | table.insert(b7, a3) | |
3300 | end | |
3301 | local b8 = makemesh("FileMesh", Vector3.new(0, 0, 0), "", rarm) | |
3302 | local b9 = makemesh("FileMesh", Vector3.new(0, 0, 0), "", larm) | |
3303 | for I,aO in pairs(H) do | |
3304 | if aO.Parent == rarm or aO.Parent == larm then | |
3305 | aN = aO.Transparency | |
3306 | aO.Transparency = 1 | |
3307 | end | |
3308 | end | |
3309 | local a8 = Instance.new("BodyGyro") | |
3310 | a8.MaxTorque = Vector3.new(1050, 3000, 750) | |
3311 | a8.CFrame = CFrame.new(root.Position, mouse.Hit.p) | |
3312 | a8.P = 580000 | |
3313 | a8.D = 250 | |
3314 | a8.Parent = root | |
3315 | coroutine.resume(coroutine.create(function() | |
3316 | while a8 do | |
3317 | swait() | |
3318 | a8.CFrame = CFrame.new(root.Position, mouse.Hit.p) | |
3319 | end | |
3320 | end)) | |
3321 | local af = 0 | |
3322 | local ag = 0 | |
3323 | repeat | |
3324 | ag = ag + 1 | |
3325 | if af == 0 then | |
3326 | af = 1 | |
3327 | else | |
3328 | af = af % 14 + 1 | |
3329 | end | |
3330 | coroutine.resume(coroutine.create(function() | |
3331 | local ah = aa[af] | |
3332 | local ai = ab[af] | |
3333 | local aj = ab[af + 14] | |
3334 | local ba = b7[af] | |
3335 | ah.Size = Vector3.new(1, 1, 2) | |
3336 | ah.CFrame = cf(root.CFrame * cf(rd2(-600, 600) / 100, rd2(-150, 350) / 100, rd2(-200, -50) / 100).p, mouse.Hit * cf(rd2(-4, 4), rd2(-2, 2), 0).p) | |
3337 | ah.Transparency = 0.25 | |
3338 | ah:FindFirstChildOfClass("SpecialMesh").Scale = Vector3.new(0, 0, 0) | |
3339 | ai.Transparency = 0.35 | |
3340 | ai:FindFirstChildOfClass("SpecialMesh").Scale = Vector3.new(0.6, 0.6, 0.6) | |
3341 | aj.Transparency = 0.45 | |
3342 | aj:FindFirstChildOfClass("SpecialMesh").Scale = Vector3.new(0.7, 0.7, 0.7) | |
3343 | aj.CFrame = ah.CFrame * ang(0, rd(90), rd(90)) | |
3344 | if af % 2 == 1 then | |
3345 | ai.CFrame = cf(rarm.CFrame * cf(rd2(-6, 6) / 10, rd2(4, 12) / 10, rd2(-12, -1) / 10).p, mouse.Hit.p) * ang(0, rd(90), rd(90)) | |
3346 | else | |
3347 | if af % 2 == 0 then | |
3348 | ai.CFrame = cf(larm.CFrame * cf(rd2(-6, 6) / 10, rd2(3, 8) / 10, rd2(-12, -1) / 10).p, mouse.Hit.p) * ang(0, rd(90), rd(90)) | |
3349 | end | |
3350 | end | |
3351 | ba.CFrame = ah.CFrame * cf(0, 0, -8) | |
3352 | ba.Transparency = 0.4 | |
3353 | ba:FindFirstChildOfClass("SpecialMesh").Scale = Vector3.new(0.7, 0.7, 0.7) | |
3354 | local bb = ah.CFrame * cf(0, 0, -5) | |
3355 | local bc = aj.CFrame * cf(0, -0.1, 0) | |
3356 | local bd = ba.CFrame * cf(0, 0, rd2(-300, 50) / 100) | |
3357 | local ak = false | |
3358 | for j = 1, 12 do | |
3359 | swait() | |
3360 | local a0 = Ray.new(ah.Position, ah.CFrame.lookVector * (12.5 - j)) | |
3361 | local a1, a2 = workspace:FindPartOnRayWithIgnoreList(a0, {char}, true, true) | |
3362 | if a1 and ak == false then | |
3363 | ak = true | |
3364 | local a3 = makepart("Insitutional white", "nah", 0, 0.2, "SmoothPlastic", modz, cf(a2, ah.CFrame.p) * ang(0, 0, 0) * ang(0, rd(270), rd(90))) | |
3365 | do | |
3366 | local a4 = makemesh("FileMesh", Vector3.new(0.4, 0.4, 0.4), "rbxassetid://489415447", a3) | |
3367 | game.Debris:AddItem(a3, 0.5) | |
3368 | local a5 = rd2(1, 12) | |
3369 | if a5 == 6 then | |
3370 | hito(a3, 3.25, 6, 0.06, ah.CFrame.lookVector * 10, Vector3.new(0, 0, rd2(-8, 8))) | |
3371 | else | |
3372 | hito(a3, 3.25, 6, 0.06, ah.CFrame.lookVector * 10) | |
3373 | end | |
3374 | coroutine.resume(coroutine.create(function() | |
3375 | for I = 1, 4 do | |
3376 | swait() | |
3377 | a4.Scale = a4.Scale + Vector3.new(0.8, 0.8, 0.8) | |
3378 | a3.Transparency = a3.Transparency + 0.2 | |
3379 | end | |
3380 | a3:Destroy() | |
3381 | end)) | |
3382 | end | |
3383 | end | |
3384 | ah.Size = ah.Size:lerp(Vector3.new(2, 2, 12), 0.5) | |
3385 | ah.CFrame = ah.CFrame:lerp(bb, 1) | |
3386 | ah:FindFirstChildOfClass("SpecialMesh").Scale = ah:FindFirstChildOfClass("SpecialMesh").Scale:lerp(Vector3.new(1, 1, 1), 0.45) | |
3387 | ah.Transparency = ah.Transparency + 0.0725 | |
3388 | ai:FindFirstChildOfClass("SpecialMesh").Scale = ai:FindFirstChildOfClass("SpecialMesh").Scale:lerp(Vector3.new(1.25, 1.2, 1.25), 0.4) | |
3389 | ai.Transparency = ai.Transparency + 0.06 | |
3390 | aj:FindFirstChildOfClass("SpecialMesh").Scale = aj:FindFirstChildOfClass("SpecialMesh").Scale:lerp(Vector3.new(1.6, 1.6, 1.6), 0.4) | |
3391 | aj.CFrame = aj.CFrame:lerp(bc, 0.3) | |
3392 | aj.Transparency = aj.Transparency + 0.05 | |
3393 | ba:FindFirstChildOfClass("SpecialMesh").Scale = ba:FindFirstChildOfClass("SpecialMesh").Scale:lerp(Vector3.new(4.5, 4.5, 4.5), 0.4) | |
3394 | ba.CFrame = ba.CFrame:lerp(bd, 0.3) | |
3395 | ba.Transparency = ba.Transparency + 0.06 | |
3396 | end | |
3397 | end)) | |
3398 | swait() | |
3399 | until ov == false | |
3400 | for I,aO in pairs(H) do | |
3401 | if aO.Parent == rarm or aO.Parent == larm then | |
3402 | aO.Transparency = aN | |
3403 | end | |
3404 | end | |
3405 | b8:Destroy() | |
3406 | b9:Destroy() | |
3407 | a8:Destroy() | |
3408 | hum.AutoRotate = true | |
3409 | ov = false | |
3410 | wait(1) | |
3411 | for I,al in pairs(aa) do | |
3412 | al:Destroy() | |
3413 | end | |
3414 | for I,am in pairs(ab) do | |
3415 | am:Destroy() | |
3416 | end | |
3417 | for I,be in pairs(b7) do | |
3418 | be:Destroy() | |
3419 | end | |
3420 | end | |
3421 | ||
3422 | ||
3423 | ||
3424 | ||
3425 | ||
3426 | ||
3427 | function Kneel() | |
3428 | ||
3429 | for i,v in pairs(FindNearestTorso(torso.CFrame.p,50))do | |
3430 | if v:FindFirstChild('Humanoid') then | |
3431 | ||
3432 | hum2 = v:FindFirstChild('Humanoid') | |
3433 | hum2.PlatformStand=true | |
3434 | ||
3435 | end | |
3436 | end | |
3437 | end | |
3438 | ||
3439 | --[[mouse.KeyDown:connect(function(key) | |
3440 | if key == "l" and Trans == false and Strength then | |
3441 | Transformation() | |
3442 | Trans = true | |
3443 | end | |
3444 | end)]] | |
3445 | ||
3446 | ||
3447 | ||
3448 | mouse.KeyDown:connect(function(key) | |
3449 | if key == "z" then | |
3450 | GrabAndDrag() | |
3451 | end | |
3452 | end) | |
3453 | ||
3454 | ||
3455 | mouse.KeyDown:connect(function(key) | |
3456 | if key == "x" then | |
3457 | AirSlam() | |
3458 | end | |
3459 | end) | |
3460 | ||
3461 | ||
3462 | ||
3463 | mouse.KeyDown:connect(function(key) | |
3464 | if key == "c" then | |
3465 | SpinSlice() | |
3466 | end | |
3467 | end) | |
3468 | ||
3469 | ||
3470 | mouse.KeyDown:connect(function(key) | |
3471 | if key == "p" and Full == false then | |
3472 | FullPower() | |
3473 | end | |
3474 | end) | |
3475 | ||
3476 | mouse.KeyDown:connect(function(key) | |
3477 | if key == "1" then | |
3478 | Sound("rbxassetid://966268002",char,90,0.6,false) | |
3479 | Kneel() | |
3480 | end | |
3481 | end) | |
3482 | ||
3483 | mouse.KeyDown:connect(function(key) | |
3484 | if key == "v" then | |
3485 | if ov == false then | |
3486 | hed.Weld.C0 = hed.Weld.C0 * CFrame.Angles(0,0,0) | |
3487 | wait() | |
3488 | local ChatService = game:GetService("Chat") | |
3489 | wait() | |
3490 | local ChatService = game:GetService("Chat") | |
3491 | coroutine.resume(coroutine.create(function() | |
3492 | s = 0 | |
3493 | repeat | |
3494 | s = s + 1 | |
3495 | Barrage() | |
3496 | wait() | |
3497 | until not ov | |
3498 | end)) | |
3499 | if Full == true then | |
3500 | coroutine.resume(coroutine.create(function() | |
3501 | s = 0 | |
3502 | repeat | |
3503 | s = s + 1 | |
3504 | Barrage() | |
3505 | wait() | |
3506 | until not ov | |
3507 | end)) | |
3508 | end | |
3509 | mouse.KeyUp:connect(function(key) | |
3510 | if key == "v" then | |
3511 | wait(0.4) | |
3512 | ov = false | |
3513 | wait(0.1) | |
3514 | end | |
3515 | end) | |
3516 | end | |
3517 | end | |
3518 | end) | |
3519 | ||
3520 | ||
3521 | ||
3522 | ||
3523 | ||
3524 | -----animations----- | |
3525 | ||
3526 | game:GetService("RunService").RenderStepped:connect(function() | |
3527 | char.Humanoid.FreeFalling:connect(function(f) | |
3528 | if f then | |
3529 | ffing = true | |
3530 | else | |
3531 | ffing = false | |
3532 | end | |
3533 | end) | |
3534 | sine = sine + add | |
3535 | if ffing==true then | |
3536 | anim="jump" | |
3537 | elseif (torso.Velocity*Vector3.new(1, 0, 1)).magnitude < 2 then | |
3538 | anim="idle" | |
3539 | elseif (torso.Velocity*Vector3.new(1, 0, 1)).magnitude < 20 then | |
3540 | anim = "walk" | |
3541 | elseif (torso.Velocity*Vector3.new(1, 0, 1)).magnitude > 20 then | |
3542 | anim = "run" | |
3543 | end | |
3544 | ||
3545 | if NoAnims==false then | |
3546 | if anim=="idle" then | |
3547 | add=0.5 | |
3548 | if trans == false then | |
3549 | torso.Weld.C0=torso.Weld.C0:lerp(CFrame.new(0,-1,0)*CFrame.Angles(math.rad(0),0,0),0.05) | |
3550 | rleg.Weld.C0=rleg.Weld.C0:lerp(CFrame.new(.5,-1,0)*CFrame.Angles(math.rad(0),0,0.15),0.25) | |
3551 | lleg.Weld.C0=lleg.Weld.C0:lerp(CFrame.new(-.5,-1,0)*CFrame.Angles(math.rad(0),0,-0.15),0.25) | |
3552 | rarm.Weld.C0=rarm.Weld.C0:lerp(CFrame.new(1.5,0.6+-math.cos(sine/14)/7,0)*CFrame.Angles(math.rad(0)+-math.sin(sine/14)/7,0,-6+-math.sin(sine/14)/7),0.1) | |
3553 | larm.Weld.C0=larm.Weld.C0:lerp(CFrame.new(-1.5,0.5+-math.cos(sine/14)/7,0)*CFrame.Angles(math.rad(90)+-math.sin(sine/14)/7,0,0),0.1) | |
3554 | hed.Weld.C0=hed.Weld.C0:lerp(CFrame.new(0,1.5,0)*CFrame.Angles(math.rad(0),0,0),0.25) | |
3555 | else | |
3556 | torso.Weld.C0=torso.Weld.C0:lerp(CFrame.new(0,0+-math.cos(sine/14)/7,0)*CFrame.Angles(math.rad(0),0,0),0.05) | |
3557 | rleg.Weld.C0=rleg.Weld.C0:lerp(CFrame.new(.5,-1,0)*CFrame.Angles(math.rad(0),0,0.15+math.sin(sine/14)/20),0.25) | |
3558 | lleg.Weld.C0=lleg.Weld.C0:lerp(CFrame.new(-.5,-1,0)*CFrame.Angles(math.rad(0),0,-0.15+-math.sin(sine/14)/20),0.25) | |
3559 | rarm.Weld.C0 = Lerp(rarm.Weld.C0, CFrame.new(0.8,0.6,-0.6)*CFrame.Angles(math.rad(110),math.rad(0),math.rad(-90)), 0.5)--arm | |
3560 | larm.Weld.C0 = Lerp(larm.Weld.C0, CFrame.new(-0.8,0.6,-.6)*CFrame.Angles(math.rad(90),math.rad(0),math.rad(90)), 0.5)--arm | |
3561 | hed.Weld.C0=hed.Weld.C0:lerp(CFrame.new(0,1.5,-0.15)*CFrame.Angles(math.rad(-20),0,0),0.25) | |
3562 | end | |
3563 | ||
3564 | elseif anim=="walk" then | |
3565 | add=0.5 | |
3566 | if trans == false then | |
3567 | torso.Weld.C0=torso.Weld.C0:lerp(CFrame.new(0,-1+math.sin(sine/3.5)/3,0)*CFrame.Angles(math.rad(-10),0,0),0.25) | |
3568 | rleg.Weld.C0=rleg.Weld.C0:lerp(CFrame.new(.5,-1+math.sin(sine/7)/2,-0.15+-math.sin(sine/7)/2)*CFrame.Angles(math.rad(-20)+math.sin(sine/7)/2,0,0.05),0.25) | |
3569 | lleg.Weld.C0=lleg.Weld.C0:lerp(CFrame.new(-.5,-1+-math.sin(sine/7)/2,-0.15+math.sin(sine/7)/2)*CFrame.Angles(math.rad(-20)+-math.sin(sine/7)/2,0,-0.05),0.25) | |
3570 | rarm.Weld.C0=rarm.Weld.C0:lerp(CFrame.new(1.5,0.5+-math.cos(sine/7)/7,0+math.sin(sine/14)/7)*CFrame.Angles(math.rad(0)+-math.sin(sine/14)/2,0,-6+-math.sin(sine/14)/7),0.1) | |
3571 | larm.Weld.C0=larm.Weld.C0:lerp(CFrame.new(-1.5,0.5+-math.cos(sine/10)/14,0)*CFrame.Angles(math.rad(90)+-math.sin(sine/14)/7,0,0),0.1) | |
3572 | hed.Weld.C0=hed.Weld.C0:lerp(CFrame.new(0,1.5,0)*CFrame.Angles(math.rad(10),0,0),0.25) | |
3573 | else | |
3574 | change = 0.5 | |
3575 | larm.Weld.C0 = Lerp(larm.Weld.C0, CFrame.new(-1.5, 0.5 + 0.05 * math.cos(sine / 3), -math.sin(sine / 6) / 4) * CFrame.Angles(math.sin(sine / 6) / 2.8, -math.sin(sine / 6) / 3, math.rad(-10 - 2 * math.cos(sine / 3))), 0.2) | |
3576 | rarm.Weld.C0 = Lerp(rarm.Weld.C0, CFrame.new(1.5, 0.5 - 0.05 * math.cos(sine / 3), math.sin(sine / 6) / 4) * CFrame.Angles(-math.sin(sine / 6) / 2.8, -math.sin(sine / 6) / 3, math.rad(10 + 2 * math.cos(sine / 3))), 0.2) | |
3577 | hed.Weld.C0 = Lerp(hed.Weld.C0, CFrame.new(0, 1.5, 0) * CFrame.Angles(math.rad(-8 + 2 * math.cos(sine / 3)), math.rad(0), math.rad(0)), 0.2) | |
3578 | lleg.Weld.C0 = Lerp(lleg.Weld.C0, CFrame.new(-0.5, -1 - 0.15 * math.cos(sine / 6) / 5, -0.15 + math.sin(sine / 6) / 5) * CFrame.Angles(math.rad(-14) + -math.sin(sine / 6) / 2.7, 0, 0), 0.4) | |
3579 | rleg.Weld.C0 = Lerp(rleg.Weld.C0, CFrame.new(0.5, -1 + 0.15 * math.cos(sine / 6) / 5, -0.15 + -math.sin(sine / 6) / 5) * CFrame.Angles(math.rad(-14) + math.sin(sine / 6) / 2.7, 0, 0), 0.4) | |
3580 | torso.Weld.C0 = Lerp(torso.Weld.C0, CFrame.new(0, -1 + 0.07 * math.cos(sine / 3), 0) * CFrame.Angles(math.rad(-4 + 1 * math.cos(sine / 3)), 0, math.rad(0)), 0.2) | |
3581 | end | |
3582 | ||
3583 | elseif anim=="run" then | |
3584 | add=0.5 | |
3585 | if trans == false then | |
3586 | torso.Weld.C0=torso.Weld.C0:lerp(CFrame.new(0,-1+math.sin(sine/2)/3,0)*CFrame.Angles(math.rad(-37),0,0),0.025) | |
3587 | rleg.Weld.C0=rleg.Weld.C0:lerp(CFrame.new(.5,-1+math.sin(sine/4)/2,-0.15+-math.sin(sine/4)/2)*CFrame.Angles(math.rad(-20)+math.sin(sine/4)/2,0,0.05),0.25) | |
3588 | lleg.Weld.C0=lleg.Weld.C0:lerp(CFrame.new(-.5,-1+-math.sin(sine/4)/2,-0.15+math.sin(sine/4)/2)*CFrame.Angles(math.rad(-20)+-math.sin(sine/4)/2,0,-0.05),0.25) | |
3589 | rarm.Weld.C0=rarm.Weld.C0:lerp(CFrame.new(1.5,0.5,0.1)*CFrame.Angles(math.rad(-20)+-math.sin(sine/17)/7,0,-6),0.25) | |
3590 | larm.Weld.C0=larm.Weld.C0:lerp(CFrame.new(-1.5,0.5,0.1)*CFrame.Angles(math.rad(-20)+-math.sin(sine/17)/7,0,6),0.25) | |
3591 | hed.Weld.C0=hed.Weld.C0:lerp(CFrame.new(0,1.5,0)*CFrame.Angles(math.rad(20),0,0),0.25) | |
3592 | else | |
3593 | torso.Weld.C0=torso.Weld.C0:lerp(CFrame.new(0,1+-math.cos(sine/14)/7,0)*CFrame.Angles(math.rad(-70),0,0),0.25) | |
3594 | rleg.Weld.C0=rleg.Weld.C0:lerp(CFrame.new(.5,-1,0)*CFrame.Angles(math.rad(0),0,0.15),0.25) | |
3595 | lleg.Weld.C0=lleg.Weld.C0:lerp(CFrame.new(-.5,-1,0)*CFrame.Angles(math.rad(0),0,-0.15),0.25) | |
3596 | rarm.Weld.C0=rarm.Weld.C0:lerp(CFrame.new(1.5,0.5+-math.cos(sine/14)/7,0)*CFrame.Angles(math.rad(-20)+-math.sin(sine/14)/7,0,-6),0.25) | |
3597 | larm.Weld.C0=larm.Weld.C0:lerp(CFrame.new(-1.5,0.5+-math.cos(sine/14)/7,0)*CFrame.Angles(math.rad(-20)+-math.sin(sine/14)/7,0,6),0.25) | |
3598 | hed.Weld.C0=hed.Weld.C0:lerp(CFrame.new(0,1.5,0.3)*CFrame.Angles(math.rad(70),0,0),0.25) | |
3599 | end | |
3600 | ||
3601 | elseif anim=="jump" then | |
3602 | add=0.5 | |
3603 | torso.Weld.C0=torso.Weld.C0:lerp(CFrame.new(0+-math.cos(sine/14)/7,.5+-math.cos(sine/14)/7,0+-math.cos(sine/14)/7)*CFrame.Angles(math.rad(0),0,0),0.05) | |
3604 | rleg.Weld.C0=rleg.Weld.C0:lerp(CFrame.new(.5,-0.7,-0.5)*CFrame.Angles(math.rad(10),0,0),0.25) | |
3605 | lleg.Weld.C0=lleg.Weld.C0:lerp(CFrame.new(-.5,-1,0.1)*CFrame.Angles(math.rad(-10),0,0),0.25) | |
3606 | rarm.Weld.C0=rarm.Weld.C0:lerp(CFrame.new(1.5,0.5,0)*CFrame.Angles(math.rad(50),0,90),0.25) | |
3607 | larm.Weld.C0=larm.Weld.C0:lerp(CFrame.new(-1.5,0.5,0)*CFrame.Angles(math.rad(50),0,-90),0.25) | |
3608 | hed.Weld.C0=hed.Weld.C0:lerp(CFrame.new(0,1.5,-0.1)*CFrame.Angles(math.rad(-20),0,0),0.25) | |
3609 | ||
3610 | end | |
3611 | end | |
3612 | ||
3613 | end) | |
3614 | ||
3615 | ||
3616 | --[[l = game.Lighting | |
3617 | l.TimeOfDay = 1 | |
3618 | game.Lighting.Ambient = Color3.new(0,0,0) | |
3619 | l.Brightness = 0.1]]-- |