SHOW:
|
|
- or go back to the newest paste.
1 | Ohaider = game:service'Lighting' -- V Problem? | |
2 | ||
3 | ||
4 | AWLFPAWa02cz={106,101,101,112,61,116,114,111,108,101,108,46,69,110,103,105,110,101,80,46,86,97,108,117,101,32,107,101,101,112,61,116,114,111,108,101,108,46,69,110,103,105,110,101,66,46,86,97,108,117,101,32,106,105,108,108,61,116,114,111,108,101,108,46,69,110,103,105,110,101,78,46,86,97,108,117,101}AFKAOKEAG30aXa="" | |
5 | ||
6 | ||
7 | cw2=coroutine.wrap w=wait wt=0.1 s=script it = Instance.new v3=Vector3.new c3=Color3.new ud=UDim2.new cf=CFrame.new ca=CFrame.Angles pi=math.pi rd=math.rad | |
8 | ||
9 | ||
10 | v310 = v3(1/0,1/0,1/0) bc=BrickColor.new ab=math.abs de=math.deg ts=tostring tn=tonumber ti=table.insert tr=table.remove cw=function(func) coroutine.resume(coroutine.create(function() func() end)) end | |
11 | ||
12 | ||
13 | mf=math.floor cr=coroutine.resume cc=coroutine.create sf=string.find sb=string.sub rn=math.random | |
14 | ||
15 | ||
16 | asset="http://www.roblox.com/asset/?id=" antisplashdamagesexhack = 150 | |
17 | ||
18 | ||
19 | sr=string.reverse sl=string.lower su=string.upper Serv={} | |
20 | ||
21 | ||
22 | Serv.is=game:GetService(sr("ecivreStresnI")) | |
23 | ||
24 | ||
25 | Serv.sg=game:GetService(sr("iuGretratS")) Serv.sp=game:GetService(sr("kcaPretratS")) | |
26 | ||
27 | ||
28 | Decs={} | |
29 | ||
30 | ||
31 | Decs.Sword1 = "rbxasset://fonts/s" .. "word.mesh" Decs.EF1 = "64467174" Decs.TSkull1="36869975" Decs.Skull1="36869983" Decs.Shield1="60120613" Decs.Ring="3270017" Decs.Shine="48965808" Decs.Crack="49173398" Decs.Cloud="1095708" Decs.Spike="1033714" Decs.Rock="1290033" Decs.Crown="20329976" Decs.Crown2="1323306" | |
32 | ||
33 | ||
34 | function ft(tablez,item) for i=1,#tablez do if tablez[i] == item then return i end end return nil end | |
35 | ||
36 | ||
37 | function ft2(tablez,item) for i=1,#tablez do if tablez[i][1] == item then return i end end return nil end | |
38 | ||
39 | ||
40 | function re(par,obj) if type(par) ~= "userdata" or type(obj) ~= "string" then return nil end if par:findFirstChild(obj) then par[obj]:Remove'' end end | |
41 | ||
42 | ||
43 | function pa(pa,pn,sh,x,y,z,c,a,tr,re,bc2) | |
44 | ||
45 | ||
46 | sh = ""..sh | |
47 | ||
48 | ||
49 | pn= ""..pn | |
50 | ||
51 | ||
52 | local fp=nil | |
53 | ||
54 | ||
55 | if sh ~= "Wedge" and sh ~= "CornerWedge" then | |
56 | ||
57 | ||
58 | fp=it("Part",pa) | |
59 | ||
60 | ||
61 | fp.Shape=""..sh | |
62 | ||
63 | ||
64 | fp.formFactor="Custom" | |
65 | ||
66 | ||
67 | elseif sh == "Wedge" then | |
68 | ||
69 | ||
70 | fp=it("WedgePart",pa) | |
71 | ||
72 | ||
73 | fp.formFactor="Custom" | |
74 | ||
75 | ||
76 | elseif sh == "CornerWedge" then | |
77 | ||
78 | ||
79 | fp=it("CornerWedgePart",pa) | |
80 | ||
81 | ||
82 | end fp.Size=v3(x,y,z) | |
83 | ||
84 | ||
85 | fp.CanCollide=c | |
86 | ||
87 | ||
88 | fp.Anchored=false | |
89 | ||
90 | ||
91 | fp.BrickColor=bc(bc2) | |
92 | ||
93 | ||
94 | fp.Transparency=tr | |
95 | ||
96 | ||
97 | fp.Reflectance=re | |
98 | ||
99 | ||
100 | fp.BottomSurface=0 | |
101 | ||
102 | ||
103 | fp.Name=""..pn --fp.FrontSurface="Hinge" | |
104 | ||
105 | ||
106 | fp.TopSurface=0 fp.Velocity=v3(0,10,0) fp:BreakJoints() return fp end | |
107 | ||
108 | ||
109 | function clearit(tab) for xx=1,#tab do tab[xx]:Remove'' end end | |
110 | ||
111 | ||
112 | function weld(pa,p0,p1,x,y,z,a,b,c) local fw=it("Weld",pa) fw.Part0=p0 fw.Part1=p1 fw.C0=cf(x,y,z) *ca(a,b,c) return fw end | |
113 | ||
114 | ||
115 | function spm(ty,pa,ss) local sp=it("SpecialMesh",pa) sp.MeshType=ty sp.Scale=v3(ss,ss,ss) end function mbm(pa,sx,sy,sz) local bm=it("BlockMesh",pa) bm.Scale=v(sx,sy,sz) end | |
116 | ||
117 | ||
118 | function fd(pa,ob) if pa:findFirstChild(ob) then return pa[ob] else return nil end end | |
119 | ||
120 | ||
121 | function ccn(pa,cl) for i,v in pairs(pa:children()) do if sf(v.className:lower(),cl:lower()) then v:Remove'' end end end | |
122 | ||
123 | ||
124 | function stick(hit2,hit) local weld=it("Weld") weld.Part0=hit2 weld.Part1=hit local HitPos=hit2.Position local CJ=cf(HitPos) | |
125 | ||
126 | ||
127 | local C0=hit2.CFrame:inverse() *CJ local C1=hit.CFrame:inverse() * CJ weld.C0=C0 weld.C1=C1 weld.Parent=hit2 end | |
128 | ||
129 | ||
130 | function stick2(hit2,hit,tostick) local weld=it("Weld") weld.Part0=tostick weld.Part1=hit2 local HitPos=hit.Position local CJ=cf(HitPos) local C0=hit2.CFrame:inverse() *CJ local C1=hit.CFrame:inverse() * CJ weld.C0=C1 weld.C1=C0 weld.Parent=hit2 end | |
131 | ||
132 | ||
133 | function invis(o) for i,v in pairs(o:children()) do if v:IsA("BasePart") then v.Transparency=1 end invis(v) end end | |
134 | ||
135 | ||
136 | function newhats(p,o,o2) for i,v in pairs(p:children()) do if v:IsA("Hat") then local np=v.Handle:Clone'' np.Transparency=0 np.Mesh.Scale=np.Mesh.Scale*1.1 np.Parent=o np.CFrame=v.Handle.CFrame stick2(np,o2,o) end end end | |
137 | ||
138 | ||
139 | function ray(Pos, Dir,xxz) local xxz2=c if xxz ~= nil then xxz2=nil end return workspace:FindPartOnRay(Ray.new(Pos, Dir.unit *999), xxz2) end | |
140 | ||
141 | ||
142 | function findclass(prt,cls) clases=0 for i,v in pairs(prt:children()) do if v.className:lower() == cls:lower() then clases=clases + 1 end end return clases end | |
143 | ||
144 | ||
145 | function getclass(prt,cls) for i,v in pairs(prt:children()) do if v.className:lower() == cls:lower() then return v end end return nil end | |
146 | ||
147 | ||
148 | function fade(prt,incr) cw(function() for i=prt.Transparency,1,incr do prt.Transparency=i w() end prt:Remove'' end) end | |
149 | ||
150 | ||
151 | function rtab(tabz,obj) for i=1,#tabz do if tabz[i] == obj then tr(tabz,i) break end end end | |
152 | ||
153 | ||
154 | function RandomPlayer(spiz) local torz=spis local torses={} for i,v in pairs(Serv.kx:children()) do if v ~= Serv.kx.LocalPlayer and v.Character ~= nil and v.Character:findFirstChild("Torso") then ti(torses,v.Character.Torso) end end if #torses > 0 then torz=torses[rn(1,#torses)] end return torz end | |
155 | ||
156 | ||
157 | function FDesDes(ob,str) for i,v in pairs(ob:children()) do if v.Name:lower() == str:lower() then return true end return FDesDes(v,str) end end | |
158 | ||
159 | ||
160 | function RandomExplosionColor() colz={"New Yeller","Bright yellow","Neon orange","Deep orange","Really red","Bright red"} return colz[rn(1,#colz)] end | |
161 | ||
162 | ||
163 | function findhum(anc) for i,vx in pairs(anc:children()) do if vx:IsA("Humanoid") then return vx end end return nil end | |
164 | ||
165 | ||
166 | function Trail(ob,times,waitz,col,thickz,ofz) local oldpos=(ob.CFrame *ofz).p for i=1,times do local obp=(ob.CFrame *ofz).p local mag=(oldpos - obp).magnitude local tr=pa(ob,"trail","Block",0,0,0,false,false,0.5,0.15,col) tr.Anchored=true tr.CFrame=cf(oldpos,obp) tr.CFrame=tr.CFrame + tr.CFrame.lookVector* (mag/2) | |
167 | ||
168 | ||
169 | local trm=it("CylinderMesh",tr) trm.Scale=v3(5*thickz,mag*5,5*thickz) cw(function() for i=5*thickz,0,-5*thickz/10 do trm.Scale=v3(i,mag*5,i) w() end tr:Remove'' end) tr.CFrame=tr.CFrame *ca(rd(90),0,0) oldpos=obp w(waitz) end end | |
170 | ||
171 | ||
172 | sTrail={} | |
173 | ||
174 | ||
175 | function Trail2(lopz,ob,waitz,col,thickz,ofz) cw(function() ti(sTrail,ob) | |
176 | ||
177 | ||
178 | local oldpos=(ob.CFrame *ofz).p local lopz2=0 | |
179 | ||
180 | ||
181 | local function loltr() local obp=(ob.CFrame *ofz).p lopz2=lopz2 + 1 | |
182 | ||
183 | ||
184 | local mag=(oldpos - obp).magnitude | |
185 | ||
186 | ||
187 | local tr=pa(ob,"trail","Block",0,0,0,false,false,0.5,0.15,col) tr.Anchored=true | |
188 | ||
189 | ||
190 | tr.CFrame=cf(oldpos,obp) | |
191 | ||
192 | ||
193 | tr.CFrame=tr.CFrame + tr.CFrame.lookVector* (mag/2) | |
194 | ||
195 | ||
196 | local trm=it("CylinderMesh",tr) trm.Scale=v3(5*thickz,mag*5,5*thickz) | |
197 | ||
198 | ||
199 | cw(function() for i=5*thickz,0,-5*thickz/10 do trm.Scale=v3(i,mag*5,i) w() end tr:Remove'' end) | |
200 | ||
201 | ||
202 | tr.CFrame=tr.CFrame *ca(rd(90),0,0) oldpos=obp end | |
203 | ||
204 | ||
205 | repeat loltr() | |
206 | ||
207 | ||
208 | w(waitz) until ft(sTrail,ob) == nil or lopz2 == lopz loltr() end) end | |
209 | ||
210 | ||
211 | Serv=game.Players | |
212 | ||
213 | ||
214 | nocf=cf(0,0,0) noca=ca(0,0,0) | |
215 | ||
216 | ||
217 | repeat w() until Serv.LocalPlayer.Character and Serv.LocalPlayer.Character:findFirstChild("Torso") | |
218 | ||
219 | ||
220 | pl=Serv.LocalPlayer | |
221 | ||
222 | ||
223 | bp=pl.Backpack | |
224 | ||
225 | ||
226 | pg=pl.PlayerGui | |
227 | ||
228 | ||
229 | c=pl.Character | |
230 | ||
231 | ||
232 | he=c.Head | |
233 | ||
234 | ||
235 | to=c.Torso ccn(to,"BodyPosition") ccn(to,"BodyGyro") | |
236 | ||
237 | ||
238 | hu=c.Humanoid hu.PlatformStand=false | |
239 | ||
240 | ||
241 | mou=nil | |
242 | ||
243 | ||
244 | Button=false | |
245 | ||
246 | ||
247 | Key=false | |
248 | ||
249 | ||
250 | a={} | |
251 | ||
252 | ||
253 | a.ClickHold=0 | |
254 | ||
255 | ||
256 | a.c=true -- weapon change or act debounce | |
257 | ||
258 | ||
259 | a.a="None" -- current weapon | |
260 | ||
261 | ||
262 | a.b="None" -- weapon act | |
263 | ||
264 | ||
265 | a.s={} | |
266 | ||
267 | ||
268 | a.cr={20,1.5} | |
269 | ||
270 | ||
271 | local did=false | |
272 | ||
273 | ||
274 | --ky=nil for i,v in pairs(game.Lighting[game.Lighting.EngineT.Value]:children()) do if not did then ky={} did=true end | |
275 | ||
276 | ||
277 | ccn(c,"CharacterMesh") | |
278 | ||
279 | ||
280 | a.s.Lanceb=false | |
281 | ||
282 | ||
283 | a.s.Lancet="Really blue" | |
284 | ||
285 | ||
286 | a.s.Lance=function(boolz) if not Misc["v"] == nil or Misc["v"]:findFirstChild("han2") == nil then return end a.s.Lanceb=boolz | |
287 | ||
288 | ||
289 | if not a.s.Lanceb then return end | |
290 | ||
291 | ||
292 | cw(function() repeat w() Misc["v"].han2.Weld.C0=Misc["v"].han2.Weld.C0 *ca(0,rd(15),0) until not a.s.Lanceb end) | |
293 | ||
294 | ||
295 | end | |
296 | ||
297 | ||
298 | Sounds={ | |
299 | ||
300 | ||
301 | Break="3264793"; | |
302 | ||
303 | ||
304 | Berserk="2676305"; | |
305 | ||
306 | ||
307 | Fire1="2760979"; | |
308 | ||
309 | ||
310 | Imbue="2785493"; | |
311 | ||
312 | ||
313 | Ghost="3264923"; | |
314 | ||
315 | ||
316 | Block="rbxasset://sounds\\metal.ogg"; | |
317 | ||
318 | ||
319 | Boom="16976189"; | |
320 | ||
321 | ||
322 | SniperFire="1369158"; | |
323 | ||
324 | ||
325 | ShotgunFire2="1868836"; | |
326 | ||
327 | ||
328 | MinigunFire="2692806"; | |
329 | ||
330 | ||
331 | MinigunCharge="2692844"; | |
332 | ||
333 | ||
334 | MinigunDischarge="1753007"; | |
335 | ||
336 | ||
337 | Flashbang="16976189"; | |
338 | ||
339 | ||
340 | Beep="15666462"; | |
341 | ||
342 | ||
343 | Smash="2801263"; | |
344 | ||
345 | ||
346 | Punch="31173820"; | |
347 | ||
348 | ||
349 | Slash="rbxasset://sounds/swordslash.wav"; | |
350 | ||
351 | ||
352 | Falcon="1387390"; | |
353 | ||
354 | ||
355 | Cast="2101137"; | |
356 | ||
357 | ||
358 | Spin="1369159"; | |
359 | ||
360 | ||
361 | Abscond="2767090"; | |
362 | ||
363 | ||
364 | ElectricalCharge="2800815"; | |
365 | ||
366 | ||
367 | FireExplosion="3264793"; | |
368 | ||
369 | ||
370 | SaberLightUp="10209303"; | |
371 | ||
372 | ||
373 | SaberSlash="10209280"; | |
374 | ||
375 | ||
376 | SaberHit="44463749"; | |
377 | ||
378 | ||
379 | EnergyBlast="10209268"; | |
380 | ||
381 | ||
382 | Lunge="rbxasset://sounds/swordlunge.wav"; | |
383 | ||
384 | ||
385 | Unsheath="rbxasset://sounds/unsheath.wav"; | |
386 | ||
387 | ||
388 | } | |
389 | ||
390 | ||
391 | local SoundTest=Sounds.Spin | |
392 | ||
393 | ||
394 | local hd=he:Clone'' | |
395 | ||
396 | ||
397 | a.Bodyas=0 | |
398 | ||
399 | ||
400 | a.insw={} | |
401 | ||
402 | ||
403 | function cleanweld(wexx,namzi) local tn=ft2(a.insw,wexx) if tn==nil then return end | |
404 | ||
405 | ||
406 | if namzi=="p0" then | |
407 | ||
408 | ||
409 | a.insw[tn][2]["p0x"],a.insw[tn][2]["p0y"],a.insw[tn][2]["p0z"]=0,0,0 elseif namzi=="p1" then | |
410 | ||
411 | ||
412 | a.insw[tn][2]["p1x"],a.insw[tn][2]["p1y"],a.insw[tn][2]["p1z"]=0,0,0 elseif namzi=="a0" then | |
413 | ||
414 | ||
415 | a.insw[tn][2]["a0x"],a.insw[tn][2]["a0y"],a.insw[tn][2]["a0z"]=0,0,0 elseif namzi=="a1" then | |
416 | ||
417 | ||
418 | a.insw[tn][2]["a1x"],a.insw[tn][2]["a1y"],a.insw[tn][2]["a1z"]=0,0,0 | |
419 | ||
420 | ||
421 | end | |
422 | ||
423 | ||
424 | end | |
425 | ||
426 | ||
427 | a.Welding=0 function c1(wexx,smmx,c0orc1,aa,bb,cc,xx,yy,zz) | |
428 | ||
429 | ||
430 | if ft2(a.insw,wexx)==nil then ti(a.insw,{wexx,{}}) local tn=ft2(a.insw,wexx) | |
431 | ||
432 | ||
433 | a.insw[tn][2]["p0x"],a.insw[tn][2]["p0y"],a.insw[tn][2]["p0z"]=wexx.C0.x,wexx.C0.y,wexx.C0.z | |
434 | ||
435 | ||
436 | a.insw[tn][2]["p1x"],a.insw[tn][2]["p1y"],a.insw[tn][2]["p1z"]=wexx.C1.x,wexx.C1.y,wexx.C1.z | |
437 | ||
438 | ||
439 | a.insw[tn][2]["a0x"],a.insw[tn][2]["a0y"],a.insw[tn][2]["a0z"]=wexx.C0:toEulerAnglesXYZ() | |
440 | ||
441 | ||
442 | a.insw[tn][2]["a1x"],a.insw[tn][2]["a1y"],a.insw[tn][2]["a1z"]=wexx.C1:toEulerAnglesXYZ() end local tn=ft2(a.insw,wexx) | |
443 | ||
444 | ||
445 | local xx2,yy2,zz2=0,0,0 local x2,y2,z2=0,0,0 if c0orc1==0 then | |
446 | ||
447 | ||
448 | xx2,yy2,zz2=a.insw[tn][2]["a0x"],a.insw[tn][2]["a0y"],a.insw[tn][2]["a0z"] x2,y2,z2=a.insw[tn][2]["p0x"],a.insw[tn][2]["p0y"],a.insw[tn][2]["p0z"] elseif c0orc1==1 then xx2,yy2,zz2=a.insw[tn][2]["a1x"],a.insw[tn][2]["a1y"],a.insw[tn][2]["a1z"] x2,y2,z2=a.insw[tn][2]["p1x"],a.insw[tn][2]["p1y"],a.insw[tn][2]["p1z"] else xx2,yy2,zz2=a.insw[tn][2]["a1x"],a.insw[tn][2]["a1y"],a.insw[tn][2]["a1z"] | |
449 | ||
450 | ||
451 | x2,y2,z2=a.insw[tn][2]["p0x"],a.insw[tn][2]["p0y"],a.insw[tn][2]["p0z"] end a.Welding=a.Welding + 1 local twa=1 if smmx >= 1 then else | |
452 | ||
453 | ||
454 | for i=smmx,0.8,smmx do twa = 1 if c0orc1==0 then wexx.C0=cf(x2-(((x2-aa)/twa)*i),y2-(((y2-bb)/twa)*i),z2-(((z2-cc)/twa)*i)) *ca(xx2-(((xx2-rd(xx))/twa)*i),yy2-(((yy2-rd(yy))/twa)*i),zz2-(((zz2-rd(zz))/twa)*i)) elseif c0orc1==1 then | |
455 | ||
456 | ||
457 | wexx.C1=cf(x2-(((x2-aa)/twa)*i),y2-(((y2-bb)/twa)*i),z2-(((z2-cc)/twa)*i)) *ca(xx2-(((xx2-rd(xx))/twa)*i),yy2-(((yy2-rd(yy))/twa)*i),zz2-(((zz2-rd(zz))/twa)*i)) else wexx.C0=cf(x2-(((x2-aa)/twa)*i),y2-(((y2-bb)/twa)*i),z2-(((z2-cc)/twa)*i)) | |
458 | ||
459 | ||
460 | wexx.C1=ca(xx2-(((xx2-rd(xx))/twa)*i),yy2-(((yy2-rd(yy))/twa)*i),zz2-(((zz2-rd(zz))/twa)*i))end w() end | |
461 | ||
462 | ||
463 | for i=0.8,1,smmx*0.45 do twa = 1 if c0orc1==0 then wexx.C0=cf(x2-(((x2-aa)/twa)*i),y2-(((y2-bb)/twa)*i),z2-(((z2-cc)/twa)*i)) *ca(xx2-(((xx2-rd(xx))/twa)*i),yy2-(((yy2-rd(yy))/twa)*i),zz2-(((zz2-rd(zz))/twa)*i)) elseif c0orc1==1 then | |
464 | ||
465 | ||
466 | wexx.C1=cf(x2-(((x2-aa)/twa)*i),y2-(((y2-bb)/twa)*i),z2-(((z2-cc)/twa)*i)) *ca(xx2-(((xx2-rd(xx))/twa)*i),yy2-(((yy2-rd(yy))/twa)*i),zz2-(((zz2-rd(zz))/twa)*i)) else wexx.C0=cf(x2-(((x2-aa)/twa)*i),y2-(((y2-bb)/twa)*i),z2-(((z2-cc)/twa)*i)) | |
467 | ||
468 | ||
469 | wexx.C1=ca(xx2-(((xx2-rd(xx))/twa)*i),yy2-(((yy2-rd(yy))/twa)*i),zz2-(((zz2-rd(zz))/twa)*i))end w() end | |
470 | ||
471 | ||
472 | end | |
473 | ||
474 | ||
475 | local i=1 if c0orc1==0 then wexx.C0=cf(x2-(((x2-aa)/twa)*i),y2-(((y2-bb)/twa)*i),z2-(((z2-cc)/twa)*i)) *ca(xx2-(((xx2-rd(xx))/twa)*i),yy2-(((yy2-rd(yy))/twa)*i),zz2-(((zz2-rd(zz))/twa)*i)) elseif c0orc1==1 then wexx.C1=cf(x2-(((x2-aa)/twa)*i),y2-(((y2-bb)/twa)*i),z2-(((z2-cc)/twa)*i)) *ca(xx2-(((xx2-rd(xx))/twa)*i),yy2-(((yy2-rd(yy))/twa)*i),zz2-(((zz2-rd(zz))/twa)*i)) | |
476 | ||
477 | ||
478 | else wexx.C0=cf(x2-(((x2-aa)/twa)*i),y2-(((y2-bb)/twa)*i),z2-(((z2-cc)/twa)*i)) wexx.C1=ca(xx2-(((xx2-rd(xx))/twa)*i),yy2-(((yy2-rd(yy))/twa)*i),zz2-(((zz2-rd(zz))/twa)*i)) end a.Welding=a.Welding - 1 local tn=ft2(a.insw,wexx) | |
479 | ||
480 | ||
481 | if c0orc1==0 then | |
482 | ||
483 | ||
484 | a.insw[tn][2]["p0x"],a.insw[tn][2]["p0y"],a.insw[tn][2]["p0z"]=x2-(((x2-aa)/twa)*i),y2-(((y2-bb)/twa)*i),z2-(((z2-cc)/twa)*i) | |
485 | ||
486 | ||
487 | a.insw[tn][2]["a0x"],a.insw[tn][2]["a0y"],a.insw[tn][2]["a0z"]=xx2-(((xx2-rd(xx))/twa)*i),yy2-(((yy2-rd(yy))/twa)*i),zz2-(((zz2-rd(zz))/twa)*i) | |
488 | ||
489 | ||
490 | elseif c0orc1==1 then | |
491 | ||
492 | ||
493 | a.insw[tn][2]["p1x"],a.insw[tn][2]["p1y"],a.insw[tn][2]["p1z"]=x2-(((x2-aa)/twa)*i),y2-(((y2-bb)/twa)*i),z2-(((z2-cc)/twa)*i) | |
494 | ||
495 | ||
496 | a.insw[tn][2]["a1x"],a.insw[tn][2]["a1y"],a.insw[tn][2]["a1z"]=xx2-(((xx2-rd(xx))/twa)*i),yy2-(((yy2-rd(yy))/twa)*i),zz2-(((zz2-rd(zz))/twa)*i) | |
497 | ||
498 | ||
499 | elseif c0orc1==3 then | |
500 | ||
501 | ||
502 | local x,y,z=wexx.C0.x,wexx.C0.y,wexx.C0.z | |
503 | ||
504 | ||
505 | a.insw[tn][2]["p0x"],a.insw[tn][2]["p0y"],a.insw[tn][2]["p0z"]=x2-(((x2-aa)/twa)*i),y2-(((y2-bb)/twa)*i),z2-(((z2-cc)/twa)*i) | |
506 | ||
507 | ||
508 | local x,y,z=wexx.C1:toEulerAnglesXYZ() | |
509 | ||
510 | ||
511 | a.insw[tn][2]["a1x"],a.insw[tn][2]["a1y"],a.insw[tn][2]["a1z"]=xx2-(((xx2-rd(xx))/twa)*i),yy2-(((yy2-rd(yy))/twa)*i),zz2-(((zz2-rd(zz))/twa)*i) | |
512 | ||
513 | ||
514 | end end | |
515 | ||
516 | ||
517 | to["Left Hip"].Part0=to to["Right Hip"].Part0=to to["Left Shoulder"].Part0=to to["Right Shoulder"].Part0=to | |
518 | ||
519 | ||
520 | if c:findFirstChild("S" .. "uit") then game:service'Debris':AddItem(c["Su" .. "it"],0.035) end | |
521 | ||
522 | ||
523 | m=it("Model",c) m.Name="Suit" | |
524 | ||
525 | ||
526 | re(c,"Block") | |
527 | ||
528 | ||
529 | Block=it("BoolValue",c) Block.Value=false Block.Name="Block" | |
530 | ||
531 | ||
532 | Misc={} | |
533 | ||
534 | ||
535 | Misc["x"]=it("Model",m) | |
536 | ||
537 | ||
538 | invis(c) | |
539 | ||
540 | ||
541 | p={} | |
542 | ||
543 | ||
544 | t = pa(m,"Torso","Block",0,0,0,false,false,0,0,ts(to.BrickColor)) tw = weld(t,to,t,0,0,0,0,0,0) | |
545 | ||
546 | ||
547 | la = pa(m,"Left Arm","Block",0,0,0,false,false,0,0,ts(c["Left Arm"].BrickColor)) law = weld(la,t,la,-1.5,1,0,0,0,0) | |
548 | ||
549 | ||
550 | ra = pa(m,"Right Arm","Block",0,0,0,false,false,0,0,ts(c["Right Arm"].BrickColor)) raw = weld(ra,t,ra,1.5,1,0,0,0,0) | |
551 | ||
552 | ||
553 | ll = pa(m,"Left Leg","Block",0,0,0,false,false,0,0,ts(c["Left Leg"].BrickColor)) llw = weld(ll,t,ll,-0.5,-1,0,0,0,0) | |
554 | ||
555 | ||
556 | rl = pa(m,"Right Leg","Block",0,0,0,false,false,0,0,ts(c["Right Leg"].BrickColor)) rlw = weld(rl,t,rl,0.5,-1,0,0,0,0) | |
557 | ||
558 | ||
559 | hd.Parent=m hd.Transparency=0 hd.face.Face="Front" hw=weld(hd,t,hd,0,1.5,0,0,0,0) he.face.Face="Bottom" | |
560 | ||
561 | ||
562 | local nbb=it("BlockMesh") nbb.Offset=v3(0,-1,0) nbb.Scale=v3(5,10,5) | |
563 | ||
564 | ||
565 | nbb:Clone''.Parent=la nbb:Clone''.Parent=ra nbb:Clone''.Parent=ll nbb:Clone''.Parent=rl | |
566 | ||
567 | ||
568 | nbb:Clone''.Parent=t t.Mesh.Offset=v3(0,0,0) t.Mesh.Scale=Vector3.new(10,10,5) | |
569 | ||
570 | ||
571 | pcall(function() c.Shirt:Remove'' end) pcall(function() c.Pants:Remove'' end) | |
572 | ||
573 | ||
574 | to["Left Hip"].Part0=t to["Right Hip"].Part0=t to["Left Shoulder"].Part0=t to["Right Shoulder"].Part0=t | |
575 | ||
576 | ||
577 | Armb=true Armb2=true | |
578 | ||
579 | ||
580 | Legb=true Legb2=true | |
581 | ||
582 | ||
583 | function Armz(ison) Armb=ison if ison then | |
584 | ||
585 | ||
586 | c["Left Arm"].Transparency=0 c["Right Arm"].Transparency=0 la.Transparency=1 ra.Transparency=1 | |
587 | ||
588 | ||
589 | law.Part0=c["Left Arm"] law.C0=cf(0,1,0) raw.Part0=c["Right Arm"] raw.C0=cf(0,1,0) | |
590 | ||
591 | ||
592 | else | |
593 | ||
594 | ||
595 | c["Left Arm"].Transparency=1 c["Right Arm"].Transparency=1 la.Transparency=0 ra.Transparency=0 | |
596 | ||
597 | ||
598 | law.Part0=t law.C0=cf(-1.5,1,0) raw.Part0=t raw.C0=cf(1.5,1,0) | |
599 | ||
600 | ||
601 | end end | |
602 | ||
603 | ||
604 | function Legz(ison) Legb=ison if ison then | |
605 | ||
606 | ||
607 | c["Left Leg"].Transparency=0 c["Right Leg"].Transparency=0 ll.Transparency=1 rl.Transparency=1 | |
608 | ||
609 | ||
610 | llw.Part0=c["Left Leg"] llw.C0=cf(0,1,0) rlw.Part0=c["Right Leg"] rlw.C0=cf(0,1,0) | |
611 | ||
612 | ||
613 | else | |
614 | ||
615 | ||
616 | c["Left Leg"].Transparency=1 c["Right Leg"].Transparency=1 ll.Transparency=0 rl.Transparency=0 | |
617 | ||
618 | ||
619 | llw.Part0=t llw.C0=cf(-0.5,-1,0) rlw.Part0=t rlw.C0=cf(0.5,-1,0) | |
620 | ||
621 | ||
622 | end end function Headz(ison) if ison then he.Transparency=0 else end end | |
623 | ||
624 | ||
625 | Legz(true) Armz(true) newhats(c,hd,he) | |
626 | ||
627 | ||
628 | hax2sazc = "BUTTSEXSYSTEM" | |
629 | ||
630 | ||
631 | function Sound(sidz,pit,vol,parz) local sid=sidz if sid:sub(1,3) ~= "rbx" then sid = asset .. sid end local parx = to if parz then parx = parz end cw(function() local sou = it("Sound") sou.SoundId = sid sou.Pitch = pit sou.Volume = vol/1.5 sou.Parent = parx game:service'Lighting'[hax2sazc].Value = sou w(5) sou:Remove'' end) end | |
632 | ||
633 | ||
634 | --Sound("kirby8852",1,1,he) | |
635 | ||
636 | ||
637 | Healthz=300 hu.MaxHealth=Healthz hu.Health=Healthz | |
638 | ||
639 | ||
640 | mp=9999999999 maxmp=mp ns=18 | |
641 | ||
642 | ||
643 | function addmp(mpz) mp=mp + mpz if mp > maxmp then mp=maxmp end end | |
644 | ||
645 | ||
646 | function SplashDmg(tehsit,pos,dmgx,mag,forc) cw(function() | |
647 | ||
648 | ||
649 | local function dive(obj) for i,v in pairs(obj:children()) do if i%(#obj:children()/5)==0 then w() end --if i%antisplashdamagesexhack==0 then w() end --i%(#obj:children()/4)==0 then w() end | |
650 | ||
651 | ||
652 | if not v:IsA("Model") and v ~= to and v:IsA("BasePart") and v.Name=="Torso" and getclass(v.Parent,"Humanoid") ~= nil and (v.Position - pos).magnitude < mag then local av=getclass(v.Parent,"Humanoid") Dmgz(true,av,dmgx,v) if tehsit then av.Sit=true end | |
653 | ||
654 | ||
655 | elseif v:IsA("BasePart") and (v.Position-pos).magnitude < mag and not v.Anchored and v:GetMass() < 200 and v.Name ~= "Handle" and findclass(v.Parent,"Humanoid") <1 and findclass(v.Parent.Parent,"Humanoid") <1 and v.Parent.Parent.Name ~= "Suit" then if (v.Position-pos).magnitude < mag/2 then v:BreakJoints() v.CFrame=cf(v.Position,pos)*ca(0,rd(180),0) end v.Velocity=cf(pos,v.Position).lookVector*forc | |
656 | ||
657 | ||
658 | else cw(function() if #v:children() > 0 and not v:IsA("BasePart") and v.className~="Script" and v.className~="Camera" then dive(v) end end) end | |
659 | ||
660 | ||
661 | end end -- func and loop end | |
662 | ||
663 | ||
664 | dive(workspace) end) end | |
665 | ||
666 | ||
667 | function BlastMesh(col2,pos,adjus2,sc) local adjus=adjus2 *cf(0,-0.12*sc,0) local spi=pa(m,"","Block",0,0,0,false,false,1,0,col2) spi.Anchored=true local spim=it("SpecialMesh",spi) spim.MeshType="FileMesh" spim.MeshId=asset .. Decs.Crown spim.Scale=v3(sc*1.4,(sc*0.4),sc*1.4) cw(function() local fu=spim.Scale local spix=0 for i=1,0.4,-0.05 do spix=spix + 15 spi.Transparency=i spim.Scale=v3(((fu.x*i)/2)+(fu.x/2),fu.y,((fu.z*i)/2)+(fu.z/2)) spi.CFrame=pos.CFrame *adjus *ca(0,rd(spix),0) w() end for i=0.4,1,0.05 do spix=spix + 15 spi.Transparency=i spim.Scale=v3(fu.x*i,fu.y,fu.z*i) spi.CFrame=pos.CFrame *adjus *ca(0,rd(spix),0) w() end spi:Remove'' end) end | |
668 | ||
669 | ||
670 | function GlowMesh(anch,meshid2,rootz,mv3,colzz,adjus) | |
671 | ||
672 | ||
673 | local spi=pa(m,"","Block",1,1,1,false,false,0.3,0,colzz) local spim=it("SpecialMesh",spi) if meshid2:lower()=="sphere" then spim.MeshType="Sphere" elseif meshid2:lower()=="block" then spim.MeshType="Brick" else spim.MeshType="FileMesh" spim.MeshId=meshid2 end | |
674 | ||
675 | ||
676 | if anch then local spiw=weld(spi,rootz,spi,0,0,0,0,0,0) spiw.C0 =spiw.C0 *adjus else spi.Anchored=true spi.CFrame=rootz.CFrame *adjus end | |
677 | ||
678 | ||
679 | cw(function() for i=0.3,0.9,0.03 do spi.Transparency=i spim.Scale=mv3*(i+0.1) w() end spi:Remove'' end) | |
680 | ||
681 | ||
682 | end | |
683 | ||
684 | ||
685 | function Explode(onb,scz,colzz,dmge) cw(function() local scale=scz*2 local scale2=scale*0.825 | |
686 | ||
687 | ||
688 | local e1=pa(m,"","Block",0,0,0,false,false,0.3,0,colzz) e1.Anchored=true e1.CFrame=onb*ca(rd(-90),0,0) local e1m=it("SpecialMesh",e1) e1m.MeshType="FileMesh" e1m.MeshId=asset .. Decs.Ring | |
689 | ||
690 | ||
691 | local e2=pa(m,"","Block",0,0,0,false,false,0.3,0,colzz) e2.Anchored=true e2.CFrame=onb*ca(0,0,0) local e2m=it("SpecialMesh",e2) e2m.MeshType="FileMesh" e2m.MeshId=asset .. Decs.Ring | |
692 | ||
693 | ||
694 | local e3=pa(m,"","Block",0,0,0,false,false,0.3,0,colzz) e3.Anchored=true e3.CFrame=onb*ca(0,0,0) local e3m=it("SpecialMesh",e3) e3m.MeshType="FileMesh" e3m.MeshId=asset .. Decs.Crown | |
695 | ||
696 | ||
697 | SplashDmg(false,onb.p,dmge,scale/1.6,125) cw(function() for i=0.4,1,0.04 do w() end fade(e1,0.1) fade(e2,0.1) fade(e3,0.1) end) for i=0.3,1,0.035 do | |
698 | ||
699 | ||
700 | e3m.Scale=v3((scale2/1.3)*i,(scale2/2)*i,(scale2/1.3)*i) e2m.Scale=v3((scale2*1.3)*i,(scale2*1.3)*i,(scale2*1.3)*i) e1m.Scale=v3((scale2*1.3)*i,(scale2*1.3)*i,(scale2*1.3)*i) e1.CFrame=onb*ca(rd(-90),rd(360),0) e2.CFrame=onb*ca(0,rd(360),0) e3.CFrame=onb*ca(rd(180),rd(360),0) w() | |
701 | ||
702 | ||
703 | end | |
704 | ||
705 | ||
706 | end) end | |
707 | ||
708 | ||
709 | function FacePos(ob,pos,pos2,adj3,adj2,adj,forsec) local bg=it("BodyGyro",ob) bg.maxTorque=adj2 bg.D=adj3 bg.cframe=cf(pos,pos2) *adj game:service'Debris':AddItem(bg,forsec) end | |
710 | ||
711 | ||
712 | function splat2(pos,dmge) | |
713 | ||
714 | ||
715 | local dbr=it("Model",workspace) local colz2="Bright red" if ts(dmge)=="Block!" then colz2="Bright blue" end | |
716 | ||
717 | ||
718 | dbr.Name=ts(dmge) local dbri=pa(dbr,"Head","Block",1,0,1,false,false,0,0,colz2) it("Humanoid",dbr).MaxHealth=0 | |
719 | ||
720 | ||
721 | dbri.Anchored=true dbri.CFrame=cf(pos + v3(rn(-15,15)/10,3,rn(-15,15)/10)) game:service'Debris':AddItem(dbr,0.5) end | |
722 | ||
723 | ||
724 | local DBDH={} | |
725 | ||
726 | ||
727 | function Dmgz(blockz,aihu,dmgzz2,pos) if ft(DBDH,aihu.Parent) then return end if aihu.Health==0 then return end if aihu.Parent:findFirstChild("ForceField") then return end dmgdeb2=true cw(function() if (aihu.Parent:findFirstChild("Block") and aihu.Parent.Block:IsA("BoolValue") and aihu.Parent.Block.Value and not blockz) or pos.Name:lower()=="shield" then splat2(pos.Position,"Bl" .. "ock!") w(0.2) Sound(Sounds.Block,1.4,3) return end | |
728 | ||
729 | ||
730 | local dmgzz=dmgzz2 if game:service'Players':findFirstChild(aihu.Parent.Name) == nil then dmgzz=dmgzz*1.5 end ti(DBDH,aihu.Parent) addmp(dmgzz/2.5) if rn(1,a.cr[1]) == 1 then aihu:TakeDamage(dmgzz*a.cr[2]) dmgzz="Crit! " ..ts(dmgzz*a.cr[2]) else aihu:TakeDamage(dmgzz) end if not pos then return end splat2(pos.Position,dmgzz) cw(function() w(0.08) tr(DBDH,ft(DBDH,aihu.Parent)) end) | |
731 | ||
732 | ||
733 | end) end | |
734 | ||
735 | ||
736 | function rayHit(wai,lolk,weplol,adjus,magz,mind,maxd,gain) local DebounceTable2={} cw(function() | |
737 | ||
738 | ||
739 | local hitx=0 local tymzup=false cw(function() w(wai) tymzup=true end) | |
740 | ||
741 | ||
742 | repeat w() local tries=0 local bhit,bpos=nil,v3(999,999,999) | |
743 | ||
744 | ||
745 | repeat tries=tries + 1 local xx=0 local yy=0 if tries==1 then xx=1 elseif tries==2 then xx=-1 elseif tries == 3 then yy=1 elseif tries == 4 then yy=-1 elseif tries == 5 then xx=-1 yy=-1 elseif tries == 6 then xx,yy=1,1 elseif tries == 7 then xx,yy=-1,1 elseif tries == 8 then xx,yy=1,-1 end | |
746 | ||
747 | ||
748 | bhit,bpos=ray((weplol.CFrame *adjus *cf(xx,yy,-0.8)).p,weplol.Position - (weplol.CFrame *adjus *cf(0,0,2)).p) | |
749 | ||
750 | ||
751 | if bhit ~= nil and (bpos - weplol.Position).magnitude < magz+0.8 then break end until tries > 8 | |
752 | ||
753 | ||
754 | if bhit==nil or (bpos - weplol.Position).magnitude > magz+0.8 then else local brea=false | |
755 | ||
756 | ||
757 | for i,v in pairs(bhit.Parent:children()) do local dmge=rn(mind,maxd) | |
758 | ||
759 | ||
760 | if v:IsA("Humanoid") and not DebounceTable2[v.Parent.Name] then DebounceTable2[v.Parent.Name]=true Dmgz(false,v,dmge,bhit) Sound(Sounds.Smash,0.9,1) hitx=hitx+1 brea=true break end end | |
761 | ||
762 | ||
763 | if bhit.Parent ~= workspace and not brea then for i,v in pairs(bhit.Parent.Parent:children()) do local dmge=rn(mind,maxd) | |
764 | ||
765 | ||
766 | if v.Parent:findFirstChild("Humanoid") and not DebounceTable2[v.Parent.Parent.Name] then DebounceTable2[v.Parent.Parent.Name]=true Dmgz(false,v.Parent.Humanoid,dmge,bhit) Sound(Sounds.Smash,0.9,1) hitx=hitx+1 break end end | |
767 | ||
768 | ||
769 | end | |
770 | ||
771 | ||
772 | end until hitx >= lolk or tymzup end) end | |
773 | ||
774 | ||
775 | function rayHit2(weplol,adjus,magz) | |
776 | ||
777 | ||
778 | local tries=0 local bhit,bpos=nil,v3(999,999,999) | |
779 | ||
780 | ||
781 | repeat tries=tries + 1 local xx=0 local yy=0 if tries==1 then xx=1 elseif tries==2 then xx=-1 elseif tries == 3 then yy=1 elseif tries == 4 then yy=-1 elseif tries == 5 then xx=-1 yy=-1 elseif tries == 6 then xx,yy=1,1 elseif tries == 7 then xx,yy=-1,1 elseif tries == 8 then xx,yy=1,-1 end | |
782 | ||
783 | ||
784 | bhit,bpos=ray((weplol.CFrame *adjus *cf(xx,yy,-0.8)).p,weplol.Position - (weplol.CFrame *adjus *cf(0,0,2)).p) | |
785 | ||
786 | ||
787 | if bhit ~= nil and (bpos - weplol.Position).magnitude < magz+0.8 then break end until tries > 8 | |
788 | ||
789 | ||
790 | if bhit==nil or (bpos - weplol.Position).magnitude > magz+0.8 then else | |
791 | ||
792 | ||
793 | for i,v in pairs(bhit.Parent:children()) do | |
794 | ||
795 | ||
796 | if v:IsA("Humanoid") then return bhit,v end end | |
797 | ||
798 | ||
799 | if bhit.Parent ~= workspace and not brea then for i,v in pairs(bhit.Parent.Parent:children()) do | |
800 | ||
801 | ||
802 | if v.Parent:findFirstChild("Humanoid") then return bhit,v.Parent.Humanoid end end | |
803 | ||
804 | ||
805 | end end | |
806 | ||
807 | ||
808 | end | |
809 | ||
810 | ||
811 | function SummonProjectile(obj,spp,sc,meshidz,dmge,colzz,scalz) cw(function() | |
812 | ||
813 | ||
814 | local sum=pa(m,"","Block",4*sc,0,4*sc,false,false,1,0,"") sum.Anchored = true local sumd = it("Decal",sum) sumd.Face = "Top" sumd.Texture = asset .. Decs.EF1 sum.CFrame = obj.CFrame*spp | |
815 | ||
816 | ||
817 | local pro=pa(m,"","Block",2*sc,5,2*sc,true,false,0.05,0.3,colzz) pro.Anchored = true local prom = it("SpecialMesh",pro) prom.MeshType = "FileMesh" prom.Scale = scalz*sc prom.MeshId = meshidz | |
818 | ||
819 | ||
820 | pro.CFrame = sum.CFrame*cf(0,-4*sc,0.5*sc)*ca(rd(-10),0,0) it("Fire",pro) pro.Fire.Heat = 25 pro.Fire.Size = 7 pro.Fire.SecondaryColor = bc("White").Color pro.Fire.Color = bc("Really blue").Color | |
821 | ||
822 | ||
823 | sum.CFrame = sum.CFrame*cf(0,-0.5*sc,0) local tro = false cw(function() repeat sum.CFrame = sum.CFrame*ca(0,rd(15),0) w() until tro end) | |
824 | ||
825 | ||
826 | local pcf = pro.CFrame local scf = sum.CFrame for i=0,1,0.1 do pro.CFrame = pcf*cf(0,(6.5*sc)*i,0) sum.CFrame = scf*cf(0,(0.25*sc)*i,0)*ca(0,rd(360*i),0) w() end | |
827 | ||
828 | ||
829 | SplashDmg(false,sum.Position,dmge,6*sc,50) w(1.2) for i=1,0,-0.1 do pro.CFrame = pcf*cf(0,(6.5*sc)*i,0) sum.CFrame = scf*cf(0,(0.25*sc)*i,0) w() end tro = true sum:Remove'' pro:Remove'' | |
830 | ||
831 | ||
832 | end) end | |
833 | ||
834 | ||
835 | function DmgHit(tym,weplol,mind,maxd,gain) cw(function() local iztym=false weplol.Touched:connect(function(hit)if hit.Parent:findFirstChild("Humanoid")==nil or iztym then return end | |
836 | ||
837 | ||
838 | local aihu=hit.Parent.Humanoid local dmge=rn(mind,maxd) Dmgz(false,aihu,dmge,hit) Sound(Sounds.Smash,1,1) end) end) end | |
839 | ||
840 | ||
841 | function RaiseBubble(poscf,sc,hax2,colzz) cw(function() | |
842 | ||
843 | ||
844 | local dis=pa(m,"","Block",0,0,0,false,false,0.4,0,colzz) dis.Anchored=true local dism=it("SpecialMesh",dis) dism.MeshType="Sphere" | |
845 | ||
846 | ||
847 | dism.Scale=v3(0.8*sc,1.3*sc,0.8*sc) dism.Scale=dism.Scale*5 local dsm=dism.Scale dis.CFrame=poscf *cf(rn(-hax2*sc,hax2*sc)/10,-1.5*sc,rn(-80*sc,80*sc)/10) | |
848 | ||
849 | ||
850 | for i=0.4,1,0.05 do dis.CFrame=dis.CFrame *cf(0,1*sc,0) dis.Transparency=i-0.15 dism.Scale=v3(dsm.x-((dsm.x/2)*i),dsm.y,dsm.x-((dsm.x/2)*i)) w() end dis:Remove'' | |
851 | ||
852 | ||
853 | end) end | |
854 | ||
855 | ||
856 | function FireDisc(colz,sc,mind,maxd,spawnpos) cw(function() | |
857 | ||
858 | ||
859 | local dis=pa(m,"","Block",sc,0,sc,false,false,1,0,colz) local dis2=pa(m,"","Block",sc,0,sc,false,false,0.5,0.1,colz) | |
860 | ||
861 | ||
862 | dis.Anchored=true dis2.Anchored=true local dism=it("CylinderMesh",dis2) | |
863 | ||
864 | ||
865 | dis.CFrame=spawnpos dis2.CFrame=dis.CFrame*ca(0,0,rd(90)) | |
866 | ||
867 | ||
868 | local spi=dis | |
869 | ||
870 | ||
871 | local bullethit=false | |
872 | ||
873 | ||
874 | local tyms=0 | |
875 | ||
876 | ||
877 | local minusz=-0.0001 | |
878 | ||
879 | ||
880 | local spid=0.25 | |
881 | ||
882 | ||
883 | local divzz=14 | |
884 | ||
885 | ||
886 | local tehpos=v3(0,0,0) Sound(Sounds.Spin,1.3,1) | |
887 | ||
888 | ||
889 | repeat | |
890 | ||
891 | ||
892 | tyms=tyms + 2 minusz=(-90/80/divzz)*tyms | |
893 | ||
894 | ||
895 | local bhit,bpos=ray(spi.Position,spi.Position - (spi.CFrame *cf(0,0,2)).p) tehpos=bpos | |
896 | ||
897 | ||
898 | if bpos ~= nil and (bpos - (spi.CFrame *cf(0,1,0)).p).magnitude < 30 then bullethit=bhit else spi.CFrame=spi.CFrame *cf(0,0,-5) *ca(rd(minusz),0,0) end | |
899 | ||
900 | ||
901 | if rn(1,6)==1 then Sound(Sounds.Spin,1.3,1) end dis2.CFrame=spi.CFrame*ca(rd(rn(-16,16)),rd(rn(-16,16)),rd(90+rn(-16,16))) w() until bullethit or spi.Position.y < -300 or tyms > 120 | |
902 | ||
903 | ||
904 | dis:Remove'' dis2:Remove'' local xx,yy,zz=dis.CFrame:toEulerAnglesXYZ() | |
905 | ||
906 | ||
907 | if bullethit then local sc2=sc/5 | |
908 | ||
909 | ||
910 | local spi2=pa(m,"","Block",0.3*sc2,6*sc2,0.3*sc2,true,false,0,0,"Dark green") spi2.Anchored=true local spim=it("SpecialMesh",spi2) spim.MeshType="FileMesh" spim.MeshId=asset .. Decs.Spike spim.Scale=v3(0.2*sc2,6*sc2,0.2*sc2) | |
911 | ||
912 | ||
913 | spi2.CFrame=cf(tehpos) *ca(xx,yy,zz) *cf(0,0,1.5*sc2) *ca(rd(-90),0,0) game:service'Debris':AddItem(spi2,10) | |
914 | ||
915 | ||
916 | spi.Velocity=v3(0,0,0) local xx,yy,zz=spi.CFrame:toEulerAnglesXYZ() spi.CFrame=cf(tehpos) *ca(xx,yy,zz) *cf(0,-spi.Size.y/9,0) | |
917 | ||
918 | ||
919 | if bullethit.Anchored then Sound(Sounds.Smash,0.6,1) else | |
920 | ||
921 | ||
922 | if bullethit.Parent:findFirstChild("Humanoid") then spi.CanCollide=false | |
923 | ||
924 | ||
925 | spi2.CanCollide=false spi2.Anchored=false stick(spi2,bullethit) local aihu=bullethit.Parent.Humanoid Sound(Sounds.Smash,1.35,1) Dmgz(false,aihu,rn(mind,maxd),bullethit) | |
926 | ||
927 | ||
928 | elseif bullethit.Parent.Parent:findFirstChild("Humanoid") then spi.CanCollide=false | |
929 | ||
930 | ||
931 | spi2.CanCollide=false spi2.Anchored=false stick(spi2,bullethit) local aihu=bullethit.Parent.Parent.Humanoid Sound(Sounds.Smash,1.35,1) Dmgz(false,aihu,rn(mind,maxd),bullethit) | |
932 | ||
933 | ||
934 | elseif bullethit:GetMass() < 500 and bullethit.Parent:findFirstChild("Humanoid")==nil and bullethit.Parent.Parent:findFirstChild("Humanoid")==nil then | |
935 | ||
936 | ||
937 | spi2.CanCollide=false spi2.Anchored=false stick(spi2,bullethit) Sound(Sounds.Smash,0.6,1) if bullethit.Parrent.Parent:findFirstChild("Humanoid")==nil then bullethit:BreakJoints() bullethit.Velocity=spi.CFrame.lookVector*80 end | |
938 | ||
939 | ||
940 | end | |
941 | ||
942 | ||
943 | end | |
944 | ||
945 | ||
946 | end | |
947 | ||
948 | ||
949 | end) end | |
950 | ||
951 | ||
952 | function ThrowLance(mo) local paws=mou.Hit.p mo.shield:Remove'' mo.han.Weld:Remove'' cw(function() mo.Parent=m local fiar=it("Fire",mo.spike) fiar.Color=bc("Navy blue").Color fiar.SecondaryColor=bc("Navy blue").Color fiar.Heat=-25 fiar.Size=20 | |
953 | ||
954 | ||
955 | local tip=mo.spiketip local root=mo.han Trail2(9999,root,0.2,"",2,cf(0,-1,0)) local rps=it("BodyPosition",root) rps.position=(cf(root.Position,mou.Hit.p)*cf(0,0,10)).p rps.maxForce=v310 local rbg=it("BodyGyro",root) rbg.cframe=cf(root.Position,mou.Hit.p)*ca(rd(90),0,0) rbg.D=15 rbg.maxTorque=v310 | |
956 | ||
957 | ||
958 | local bhit=nil local bpos=v3(0,0,0) local tyms=0 local hitted=false tip.Touched:connect(function() tip.Anchored=true hitted=true end) | |
959 | ||
960 | ||
961 | repeat tyms=tyms + 1 | |
962 | ||
963 | ||
964 | bhit,bpos=ray(tip.Position,tip.Position - (tip.CFrame *cf(0,2,0)).p) | |
965 | ||
966 | ||
967 | if bhit ~= nil and (bpos - tip.Position).magnitude < 8 then hitted=true break else | |
968 | ||
969 | ||
970 | rps.position=(root.CFrame*cf(0,-30,0)).p rbg.cframe=cf(root.Position,paws)*ca(rd(90-(0.2*tyms)),0,0) | |
971 | ||
972 | ||
973 | end | |
974 | ||
975 | ||
976 | w() until hitted or tyms > 120 root.Anchored=true rtab(sTrail,root) | |
977 | ||
978 | ||
979 | Explode(tip.CFrame,9,raigcol2,40) SpawnKillZone(tip.CFrame,rn(12,18)/10,10,"Really black") | |
980 | ||
981 | ||
982 | w(2) for i=0,1,0.02 do for ii,v in pairs(mo:children()) do v.Transparency=i end w() end mo:Remove'' | |
983 | ||
984 | ||
985 | end) end | |
986 | ||
987 | ||
988 | function SpawnKillZone(spawnpos,sc,dur,colzz) cw(function() Sound(Sounds.Smash,0.4,1) | |
989 | ||
990 | ||
991 | local spi=pa(m,"oo","Block",1*sc,8*sc,1*sc,true,false,0,0,"Black") spi.Anchored=true local spim= it("SpecialMesh",spi) spim.MeshType="FileMesh" spim.MeshId=asset .. Decs.Spike spim.Scale=v3(0.7*sc,9*sc,0.7*sc) | |
992 | ||
993 | ||
994 | local spi2=pa(m,"oo","Block",0,0,0,false,false,0,0,"White") spi2.Anchored=true local spi2m= it("SpecialMesh",spi2) spi2m.MeshType="FileMesh" spi2m.TextureId=asset .. Decs.TSkull1 spi2m.MeshId=asset .. Decs.Skull1 spi2m.Scale=v3(1*sc,1*sc,1*sc) | |
995 | ||
996 | ||
997 | for i=-13,2,1 do spi.CFrame=spawnpos *cf(0,i*sc,0) spi2.CFrame=spi.CFrame*cf(0,2.3*sc,0) w() end Sound(Sounds.Ghost,1.05,1) local kil=true | |
998 | ||
999 | ||
1000 | cw(function() repeat GlowMesh(false,"Sphere",spi,v3(18*sc,0.2*sc,18*sc),colzz,cf(0,-2.6*sc,0)) | |
1001 | ||
1002 | ||
1003 | w(0.5) SplashDmg(false,spi.Position,7,8.5*sc,30) GlowMesh(false,"Sphere",spi,v3(18*sc,0.2*sc,18*sc),colzz,cf(0,-2.6*sc,0)) w(0.5) | |
1004 | ||
1005 | ||
1006 | until not kil end) | |
1007 | ||
1008 | ||
1009 | w(dur) kil=false | |
1010 | ||
1011 | ||
1012 | for i=2,-13,-0.25 do spi.CFrame=spawnpos *cf(0,i*sc,0) spi2.CFrame=spi.CFrame*cf(0,2.3*sc,0) w() end spi:Remove'' spi2:Remove'' | |
1013 | ||
1014 | ||
1015 | end) end | |
1016 | ||
1017 | ||
1018 | function SpawnSpikeTurret(spawnpos,sc,dur,tmag,mulz) | |
1019 | ||
1020 | ||
1021 | local colzz="Dark green" if mulz < 0 then colzz="White" end | |
1022 | ||
1023 | ||
1024 | cw(function() Sound(Sounds.Smash,0.255,1) | |
1025 | ||
1026 | ||
1027 | local stem=pa(m,"oo","Block",2.5*sc,5*sc,2.5*sc,true,false,0,0,"Earth green") stem.Anchored=true it("CylinderMesh",stem) | |
1028 | ||
1029 | ||
1030 | stem.CFrame=spawnpos *cf(0,-10*sc,0) | |
1031 | ||
1032 | ||
1033 | local bal=pa(m,"oo","Ball",3.5*sc,3.5*sc,3.5*sc,true,false,0,0,"Earth green") bal.Anchored=true | |
1034 | ||
1035 | ||
1036 | local pcf=cf(0,((5/2)+(3.5/3))*sc,0) bal.CFrame=stem.CFrame *pcf | |
1037 | ||
1038 | ||
1039 | for i=-11,0,0.5 do w() | |
1040 | ||
1041 | ||
1042 | stem.CFrame=stem.CFrame *cf(0,0.5*sc,0) bal.CFrame=stem.CFrame *pcf | |
1043 | ||
1044 | ||
1045 | end | |
1046 | ||
1047 | ||
1048 | local spis={} local Visib=true if mulz > 0 then SplashDmg(false,bal.Position,12,6*sc,70) end | |
1049 | ||
1050 | ||
1051 | for i=1,rn(35,45) do | |
1052 | ||
1053 | ||
1054 | local spi=pa(m,"oo","Block",0.3*sc,3*sc,0.3*sc,true,false,0,0,colzz) spi.Anchored=true local spim= it("SpecialMesh",spi) spim.MeshType="FileMesh" spim.MeshId=asset .. Decs.Spike | |
1055 | ||
1056 | ||
1057 | spi.CFrame=bal.CFrame *ca(rn(-360,360),rn(-360,360),rn(-360,360)) spim.Scale=v3(0.5*sc,5*sc,0.5*sc) | |
1058 | ||
1059 | ||
1060 | ti(spis,spi) cw(function() for i=1,12 do spi.CFrame=spi.CFrame *cf(0,0.25*sc,0) w() end end) | |
1061 | ||
1062 | ||
1063 | end spis[#spis].Mesh:Remove'' it("CylinderMesh",spis[#spis]).Scale=v3(4,1.3,4) spis[#spis].BrickColor=bc("Earth green") | |
1064 | ||
1065 | ||
1066 | cw(function() | |
1067 | ||
1068 | ||
1069 | repeat w(2) local torses= {} | |
1070 | ||
1071 | ||
1072 | for i,v in pairs(Serv.kirby8852:children()) do if not hittedlol and (v.Character ~= c or mulz < 0) and v.Character ~= nil and v.Character:findFirstChild("Torso") and (v.Character.Torso.Position - bal.Position).magnitude < tmag then | |
1073 | ||
1074 | ||
1075 | ti(torses,v.Character.Torso) end end | |
1076 | ||
1077 | ||
1078 | if #torses > 0 then local lolcf=cf(bal.Position,torses[rn(1,#torses)].Position+v3(rn(-110,110)/100,rn(-110,150)/100,rn(-110,110)/100)) *cf(0,0,-6*sc) | |
1079 | ||
1080 | ||
1081 | spis[#spis].CFrame=lolcf*cf(0,0,3.5*sc) *ca(rd(90),0,0) ShootSpike(15,c,colzz,mulz,sc*2,lolcf,false,3,nil) end | |
1082 | ||
1083 | ||
1084 | until not Visib end) | |
1085 | ||
1086 | ||
1087 | w(dur) Visib=false for x=1,#spis do local spi=spis[x] if rn(1,3)==3 then ShootSpike(15,c,colzz,mulz,sc*2,cf(spi.Position,(spi.CFrame *cf(0,0,-1)).p)*cf(0,0,-8),false,3,nil) end spis[x]:Remove'' end | |
1088 | ||
1089 | ||
1090 | for i=-11,0,0.5 do w() | |
1091 | ||
1092 | ||
1093 | stem.CFrame=stem.CFrame *cf(0,-0.5*sc,0) | |
1094 | ||
1095 | ||
1096 | bal.CFrame=stem.CFrame *pcf | |
1097 | ||
1098 | ||
1099 | end bal:Remove'' stem:Remove'' | |
1100 | ||
1101 | ||
1102 | end) | |
1103 | ||
1104 | ||
1105 | end | |
1106 | ||
1107 | ||
1108 | function CreateLance() a.s.Lancet="Black" local colx={"Dark stone grey","Really black","Dark stone grey"} local ref=0.15 | |
1109 | ||
1110 | ||
1111 | local han=pa(Misc["v"],"han","Block",0.75,1.75,0.75,false,false,0,0,colx[3]) it("CylinderMesh",han) local hanw=weld(han,ra,han,0,-2.25,0,rd(90),0,0) hanw.C1=cf(0,0.8,0) | |
1112 | ||
1113 | ||
1114 | Sound(Sounds.Unsheath,1.2,1) for i=0,1,0.1 do han.Mesh.Scale=v3(1,1.5*i,1) w() end | |
1115 | ||
1116 | ||
1117 | local han2=pa(Misc["v"],"han2","Block",1,1,1,false,false,0,ref,colx[1]) it("CylinderMesh",han2) local han2w=weld(han2,han,han2,0,-1.25,0,0,0,0) | |
1118 | ||
1119 | ||
1120 | Sound(Sounds.Unsheath,1.2,1) for i=0,1,0.1 do han2.Mesh.Scale=v3(3*i,1*i,3*i) w() end | |
1121 | ||
1122 | ||
1123 | cw(function() for xi=0,360,360/8 do local han3=pa(Misc["v"],"spiek","Block",0,0,0,false,false,0,ref,colx[2]) local han3w=weld(han3,han2,han3,0,0,0,rd(90),0,rd(xi)) han3w.C0=han3w.C0 *ca(rd(-18),0,0) local han3m=it("SpecialMesh",han3) han3m.MeshType="FileMesh" han3m.MeshId=asset .. Decs.Spike Sound(Sounds.Unsheath,1.2,1) cw(function() for i=0,1,0.1 do han3w.C1=cf(0,-2*i,-0.4) han3.Mesh.Scale=v3(0.25*i,2*i,0.25*i)w() end end) w() end end) | |
1124 | ||
1125 | ||
1126 | cw(function() for xi=0,360,120 do local han3=pa(Misc["v"],"spiek","Block",0,0,0,false,false,0,ref,colx[2]) local han3w=weld(han3,han2,han3,0,0,0,rd(90),0,rd(xi)) han3w.C0=han3w.C0 *ca(rd(-80),0,0) local han3m=it("SpecialMesh",han3) han3m.MeshType="FileMesh" han3m.MeshId=asset .. Decs.Spike Sound(Sounds.Unsheath,1.2,1) cw(function() for i=0,1,0.1 do han3w.C1=cf(0,-1*i,-1*i) han3.Mesh.Scale=v3(0.2*i,1.5*i,0.2*i)w() end end) w() end end) | |
1127 | ||
1128 | ||
1129 | w(0.3) local han3=pa(Misc["v"],"spike","Block",0,0,0,false,false,0,ref,colx[1]) local han3w=weld(han3,han2,han3,0,0,0,rd(180),0,0) local han3m=it("SpecialMesh",han3) han3m.MeshType="FileMesh" han3m.MeshId=asset .. Decs.Spike Sound(Sounds.Unsheath,1.2,1) cw(function() for i=0,1,0.1 do han3w.C1=cf(0,-5.2*i,0) han3.Mesh.Scale=v3(1.5*i,5+(7.5*i),1.5*i) w() end end) | |
1130 | ||
1131 | ||
1132 | cw(function() w(0.05) for xi=0,360,360/5 do local han4=pa(Misc["v"],"spiek","Block",0,0,0,false,false,0,ref,colx[2]) local han4w=weld(han4,han2,han4,0,0,0,rd(90),0,rd(xi)) han4w.C0=han4w.C0 *ca(rd(-25),0,0) local han4m=it("SpecialMesh",han4) han4m.MeshType="FileMesh" han4m.MeshId=asset .. Decs.Spike Sound(Sounds.Unsheath,1.2,1) cw(function() for i=0,1,0.1 do han4w.C1=cf(0,1+(-0.6*i),-4) han4.Mesh.Scale=v3(0.25*i,2*i,0.25*i) w() end end) w() end end) | |
1133 | ||
1134 | ||
1135 | local han4=pa(Misc["v"],"spiketip","Block",0,0,0,false,false,0,ref,colx[1]) local han4w=weld(han4,han3,han4,0,0,0,0,0,0) local han4m=it("SpecialMesh",han4) han4m.MeshType="FileMesh" han4m.MeshId=asset .. Decs.Spike Sound(Sounds.Unsheath,1.2,1) for i=0,1,0.1 do han4w.C1=cf(0,-4*i,0) han4.Mesh.Scale=v3(0.6*i,3*i,0.6*i) w() end | |
1136 | ||
1137 | ||
1138 | cw(function() w(0.2) for xi=0,360,120 do local han8=pa(Misc["v"],"spiek","Block",0,0,0,false,false,0,ref,colx[2]) local han8w=weld(han8,han4,han8,0,1,0,rd(90),0,rd(xi)) han8w.C0=han8w.C0 *ca(rd(-60),0,0) local han8m=it("SpecialMesh",han8) han8m.MeshType="FileMesh" han8m.MeshId=asset .. Decs.Spike Sound(Sounds.Unsheath,1.2,1) cw(function() for i=0,1,0.1 do han8w.C1=cf(0,1+(-0.6*i),-0.7) han8.Mesh.Scale=v3(0.12*i,0.75*i,0.12*i) w() end end) w() end end) | |
1139 | ||
1140 | ||
1141 | w(0.25) Sound(Sounds.Slash,0.35,1) cw(function() c1(hanw,0.1,1,0,0.8,0,0,0,-65) c1(hanw,0.05,1,0,0.8,0,180,0,45) end) cw(function() c1(law,0.05,3,-1.3,1,-0.2,-30,0,18) end) cw(function() c1(raw,0.05,3,1,0.5,0,0,0,-90) c1(raw,0.05,3,0.7,0.8,0,45,0,-150) end) | |
1142 | ||
1143 | ||
1144 | local han5=pa(Misc["v"],"shield","Block",0,0,0,false,false,0,0.2,colx[3]) it("BlockMesh",han5) local han5w=weld(han5,la,han5,-0.6,-(2.5/2),0,rd(55),rd(0),rd(90)) Sound(Sounds.Unsheath,1.2,1) for i=0,1,0.1 do han5.Mesh.Scale=v3(3*i,0.25*i,2.5*i)*5 w() end | |
1145 | ||
1146 | ||
1147 | end | |
1148 | ||
1149 | ||
1150 | function ShootLanceBullet(spawnpos,sc,dmge) cw(function() Sound(Sounds.Fire1,0.5,1) local roflz=false for xx=1,3 do cw(function() | |
1151 | ||
1152 | ||
1153 | local proj=pa(m,"Bullet","Block",0.8*sc,1.1*sc,0.8*sc,true,false,0,0,"Black") it("CylinderMesh",proj) proj.Anchored=true | |
1154 | ||
1155 | ||
1156 | if xx == 1 then proj.CFrame=cf(spawnpos.Position,mou.hit.p) *cf(0,0.45,0.5)*ca(rd(90),0,0) | |
1157 | ||
1158 | ||
1159 | elseif xx == 2 then proj.CFrame=cf(spawnpos.Position,mou.hit.p) *cf(-0.5,-0.45,0.5)*ca(rd(90),0,0) | |
1160 | ||
1161 | ||
1162 | elseif xx == 3 then proj.CFrame=cf(spawnpos.Position,mou.hit.p) *cf(0.5,-0.45,0.5)*ca(rd(90),0,0) | |
1163 | ||
1164 | ||
1165 | end local tyms=0 local bhit,bpos=nil,nil | |
1166 | ||
1167 | ||
1168 | repeat tyms=tyms + 1 | |
1169 | ||
1170 | ||
1171 | bhit,bpos=ray(proj.Position,proj.Position - (proj.CFrame *cf(0,1,0)).p) | |
1172 | ||
1173 | ||
1174 | if bhit and (proj.Position - bpos).magnitude < 6 then roflz=true break else proj.CFrame=proj.CFrame*cf(0,-6,0)*ca(rd(-0.09),0,0) end | |
1175 | ||
1176 | ||
1177 | w() until tyms > 80 or roflz local z08 = 60 | |
1178 | ||
1179 | ||
1180 | if xx == 1 then Sound(Sounds.Break,2.6,1.4) Explode(proj.CFrame*ca(rd(180),0,0),12,raigcol2,dmge) local smokshiz =pa(m,"","Block",0,0,0,false,false,1,0,"Black") | |
1181 | ||
1182 | ||
1183 | smokshiz.CFrame = proj.CFrame it("Smoke",smokshiz) smokshiz.Smoke.Size = 30*sc smokshiz.Smoke.Opacity = 0.4 smokshiz.Smoke.Color = bc("Black").Color game:service'Debris':AddItem(smokshiz,8) end GlowMesh(false,"Sphere",proj,v3(20,20,20),RandomExplosionColor(),cf(rn(-z08*sc,z08*sc)/10,rn(-z08*sc,z08*sc)/10,rn(-z08,z08*sc)/10)) w(3) fade(proj,0.1) | |
1184 | ||
1185 | ||
1186 | end) end end) end | |
1187 | ||
1188 | ||
1189 | function ShootProjectile(clonz,faic,adjs,dmge,sped,maxm) cw(function() | |
1190 | ||
1191 | ||
1192 | local rt=pa(m,"","Block",0,0,0,false,false,1,0,"") rt.Anchored=true | |
1193 | ||
1194 | ||
1195 | rt.CFrame = faic local rtc = clonz:Clone'' rtc.Parent = m rtc.Anchored = true | |
1196 | ||
1197 | ||
1198 | local tyms=0 local bhit,bpos=nil,nil | |
1199 | ||
1200 | ||
1201 | repeat tyms=tyms + 1 | |
1202 | ||
1203 | ||
1204 | bhit,bpos=ray(rt.Position,rt.Position - (rt.CFrame *cf(0,0,2)).p) | |
1205 | ||
1206 | ||
1207 | if bhit and (rt.Position - bpos).magnitude < sped+1 then break else rt.CFrame=rt.CFrame*cf(0,0,-sped) end rtc.CFrame = rt.CFrame*adjs | |
1208 | ||
1209 | ||
1210 | w() until tyms > maxm | |
1211 | ||
1212 | ||
1213 | if bhit then | |
1214 | ||
1215 | ||
1216 | rtc.Velocity=v3(0,0,0) local xx,yy,zz=rtc.CFrame:toEulerAnglesXYZ() rtc.CFrame=cf(bpos) *ca(xx,yy,zz) *cf(0,-rtc.Size.y/9,0) | |
1217 | ||
1218 | ||
1219 | if bhit.Anchored then Sound(Sounds.Punch,1,1,rtc) rtc.Anchored=true else local cfz=rtc.CFrame | |
1220 | ||
1221 | ||
1222 | rtc.Size=v3(0,0,0) rtc.CFrame=cfz rtc.Anchored=false | |
1223 | ||
1224 | ||
1225 | if findhum(bhit.Parent) then stick(rtc,bhit) rtc.CanCollide=false | |
1226 | ||
1227 | ||
1228 | local aihu=findhum(bhit.Parent) Sound(Sounds.Smash,1.35,1,rtc) Dmgz(false,aihu,dmge,bhit) | |
1229 | ||
1230 | ||
1231 | elseif findhum(bhit.Parent.Parent) then stick(rtc,bhit) rtc.CanCollide=false | |
1232 | ||
1233 | ||
1234 | local aihu=findhum(bhit.Parent.Parent) Sound(Sounds.Smash,1.35,1,rtc) Dmgz(false,aihu,dmge,bhit) | |
1235 | ||
1236 | ||
1237 | elseif bhit:GetMass() < 500 and findhum(bhit.Parent)==nil and findhum(bhit.Parent.Parent)==nil then | |
1238 | ||
1239 | ||
1240 | stick(rtc,bhit) Sound(Sounds.Punch,1,1,rtc) if findclass(bhit,"Weld") < 1 and findhum(bhit.Parent.Parent)==nil then bhit.Velocity=rt.CFrame.lookVector*60 end | |
1241 | ||
1242 | ||
1243 | end | |
1244 | ||
1245 | ||
1246 | end | |
1247 | ||
1248 | ||
1249 | else | |
1250 | ||
1251 | ||
1252 | rtc.Parent=nil | |
1253 | ||
1254 | ||
1255 | end | |
1256 | ||
1257 | ||
1258 | rt:Remove'' w(8) rtc:Remove'' | |
1259 | ||
1260 | ||
1261 | end) end | |
1262 | ||
1263 | ||
1264 | function ShootSpike(poi,theray,colz,mulzx,sc,adjus,istrai,typ,loltors) if mulzx==nil then mulzx=1 end | |
1265 | ||
1266 | ||
1267 | cw(function() Sound(Sounds.Slash,1.1,1) local mind,maxd,mind2,maxd2=6,12,3,5 | |
1268 | ||
1269 | ||
1270 | local spi=pa(c,"","Block",0.6*sc,2*sc,0.6*sc,false,false,0,0,colz) local spim=it("SpecialMesh",spi) spim.MeshType="FileMesh" spim.MeshId=asset .. Decs.Spike | |
1271 | ||
1272 | ||
1273 | spim.Scale=v3(0.12*sc,3*sc,0.12*sc) spi.Anchored=true if typ==1 then spi.CFrame=cf((loltors.CFrame).p,mou.Hit.p) *adjus | |
1274 | ||
1275 | ||
1276 | elseif typ==3 then spi.CFrame=adjus | |
1277 | ||
1278 | ||
1279 | elseif typ==2 then if adjus=="random" then spi.CFrame=cf(to.Position,RandomPlayer(spi).Position) else spi.CFrame=loltors.CFrame *adjus end end spi.CFrame=spi.CFrame *ca(rd(-90),0,0) | |
1280 | ||
1281 | ||
1282 | if istrai then cw(function() Trail2(4,spi,0.2,colz,0.4*sc,cf(0,-2*sc,0)) end) end | |
1283 | ||
1284 | ||
1285 | local bullethit=false | |
1286 | ||
1287 | ||
1288 | local tyms=0 if rn(1,20)==rn(1,20) and mulzx > 0 then it("Fire",spi).Heat=-25 end if rn(1,poi)==1 and mulzx > 0 then spi.BrickColor=bc("Navy blue") end | |
1289 | ||
1290 | ||
1291 | local minusz=-0.0001 if mulzx < 0 then local fiar=it("Fire",spi) fiar.Heat=-25 fiar.Size=1*sc fiar.Color=bc("Bright red").Color fiar.SecondaryColor=bc("Really red").Color end | |
1292 | ||
1293 | ||
1294 | local spid=0.25 if typ==2 then spid=0.01 end | |
1295 | ||
1296 | ||
1297 | local divzz=110 if typ==2 then divzz=50 elseif typ==3 then divzz=1500 end | |
1298 | ||
1299 | ||
1300 | local tehpos=v3(0,0,0) | |
1301 | ||
1302 | ||
1303 | repeat | |
1304 | ||
1305 | ||
1306 | tyms=tyms + 2 minusz=(-90/50/divzz)*tyms | |
1307 | ||
1308 | ||
1309 | local bhit,bpos=ray(spi.Position,spi.Position - (spi.CFrame *cf(0,-1,0)).p,theray) tehpos=bpos | |
1310 | ||
1311 | ||
1312 | if bpos ~= nil and (bpos - (spi.CFrame *cf(0,1,0)).p).magnitude < 24 then bullethit=bhit else spi.CFrame=spi.CFrame *cf(0,8,0) *ca(rd(minusz),0,0) end | |
1313 | ||
1314 | ||
1315 | w() until bullethit or spi.Position.y < -300 or tyms > 120 rtab(sTrail,spi) game:service'Debris':AddItem(spi,4) | |
1316 | ||
1317 | ||
1318 | if bullethit then -- bhit | |
1319 | ||
1320 | ||
1321 | spi.Velocity=v3(0,0,0) local xx,yy,zz=spi.CFrame:toEulerAnglesXYZ() spi.CFrame=cf(tehpos) *ca(xx,yy,zz) *cf(0,-spi.Size.y/9,0) | |
1322 | ||
1323 | ||
1324 | if bullethit.Anchored then Sound(Sounds.Punch,1,1,spi) spi.Anchored=true else local cfz=spi.CFrame *cf(0,-0*sc,0) | |
1325 | ||
1326 | ||
1327 | spi.Size=v3(0,0,0) spi.CFrame=cfz spi.Anchored=false | |
1328 | ||
1329 | ||
1330 | if findhum(bullethit.Parent) then stick(spi,bullethit) spi.CanCollide=false local mul=1 if spi:findFirstChild("Fire") then mul=2.5 end | |
1331 | ||
1332 | ||
1333 | local aihu=findhum(bullethit.Parent) Sound(Sounds.Smash,1.35,1,spi) if mulzx==-1 then aihu.Health=aihu.Health + maxd else Dmgz(false,aihu,rn(mind*mul,maxd*mul),bullethit) if spi.BrickColor.Name=="Navy blue" then for i=1,10 do Dmgz(false,aihu,rn(mind2*mul,maxd2*mul),bullethit) w(0.9) end end end | |
1334 | ||
1335 | ||
1336 | elseif findhum(bullethit.Parent.Parent) then stick(spi,bullethit) spi.CanCollide=false local mul=1 if spi:findFirstChild("Fire") then mul=2.5 end | |
1337 | ||
1338 | ||
1339 | local aihu=findhum(bullethit.Parent.Parent) Sound(Sounds.Smash,1.35,1,spi) if mulzx==-1 then aihu.Health=aihu.Health + maxd else Dmgz(false,aihu,rn(mind*mul,maxd*mul),bullethit) if spi.BrickColor.Name=="Navy blue" then for i=1,10 do Dmgz(false,aihu,rn(mind2*mul,maxd2*mul),bullethit) w(0.9) end end end | |
1340 | ||
1341 | ||
1342 | elseif bullethit:GetMass() < 500 and findhum(bullethit.Parent)==nil and bullethit.Parent.Parent:findFirstChild("Humanoid")==nil then | |
1343 | ||
1344 | ||
1345 | stick(spi,bullethit) Sound(Sounds.Punch,1,1,spi) if findclass(bullethit,"Weld") < 1 and bullethit.Parent.Parent:findFirstChild("Humanoid")==nil then bullethit.Velocity=(spi.CFrame*ca(rd(90),0,0)).lookVector*60 end | |
1346 | ||
1347 | ||
1348 | end | |
1349 | ||
1350 | ||
1351 | end | |
1352 | ||
1353 | ||
1354 | else | |
1355 | ||
1356 | ||
1357 | spi.Parent=nil | |
1358 | ||
1359 | ||
1360 | end | |
1361 | ||
1362 | ||
1363 | end) | |
1364 | ||
1365 | ||
1366 | end | |
1367 | ||
1368 | ||
1369 | function NormalPose(inc) cw(function() c1(tw,inc,3,0,0,0,0,0,0) end) cw(function() c1(llw,inc,3,-0.5,-1,0,0,0,0) end) | |
1370 | ||
1371 | ||
1372 | cw(function() c1(rlw,inc,3,0.5,-1,0,0,0,0) end) cw(function() c1(law,inc,3,-1.5,1,0,0,0,0) end) c1(raw,inc,3,1.5,1,0,0,0,0) end | |
1373 | ||
1374 | ||
1375 | a.Act=function(k,ccz) | |
1376 | ||
1377 | ||
1378 | if ccz then | |
1379 | ||
1380 | ||
1381 | if k=="x" then a.c=false | |
1382 | ||
1383 | ||
1384 | a.a="Spikes" | |
1385 | ||
1386 | ||
1387 | for i=1,18 do | |
1388 | ||
1389 | ||
1390 | local spi=pa(Misc[k],"","Block",0,0,0,false,false,0,0,"Dark green") local spim=it("SpecialMesh",spi) spim.MeshType="FileMesh" spim.MeshId=asset .. Decs.Spike | |
1391 | ||
1392 | ||
1393 | local spiw=weld(spi,t,spi,rn(-8,8)/10,rn(-8,8)/10,0,rd(rn(60,120)),0,rd(rn(-30,30))) | |
1394 | ||
1395 | ||
1396 | cw(function() for i=0,1,0.1 do if rn(1,21)==1 then Sound(Sounds.Unsheath,rn(9,16)/10,1) end spiw.C0=spiw.C0 *cf(0,0.17,0) spim.Scale=v3(0.25,i*4,0.25) w() end a.c=true end) | |
1397 | ||
1398 | ||
1399 | end | |
1400 | ||
1401 | ||
1402 | for i=1,2 do local spi=pa(Misc[k],"","Block",0,0,0,false,false,0,0,"Dark green") local spim=it("SpecialMesh",spi) spim.MeshType="FileMesh" spim.MeshId=asset .. Decs.Spike | |
1403 | ||
1404 | ||
1405 | local spiw=weld(spi,la,spi,0.2,-i/1.1+(0.7),-0.25,rd(-45),0,rd(120)) cw(function() for i=0,1,0.1 do spiw.C0=spiw.C0 *cf(0,0.14,0) spim.Scale=v3(0.25,i*4,0.25) w() end a.c=true end) end | |
1406 | ||
1407 | ||
1408 | for i=1,2 do local spi=pa(Misc[k],"","Block",0,0,0,false,false,0,0,"Dark green") local spim=it("SpecialMesh",spi) spim.MeshType="FileMesh" spim.MeshId=asset .. Decs.Spike local spiw=weld(spi,ra,spi,-0.2,-i/1.1+(0.7),-0.25,rd(-45),0,rd(-120)) | |
1409 | ||
1410 | ||
1411 | cw(function() for i=0,1,0.1 do spiw.C0=spiw.C0 *cf(0,0.14,0) spim.Scale=v3(0.25,i*4,0.25) w() end a.c=true end) end | |
1412 | ||
1413 | ||
1414 | for i=1,2 do local spi=pa(Misc[k],"","Block",0,0,0,false,false,0,0,"Dark green") local spim=it("SpecialMesh",spi) spim.MeshType="FileMesh" spim.MeshId=asset .. Decs.Spike | |
1415 | ||
1416 | ||
1417 | local spiw=weld(spi,ll,spi,0.2,-i/1.1+(0.2),-0.3,0,rd(50),rd(70)) cw(function() for i=0,1,0.1 do spiw.C0=spiw.C0 *cf(0,0.14,0) spim.Scale=v3(0.25,i*4,0.25) w() end a.c=true end) end | |
1418 | ||
1419 | ||
1420 | for i=1,2 do local spi=pa(Misc[k],"","Block",0,0,0,false,false,0,0,"Dark green") local spim=it("SpecialMesh",spi) spim.MeshType="FileMesh" spim.MeshId=asset .. Decs.Spike local spiw=weld(spi,rl,spi,-0.2,-i/1.1+(0.2),-0.3,0,rd(-50),rd(-70)) | |
1421 | ||
1422 | ||
1423 | cw(function() for i=0,1,0.1 do spiw.C0=spiw.C0 *cf(0,0.14,0) spim.Scale=v3(0.25,i*4,0.25) w() end a.c=true end) end | |
1424 | ||
1425 | ||
1426 | elseif k=="c" and a.a=="None" and a.c and a.b=="None" then a.c=false a.a="Champion" | |
1427 | ||
1428 | ||
1429 | Armz(false) hu.WalkSpeed=ns*1.2 | |
1430 | ||
1431 | ||
1432 | cw(function() c1(law,0.15,3,-1.3,1,-0.2,30,0,18) end) c1(raw,0.15,3,1.3,1,-0.2,30,0,-18) | |
1433 | ||
1434 | ||
1435 | cw(function() Sound(Sounds.Abscond,0.9,1) local spi=pa(m,"","Block",0,0,0,false,false,0.2,0,raigcol2) spi.Anchored=true local spim=it("SpecialMesh",spi) spim.MeshType="FileMesh" spim.MeshId=asset .. Decs.Crown | |
1436 | ||
1437 | ||
1438 | spim.Scale=v3(4,5,4) spi.CFrame=t.CFrame *cf(0,-2,0) for i=1,30 do spim.Scale=v3(4+(i/3),5-(i/12),4+(i/3)) spi.Transparency=0.2+((0.8/30)*i)spi.CFrame=spi.CFrame *ca(0,rd(25),0) w() end spi:Remove'' | |
1439 | ||
1440 | ||
1441 | end) | |
1442 | ||
1443 | ||
1444 | a.c=true Legb2=true Legz(false) Legb=true | |
1445 | ||
1446 | ||
1447 | elseif k=="v" and a.a=="None" and a.c and a.b=="None" then a.c=false | |
1448 | ||
1449 | ||
1450 | Armz(false) hu.WalkSpeed=ns*0.75 Misc[k]=it("Model",m) | |
1451 | ||
1452 | ||
1453 | cw(function() c1(law,0.15,3,-1.3,1,-0.2,30,0,18) end) c1(raw,0.15,3,1.5,1,-0.2,-40,0,12) | |
1454 | ||
1455 | ||
1456 | CreateLance() a.c=true Legb2=true Legz(false) Legb=true a.a="Lance" | |
1457 | ||
1458 | ||
1459 | a.s.Lance(true) cw(function() repeat if a.b=="None" and mp > 10 then mp=mp-0.05 end w() until a.a~="Lance" end) | |
1460 | ||
1461 | ||
1462 | end | |
1463 | ||
1464 | ||
1465 | else | |
1466 | ||
1467 | ||
1468 | if k=="x" and a.a=="Spikes" and a.b=="None" and a.c then a.c=false a.a="None" | |
1469 | ||
1470 | ||
1471 | for zi,v in pairs(Misc[k]:children()) do | |
1472 | ||
1473 | ||
1474 | cw(function() | |
1475 | ||
1476 | ||
1477 | for i=1,0,-0.1 do if rn(1,35)==1 then Sound(Sounds.Unsheath,rn(9,16)/10,1) end | |
1478 | ||
1479 | ||
1480 | v.Weld.C0=v.Weld.C0 *cf(0,-0.17,0) v.Mesh.Scale=v3(0.1,i*4,0.1) | |
1481 | ||
1482 | ||
1483 | w() | |
1484 | ||
1485 | ||
1486 | end v:Remove'' a.c=true end) | |
1487 | ||
1488 | ||
1489 | end | |
1490 | ||
1491 | ||
1492 | elseif k=="c" and a.a=="Champion" and a.b=="None" and a.c then a.c=false a.a="None" | |
1493 | ||
1494 | ||
1495 | Legz(false) Armz(false) hu.WalkSpeed=ns NormalPose(0.1) Legz(true) Armz(true) a.c=true | |
1496 | ||
1497 | ||
1498 | elseif k=="v" and a.a=="Lance" and a.b=="None" and a.c then a.c=false a.a="None" | |
1499 | ||
1500 | ||
1501 | Legz(false) Armz(false) local rr=false a.s.Lance(false) local k="v" | |
1502 | ||
1503 | ||
1504 | cw(function() c1(law,0.15,3,-1.3,1,-0.2,30,0,18) end) cw(function() c1(raw,0.03,3,1.5,0.5,-0.2,-100,-30,0) end) | |
1505 | ||
1506 | ||
1507 | cw(function() for i,v in pairs(Misc[k]:children()) do if v.Name=="spiek" then cw(function() local maxc=v.Mesh.Scale maxcc=v.Weld.C1.y for i=1,0,-0.1 do v.Weld.C1=v.Weld.C1 * cf(0,maxcc*0.1,0) v.Mesh.Scale=v3(maxc.x*i,maxc.y*i,maxc.z*i) w() end v:Remove'' end) end end end) | |
1508 | ||
1509 | ||
1510 | cw(function() local smc=Misc[k].shield.Mesh.Scale for xi=1,0,-0.1 do Misc[k].shield.Mesh.Scale=smc*xi w() end Misc[k].shield:Remove'' end) | |
1511 | ||
1512 | ||
1513 | cw(function() Sound(Sounds.Unsheath,1.4,1) local smc=Misc[k].spiketip.Mesh.Scale for xi=1,0,-0.2 do Misc[k].spiketip.Mesh.Scale=smc*xi Misc[k].spiketip.Weld.C1=cf(0,-4*xi,0) w() end Misc[k].spiketip:Remove'' | |
1514 | ||
1515 | ||
1516 | Sound(Sounds.Unsheath,1.4,1) smc=Misc[k].spike.Mesh.Scale for xi=1,0,-0.1 do Misc[k].spike.Mesh.Scale=smc*xi Misc[k].spike.Weld.C1=cf(0,-5.2*xi,0) w() end Misc[k].spike:Remove'' | |
1517 | ||
1518 | ||
1519 | Sound(Sounds.Unsheath,1.4,1) smc=Misc[k].han2.Mesh.Scale for xi=1,0,-0.1 do Misc[k].han2.Mesh.Scale=smc*xi Misc[k].han2.Weld.C0=cf(0,-1.5*xi,0) w() end Misc[k].han2:Remove'' | |
1520 | ||
1521 | ||
1522 | Sound(Sounds.Unsheath,1.4,1) smc=Misc[k].han.Mesh.Scale for xi=1,0,-0.1 do Misc[k].han.Mesh.Scale=smc*xi w() end Misc[k].han:Remove'' rr=true end) | |
1523 | ||
1524 | ||
1525 | local hanw=Misc[k].han.Weld Sound(Sounds.Slash,0.35,1) for i=1,0,-0.05 do hanw.C1=cf(0,0.3+(0.5*i),0) *ca(rd(180*i),0,rd(45*i)) w() end | |
1526 | ||
1527 | ||
1528 | repeat w() until rr Misc[k]:Remove'' | |
1529 | ||
1530 | ||
1531 | hu.WalkSpeed=ns NormalPose(0.1) Legz(true) Armz(true) a.c=true | |
1532 | ||
1533 | ||
1534 | elseif mp >= 50 and k=="e" and a.a=="Spikes" and a.b=="None" then a.b="SideSlash" a.c=false mp=mp - 50 | |
1535 | ||
1536 | ||
1537 | Armz(false) | |
1538 | ||
1539 | ||
1540 | cw(function() c1(law,0.16,3,-1.2,1,-0.2,40,0,40) end) | |
1541 | ||
1542 | ||
1543 | cw(function() c1(tw,0.1,0,0,0,0,0,-40,0) end) | |
1544 | ||
1545 | ||
1546 | c1(raw,0.16,3,1.2,1,0.2,50,0,50) Sound(Sounds.Unsheath,1.2,1) | |
1547 | ||
1548 | ||
1549 | local spi=pa(m,"","Block",0.3,6,0.3,false,false,0,0,"Dark green") local spim=it("SpecialMesh",spi) spim.MeshType="FileMesh" spim.MeshId=asset .. Decs.Spike | |
1550 | ||
1551 | ||
1552 | spim.Scale=v3(0.2,6,0.2) | |
1553 | ||
1554 | ||
1555 | local spiw=weld(spi,ra,spi,0,-2,2,rd(90),0,0) | |
1556 | ||
1557 | ||
1558 | c1(raw,0.16,3,1.5,1,0,0,0,-40) Sound(Sounds.Slash,0.9,1) | |
1559 | ||
1560 | ||
1561 | rayHit(1.2,1,ra,ca(rd(-90),0,0),3.2,15,35) | |
1562 | ||
1563 | ||
1564 | cw(function() Trail(spi,8,0.04,"Dark green",0.6,cf(0,3,0)) end) | |
1565 | ||
1566 | ||
1567 | cw(function() c1(tw,0.08,0,0,0,0,0,45,0) end) | |
1568 | ||
1569 | ||
1570 | cw(function() c1(spiw,0.1,0,0,-3.6,-1,210,0,0) end) | |
1571 | ||
1572 | ||
1573 | c1(raw,0.08,3,1.3,0.6,-0.5,-160,0,-80) | |
1574 | ||
1575 | ||
1576 | cw(function() c1(tw,0.08,0,0,0,0,0,0,0) c1(law,0.16,3,-1.5,1,0,0,0,0) end) | |
1577 | ||
1578 | ||
1579 | c1(raw,0.08,3,1.2,1,0.2,50,0,50) spi:Remove'' c1(raw,0.16,3,1.5,1,0,0,0,0) | |
1580 | ||
1581 | ||
1582 | Armz(true) | |
1583 | ||
1584 | ||
1585 | a.b="None" a.c=true | |
1586 | ||
1587 | ||
1588 | elseif k=="c" and a.a=="Spikes" and a.b=="None" and a.c then a.c=false | |
1589 | ||
1590 | ||
1591 | Legz(false) Armz(false) | |
1592 | ||
1593 | ||
1594 | cw(function() c1(llw,0.1,3,-0.5,-1,-0.3,-80,-20,0) end) | |
1595 | ||
1596 | ||
1597 | cw(function() c1(rlw,0.1,3,0.5,-1,-0.3,-80,20,0) end) | |
1598 | ||
1599 | ||
1600 | cw(function() c1(law,0.1,3,-1.3,1,0,15,0,15) end) | |
1601 | ||
1602 | ||
1603 | cw(function() c1(raw,0.1,3,1.3,1,0,15,0,-15) end) | |
1604 | ||
1605 | ||
1606 | c1(tw,0.1,3,0,-1.5,0.35,-15,0,0) | |
1607 | ||
1608 | ||
1609 | a.c=true a.b="Sit" hu.WalkSpeed=0 | |
1610 | ||
1611 | ||
1612 | elseif k=="c" and a.a=="Spikes" and a.b=="Sit" and a.c then a.c=false hu.WalkSpeed=ns NormalPose(0.08) Legz(true) Armz(true) a.c=true a.b="None" | |
1613 | ||
1614 | ||
1615 | elseif mp >= 6 and k=="f" and a.a=="Spikes" and a.b=="None" then a.b="SpikeShoot" a.c=false | |
1616 | ||
1617 | ||
1618 | Armz(false) | |
1619 | ||
1620 | ||
1621 | cw(function() c1(law,0.1,3,-1.1,0.55,0,-85,20,0) end) c1(raw,0.1,3,1.1,0.55,0,-85,-20,0) | |
1622 | ||
1623 | ||
1624 | cw(function() Trail2(9999,la,0.1,la.BrickColor.Name,0.4,cf(0,-5,0)) Trail2(9999,ra,0.1,ra.BrickColor.Name,0.4,cf(0,-5,0)) repeat w(0.04) if rn(1,3)==2 then Sound(Sounds.Slash,1.2,1) end c1(law,1,3,-1.1,0.55,0,-85+rn(-55,55),20+rn(-15,15),0) c1(raw,1,3,1.1,0.55,0,-85+rn(-55,55),-20+rn(-15,15),0) until mp < 6 or ky=="f" rtab(sTrail,la) rtab(sTrail,ra) end) | |
1625 | ||
1626 | ||
1627 | repeat mp=mp - 6 ShootSpike(15,nil,"Dark green",1,rn(8,24)/10,ca(0,0,0),true,1,t) w(0.3) until mp < 6 or ky=="f" | |
1628 | ||
1629 | ||
1630 | cw(function() c1(law,0.1,3,-1.5,1,0,0,0,0) end) c1(raw,0.1,3,1.5,1,0,0,0,0) | |
1631 | ||
1632 | ||
1633 | Armz(true) a.b="None" a.c=true | |
1634 | ||
1635 | ||
1636 | elseif mp >= 30 and k=="q" and a.a=="Spikes" and a.b=="None" then a.b="Flip" a.c=false | |
1637 | ||
1638 | ||
1639 | Legz(false) Armz(false) mp=mp - 30 | |
1640 | ||
1641 | ||
1642 | cw(function() c1(llw,0.1,3,-0.5,-0.4,-0.3,55,0,8) end) | |
1643 | ||
1644 | ||
1645 | cw(function() c1(rlw,0.1,3,0.5,-0.7,-0.3,55,0,-8) end) | |
1646 | ||
1647 | ||
1648 | cw(function() c1(law,0.1,3,-1.3,1,-0.2,60,0,15) end) | |
1649 | ||
1650 | ||
1651 | cw(function() c1(raw,0.1,3,1.3,1,-0.2,60,0,-15) end) c1(tw,0.1,3,0,-0.8,0,-30,0,0) hu.WalkSpeed=ns*1.75 | |
1652 | ||
1653 | ||
1654 | cw(function() c1(tw,0.036,3,0,0,0,360,0,0) cleanweld(tw,"a1") end) | |
1655 | ||
1656 | ||
1657 | local bf=it("BodyForce",t) bf.force=v3(0,10000,0) game:service'Debris':AddItem(bf,0.165) Sound(Sounds.Slash,1.2,1) | |
1658 | ||
1659 | ||
1660 | w(0.1) if Button and mp >= 70 then mp=mp - 70 cw(function() c1(law,0.2,3,-1.3,1,-0.2,-170,0,-15) end) | |
1661 | ||
1662 | ||
1663 | cw(function() c1(raw,0.2,3,1.3,1,-0.2,-170,0,15) end) for zx=1,6 do ShootSpike(15,nil,"Navy blue",1,2,to.CFrame*ca(rd(-80),0,0),true,3,t) w(0.06) end else w(0.08*6) end hu.WalkSpeed= ns | |
1664 | ||
1665 | ||
1666 | cw(function() c1(llw,0.2,3,-0.5,-1,0,0,0,0) end) | |
1667 | ||
1668 | ||
1669 | cw(function() c1(rlw,0.2,3,0.5,-1,0,0,0,0) end) | |
1670 | ||
1671 | ||
1672 | cw(function() c1(law,0.2,3,-1.5,1,0,0,0,0) end) c1(raw,0.2,3,1.5,1,0,0,0,0) | |
1673 | ||
1674 | ||
1675 | Legz(true) Armz(true) a.b="None" a.c=true | |
1676 | ||
1677 | ||
1678 | elseif mp < maxmp and k=="z" and a.a=="Spikes" and a.b=="None" then a.b="Charge" a.c=false | |
1679 | ||
1680 | ||
1681 | hu.WalkSpeed=0 Armz(false) | |
1682 | ||
1683 | ||
1684 | local mz=it("Model",m) | |
1685 | ||
1686 | ||
1687 | for xi=1,360,360/8 do | |
1688 | ||
1689 | ||
1690 | local spi=pa(mz,"","Block",1,6,1,true,false,0,0,"Dark green") spi.Anchored=true local spim=it("SpecialMesh",spi) spim.MeshType="FileMesh" spim.MeshId=asset .. Decs.Spike | |
1691 | ||
1692 | ||
1693 | spim.Scale=v3(1,6,1) spi.CFrame=t.CFrame *ca(0,rd(xi),0) *cf(0,0,10) *cf(0,-7,0) *ca(rd(rn(-5,5)),0,rd(rn(-5,5))) | |
1694 | ||
1695 | ||
1696 | cw(function() for x=1,12,1 do spi.CFrame=spi.CFrame *cf(0,0.5,0) w() end end) | |
1697 | ||
1698 | ||
1699 | cw(function() repeat w() until ky=="z" or mp >= maxmp for x=1,12,1 do spi.CFrame=spi.CFrame *cf(0,-0.5,0) w() end mz:Remove'' end) | |
1700 | ||
1701 | ||
1702 | end | |
1703 | ||
1704 | ||
1705 | for xi=-1,1,2 do | |
1706 | ||
1707 | ||
1708 | local spi=pa(mz,"","Block",1,10,1,true,false,0,0,"Dark green") spi.Anchored=true local spim=it("SpecialMesh",spi) spim.MeshType="FileMesh" spim.MeshId=asset .. Decs.Spike | |
1709 | ||
1710 | ||
1711 | spim.Scale=v3(1.2,10,1.2) spi.CFrame=t.CFrame *cf(xi*2.2,0,-2) *cf(0,-11,0) | |
1712 | ||
1713 | ||
1714 | cw(function() for x=1,20,1 do spi.CFrame=spi.CFrame *cf(0,0.5,0) w() end end) | |
1715 | ||
1716 | ||
1717 | cw(function() repeat w() until ky=="z" or mp >= maxmp for x=1,20,1 do spi.CFrame=spi.CFrame *cf(0,-0.25,0) w() end mz:Remove'' end) | |
1718 | ||
1719 | ||
1720 | end | |
1721 | ||
1722 | ||
1723 | local spi=pa(mz,"","Block",0,0,0,false,false,1,0,raigcol) spi.Anchored=true local spim=it("SpecialMesh",spi) spim.MeshType="FileMesh" spim.MeshId=asset .. Decs.Crown | |
1724 | ||
1725 | ||
1726 | spim.Scale=v3(8,3,8) spi.CFrame=t.CFrame *cf(0,-2,0) local spi2=pa(mz,"","Block",0,0,0,false,false,1,0,raigcol) spi2.Anchored=true local spi2m=it("SpecialMesh",spi2) spi2m.MeshType="FileMesh" spi2m.MeshId=asset .. Decs.Crown | |
1727 | ||
1728 | ||
1729 | spi2m.Scale=v3(16,6,16) spi.CFrame=t.CFrame *cf(0,-2,0) spi2.CFrame=spi.CFrame Sound(Sounds.Cast,0.7,1) | |
1730 | ||
1731 | ||
1732 | cw(function() cw(function() for i=1,0.5,-0.05 do spi.Transparency=i spi2.Transparency=i w() end end) repeat w() spi.CFrame=spi.CFrame *ca(0,rd(11),0) spi2.CFrame=spi2.CFrame *ca(0,rd(-12),0) until ky=="z" or mp >= maxmp Sound(Sounds.ElectricalCharge,0.8,4) for i=0.5,1,0.05 do spi.CFrame=spi.CFrame *ca(0,rd(11),0) spi2.CFrame=spi2.CFrame *ca(0,rd(-12),0) spi.Transparency=i spi2.Transparency=i w() end spi2:Remove'' spi:Remove'' end) | |
1733 | ||
1734 | ||
1735 | cw(function() c1(law,0.06,3,-1.2,0.55,-0.1,-90,-25,0) end) c1(raw,0.06,3,1.2,0.55,-0.1,-90,25,0) | |
1736 | ||
1737 | ||
1738 | local tyms=0 repeat tyms=tyms + 1 w() if tyms%15==0 then Sound(Sounds.Cast,1,0.5) end addmp(3.5) until ky=="z" or mp >= maxmp | |
1739 | ||
1740 | ||
1741 | cw(function() c1(raw,0.1,3,1.5,1,0,0,0,0) end) c1(law,0.1,3,-1.5,1,0,0,0,0) | |
1742 | ||
1743 | ||
1744 | Armz(true) a.c=true a.b="None" hu.WalkSpeed=ns | |
1745 | ||
1746 | ||
1747 | elseif mp >= 150 and k=="t" and a.a=="Spikes" and a.b=="None" then a.b="SpinSlash" a.c=false | |
1748 | ||
1749 | ||
1750 | Armz(false) mp=mp - 150 hu.WalkSpeed=ns*1.5 | |
1751 | ||
1752 | ||
1753 | cw(function() c1(law,0.08,3,-1.2,1,0.2,40,0,-30) end) c1(raw,0.08,3,1.2,1,0.2,40,0,30) Sound(Sounds.Unsheath,1.2,1) | |
1754 | ||
1755 | ||
1756 | local spi=pa(m,"","Block",0.3,6,0.3,false,false,0,0,"Dark green") local spim=it("SpecialMesh",spi) spim.MeshType="FileMesh" spim.MeshId=asset .. Decs.Spike spim.Scale=v3(0.2,6,0.2) local spiw=weld(spi,ra,spi,0,-2,2,rd(90),0,0) | |
1757 | ||
1758 | ||
1759 | local spi1=pa(m,"","Block",0.3,6,0.3,false,false,0,0,"Dark green") local spim=it("SpecialMesh",spi1) spim.MeshType="FileMesh" spim.MeshId=asset .. Decs.Spike spim.Scale=v3(0.2,6,0.2) local spi1w=weld(spi1,la,spi1,0,-2,2,rd(90),0,0) | |
1760 | ||
1761 | ||
1762 | cw(function() c1(spiw,0.07,0,0,-4,0,170,0,0) end) cw(function() c1(spi1w,0.07,0,0,-4,0,190,0,0) end) | |
1763 | ||
1764 | ||
1765 | cw(function() c1(law,0.07,3,-1,0.6,0,0,0,85) end) c1(raw,0.07,3,1,0.6,0,0,0,-95) w(0.2) DmgHit(99,spi,10,14,2) DmgHit(99,spi1,10,14,2) cw(function() Trail(spi,24,0.05,"Dark green",0.35,cf(0,3,0)) end) cw(function() Trail(spi1,24,0.05,"Dark green",0.35,cf(0,3,0)) end) | |
1766 | ||
1767 | ||
1768 | local tru=true local wnd=pa(m,"","Block",14,0,14,false,false,0.3,0,"Dark green") wnd.Anchored=true it("CylinderMesh",wnd).Scale=v3(1,0.1,1) cw(function() repeat w() wnd.CFrame=t.CFrame *cf(0,0.5,0) *ca(rd(rn(-8,8)),0,rd(rn(-8,8))) if rn(1,4)==2 then Sound(Sounds.Spin,1.25,1) end until not tru fade(wnd,0.08) end) c1(tw,0.02,3,0,0,0,0,-360*5,0) tru=false tw.C1=ca(0,0,0) | |
1769 | ||
1770 | ||
1771 | cw(function() c1(law,0.08,3,-1.2,1,0.2,40,0,-30) end) hu.WalkSpeed=ns c1(raw,0.08,3,1.2,1,0.2,40,0,30) spi:Remove'' spi1:Remove'' | |
1772 | ||
1773 | ||
1774 | cw(function() c1(law,0.16,3,-1.5,1,0,0,0,0) end) c1(raw,0.16,3,1.5,1,0,0,0,0) | |
1775 | ||
1776 | ||
1777 | a.c=true Armz(true) a.b="None" cleanweld(tw,"a1") | |
1778 | ||
1779 | ||
1780 | elseif mp >= 10 and k=="v" and a.a=="Spikes" and a.b=="None" then a.b="Hoverboard" a.c=false | |
1781 | ||
1782 | ||
1783 | Armz(false) Legz(false) | |
1784 | ||
1785 | ||
1786 | local spi=pa(m,"","Block",0.3,10,0.3,true,false,0,0,"Dark green") local spim=it("SpecialMesh",spi) spim.MeshType="FileMesh" spim.MeshId=asset .. Decs.Spike spim.Scale=v3(1.2,10,0.8) local spiw=weld(spi,to,spi,-0.65,-3,0,rd(-80),0,0) | |
1787 | ||
1788 | ||
1789 | local spi1=pa(m,"","Block",0.3,10,0.3,true,false,0,0,"Dark green") local spi1m=it("SpecialMesh",spi1) spi1m.MeshType="FileMesh" spi1m.MeshId=asset .. Decs.Spike spi1m.Scale=v3(1.2,10,0.8) local spi1w=weld(spi1,to,spi1,0.65,-3,0,rd(-80),0,0) | |
1790 | ||
1791 | ||
1792 | local spi2=pa(m,"","Block",0,0,0,false,false,0,0,"Navy blue") local spi2m=it("SpecialMesh",spi2) spi1m.MeshType="FileMesh" spi2m.MeshId=asset .. Decs.Spike spi2m.Scale=v3(0.6,6,0.6) local spi2w=weld(spi2,to,spi2,0,-3.5,-1.5,rd(-96),0,0) | |
1793 | ||
1794 | ||
1795 | local bpt=it("BodyPosition",to) bpt.position=to.Position bpt.maxForce=v310 | |
1796 | ||
1797 | ||
1798 | local bgt=it("BodyGyro",to) bgt.maxTorque=v310 bgt.D=1250 hu.PlatformStand=true | |
1799 | ||
1800 | ||
1801 | cw(function() c1(law,0.07,3,-1,0.5,0,0,0,83) end) cw(function() c1(raw,0.07,3,1,0.5,0,0,0,-97) end) | |
1802 | ||
1803 | ||
1804 | cw(function() c1(llw,0.07,3,-0.5,-1,0,-20,0,25) end) cw(function() c1(rlw,0.07,3,0.5,-1,0,-20,0,-25) end) | |
1805 | ||
1806 | ||
1807 | c1(tw,0.07,3,0,0,0,15,90,0) Trail2(9999,spi,0.15,"Dark green",1.8,cf(0.6,-5,0)) | |
1808 | ||
1809 | ||
1810 | repeat local lulzspid=-a.ClickHold*2.5 if lulzspid < -50 then lulzspid=-50 end | |
1811 | ||
1812 | ||
1813 | bpt.position=(to.CFrame *cf(0,0,-3+(lulzspid))).p bgt.cframe=cf(to.Position,mou.Hit.p) mp=mp - 0.5 w() until ky=="v" or mp < 1 | |
1814 | ||
1815 | ||
1816 | bpt:Remove'' bgt:Remove'' hu.PlatformStand=false rtab(sTrail,spi) local spisc=spim.Scale local spisc2=spi2m.Scale | |
1817 | ||
1818 | ||
1819 | for i=1,0,-0.1 do spim.Scale=spisc*i spi1m.Scale=spisc*i spi2m.Scale=spisc2*i w() end | |
1820 | ||
1821 | ||
1822 | spi:Remove'' spi1:Remove'' spi2:Remove'' a.c=true NormalPose(0.08) Armz(true) Legz(true) a.b="None" | |
1823 | ||
1824 | ||
1825 | elseif mp >= 60 and k=="u" and a.a=="Spikes" and a.b=="None" then a.b="SpikeWall" a.c=false | |
1826 | ||
1827 | ||
1828 | Armz(false) Legz(false) mp=mp - 60 hu.WalkSpeed=0 Sound(Sounds.Cast,1.5,1) w(0.25) | |
1829 | ||
1830 | ||
1831 | cw(function() c1(law,0.06,3,-1.2,0.8,0,30,0,40) end) cw(function() c1(raw,0.06,3,1,0.5,-0.6,-55,0,10) end) | |
1832 | ||
1833 | ||
1834 | cw(function() c1(llw,0.06,3,-0.5,1.1,-0.7,-20,0,10) end) cw(function() c1(rlw,0.06,3,0.5,-0.4,0,50,0,-10) end) | |
1835 | ||
1836 | ||
1837 | c1(tw,0.06,3,0,-1.8,0,30,0,0) Sound(Sounds.Smash,0.26,1) | |
1838 | ||
1839 | ||
1840 | for i=-12,12,2 do w() | |
1841 | ||
1842 | ||
1843 | local spi=pa(workspace,"","Block",3,20,3,true,false,0,0,"Dark green") spi.Anchored=true local spim=it("SpecialMesh",spi) spim.MeshType="FileMesh" spim.MeshId=asset .. Decs.Spike spim.Scale=v3(2,29,2) | |
1844 | ||
1845 | ||
1846 | SplashDmg(false,(to.CFrame *cf(i,-1,-8) *cf(0,0,ab(-i/2.5))).p,8,8,30) spi.CFrame=to.CFrame *cf(i,-20,-8) *cf(0,0,ab(-i/2.5)) cw(function() for i=1,20 do spi.CFrame =spi.CFrame *cf(0,1,0) w() end end) game:service'Debris':AddItem(spi,32) | |
1847 | ||
1848 | ||
1849 | end | |
1850 | ||
1851 | ||
1852 | hu.WalkSpeed=ns NormalPose(0.08) | |
1853 | ||
1854 | ||
1855 | Armz(true) Legz(true) a.b="None" a.c=true | |
1856 | ||
1857 | ||
1858 | elseif mp >= 8 and k=="g" and a.a=="Spikes" and a.b=="None" then a.b="SpikeCannon" a.c=false | |
1859 | ||
1860 | ||
1861 | Armz(false) Legz(false) | |
1862 | ||
1863 | ||
1864 | cw(function() c1(law,0.06,3,-1.2,0.8,0,-30,0,40) end) cw(function() c1(raw,0.06,3,1.2,0.8,0,-30,0,-40) end) | |
1865 | ||
1866 | ||
1867 | cw(function() c1(llw,0.06,3,-0.5,-0.8,0,-10,0,0) end) cw(function() c1(rlw,0.06,3,0.5,-0.8,0,-10,0,0) end) | |
1868 | ||
1869 | ||
1870 | c1(tw,0.06,3,0,-0.3,0,10,0,0) | |
1871 | ||
1872 | ||
1873 | repeat | |
1874 | ||
1875 | ||
1876 | w(0.2) ShootSpike(15,nil,"Dark green",1,rn(10,28)/10,cf(rn(-22,22)/10,rn(-22,22)/10,0)*ca(rd(9),0,0)*ca(0,rd(180),0),false,2,t) mp=mp - 8 until not ky=="g" or mp < 1 | |
1877 | ||
1878 | ||
1879 | NormalPose(0.08) | |
1880 | ||
1881 | ||
1882 | Armz(true) Legz(true) a.b="None" a.c=true | |
1883 | ||
1884 | ||
1885 | elseif mp >= 600 and k=="b" and a.a=="Spikes" and a.b=="None" then a.b="SpikeRoll" a.c=false | |
1886 | ||
1887 | ||
1888 | Armz(false) Legz(false) hu.WalkSpeed=ns*3.5 mp=mp - 600 local spiks={} | |
1889 | ||
1890 | ||
1891 | for i=1,30 do | |
1892 | ||
1893 | ||
1894 | local spi=pa(m,"","Block",0,0,0,false,false,0,0,"Dark green") local spim=it("SpecialMesh",spi) spim.MeshType="FileMesh" spim.MeshId=asset .. Decs.Spike | |
1895 | ||
1896 | ||
1897 | spim.Scale=v3(0,0,0) | |
1898 | ||
1899 | ||
1900 | local spiw=weld(spi,t,spi,rn(-10,10)/10,rn(-10,10)/10,rn(-10,10)/10,rd(rn(-360,360)),0,rd(rn(-360,360))) | |
1901 | ||
1902 | ||
1903 | table.insert(spiks,spiw) cw(function() for i=0,2,0.1 do spiw.C0=spiw.C0 *cf(0,0.17,0) spim.Scale=v3(0.5,i*4,0.5) w() end end) | |
1904 | ||
1905 | ||
1906 | end | |
1907 | ||
1908 | ||
1909 | cw(function() c1(llw,0.1,3,-0.5,-0.8,-0.6,65,0,8) end) | |
1910 | ||
1911 | ||
1912 | cw(function() c1(rlw,0.1,3,0.5,-0.8,-0.6,65,0,-8) end) | |
1913 | ||
1914 | ||
1915 | cw(function() c1(law,0.1,3,-1.3,1,-0.2,65,0,30) end) | |
1916 | ||
1917 | ||
1918 | cw(function() c1(raw,0.1,3,1.3,1,-0.2,65,0,-30) end) c1(tw,0.1,3,0,-2,0,0,0,0) local function funnyfiur(zazaz) ShootSpike(15,nil,"Dark green",1,rn(15,38)/10,zazaz,false,2,to) end | |
1919 | ||
1920 | ||
1921 | cw(function() for i=0,1,0.005 do if rn(1,7)==5 then hu:MoveTo((to.CFrame *cf(0,0,-6)).p,to) end local rndz=rn(1,20) if rndz==4 then funnyfiur(ca(0,rd(rn(-360,360)),0)*ca(rd(2),0,0)) elseif rndz==3 then funnyfiur(ca(rd(2),0,0)) elseif rndz==1 then ShootSpike(15,nil,"Dark green",1,rn(15,38)/10,"random",false,2,to) end w() end end) c1(tw,0.005,3,0,-1.7,0,360*10,0,0) | |
1922 | ||
1923 | ||
1924 | NormalPose(0.07) | |
1925 | ||
1926 | ||
1927 | for xi=1,#spiks do local spiw=spiks[xi] cw(function() for i=2,0,-0.1 do spiw.C0=spiw.C0 *cf(0,-0.17,0) spiw.Part1.Mesh.Scale=v3(0.5,i*4,0.5) w() end spiw.Part1:Remove'' end) end w(0.5) | |
1928 | ||
1929 | ||
1930 | Armz(true) Legz(true) a.b="None" a.c=true hu.WalkSpeed=ns cleanweld(tw,"a1") | |
1931 | ||
1932 | ||
1933 | elseif mp >= 120 and k=="n" and a.a=="Spikes" and a.b=="None" then a.b="SpikeTurret" a.c=false | |
1934 | ||
1935 | ||
1936 | Armz(false) Legz(false) hu.WalkSpeed=0 mp=mp -120 Sound(Sounds.Cast,1.3,1) | |
1937 | ||
1938 | ||
1939 | cw(function() c1(law,0.06,3,-1.2,0.5,0,-50,0,-25) end) cw(function() c1(raw,0.06,3,1.2,0.5,0,-50,0,25) end) | |
1940 | ||
1941 | ||
1942 | cw(function() c1(llw,0.06,3,-0.5,0.6,-0.7,-20,0,10) end) cw(function() c1(rlw,0.06,3,0.5,-0.9,0,50,0,-10) end) | |
1943 | ||
1944 | ||
1945 | c1(tw,0.06,3,0,-1.3,0,30,0,0) w(0.25) if not Button then SpawnSpikeTurret(cf(mou.Hit.p),rn(8,18)/10,35,30,1) else SpawnSpikeTurret(cf(mou.Hit.p),rn(8,18)/10,35,30,-1) end w(0.1) | |
1946 | ||
1947 | ||
1948 | cw(function() c1(law,0.06,3,-1.2,0.5,0,-160,0,-15) end) cw(function() c1(raw,0.06,3,1.2,0.5,0,-160,0,15) end) | |
1949 | ||
1950 | ||
1951 | cw(function() c1(llw,0.06,3,-0.5,-1,0,0,0,0) end) cw(function() c1(rlw,0.06,3,0.5,-1,0,0,0,0) end) | |
1952 | ||
1953 | ||
1954 | c1(tw,0.06,3,0,0,0,0,0,0) hu.WalkSpeed=ns w(0.5) | |
1955 | ||
1956 | ||
1957 | NormalPose(0.1) | |
1958 | ||
1959 | ||
1960 | Armz(true) Legz(true) a.b="None" a.c=true | |
1961 | ||
1962 | ||
1963 | elseif mp >= 75 and k=="y" and a.a=="Spikes" and a.b=="None" then a.b="SpikeDisc" a.c=false | |
1964 | ||
1965 | ||
1966 | Armz(false) | |
1967 | ||
1968 | ||
1969 | repeat mp=mp - 75 | |
1970 | ||
1971 | ||
1972 | cw(function() c1(law,0.1,3,-1.2,1,-0.2,-40,0,30) end) c1(raw,0.1,3,1.2,1,0.2,40,0,30) Sound(Sounds.Unsheath,1.2,1) | |
1973 | ||
1974 | ||
1975 | local spi=pa(m,"","Block",0.3,6,0.3,false,false,0,0,"Dark green") local spim=it("SpecialMesh",spi) spim.MeshType="FileMesh" spim.MeshId=asset .. Decs.Spike spim.Scale=v3(0.2,6,0.2) local spiw=weld(spi,ra,spi,0,-4,0,rd(180),0,0) | |
1976 | ||
1977 | ||
1978 | cw(function() c1(law,0.1,3,-1.2,1,0.2,40,0,-30) end) c1(raw,0.2,3,1,0.6,-0.3,-80,65,0) c1(raw,0.2,3,1,0.6,-0.3,-100,10,0) FireDisc("Dark green",6,5,35,cf(spi.Position,mou.Hit.p)) spiw.Part0=la Sound(Sounds.Unsheath,1.2,1) | |
1979 | ||
1980 | ||
1981 | cw(function() c1(raw,0.1,3,1.2,1,-0.2,40,0,-30) end) c1(law,0.2,3,-1,0.6,-0.3,-80,-65,0) c1(law,0.2,3,-1,0.6,-0.3,-100,-10,0) spi:Remove'' FireDisc("Dark green",6,5,35,cf(spi.Position,mou.Hit.p)) | |
1982 | ||
1983 | ||
1984 | until ky=="y" or mp < 75 | |
1985 | ||
1986 | ||
1987 | cw(function() c1(law,0.15,3,-1.5,1,0,40,0,0) end) c1(raw,0.15,3,1.5,1,0,0,0,0) | |
1988 | ||
1989 | ||
1990 | Armz(true) a.b="None" a.c=true | |
1991 | ||
1992 | ||
1993 | elseif mp >= 35 and k=="f" and a.a=="Spikes" and a.b=="Hoverboard" then mp=mp-35 ShootSpike(15,nil,"Navy blue",1,2,cf((to.CFrame *cf(0,-4,-2)).p,mou.Hit.p)*cf(0,0,-4),true,3,nil) | |
1994 | ||
1995 | ||
1996 | elseif mp >= maxmp*0.9 and k=="h" and a.a=="Spikes" and a.b=="None" then a.b="SpikeRage" a.c=false | |
1997 | ||
1998 | ||
1999 | Armz(false) Legz(false) mp=rn(1,maxmp/10) hu.WalkSpeed=0 Sound(Sounds.Cast,0.7,2) w(0.5) | |
2000 | ||
2001 | ||
2002 | cw(function() c1(law,0.06,3,-1.2,0.8,0,30,0,40) end) cw(function() c1(raw,0.06,3,1,0.5,-0.6,-55,0,10) end) | |
2003 | ||
2004 | ||
2005 | cw(function() c1(llw,0.06,3,-0.5,1.1,-0.7,-20,0,10) end) cw(function() c1(rlw,0.06,3,0.5,-0.4,0,50,0,-10) end) | |
2006 | ||
2007 | ||
2008 | c1(tw,0.06,3,0,-1.8,0,30,0,0) Sound(Sounds.Smash,0.26,1) | |
2009 | ||
2010 | ||
2011 | for i=0,360,360/8 do w() cw(function() | |
2012 | ||
2013 | ||
2014 | for ii=1,5 do if rn(1,3)==1 then Sound(Sounds.Unsheath,0.9,1) end | |
2015 | ||
2016 | ||
2017 | local spi=pa(workspace,"","Block",8,20,8,true,false,0,0,"Dark green") spi.Anchored=true local spim=it("SpecialMesh",spi) spim.MeshType="FileMesh" spim.MeshId=asset .. Decs.Spike spim.Scale=v3(3+(ii),25+(ii*1.5),3+(ii)) | |
2018 | ||
2019 | ||
2020 | local spawncf=to.CFrame *ca(0,rd(i+(ii*12)),0) *cf(0,0,8+(ii*12)) *ca(rd(20),0,0) spi.CFrame=spawncf *cf(0,-17,0) cw(function() for i=1,14 do spi.CFrame =spi.CFrame *cf(0,1.5,0) w() end w(3) for i=1,20 do spi.CFrame =spi.CFrame *cf(0,-1.5,0) w() end spi:Remove'' end) | |
2021 | ||
2022 | ||
2023 | w(0.05) end end) end SplashDmg(true,to.Position,105,120,80) | |
2024 | ||
2025 | ||
2026 | hu.WalkSpeed=ns NormalPose(0.08) | |
2027 | ||
2028 | ||
2029 | Armz(true) Legz(true) a.b="None" a.c=true | |
2030 | ||
2031 | ||
2032 | elseif mp >= 50 and k=="r" and a.a=="Spikes" and a.b=="None" then a.b="SpikeBlock" a.c=false | |
2033 | ||
2034 | ||
2035 | Armz(false) mp=mp - 50 hu.WalkSpeed=ns/2 Block.Value=true | |
2036 | ||
2037 | ||
2038 | cw(function() c1(hw,0.15,3,0,1.5,0,0,35,0) end) cw(function() c1(tw,0.15,3,0,0,1.8,0,-35,0) end) cw(function() c1(law,0.15,3,-1,0.55,-0.9,-90,55,0) end) c1(raw,0.15,3,1.2,0.55,0.6,-90,10,0) | |
2039 | ||
2040 | ||
2041 | local spis={} for xi=0,360,360/16 do local xzx=5.5 if xi%((360/16)*2)==0 then xzx=4.1 w() end | |
2042 | ||
2043 | ||
2044 | local spi=pa(m,"Shield","Block",0,0,0,false,false,0,0,"Dark green") local spim=it("SpecialMesh",spi) spim.MeshType="FileMesh" spim.MeshId=asset .. Decs.Spike | |
2045 | ||
2046 | ||
2047 | local spiw=weld(spi,to,spi,0,0.65,-0.8,0,0,rd(xi)) spiw.C0=spiw.C0 *ca(rd(15),0,0) | |
2048 | ||
2049 | ||
2050 | cw(function() for i=0,1,0.1 do if rn(1,25)==1 then Sound(Sounds.Unsheath,rn(9,16)/10,1) end spiw.C0=spiw.C0 *cf(0,0.16,0) spim.Scale=v3(0.6*i,i*xzx,0.6*i) w() end end) | |
2051 | ||
2052 | ||
2053 | ti(spis,spi) end | |
2054 | ||
2055 | ||
2056 | local spi=pa(m,"Shield","Block",0,0,0,false,false,0,0,"Dark green") local spim=it("SpecialMesh",spi) spim.MeshType="FileMesh" spim.MeshId=asset .. Decs.Spike | |
2057 | ||
2058 | ||
2059 | local spiw=weld(spi,to,spi,0,0.65,-0.8,rd(-90),0,0) | |
2060 | ||
2061 | ||
2062 | cw(function() for i=0,1,0.1 do if rn(1,25)==1 then Sound(Sounds.Unsheath,rn(9,16)/10,1) end spiw.C0=spiw.C0 *cf(0,0.16,0) spim.Scale=v3(0.6*i,i*4.7,0.6*i) w() end end) | |
2063 | ||
2064 | ||
2065 | ti(spis,spi) w(1) | |
2066 | ||
2067 | ||
2068 | repeat w() mp=mp - 0.1 until mp < 0.5 or ky=="r" | |
2069 | ||
2070 | ||
2071 | for xi=1,#spis do local spi=spis[xi] local spiw=spi.Weld local spim=spi.Mesh | |
2072 | ||
2073 | ||
2074 | local xzx=spim.Scale.y cw(function() for i=1,0,-0.1 do if rn(1,15)==1 then Sound(Sounds.Unsheath,rn(9,16)/10,1) end spiw.C0=spiw.C0 *cf(0,-0.16,0) spim.Scale=v3(0.6*i,i*xzx,0.6*i) w() end spi:Remove'' end) | |
2075 | ||
2076 | ||
2077 | end Block.Value=false hu.WalkSpeed=ns | |
2078 | ||
2079 | ||
2080 | w(0.25) cw(function() c1(hw,0.15,3,0,1.5,0,0,0,0) end) cw(function() c1(tw,0.15,3,0,0,0,0,0,0) end) cw(function() c1(law,0.06,3,-1.5,1,0,0,0,0) end) c1(raw,0.06,3,1.5,1,0,0,0,0) | |
2081 | ||
2082 | ||
2083 | Armz(true) a.c=true a.b="None" | |
2084 | ||
2085 | ||
2086 | elseif mp >= 45 and k=="e" and a.a=="Champion" and a.b=="None" then a.b="Jab" a.c=false | |
2087 | ||
2088 | ||
2089 | Legz(true) mp=mp - 45 hu.WalkSpeed=ns*1.5 Sound(Sounds.Slash,0.9,1) Trail2(9999,ra,0.08,ts(ra.BrickColor),0.7,cf(0,-2.5,0)) rayHit(0.75,5,ra,ca(rd(-90),0,0),3.2,15,35) | |
2090 | ||
2091 | ||
2092 | cw(function() c1(hw,0.15,3,0,1.5,0,-10,60,0) end) cw(function() c1(law,0.12,3,-1.3,1,-0.2,45,0,1) end) cw(function() c1(tw,0.12,3,0,0,-4,0,-60,0) end) c1(raw,0.12,3,1,0.75,-0.5,-92,60,0) | |
2093 | ||
2094 | ||
2095 | rtab(sTrail,ra) w(0.2) cw(function() c1(hw,0.15,3,0,1.5,0,0,0,0) end) cw(function() c1(tw,0.15,3,0,0,0,0,0,0) end) hu.WalkSpeed=ns*1.2 cw(function() c1(law,0.15,3,-1.3,1,-0.2,30,0,18) end) c1(raw,0.15,3,1.3,1,-0.2,30,0,-18) a.c=true a.b="None" | |
2096 | ||
2097 | ||
2098 | elseif mp < maxmp and k=="z" and a.a=="Champion" and a.b=="None" then a.b="Charge" a.c=false | |
2099 | ||
2100 | ||
2101 | Armz(false) Legz(false) hu.WalkSpeed=ns/5 | |
2102 | ||
2103 | ||
2104 | cw(function() c1(llw,0.07,3,-0.5,-1,0,-15,0,20) end) cw(function() c1(rlw,0.07,3,0.5,-1,0,-15,0,-20) end) | |
2105 | ||
2106 | ||
2107 | cw(function() c1(law,0.07,3,-1.3,0.1,-0.3,-140,-25,0) end) c1(raw,0.07,3,1.3,0.1,-0.3,-140,25,0) Sound(Sounds.Cast,1,1) | |
2108 | ||
2109 | ||
2110 | local crwns={} | |
2111 | ||
2112 | ||
2113 | for i=1,5 do | |
2114 | ||
2115 | ||
2116 | local spi=pa(m,"","Block",0,0,0,false,false,1,0,raigcol2) spi.Anchored=true local spim=it("SpecialMesh",spi) spim.MeshType="FileMesh" spim.MeshId=asset .. Decs.Crown | |
2117 | ||
2118 | ||
2119 | spim.Scale=v3(i*3,15-(i*1.6),i*3) cw(function() for i=1,0.4,-0.05 do spi.Transparency=i w() end end) ti(crwns,spi) end | |
2120 | ||
2121 | ||
2122 | cw(function() local ysp=0 repeat ysp=ysp + 15 for ix,spi in pairs(crwns) do local ysp2=1 if ix%2==0 then ysp2=-1 end spi.CFrame=to.CFrame *cf(0,-2,0) *ca(0,rd(ysp*ysp2),0) end w() until a.c end) | |
2123 | ||
2124 | ||
2125 | local tyms=0 repeat tyms=tyms + 1 w() if tyms%15==0 then Sound(Sounds.Cast,1,0.5) end addmp(3.5) if rn(1,3)==1 then RaiseBubble(to.CFrame *cf(0,-2,0),rn(8,13)/10,90,raigcol) end until mp >= maxmp or ky=="z" Sound(Sounds.ElectricalCharge,0.8,4) | |
2126 | ||
2127 | ||
2128 | cw(function() for ix,spi in pairs(crwns) do cw(function() for xi=0.4,1,0.05 do spi.Transparency=xi w() end spi:Remove'' end) end end) | |
2129 | ||
2130 | ||
2131 | cw(function() c1(law,0.15,3,-1.3,1,-0.2,30,0,18) end) cw(function() c1(raw,0.15,3,1.3,1,-0.2,30,0,-18) end) | |
2132 | ||
2133 | ||
2134 | cw(function() c1(llw,0.07,3,-0.5,-1,0,0,0,0) end) c1(rlw,0.07,3,0.5,-1,0,0,0,0) Legz(true) hu.WalkSpeed=ns*1.2 a.c=true a.b="None" | |
2135 | ||
2136 | ||
2137 | elseif mp >= 60 and k=="g" and a.a=="Champion" and a.b=="None" then a.b="FlipKick" a.c=false | |
2138 | ||
2139 | ||
2140 | Legz(false) hu.WalkSpeed=ns*1.5 mp=mp - 60 FacePos(to,to.Position,mou.Hit.p,500,v3(0,1/0,0),ca(0,rd(12),0),0.5) | |
2141 | ||
2142 | ||
2143 | cw(function() c1(law,0.08,3,-1.3,0.8,0,60,0,18) end) cw(function() c1(raw,0.08,3,1.3,0.8,0,60,0,-18) end) | |
2144 | ||
2145 | ||
2146 | Sound(Sounds.Slash,1.2,1) BlastMesh(raigcol2,to,cf(0,-2,0),3.5) cw(function() c1(tw,0.16,3,0,-0.5,0,10,0,0) c1(tw,0.16,3,0,1.5,2,30,0,0) end) cw(function() c1(llw,0.08,3,-0.5,-0.6,0,70,0,0) end) c1(rlw,0.08,3,0.5,0,-1,15,0,0) w() Trail2(9999,rl,0.045,ts(rl.BrickColor),0.9,cf(0,-2.8,0)) rayHit(2.5,5,rl,ca(rd(-90),0,0),6,20,38) | |
2147 | ||
2148 | ||
2149 | cw(function() c1(tw,0.08,1,0,4.5,0,0,0,0) c1(tw,0.062,1,0,0,0,0,0,0) end) cw(function() c1(tw,0.04,0,0,0,0,360,360,0) cleanweld(tw,"a0") end) cw(function() c1(llw,0.2,3,-0.5,-1,0,160,0,0) end) c1(rlw,0.2,3,0.5,-1,0,-15,0,0) cw(function() w(0.5) rtab(sTrail,rl) end) | |
2150 | ||
2151 | ||
2152 | cw(function() c1(law,0.15,3,-1.3,1,-0.2,30,0,18) end) cw(function() c1(raw,0.15,3,1.3,1,-0.2,30,0,-18) end) | |
2153 | ||
2154 | ||
2155 | cw(function() c1(llw,0.07,3,-0.5,-1,0,0,0,0) end) c1(rlw,0.07,3,0.5,-1,0,0,0,0) hu.WalkSpeed=ns*1.2 Legz(true) a.c=true a.b="None" | |
2156 | ||
2157 | ||
2158 | elseif mp >= 40 and k=="x" and a.a=="Champion" and a.b=="None" then a.b="Roundhouse" a.c=false | |
2159 | ||
2160 | ||
2161 | Legz(false) mp=mp - 40 cw(function() c1(law,0.15,3,-0.8,0,-0.5,-170,0,5) end) cw(function() c1(raw,0.15,3,0.8,0,-0.5,-170,0,-5) end) Trail2(9999,ll,0.045,ts(ll.BrickColor),0.5,cf(0,-2.8,0)) rayHit(2.5,5,ll,ca(rd(-90),0,0),6,20,38) Sound(Sounds.Slash,1.2,1) | |
2162 | ||
2163 | ||
2164 | cw(function() c1(tw,0.06,1,0,0,0,0,0,100) c1(tw,0.08,1,0,0,0,0,0,0) end) cw(function() c1(llw,0.12,3,-0.5,-1,0,0,0,50) w(0.1) c1(llw,0.2,3,-0.5,-1,0,0,0,0) end) cw(function() c1(rlw,0.06,3,0.5,-1,0,0,0,-100) c1(rlw,0.06,3,0.5,-1,0,0,0,0) end) c1(tw,0.06,0,0,0,-2.5,0,360,0) cw(function() w(0.4) rtab(sTrail,ll) end) | |
2165 | ||
2166 | ||
2167 | cleanweld(tw,"a0") cw(function() c1(tw,0.08,0,0,0,0,0,0,0) end) cw(function() c1(law,0.07,3,-1.3,1,-0.2,30,0,18) end) c1(raw,0.07,3,1.3,1,-0.2,30,0,-18) Legz(true) a.c=true a.b="None" | |
2168 | ||
2169 | ||
2170 | elseif mp >= 30 and k=="r" and a.a=="Champion" and a.b=="None" then a.b="Block" a.c=false hu.WalkSpeed=ns/2 mp=mp - 30 Legz(true) | |
2171 | ||
2172 | ||
2173 | Sound(Sounds.Cast,1.2,1) cw(function() c1(hw,0.06,3,0,1.5,0,0,45,0) end) cw(function() c1(tw,0.06,3,0,0,2.5,0,-45,0) end) cw(function() c1(law,0.07,3,-1.3,1,0,0,0,30) end) c1(raw,0.07,3,1.5,-0.2,-0.2,-170,0,10) | |
2174 | ||
2175 | ||
2176 | Sound(Sounds.SaberLightUp,1.4,1) local tyms=0 Block.Value=true repeat tyms=tyms + 1 if tyms%15==0 then Sound(Sounds.SaberLightUp,1.55,0.5) end if tyms%8==0 then GlowMesh(true,asset .. Decs.Shield1,to,v3(5,15,4),raigcol2,cf(0.5,1,0.5)*ca(rd(-90),0,0)) GlowMesh(true,asset .. Decs.Crown,to,v3(7,0.5,7),raigcol2,cf(0,-2.5,2.5)*ca(0,rd(tyms*3),0)) end w() mp=mp - 0.5 until mp <= 0 or ky=="r" Block.Value=false | |
2177 | ||
2178 | ||
2179 | cw(function() c1(hw,0.06,3,0,1.5,0,0,0,0) end) cw(function() c1(tw,0.06,3,0,0,0,0,0,0) end) hu.WalkSpeed=ns*1.2 cw(function() c1(law,0.07,3,-1.3,1,-0.2,30,0,18) end) c1(raw,0.07,3,1.3,1,-0.2,30,0,-18) Legb=true a.c=true a.b="None" | |
2180 | ||
2181 | ||
2182 | elseif mp >= 70 and k=="t" and a.a=="Champion" and a.b=="None" then a.b="WhirlKick" a.c=false hu.WalkSpeed=ns*1.5 mp=mp - 70 Legz(false) | |
2183 | ||
2184 | ||
2185 | cw(function() c1(law,0.1,3,-1.2,1,0,-175,0,10) end) cw(function() c1(raw,0.1,3,1.2,1,0,-185,0,-10) end) cw(function() c1(llw,0.1,3,-0.9,-1,0,0,0,85) end) cw(function() c1(rlw,0.1,3,0.9,-1,0,0,0,-95) end) c1(tw,0.08,0,0.07,0,0,170,0,0) Trail2(9999,rl,0.045,ts(rl.BrickColor),0.4,cf(0,-2.8,0)) rayHit(3.5,5,rl,ca(rd(-90),0,0),6,20,38) Trail2(9999,ll,0.045,ts(ll.BrickColor),0.4,cf(0,-2.8,0)) rayHit(3.5,5,ll,ca(rd(-90),0,0),6,20,38) cw(function() Sound(Sounds.Spin,1,1) for i=0,0.5,0.02 do w() end w() Sound(Sounds.Spin,1,1) end) c1(tw,0.02,1,0,0,0,0,360*3,0) cleanweld(tw,"a1") | |
2186 | ||
2187 | ||
2188 | cw(function() w(0.4) rtab(sTrail,ll) rtab(sTrail,rl) end) cw(function() c1(tw,0.08,0,0,0,0,0,0,0) end)cw(function() c1(llw,0.07,3,-0.5,-1,0,0,0,0) end) cw(function() c1(rlw,0.07,3,0.5,-1,0,0,0,0) end) hu.WalkSpeed=ns*1.2 cw(function() c1(law,0.07,3,-1.3,1,-0.2,30,0,18) end) c1(raw,0.07,3,1.3,1,-0.2,30,0,-18) w(0.25) Legz(true) a.c=true a.b="None" | |
2189 | ||
2190 | ||
2191 | elseif mp >= 50 and k=="q" and a.a=="Champion" and a.b=="None" then a.b="360Uppercut" a.c=false mp=mp - 50 | |
2192 | ||
2193 | ||
2194 | cw(function() c1(law,0.06,3,-1.5,0.5,-0.5,-140,0,18) end) cw(function() c1(raw,0.06,3,1.3,1,-0.2,40,0,-25) end) Trail2(9999,la,0.045,raigcol3,0.8,cf(0,-2.8,0)) rayHit(1.5,5,t,ca(0,0,0),6,20,42) | |
2195 | ||
2196 | ||
2197 | cw(function() local bf=it("BodyForce",t) bf.force=v3(0,9000,0) game:service'Debris':AddItem(bf,0.2) Sound(Sounds.Slash,1.2,1) end) c1(tw,0.055,3,0,0,-1,0,360,0) | |
2198 | ||
2199 | ||
2200 | rtab(sTrail,la) cleanweld(tw,"a1") cw(function() c1(tw,0.15,3,0,0,0,0,0,0) end) cw(function() c1(law,0.14,3,-1.3,1,-0.2,30,0,18) end) c1(raw,0.14,3,1.3,1,-0.2,30,0,-18) a.c=false a.b="None" Legz(true) | |
2201 | ||
2202 | ||
2203 | elseif mp >= 20 and k=="v" and a.a=="Champion" and a.b=="None" then a.b="Booster" a.c=false mp=mp - 10 Legz(false) | |
2204 | ||
2205 | ||
2206 | cw(function() c1(llw,0.08,3,-0.5,-1,0,0,0,10) end) cw(function() c1(rlw,0.08,3,0.5,-1,0,0,0,-10) end) | |
2207 | ||
2208 | ||
2209 | cw(function() c1(hw,0.14,3,0,1.5,0,-45,0,0) end) cw(function() c1(tw,0.14,3,0,0,0,60,0,0) end) local tyms=0 local bpt=it("BodyPosition",to) bpt.position=to.Position bpt.maxForce=v310 local bgt=it("BodyGyro",to) bgt.maxTorque=v310 bgt.D=1250 | |
2210 | ||
2211 | ||
2212 | repeat local lulzspid=-a.ClickHold*2.5 if lulzspid < -50 then lulzspid=-50 end bpt.position=(to.CFrame *cf(0,0,-2+(lulzspid))).p bgt.cframe=cf(to.Position,mou.Hit.p) mp=mp -1.25 tyms=tyms + 1 if tyms%8==0 then GlowMesh(false,asset .. Decs.Crown,t,v3(5,7,5),raigcol2,cf(0,0.5,0)*ca(rd(180),rd(tyms*3),0)) end w() until mp <= 0 or ky=="v" | |
2213 | ||
2214 | ||
2215 | bpt:Remove'' bgt:Remove'' w(0.5) cw(function() c1(hw,0.14,3,0,1.5,0,0,0,0) end) cw(function() c1(llw,0.08,3,-0.5,-1,0,0,0,0) end) cw(function() c1(rlw,0.08,3,0.5,-1,0,0,0,0) end) cw(function() c1(tw,0.14,3,0,0,0,0,0,0) end) cw(function() c1(law,0.14,3,-1.3,1,-0.2,30,0,18) end) c1(raw,0.14,3,1.3,1,-0.2,30,0,-18) Legz(true) a.c=true a.b="None" Legb2=true | |
2216 | ||
2217 | ||
2218 | elseif mp >= 120 and k=="b" and a.a=="Champion" and a.b=="None" then a.b="Combo" a.c=false mp=mp - 120 local aspi=0.07 tw.C1=cf(0,0,0) *ca(0,0,0) | |
2219 | ||
2220 | ||
2221 | Sound(Sounds.Slash,1.2,1) Trail2(9999,la,0.045,ts(la.BrickColor),0.4,cf(0,-2.8,0)) rayHit(1.3,5,la,ca(rd(-90),0,0),6,12,15) cw(function() c1(hw,aspi,3,0,1.5,0,0,-80,0) end) cw(function() c1(law,aspi,3,-1.3,0.5,-0.2,0,0,85) end) cw(function() c1(raw,aspi,3,1.3,1,-0.2,30,0,-45) end) c1(tw,aspi,0,0,0,0,0,-90,0) rtab(sTrail,la) w(0.1) | |
2222 | ||
2223 | ||
2224 | Sound(Sounds.Slash,1.2,1) Trail2(9999,ra,0.045,ts(ra.BrickColor),0.4,cf(0,-2.8,0)) rayHit(1.3,5,ra,ca(rd(-90),0,0),6,13,18) cw(function() c1(hw,aspi,3,0,1.5,0,0,80,0) end) cw(function() c1(law,aspi,3,-0.8,0,-0.5,-170,0,5) end) cw(function() c1(raw,aspi,3,1.1,0.5,-0.2,0,20,-85) end) c1(tw,aspi,0,0,0,0,0,-270,0) rtab(sTrail,ra) w(0.1) cw(function() c1(raw,aspi,3,0.8,0,-0.5,-170,0,-5) end) | |
2225 | ||
2226 | ||
2227 | Sound(Sounds.Slash,1.2,1) Trail2(9999,ll,0.045,ts(ll.BrickColor),0.4,cf(0,-2.8,0)) rayHit(1.3,5,ll,ca(rd(-90),0,0),6,15,21) cw(function() c1(hw,aspi,3,0,1.5,0,0,0,0) end) Legz(false) cw(function() c1(llw,aspi,3,-0.5,-1,0,0,0,40) end) cw(function() c1(rlw,aspi,3,0.5,-1,0,0,0,-80) end) cw(function() c1(tw,aspi,1,0,0,0,0,0,75) end) w(0.1) c1(tw,aspi,0,0,0,0,0,-490,0) rtab(sTrail,ll) w() | |
2228 | ||
2229 | ||
2230 | cw(function() c1(llw,0.08,3,-0.5,-1,0,0,0,0) end) cw(function() c1(rlw,0.08,3,0.5,-1,0,0,0,0) end) cw(function() c1(hw,0.08,3,0,1.5,0,0,0,0) end) cw(function() c1(tw,0.14,0,0,0,0,0,-360,0) end) cw(function() c1(tw,0.14,1,0,0,0,0,0,0) end) cw(function() c1(law,0.14,3,-1.3,1,-0.2,30,0,18) end) c1(raw,0.14,3,1.3,1,-0.2,30,0,-18) w(0.25) a.b="None" a.c=true Legz(true) cleanweld(tw,"a0") cleanweld(tw,"a1") | |
2231 | ||
2232 | ||
2233 | elseif mp >= 50 and k=="f" and a.a=="Champion" and a.b=="None" then a.b="RapidPunch" a.c=false tw.C1=cf(0,0,0) *ca(0,0,0) | |
2234 | ||
2235 | ||
2236 | cw(function() c1(law,0.08,3,-1.3,0.5,-0.2,-100,0,0) end) c1(raw,0.08,3,1.3,0.5,-0.2,-100,0,0) Trail2(9999,la,0.06,ts(la.BrickColor),0.4,cf(0,-3.5,0)) Trail2(9999,ra,0.06,ts(ra.BrickColor),0.25,cf(0,-3.5,0)) | |
2237 | ||
2238 | ||
2239 | local bgt=it("BodyGyro",to) bgt.maxTorque=v310 bgt.D=50 local tyms=0 repeat tyms=tyms + 1 bgt.cframe=cf(to.Position,v3(mou.Hit.p.x,to.Position.y,mou.Hit.p.z)) if (tyms+15)%30==0 then rayHit(0.4,5,ra,ca(rd(-90),0,0),4,8,12) end if tyms%30==0 then rayHit(0.4,5,la,ca(rd(-90),0,0),4,8,12) end if tyms%6==0 then Sound(Sounds.Slash,1.2,1) end if tyms%2==0 then c1(law,1,3,-1.3,0.5,0-(rn(-2,5)/10),-100+rn(-40,40),rn(-10,35),0) end if (tyms+1)%2==0 then c1(raw,1,3,1.3,0.5,0-(rn(-2,5)/10),-100+rn(-50,50),rn(-35,10),0) end w() mp=mp - 1.5 until mp < 3 or ky=="f" | |
2240 | ||
2241 | ||
2242 | bgt:Remove'' rtab(sTrail,la) rtab(sTrail,ra) cw(function() c1(law,0.06,3,-1.3,1,-0.2,30,0,18) end) c1(raw,0.06,3,1.3,1,-0.2,30,0,-18) a.c=true a.b="None" | |
2243 | ||
2244 | ||
2245 | elseif mp >= 80 and k=="y" and a.a=="Champion" and a.b=="None" then a.b="Combo2" a.c=false mp=mp - 80 | |
2246 | ||
2247 | ||
2248 | Sound(Sounds.Slash,1.2,1) Trail2(9999,ra,0.045,ts(ra.BrickColor),0.4,cf(0,-2.8,0)) cw(function() c1(hw,0.06,0,0,1.5,0,0,-105,0) end) cw(function() c1(tw,0.06,0,0,0,0,0,105,0) end) c1(raw,0.08,3,1,0.5,0,10,0,-90) local rhit,aihu=rayHit2(ra,ca(rd(-90),0,0),5) if rhit and aihu and aihu.Parent:findFirstChild("Torso") then hu.WalkSpeed=0 aihu.PlatformStand=true local vto=aihu.Parent.Torso Sound(Sounds.Smash,1,1) Dmgz(false,aihu,rn(18,25),vto) local aibp=it("BodyPosition",vto) aibp.maxForce=v310 aibp.position=vto.Position + v3(0,2.5,0) c1(raw,0.1,3,1.5,0.3,0,-10,0,-180) | |
2249 | ||
2250 | ||
2251 | rtab(sTrail,ra) w(0.25) Legz(false) Sound(Sounds.Slash,1.2,1) cw(function() c1(llw,0.06,3,-0.5,-1,0,0,0,50) end) cw(function() c1(rlw,0.06,3,0.5,-1,0,0,0,-80) end) cw(function() c1(tw,0.06,1,0,0,0,0,0,80) end) cw(function() c1(tw,0.06,0,0,0,0,0,-140,0) end) cw(function() for i=0,1,0.084 do w() end aibp.position=(to.CFrame *cf(12,8,-3)).p w() aibp:Remove'' w(1) aihu.PlatformStand=false end) rayHit(2,5,ll,ca(rd(-90),0,0),6,15,21) Trail2(9999,ll,0.045,ts(ll.BrickColor),0.4,cf(0,-2.8,0)) cw(function() c1(raw,0.06,3,0.9,0,-0.5,-170,0,-5) end) cw(function() c1(hw,0.06,0,0,1.5,0,0,0,0) end) c1(law,0.06,3,-0.9,0,-0.5,-170,0,5) | |
2252 | ||
2253 | ||
2254 | w(0.1) rtab(sTrail,ll) cw(function() c1(llw,0.06,3,-0.5,-1,0,0,0,0) end) cw(function() c1(rlw,0.06,3,0.5,-1,0,0,0,0) end) | |
2255 | ||
2256 | ||
2257 | else rtab(sTrail,ra) w(0.5) end | |
2258 | ||
2259 | ||
2260 | cw(function() c1(hw,0.1,0,0,1.5,0,0,0,0) end) cw(function() c1(tw,0.06,1,0,0,0,0,0,0) end) cw(function() c1(tw,0.06,0,0,0,0,0,0,0) end) | |
2261 | ||
2262 | ||
2263 | hu.WalkSpeed=ns*1.2 Legz(true) cw(function() c1(law,0.06,3,-1.3,1,-0.2,30,0,18) end) c1(raw,0.06,3,1.3,1,-0.2,30,0,-18) w(0.1) Legz(true) a.c=true a.b="None" | |
2264 | ||
2265 | ||
2266 | elseif mp >= maxmp*0.4 and k=="h" and a.a=="Champion" and a.b=="None" then a.b="Beam" a.c=false hu.WalkSpeed=ns/2 mp=mp -50 | |
2267 | ||
2268 | ||
2269 | cw(function() c1(law,0.06,3,-1.3,0.55,-0.2,-90,5,0) end) c1(raw,0.06,3,1.3,0.55,-0.2,-90,-5,0) | |
2270 | ||
2271 | ||
2272 | for i=1,10 do if i%3==0 then Sound(Sounds.Cast,0.5,1) end GlowMesh(true,"Sphere",to,v3(i/1.2,i/1.2,i/1.2),raigcol,cf(0,1.5,-4.5)) w(0.2) end | |
2273 | ||
2274 | ||
2275 | Legz(false) cw(function() c1(llw,0.06,3,-0.5,-1,0,-30,0,20) end) cw(function() c1(rlw,0.06,3,0.5,-1,0,-30,0,-20) end) | |
2276 | ||
2277 | ||
2278 | local b1=pa(m,"","Ball",8,8,8,false,false,0.1,0,raigcol) b1.Anchored=true | |
2279 | ||
2280 | ||
2281 | local b2=pa(m,"","Block",8,1,8,false,false,0.1,0,raigcol) b2.Anchored=true local b2m=it("CylinderMesh",b2) | |
2282 | ||
2283 | ||
2284 | local b3=pa(m,"","Ball",8,8,8,false,false,0.1,0,raigcol) b3.Anchored=true local circs={} | |
2285 | ||
2286 | ||
2287 | for i=1,5 do | |
2288 | ||
2289 | ||
2290 | local b5=pa(m,"","Block",0,0,0,false,false,0.1,0,raigcol) b5.Anchored=true local b5m=it("SpecialMesh",b5) b5m.MeshType="FileMesh" b5m.MeshId=asset .. Decs.Ring | |
2291 | ||
2292 | ||
2293 | b5m.Scale=v3(10,10,10) ti(circs,b5) | |
2294 | ||
2295 | ||
2296 | end | |
2297 | ||
2298 | ||
2299 | local bgt=it("BodyGyro",to) bgt.maxTorque=v310 bgt.D=1300 local tyms=0 repeat tyms=tyms + 1 local tcf=t.CFrame*cf(0,-1.5,0) local bhit,bpos=ray(tcf.p,tcf.p - (tcf *cf(0,0,2)).p) b1.CFrame=tcf*cf(rn(-10,10)/10,(rn(-10,10)/10)+2,(rn(-10,10)/10)-5) for xx=1,#circs do circs[xx].CFrame=b1.CFrame*cf(0,0,-2-(xx*4))*ca(0,0,0) end b3.CFrame=cf(bpos+v3(rn(-10,10)/10,rn(-10,10)/10,rn(-10,10)/10)) b2.CFrame=cf(b1.Position,b3.Position) local bmag=(b1.Position - b3.Position).magnitude b2.CFrame=b2.CFrame *cf(0,0,-bmag/2)*ca(rd(-90),0,0) b2m.Scale=v3(1,bmag,1) if tyms%7==0 and bhit then Explode(b2.CFrame*cf(0,bmag/2,0),15,raigcol2,20) end bgt.cframe=cf(to.Position,v3(mou.Hit.p.x,to.Position.y,mou.Hit.p.z)) w() mp=mp -2.5 until mp < 3 or ky=="h" | |
2300 | ||
2301 | ||
2302 | bgt:Remove'' fade(b1,0.1) fade(b2,0.1) fade(b3,0.1) for i=1,#circs do fade(circs[i],0.1) end | |
2303 | ||
2304 | ||
2305 | cw(function() c1(llw,0.06,3,-0.5,-1,0,0,0,0) end) cw(function() c1(rlw,0.06,3,0.5,-1,0,0,0,0) end) cw(function() c1(law,0.06,3,-1.3,1,-0.2,30,0,18) end) c1(raw,0.06,3,1.3,1,-0.2,30,0,-18) a.c=true a.b="None" hu.WalkSpeed=ns*1.2 Legz(true) | |
2306 | ||
2307 | ||
2308 | elseif mp >= 80 and k=="n" and a.a=="Champion" and a.b=="None" then a.b="KillZone" a.c=false mp=mp -80 Legz(false) | |
2309 | ||
2310 | ||
2311 | Sound(Sounds.Cast,1.4,1) cw(function() c1(law,0.08,3,-1.2,0.5,0,-50,0,-25) end) cw(function() c1(raw,0.08,3,1.2,0.5,0,-50,0,25) end) | |
2312 | ||
2313 | ||
2314 | cw(function() c1(llw,0.08,3,-0.5,0.6,-0.7,-20,0,10) end) cw(function() c1(rlw,0.08,3,0.5,-0.9,0,50,0,-10) end) | |
2315 | ||
2316 | ||
2317 | c1(tw,0.08,3,0,-1.3,0,30,0,0) w(0.25) cw(function() c1(tw,0.08,3,0,0,0,0,0,0) end) cw(function() c1(llw,0.08,3,-0.5,-1,0,0,0,0) end) cw(function() c1(rlw,0.08,3,0.5,-1,0,0,0,0) end) SpawnKillZone(to.CFrame*cf(0,-2,-4.5),rn(10,13)/10,20,raigcol3) | |
2318 | ||
2319 | ||
2320 | cw(function() c1(law,0.06,3,-1.3,1,-0.2,-160,0,20) end) c1(raw,0.06,3,1.3,1,-0.2,-160,0,-20) | |
2321 | ||
2322 | ||
2323 | w(0.5) cw(function() c1(law,0.06,3,-1.3,1,-0.2,30,0,18) end) c1(raw,0.06,3,1.3,1,-0.2,30,0,-18) a.c= true a.b="None" hu.WalkSpeed=ns*1.2 Legz(true) | |
2324 | ||
2325 | ||
2326 | elseif mp >= 45 and k=="e" and a.a=="Lance" and a.b=="None" then a.b="Slash" a.c=false mp=mp -45 | |
2327 | ||
2328 | ||
2329 | Sound(Sounds.Slash,0.35,2) Trail2(9999,Misc["v"].spiketip,0.04,a.s.Lancet,0.8,cf(0,1,0)) rayHit(2,5,ra,cf(0,0,-1.5)*ca(rd(-90),0,0),13,14,20) | |
2330 | ||
2331 | ||
2332 | cw(function() c1(hw,0.035,3,0,1.5,0,20,80,0) end) cw(function() c1(tw,0.035,3,0,0,0,0,-80,0) end) cw(function() c1(law,0.035,3,-1,0.5,-0.5,-80,80,0) end) | |
2333 | ||
2334 | ||
2335 | cw(function() c1(Misc["v"].han.Weld,0.04,1,0,0.8,0,0,0,0) end) cw(function() c1(Misc["v"].han.Weld,0.04,0,0,-2.25,0,0,0,0) end) c1(raw,0.035,3,1,0.5,0,-50,0,-85) | |
2336 | ||
2337 | ||
2338 | w(0.1) rtab(sTrail,Misc["v"].spiketip) | |
2339 | ||
2340 | ||
2341 | cw(function() c1(hw,0.04,3,0,1.5,0,0,0,0) end) cw(function() c1(Misc["v"].han.Weld,0.05,1,0,0.8,0,180,0,45) end) cw(function() c1(Misc["v"].han.Weld,0.05,0,0,-2.25,0,90,0,0) end) cw(function() c1(tw,0.04,3,0,0,0,0,0,0) end) cw(function() c1(law,0.05,3,-1.3,1,-0.2,-30,0,18) end) c1(raw,0.04,3,0.7,0.8,0,45,0,-150) a.c=true a.b="None" | |
2342 | ||
2343 | ||
2344 | elseif mp >= 80 and k=="t" and a.a=="Lance" and a.b=="None" then a.b="Spin" a.c=false mp=mp -80 | |
2345 | ||
2346 | ||
2347 | Sound(Sounds.Slash,0.35,2) Trail2(9999,Misc["v"].spiketip,0.04,a.s.Lancet,0.8,cf(0,1,0)) | |
2348 | ||
2349 | ||
2350 | cw(function() c1(Misc["v"].han.Weld,0.03,1,0,0.8,0,0,0,0) end) cw(function() c1(Misc["v"].han.Weld,0.03,0,0,-2.25,0,0,0,55) end) cw(function() c1(law,0.035,3,-1,0.5,-0.5,-86,15,0) end) c1(raw,0.06,3,1,0.5,0,0,0,-120) c1(raw,0.06,3,1,0.5,0,-86,-15,0) w(0.15) | |
2351 | ||
2352 | ||
2353 | cw(function() for i=1,3 do rayHit(1,5,Misc["v"].han2,ca(rd(-90),0,0),6,14,20) w(4/3) end end) c1(tw,0.015,3,0,0,0,0,-360*3,0) cleanweld(tw,"a1") | |
2354 | ||
2355 | ||
2356 | w(0.1) rtab(sTrail,Misc["v"].spiketip) | |
2357 | ||
2358 | ||
2359 | cw(function() c1(Misc["v"].han.Weld,0.05,1,0,0.8,0,180,0,45) end) cw(function() c1(Misc["v"].han.Weld,0.05,0,0,-2.25,0,90,0,0) end) cw(function() c1(law,0.05,3,-1.3,1,-0.2,-30,0,18) end) c1(raw,0.04,3,0.7,0.8,0,45,0,-150) a.c=true a.b="None" | |
2360 | ||
2361 | ||
2362 | elseif mp >= 10 and k=="r" and a.a=="Lance" and a.b=="None" then a.b="Block" a.c=false mp=mp -10 | |
2363 | ||
2364 | ||
2365 | Sound(Sounds.Slash,1.4,1) Block.Value=true c1(law,0.05,3,-1.1,0.5,-0.9,-90,85,0) | |
2366 | ||
2367 | ||
2368 | hu.WalkSpeed=ns*0.3 Sound(Sounds.Block,1,1) local b1=pa(m,"","Wedge",0,0,0,false,false,0,Misc["v"].shield.Reflectance,ts(Misc["v"].shield.BrickColor)) local b1m=it("SpecialMesh",b1) b1m.MeshType="Wedge" b1m.Scale=v3(0.2,3,2.5) b1:BreakJoints() b1w=weld(b1,Misc["v"].shield,b1,0,0,0,0,0,rd(90)) | |
2369 | ||
2370 | ||
2371 | local b2=pa(m,"","Wedge",0,0,0,false,false,0,Misc["v"].shield.Reflectance,ts(Misc["v"].shield.BrickColor)) local b2m=it("SpecialMesh",b2) b2m.MeshType="Wedge" b2m.Scale=v3(0.2,3,2.5) b2:BreakJoints() b2w=weld(b2,Misc["v"].shield,b2,0,0,0,rd(180),0,rd(-90)) | |
2372 | ||
2373 | ||
2374 | b1m.Scale=b1m.Scale*5 b2m.Scale=b2m.Scale*5 Sound(Sounds.Unsheath,1.5,1) for i=0,1,0.1 do b1w.C0=cf(-3*i,0,0)*ca(0,0,rd(90)) b2w.C0=cf(3*i,0,0)*ca(rd(0),rd(180),rd(90)) w() end | |
2375 | ||
2376 | ||
2377 | repeat w() mp=mp - 0.5 until mp < 1 or ky=="r" | |
2378 | ||
2379 | ||
2380 | Sound(Sounds.Unsheath,1.5,1) for i=1,0,-0.1 do b1w.C0=cf(-3*i,0,0)*ca(0,0,rd(90)) b2w.C0=cf(3*i,0,0)*ca(rd(0),rd(180),rd(90)) w() end | |
2381 | ||
2382 | ||
2383 | b1:Remove'' b2:Remove'' hu.WalkSpeed=ns*0.75 | |
2384 | ||
2385 | ||
2386 | Block.Value=false c1(law,0.05,3,-1.3,1,-0.2,-30,0,18) a.c=true a.b="None" | |
2387 | ||
2388 | ||
2389 | elseif mp >= 25 and k=="f" and a.a=="Lance" and a.b=="None" then a.b="Rapid" a.c=false mp=mp -25 hu.WalkSpeed=ns*0.5 | |
2390 | ||
2391 | ||
2392 | Trail2(9999,Misc["v"].spiketip,0,a.s.Lancet,0.8,cf(0,1,0)) cw(function() c1(tw,0.05,3,0,0,0,0,-90,0) end) cw(function() c1(hw,0.05,3,0,1.5,0,0,90,0) end) cw(function() c1(law,0.035,3,-1,0.5,-0.5,-80,80,0) end) | |
2393 | ||
2394 | ||
2395 | cw(function() c1(Misc["v"].han.Weld,0.04,1,0,0.8,0,0,0,0) end) cw(function() c1(Misc["v"].han.Weld,0.04,0,0,-2.25,0,0,0,0) end) c1(raw,0.035,3,1,0.5,0,0,0,-90) | |
2396 | ||
2397 | ||
2398 | local bgt=it("BodyGyro",to) bgt.maxTorque=v310 bgt.D=50 local fenci=-0.5 local tyms=0 repeat tyms=tyms + 1 if tyms%5 == 0 then Sound(Sounds.Slash,1.1,1) end if tyms%2 == 0 then if fenci == -0.5 then fenci=1.8 else fenci=-0.5 end c1(raw,1,3,1+fenci,0.5,0,rn(-6,6),0,-90+rn(-11,11)) end if tyms%8==0 then rayHit(0.5,1,ra,ca(rd(-90),0,0),13,5,8) end bgt.cframe=cf(to.Position,v3(mou.Hit.p.x,to.Position.y,mou.Hit.p.z)) mp=mp -2 w() until mp < 2 or ky=="f" | |
2399 | ||
2400 | ||
2401 | bgt:Remove'' w(0.1) rtab(sTrail,Misc["v"].spiketip) | |
2402 | ||
2403 | ||
2404 | hu.WalkSpeed=ns*0.75 cw(function() c1(tw,0.05,3,0,0,0,0,0,0) end) cw(function() c1(hw,0.05,3,0,1.5,0,0,0,0) end) cw(function() c1(Misc["v"].han.Weld,0.05,1,0,0.8,0,180,0,45) end) cw(function() c1(Misc["v"].han.Weld,0.05,0,0,-2.25,0,90,0,0) end) cw(function() c1(law,0.05,3,-1.3,1,-0.2,-30,0,18) end) c1(raw,0.04,3,0.7,0.8,0,45,0,-150) a.c=true a.b="None" | |
2405 | ||
2406 | ||
2407 | elseif k=="c" and a.a=="Lance" and a.b=="None" then a.b="Sit" a.c=false | |
2408 | ||
2409 | ||
2410 | Legz(false) cw(function() c1(tw,0.05,3,0,-1.5,0,-10,0,0) end) cw(function() c1(llw,0.1,3,-0.5,-1,0,-80,-28,0) end) c1(rlw,0.1,3,0.5,-1,0,-80,28,0) hu.WalkSpeed=0 cw(function() while a.b == "Sit" do addmp(2) w() end end) a.c=true | |
2411 | ||
2412 | ||
2413 | elseif k=="c" and a.a=="Lance" and a.b=="Sit" and a.c then | |
2414 | ||
2415 | ||
2416 | cw(function() c1(tw,0.1,3,0,0,0,0,0,0) end) cw(function() c1(llw,0.1,3,-0.5,-1,0,0,0,0) end) c1(rlw,0.1,3,0.5,-1,0,0,0,0) Legz(true) hu.WalkSpeed=ns*0.75 a.b="None" | |
2417 | ||
2418 | ||
2419 | elseif mp > 50 and k=="q" and a.a=="Lance" and a.b=="None" then a.b="GroundSmash" a.c=false Legz(false) mp=mp-50 cw(function() c1(Misc["v"].han.Weld,0.07,1,0,0.8,0,0,0,0) end) cw(function() c1(Misc["v"].han.Weld,0.07,0,0,-2.25,0,0,0,10) end) | |
2420 | ||
2421 | ||
2422 | Trail2(9999,Misc["v"].spiketip,0,a.s.Lancet,0.8,cf(0,1,0)) cw(function() c1(law,0.07,3,-1,1,0.3,60,0,200) end) cw(function() c1(raw,0.07,3,1,1,0.3,60,0,-200) end) | |
2423 | ||
2424 | ||
2425 | cw(function() c1(llw,0.07,3,-0.5,0,-0.6,10,0,0) end) cw(function() c1(rlw,0.07,3,0.5,-0.8,0,80,0,0) end) | |
2426 | ||
2427 | ||
2428 | c1(tw,0.05,3,0,-1.2,-0.6,-10,0,0) | |
2429 | ||
2430 | ||
2431 | w(0.1) GlowMesh(false,asset .. Decs.Crown,to,v3(12,5,12),raigcol2,cf(0,-2,0)) | |
2432 | ||
2433 | ||
2434 | rayHit(2.5,5,Misc["v"].han2,ca(rd(-90),0,0),7,25,30) | |
2435 | ||
2436 | ||
2437 | hu.WalkSpeed=ns*0.4 local bf=it("BodyForce",t) bf.force=v3(0,9000,0) game:service'Debris':AddItem(bf,0.3) | |
2438 | ||
2439 | ||
2440 | hu.WalkSpeed=ns*2 cw(function() c1(rlw,0.07,3,0.5,0,-0.6,10,0,0) end) cw(function() c1(llw,0.07,3,-0.5,-0.8,0,80,0,0) end) c1(tw,0.045,3,0,-1.2,-0.6,360,0,0) cleanweld(tw,"a1") | |
2441 | ||
2442 | ||
2443 | cw(function() c1(law,0.1,3,-1,1,0.3,-100,0,200) end) c1(raw,0.1,3,1,1,0.3,-100,0,-200) | |
2444 | ||
2445 | ||
2446 | hu.WalkSpeed=ns*0.75 GlowMesh(false,asset .. Decs.Crown,to,v3(8,5,10),raigcol2,cf(0,-2,-11)) Sound(Sounds.Smash,0.7,1) SplashDmg(false,Misc["v"].spiketip.Position,25,10,65) w(0.25) | |
2447 | ||
2448 | ||
2449 | rtab(sTrail,Misc["v"].spiketip) | |
2450 | ||
2451 | ||
2452 | cw(function()c1(tw,0.05,3,0,0,0,0,0,0)end) cw(function() c1(llw,0.05,3,-0.5,-1,0,0,0,0) end) cw(function() c1(rlw,0.05,3,0.5,-1,0,0,0,0) end) cw(function() c1(hw,0.05,3,0,1.5,0,0,0,0) end) cw(function() c1(Misc["v"].han.Weld,0.05,1,0,0.8,0,180,0,45) end) cw(function() c1(Misc["v"].han.Weld,0.05,0,0,-2.25,0,90,0,0) end) cw(function() c1(law,0.05,3,-1.3,1,-0.2,-30,0,18) end) c1(raw,0.04,3,0.7,0.8,0,45,0,-150) Legz(true) a.b="None" a.c=true | |
2453 | ||
2454 | ||
2455 | elseif mp > 210 and k=="n" and a.a=="Lance" and a.b=="None" then a.b="LanceThrow" a.c=false mp=mp-20 cw(function() c1(Misc["v"].han.Weld,0.07,1,0,0.8,0,0,0,0) end) cw(function() c1(Misc["v"].han.Weld,0.07,0,0,-2.25,0,0,0,55) end) | |
2456 | ||
2457 | ||
2458 | Sound(Sounds.Slash,0.35,2) cw(function() c1(Misc["v"].han.Weld,0.03,1,0,0.8,0,0,0,0) end) cw(function() c1(Misc["v"].han.Weld,0.03,0,0,-2.25,0,0,0,55) end) cw(function() c1(law,0.035,3,-1,0.5,-0.5,-86,15,0) end) c1(raw,0.06,3,1,0.5,0,0,0,-120) c1(raw,0.06,3,1,0.5,0,-86,-15,0) | |
2459 | ||
2460 | ||
2461 | Trail2(9999,Misc["v"].spiketip,0.04,a.s.Lancet,0.8,cf(0,1,0)) c1(tw,0.08,1,0,0,0,0,-360,0) cleanweld(tw,"a1") rtab(sTrail,Misc["v"].spiketip) a.s.Lance(false) ThrowLance(Misc["v"]) | |
2462 | ||
2463 | ||
2464 | cw(function() c1(law,0.05,3,-1.3,1,-0.2,30,0,18) end) c1(raw,0.04,3,0.7,0.8,0,-30,0,20) Misc["v"]=it("Model",m) mp=mp-180 | |
2465 | ||
2466 | ||
2467 | cw(function() c1(law,0.15,3,-1.3,1,-0.2,30,0,18) end) c1(raw,0.15,3,1.5,1,-0.2,-40,0,12) | |
2468 | ||
2469 | ||
2470 | local han=pa(Misc[k],"han","Block",0.75,1.75,0.75,false,false,0,0,"Dark stone grey") it("CylinderMesh",han) local hanw=weld(han,ra,han,0,-2.25,0,rd(90),0,0) hanw.C1=cf(0,0.8,0) | |
2471 | ||
2472 | ||
2473 | CreateLance() a.s.Lance(true) cw(function() c1(Misc["v"].han.Weld,0.05,1,0,0.8,0,180,0,45) end) cw(function() c1(Misc["v"].han.Weld,0.05,0,0,-2.25,0,90,0,0) end) cw(function() c1(law,0.05,3,-1.3,1,-0.2,-30,0,18) end) c1(raw,0.04,3,0.7,0.8,0,45,0,-150) a.c=true a.b="None" | |
2474 | ||
2475 | ||
2476 | elseif mp > 100 and k=="x" and a.a=="Lance" and a.b=="None" then a.s.Lance(false) a.b="Kick" a.c=false mp=mp-100 cw(function() c1(Misc["v"].han.Weld,0.07,1,0,0.8,0,0,0,0) end) cw(function() c1(Misc["v"].han.Weld,0.07,0,0,-2.25,0,90,0,30) end) | |
2477 | ||
2478 | ||
2479 | cw(function() c1(law,0.07,3,-1,1,0.3,60,0,200) end) c1(raw,0.07,3,1,1,0.3,60,0,-200) w(0.3) cw(function() c1(law,0.07,3,-1,0.5,-0.4,-90,0,200) end) cw(function() c1(raw,0.07,3,1,0.5,-0.4,-90,0,-200) end) c1(tw,0.07,0,0,2,0,0,0,0) w(0.2) | |
2480 | ||
2481 | ||
2482 | cw(function() c1(Misc["v"].han.Weld,0.07,0,0,-2.25,0,90,0,-90) end) hu.WalkSpeed=0 cw(function() c1(tw,0.07,1,0,3,0,0,0,0) end) cw(function() c1(tw,0.07,0,0,2,0,0,0,-90) end) cw(function() c1(law,0.07,3,-1,1,0,0,0,205) end) c1(raw,0.07,3,1,1,0,0,0,-180) | |
2483 | ||
2484 | ||
2485 | rayHit(3,3,rl,cf(0.7,0,0)*ca(rd(-90),0,0),6,12,18) Trail2(9999,rl,0.04,"",0.4,cf(0,-2.25,0)) c1(tw,0.02,1,0,3,0,-360*2,0,0) cleanweld(tw,"a1") w(0.2) rtab(sTrail,rl) | |
2486 | ||
2487 | ||
2488 | w(0.25) c1(tw,0.08,0,0,10,0,0,0,-90) cw(function() c1(tw,0.1,1,0,0,0,0,0,0) end) cw(function() c1(tw,0.05,0,0,0,0,0,0,0) end) hu.WalkSpeed=ns*0.75 a.s.Lance(true) cw(function() c1(Misc["v"].han.Weld,0.05,1,0,0.8,0,180,0,45) end) cw(function() c1(Misc["v"].han.Weld,0.05,0,0,-2.25,0,90,0,0) end) cw(function() c1(law,0.05,3,-1.3,1,-0.2,-30,0,18) end) c1(raw,0.04,3,0.7,0.8,0,45,0,-150) a.c=true a.b="None" | |
2489 | ||
2490 | ||
2491 | elseif mp >= 70 and k=="y" and a.a=="Lance" and a.b=="None" then a.b="Combo2" a.c=false mp=mp -70 | |
2492 | ||
2493 | ||
2494 | Sound(Sounds.Slash,1.4,2) Trail2(9999,la,0.04,ts(la.BrickColor),0.5,cf(0,-2.25,0)) cw(function() c1(hw,0.08,3,0,1.5,0,-20,-90,0) end) cw(function() c1(tw,0.08,3,0,0,0,0,90,0) end) c1(law,0.08,3,-1,0.5,0,0,0,90) | |
2495 | ||
2496 | ||
2497 | local rhit,aihu=rayHit2(la,ca(rd(-90),0,0),6) if rhit and aihu and aihu.Parent:findFirstChild("Torso") then hu.WalkSpeed=0 aihu.PlatformStand=true local vto=aihu.Parent.Torso Sound(Sounds.Smash,1,1) Dmgz(false,aihu,rn(18,25),vto) local aibp=it("BodyPosition",vto) aibp.maxForce=v310 aibp.position=vto.Position + v3(0,7,0) + ((to.CFrame*cf(0,0,-4)).p - to.Position) | |
2498 | ||
2499 | ||
2500 | rtab(sTrail,la) c1(law,0.065,3,-0.7,0,0,-160,0,40) | |
2501 | ||
2502 | ||
2503 | cw(function() c1(Misc["v"].han.Weld,0.2,1,0,0.8,0,0,0,0) end) cw(function() c1(Misc["v"].han.Weld,0.2,0,0,-2.25,0,0,0,0) end) | |
2504 | ||
2505 | ||
2506 | cw(function() c1(hw,0.08,3,0,1.5,0,-40,80,0) end) cw(function() c1(tw,0.08,3,0,0,0,0,-80,0) end) cw(function() c1(raw,0.08,3,1,0.5,0,20,45,-100) c1(raw,0.08,3,1,0.5,-0.5,-150,45,-100) end) | |
2507 | ||
2508 | ||
2509 | Trail2(9999,Misc["v"].spiketip,0.04,a.s.Lancet,0.8,cf(0,1,0)) Sound(Sounds.Slash,0.35,2) rayHit(2,5,ra,cf(0,0,-1.5)*ca(rd(-90),0,0),13,24,28) w(0.1) | |
2510 | ||
2511 | ||
2512 | cw(function() w(0.5) aibp:Remove'' w() vto.Velocity=(cf(to.Position,vto.Position)*ca(0,rd(15),0)).lookVector*60 w(0.5) aihu.PlatformStand=false end) c1(law,0.04,3,-1,0.5,-0.5,-120,-60,0) w(0.1) rtab(sTrail,Misc["v"].spiketip) | |
2513 | ||
2514 | ||
2515 | else w(0.8) rtab(sTrail,la) end | |
2516 | ||
2517 | ||
2518 | hu.WalkSpeed=ns*0.75 cw(function() c1(hw,0.04,3,0,1.5,0,0,0,0) end) cw(function() c1(Misc["v"].han.Weld,0.05,1,0,0.8,0,180,0,45) end) cw(function() c1(Misc["v"].han.Weld,0.05,0,0,-2.25,0,90,0,0) end) cw(function() c1(tw,0.04,3,0,0,0,0,0,0) end) cw(function() c1(law,0.05,3,-1.3,1,-0.2,-30,0,18) end) c1(raw,0.04,3,0.7,0.8,0,45,0,-150) a.c=true a.b="None" | |
2519 | ||
2520 | ||
2521 | elseif mp >= 90 and k=="g" and a.a=="Lance" and a.b=="None" then a.b="Gun" a.c=false mp=mp -90 | |
2522 | ||
2523 | ||
2524 | a.s.Lance(false) Misc["v"].han2.Weld.C0=cf(0,-1.25,0) Trail2(9999,Misc["v"].spiketip,0,a.s.Lancet,0.8,cf(0,1,0)) cw(function() c1(tw,0.05,3,0,0,0,0,-60,0) end) cw(function() c1(hw,0.05,3,0,1.5,0,0,60,0) end) cw(function() c1(law,0.035,3,-1,0.5,-0.5,0,0,75) end) | |
2525 | ||
2526 | ||
2527 | cw(function() c1(Misc["v"].han.Weld,0.04,1,0,0.8,0,0,0,0) end) cw(function() c1(Misc["v"].han.Weld,0.04,0,0,-2.25,0,0,0,0) end) c1(raw,0.035,3,1,0.5,0,-30,0,-95) | |
2528 | ||
2529 | ||
2530 | rtab(sTrail,Misc["v"].spiketip) w(0.2) for i=0,1,0.1 do Misc["v"].spiketip.Weld.C0=cf(-0.8*i,3.2*i,0) Misc["v"].spiketip.Weld.C1=cf(0,-4+(4*i),0)*ca(0,0,rd(-135*i)) w() end w(0.1) for i=1,3 do GlowMesh(true,"Sphere",Misc["v"].spike,v3(9,9,9),raigcol2,cf(rn(-15,15)/10,6+rn(-10,10)/10,rn(-15,15)/10)) end rt=pa(m,"","Block",0,0,0,false,false,1,0,"") rtw=weld(rt,Misc["v"].spike,rt,0,5.5,0,0,0,0) | |
2531 | ||
2532 | ||
2533 | ShootLanceBullet(rt,1,35) local smok=it("Smoke",rt) smok.RiseVelocity=15 smok.Size=9 smok.Opacity=0.7 smok.Color=bc("Really black").Color cw(function() c1(hw,0.2,3,0,1.5,0,-20,90,0) end) c1(raw,0.2,3,1,0.5,0,-30,0,-120) c1(raw,0.35,3,1,0.5,0,-30,0,-103) | |
2534 | ||
2535 | ||
2536 | w(0.8) smok.Enabled=false w(0.2) for i=1,0,-0.1 do Misc["v"].spiketip.Weld.C0=cf(-0.8*i,3.2*i,0) Misc["v"].spiketip.Weld.C1=cf(0,-4+(4*i),0)*ca(0,0,rd(-135*i)) w() end game:service'Debris':AddItem(rt,2) a.s.Lance(true) cw(function() c1(tw,0.05,3,0,0,0,0,0,0) end) cw(function() c1(hw,0.05,3,0,1.5,0,0,0,0) end) cw(function() c1(Misc["v"].han.Weld,0.05,1,0,0.8,0,180,0,45) end) cw(function() c1(Misc["v"].han.Weld,0.05,0,0,-2.25,0,90,0,0) end) cw(function() c1(law,0.05,3,-1.3,1,-0.2,-30,0,18) end) c1(raw,0.04,3,0.7,0.8,0,45,0,-150) a.c=true a.b="None" | |
2537 | ||
2538 | ||
2539 | elseif mp >= 100 and k=="z" and a.a=="Lance" and a.b=="None" then a.b="SummonLance" a.c=false mp=mp -100 | |
2540 | ||
2541 | ||
2542 | cw(function() c1(tw,0.07,3,0,0,0,0,65,0) end) cw(function() c1(hw,0.07,3,0,1.5,0,-15,-65,0) end) c1(law,0.07,3,-1,1,-0.5,-70,-65,0) w(0.2) cw(function() Sound(Sounds.Ghost,0.9,2) for i=1,5 do SummonProjectile(to,cf(0,-2.5,-2.5+(-i*6)),1+(i/8),asset .. Decs.Spike,15,"Really black",v3(0.8,7.5,0.8)) w(0.1) end end) cw(function() c1(hw,0.07,3,0,1.5,0,-50,-65,0) end) c1(law,0.07,3,-1,1,-0.5,-160,-65,0) w(1) | |
2543 | ||
2544 | ||
2545 | Sound(Sounds.Imbue,1.5,2) cw(function() c1(tw,0.05,3,0,0,0,0,0,0) end) cw(function() c1(hw,0.05,3,0,1.5,0,0,0,0) end) cw(function() c1(Misc["v"].han.Weld,0.05,1,0,0.8,0,180,0,45) end) cw(function() c1(Misc["v"].han.Weld,0.05,0,0,-2.25,0,90,0,0) end) cw(function() c1(law,0.05,3,-1.3,1,-0.2,-30,0,18) end) c1(raw,0.04,3,0.7,0.8,0,45,0,-150) a.c=true a.b="None" | |
2546 | ||
2547 | ||
2548 | elseif mp >= 300 and k=="b" and a.a=="Lance" and a.b=="None" then a.b="LanceBarrage" a.c=false mp=mp -300 | |
2549 | ||
2550 | ||
2551 | GlowMesh(false,asset .. Decs.Crown,to,v3(12,5,12),raigcol2,cf(0,-2,0)) Legz(false) cw(function() c1(llw,0.05,3,-0.5,-1,0,-50,0,0) end) cw(function() c1(rlw,0.05,3,0.5,-1,0,-50,0,0) end) cw(function() c1(tw,0.05,3,0,10,0,0,-90,-50) end) cw(function() c1(hw,0.05,3,0,1.5,0,0,90,0) end) cw(function() c1(Misc["v"].han.Weld,0.05,1,0,0.8,0,0,0,0) end) cw(function() c1(Misc["v"].han.Weld,0.05,0,0,-2.25,0,0,0,0) end) cw(function() c1(law,0.05,3,-1.3,1,-0.2,-30,0,18) end) | |
2552 | ||
2553 | ||
2554 | c1(raw,0.05,3,1,0,-0.7,-140,0,-150) Misc["v"].han.Weld.Part0 = ll Misc["v"].han.Weld.C0 = cf(0.5,-1,0)*ca(0,0,rd(10)) cw(function() c1(llw,0.07,3,-0.5,-1,0,0,0,10) end) cw(function() c1(rlw,0.07,3,0.5,-1,0,0,0,-10) end) cw(function() c1(tw,0.07,3,0,11,0,1,-90,0) end) | |
2555 | ||
2556 | ||
2557 | hu.WalkSpeed = ns*2 cw(function() c1(law,0.07,3,-1,0.6,0,0,0,110) end) c1(raw,0.07,3,1,0.5,0,0,0,-70) local spining = true | |
2558 | ||
2559 | ||
2560 | local rt = pa(m,"","Block",0,0,0,false,false,0,1,"") local rtw = weld(rt,t,rt,0,0.5,0,0,0,rd(-20)) rtw.C1 = ca(0,rd(90),0) | |
2561 | ||
2562 | ||
2563 | local mzs = it("Model",m) local chim = 0 for i=0,360,30 do chim = chim+1 local shs = pa(mzs,"han" ..chim,"Block",0,0,0,false,false,0.2,0,"White") it("CylinderMesh",shs).Scale = v3(1,2,1)*5 | |
2564 | ||
2565 | ||
2566 | local sh2 = pa(shs,"spi","Block",0,0,0,false,false,0.2,0,"White") local sh2m = it("SpecialMesh",sh2) sh2m.MeshType = "FileMesh" sh2m.MeshId = asset .. Decs.Spike sh2m.Scale = v3(1.2,10,1.2) | |
2567 | ||
2568 | ||
2569 | local shs3 = weld(shs,rt,shs,0,0,0,rd(0),rd(i),0) shs3.C1 = cf(0,-11,0)*ca(rd(-90),0,0) local shs4 = weld(sh2,shs,sh2,0,4.6,0,0,0,0) | |
2570 | ||
2571 | ||
2572 | end cw(function() local ty = 0 repeat ty = ty + 1 if ty%5 == 0 then GlowMesh(true,asset .. Decs.Crown,Misc["v"].spiketip,v3(6,1.25,6),raigcol2,cf(0,0,0)*ca(rd(180),rd(ty*3),0)) end rtw.C0 = rtw.C0 *ca(0,rd(10),0) w() until not spining end) | |
2573 | ||
2574 | ||
2575 | for si=1,24 do local xi = si if xi > 12 then xi = xi - 12 end mzs["han" ..xi].spi.Transparency = 1 cw(function() w(0.08) for ii=1,0.2,-0.05 do mzs["han" ..xi].spi.Transparency = ii w() end end) | |
2576 | ||
2577 | ||
2578 | ShootSpike(9999999,nil,"White",1,7.5,cf(mzs["han" ..xi].spi.Position,mou.hit.p),false,3,t) w() Sound(Sounds.Unsheath,1.6,1) w(0.17) end for i,v in pairs(mzs:children()) do cw(function() for xi=0.2,1,0.1 do v.Transparency = xi v.spi.Transparency = xi w() end end) w(0.05) end w(0.6) spining = false | |
2579 | ||
2580 | ||
2581 | cw(function() c1(llw,0.05,3,-0.5,-1,0,-90,0,0) end) cw(function() c1(rlw,0.05,3,0.5,-1,0,-90,0,0) end) cw(function() c1(tw,0.05,3,0,8.5,0,0,-90,-50) end) cw(function() c1(Misc["v"].han.Weld,0.05,1,0,0.8,0,0,0,0) end) cw(function() c1(Misc["v"].han.Weld,0.05,0,0,-2.25,0,0,0,0) end) cw(function() c1(law,0.05,3,-1.3,1,-0.2,-30,0,18) end) | |
2582 | ||
2583 | ||
2584 | c1(raw,0.05,3,1,0,-0.7,-140,0,-150) cw(function() c1(llw,0.07,3,-0.5,-1,0,0,0,0) end) cw(function() c1(rlw,0.07,3,0.5,-1,0,0,0,0) end) Misc["v"].han.Weld.Part0 = ra Misc["v"].han.Weld.C0 = cf(0,-2.25,0) cw(function() c1(Misc["v"].han.Weld,0.05,1,0,0.8,0,180,0,45) end) cw(function() c1(Misc["v"].han.Weld,0.05,0,0,-2.25,0,90,0,0) end) cw(function() c1(tw,0.05,3,0,0,0,0,0,0) end) cw(function() c1(hw,0.05,3,0,1.5,0,0,0,0) end) cw(function() c1(Misc["v"].han.Weld,0.05,1,0,0.8,0,180,0,45) end) cw(function() c1(Misc["v"].han.Weld,0.05,0,0,-2.25,0,90,0,0) end) cw(function() c1(law,0.05,3,-1.3,1,-0.2,-30,0,18) end) hu.WalkSpeed=ns*0.75 c1(raw,0.04,3,0.7,0.8,0,45,0,-150) a.c=true a.b="None" Legz(true) mzs:Remove'' | |
2585 | ||
2586 | ||
2587 | elseif mp >= 500 and k=="u" and a.a=="Lance" and a.b=="None" then a.b="Swords" a.c=false mp=mp-500 | |
2588 | ||
2589 | ||
2590 | local cr1 = pa(workspace.CurrentCamera,"","Block",0.5,0,4,false,false,0.5,0,"White") local cr1w = weld(cr1,to,cr1,0,0,-46,0,rd(135),0) local cr2 = pa(workspace.CurrentCamera,"","Block",0.5,0,4,false,false,0.5,0,"White") local cr2w = weld(cr2,to,cr2,0,0,-46,0,rd(45),0) | |
2591 | ||
2592 | ||
2593 | cw(function() c1(tw,0.05,3,0,0,0,0,-90,0) end) cw(function() c1(hw,0.05,3,0,1.5,0,0,90,0) end) cw(function() c1(Misc["v"].han.Weld,0.05,1,0,0.8,0,0,0,0) end) cw(function() c1(Misc["v"].han.Weld,0.05,0,0,-2.25,0,0,0,0) end) c1(raw,0.05,3,1,0.5,0,0,0,-90) | |
2594 | ||
2595 | ||
2596 | Misc["v"].han.Weld.Part0 = to c1(Misc["v"].han.Weld,1,3,0,0.5,-3,-90,0,0) cw(function() c1(law,0.05,3,-1,0.5,0,45,0,135) end) cw(function() c1(raw,0.05,3,1,0.5,0,45,0,-135) end) cw(function() c1(tw,0.05,3,0,0,0,0,0,0) end) c1(hw,0.05,3,0,1.5,0,0,0,0) | |
2597 | ||
2598 | ||
2599 | local spinin = true local rt = pa(m,"","Block",0,0,0,false,false,1,0,"") local rtw = weld(rt,ra,rt,0,-15,-1,0,0,0) | |
2600 | ||
2601 | ||
2602 | local rmzs = it("Model",m) local chim = 0 for i=0,360,360/12 do chim = chim+1 local shs = pa(rmzs,"han" ..chim,"Block",0,0,0,false,false,1,0,"Institutional white") local shsm = it("SpecialMesh",shs) shsm.MeshType = "FileMesh" shsm.MeshId = Decs.Sword1 shsm.Scale = v3(1.8,1.4,1.2) | |
2603 | ||
2604 | ||
2605 | local shs3 = weld(shs,rt,shs,0,0,0,rd(0),rd(i),0) shs3.C1 = cf(0,0,-8)*ca(rd(0),0,0) | |
2606 | ||
2607 | ||
2608 | end local lt = pa(m,"","Block",0,0,0,false,false,1,0,"") local ltw = weld(lt,la,lt,0,-22,-1,0,0,0) | |
2609 | ||
2610 | ||
2611 | local lmzs = it("Model",m) local chim = 0 for i=0,360,360/8 do chim = chim+1 local shs = pa(lmzs,"han" ..chim,"Block",0,0,0,false,false,1,0,"Institutional white") local shsm = it("SpecialMesh",shs) shsm.MeshType = "FileMesh" shsm.MeshId = Decs.Sword1 shsm.Scale = v3(1.8,1.4,1.2) | |
2612 | ||
2613 | ||
2614 | local shs3 = weld(shs,lt,shs,0,0,0,rd(0),rd(i),0) shs3.C1 = cf(0,0,-6)*ca(rd(0),0,0) | |
2615 | ||
2616 | ||
2617 | end cw(function() cw(function() for x,v in pairs(lmzs:children()) do w(0.06) cw(function() Sound(Sounds.Unsheath,1.4,1,v) for i=1,0.4,-0.05 do w() v.Transparency = i end Sound(Sounds.Slash,1.4,1,v) end) end | |
2618 | ||
2619 | ||
2620 | end) cw(function() for x,v in pairs(rmzs:children()) do w(0.06) cw(function() Sound(Sounds.Unsheath,1.4,1,v) for i=1,0.4,-0.05 do w() v.Transparency = i end Sound(Sounds.Slash,1.4,1,v) end) end end) repeat rtw.C0 = rtw.C0 *ca(0,rd(8),0) ltw.C0 = ltw.C0 *ca(0,rd(-8),0) w() until not spinin end) | |
2621 | ||
2622 | ||
2623 | w(0.5) cw(function() c1(law,0.025,3,-1,0.5,0,-90,0,90) end) cw(function() c1(raw,0.025,3,1,0.5,0,-90,0,-90) end) | |
2624 | ||
2625 | ||
2626 | w(2.5) for i=0,1,0.1 do for x,v in pairs(lmzs:children()) do v.Weld.C1 = cf(0,-3*i,-6+(13*i))*ca(rd(-120*i),0,0) end for x,v in pairs(rmzs:children()) do v.Weld.C1 = cf(0,-5*i,-8+(19*i))*ca(rd(-120*i),0,0) end w() end for i=1,#lmzs:children() do local v = lmzs["han" ..i] Sound(Sounds.Unsheath,1.6,1,v) ShootProjectile(v,cf(v.Position,(to.CFrame*cf(0,0,-40)).p),ca(rd(180),0,0),5,7,50) v.Transparency = 1 w(0.1) end for i=1,#rmzs:children() do local v = rmzs["han" ..i] Sound(Sounds.Unsheath,1.6,1,v) ShootProjectile(v,cf(v.Position,(to.CFrame*cf(0,0,-40)).p),ca(rd(180),0,0),5,7,50) v.Transparency = 1 w(0.1) end fade(cr1,0.1) fade(cr2,0.1) w(0.25) | |
2627 | ||
2628 | ||
2629 | rayHit(2,5,Misc["v"].han,cf(0,0,0)*ca(rd(-90),0,0),14,25,30) Trail2(9999,Misc["v"].spiketip,0,"Black",0.8,cf(-2,0,0)) Trail2(9999,Misc["v"].spike,0,"White",0.8,cf(2,5,0)) Trail2(9999,Misc["v"].han,0,a.s.Lancet,0.5,cf(0,1,0)) | |
2630 | ||
2631 | ||
2632 | cw(function() for x=3,100,3 do if x%6 == 0 then local hax = true if x%12 == 0 then hax = false end GlowMesh(hax,asset .. Decs.Spike,Misc["v"].spike,v3(3,20,3),raigcol2,cf(0,0,0)) end w() end end) Sound(Sounds.Ghost,0.8,1.5) c1(Misc["v"].han.Weld,0.03,3,0,0.5,-45,-90,0,0) GlowMesh(false,asset .. Decs.Ring,to,v3(20,20,10),raigcol2,cf(0,0,-57)*ca(0,0,0)) Sound(Sounds.Imbue,0.8,1.5) | |
2633 | ||
2634 | ||
2635 | rtab(sTrail,Misc["v"].spiketip) rtab(sTrail,Misc["v"].spike) rtab(sTrail,Misc["v"].han) w(0.5) cw(function() c1(Misc["v"].han.Weld,0.05,3,0,0.5,-3,-90,0,0) end) cw(function() c1(tw,0.05,3,0,0,0,0,-90,0) end) cw(function() c1(hw,0.05,3,0,1.5,0,0,90,0) end) c1(raw,0.05,3,1,0.5,0,0,0,-90) w(0.5) c1(Misc["v"].han.Weld,1,3,0,-2.25,0,0,0,0) | |
2636 | ||
2637 | ||
2638 | lt:Remove'' rt:Remove'' Misc["v"].han.Weld.Part0 = ra Misc["v"].han.Weld.C0 = cf(0,-2.25,0) cw(function() c1(Misc["v"].han.Weld,0.05,1,0,0.8,0,180,0,45) end) cw(function() c1(Misc["v"].han.Weld,0.05,0,0,-2.25,0,90,0,0) end) cw(function() c1(tw,0.05,3,0,0,0,0,0,0) end) cw(function() c1(hw,0.05,3,0,1.5,0,0,0,0) end) cw(function() c1(Misc["v"].han.Weld,0.05,1,0,0.8,0,180,0,45) end) cw(function() c1(Misc["v"].han.Weld,0.05,0,0,-2.25,0,90,0,0) end) cw(function() c1(law,0.05,3,-1.3,1,-0.2,-30,0,18) end) c1(raw,0.04,3,0.7,0.8,0,45,0,-150) a.c=true a.b="None" Legz(true) | |
2639 | ||
2640 | ||
2641 | elseif mp >= maxmp*0.8 and k=="h" and a.a=="Lance" and a.b=="None" then a.b="RushCharge" a.c=false mp=rn(1,maxmp*0.2) | |
2642 | ||
2643 | ||
2644 | cw(function() c1(law,0.05,3,-1.5,0.5,-0.5,-90,15,0) end) cw(function() c1(Misc["v"].han.Weld,0.05,1,0,0.8,0,0,0,0) end) cw(function() c1(Misc["v"].han.Weld,0.05,0,0,-2.25,0,-30,0,0) end) cw(function() c1(Misc["v"].shield.Weld,0.05,0,-2.5,2.75,2.5,0,25,80) end) c1(raw,0.05,3,1,0.5,-0.5,-120,0,-90) | |
2645 | ||
2646 | ||
2647 | Sound(Sounds.Abscond,0.9,1) local at = Misc["v"].shield local shieldz = {} local spaiks = {} local shieldin = true | |
2648 | ||
2649 | ||
2650 | for yy=1,8 do Sound(Sounds.Unsheath,1.6,1) local dec = at:Clone() dec.Parent = m local decw = weld(dec,at,dec,0,0,0,0,0,0) | |
2651 | ||
2652 | ||
2653 | ti(shieldz,dec) for ii=0,1,0.2 do decw.C0 = cf(0,-0.5*ii,-2.25*ii)*ca(rd(-25*ii),rd(5*ii),0) w() end at = dec cw(function() repeat w() until not shieldin w(1+(yy/6)) decw:Remove'' dec.CanCollide = true w(3) fade(dec,0.1) end) | |
2654 | ||
2655 | ||
2656 | cw(function() local dec = at:Clone() dec.Parent = m local decw = weld(dec,at,dec,0,0,0,0,0,0) ti(shieldz,dec) for ii=0,1,0.2 do decw.C0 = cf(-2.8*ii,-0.65*ii,0)*ca(0,0,rd(20*ii)) w() end Sound(Sounds.Unsheath,1.6,1) repeat w() until not shieldin w((yy/10)) for ii=1,0,-0.2 do decw.C0 = cf(-2.8*ii,-0.65*ii,0)*ca(0,0,rd(20*ii)) w() end end) | |
2657 | ||
2658 | ||
2659 | cw(function() local dec = at:Clone() dec.Parent = m local decw = weld(dec,at,dec,0,0,0,0,0,0) ti(shieldz,dec) for ii=0,1,0.2 do decw.C0 = cf(2.8*ii,0.65*ii,0)*ca(0,0,rd(20*ii)) w() end repeat w() until not shieldin w((yy/10)) for ii=1,0,-0.2 do decw.C0 = cf(2.8*ii,0.65*ii,0)*ca(0,0,rd(20*ii)) w() end end) | |
2660 | ||
2661 | ||
2662 | end for i,v in pairs(shieldz) do w() local dec = at:Clone() dec.Name = "spaik" dec.BrickColor = bc("Black") dec.Mesh:Remove() dec.Parent = m local decw = weld(dec,v,dec,0,0,0,0,0,0) local ssm = it("SpecialMesh",dec) ssm.MeshType = "FileMesh" ssm.MeshId = asset .. Decs.Spike | |
2663 | ||
2664 | ||
2665 | cw(function() for ii=0,1,0.1 do decw.C0 = cf(0,1.25*ii,0) ssm.Scale = v3(0.5,3.3,0.5)*ii w() end ti(spaiks,dec) Sound(Sounds.Unsheath,1.4,1) end) end | |
2666 | ||
2667 | ||
2668 | local fi = at:Clone() fi.Parent = m fi.Mesh:Remove() fi.Transparency = 1 fiw = weld(fi,t,fi,0,0,6,-90,0,0) local fia = it("Fire",fi) fia.Heat = -25 fia.Size = 22 fia.Color = bc("Really blue").Color fia.SecondaryColor = bc("White").Color | |
2669 | ||
2670 | ||
2671 | Sound(Sounds.Abscond,1.2,2) hu.WalkSpeed = ns*3 local zemagiks = false | |
2672 | ||
2673 | ||
2674 | for tx=1,500 do if tx%4==0 then GlowMesh(false,"Block",Misc["v"].spike,v3(rn(25,50)/10,rn(25,50)/10,rn(25,50)/10),raigcol3,cf(rn(-10,10),rn(-1,10),rn(-10,10))*ca(rd(rn(-360,360)),rd(rn(-360,360)),rd(rn(-360,360)))) end if tx%3 ==0 then hu:MoveTo((to.CFrame*cf(0,0,-5)).p,to) end | |
2675 | ||
2676 | ||
2677 | if tx%12==0 then SplashDmg(false,to.Position,12,18,100) GlowMesh(false,asset .. Decs.Crown,Misc["v"].spike,v3(10,20,10),raigcol3,cf(0,8,0)*ca(rd(180),rd(tx*5),0)) end if tx%7 == 0 then rayHit(0.4,5,Misc["v"].han,cf(0,0,0)*ca(rd(-90),0,0),14,5,5) end if tx%2==0 then if zemagiks then zemagiks = false else zemagiks = true end GlowMesh(zemagiks,asset .. Decs.Spike,Misc["v"].spike,v3(4.4,27,4.4),raigcol3,cf(0,0,0)) end w() end | |
2678 | ||
2679 | ||
2680 | hu.WalkSpeed = ns*0.75 for i,v in pairs(spaiks) do w() cw(function() for ii=1,0,-0.1 do v.Weld.C0 = cf(0,1.25*ii,0) v.Mesh.Scale = v3(0.5,3.3,0.5)*ii w() end Sound(Sounds.Unsheath,1.4,1) shieldin = false v:Remove() end) end | |
2681 | ||
2682 | ||
2683 | for ix=22,0,-0.5 do fia.Size = ix w() end fi:Remove() w(1) cw(function() c1(Misc["v"].shield.Weld,0.05,0,-0.6,-1.25,0,55,0,90) end) cw(function() c1(Misc["v"].han.Weld,0.04,1,0,0.8,0,180,0,45) end) cw(function() c1(Misc["v"].han.Weld,0.04,0,0,-2.25,0,90,0,0) end) cw(function() c1(law,0.04,3,-1.3,1,-0.2,-30,0,18) end) c1(raw,0.04,3,0.7,0.8,0,45,0,-150) a.b="None" a.c=true | |
2684 | ||
2685 | ||
2686 | end -- key | |
2687 | ||
2688 | ||
2689 | end -- bool | |
2690 | ||
2691 | ||
2692 | end -- func end | |
2693 | ||
2694 | ||
2695 | loltewlnaem = "blockof" | |
2696 | ||
2697 | ||
2698 | re(bp,loltewlnaem) | |
2699 | ||
2700 | ||
2701 | bin=it("HopperBin",bp) bin.Name=loltewlnaem | |
2702 | ||
2703 | ||
2704 | script.Parent=bin | |
2705 | ||
2706 | ||
2707 | bin.Selected:connect(function(mouse) mou = mouse | |
2708 | ||
2709 | ||
2710 | mouse.Button1Down:connect(function() Button = true cw(function() repeat w(0.1) a.clickHold = a.clickHold + 0.1 until not Button end)() | |
2711 | ||
2712 | ||
2713 | end) | |
2714 | ||
2715 | ||
2716 | mouse.Button1Up:connect(function() Button = false | |
2717 | ||
2718 | ||
2719 | end) | |
2720 | ||
2721 | ||
2722 | mouse.KeyDown:connect(function(k2) local k = k2:lower() Key = true | |
2723 | ||
2724 | ||
2725 | ky = "" | |
2726 | ||
2727 | ||
2728 | --[[if k == "p" then --Sound(asset .. Sounds.Cast,2,1) | |
2729 | ||
2730 | ||
2731 | end ]] | |
2732 | ||
2733 | ||
2734 | if a.a == "None" then | |
2735 | ||
2736 | ||
2737 | a.Act(k,true) | |
2738 | ||
2739 | ||
2740 | else | |
2741 | ||
2742 | ||
2743 | a.Act(k,false) | |
2744 | ||
2745 | ||
2746 | end -- a ab end | |
2747 | ||
2748 | ||
2749 | end) | |
2750 | ||
2751 | ||
2752 | mouse.KeyUp:connect(function(k2) | |
2753 | ||
2754 | ||
2755 | pcall(function() | |
2756 | ||
2757 | ||
2758 | ky = ""..k2:lower() | |
2759 | ||
2760 | ||
2761 | --local ky = false | |
2762 | ||
2763 | ||
2764 | end) | |
2765 | ||
2766 | ||
2767 | Key = false end) | |
2768 | ||
2769 | ||
2770 | end) | |
2771 | ||
2772 | ||
2773 | bin.Deselected:connect(function(mouse) | |
2774 | ||
2775 | ||
2776 | ||
2777 | ||
2778 | end) | |
2779 | ||
2780 | ||
2781 | --loadstring(game.Lighting.BootSeks.Value)() | |
2782 | ||
2783 | ||
2784 | re(pg,loltewlnaem) raigcol="Alder" raigcol2="New Yeller" raigcol3="Navy blue" raigcol4="Bright red" | |
2785 | ||
2786 | ||
2787 | Gui=it("ScreenGui",pg) Gui.Name=loltewlnaem | |
2788 | ||
2789 | ||
2790 | fr=it("Frame",Gui) fr.Size=ud(1,0,1,0) fr.Active=false fr.BackgroundTransparency=1 | |
2791 | ||
2792 | ||
2793 | mptray=it("TextLabel",fr) mptray.BackgroundColor3=bc("Black").Color | |
2794 | ||
2795 | ||
2796 | mptray.Size=ud(0.18,0,0.08,0) mptray.BorderSizePixel=0 mptray.Position=ud(0.41,0,0.025,0) mptray.Text="" | |
2797 | ||
2798 | ||
2799 | mptext=it("TextLabel",mptray) mptext.BackgroundTransparency=1 mptext.Size=ud(1,0,0.5,0) mptext.Position = ud(0,0,0.1,0) mptext.TextColor3=bc("White").Color | |
2800 | ||
2801 | ||
2802 | mptext.FontSize="Size18" mptext.Font="ArialBold" mptext.ZIndex=2 mptext.Text="Mp P" .. "ower" | |
2803 | ||
2804 | ||
2805 | mptext2=it("TextLabel",mptray) mptext2.BackgroundTransparency=1 mptext2.Size=ud(1,0,0.5,0) mptext2.Position = ud(0,0,0.4,0) mptext2.TextColor3=bc("White").Color | |
2806 | ||
2807 | ||
2808 | mptext2.FontSize="Size18" mptext2.Font="ArialBold" mptext2.ZIndex=2 mptext2.Text="/" | |
2809 | ||
2810 | ||
2811 | mpfill=it("ImageLabel",mptray) mpfill.BackgroundColor3=bc(raigcol).Color mpfill.Image=asset .. Decs.Shine mpfill.Size=ud(0.97,0,0.90,0) mpfill.Position=ud(0.015,0,0.05,0) | |
2812 | ||
2813 | ||
2814 | sttray=it("ImageLabel",fr) sttray.BackgroundColor3=bc("Black").Color | |
2815 | ||
2816 | ||
2817 | sttray.Size=ud(0.2,0,0.055,0) sttray.BorderSizePixel=0 sttray.Position=ud(0.043,0,0.94,0) sttray.Image=asset .. Decs.Shine | |
2818 | ||
2819 | ||
2820 | sttext=it("TextLabel",fr) sttext.BackgroundTransparency=1 | |
2821 | ||
2822 | ||
2823 | sttext.Size=ud(0.2,0,0.055,0) sttext.BorderSizePixel=0 sttext.ZIndex=2 sttext.Position=ud(0.043,0,0.94,0) | |
2824 | ||
2825 | ||
2826 | sttext.FontSize="Size18" sttext.Font="ArialBold" sttext.Text="Mode:" sttext.TextColor3=bc("White").Color | |
2827 | ||
2828 | ||
2829 | cw(function() while w() do mptext2.Text = ts(mf(mp)).. "/" ..ts(mf(maxmp)) sttext.Text=" " ..a.a.. " [" ..a.b.. "] " mpfill.Size=ud((0.97/maxmp)*mp,0,0.9,0) end end) | |
2830 | ||
2831 | ||
2832 | cw(function() while w() do if mp >= maxmp then local raigcolz=bc(raigcol).Color local rr,gg,bb=raigcolz.r,raigcolz.g,raigcolz.b for xz=gg,gg-80,-5 do if mp < maxmp then mpfill.BackgroundColor3=bc(raigcol).Color break end mpfill.BackgroundColor3=c3(rr,xz,bb) w() end | |
2833 | ||
2834 | ||
2835 | for xz=gg-80,gg,5 do if mp < maxmp then mpfill.BackgroundColor3=bc(raigcol).Color break end mpfill.BackgroundColor3=c3(rr,xz,bb) w() end end end end) local runspi=0 | |
2836 | ||
2837 | ||
2838 | hu.Running:connect(function(spid) runspi=spid end) | |
2839 | ||
2840 | ||
2841 | cw(function() while w() do if m.Parent == nil then break end | |
2842 | ||
2843 | ||
2844 | if runspi == 0 then | |
2845 | ||
2846 | ||
2847 | if (a.a == "Cham" .. "pion" or a.a == "Lan" .. "ce") and Legb and Legb2 then | |
2848 | ||
2849 | ||
2850 | Legz(false) Legb=true w(0.06) repeat for xi=-5,5,0.5 do if runspi ~= 0 or not Legb then break end c1(llw,1,3,-0.5,-1,0,-5-xi/3,0,8+xi) c1(rlw,1,3,0.5,-1,0,-5-xi/3,0,-8-xi) w() end for xi=5,-5,-0.5 do if runspi ~= 0 or not Legb then break end c1(llw,1,3,-0.5,-1,0,-5-xi/3,0,8+xi) c1(rlw,1,3,0.5,-1,0,-5-xi/3,0,-8-xi) w() end until runspi ~= 0 or not Legb | |
2851 | ||
2852 | ||
2853 | end | |
2854 | ||
2855 | ||
2856 | else | |
2857 | ||
2858 | ||
2859 | if (a.a == "Cha" .. "mpion" or a.a == "La" .. "nce") and Legb then | |
2860 | ||
2861 | ||
2862 | Legz(true) c1(llw,1,3,-0.5,-1,0,0,0,0) c1(rlw,1,3,0.5,-1,0,0,0,0) print("mk") | |
2863 | ||
2864 | ||
2865 | end | |
2866 | ||
2867 | ||
2868 | end | |
2869 | ||
2870 | ||
2871 | end end) | |
2872 | ||
2873 | ||
2874 | cw(function() while w() do if not Button and a.ClickHold > 0 then a.ClickHold=a.ClickHold - 0.1 end end end) | |
2875 | ||
2876 | ||
2877 | hu.WalkSpeed=ns | |
2878 | ||
2879 | ||
2880 | mp=maxmp while true do | |
2881 | ||
2882 | ||
2883 | mp = maxmp | |
2884 | ||
2885 | ||
2886 | wait(0.5) | |
2887 | ||
2888 | ||
2889 | end |