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