SHOW:
|
|
- or go back to the newest paste.
1 | Character = game.Players.LocalPlayer.Character | |
2 | Head = Character.Head | |
3 | Humanoid = Character.Humanoid | |
4 | oldHP = Humanoid.Health | |
5 | ||
6 | CV="Really red" | |
7 | p = game.Players.LocalPlayer | |
8 | char = p.Character | |
9 | local txt = Instance.new("BillboardGui", char) | |
10 | txt.Adornee = char .Head | |
11 | txt.Name = "_status" | |
12 | txt.Size = UDim2.new(2, 0, 1.2, 0) | |
13 | txt.StudsOffset = Vector3.new(-9, 8, 0) | |
14 | local text = Instance.new("TextLabel", txt) | |
15 | text.Size = UDim2.new(10, 0, 7, 0) | |
16 | text.FontSize = "Size24" | |
17 | text.TextScaled = true | |
18 | text.TextTransparency = 0 | |
19 | text.BackgroundTransparency = 1 | |
20 | text.TextTransparency = 0 | |
21 | text.TextStrokeTransparency = 0 | |
22 | text.Font = "Cartoon" | |
23 | text.TextStrokeColor3 = Color3.new(255,0,0) | |
24 | ||
25 | v=Instance.new("Part") | |
26 | v.Name = "ColorBrick" | |
27 | v.Parent=p.Character | |
28 | v.FormFactor="Symmetric" | |
29 | v.Anchored=true | |
30 | v.CanCollide=false | |
31 | v.BottomSurface="Smooth" | |
32 | v.TopSurface="Smooth" | |
33 | v.Size=Vector3.new(10,5,3) | |
34 | v.Transparency=1 | |
35 | v.CFrame=char.Torso.CFrame | |
36 | v.BrickColor=BrickColor.new(CV) | |
37 | v.Transparency=1 | |
38 | - | text.Text = "Reimu" |
38 | + | |
39 | v.Shape="Block" | |
40 | - | local s = Instance.new("Sound",char) |
40 | + | text.Text = "Mario" |
41 | ||
42 | - | s.SoundId = "rbxassetid://221359469" |
42 | + | local s = Instance.new("Sound",Character) |
43 | s.Name = "BGMusic" | |
44 | - | s.Volume = 10 |
44 | + | s.SoundId = "rbxassetid://539321662" |
45 | s.Pitch = 1 | |
46 | s.Volume = 1 | |
47 | s.Looped = true | |
48 | s.archivable = false | |
49 | s.Parent = char.Head | |
50 | wait(0.1) | |
51 | s:play() | |
52 | - | print("Reimu Loaded.") |
52 | + | |
53 | - | print("Unleash the deadly Spell cards to anyone to destroy.") |
53 | + | local oof = Instance.new("Sound",Character) |
54 | oof.Name = "BGMusic" | |
55 | oof.SoundId = "rbxassetid://737938643" | |
56 | oof.Pitch = 1 | |
57 | oof.Volume = 999999999999999999999999999999999999 | |
58 | oof.Looped = false | |
59 | oof.archivable = false | |
60 | oof.Parent = char.Head | |
61 | ||
62 | local ded = Instance.new("Sound",Character) | |
63 | ded.Name = "BGMusic" | |
64 | - | char.Shirt.ShirtTemplate = "http://www.roblox.com/asset/?id=200632362" |
64 | + | ded.SoundId = "rbxassetid://737935299" |
65 | - | char.Pants.PantsTemplate = "http://www.roblox.com/asset/?id=200643883" |
65 | + | ded.Pitch = 1 |
66 | ded.Volume = 999999999999999999999999999999999999 | |
67 | ded.Looped = false | |
68 | ded.archivable = false | |
69 | ded.Parent = char.Head | |
70 | ||
71 | Head.face.Texture = "http://www.roblox.com/asset/?id= " | |
72 | ||
73 | Instance.new("ForceField", game.Players.LocalPlayer.Character) | |
74 | print("Mario Loaded.") | |
75 | print("Unleash the deadly FIREEEEEEEE to anyone to destroy.") | |
76 | p = game.Players.LocalPlayer | |
77 | char = p.Character | |
78 | torso = char.Torso | |
79 | neck = char.Torso.Neck | |
80 | ||
81 | for _,part in pairs(game.Players.LocalPlayer.Character:GetChildren()) do | |
82 | if part.ClassName == "Accessory" then | |
83 | part:remove() | |
84 | end | |
85 | end | |
86 | ||
87 | game.Players.LocalPlayer.Character.Head.Mesh.Scale = Vector3.new(0.45,0.45,0.45) | |
88 | game.Players.LocalPlayer.Character.Head.Mesh.Offset = Vector3.new(0,0.3,-0.1) | |
89 | game.Players.LocalPlayer.Character.Head.Mesh.MeshId = "rbxassetid://494265290" | |
90 | game.Players.LocalPlayer.Character.Head.Mesh.TextureId = "rbxassetid://494265293" | |
91 | ||
92 | ||
93 | ||
94 | ypcall(function() | |
95 | shirt = Instance.new("Shirt", char) | |
96 | shirt.Name = "Shirt" | |
97 | pants = Instance.new("Pants", char) | |
98 | pants.Name = "Pants" | |
99 | char.Shirt.ShirtTemplate = "http://www.roblox.com/asset/?id=1091821325" | |
100 | char.Pants.PantsTemplate = "http://www.roblox.com/asset/?id=1091821538" | |
101 | end) | |
102 | ||
103 | Humanoid.Died:connect(function() | |
104 | s:Stop() | |
105 | local f = Instance.new("Explosion",torso) | |
106 | f.Position = torso.Position | |
107 | f.BlastRadius = 999999999999999999 | |
108 | oof:Play() | |
109 | ded:Play() | |
110 | warn("Stopping Script...") | |
111 | error("Stopped Script.") | |
112 | end) | |
113 | ||
114 | function firegrow() | |
115 | ||
116 | ||
117 | for i=1,5 do | |
118 | shirt.ShirtTemplate = "http://www.roblox.com/asset/?id=1091821700" | |
119 | pants.PantsTemplate = "http://www.roblox.com/asset/?id=1091821953" | |
120 | game.Players.LocalPlayer.Character.Head.Mesh.TextureId = "http://www.roblox.com/asset/?id=1091724768" | |
121 | wait(.1) | |
122 | shirt.ShirtTemplate = "http://www.roblox.com/asset/?id=1091821325" | |
123 | pants.PantsTemplate = "http://www.roblox.com/asset/?id=1091821538" | |
124 | game.Players.LocalPlayer.Character.Head.Mesh.TextureId = "rbxassetid://494265293" | |
125 | wait(.1) | |
126 | end | |
127 | shirt.ShirtTemplate = "http://www.roblox.com/asset/?id=1091821700" | |
128 | pants.PantsTemplate = "http://www.roblox.com/asset/?id=1091821953" | |
129 | game.Players.LocalPlayer.Character.Head.Mesh.TextureId = "http://www.roblox.com/asset/?id=1091724768" | |
130 | ||
131 | end | |
132 | ||
133 | function defiregrow() | |
134 | ||
135 | ||
136 | for i=1,5 do | |
137 | shirt.ShirtTemplate = "http://www.roblox.com/asset/?id=1091821325" | |
138 | pants.PantsTemplate = "http://www.roblox.com/asset/?id=1091821538" | |
139 | game.Players.LocalPlayer.Character.Head.Mesh.TextureId = "rbxassetid://494265293" | |
140 | wait(.1) | |
141 | ||
142 | shirt.ShirtTemplate = "http://www.roblox.com/asset/?id=1091821700" | |
143 | pants.PantsTemplate = "http://www.roblox.com/asset/?id=1091821953" | |
144 | game.Players.LocalPlayer.Character.Head.Mesh.TextureId = "http://www.roblox.com/asset/?id=1091724768" | |
145 | wait(.1) | |
146 | end | |
147 | shirt.ShirtTemplate = "http://www.roblox.com/asset/?id=1091821325" | |
148 | pants.PantsTemplate = "http://www.roblox.com/asset/?id=1091821538" | |
149 | game.Players.LocalPlayer.Character.Head.Mesh.TextureId = "rbxassetid://494265293" | |
150 | ||
151 | end | |
152 | ||
153 | Player=game:GetService("Players").LocalPlayer | |
154 | Character=Player.Character | |
155 | PlayerGui=Player.PlayerGui | |
156 | Backpack=Player.Backpack | |
157 | Torso=Character.Torso | |
158 | Head=Character.Head | |
159 | Humanoid=Character.Humanoid | |
160 | LeftArm=Character["Left Arm"] | |
161 | LeftLeg=Character["Left Leg"] | |
162 | RightArm=Character["Right Arm"] | |
163 | RightLeg=Character["Right Leg"] | |
164 | cam=game.Workspace.CurrentCamera | |
165 | LS=Torso["Left Shoulder"] | |
166 | LH=Torso["Left Hip"] | |
167 | RS=Torso["Right Shoulder"] | |
168 | RH=Torso["Right Hip"] | |
169 | Face = Head.face | |
170 | Neck=Torso.Neck | |
171 | it=Instance.new | |
172 | attacktype=1 | |
173 | vt=Vector3.new | |
174 | cf=CFrame.new | |
175 | euler=CFrame.fromEulerAnglesXYZ | |
176 | angles=CFrame.Angles | |
177 | cloaked=false | |
178 | necko=cf(0, 1, 0, -1, -0, -0, 0, 0, 1, 0, 1, 0) | |
179 | necko2=cf(0, -0.5, 0, -1, -0, -0, 0, 0, 1, 0, 1, 0) | |
180 | LHC0=cf(-1,-1,0,-0,-0,-1,0,1,0,1,0,0) | |
181 | LHC1=cf(-0.5,1,0,-0,-0,-1,0,1,0,1,0,0) | |
182 | RHC0=cf(1,-1,0,0,0,1,0,1,0,-1,-0,-0) | |
183 | RHC1=cf(0.5,1,0,0,0,1,0,1,0,-1,-0,-0) | |
184 | RootPart=Character.HumanoidRootPart | |
185 | RootJoint=RootPart.RootJoint | |
186 | RootCF=euler(-1.57,0,3.14) | |
187 | attack = false | |
188 | bounce=false | |
189 | cooldown=false | |
190 | deeznuts=false | |
191 | attackdebounce = false | |
192 | deb=false | |
193 | equipped=true | |
194 | hand=false | |
195 | MMouse=nil | |
196 | combo=0 | |
197 | mana=0 | |
198 | trispeed=.2 | |
199 | attackmode='none' | |
200 | local idle=0 | |
201 | local Anim="Idle" | |
202 | local Effects={} | |
203 | local gun=false | |
204 | local shoot=false | |
205 | player=nil | |
206 | mana=0 | |
207 | cam = workspace.CurrentCamera | |
208 | ZTarget = nil | |
209 | RocketTarget = nil | |
210 | local m = Instance.new("Model",Character) | |
211 | m.Name = "WeaponModel" | |
212 | ||
213 | mouse=Player:GetMouse() | |
214 | --save shoulders | |
215 | RSH, LSH=nil, nil | |
216 | --welds | |
217 | RW, LW=Instance.new("Weld"), Instance.new("Weld") | |
218 | RW.Name="Right Shoulder" LW.Name="Left Shoulder" | |
219 | LH=Torso["Left Hip"] | |
220 | RH=Torso["Right Hip"] | |
221 | TorsoColor=Torso.BrickColor | |
222 | function NoOutline(Part) | |
223 | Part.TopSurface,Part.BottomSurface,Part.LeftSurface,Part.RightSurface,Part.FrontSurface,Part.BackSurface = 10,10,10,10,10,10 | |
224 | end | |
225 | player=Player | |
226 | ch=Character | |
227 | RSH=ch.Torso["Right Shoulder"] | |
228 | LSH=ch.Torso["Left Shoulder"] | |
229 | -- | |
230 | RSH.Parent=nil | |
231 | LSH.Parent=nil | |
232 | -- | |
233 | RW.Name="Right Shoulder" | |
234 | RW.Part0=ch.Torso | |
235 | RW.C0=cf(1.5, 0.5, 0) --* CFrame.fromEulerAnglesXYZ(1.3, 0, -0.5) | |
236 | RW.C1=cf(0, 0.5, 0) | |
237 | RW.Part1=ch["Right Arm"] | |
238 | RW.Parent=ch.Torso | |
239 | -- | |
240 | LW.Name="Left Shoulder" | |
241 | LW.Part0=ch.Torso | |
242 | LW.C0=cf(-1.5, 0.5, 0) --* CFrame.fromEulerAnglesXYZ(1.7, 0, 0.8) | |
243 | LW.C1=cf(0, 0.5, 0) | |
244 | LW.Part1=ch["Left Arm"] | |
245 | LW.Parent=ch.Torso | |
246 | ||
247 | function swait(num) | |
248 | if num==0 or num==nil then | |
249 | game:service'RunService'.Heartbeat:wait(0) | |
250 | else | |
251 | for i=0,num do | |
252 | game:service'RunService'.Heartbeat:wait(0) | |
253 | end | |
254 | end | |
255 | end | |
256 | ||
257 | ||
258 | local Player = game.Players.localPlayer | |
259 | local Character = Player.Character | |
260 | local red = 255 | |
261 | local green = 255 | |
262 | local blue = 255 | |
263 | local Humanoid = Character.Humanoid | |
264 | local mouse = Player:GetMouse() | |
265 | local m = Instance.new("Model", Character) | |
266 | m.Name = "WeaponModel" | |
267 | local LeftArm = Character["Left Arm"] | |
268 | local RightArm = Character["Right Arm"] | |
269 | local LeftLeg = Character["Left Leg"] | |
270 | local RightLeg = Character["Right Leg"] | |
271 | local Head = Character.Head | |
272 | local Torso = Character.Torso | |
273 | local cam = game.Workspace.CurrentCamera | |
274 | local RootPart = Character.HumanoidRootPart | |
275 | local RootJoint = RootPart.RootJoint | |
276 | local equipped = false | |
277 | local attack = false | |
278 | local Anim = "Idle" | |
279 | local idle = 0 | |
280 | local attacktype = 1 | |
281 | local Torsovelocity = (RootPart.Velocity * Vector3.new(1, 0, 1)).magnitude | |
282 | local velocity = RootPart.Velocity.y | |
283 | local sine = 0 | |
284 | local change = 1 | |
285 | local grabbed = false | |
286 | local cn = CFrame.new | |
287 | local mr = math.rad | |
288 | local angles = CFrame.Angles | |
289 | local ud = UDim2.new | |
290 | local c3 = Color3.new | |
291 | local lim = 0 | |
292 | local st = 0 | |
293 | local necko = cn(0, 1, 0, -1, 0, 0, 0, 0, 1, 0, 1, 0) | |
294 | local attacktype = 1 | |
295 | local ZTarget, RocketTarget = nil, nil | |
296 | local euler = CFrame.fromEulerAnglesXYZ | |
297 | function clerp(a,b,t) | |
298 | local qa = {QuaternionFromCFrame(a)} | |
299 | local qb = {QuaternionFromCFrame(b)} | |
300 | local ax, ay, az = a.x, a.y, a.z | |
301 | local bx, by, bz = b.x, b.y, b.z | |
302 | local _t = 1-t | |
303 | return QuaternionToCFrame(_t*ax + t*bx, _t*ay + t*by, _t*az + t*bz,QuaternionSlerp(qa, qb, t)) | |
304 | end | |
305 | ||
306 | function QuaternionFromCFrame(cf) | |
307 | local mx, my, mz, m00, m01, m02, m10, m11, m12, m20, m21, m22 = cf:components() | |
308 | local trace = m00 + m11 + m22 | |
309 | if trace > 0 then | |
310 | local s = math.sqrt(1 + trace) | |
311 | local recip = 0.5/s | |
312 | return (m21-m12)*recip, (m02-m20)*recip, (m10-m01)*recip, s*0.5 | |
313 | else | |
314 | local i = 0 | |
315 | if m11 > m00 then | |
316 | i = 1 | |
317 | end | |
318 | if m22 > (i == 0 and m00 or m11) then | |
319 | i = 2 | |
320 | end | |
321 | if i == 0 then | |
322 | local s = math.sqrt(m00-m11-m22+1) | |
323 | local recip = 0.5/s | |
324 | return 0.5*s, (m10+m01)*recip, (m20+m02)*recip, (m21-m12)*recip | |
325 | elseif i == 1 then | |
326 | local s = math.sqrt(m11-m22-m00+1) | |
327 | local recip = 0.5/s | |
328 | return (m01+m10)*recip, 0.5*s, (m21+m12)*recip, (m02-m20)*recip | |
329 | elseif i == 2 then | |
330 | local s = math.sqrt(m22-m00-m11+1) | |
331 | local recip = 0.5/s return (m02+m20)*recip, (m12+m21)*recip, 0.5*s, (m10-m01)*recip | |
332 | end | |
333 | end | |
334 | end | |
335 | ||
336 | function QuaternionToCFrame(px, py, pz, x, y, z, w) | |
337 | local xs, ys, zs = x + x, y + y, z + z | |
338 | local wx, wy, wz = w*xs, w*ys, w*zs | |
339 | local xx = x*xs | |
340 | local xy = x*ys | |
341 | local xz = x*zs | |
342 | local yy = y*ys | |
343 | local yz = y*zs | |
344 | local zz = z*zs | |
345 | return CFrame.new(px, py, pz,1-(yy+zz), xy - wz, xz + wy,xy + wz, 1-(xx+zz), yz - wx, xz - wy, yz + wx, 1-(xx+yy)) | |
346 | end | |
347 | ||
348 | function QuaternionSlerp(a, b, t) | |
349 | local cosTheta = a[1]*b[1] + a[2]*b[2] + a[3]*b[3] + a[4]*b[4] | |
350 | local startInterp, finishInterp; | |
351 | if cosTheta >= 0.0001 then | |
352 | if (1 - cosTheta) > 0.0001 then | |
353 | local theta = math.acos(cosTheta) | |
354 | local invSinTheta = 1/math.sin(theta) | |
355 | startInterp = math.sin((1-t)*theta)*invSinTheta | |
356 | finishInterp = math.sin(t*theta)*invSinTheta | |
357 | else | |
358 | startInterp = 1-t | |
359 | finishInterp = t | |
360 | end | |
361 | else | |
362 | if (1+cosTheta) > 0.0001 then | |
363 | local theta = math.acos(-cosTheta) | |
364 | local invSinTheta = 1/math.sin(theta) | |
365 | startInterp = math.sin((t-1)*theta)*invSinTheta | |
366 | finishInterp = math.sin(t*theta)*invSinTheta | |
367 | else | |
368 | startInterp = t-1 | |
369 | finishInterp = t | |
370 | end | |
371 | end | |
372 | return a[1]*startInterp + b[1]*finishInterp, a[2]*startInterp + b[2]*finishInterp, a[3]*startInterp + b[3]*finishInterp, a[4]*startInterp + b[4]*finishInterp | |
373 | end | |
374 | rayCast = function(Position, Direction, Range, Ignore) | |
375 | return game:service("Workspace"):FindPartOnRay(Ray.new(Position, Direction.unit * (Range or 999.999)), Ignore) | |
376 | end | |
377 | local v = game.Players.localPlayer | |
378 | local torso = v.Character.Torso | |
379 | ||
380 | plr = game.Players.LocalPlayer | |
381 | char = game.Players.LocalPlayer.Character | |
382 | hum = game.Players.LocalPlayer.Character.Humanoid | |
383 | t = game.Players.LocalPlayer.Character.Torso | |
384 | h = game.Players.LocalPlayer.Character.Head | |
385 | ra = game.Players.LocalPlayer.Character["Right Arm"] | |
386 | la = game.Players.LocalPlayer.Character["Left Arm"] | |
387 | rl = game.Players.LocalPlayer.Character["Right Leg"] | |
388 | ll = game.Players.LocalPlayer.Character["Left Leg"] | |
389 | tors = Character.Torso | |
390 | lleg = Character["Left Leg"] | |
391 | root = Character.HumanoidRootPart | |
392 | hed = Character.Head | |
393 | rleg = Character["Right Leg"] | |
394 | rarm = Character["Right Arm"] | |
395 | larm = Character["Left Arm"] | |
396 | bsize1 = NumberSequenceKeypoint.new(3,3,3) | |
397 | bsize2 = NumberSequenceKeypoint.new(10,10,10) | |
398 | local Effects = {} | |
399 | attack = false | |
400 | local attacking = false | |
401 | vt = Vector3.new | |
402 | bc = BrickColor.new | |
403 | br = BrickColor.random | |
404 | it = Instance.new | |
405 | cf = CFrame.new | |
406 | euler = CFrame.fromEulerAnglesXYZ | |
407 | angles = CFrame.Angles | |
408 | matr = math.random | |
409 | local colororg = BrickColor.new("Dark indigo") -- set color u like | |
410 | local meshtype = "Sphere" -- only for specialmesh | |
411 | mouse = plr:GetMouse() | |
412 | ||
413 | CFuncs = { | |
414 | ["Part"] = { | |
415 | Create = function(Parent, Material, Reflectance, Transparency, BColor, Name, Size) | |
416 | local Part = Create("Part"){ | |
417 | Parent = Parent, | |
418 | Reflectance = Reflectance, | |
419 | Transparency = Transparency, | |
420 | CanCollide = false, | |
421 | Locked = true, | |
422 | BrickColor = BrickColor.new(tostring(BColor)), | |
423 | Name = Name, | |
424 | Size = Size, | |
425 | Material = Material, | |
426 | } | |
427 | RemoveOutlines(Part) | |
428 | return Part | |
429 | end; | |
430 | }; | |
431 | ||
432 | ["Mesh"] = { | |
433 | Create = function(Mesh, Part, MeshType, MeshId, OffSet, Scale) | |
434 | local Msh = Create(Mesh){ | |
435 | Parent = Part, | |
436 | Offset = OffSet, | |
437 | Scale = Scale, | |
438 | } | |
439 | if Mesh == "SpecialMesh" then | |
440 | Msh.MeshType = MeshType | |
441 | Msh.MeshId = MeshId | |
442 | end | |
443 | return Msh | |
444 | end; | |
445 | }; | |
446 | ||
447 | ["Mesh"] = { | |
448 | Create = function(Mesh, Part, MeshType, MeshId, OffSet, Scale) | |
449 | local Msh = Create(Mesh){ | |
450 | Parent = Part, | |
451 | Offset = OffSet, | |
452 | Scale = Scale, | |
453 | } | |
454 | if Mesh == "SpecialMesh" then | |
455 | Msh.MeshType = MeshType | |
456 | Msh.MeshId = MeshId | |
457 | end | |
458 | return Msh | |
459 | end; | |
460 | }; | |
461 | ||
462 | ["Weld"] = { | |
463 | Create = function(Parent, Part0, Part1, C0, C1) | |
464 | local Weld = Create("Weld"){ | |
465 | Parent = Parent, | |
466 | Part0 = Part0, | |
467 | Part1 = Part1, | |
468 | C0 = C0, | |
469 | C1 = C1, | |
470 | } | |
471 | return Weld | |
472 | end; | |
473 | }; | |
474 | ||
475 | ["Sound"] = { | |
476 | Create = function(id, par, vol, pit) | |
477 | coroutine.resume(coroutine.create(function() | |
478 | local S = Create("Sound"){ | |
479 | Volume = vol, | |
480 | Pitch = pit or 1, | |
481 | SoundId = id, | |
482 | Parent = par or workspace, | |
483 | } | |
484 | wait() | |
485 | S:play() | |
486 | game:GetService("Debris"):AddItem(S, 6) | |
487 | end)) | |
488 | end; | |
489 | }; | |
490 | ||
491 | ["ParticleEmitter"] = { | |
492 | Create = function(Parent, Color1, Color2, LightEmission, Size, Texture, Transparency, ZOffset, Accel, Drag, LockedToPart, VelocityInheritance, EmissionDirection, Enabled, LifeTime, Rate, Rotation, RotSpeed, Speed, VelocitySpread) | |
493 | local fp = Create("ParticleEmitter"){ | |
494 | Parent = Parent, | |
495 | Color = ColorSequence.new(Color1, Color2), | |
496 | LightEmission = LightEmission, | |
497 | Size = Size, | |
498 | Texture = Texture, | |
499 | Transparency = Transparency, | |
500 | ZOffset = ZOffset, | |
501 | Acceleration = Accel, | |
502 | Drag = Drag, | |
503 | LockedToPart = LockedToPart, | |
504 | VelocityInheritance = VelocityInheritance, | |
505 | EmissionDirection = EmissionDirection, | |
506 | Enabled = Enabled, | |
507 | Lifetime = LifeTime, | |
508 | Rate = Rate, | |
509 | Rotation = Rotation, | |
510 | RotSpeed = RotSpeed, | |
511 | Speed = Speed, | |
512 | VelocitySpread = VelocitySpread, | |
513 | } | |
514 | return fp | |
515 | end; | |
516 | }; | |
517 | ||
518 | CreateTemplate = { | |
519 | ||
520 | }; | |
521 | } | |
522 | ||
523 | ||
524 | ||
525 | New = function(Object, Parent, Name, Data) | |
526 | local Object = Instance.new(Object) | |
527 | for Index, Value in pairs(Data or {}) do | |
528 | Object[Index] = Value | |
529 | end | |
530 | Object.Parent = Parent | |
531 | Object.Name = Name | |
532 | return Object | |
533 | end | |
534 | ||
535 | function chatfunc(text) | |
536 | local chat = coroutine.wrap(function() | |
537 | if Character:FindFirstChild("TalkingBillBoard")~= nil then | |
538 | Character:FindFirstChild("TalkingBillBoard"):destroy() | |
539 | end | |
540 | local naeeym2 = Instance.new("BillboardGui",Character) | |
541 | naeeym2.Size = UDim2.new(0,100,0,40) | |
542 | naeeym2.StudsOffset = Vector3.new(0,3,0) | |
543 | naeeym2.Adornee = Character.Head | |
544 | naeeym2.Name = "TalkingBillBoard" | |
545 | local tecks2 = Instance.new("TextLabel",naeeym2) | |
546 | tecks2.BackgroundTransparency = 1 | |
547 | tecks2.BorderSizePixel = 0 | |
548 | tecks2.Text = "" | |
549 | tecks2.Font = "SciFi" | |
550 | tecks2.TextSize = 30 | |
551 | tecks2.TextStrokeTransparency = 0 | |
552 | tecks2.TextColor3 = Color3.new(255,0,0) | |
553 | tecks2.TextStrokeColor3 = Color3.new(0,0,0) | |
554 | tecks2.Size = UDim2.new(1,0,0.5,0) | |
555 | local tecks3 = Instance.new("TextLabel",naeeym2) | |
556 | tecks3.BackgroundTransparency = 1 | |
557 | tecks3.BorderSizePixel = 0 | |
558 | tecks3.Text = "" | |
559 | tecks3.Font = "SciFi" | |
560 | tecks3.TextSize = 30 | |
561 | tecks3.TextStrokeTransparency = 0 | |
562 | tecks3.TextColor3 = Color3.new(255,0,0) | |
563 | tecks3.TextStrokeColor3 = Color3.new(0,0,0) | |
564 | tecks3.Size = UDim2.new(1,0,0.5,0) | |
565 | for i = 1,string.len(text),1 do | |
566 | CFuncs["Sound"].Create("http://www.roblox.com/asset/?id=565939471", Character, .6, .8) | |
567 | tecks2.Text = string.sub(text,1,i) | |
568 | tecks3.Text = string.sub(text,1,i) | |
569 | wait(0.01) | |
570 | end | |
571 | wait(2) | |
572 | for i = 1, 50 do | |
573 | swait() | |
574 | tecks2.Position = tecks2.Position - UDim2.new(math.random(-.4,.4),math.random(-5,5),.05,math.random(-5,5)) | |
575 | tecks2.Rotation = tecks2.Rotation - .8 | |
576 | tecks2.TextStrokeTransparency = tecks2.TextStrokeTransparency +.04 | |
577 | tecks2.TextTransparency = tecks2.TextTransparency + .04 | |
578 | tecks3.Position = tecks2.Position - UDim2.new(math.random(-.4,.4),math.random(-5,5),.05,math.random(-5,5)) | |
579 | tecks3.Rotation = tecks2.Rotation + .8 | |
580 | tecks3.TextStrokeTransparency = tecks2.TextStrokeTransparency +.04 | |
581 | tecks3.TextTransparency = tecks2.TextTransparency + .04 | |
582 | end | |
583 | naeeym2:Destroy() | |
584 | end) | |
585 | chat() | |
586 | end | |
587 | function onChatted(msg) | |
588 | chatfunc(msg) | |
589 | end | |
590 | Player.Chatted:connect(onChatted) | |
591 | ||
592 | ||
593 | Damagefunc=function(hit,minim,maxim,knockback,Type,Property,Delay,KnockbackType,decreaseblock) | |
594 | if hit.Parent==nil then | |
595 | return | |
596 | end | |
597 | h=hit.Parent:FindFirstChild("Humanoid") | |
598 | for _,v in pairs(hit.Parent:children()) do | |
599 | if v:IsA("Humanoid") then | |
600 | h=v | |
601 | end | |
602 | end | |
603 | if hit.Parent.Parent:FindFirstChild("Torso")~=nil then | |
604 | h=hit.Parent.Parent:FindFirstChild("Humanoid") | |
605 | end | |
606 | if hit.Parent.className=="Hat" then | |
607 | hit=hit.Parent.Parent:findFirstChild("Head") | |
608 | end | |
609 | if h~=nil and hit.Parent.Name~=Character.Name and hit.Parent:FindFirstChild("Torso")~=nil then | |
610 | if hit.Parent:findFirstChild("DebounceHit")~=nil then if hit.Parent.DebounceHit.Value==true then return end end | |
611 | --[[ if game.Players:GetPlayerFromCharacter(hit.Parent)~=nil then | |
612 | return | |
613 | end]] | |
614 | -- hs(hit,1.2) | |
615 | c=Instance.new("ObjectValue") | |
616 | c.Name="creator" | |
617 | c.Value=game:service("Players").LocalPlayer | |
618 | c.Parent=h | |
619 | game:GetService("Debris"):AddItem(c,.5) | |
620 | Damage=math.random(minim,maxim) | |
621 | -- h:TakeDamage(Damage) | |
622 | blocked=false | |
623 | block=hit.Parent:findFirstChild("Block") | |
624 | if block~=nil then | |
625 | print(block.className) | |
626 | if block.className=="NumberValue" then | |
627 | if block.Value>0 then | |
628 | blocked=true | |
629 | if decreaseblock==nil then | |
630 | block.Value=block.Value-1 | |
631 | end | |
632 | end | |
633 | end | |
634 | if block.className=="IntValue" then | |
635 | if block.Value>0 then | |
636 | blocked=true | |
637 | if decreaseblock~=nil then | |
638 | block.Value=block.Value-1 | |
639 | end | |
640 | end | |
641 | end | |
642 | end | |
643 | if blocked==false then | |
644 | -- h:TakeDamage(Damage) | |
645 | h.Health=h.Health-Damage | |
646 | showDamage(hit.Parent,Damage,3,TorsoColor) | |
647 | else | |
648 | h.Health=h.Health-(Damage/2) | |
649 | showDamage(hit.Parent,Damage/2,3,BrickColor.new("Really red")) | |
650 | end | |
651 | if Type=="Knockdown" then | |
652 | hum=hit.Parent.Humanoid | |
653 | hum.PlatformStand=true | |
654 | coroutine.resume(coroutine.create(function(HHumanoid) | |
655 | swait(1) | |
656 | HHumanoid.PlatformStand=false | |
657 | end),hum) | |
658 | local angle=(hit.Position-(Property.Position+Vector3.new(0,0,0))).unit | |
659 | --hit.CFrame=CFrame.new(hit.Position,Vector3.new(angle.x,hit.Position.y,angle.z))*CFrame.fromEulerAnglesXYZ(math.pi/4,0,0) | |
660 | local bodvol=Instance.new("BodyVelocity") | |
661 | bodvol.velocity=angle*knockback | |
662 | bodvol.P=5000 | |
663 | bodvol.maxForce=Vector3.new(8e+003, 8e+003, 8e+003) | |
664 | bodvol.Parent=hit | |
665 | rl=Instance.new("BodyAngularVelocity") | |
666 | rl.P=3000 | |
667 | rl.maxTorque=Vector3.new(500000,500000,500000)*50000000000000 | |
668 | rl.angularvelocity=Vector3.new(math.random(-10,10),math.random(-10,10),math.random(-10,10)) | |
669 | rl.Parent=hit | |
670 | game:GetService("Debris"):AddItem(bodvol,.5) | |
671 | game:GetService("Debris"):AddItem(rl,.5) | |
672 | elseif Type=="Normal" then | |
673 | vp=Instance.new("BodyVelocity") | |
674 | vp.P=500 | |
675 | vp.maxForce=Vector3.new(math.huge,0,math.huge) | |
676 | -- vp.velocity=Character.Torso.CFrame.lookVector*Knockback | |
677 | if KnockbackType==1 then | |
678 | vp.velocity=Property.CFrame.lookVector*knockback+Property.Velocity/1.05 | |
679 | elseif KnockbackType==2 then | |
680 | vp.velocity=Property.CFrame.lookVector*knockback | |
681 | end | |
682 | if knockback>0 then | |
683 | vp.Parent=hit.Parent.Torso | |
684 | end | |
685 | game:GetService("Debris"):AddItem(vp,.5) | |
686 | elseif Type=="Up" then | |
687 | local bodyVelocity=Instance.new("BodyVelocity") | |
688 | bodyVelocity.velocity=vt(0,10,0) | |
689 | bodyVelocity.P=1000 | |
690 | bodyVelocity.maxForce=Vector3.new(1e+009, 1e+009, 1e+009) | |
691 | bodyVelocity.Parent=hit | |
692 | game:GetService("Debris"):AddItem(bodyVelocity,1) | |
693 | rl=Instance.new("BodyAngularVelocity") | |
694 | rl.P=3000 | |
695 | rl.maxTorque=Vector3.new(500000,500000,500000)*50000000000000 | |
696 | rl.angularvelocity=Vector3.new(math.random(-20,20),math.random(-20,20),math.random(-20,20)) | |
697 | rl.Parent=hit | |
698 | game:GetService("Debris"):AddItem(rl,.5) | |
699 | elseif Type=="Snare" then | |
700 | bp=Instance.new("BodyPosition") | |
701 | bp.P=2000 | |
702 | bp.D=100 | |
703 | bp.maxForce=Vector3.new(math.huge,math.huge,math.huge) | |
704 | bp.position=hit.Parent.Torso.Position | |
705 | bp.Parent=hit.Parent.Torso | |
706 | game:GetService("Debris"):AddItem(bp,1) | |
707 | elseif Type=="Target" then | |
708 | if Targetting==false then | |
709 | ZTarget=hit.Parent.Torso | |
710 | coroutine.resume(coroutine.create(function(Part) | |
711 | swait(5) | |
712 | end),ZTarget) | |
713 | TargHum=ZTarget.Parent:findFirstChild("Humanoid") | |
714 | targetgui=Instance.new("BillboardGui") | |
715 | targetgui.Parent=ZTarget | |
716 | targetgui.Size=UDim2.new(10,100,10,100) | |
717 | targ=Instance.new("ImageLabel") | |
718 | targ.Parent=targetgui | |
719 | targ.BackgroundTransparency=1 | |
720 | targ.Image="rbxassetid://4834067" | |
721 | targ.Size=UDim2.new(1,0,1,0) | |
722 | cam.CameraType="Scriptable" | |
723 | cam.CoordinateFrame=CFrame.new(Head.CFrame.p,ZTarget.Position) | |
724 | dir=Vector3.new(cam.CoordinateFrame.lookVector.x,0,cam.CoordinateFrame.lookVector.z) | |
725 | workspace.CurrentCamera.CoordinateFrame=CFrame.new(Head.CFrame.p,ZTarget.Position) | |
726 | Targetting=true | |
727 | RocketTarget=ZTarget | |
728 | for i=1,Property do | |
729 | --while Targetting==true and Humanoid.Health>0 and Character.Parent~=nil do | |
730 | if Humanoid.Health>0 and Character.Parent~=nil and TargHum.Health>0 and TargHum.Parent~=nil and Targetting==true then | |
731 | swait() | |
732 | end | |
733 | --workspace.CurrentCamera.CoordinateFrame=CFrame.new(Head.CFrame.p,Head.CFrame.p+rmdir*100) | |
734 | cam.CoordinateFrame=CFrame.new(Head.CFrame.p,ZTarget.Position) | |
735 | dir=Vector3.new(cam.CoordinateFrame.lookVector.x,0,cam.CoordinateFrame.lookVector.z) | |
736 | cam.CoordinateFrame=CFrame.new(Head.CFrame.p,ZTarget.Position)*cf(0,5,10)*euler(-0.3,0,0) | |
737 | end | |
738 | Targetting=false | |
739 | RocketTarget=nil | |
740 | targetgui.Parent=nil | |
741 | cam.CameraType="Custom" | |
742 | end | |
743 | end | |
744 | debounce=Instance.new("BoolValue") | |
745 | debounce.Name="DebounceHit" | |
746 | debounce.Parent=hit.Parent | |
747 | debounce.Value=true | |
748 | game:GetService("Debris"):AddItem(debounce,Delay) | |
749 | c=Instance.new("ObjectValue") | |
750 | c.Name="creator" | |
751 | c.Value=Player | |
752 | c.Parent=h | |
753 | game:GetService("Debris"):AddItem(c,.5) | |
754 | CRIT=false | |
755 | hitDeb=true | |
756 | AttackPos=6 | |
757 | end | |
758 | end | |
759 | ||
760 | showDamage=function(Char,Dealt,du,Color) | |
761 | m=Instance.new("Model") | |
762 | m.Name="" | |
763 | h=Instance.new("Humanoid") | |
764 | h.Health=0 | |
765 | h.MaxHealth=0 | |
766 | h.Parent=m | |
767 | c=Instance.new("Part") | |
768 | c.Transparency=0 | |
769 | c.Material = "Neon" | |
770 | c.BrickColor=bc("Bright red") | |
771 | c.Name="Head" | |
772 | c.TopSurface=0 | |
773 | c.BottomSurface=0 | |
774 | CV="Hot pink" | |
775 | ||
776 | local txt = Instance.new("BillboardGui", c) | |
777 | txt.Adornee = c | |
778 | txt.Name = "_status" | |
779 | txt.Size = UDim2.new(2, 0, 1.2, 0) | |
780 | txt.StudsOffset = Vector3.new(-9, 8, 0) | |
781 | local text = Instance.new("TextLabel", txt) | |
782 | text.Size = UDim2.new(10, 0, 7, 0) | |
783 | text.FontSize = "Size24" | |
784 | text.TextScaled = true | |
785 | text.TextTransparency = 0 | |
786 | text.BackgroundTransparency = 1 | |
787 | text.TextTransparency = 0 | |
788 | text.TextStrokeTransparency = 0 | |
789 | if Dealt < 12 then | |
790 | text.Font = "Highway" | |
791 | elseif Dealt < 20 then | |
792 | text.Font = "SourceSansBold" | |
793 | elseif Dealt >= 20 then | |
794 | text.Font = "Fantasy" | |
795 | end | |
796 | text.TextStrokeColor3 = BrickColor.new("Really black").Color | |
797 | local hitsounds={"199149137","199149186","199149221","199149235","199149269","199149297"} | |
798 | v=Instance.new("Part") | |
799 | v.Name = "ColorBrick" | |
800 | v.Parent=c | |
801 | v.FormFactor="Symmetric" | |
802 | v.Anchored=true | |
803 | v.CanCollide=false | |
804 | v.BottomSurface="Smooth" | |
805 | v.TopSurface="Smooth" | |
806 | v.Size=Vector3.new(10,5,3) | |
807 | v.Transparency=1 | |
808 | v.CFrame=c.CFrame | |
809 | v.BrickColor=BrickColor.new(CV) | |
810 | v.Transparency=1 | |
811 | if Dealt < 12 then | |
812 | - | basicgui.Text = "(F)\nidk" |
812 | + | |
813 | elseif Dealt < 20 then | |
814 | text.TextColor3 = BrickColor.new("Bright yellow").Color | |
815 | elseif Dealt >= 20 then | |
816 | text.TextColor3 = BrickColor.new("Really red").Color | |
817 | end | |
818 | v.Shape="Block" | |
819 | text.Text = tostring(Dealt).. "!" | |
820 | - | basicgui2.Text = "(E)\nReimu Explode 2" |
820 | + | |
821 | local rndm=math.random(1,#hitsounds) | |
822 | local r=rndm | |
823 | dam.SoundId = "http://www.roblox.com/asset/?id="..hitsounds[r] | |
824 | dam.Volume = 1.25 | |
825 | dam.Pitch = 1 | |
826 | dam:Play() | |
827 | c.formFactor="Plate" | |
828 | - | basicgui3.Text = "(Q)\nFantasy Orb" |
828 | + | |
829 | c.Size=Vector3.new(1,.4,1) | |
830 | ms=Instance.new("CylinderMesh") | |
831 | ms.Scale=Vector3.new(.8,.8,.8) | |
832 | if CRIT==true then | |
833 | ms.Scale=Vector3.new(1,1.25,1) | |
834 | end | |
835 | ms.Parent=c | |
836 | - | basicgui4.Text = "(R)\nInferno Wrath" |
836 | + | |
837 | Instance.new("BodyGyro").Parent=c | |
838 | c.Parent=m | |
839 | if Char:findFirstChild("Head")~=nil then | |
840 | c.CFrame=CFrame.new(Char["Head"].CFrame.p+Vector3.new(0,1.5,0)) | |
841 | elseif Char.Parent:findFirstChild("Head")~=nil then | |
842 | c.CFrame=CFrame.new(Char.Parent["Head"].CFrame.p+Vector3.new(0,1.5,0)) | |
843 | end | |
844 | f=Instance.new("BodyPosition") | |
845 | f.P=2000 | |
846 | f.D=100 | |
847 | f.maxForce=Vector3.new(math.huge,math.huge,math.huge) | |
848 | f.position=c.Position+Vector3.new(0,3,0) | |
849 | f.Parent=c | |
850 | game:GetService("Debris"):AddItem(m,.5+du) | |
851 | c.CanCollide=false | |
852 | - | basicgui6.Text = "(X)\nFantasy Seal" |
852 | + | |
853 | c.CanCollide=false | |
854 | wait(1) | |
855 | - | local healthg = gui("TextLabel", basframe, "Basic", 0, BrickColor.new("Really black").Color, UDim2.new(-0.15, 0, 0.675, 0), UDim2.new(0.95, 0, 0.15, 0)) |
855 | + | |
856 | text.TextTransparency = text.TextTransparency + 0.1 | |
857 | text.TextStrokeTransparency = text.TextStrokeTransparency + 0.1 | |
858 | wait() | |
859 | end | |
860 | end | |
861 | ||
862 | gui = function(GuiType, parent, text, backtrans, backcol, pos, size) | |
863 | local gui = it(GuiType) | |
864 | gui.Parent = parent | |
865 | gui.Text = text | |
866 | gui.BackgroundTransparency = backtrans | |
867 | gui.BackgroundColor3 = backcol | |
868 | gui.SizeConstraint = "RelativeXY" | |
869 | gui.TextXAlignment = "Center" | |
870 | gui.TextYAlignment = "Center" | |
871 | gui.Position = pos | |
872 | gui.Size = size | |
873 | gui.Font = "SourceSans" | |
874 | gui.FontSize = "Size14" | |
875 | gui.TextWrapped = false | |
876 | gui.TextStrokeTransparency = 0 | |
877 | gui.TextColor = BrickColor.new("White") | |
878 | return gui | |
879 | end | |
880 | ---- GUI set | |
881 | local basgui = it("GuiMain") | |
882 | basgui.Parent = Player.PlayerGui | |
883 | basgui.Name = "CooldownsGUI" | |
884 | - | ---- yeee boi here comes entrance of reimu |
884 | + | |
885 | basframe.Parent = basgui | |
886 | basframe.BackgroundColor3 = Color3.new(255, 255, 255) | |
887 | basframe.BackgroundTransparency = 1 | |
888 | basframe.BorderColor3 = Color3.new(17, 17, 17) | |
889 | basframe.Size = UDim2.new(0.2, 0, 0.2, 0) | |
890 | basframe.Position = UDim2.new(0.8, 0, 0.8, 0) | |
891 | local basicgui = gui("TextLabel", basframe, "Basic", 0, BrickColor.new("Really red").Color, UDim2.new(0.35, 0, -0.125, 0), UDim2.new(0.45, 0, 0.35, 0)) | |
892 | basicgui.ZIndex = 2 | |
893 | basicgui.Font = "Highway" | |
894 | basicgui.BackgroundTransparency = 0.5 | |
895 | basicgui.BorderSizePixel = 0.65 | |
896 | basicgui.TextScaled = true | |
897 | basicgui.Text = "(F)\nsmall fire ball" | |
898 | basicgui.TextSize = 24 | |
899 | local basicgui2 = gui("TextLabel", basframe, "Basic", 0, BrickColor.new("Really red").Color, UDim2.new(-0.15, 0, -0.125, 0), UDim2.new(0.45, 0, 0.35, 0)) | |
900 | basicgui2.ZIndex = 2 | |
901 | basicgui2.Font = "Highway" | |
902 | basicgui2.BackgroundTransparency = 0.5 | |
903 | basicgui2.BorderSizePixel = 0.65 | |
904 | basicgui2.TextScaled = true | |
905 | basicgui2.Text = "(E)\nMario Explode 2" | |
906 | basicgui2.TextSize = 24 | |
907 | local basicgui3 = gui("TextLabel", basframe, "Basic", 0, BrickColor.new("Really red").Color, UDim2.new(-0.15, 0, 0.225, 0), UDim2.new(0.45, 0, 0.35, 0)) | |
908 | basicgui3.ZIndex = 2 | |
909 | basicgui3.Font = "Highway" | |
910 | basicgui3.BackgroundTransparency = 0.5 | |
911 | basicgui3.BorderSizePixel = 0.65 | |
912 | basicgui3.TextScaled = true | |
913 | basicgui3.Text = "(Q)\nMario FIREBALL" | |
914 | basicgui3.TextSize = 24 | |
915 | local basicgui4 = gui("TextLabel", basframe, "Basic", 0, BrickColor.new("Really red").Color, UDim2.new(0.35, 0, 0.225, 0), UDim2.new(0.45, 0, 0.35, 0)) | |
916 | basicgui4.ZIndex = 2 | |
917 | basicgui4.Font = "Highway" | |
918 | basicgui4.BackgroundTransparency = 0.5 | |
919 | basicgui4.BorderSizePixel = 0.65 | |
920 | basicgui4.TextScaled = true | |
921 | basicgui4.Text = "(R)\nidk" | |
922 | basicgui4.TextSize = 24 | |
923 | local basicgui5 = gui("TextLabel", basframe, "Basic", 0, BrickColor.new("Really red").Color, UDim2.new(-0.15, 0, -0.475, 0), UDim2.new(0.45, 0, 0.35, 0)) | |
924 | basicgui5.ZIndex = 2 | |
925 | basicgui5.Font = "Highway" | |
926 | basicgui5.BackgroundTransparency = 0.5 | |
927 | basicgui5.BorderSizePixel = 0.65 | |
928 | basicgui5.TextScaled = true | |
929 | basicgui5.Text = "(Z)\n???" | |
930 | basicgui5.TextSize = 24 | |
931 | local basicgui6 = gui("TextLabel", basframe, "Basic", 0, BrickColor.new("Really red").Color, UDim2.new(0.35, 0, -0.475, 0), UDim2.new(0.45, 0, 0.35, 0)) | |
932 | basicgui6.ZIndex = 2 | |
933 | basicgui6.Font = "Highway" | |
934 | basicgui6.BackgroundTransparency = 0.5 | |
935 | basicgui6.BorderSizePixel = 0.65 | |
936 | basicgui6.TextScaled = true | |
937 | basicgui6.Text = "(X)\nStarMan" | |
938 | basicgui6.TextSize = 24 | |
939 | ||
940 | local healthg = gui("TextLabel", basframe, "Basic", 0, BrickColor.new("Really red").Color, UDim2.new(-0.15, 0, 0.675, 0), UDim2.new(0.95, 0, 0.15, 0)) | |
941 | healthg.ZIndex = 2 | |
942 | healthg.Font = "Highway" | |
943 | healthg.BackgroundTransparency = 0.5 | |
944 | healthg.BorderSizePixel = 0.65 | |
945 | healthg.TextScaled = true | |
946 | healthg.Text = "health" | |
947 | healthg.TextSize = 24 | |
948 | ||
949 | char.Humanoid.Animator.Parent = nil | |
950 | ||
951 | ---------------- set a position | |
952 | local handle = Instance.new("Part") | |
953 | handle.Parent = Character | |
954 | handle.Size = Vector3.new(0.2,0.2,0.2) | |
955 | handle.Archivable = true | |
956 | handle.Transparency = 1 | |
957 | handle.CanCollide = false | |
958 | handle.BrickColor = BrickColor.new("White") | |
959 | handle.Material = "Neon" | |
960 | local handlmesh = Instance.new("BlockMesh",handle) | |
961 | handlmesh.Scale = Vector3.new(1,1,1) | |
962 | local handleweld = Instance.new("Weld") | |
963 | handleweld.Parent = handle | |
964 | handleweld.Part0 = rarm | |
965 | handleweld.Part1 = handle | |
966 | handleweld.C1 = CFrame.new(0, 1.35, 0)*CFrame.Angles(math.rad(0),math.rad(0),math.rad(0)) | |
967 | handleweld.Part0 = rarm | |
968 | ||
969 | ---- yeee boi here comes entrance of mario | |
970 | ||
971 | hum.WalkSpeed = 0 | |
972 | ||
973 | local dd = Instance.new("ParticleEmitter",handle) | |
974 | - | chatfunc("Fantasy Orb!!") |
974 | + | |
975 | dd.LightEmission = 1 | |
976 | dd.Color = ColorSequence.new(BrickColor.new("Really red").Color) | |
977 | dd.Rate = 50 | |
978 | dd.Lifetime = NumberRange.new(0.5) | |
979 | dd.Size = NumberSequence.new({NumberSequenceKeypoint.new(0,10,0),NumberSequenceKeypoint.new(1,0,0)}) | |
980 | dd.Transparency = NumberSequence.new({NumberSequenceKeypoint.new(0,1,0),NumberSequenceKeypoint.new(1,0,0)}) | |
981 | dd.Speed = NumberRange.new(0) | |
982 | dd.Rotation = NumberRange.new(-500,500) | |
983 | dd.VelocitySpread = 90000 | |
984 | dd.LockedToPart = true | |
985 | dd.RotSpeed = NumberRange.new(-500,500) | |
986 | local bon = Instance.new("ParticleEmitter",handle) | |
987 | bon.Texture = "rbxassetid://296874871" | |
988 | bon.LightEmission = 0.75 | |
989 | bon.Color = ColorSequence.new(BrickColor.new("Really red").Color) | |
990 | bon.Rate = 0 | |
991 | bon.Lifetime = NumberRange.new(2.5) | |
992 | bon.Size = NumberSequence.new({NumberSequenceKeypoint.new(0,5,0),NumberSequenceKeypoint.new(1,0,0)}) | |
993 | bon.Transparency = NumberSequence.new({NumberSequenceKeypoint.new(0,0,0),NumberSequenceKeypoint.new(1,1,0)}) | |
994 | bon.Speed = NumberRange.new(15) | |
995 | bon.Rotation = NumberRange.new(-500,500) | |
996 | bon.VelocitySpread = 90000 | |
997 | bon.RotSpeed = NumberRange.new(-500,500) | |
998 | local bon2 = Instance.new("ParticleEmitter",handle) | |
999 | bon2.Texture = "rbxassetid://296874871" | |
1000 | bon2.LightEmission = 0.75 | |
1001 | bon2.Color = ColorSequence.new(BrickColor.new("Really red").Color) | |
1002 | bon2.Rate = 0 | |
1003 | bon2.Lifetime = NumberRange.new(2.5) | |
1004 | bon2.Size = NumberSequence.new({NumberSequenceKeypoint.new(0,0,0),NumberSequenceKeypoint.new(1,10,0)}) | |
1005 | bon2.Transparency = NumberSequence.new({NumberSequenceKeypoint.new(0,0,0),NumberSequenceKeypoint.new(1,1,0)}) | |
1006 | bon2.Speed = NumberRange.new(25) | |
1007 | bon2.Rotation = NumberRange.new(-500,500) | |
1008 | bon2.VelocitySpread = 90000 | |
1009 | bon2.RotSpeed = NumberRange.new(-500,500) | |
1010 | for i = 0,8,0.1 do | |
1011 | swait() | |
1012 | RootJoint.C0 = clerp(RootJoint.C0,RootCF*cf(0,0,0)* angles(math.rad(0),math.rad(0),math.rad(0)),.3) | |
1013 | Torso.Neck.C0 = clerp(Torso.Neck.C0,necko *angles(math.rad(10),math.rad(0),math.rad(0)),.3) | |
1014 | RW.C0 = clerp(RW.C0, CFrame.new(1.45, 0.5, 0) * angles(math.rad(-90), math.rad(0), math.rad(100)), 0.3) | |
1015 | LW.C0 = clerp(LW.C0, CFrame.new(-1.45, 0.5, 0) * angles(math.rad(0), math.rad(0), math.rad(-7.5 + 2.5 * math.cos(sine / 32))), 0.3) | |
1016 | end | |
1017 | dd.Rate = 0 | |
1018 | bon.Rate = 99999 | |
1019 | bon2.Rate = 99999 | |
1020 | ||
1021 | local tran = Instance.new("ParticleEmitter",handle) | |
1022 | tran.Texture = "rbxassetid://296874871" | |
1023 | tran.LightEmission = 0.75 | |
1024 | tran.Color = ColorSequence.new(BrickColor.new("Really red").Color) | |
1025 | tran.Rate = 99999 | |
1026 | tran.Lifetime = NumberRange.new(0.25) | |
1027 | tran.Size = NumberSequence.new({NumberSequenceKeypoint.new(0,1.5,0),NumberSequenceKeypoint.new(1,0,0)}) | |
1028 | tran.Transparency = NumberSequence.new({NumberSequenceKeypoint.new(0,1,0),NumberSequenceKeypoint.new(1,0.25,0)}) | |
1029 | tran.Speed = NumberRange.new(0) | |
1030 | tran.Rotation = NumberRange.new(-500,500) | |
1031 | tran.VelocitySpread = 90000 | |
1032 | tran.LockedToPart = true | |
1033 | tran.RotSpeed = NumberRange.new(-500,500) | |
1034 | local tran2 = Instance.new("ParticleEmitter",handle) | |
1035 | tran2.Texture = "http://www.roblox.com/asset/?id=745304849" | |
1036 | tran2.LightEmission = 1 | |
1037 | tran2.Color = ColorSequence.new(BrickColor.new("Really red").Color) | |
1038 | tran2.Rate = 50 | |
1039 | tran2.Lifetime = NumberRange.new(0.5) | |
1040 | tran2.Size = NumberSequence.new({NumberSequenceKeypoint.new(0,2.5,0),NumberSequenceKeypoint.new(1,0,0)}) | |
1041 | tran2.Transparency = NumberSequence.new({NumberSequenceKeypoint.new(0,1,0),NumberSequenceKeypoint.new(1,0,0)}) | |
1042 | tran2.Speed = NumberRange.new(0) | |
1043 | tran2.Rotation = NumberRange.new(-500,500) | |
1044 | tran2.VelocitySpread = 90000 | |
1045 | tran2.LockedToPart = true | |
1046 | tran2.RotSpeed = NumberRange.new(-500,500) | |
1047 | wait(0.5) | |
1048 | bon.Rate = 0 | |
1049 | bon2.Rate = 0 | |
1050 | wait(3.25) | |
1051 | bon:Destroy() | |
1052 | bon:Destroy() | |
1053 | dd:Destroy() | |
1054 | hum.WalkSpeed = 16 | |
1055 | ----------- | |
1056 | ||
1057 | function InfernoComet() | |
1058 | attack = true | |
1059 | chatfunc("Small Fire Ball!!") | |
1060 | handleweld.Part0 = rarm | |
1061 | local tra = Instance.new("ParticleEmitter",handle) | |
1062 | tra.Texture = "rbxassetid://296874871" | |
1063 | tra.LightEmission = 0.75 | |
1064 | tra.Color = ColorSequence.new(BrickColor.new("Really red").Color) | |
1065 | tra.Rate = 99999 | |
1066 | tra.Lifetime = NumberRange.new(0.25) | |
1067 | tra.Size = NumberSequence.new({NumberSequenceKeypoint.new(0,5,0),NumberSequenceKeypoint.new(1,0,0)}) | |
1068 | tra.Transparency = NumberSequence.new({NumberSequenceKeypoint.new(0,1,0),NumberSequenceKeypoint.new(1,0.25,0)}) | |
1069 | tra.Speed = NumberRange.new(0) | |
1070 | tra.Rotation = NumberRange.new(-500,500) | |
1071 | tra.VelocitySpread = 90000 | |
1072 | tra.LockedToPart = true | |
1073 | tra.RotSpeed = NumberRange.new(-500,500) | |
1074 | local tra2 = Instance.new("ParticleEmitter",handle) | |
1075 | tra2.Texture = "http://www.roblox.com/asset/?id=745304849" | |
1076 | tra2.LightEmission = 1 | |
1077 | tra2.Color = ColorSequence.new(BrickColor.new("Really red").Color) | |
1078 | tra2.Rate = 50 | |
1079 | tra2.Lifetime = NumberRange.new(0.5) | |
1080 | tra2.Size = NumberSequence.new({NumberSequenceKeypoint.new(0,5.5,0),NumberSequenceKeypoint.new(1,0,0)}) | |
1081 | tra2.Transparency = NumberSequence.new({NumberSequenceKeypoint.new(0,1,0),NumberSequenceKeypoint.new(1,0.5,0)}) | |
1082 | tra2.Speed = NumberRange.new(0) | |
1083 | tra2.Rotation = NumberRange.new(-500,500) | |
1084 | tra2.VelocitySpread = 90000 | |
1085 | tra2.LockedToPart = true | |
1086 | tra2.RotSpeed = NumberRange.new(-500,500) | |
1087 | for i = 0,4,0.1 do | |
1088 | swait() | |
1089 | RootJoint.C0 = clerp(RootJoint.C0,RootCF*cf(0,0,0)* angles(math.rad(0),math.rad(0),math.rad(90)),.3) | |
1090 | Torso.Neck.C0 = clerp(Torso.Neck.C0,necko *angles(math.rad(5),math.rad(0),math.rad(-90)),.3) | |
1091 | RW.C0 = clerp(RW.C0, CFrame.new(1.45, 0.5, 0) * angles(math.rad(170), math.rad(0), math.rad(90)), 0.3) | |
1092 | LW.C0 = clerp(LW.C0, CFrame.new(-1.45, 0.5, 0) * angles(math.rad(0), math.rad(0), math.rad(-25 + 2.5 * math.cos(sine / 32))), 0.3) | |
1093 | end | |
1094 | local sa = Instance.new("Sound",handle) | |
1095 | sa.SoundId = "rbxassetid://304448425" | |
1096 | sa.Volume = 1 | |
1097 | sa.Pitch = 1 | |
1098 | sa:Play() | |
1099 | tra.Rate = 0 | |
1100 | tra2.Rate = 0 | |
1101 | local lb = Instance.new("Part") | |
1102 | lb.Parent = char | |
1103 | lb.Material = "Neon" | |
1104 | lb.Color = BrickColor.new("Really red").Color | |
1105 | lb.CanCollide = false | |
1106 | lb.Shape = "Ball" | |
1107 | lb.CFrame = handle.CFrame | |
1108 | lb.Anchored = true | |
1109 | lb.Transparency = 1 | |
1110 | lb.Size = vt(1,1,1) | |
1111 | local thing = Instance.new("SpecialMesh",lb) | |
1112 | thing.MeshType = meshtype | |
1113 | local hitted = false | |
1114 | lb.Anchored = false | |
1115 | local trail = Instance.new("ParticleEmitter",lb) | |
1116 | trail.Texture = "rbxassetid://296874871" | |
1117 | trail.LightEmission = 1 | |
1118 | trail.Color = ColorSequence.new(BrickColor.new("Really red").Color) | |
1119 | trail.Rate = 9999 | |
1120 | trail.Lifetime = NumberRange.new(1.5) | |
1121 | trail.Size = NumberSequence.new({NumberSequenceKeypoint.new(0,10,0),NumberSequenceKeypoint.new(1,0,0)}) | |
1122 | trail.Transparency = NumberSequence.new({NumberSequenceKeypoint.new(0,0,0),NumberSequenceKeypoint.new(1,1,0)}) | |
1123 | trail.Speed = NumberRange.new(0,0) | |
1124 | trail.Rotation = NumberRange.new(-500,500) | |
1125 | trail.RotSpeed = NumberRange.new(-500,500) | |
1126 | local bv = Instance.new("BodyVelocity") | |
1127 | bv.maxForce = Vector3.new(1e9, 1e9, 1e9) | |
1128 | bv.velocity = mouse.Hit.lookVector *75 | |
1129 | bv.Parent = lb | |
1130 | wait(0.05) | |
1131 | lb.Touched:connect(function(hit) | |
1132 | if hitted == false then | |
1133 | hitted = true | |
1134 | trail.Rate = 0 | |
1135 | lb.Anchored = true | |
1136 | local aa = Instance.new("Part") | |
1137 | local val = 1*3.5 | |
1138 | aa.Parent = lb | |
1139 | local exsound = Instance.new("Sound",aa) | |
1140 | exsound.SoundId = "rbxassetid://402347142" | |
1141 | exsound.Volume = 3.5 | |
1142 | exsound.Pitch = 1 | |
1143 | exsound:Play() | |
1144 | aa.Material = "Neon" | |
1145 | aa.Color = BrickColor.new("Really red").Color | |
1146 | aa.CanCollide = false | |
1147 | aa.Shape = "Ball" | |
1148 | aa.CFrame = lb.CFrame | |
1149 | aa.Anchored = true | |
1150 | aa.Transparency = 0 | |
1151 | aa.Size = vt(1,1,1) | |
1152 | local thinger = Instance.new("SpecialMesh",aa) | |
1153 | thinger.MeshType = meshtype | |
1154 | thinger.Scale = vt(15,15,15) | |
1155 | local explosion = Instance.new("Explosion",aa) | |
1156 | explosion.Position = aa.Position | |
1157 | explosion.BlastRadius = 22.5 | |
1158 | explosion.BlastPressure = 100 | |
1159 | local exp = Instance.new("ParticleEmitter",aa) | |
1160 | exp.Texture = "rbxassetid://296874871" | |
1161 | exp.LightEmission = 1 | |
1162 | exp.Color = ColorSequence.new(BrickColor.new("Really red").Color) | |
1163 | exp.Rate = 9000000000 | |
1164 | exp.Lifetime = NumberRange.new(1) | |
1165 | exp.Size = NumberSequence.new({NumberSequenceKeypoint.new(0,30,0),NumberSequenceKeypoint.new(1,1,0)}) | |
1166 | exp.Transparency = NumberSequence.new({NumberSequenceKeypoint.new(0,0,0),NumberSequenceKeypoint.new(1,1,0)}) | |
1167 | exp.Speed = NumberRange.new(100) | |
1168 | exp.VelocitySpread = 9000000 | |
1169 | - | chatfunc("Fantasy...") |
1169 | + | |
1170 | exp.RotSpeed = NumberRange.new(-500,500) | |
1171 | local expa = Instance.new("ParticleEmitter",aa) | |
1172 | expa.Texture = "rbxassetid://296874871" | |
1173 | expa.LightEmission = 1 | |
1174 | - | aura.Color = ColorSequence.new(BrickColor.new("Really red").Color) |
1174 | + | |
1175 | expa.Rate = 9000000000 | |
1176 | expa.Lifetime = NumberRange.new(2.75) | |
1177 | expa.Size = NumberSequence.new({NumberSequenceKeypoint.new(0,5,0),NumberSequenceKeypoint.new(1,75,0)}) | |
1178 | expa.Transparency = NumberSequence.new({NumberSequenceKeypoint.new(0,0.5,0),NumberSequenceKeypoint.new(1,1,0)}) | |
1179 | expa.Speed = NumberRange.new(100) | |
1180 | expa.VelocitySpread = 9000000 | |
1181 | expa.Rotation = NumberRange.new(-500,500) | |
1182 | expa.RotSpeed = NumberRange.new(-500,500) | |
1183 | local exp2 = exp:Clone() | |
1184 | - | aura2.Color = ColorSequence.new(BrickColor.new("Really red").Color) |
1184 | + | |
1185 | local exp3 = exp:Clone() | |
1186 | exp3.Parent = aa | |
1187 | local exp4 = exp:Clone() | |
1188 | exp4.Parent = aa | |
1189 | local exp5 = exp:Clone() | |
1190 | exp5.Parent = aa | |
1191 | local exp6 = exp:Clone() | |
1192 | exp6.Parent = aa | |
1193 | local exp7 = exp:Clone() | |
1194 | exp7.Parent = aa | |
1195 | local expa2 = expa:Clone() | |
1196 | expa2.Parent = aa | |
1197 | - | auran.Color = ColorSequence.new(BrickColor.new("Really red").Color) |
1197 | + | |
1198 | expa3.Parent = aa | |
1199 | local expa4 = expa:Clone() | |
1200 | expa4.Parent = aa | |
1201 | local expa5 = expa:Clone() | |
1202 | expa5.Parent = aa | |
1203 | local expa6 = expa:Clone() | |
1204 | expa6.Parent = aa | |
1205 | local expa7 = expa:Clone() | |
1206 | expa7.Parent = aa | |
1207 | for i = 0, 1 do | |
1208 | - | sa.SoundId = "rbxassetid://431105970" |
1208 | + | |
1209 | - | sa.Volume = 5 |
1209 | + | |
1210 | wait() | |
1211 | end | |
1212 | exp.Rate = 0 | |
1213 | exp2.Rate = 0 | |
1214 | exp3.Rate = 0 | |
1215 | exp4.Rate = 0 | |
1216 | exp5.Rate = 0 | |
1217 | exp6.Rate = 0 | |
1218 | exp7.Rate = 0 | |
1219 | for i = 0, 1 do | |
1220 | val = val - 0.025*3.5 | |
1221 | thinger.Scale = thinger.Scale + vt(val,val,val) | |
1222 | wait() | |
1223 | end | |
1224 | expa.Rate = 0 | |
1225 | expa2.Rate = 0 | |
1226 | expa3.Rate = 0 | |
1227 | expa4.Rate = 0 | |
1228 | expa5.Rate = 0 | |
1229 | expa6.Rate = 0 | |
1230 | expa7.Rate = 0 | |
1231 | for i = 0, 21 do | |
1232 | val = val - 0.025*3.5 | |
1233 | thinger.Scale = thinger.Scale + vt(val,val,val) | |
1234 | wait() | |
1235 | end | |
1236 | for i = 0, 74 do | |
1237 | val = val - 0.0145 | |
1238 | aa.Transparency = aa.Transparency + 0.0145 | |
1239 | thinger.Scale = thinger.Scale + vt(val,val,val) | |
1240 | wait() | |
1241 | end | |
1242 | end | |
1243 | end) | |
1244 | attack = false | |
1245 | wait(30) | |
1246 | sa:Destroy() | |
1247 | tra:Destroy() | |
1248 | tra2:Destroy() | |
1249 | lb:Destroy() | |
1250 | end | |
1251 | ||
1252 | function InfernoHell() | |
1253 | attack = true | |
1254 | chatfunc("STAR...") | |
1255 | handleweld.Part0 = rarm | |
1256 | local aura = Instance.new("ParticleEmitter",tors) | |
1257 | aura.Texture = "rbxassetid://305563617" | |
1258 | aura.LightEmission = 1 | |
1259 | aura.Color = ColorSequence.new(BrickColor.new("New Yeller").Color) | |
1260 | aura.Rate = 25 | |
1261 | - | chatfunc("SEAL!!!") |
1261 | + | |
1262 | aura.Size = NumberSequence.new({NumberSequenceKeypoint.new(0,8.5,0),NumberSequenceKeypoint.new(1,0,0)}) | |
1263 | aura.Transparency = NumberSequence.new({NumberSequenceKeypoint.new(0,0,0),NumberSequenceKeypoint.new(1,1,0)}) | |
1264 | aura.Speed = NumberRange.new(15) | |
1265 | aura.VelocitySpread = 50 | |
1266 | local aura2 = Instance.new("ParticleEmitter",tors) | |
1267 | aura2.Texture = "rbxassetid://296874871" | |
1268 | aura2.LightEmission = 1 | |
1269 | aura2.Color = ColorSequence.new(BrickColor.new("New Yeller").Color) | |
1270 | aura2.Rate = 99999 | |
1271 | aura2.Lifetime = NumberRange.new(1.5) | |
1272 | aura2.Acceleration = vt(0,45,0) | |
1273 | aura2.Size = NumberSequence.new({NumberSequenceKeypoint.new(0,3,0),NumberSequenceKeypoint.new(1,0,0)}) | |
1274 | aura2.Transparency = NumberSequence.new({NumberSequenceKeypoint.new(0,0,0),NumberSequenceKeypoint.new(1,1,0)}) | |
1275 | aura2.Speed = NumberRange.new(-25) | |
1276 | aura2.Rotation = NumberRange.new(-500,500) | |
1277 | aura2.VelocitySpread = 45 | |
1278 | aura2.RotSpeed = NumberRange.new(-500,500) | |
1279 | local auran = Instance.new("ParticleEmitter",tors) | |
1280 | auran.Texture = "rbxassetid://296874871" | |
1281 | auran.LightEmission = 1 | |
1282 | auran.Color = ColorSequence.new(BrickColor.new("New Yeller").Color) | |
1283 | auran.Rate = 0 | |
1284 | auran.Lifetime = NumberRange.new(5) | |
1285 | auran.Acceleration = vt(0,-45,0) | |
1286 | auran.Size = NumberSequence.new({NumberSequenceKeypoint.new(0,25,0),NumberSequenceKeypoint.new(1,0,0)}) | |
1287 | auran.Transparency = NumberSequence.new({NumberSequenceKeypoint.new(0,0,0),NumberSequenceKeypoint.new(1,1,0)}) | |
1288 | auran.Speed = NumberRange.new(65) | |
1289 | auran.Rotation = NumberRange.new(-500,500) | |
1290 | auran.VelocitySpread = 100 | |
1291 | auran.RotSpeed = NumberRange.new(-500,500) | |
1292 | local star = Instance.new("Sound",handle) | |
1293 | star.SoundId = "rbxassetid://681504763" | |
1294 | - | dec.Texture = "http://www.roblox.com/asset/?id=477245246" |
1294 | + | star.Volume = 545566677548 |
1295 | star.Pitch = 1 | |
1296 | star:Play() | |
1297 | for i = 0,2,0.1 do | |
1298 | swait() | |
1299 | RootJoint.C0 = clerp(RootJoint.C0,RootCF*cf(0,0,-1)* angles(math.rad(10),math.rad(0),math.rad(0)),.3) | |
1300 | Torso.Neck.C0 = clerp(Torso.Neck.C0,necko *angles(math.rad(5),math.rad(0),math.rad(0)),.3) | |
1301 | RW.C0 = clerp(RW.C0, CFrame.new(1.45, 0.5, 0) * angles(math.rad(-10), math.rad(0), math.rad(10)), 0.3) | |
1302 | LW.C0 = clerp(LW.C0, CFrame.new(-1.45, 0.5, 0) * angles(math.rad(-10), math.rad(0), math.rad(-10)), 0.3) | |
1303 | RH.C0=clerp(RH.C0,cf(1,-0.5,-0.5)*angles(math.rad(0),math.rad(90),math.rad(0))*angles(math.rad(0),math.rad(0),math.rad(10)),.3) | |
1304 | LH.C0=clerp(LH.C0,cf(-1,-1,0)*angles(math.rad(0),math.rad(-90),math.rad(0))*angles(math.rad(0),math.rad(0),math.rad(60)),.3) | |
1305 | end | |
1306 | for i = 0, 5 do | |
1307 | auran.Rate = 99999 | |
1308 | local lb = Instance.new("Part") | |
1309 | lb.Parent = char | |
1310 | lb.Material = "Neon" | |
1311 | lb.Color = BrickColor.new("New Yeller").Color | |
1312 | lb.CanCollide = false | |
1313 | lb.Size = vt(1,1,1) | |
1314 | lb.CFrame = tors.CFrame | |
1315 | lb.Rotation = vt(0,0,0) | |
1316 | lb.Anchored = true | |
1317 | lb.Transparency = 0 | |
1318 | local thing = Instance.new("SpecialMesh",lb) | |
1319 | thing.MeshType = "FileMesh" | |
1320 | thing.MeshId = "http://www.roblox.com/asset/?id=20329976" | |
1321 | thing.Scale = vt(0,15,0) | |
1322 | local chancerot = math.random(1,2) | |
1323 | for z = 0, 4 do | |
1324 | if chancerot == 1 then | |
1325 | lb.CFrame = lb.CFrame*CFrame.Angles(0,0.1,0) | |
1326 | elseif chancerot == 2 then | |
1327 | lb.CFrame = lb.CFrame*CFrame.Angles(0,-0.1,0) | |
1328 | end | |
1329 | lb.Transparency = lb.Transparency + 0.1 | |
1330 | thing.Scale = thing.Scale + vt(15,0,15) | |
1331 | wait() | |
1332 | end | |
1333 | auran.Rate = 0 | |
1334 | for z = 0, 4 do | |
1335 | if chancerot == 1 then | |
1336 | lb.CFrame = lb.CFrame*CFrame.Angles(0,0.1,0) | |
1337 | elseif chancerot == 2 then | |
1338 | lb.CFrame = lb.CFrame*CFrame.Angles(0,-0.1,0) | |
1339 | end | |
1340 | lb.Transparency = lb.Transparency + 0.1 | |
1341 | thing.Scale = thing.Scale + vt(15,0,15) | |
1342 | wait() | |
1343 | end | |
1344 | lb:Destroy() | |
1345 | end | |
1346 | chatfunc("POWER!!!") | |
1347 | local sa = Instance.new("Sound",handle) | |
1348 | sa.SoundId = "rbxassetid://416328540" | |
1349 | sa.Volume = 10 | |
1350 | sa.Pitch = 0.75 | |
1351 | sa:Play() | |
1352 | ||
1353 | local sbs = Instance.new("BodyPosition", root) | |
1354 | sbs.P = 3000 | |
1355 | sbs.D = 1000 | |
1356 | sbs.maxForce = Vector3.new(500000, 500000000, 500000) | |
1357 | sbs.position = RootPart.CFrame.p + Vector3.new(0, 1000, 0) | |
1358 | for i = 0,24,0.1 do | |
1359 | swait() | |
1360 | RootJoint.C0 = clerp(RootJoint.C0,RootCF*cf(0,0,0)* angles(math.rad(0),math.rad(0),math.rad(90)),.3) | |
1361 | Torso.Neck.C0 = clerp(Torso.Neck.C0,necko *angles(math.rad(5),math.rad(0),math.rad(-90)),.3) | |
1362 | RW.C0 = clerp(RW.C0, CFrame.new(1.45, 0.5, 0) * angles(math.rad(0), math.rad(0), math.rad(180)), 0.3) | |
1363 | LW.C0 = clerp(LW.C0, CFrame.new(-1.45, 0.5, 0) * angles(math.rad(0), math.rad(0), math.rad(-25 + 2.5 * math.cos(sine / 32))), 0.3) | |
1364 | end | |
1365 | local shur = Instance.new("Part",char) | |
1366 | local gahde = Instance.new("Sound",char) | |
1367 | gahde.SoundId = "rbxassetid://402981977" | |
1368 | gahde.Volume = 5 | |
1369 | gahde.Pitch = 0.6 | |
1370 | gahde:Play() | |
1371 | shur.Transparency = 1 | |
1372 | shur.Material = "Neon" | |
1373 | shur.BrickColor = bc("Bright red") | |
1374 | shur.Anchored = true | |
1375 | shur.CFrame = tors.CFrame + vt(0,10,0) | |
1376 | shur.Size = vt(1,0.2,1) | |
1377 | shur.CanCollide = false | |
1378 | local dec = Instance.new("Decal",shur) | |
1379 | dec.Texture = "http://www.roblox.com/asset/?id=142018467" | |
1380 | dec.Face = "Top" | |
1381 | local dec2 = dec:Clone() | |
1382 | dec2.Parent = shur | |
1383 | dec2.Face = "Bottom" | |
1384 | local Meshshur = Instance.new("CylinderMesh",shur) | |
1385 | Meshshur.Scale = vt(0,1,0) | |
1386 | for i = 0, 39 do | |
1387 | wait() | |
1388 | Meshshur.Scale = Meshshur.Scale + vt(15,0,15) | |
1389 | end | |
1390 | local sa = Instance.new("Sound",char) | |
1391 | sa.SoundId = "rbxassetid://428027602" | |
1392 | sa.Volume = 2.5 | |
1393 | sa.Pitch = 0.5 | |
1394 | sa:Play() | |
1395 | local lb = Instance.new("Part") | |
1396 | lb.Parent = char | |
1397 | lb.Material = "Neon" | |
1398 | lb.Color = BrickColor.new("New Yeller").Color | |
1399 | lb.CanCollide = false | |
1400 | lb.Shape = "Ball" | |
1401 | lb.CFrame = handle.CFrame | |
1402 | lb.Anchored = true | |
1403 | lb.Transparency = 0 | |
1404 | lb.Size = vt(1,1,1) | |
1405 | lb.CFrame = handle.CFrame | |
1406 | local thing = Instance.new("SpecialMesh",lb) | |
1407 | thing.MeshType = meshtype | |
1408 | thing.Scale = vt(0,0,0) | |
1409 | for i = 0, 89 do | |
1410 | thing.Scale = thing.Scale + vt(2.5,2.5,2.5) | |
1411 | lb.CFrame = lb.CFrame + Vector3.new(0,1.425,0) | |
1412 | wait() | |
1413 | end | |
1414 | wait(1) | |
1415 | for i = 0, 39 do | |
1416 | wait() | |
1417 | Meshshur.Scale = Meshshur.Scale - vt(15,0,15) | |
1418 | end | |
1419 | local sa = Instance.new("Sound",char) | |
1420 | sa.SoundId = "rbxassetid://565538688" | |
1421 | sa.Volume = 1 | |
1422 | sa.Pitch = 0.95 | |
1423 | sa:Play() | |
1424 | wait(0.5) | |
1425 | shur:Destroy() | |
1426 | sbs:Destroy() | |
1427 | local sa = Instance.new("Sound",char) | |
1428 | sa.SoundId = "rbxassetid://416328540" | |
1429 | sa.Volume = 1.5 | |
1430 | sa.Pitch = 0.5 | |
1431 | sa:Play() | |
1432 | local sa = Instance.new("Sound",char) | |
1433 | sa.SoundId = "rbxassetid://466493476" | |
1434 | sa.Volume = 1.5 | |
1435 | sa.Pitch = 0.5 | |
1436 | sa:Play() | |
1437 | aura.Rate = 0 | |
1438 | aura2.Rate = 0 | |
1439 | local hitted = false | |
1440 | lb.Anchored = false | |
1441 | local trail = Instance.new("ParticleEmitter",lb) | |
1442 | trail.Texture = "rbxassetid://296874871" | |
1443 | trail.LightEmission = 1 | |
1444 | trail.Color = ColorSequence.new(BrickColor.new("New Yeller").Color) | |
1445 | trail.Rate = 9999 | |
1446 | trail.Lifetime = NumberRange.new(2.5) | |
1447 | trail.Size = NumberSequence.new({NumberSequenceKeypoint.new(0,150,0),NumberSequenceKeypoint.new(1,5,0)}) | |
1448 | trail.Transparency = NumberSequence.new({NumberSequenceKeypoint.new(0,0,0),NumberSequenceKeypoint.new(1,1,0)}) | |
1449 | trail.Speed = NumberRange.new(100) | |
1450 | trail.VelocitySpread = 9000000 | |
1451 | trail.Rotation = NumberRange.new(-500,500) | |
1452 | trail.RotSpeed = NumberRange.new(-500,500) | |
1453 | local bv = Instance.new("BodyVelocity") | |
1454 | bv.maxForce = Vector3.new(1e9, 1e9, 1e9) | |
1455 | bv.velocity = mouse.Hit.lookVector *75 | |
1456 | bv.Parent = lb | |
1457 | wait(0.05) | |
1458 | lb.Touched:connect(function(hit) | |
1459 | if hitted == false then | |
1460 | hitted = true | |
1461 | trail.Rate = 0 | |
1462 | lb.Anchored = true | |
1463 | local aa = Instance.new("Part") | |
1464 | for i = 0, 9 do | |
1465 | lb.Transparency = lb.Transparency + 0.1 | |
1466 | local val = 1*3.5 | |
1467 | aa.Parent = lb | |
1468 | local exsound = Instance.new("Sound",aa) | |
1469 | exsound.SoundId = "rbxassetid://412831137" | |
1470 | exsound.Volume = 10 | |
1471 | exsound.Pitch = 0.5 | |
1472 | exsound:Play() | |
1473 | local exsound = Instance.new("Sound",aa) | |
1474 | exsound.SoundId = "rbxassetid://439342426" | |
1475 | exsound.Volume = 10 | |
1476 | exsound.Pitch = 0.75 | |
1477 | exsound:Play() | |
1478 | local exsound = Instance.new("Sound",aa) | |
1479 | exsound.SoundId = "rbxassetid://439342426" | |
1480 | exsound.Volume = 10 | |
1481 | exsound.Pitch = 0.5 | |
1482 | exsound:Play() | |
1483 | local exsound = Instance.new("Sound",aa) | |
1484 | exsound.SoundId = "rbxassetid://439342426" | |
1485 | exsound.Volume = 10 | |
1486 | exsound.Pitch = 0.35 | |
1487 | exsound:Play() | |
1488 | local exsound = Instance.new("Sound",aa) | |
1489 | exsound.SoundId = "rbxassetid://439342426" | |
1490 | exsound.Volume = 10 | |
1491 | exsound.Pitch = 0.25 | |
1492 | exsound:Play() | |
1493 | local exsound = Instance.new("Sound",aa) | |
1494 | exsound.SoundId = "rbxassetid://439342426" | |
1495 | exsound.Volume = 10 | |
1496 | exsound.Pitch = 0.2 | |
1497 | exsound:Play() | |
1498 | aa.Material = "Neon" | |
1499 | aa.Color = BrickColor.new("New Yeller").Color | |
1500 | aa.CanCollide = false | |
1501 | aa.Shape = "Ball" | |
1502 | aa.CFrame = lb.CFrame | |
1503 | aa.Anchored = true | |
1504 | aa.Transparency = 0 | |
1505 | aa.Size = vt(1,1,1) | |
1506 | local thinger = Instance.new("SpecialMesh",aa) | |
1507 | thinger.MeshType = meshtype | |
1508 | thinger.Scale = vt(225,225,225) | |
1509 | local explosion = Instance.new("Explosion",aa) | |
1510 | explosion.Position = aa.Position | |
1511 | explosion.BlastRadius = 500 | |
1512 | explosion.BlastPressure = 100 | |
1513 | local exp = Instance.new("ParticleEmitter",aa) | |
1514 | exp.Texture = "rbxassetid://296874871" | |
1515 | exp.LightEmission = 1 | |
1516 | exp.Color = ColorSequence.new(BrickColor.new("New Yeller").Color) | |
1517 | exp.Rate = 9000000000 | |
1518 | exp.Lifetime = NumberRange.new(1) | |
1519 | exp.Size = NumberSequence.new({NumberSequenceKeypoint.new(0,175,0),NumberSequenceKeypoint.new(1,1,0)}) | |
1520 | exp.Transparency = NumberSequence.new({NumberSequenceKeypoint.new(0,0,0),NumberSequenceKeypoint.new(1,1,0)}) | |
1521 | exp.Speed = NumberRange.new(100) | |
1522 | exp.VelocitySpread = 9000000 | |
1523 | exp.Rotation = NumberRange.new(-500,500) | |
1524 | exp.RotSpeed = NumberRange.new(-500,500) | |
1525 | local expa = Instance.new("ParticleEmitter",aa) | |
1526 | expa.Texture = "rbxassetid://296874871" | |
1527 | expa.LightEmission = 1 | |
1528 | expa.Color = ColorSequence.new(BrickColor.new("New Yeller").Color) | |
1529 | expa.Rate = 9000000000 | |
1530 | expa.Lifetime = NumberRange.new(2.75) | |
1531 | expa.Size = NumberSequence.new({NumberSequenceKeypoint.new(0,5,0),NumberSequenceKeypoint.new(1,150,0)}) | |
1532 | expa.Transparency = NumberSequence.new({NumberSequenceKeypoint.new(0,0.5,0),NumberSequenceKeypoint.new(1,1,0)}) | |
1533 | expa.Speed = NumberRange.new(100) | |
1534 | expa.VelocitySpread = 9000000 | |
1535 | expa.Rotation = NumberRange.new(-500,500) | |
1536 | - | chatfunc("Reimu...") |
1536 | + | |
1537 | local exp2 = exp:Clone() | |
1538 | exp2.Parent = aa | |
1539 | local exp3 = exp:Clone() | |
1540 | exp3.Parent = aa | |
1541 | local exp4 = exp:Clone() | |
1542 | exp4.Parent = aa | |
1543 | local exp5 = exp:Clone() | |
1544 | exp5.Parent = aa | |
1545 | local exp6 = exp:Clone() | |
1546 | exp6.Parent = aa | |
1547 | local exp7 = exp:Clone() | |
1548 | exp7.Parent = aa | |
1549 | local expa2 = expa:Clone() | |
1550 | expa2.Parent = aa | |
1551 | local expa3 = expa:Clone() | |
1552 | expa3.Parent = aa | |
1553 | local expa4 = expa:Clone() | |
1554 | expa4.Parent = aa | |
1555 | local expa5 = expa:Clone() | |
1556 | expa5.Parent = aa | |
1557 | local expa6 = expa:Clone() | |
1558 | expa6.Parent = aa | |
1559 | local expa7 = expa:Clone() | |
1560 | expa7.Parent = aa | |
1561 | for i = 0, 1 do | |
1562 | val = val - 0.025*3.5 | |
1563 | thinger.Scale = thinger.Scale + vt(val,val,val) | |
1564 | wait() | |
1565 | end | |
1566 | exp.Rate = 0 | |
1567 | exp2.Rate = 0 | |
1568 | exp3.Rate = 0 | |
1569 | exp4.Rate = 0 | |
1570 | exp5.Rate = 0 | |
1571 | exp6.Rate = 0 | |
1572 | exp7.Rate = 0 | |
1573 | for i = 0, 1 do | |
1574 | val = val - 0.025*3.5 | |
1575 | thinger.Scale = thinger.Scale + vt(val,val,val) | |
1576 | - | chatfunc("Orb!!") |
1576 | + | |
1577 | end | |
1578 | expa.Rate = 0 | |
1579 | expa2.Rate = 0 | |
1580 | expa3.Rate = 0 | |
1581 | expa4.Rate = 0 | |
1582 | expa5.Rate = 0 | |
1583 | expa6.Rate = 0 | |
1584 | expa7.Rate = 0 | |
1585 | for i = 0, 21 do | |
1586 | val = val - 0.025*3.5 | |
1587 | thinger.Scale = thinger.Scale + vt(val,val,val) | |
1588 | wait() | |
1589 | end | |
1590 | for i = 0, 4 do | |
1591 | val = val - 0.05 | |
1592 | aa.Transparency = aa.Transparency + 0.065*4.5 | |
1593 | thinger.Scale = thinger.Scale + vt(val,val,val) | |
1594 | wait() | |
1595 | star:Stop() | |
1596 | end | |
1597 | end | |
1598 | end | |
1599 | end) | |
1600 | for i = 0,2,0.1 do | |
1601 | swait() | |
1602 | RootJoint.C0 = clerp(RootJoint.C0,RootCF*cf(0,0,0)* angles(math.rad(0),math.rad(0),math.rad(90)),.3) | |
1603 | Torso.Neck.C0 = clerp(Torso.Neck.C0,necko *angles(math.rad(10),math.rad(0),math.rad(-90)),.3) | |
1604 | RW.C0 = clerp(RW.C0, CFrame.new(1.45, 0.5, 0) * angles(math.rad(0), math.rad(0), math.rad(30)), 0.3) | |
1605 | LW.C0 = clerp(LW.C0, CFrame.new(-1.45, 0.5, 0) * angles(math.rad(0), math.rad(0), math.rad(-25 + 2.5 * math.cos(sine / 32))), 0.3) | |
1606 | end | |
1607 | attack = false | |
1608 | wait(60) | |
1609 | sa:Destroy() | |
1610 | sa:Destroy() | |
1611 | sa:Destroy() | |
1612 | sa:Destroy() | |
1613 | sa:Destroy() | |
1614 | aura:Destroy() | |
1615 | aura2:Destroy() | |
1616 | lb:Destroy() | |
1617 | end | |
1618 | ||
1619 | ||
1620 | function InfernoMeteor() | |
1621 | attack = true | |
1622 | chatfunc("Fire...") | |
1623 | handleweld.Part0 = rarm | |
1624 | local tra = Instance.new("ParticleEmitter",handle) | |
1625 | tra.Texture = "rbxassetid://296874871" | |
1626 | tra.LightEmission = 0.75 | |
1627 | tra.Color = ColorSequence.new(BrickColor.new("Really red").Color) | |
1628 | tra.Rate = 99999 | |
1629 | tra.Lifetime = NumberRange.new(0.25) | |
1630 | tra.Size = NumberSequence.new({NumberSequenceKeypoint.new(0,5,0),NumberSequenceKeypoint.new(1,0,0)}) | |
1631 | tra.Transparency = NumberSequence.new({NumberSequenceKeypoint.new(0,1,0),NumberSequenceKeypoint.new(1,0.25,0)}) | |
1632 | tra.Speed = NumberRange.new(0) | |
1633 | tra.Rotation = NumberRange.new(-500,500) | |
1634 | tra.VelocitySpread = 90000 | |
1635 | tra.LockedToPart = true | |
1636 | tra.RotSpeed = NumberRange.new(-500,500) | |
1637 | local tra2 = Instance.new("ParticleEmitter",handle) | |
1638 | tra2.Texture = "http://www.roblox.com/asset/?id=745304849" | |
1639 | tra2.LightEmission = 1 | |
1640 | tra2.Color = ColorSequence.new(BrickColor.new("Really red").Color) | |
1641 | tra2.Rate = 50 | |
1642 | tra2.Lifetime = NumberRange.new(0.5) | |
1643 | tra2.Size = NumberSequence.new({NumberSequenceKeypoint.new(0,10,0),NumberSequenceKeypoint.new(1,0,0)}) | |
1644 | tra2.Transparency = NumberSequence.new({NumberSequenceKeypoint.new(0,1,0),NumberSequenceKeypoint.new(1,0.5,0)}) | |
1645 | tra2.Speed = NumberRange.new(0) | |
1646 | tra2.Rotation = NumberRange.new(-500,500) | |
1647 | tra2.VelocitySpread = 90000 | |
1648 | tra2.LockedToPart = true | |
1649 | tra2.RotSpeed = NumberRange.new(-500,500) | |
1650 | local sa = Instance.new("Sound",handle) | |
1651 | sa.SoundId = "rbxassetid://565538688" | |
1652 | sa.Volume = 1.5 | |
1653 | sa.Pitch = 0.975 | |
1654 | sa:Play() | |
1655 | for i = 0,4,0.1 do | |
1656 | swait() | |
1657 | RootJoint.C0 = clerp(RootJoint.C0,RootCF*cf(0,0,0)* angles(math.rad(0),math.rad(0),math.rad(90)),.3) | |
1658 | Torso.Neck.C0 = clerp(Torso.Neck.C0,necko *angles(math.rad(5),math.rad(0),math.rad(-90)),.3) | |
1659 | RW.C0 = clerp(RW.C0, CFrame.new(1.45, 0.5, 0) * angles(math.rad(170), math.rad(0), math.rad(90)), 0.3) | |
1660 | LW.C0 = clerp(LW.C0, CFrame.new(-1.45, 0.5, 0) * angles(math.rad(0), math.rad(0), math.rad(-25 + 2.5 * math.cos(sine / 32))), 0.3) | |
1661 | end | |
1662 | chatfunc("BALL!!") | |
1663 | local sa = Instance.new("Sound",handle) | |
1664 | sa.SoundId = "rbxassetid://304529688" | |
1665 | sa.Volume = 1.5 | |
1666 | sa.Pitch = 0.85 | |
1667 | sa:Play() | |
1668 | tra.Rate = 0 | |
1669 | tra2.Rate = 0 | |
1670 | local lb = Instance.new("Part") | |
1671 | lb.Parent = char | |
1672 | lb.Material = "Neon" | |
1673 | lb.Color = BrickColor.new("Really red").Color | |
1674 | lb.CanCollide = false | |
1675 | lb.Shape = "Ball" | |
1676 | lb.CFrame = handle.CFrame | |
1677 | lb.Anchored = true | |
1678 | lb.Transparency = 1 | |
1679 | lb.Size = vt(1,1,1) | |
1680 | local thing = Instance.new("SpecialMesh",lb) | |
1681 | thing.MeshType = meshtype | |
1682 | local hitted = false | |
1683 | lb.Anchored = false | |
1684 | local trail = Instance.new("ParticleEmitter",lb) | |
1685 | trail.Texture = "rbxassetid://296874871" | |
1686 | trail.LightEmission = 1 | |
1687 | trail.Color = ColorSequence.new(BrickColor.new("Really red").Color) | |
1688 | trail.Rate = 9999 | |
1689 | trail.Lifetime = NumberRange.new(1.5) | |
1690 | trail.Size = NumberSequence.new({NumberSequenceKeypoint.new(0,25,0),NumberSequenceKeypoint.new(1,0,0)}) | |
1691 | trail.Transparency = NumberSequence.new({NumberSequenceKeypoint.new(0,0,0),NumberSequenceKeypoint.new(1,1,0)}) | |
1692 | trail.Speed = NumberRange.new(0,0) | |
1693 | trail.Rotation = NumberRange.new(-500,500) | |
1694 | trail.RotSpeed = NumberRange.new(-500,500) | |
1695 | local bv = Instance.new("BodyVelocity") | |
1696 | bv.maxForce = Vector3.new(1e9, 1e9, 1e9) | |
1697 | bv.velocity = mouse.Hit.lookVector *95 | |
1698 | bv.Parent = lb | |
1699 | wait(0.05) | |
1700 | lb.Touched:connect(function(hit) | |
1701 | if hitted == false then | |
1702 | hitted = true | |
1703 | trail.Rate = 0 | |
1704 | lb.Anchored = true | |
1705 | local aa = Instance.new("Part") | |
1706 | local val = 1*8 | |
1707 | aa.Parent = lb | |
1708 | local exsound = Instance.new("Sound",aa) | |
1709 | exsound.SoundId = "rbxassetid://402347142" | |
1710 | exsound.Volume = 10 | |
1711 | exsound.Pitch = 0.945 | |
1712 | exsound:Play() | |
1713 | aa.Material = "Neon" | |
1714 | aa.Color = BrickColor.new("Really red").Color | |
1715 | aa.CanCollide = false | |
1716 | aa.Shape = "Ball" | |
1717 | aa.CFrame = lb.CFrame | |
1718 | aa.Anchored = true | |
1719 | aa.Transparency = 0 | |
1720 | aa.Size = vt(1,1,1) | |
1721 | local thinger = Instance.new("SpecialMesh",aa) | |
1722 | thinger.MeshType = meshtype | |
1723 | thinger.Scale = vt(15,15,15) | |
1724 | local explosion = Instance.new("Explosion",aa) | |
1725 | explosion.Position = aa.Position | |
1726 | explosion.BlastRadius = 65 | |
1727 | explosion.BlastPressure = 100 | |
1728 | local exp = Instance.new("ParticleEmitter",aa) | |
1729 | exp.Texture = "rbxassetid://296874871" | |
1730 | exp.LightEmission = 1 | |
1731 | exp.Color = ColorSequence.new(BrickColor.new("Really red").Color) | |
1732 | exp.Rate = 9000000000 | |
1733 | exp.Lifetime = NumberRange.new(1) | |
1734 | exp.Size = NumberSequence.new({NumberSequenceKeypoint.new(0,100,0),NumberSequenceKeypoint.new(1,1,0)}) | |
1735 | exp.Transparency = NumberSequence.new({NumberSequenceKeypoint.new(0,0,0),NumberSequenceKeypoint.new(1,1,0)}) | |
1736 | exp.Speed = NumberRange.new(200) | |
1737 | exp.VelocitySpread = 9000000 | |
1738 | - | chatfunc("Reimu Explode!! (Another one)") |
1738 | + | |
1739 | exp.RotSpeed = NumberRange.new(-500,500) | |
1740 | local expa = Instance.new("ParticleEmitter",aa) | |
1741 | expa.Texture = "rbxassetid://296874871" | |
1742 | expa.LightEmission = 1 | |
1743 | expa.Color = ColorSequence.new(BrickColor.new("Really red").Color) | |
1744 | expa.Rate = 9000000000 | |
1745 | expa.Lifetime = NumberRange.new(2.75) | |
1746 | expa.Size = NumberSequence.new({NumberSequenceKeypoint.new(0,5,0),NumberSequenceKeypoint.new(1,125,0)}) | |
1747 | expa.Transparency = NumberSequence.new({NumberSequenceKeypoint.new(0,0.5,0),NumberSequenceKeypoint.new(1,1,0)}) | |
1748 | expa.Speed = NumberRange.new(200) | |
1749 | expa.VelocitySpread = 9000000 | |
1750 | expa.Rotation = NumberRange.new(-500,500) | |
1751 | expa.RotSpeed = NumberRange.new(-500,500) | |
1752 | local exp2 = exp:Clone() | |
1753 | exp2.Parent = aa | |
1754 | local exp3 = exp:Clone() | |
1755 | exp3.Parent = aa | |
1756 | local exp4 = exp:Clone() | |
1757 | exp4.Parent = aa | |
1758 | local exp5 = exp:Clone() | |
1759 | exp5.Parent = aa | |
1760 | local exp6 = exp:Clone() | |
1761 | exp6.Parent = aa | |
1762 | local exp7 = exp:Clone() | |
1763 | exp7.Parent = aa | |
1764 | local expa2 = expa:Clone() | |
1765 | expa2.Parent = aa | |
1766 | local expa3 = expa:Clone() | |
1767 | expa3.Parent = aa | |
1768 | local expa4 = expa:Clone() | |
1769 | expa4.Parent = aa | |
1770 | local expa5 = expa:Clone() | |
1771 | expa5.Parent = aa | |
1772 | local expa6 = expa:Clone() | |
1773 | expa6.Parent = aa | |
1774 | local expa7 = expa:Clone() | |
1775 | expa7.Parent = aa | |
1776 | for i = 0, 1 do | |
1777 | val = val - 0.025*8 | |
1778 | thinger.Scale = thinger.Scale + vt(val,val,val) | |
1779 | wait() | |
1780 | end | |
1781 | exp.Rate = 0 | |
1782 | exp2.Rate = 0 | |
1783 | exp3.Rate = 0 | |
1784 | exp4.Rate = 0 | |
1785 | exp5.Rate = 0 | |
1786 | exp6.Rate = 0 | |
1787 | exp7.Rate = 0 | |
1788 | for i = 0, 1 do | |
1789 | val = val - 0.025*8 | |
1790 | thinger.Scale = thinger.Scale + vt(val,val,val) | |
1791 | wait() | |
1792 | end | |
1793 | expa.Rate = 0 | |
1794 | expa2.Rate = 0 | |
1795 | expa3.Rate = 0 | |
1796 | expa4.Rate = 0 | |
1797 | expa5.Rate = 0 | |
1798 | expa6.Rate = 0 | |
1799 | expa7.Rate = 0 | |
1800 | for i = 0, 21 do | |
1801 | val = val - 0.025*8 | |
1802 | thinger.Scale = thinger.Scale + vt(val,val,val) | |
1803 | wait() | |
1804 | end | |
1805 | for i = 0, 74 do | |
1806 | val = val - 0.0145 | |
1807 | aa.Transparency = aa.Transparency + 0.0145 | |
1808 | thinger.Scale = thinger.Scale + vt(val,val,val) | |
1809 | wait() | |
1810 | end | |
1811 | end | |
1812 | end) | |
1813 | attack = false | |
1814 | wait(30) | |
1815 | sa:Destroy() | |
1816 | tra:Destroy() | |
1817 | tra2:Destroy() | |
1818 | lb:Destroy() | |
1819 | end | |
1820 | ||
1821 | ||
1822 | function InfernoWrath() | |
1823 | attack = true | |
1824 | chatfunc("Mario Explode!! (Another one)") | |
1825 | for i = 0,4,0.1 do | |
1826 | swait() | |
1827 | RootJoint.C0 = clerp(RootJoint.C0,RootCF*cf(0,0,0)* angles(math.rad(0),math.rad(0),math.rad(0)),.3) | |
1828 | Torso.Neck.C0 = clerp(Torso.Neck.C0,necko *angles(math.rad(5),math.rad(0),math.rad(0)),.3) | |
1829 | RW.C0 = clerp(RW.C0, CFrame.new(1.45, 0.5, 0) * angles(math.rad(0), math.rad(0), math.rad(90)), 0.3) | |
1830 | LW.C0 = clerp(LW.C0, CFrame.new(-1.45, 0.5, 0) * angles(math.rad(0), math.rad(0), math.rad(-90)), 0.3) | |
1831 | end | |
1832 | local ff = Instance.new("ForceField",char) | |
1833 | hum.WalkSpeed = 0 | |
1834 | local lb = Instance.new("Part") | |
1835 | lb.Parent = char | |
1836 | lb.Material = "Neon" | |
1837 | lb.Color = BrickColor.new("Really red").Color | |
1838 | lb.CanCollide = false | |
1839 | lb.Shape = "Ball" | |
1840 | lb.CFrame = torso.CFrame | |
1841 | lb.Anchored = true | |
1842 | lb.Transparency = 1 | |
1843 | lb.Size = vt(1,1,1) | |
1844 | local thing = Instance.new("SpecialMesh",lb) | |
1845 | thing.MeshType = meshtype | |
1846 | for i = 0, 4 do | |
1847 | local lbr = Instance.new("Part") | |
1848 | lbr.Parent = char | |
1849 | lbr.Material = "Neon" | |
1850 | lbr.Color = BrickColor.new("Really red").Color | |
1851 | lbr.CanCollide = false | |
1852 | lbr.Shape = "Ball" | |
1853 | lbr.CFrame = lb.CFrame | |
1854 | lbr.Anchored = true | |
1855 | lbr.Transparency = 1 | |
1856 | lbr.Size = vt(1,1,1) | |
1857 | local thinga = Instance.new("SpecialMesh",lbr) | |
1858 | thinga.MeshType = meshtype | |
1859 | thinga.Scale = vt(20*6,20*6,20*6) | |
1860 | for z = 0, 19 do | |
1861 | wait(0.025) | |
1862 | lbr.Transparency = lbr.Transparency - 0.05 | |
1863 | thinga.Scale = thinga.Scale - vt(1*6,1*6,1*6) | |
1864 | end | |
1865 | lbr:Destroy() | |
1866 | end | |
1867 | local aa = Instance.new("Part") | |
1868 | local val = 1*7.5 | |
1869 | aa.Parent = lb | |
1870 | local exsound = Instance.new("Sound",handle) | |
1871 | exsound.SoundId = "rbxassetid://402347142" | |
1872 | exsound.Volume = 10 | |
1873 | exsound.Pitch = 1 | |
1874 | exsound:Play() | |
1875 | aa.Material = "Neon" | |
1876 | aa.Color = BrickColor.new("Really red").Color | |
1877 | aa.CanCollide = false | |
1878 | aa.Shape = "Ball" | |
1879 | aa.CFrame = lb.CFrame | |
1880 | aa.Anchored = true | |
1881 | aa.Transparency = 0 | |
1882 | aa.Size = vt(1,1,1) | |
1883 | local thinger = Instance.new("SpecialMesh",aa) | |
1884 | thinger.MeshType = meshtype | |
1885 | thinger.Scale = vt(15*1.5,15*1.5,15*1.5) | |
1886 | local explosion = Instance.new("Explosion",aa) | |
1887 | explosion.Position = aa.Position | |
1888 | explosion.BlastRadius = 50 | |
1889 | explosion.BlastPressure = 100 | |
1890 | local exp = Instance.new("ParticleEmitter",aa) | |
1891 | exp.Texture = "rbxassetid://296874871" | |
1892 | exp.LightEmission = 1 | |
1893 | exp.Color = ColorSequence.new(BrickColor.new("Really red").Color) | |
1894 | exp.Rate = 9000000000 | |
1895 | exp.Lifetime = NumberRange.new(1) | |
1896 | - | chatfunc("Reimu Explode!!") |
1896 | + | |
1897 | exp.Transparency = NumberSequence.new({NumberSequenceKeypoint.new(0,0,0),NumberSequenceKeypoint.new(1,1,0)}) | |
1898 | exp.Speed = NumberRange.new(115) | |
1899 | exp.VelocitySpread = 9000000 | |
1900 | exp.Rotation = NumberRange.new(-500,500) | |
1901 | exp.RotSpeed = NumberRange.new(-500,500) | |
1902 | local expa = Instance.new("ParticleEmitter",aa) | |
1903 | expa.Texture = "rbxassetid://296874871" | |
1904 | expa.LightEmission = 1 | |
1905 | expa.Color = ColorSequence.new(BrickColor.new("Really red").Color) | |
1906 | expa.Rate = 9000000000 | |
1907 | expa.Lifetime = NumberRange.new(2.75) | |
1908 | expa.Size = NumberSequence.new({NumberSequenceKeypoint.new(0,5,0),NumberSequenceKeypoint.new(1,75,0)}) | |
1909 | expa.Transparency = NumberSequence.new({NumberSequenceKeypoint.new(0,0.5,0),NumberSequenceKeypoint.new(1,1,0)}) | |
1910 | expa.Speed = NumberRange.new(115) | |
1911 | expa.VelocitySpread = 9000000 | |
1912 | expa.Rotation = NumberRange.new(-500,500) | |
1913 | expa.RotSpeed = NumberRange.new(-500,500) | |
1914 | local exp2 = exp:Clone() | |
1915 | exp2.Parent = aa | |
1916 | local exp3 = exp:Clone() | |
1917 | exp3.Parent = aa | |
1918 | local exp4 = exp:Clone() | |
1919 | exp4.Parent = aa | |
1920 | local exp5 = exp:Clone() | |
1921 | exp5.Parent = aa | |
1922 | local exp6 = exp:Clone() | |
1923 | exp6.Parent = aa | |
1924 | local exp7 = exp:Clone() | |
1925 | exp7.Parent = aa | |
1926 | local expa2 = expa:Clone() | |
1927 | expa2.Parent = aa | |
1928 | local expa3 = expa:Clone() | |
1929 | expa3.Parent = aa | |
1930 | local expa4 = expa:Clone() | |
1931 | expa4.Parent = aa | |
1932 | local expa5 = expa:Clone() | |
1933 | expa5.Parent = aa | |
1934 | local expa6 = expa:Clone() | |
1935 | expa6.Parent = aa | |
1936 | local expa7 = expa:Clone() | |
1937 | expa7.Parent = aa | |
1938 | for i = 0, 1 do | |
1939 | val = val - 0.025*7.5 | |
1940 | thinger.Scale = thinger.Scale + vt(val,val,val) | |
1941 | wait() | |
1942 | end | |
1943 | exp.Rate = 0 | |
1944 | exp2.Rate = 0 | |
1945 | exp3.Rate = 0 | |
1946 | exp4.Rate = 0 | |
1947 | exp5.Rate = 0 | |
1948 | exp6.Rate = 0 | |
1949 | exp7.Rate = 0 | |
1950 | for i = 0, 1 do | |
1951 | val = val - 0.025*7.5 | |
1952 | thinger.Scale = thinger.Scale + vt(val,val,val) | |
1953 | wait() | |
1954 | end | |
1955 | ff:Destroy() | |
1956 | hum.WalkSpeed = 16 | |
1957 | attack = false | |
1958 | expa.Rate = 0 | |
1959 | expa2.Rate = 0 | |
1960 | expa3.Rate = 0 | |
1961 | expa4.Rate = 0 | |
1962 | expa5.Rate = 0 | |
1963 | expa6.Rate = 0 | |
1964 | expa7.Rate = 0 | |
1965 | for i = 0, 21 do | |
1966 | val = val - 0.025*7.5 | |
1967 | thinger.Scale = thinger.Scale + vt(val,val,val) | |
1968 | wait() | |
1969 | end | |
1970 | for i = 0, 74 do | |
1971 | val = val - 0.0145 | |
1972 | aa.Transparency = aa.Transparency + 0.0145 | |
1973 | thinger.Scale = thinger.Scale + vt(val,val,val) | |
1974 | wait() | |
1975 | end | |
1976 | wait(5) | |
1977 | lb:Destroy() | |
1978 | end | |
1979 | ||
1980 | function InfernoDemise() | |
1981 | attack = true | |
1982 | chatfunc("Mario Explode!!") | |
1983 | local tra = Instance.new("ParticleEmitter",handle) | |
1984 | tra.Texture = "rbxassetid://296874871" | |
1985 | tra.LightEmission = 0.75 | |
1986 | tra.Color = ColorSequence.new(BrickColor.new("Really red").Color) | |
1987 | tra.Rate = 99999 | |
1988 | tra.Lifetime = NumberRange.new(0.25) | |
1989 | tra.Size = NumberSequence.new({NumberSequenceKeypoint.new(0,5,0),NumberSequenceKeypoint.new(1,0,0)}) | |
1990 | tra.Transparency = NumberSequence.new({NumberSequenceKeypoint.new(0,1,0),NumberSequenceKeypoint.new(1,0.25,0)}) | |
1991 | tra.Speed = NumberRange.new(0) | |
1992 | tra.Rotation = NumberRange.new(-500,500) | |
1993 | tra.VelocitySpread = 90000 | |
1994 | tra.LockedToPart = true | |
1995 | tra.RotSpeed = NumberRange.new(-500,500) | |
1996 | local tra2 = Instance.new("ParticleEmitter",handle) | |
1997 | tra2.Texture = "http://www.roblox.com/asset/?id=745304849" | |
1998 | tra2.LightEmission = 1 | |
1999 | tra2.Color = ColorSequence.new(BrickColor.new("Really red").Color) | |
2000 | tra2.Rate = 50 | |
2001 | tra2.Lifetime = NumberRange.new(0.5) | |
2002 | tra2.Size = NumberSequence.new({NumberSequenceKeypoint.new(0,5.5,0),NumberSequenceKeypoint.new(1,0,0)}) | |
2003 | tra2.Transparency = NumberSequence.new({NumberSequenceKeypoint.new(0,1,0),NumberSequenceKeypoint.new(1,0.5,0)}) | |
2004 | tra2.Speed = NumberRange.new(0) | |
2005 | tra2.Rotation = NumberRange.new(-500,500) | |
2006 | tra2.VelocitySpread = 90000 | |
2007 | tra2.LockedToPart = true | |
2008 | tra2.RotSpeed = NumberRange.new(-500,500) | |
2009 | for i = 0,1,0.1 do | |
2010 | swait() | |
2011 | RootJoint.C0 = clerp(RootJoint.C0,RootCF*cf(0,0,0)* angles(math.rad(0),math.rad(0),math.rad(90)),.3) | |
2012 | Torso.Neck.C0 = clerp(Torso.Neck.C0,necko *angles(math.rad(5),math.rad(0),math.rad(-90)),.3) | |
2013 | RW.C0 = clerp(RW.C0, CFrame.new(1.45, 0.5, 0) * angles(math.rad(0), math.rad(0), math.rad(180)), 0.3) | |
2014 | LW.C0 = clerp(LW.C0, CFrame.new(-1.45, 0.5, 0) * angles(math.rad(0), math.rad(0), math.rad(-25 + 2.5 * math.cos(sine / 32))), 0.3) | |
2015 | end | |
2016 | tra.Rate = 0 | |
2017 | tra2.Rate = 0 | |
2018 | local lb = Instance.new("Part") | |
2019 | lb.Parent = char | |
2020 | lb.Material = "Neon" | |
2021 | lb.Color = BrickColor.new("Really red").Color | |
2022 | lb.CanCollide = false | |
2023 | lb.Shape = "Ball" | |
2024 | lb.CFrame = mouse.Hit | |
2025 | lb.Anchored = true | |
2026 | lb.Transparency = 1 | |
2027 | lb.Size = vt(1,1,1) | |
2028 | local thing = Instance.new("SpecialMesh",lb) | |
2029 | thing.MeshType = meshtype | |
2030 | for i = 0, 4 do | |
2031 | local lbr = Instance.new("Part") | |
2032 | lbr.Parent = char | |
2033 | lbr.Material = "Neon" | |
2034 | lbr.Color = BrickColor.new("Really red").Color | |
2035 | lbr.CanCollide = false | |
2036 | lbr.Shape = "Ball" | |
2037 | lbr.CFrame = lb.CFrame | |
2038 | lbr.Anchored = true | |
2039 | lbr.Transparency = 1 | |
2040 | lbr.Size = vt(1,1,1) | |
2041 | local thinga = Instance.new("SpecialMesh",lbr) | |
2042 | thinga.MeshType = meshtype | |
2043 | thinga.Scale = vt(20*4.5,20*4.5,20*4.5) | |
2044 | for z = 0, 19 do | |
2045 | wait(0.025) | |
2046 | lbr.Transparency = lbr.Transparency - 0.05 | |
2047 | thinga.Scale = thinga.Scale - vt(1*4.5,1*4.5,1*4.5) | |
2048 | end | |
2049 | lbr:Destroy() | |
2050 | end | |
2051 | local aa = Instance.new("Part") | |
2052 | local val = 1*6.25 | |
2053 | aa.Parent = lb | |
2054 | local exsound = Instance.new("Sound",aa) | |
2055 | exsound.SoundId = "rbxassetid://402347142" | |
2056 | exsound.Volume = 4.5 | |
2057 | exsound.Pitch = 1 | |
2058 | exsound:Play() | |
2059 | aa.Material = "Neon" | |
2060 | aa.Color = BrickColor.new("Really red").Color | |
2061 | aa.CanCollide = false | |
2062 | aa.Shape = "Ball" | |
2063 | aa.CFrame = lb.CFrame | |
2064 | aa.Anchored = true | |
2065 | aa.Transparency = 0 | |
2066 | aa.Size = vt(1,1,1) | |
2067 | local thinger = Instance.new("SpecialMesh",aa) | |
2068 | thinger.MeshType = meshtype | |
2069 | thinger.Scale = vt(15*1.15,15*1.15,15*1.15) | |
2070 | local explosion = Instance.new("Explosion",aa) | |
2071 | explosion.Position = aa.Position | |
2072 | explosion.BlastRadius = 35 | |
2073 | explosion.BlastPressure = 100 | |
2074 | local exp = Instance.new("ParticleEmitter",aa) | |
2075 | exp.Texture = "rbxassetid://296874871" | |
2076 | exp.LightEmission = 1 | |
2077 | exp.Color = ColorSequence.new(BrickColor.new("Really red").Color) | |
2078 | exp.Rate = 9000000000 | |
2079 | exp.Lifetime = NumberRange.new(1) | |
2080 | exp.Size = NumberSequence.new({NumberSequenceKeypoint.new(0,30,0),NumberSequenceKeypoint.new(1,1,0)}) | |
2081 | exp.Transparency = NumberSequence.new({NumberSequenceKeypoint.new(0,0,0),NumberSequenceKeypoint.new(1,1,0)}) | |
2082 | exp.Speed = NumberRange.new(105) | |
2083 | exp.VelocitySpread = 9000000 | |
2084 | exp.Rotation = NumberRange.new(-500,500) | |
2085 | exp.RotSpeed = NumberRange.new(-500,500) | |
2086 | local expa = Instance.new("ParticleEmitter",aa) | |
2087 | expa.Texture = "rbxassetid://296874871" | |
2088 | expa.LightEmission = 1 | |
2089 | expa.Color = ColorSequence.new(BrickColor.new("Really red").Color) | |
2090 | expa.Rate = 9000000000 | |
2091 | expa.Lifetime = NumberRange.new(2.75) | |
2092 | expa.Size = NumberSequence.new({NumberSequenceKeypoint.new(0,5,0),NumberSequenceKeypoint.new(1,75,0)}) | |
2093 | expa.Transparency = NumberSequence.new({NumberSequenceKeypoint.new(0,0.5,0),NumberSequenceKeypoint.new(1,1,0)}) | |
2094 | expa.Speed = NumberRange.new(105) | |
2095 | expa.VelocitySpread = 9000000 | |
2096 | expa.Rotation = NumberRange.new(-500,500) | |
2097 | expa.RotSpeed = NumberRange.new(-500,500) | |
2098 | local exp2 = exp:Clone() | |
2099 | exp2.Parent = aa | |
2100 | local exp3 = exp:Clone() | |
2101 | exp3.Parent = aa | |
2102 | local exp4 = exp:Clone() | |
2103 | exp4.Parent = aa | |
2104 | local exp5 = exp:Clone() | |
2105 | exp5.Parent = aa | |
2106 | local exp6 = exp:Clone() | |
2107 | exp6.Parent = aa | |
2108 | local exp7 = exp:Clone() | |
2109 | exp7.Parent = aa | |
2110 | local expa2 = expa:Clone() | |
2111 | expa2.Parent = aa | |
2112 | local expa3 = expa:Clone() | |
2113 | expa3.Parent = aa | |
2114 | local expa4 = expa:Clone() | |
2115 | expa4.Parent = aa | |
2116 | local expa5 = expa:Clone() | |
2117 | expa5.Parent = aa | |
2118 | local expa6 = expa:Clone() | |
2119 | expa6.Parent = aa | |
2120 | local expa7 = expa:Clone() | |
2121 | expa7.Parent = aa | |
2122 | for i = 0, 1 do | |
2123 | val = val - 0.025*6.25 | |
2124 | thinger.Scale = thinger.Scale + vt(val,val,val) | |
2125 | wait() | |
2126 | end | |
2127 | exp.Rate = 0 | |
2128 | exp2.Rate = 0 | |
2129 | exp3.Rate = 0 | |
2130 | exp4.Rate = 0 | |
2131 | exp5.Rate = 0 | |
2132 | exp6.Rate = 0 | |
2133 | exp7.Rate = 0 | |
2134 | for i = 0, 1 do | |
2135 | val = val - 0.025*6.25 | |
2136 | thinger.Scale = thinger.Scale + vt(val,val,val) | |
2137 | wait() | |
2138 | end | |
2139 | attack = false | |
2140 | expa.Rate = 0 | |
2141 | expa2.Rate = 0 | |
2142 | expa3.Rate = 0 | |
2143 | expa4.Rate = 0 | |
2144 | expa5.Rate = 0 | |
2145 | expa6.Rate = 0 | |
2146 | expa7.Rate = 0 | |
2147 | for i = 0, 21 do | |
2148 | val = val - 0.025*6.25 | |
2149 | thinger.Scale = thinger.Scale + vt(val,val,val) | |
2150 | wait() | |
2151 | end | |
2152 | for i = 0, 74 do | |
2153 | val = val - 0.0145 | |
2154 | aa.Transparency = aa.Transparency + 0.0145 | |
2155 | thinger.Scale = thinger.Scale + vt(val,val,val) | |
2156 | wait() | |
2157 | end | |
2158 | wait(5) | |
2159 | lb:Destroy() | |
2160 | tra:Destroy() | |
2161 | tra2:Destroy() | |
2162 | end | |
2163 | ||
2164 | mouse.KeyDown:connect(function(key) | |
2165 | if key == "q" and attack == false then | |
2166 | InfernoComet() | |
2167 | end | |
2168 | if key == "e" and attack == false then | |
2169 | InfernoDemise() | |
2170 | end | |
2171 | if key == "r" and attack == false then | |
2172 | InfernoWrath() | |
2173 | end | |
2174 | if key == "f" and attack == false then | |
2175 | InfernoMeteor() | |
2176 | end | |
2177 | if key == "x" and attack == false then | |
2178 | InfernoHell() | |
2179 | end | |
2180 | end) | |
2181 | ||
2182 | game:GetService("RunService").Stepped:connect(function() | |
2183 | Torsovelocity = (RootPart.Velocity * Vector3.new(1, 0, 1)).magnitude | |
2184 | velocity = RootPart.Velocity.y | |
2185 | sine = sine + change | |
2186 | local hit, pos = rayCast(RootPart.Position, CFrame.new(RootPart.Position, RootPart.Position - Vector3.new(0, 1, 0)).lookVector, 4, Character) | |
2187 | if equipped == true or equipped == false then | |
2188 | healthg.Text = math.floor(hum.Health).. "/" ..math.floor(hum.MaxHealth) | |
2189 | if RootPart.Velocity.y > 1 and hit == nil then | |
2190 | Anim = "Jump" | |
2191 | RH.C0=clerp(RH.C0,cf(1,-1,0)*angles(math.rad(0),math.rad(90),math.rad(0))*angles(math.rad(0),math.rad(0),math.rad(0)),.3) | |
2192 | LH.C0=clerp(LH.C0,cf(-1,-1,0)*angles(math.rad(0),math.rad(-90),math.rad(0))*angles(math.rad(0),math.rad(0),math.rad(0)),.3) | |
2193 | if attack == false then | |
2194 | RootJoint.C0 = clerp(RootJoint.C0,RootCF*cf(0,0,0)* angles(math.rad(-2.5),math.rad(0),math.rad(0)),.3) | |
2195 | Torso.Neck.C0 = clerp(Torso.Neck.C0,necko *angles(math.rad(2.5),math.rad(0),math.rad(0)),.3) | |
2196 | RW.C0 = clerp(RW.C0, CFrame.new(1.45, 0.65, 0) * angles(math.rad(-10), math.rad(0), math.rad(50)), 0.3) | |
2197 | LW.C0 = clerp(LW.C0, CFrame.new(-1.45, 0.65, 0) * angles(math.rad(-10), math.rad(0), math.rad(-50)), 0.3) | |
2198 | end | |
2199 | else | |
2200 | if RootPart.Velocity.y < -1 and hit == nil then | |
2201 | Anim = "Fall" | |
2202 | RH.C0=clerp(RH.C0,cf(1,-1,0)*angles(math.rad(0),math.rad(90),math.rad(0))*angles(math.rad(0),math.rad(0),math.rad(0)),.3) | |
2203 | LH.C0=clerp(LH.C0,cf(-1,-1,0)*angles(math.rad(0),math.rad(-90),math.rad(0))*angles(math.rad(0),math.rad(0),math.rad(0)),.3) | |
2204 | if attack == false then | |
2205 | RootJoint.C0 = clerp(RootJoint.C0,RootCF*cf(0,0,0)* angles(math.rad(5),math.rad(0),math.rad(0)),.3) | |
2206 | Torso.Neck.C0 = clerp(Torso.Neck.C0,necko *angles(math.rad(2.5),math.rad(0),math.rad(0)),.3) | |
2207 | RW.C0 = clerp(RW.C0, CFrame.new(1.45, 0.65, 0) * angles(math.rad(-10), math.rad(0), math.rad(90)), 0.3) | |
2208 | LW.C0 = clerp(LW.C0, CFrame.new(-1.45, 0.65, 0) * angles(math.rad(-10), math.rad(0), math.rad(-90)), 0.3) | |
2209 | end | |
2210 | else | |
2211 | if Torsovelocity < 1 and hit ~= nil then | |
2212 | Anim = "Idle" | |
2213 | RH.C0=clerp(RH.C0,cf(1,-1 - 0.05 * math.cos(sine / 32),0)*angles(math.rad(0),math.rad(90),math.rad(0))*angles(math.rad(0),math.rad(-10),math.rad(0)),.3) | |
2214 | LH.C0=clerp(LH.C0,cf(-1,-1 - 0.05 * math.cos(sine / 32),0)*angles(math.rad(0),math.rad(-90),math.rad(0))*angles(math.rad(0),math.rad(10),math.rad(0)),.3) | |
2215 | if attack == false then | |
2216 | change = 1 | |
2217 | RootJoint.C0 = clerp(RootJoint.C0,RootCF*cf(0,0,0 + 0.05 * math.cos(sine / 32))* angles(math.rad(0),math.rad(0),math.rad(-20)),.3) | |
2218 | Torso.Neck.C0 = clerp(Torso.Neck.C0,necko *angles(math.rad(10),math.rad(0),math.rad(20)),.3) | |
2219 | RW.C0 = clerp(RW.C0, CFrame.new(1, 0.35, -0.25) * angles(math.rad(20 + 1.5 * math.cos(sine / 32)), math.rad(-30), math.rad(-90)), 0.3) | |
2220 | LW.C0 = clerp(LW.C0, CFrame.new(-1.5, 0.5, 0) * angles(math.rad(0), math.rad(0), math.rad(-10 + 1.5 * math.cos(sine / 32))), 0.3) | |
2221 | end | |
2222 | else | |
2223 | if Torsovelocity > 2 and hit ~= nil then | |
2224 | Anim = "Walk" | |
2225 | RH.C0=clerp(RH.C0,cf(1,-1 - 0.05 * math.cos(sine / 32),0)*angles(math.rad(0),math.rad(90),math.rad(0))*angles(math.rad(0),math.rad(-25),math.rad(0 + 50 * math.cos(sine / 6))),.3) | |
2226 | LH.C0=clerp(LH.C0,cf(-1,-1 - 0.05 * math.cos(sine / 32),0)*angles(math.rad(0),math.rad(-90),math.rad(0))*angles(math.rad(0),math.rad(-25),math.rad(0 + 50 * math.cos(sine / 6))),.3) | |
2227 | if attack == false then | |
2228 | RootJoint.C0 = clerp(RootJoint.C0,RootCF*cf(0,0,0 + 0.05 * math.cos(sine / 32))* angles(math.rad(15),math.rad(0),math.rad(25)),.3) | |
2229 | Torso.Neck.C0 = clerp(Torso.Neck.C0,necko *angles(math.rad(10),math.rad(0),math.rad(-25)),.3) | |
2230 | RW.C0 = clerp(RW.C0, CFrame.new(1, 0.35, -0.5) * angles(math.rad(20), math.rad(-30), math.rad(-90)), 0.3) | |
2231 | LW.C0 = clerp(LW.C0, CFrame.new(-1.45, 0.5, 0) * angles(math.rad(0 - 45 * math.cos(sine / 5)), math.rad(0), math.rad(-10)), 0.3) | |
2232 | end | |
2233 | end | |
2234 | end | |
2235 | end | |
2236 | end | |
2237 | end | |
2238 | end) |