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