SHOW:
|
|
- or go back to the newest paste.
1 | - | local Player = game:GetService("Players").XXcooldudexx00 --<=== Replace With Your Name |
1 | + | local Player = game:GetService("Players").andreiek --<=== Replace With Your Name |
2 | ||
3 | ||
4 | local Mouse,mouse,UserInputService,ContextActionService | |
5 | do | |
6 | script.Parent = Player.Character | |
7 | local CAS = {Actions={}} | |
8 | local Event = Instance.new("RemoteEvent") | |
9 | Event.Name = "UserInput_Event" | |
10 | Event.Parent = Player.Character | |
11 | local fakeEvent = function() | |
12 | local t = {_fakeEvent=true} | |
13 | t.Connect = function(self,f)self.Function=f end | |
14 | t.connect = t.Connect | |
15 | return t | |
16 | end | |
17 | local m = {Target=nil,Hit=CFrame.new(),KeyUp=fakeEvent(),KeyDown=fakeEvent(),Button1Up=fakeEvent(),Button1Down=fakeEvent()} | |
18 | local UIS = {InputBegan=fakeEvent(),InputEnded=fakeEvent()} | |
19 | function CAS:BindAction(name,fun,touch,...) | |
20 | CAS.Actions[name] = {Name=name,Function=fun,Keys={...}} | |
21 | end | |
22 | function CAS:UnbindAction(name) | |
23 | CAS.Actions[name] = nil | |
24 | end | |
25 | local function te(self,ev,...) | |
26 | local t = m[ev] | |
27 | if t and t._fakeEvent and t.Function then | |
28 | t.Function(...) | |
29 | end | |
30 | end | |
31 | m.TrigEvent = te | |
32 | UIS.TrigEvent = te | |
33 | Event.OnServerEvent:Connect(function(plr,io) | |
34 | if plr~=Player then return end | |
35 | if io.isMouse then | |
36 | m.Target = io.Target | |
37 | m.Hit = io.Hit | |
38 | elseif io.UserInputType == Enum.UserInputType.MouseButton1 then | |
39 | if io.UserInputState == Enum.UserInputState.Begin then | |
40 | m:TrigEvent("Button1Down") | |
41 | else | |
42 | m:TrigEvent("Button1Up") | |
43 | end | |
44 | else | |
45 | for n,t in pairs(CAS.Actions) do | |
46 | for _,k in pairs(t.Keys) do | |
47 | if k==io.KeyCode then | |
48 | t.Function(t.Name,io.UserInputState,io) | |
49 | end | |
50 | end | |
51 | end | |
52 | if io.UserInputState == Enum.UserInputState.Begin then | |
53 | m:TrigEvent("KeyDown",io.KeyCode.Name:lower()) | |
54 | UIS:TrigEvent("InputBegan",io,false) | |
55 | else | |
56 | m:TrigEvent("KeyUp",io.KeyCode.Name:lower()) | |
57 | UIS:TrigEvent("InputEnded",io,false) | |
58 | end | |
59 | end | |
60 | end) | |
61 | Mouse,mouse,UserInputService,ContextActionService = m,m,UIS,CAS | |
62 | end | |
63 | ||
64 | ---------Replace All "LocalPlayer" With Your Name. | |
65 | --Remove "Mouse =" or "local mouse =" at the start. | |
66 | --Replace Kermat161 At The Top Of The Script With You Name. | |
67 | -----------------------------Script In The Line's. | |
68 | ||
69 | ||
70 | ------------------------------------------------- | |
71 | ||
72 | ||
73 | ||
74 | ||
75 | --//====================================================\\-- | |
76 | --|| CREATED BY SHACKLUSTER | |
77 | --\\====================================================//-- | |
78 | ||
79 | ||
80 | ||
81 | ||
82 | - | Player = game:GetService("Players").GodzillaGamer2037 |
82 | + | Player = game:GetService("Players").andreiek |
83 | PlayerGui = Player.PlayerGui | |
84 | Cam = workspace.CurrentCamera | |
85 | Backpack = Player.Backpack | |
86 | Character = Player.Character | |
87 | Humanoid = Character.Humanoid | |
88 | RootPart = Character["HumanoidRootPart"] | |
89 | Torso = Character["Torso"] | |
90 | Head = Character["Head"] | |
91 | RightArm = Character["Right Arm"] | |
92 | LeftArm = Character["Left Arm"] | |
93 | RightLeg = Character["Right Leg"] | |
94 | LeftLeg = Character["Left Leg"] | |
95 | RootJoint = RootPart["RootJoint"] | |
96 | Neck = Torso["Neck"] | |
97 | RightShoulder = Torso["Right Shoulder"] | |
98 | LeftShoulder = Torso["Left Shoulder"] | |
99 | RightHip = Torso["Right Hip"] | |
100 | LeftHip = Torso["Left Hip"] | |
101 | Player:ClearCharacterAppearance() | |
102 | local sick = Instance.new("Sound",Character) | |
103 | sick.SoundId = "rbxassetid://195900687" | |
104 | sick.Looped = true | |
105 | sick.Pitch = 1 | |
106 | sick.Volume = 3 | |
107 | sick:Play() | |
108 | local firesound = Instance.new("Sound",RootPart) | |
109 | firesound.SoundId = "rbxassetid://987328482" | |
110 | firesound.Looped = true | |
111 | firesound.Pitch = 1 | |
112 | firesound.Volume = 0 | |
113 | firesound:Play() | |
114 | ||
115 | ||
116 | IT = Instance.new | |
117 | CF = CFrame.new | |
118 | VT = Vector3.new | |
119 | RAD = math.rad | |
120 | C3 = Color3.new | |
121 | UD2 = UDim2.new | |
122 | BRICKC = BrickColor.new | |
123 | ANGLES = CFrame.Angles | |
124 | EULER = CFrame.fromEulerAnglesXYZ | |
125 | COS = math.cos | |
126 | ACOS = math.acos | |
127 | SIN = math.sin | |
128 | ASIN = math.asin | |
129 | ABS = math.abs | |
130 | MRANDOM = math.random | |
131 | FLOOR = math.floor | |
132 | ||
133 | function CreateMesh(MESH, PARENT, MESHTYPE, MESHID, TEXTUREID, SCALE, OFFSET) | |
134 | local NEWMESH = IT(MESH) | |
135 | if MESH == "SpecialMesh" then | |
136 | NEWMESH.MeshType = MESHTYPE | |
137 | if MESHID ~= "nil" and MESHID ~= "" then | |
138 | NEWMESH.MeshId = "http://www.roblox.com/asset/?id="..MESHID | |
139 | end | |
140 | if TEXTUREID ~= "nil" and TEXTUREID ~= "" then | |
141 | NEWMESH.TextureId = "http://www.roblox.com/asset/?id="..TEXTUREID | |
142 | end | |
143 | end | |
144 | NEWMESH.Offset = OFFSET or VT(0, 0, 0) | |
145 | NEWMESH.Scale = SCALE | |
146 | NEWMESH.Parent = PARENT | |
147 | return NEWMESH | |
148 | end | |
149 | ||
150 | function CreatePart(FORMFACTOR, PARENT, MATERIAL, REFLECTANCE, TRANSPARENCY, BRICKCOLOR, NAME, SIZE, ANCHOR) | |
151 | local NEWPART = IT("Part") | |
152 | NEWPART.formFactor = FORMFACTOR | |
153 | NEWPART.Reflectance = REFLECTANCE | |
154 | NEWPART.Transparency = TRANSPARENCY | |
155 | NEWPART.CanCollide = false | |
156 | NEWPART.Locked = true | |
157 | NEWPART.Anchored = true | |
158 | if ANCHOR == false then | |
159 | NEWPART.Anchored = false | |
160 | end | |
161 | NEWPART.BrickColor = BRICKC(tostring(BRICKCOLOR)) | |
162 | NEWPART.Name = NAME | |
163 | NEWPART.Size = SIZE | |
164 | NEWPART.Position = Torso.Position | |
165 | NEWPART.Material = MATERIAL | |
166 | NEWPART:BreakJoints() | |
167 | NEWPART.Parent = PARENT | |
168 | return NEWPART | |
169 | end | |
170 | ||
171 | --//=================================\\ | |
172 | --|| CUSTOMIZATION | |
173 | --\\=================================// | |
174 | ||
175 | Player_Size = 1 --Size of the player. | |
176 | Animation_Speed = 3 | |
177 | Frame_Speed = 1 / 60 -- (1 / 30) OR (1 / 60) | |
178 | local MODE = "Main" | |
179 | local SIZE = 1 | |
180 | local LEVEL = 1 | |
181 | ||
182 | ||
183 | local Speed = 16 | |
184 | local Effects2 = {} | |
185 | ||
186 | --//=================================\\ | |
187 | --|| END OF CUSTOMIZATION | |
188 | --\\=================================// | |
189 | ||
190 | local function weldBetween(a, b) | |
191 | local weldd = Instance.new("ManualWeld") | |
192 | weldd.Part0 = a | |
193 | weldd.Part1 = b | |
194 | weldd.C0 = CFrame.new() | |
195 | weldd.C1 = b.CFrame:inverse() * a.CFrame | |
196 | weldd.Parent = a | |
197 | return weldd | |
198 | end | |
199 | ||
200 | --//=================================\\ | |
201 | --|| USEFUL VALUES | |
202 | --\\=================================// | |
203 | ||
204 | local ROOTC0 = CF(0, 0, 0) * ANGLES(RAD(-90), RAD(0), RAD(180)) | |
205 | local NECKC0 = CF(0, 1, 0) * ANGLES(RAD(-90), RAD(0), RAD(180)) | |
206 | local RIGHTSHOULDERC0 = CF(-0.5, 0, 0) * ANGLES(RAD(0), RAD(90), RAD(0)) | |
207 | local LEFTSHOULDERC0 = CF(0.5, 0, 0) * ANGLES(RAD(0), RAD(-90), RAD(0)) | |
208 | local CHANGEDEFENSE = 0 | |
209 | local CHANGEDAMAGE = 0 | |
210 | local CHANGEMOVEMENT = 0 | |
211 | local ANIM = "Idle" | |
212 | local ATTACK = false | |
213 | local EQUIPPED = false | |
214 | local HOLD = false | |
215 | local COMBO = 1 | |
216 | local Rooted = false | |
217 | local SINE = 0 | |
218 | local KEYHOLD = false | |
219 | local CHANGE = 2 / Animation_Speed | |
220 | local VOCALS_ENRAGES = {528589078,528589175,528589274,528589382} | |
221 | local WALKINGANIM = false | |
222 | local WALK = 0 | |
223 | local VALUE1 = false | |
224 | local VALUE2 = false | |
225 | local ROBLOXIDLEANIMATION = IT("Animation") | |
226 | ROBLOXIDLEANIMATION.Name = "Roblox Idle Animation" | |
227 | ROBLOXIDLEANIMATION.AnimationId = "http://www.roblox.com/asset/?id=180435571" | |
228 | --ROBLOXIDLEANIMATION.Parent = Humanoid | |
229 | local WEAPONGUI = IT("ScreenGui", PlayerGui) | |
230 | WEAPONGUI.Name = "Weapon GUI" | |
231 | local Effects = IT("Folder", Character) | |
232 | Effects.Name = "Effects" | |
233 | sick.Volume = 0 | |
234 | Character.Archivable = true | |
235 | local CLONE = Character:Clone() | |
236 | CLONE.Parent = nil | |
237 | Character.Archivable = false | |
238 | sick.Volume = 3 | |
239 | local ANIMATOR = Humanoid.Animator | |
240 | local ANIMATE = Character.Animate | |
241 | local HITPLAYERSOUNDS = {--[["199149137", "199149186", "199149221", "199149235", "199149269", "199149297"--]]"263032172", "263032182", "263032200", "263032221", "263032252", "263033191"} | |
242 | local HITARMORSOUNDS = {"199149321", "199149338", "199149367", "199149409", "199149452"} | |
243 | local HITWEAPONSOUNDS = {"199148971", "199149025", "199149072", "199149109", "199149119"} | |
244 | local HITBLOCKSOUNDS = {"199148933", "199148947"} | |
245 | local UNANCHOR = true | |
246 | local BodyColor = C3(0,0,0) | |
247 | local LegColor = C3(0,0,0.05) | |
248 | local ArmColor = C3(0.05,0.05,0.15) | |
249 | ||
250 | local SKILLTEXTCOLOR = C3(0.05,0.05,0.15) | |
251 | local SKILLTEXTCOLOR2 = C3(0,0,0) | |
252 | ||
253 | --//=================================\\ | |
254 | --\\=================================// | |
255 | ||
256 | ||
257 | --//=================================\\ | |
258 | --|| SAZERENOS' ARTIFICIAL HEARTBEAT | |
259 | --\\=================================// | |
260 | ||
261 | ArtificialHB = Instance.new("BindableEvent", script) | |
262 | ArtificialHB.Name = "ArtificialHB" | |
263 | ||
264 | script:WaitForChild("ArtificialHB") | |
265 | ||
266 | frame = Frame_Speed | |
267 | tf = 0 | |
268 | allowframeloss = false | |
269 | tossremainder = false | |
270 | lastframe = tick() | |
271 | script.ArtificialHB:Fire() | |
272 | ||
273 | game:GetService("RunService").Heartbeat:connect(function(s, p) | |
274 | tf = tf + s | |
275 | if tf >= frame then | |
276 | if allowframeloss then | |
277 | script.ArtificialHB:Fire() | |
278 | lastframe = tick() | |
279 | else | |
280 | for i = 1, math.floor(tf / frame) do | |
281 | script.ArtificialHB:Fire() | |
282 | end | |
283 | lastframe = tick() | |
284 | end | |
285 | if tossremainder then | |
286 | tf = 0 | |
287 | else | |
288 | tf = tf - frame * math.floor(tf / frame) | |
289 | end | |
290 | end | |
291 | end) | |
292 | ||
293 | --//=================================\\ | |
294 | --\\=================================// | |
295 | ||
296 | ||
297 | ||
298 | ||
299 | ||
300 | --//=================================\\ | |
301 | --|| SOME FUNCTIONS | |
302 | --\\=================================// | |
303 | ||
304 | function Raycast(POSITION, DIRECTION, RANGE, IGNOREDECENDANTS) | |
305 | return workspace:FindPartOnRay(Ray.new(POSITION, DIRECTION.unit * RANGE), IGNOREDECENDANTS) | |
306 | end | |
307 | ||
308 | function PositiveAngle(NUMBER) | |
309 | if NUMBER >= 0 then | |
310 | NUMBER = 0 | |
311 | end | |
312 | return NUMBER | |
313 | end | |
314 | ||
315 | function NegativeAngle(NUMBER) | |
316 | if NUMBER <= 0 then | |
317 | NUMBER = 0 | |
318 | end | |
319 | return NUMBER | |
320 | end | |
321 | ||
322 | function Swait(NUMBER) | |
323 | if NUMBER == 0 or NUMBER == nil then | |
324 | ArtificialHB.Event:wait() | |
325 | else | |
326 | for i = 1, NUMBER do | |
327 | ArtificialHB.Event:wait() | |
328 | end | |
329 | end | |
330 | end | |
331 | ||
332 | function QuaternionFromCFrame(cf) | |
333 | local mx, my, mz, m00, m01, m02, m10, m11, m12, m20, m21, m22 = cf:components() | |
334 | local trace = m00 + m11 + m22 | |
335 | if trace > 0 then | |
336 | local s = math.sqrt(1 + trace) | |
337 | local recip = 0.5 / s | |
338 | return (m21 - m12) * recip, (m02 - m20) * recip, (m10 - m01) * recip, s * 0.5 | |
339 | else | |
340 | local i = 0 | |
341 | if m11 > m00 then | |
342 | i = 1 | |
343 | end | |
344 | if m22 > (i == 0 and m00 or m11) then | |
345 | i = 2 | |
346 | end | |
347 | if i == 0 then | |
348 | local s = math.sqrt(m00 - m11 - m22 + 1) | |
349 | local recip = 0.5 / s | |
350 | return 0.5 * s, (m10 + m01) * recip, (m20 + m02) * recip, (m21 - m12) * recip | |
351 | elseif i == 1 then | |
352 | local s = math.sqrt(m11 - m22 - m00 + 1) | |
353 | local recip = 0.5 / s | |
354 | return (m01 + m10) * recip, 0.5 * s, (m21 + m12) * recip, (m02 - m20) * recip | |
355 | elseif i == 2 then | |
356 | local s = math.sqrt(m22 - m00 - m11 + 1) | |
357 | local recip = 0.5 / s return (m02 + m20) * recip, (m12 + m21) * recip, 0.5 * s, (m10 - m01) * recip | |
358 | end | |
359 | end | |
360 | end | |
361 | ||
362 | function QuaternionToCFrame(px, py, pz, x, y, z, w) | |
363 | local xs, ys, zs = x + x, y + y, z + z | |
364 | local wx, wy, wz = w * xs, w * ys, w * zs | |
365 | local xx = x * xs | |
366 | local xy = x * ys | |
367 | local xz = x * zs | |
368 | local yy = y * ys | |
369 | local yz = y * zs | |
370 | local zz = z * zs | |
371 | 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)) | |
372 | end | |
373 | ||
374 | function QuaternionSlerp(a, b, t) | |
375 | local cosTheta = a[1] * b[1] + a[2] * b[2] + a[3] * b[3] + a[4] * b[4] | |
376 | local startInterp, finishInterp; | |
377 | if cosTheta >= 0.0001 then | |
378 | if (1 - cosTheta) > 0.0001 then | |
379 | local theta = ACOS(cosTheta) | |
380 | local invSinTheta = 1 / SIN(theta) | |
381 | startInterp = SIN((1 - t) * theta) * invSinTheta | |
382 | finishInterp = SIN(t * theta) * invSinTheta | |
383 | else | |
384 | startInterp = 1 - t | |
385 | finishInterp = t | |
386 | end | |
387 | else | |
388 | if (1 + cosTheta) > 0.0001 then | |
389 | local theta = ACOS(-cosTheta) | |
390 | local invSinTheta = 1 / SIN(theta) | |
391 | startInterp = SIN((t - 1) * theta) * invSinTheta | |
392 | finishInterp = SIN(t * theta) * invSinTheta | |
393 | else | |
394 | startInterp = t - 1 | |
395 | finishInterp = t | |
396 | end | |
397 | end | |
398 | 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 | |
399 | end | |
400 | ||
401 | function Clerp(a, b, t) | |
402 | local qa = {QuaternionFromCFrame(a)} | |
403 | local qb = {QuaternionFromCFrame(b)} | |
404 | local ax, ay, az = a.x, a.y, a.z | |
405 | local bx, by, bz = b.x, b.y, b.z | |
406 | local _t = 1 - t | |
407 | return QuaternionToCFrame(_t * ax + t * bx, _t * ay + t * by, _t * az + t * bz, QuaternionSlerp(qa, qb, t)) | |
408 | end | |
409 | ||
410 | function CreateFrame(PARENT, TRANSPARENCY, BORDERSIZEPIXEL, POSITION, SIZE, COLOR, BORDERCOLOR, NAME) | |
411 | local frame = IT("Frame") | |
412 | frame.BackgroundTransparency = TRANSPARENCY | |
413 | frame.BorderSizePixel = BORDERSIZEPIXEL | |
414 | frame.Position = POSITION | |
415 | frame.Size = SIZE | |
416 | frame.BackgroundColor3 = COLOR | |
417 | frame.BorderColor3 = BORDERCOLOR | |
418 | frame.Name = NAME | |
419 | frame.Parent = PARENT | |
420 | return frame | |
421 | end | |
422 | ||
423 | function CreateLabel(PARENT, TEXT, TEXTCOLOR, TEXTFONTSIZE, TEXTFONT, TRANSPARENCY, BORDERSIZEPIXEL, STROKETRANSPARENCY, NAME) | |
424 | local label = IT("TextLabel") | |
425 | label.BackgroundTransparency = 1 | |
426 | label.Size = UD2(1, 0, 1, 0) | |
427 | label.Position = UD2(0, 0, 0, 0) | |
428 | label.TextColor3 = TEXTCOLOR | |
429 | label.TextStrokeTransparency = STROKETRANSPARENCY | |
430 | label.TextTransparency = TRANSPARENCY | |
431 | label.FontSize = TEXTFONTSIZE | |
432 | label.Font = TEXTFONT | |
433 | label.BorderSizePixel = BORDERSIZEPIXEL | |
434 | label.TextScaled = false | |
435 | label.Text = TEXT | |
436 | label.Name = NAME | |
437 | label.Parent = PARENT | |
438 | return label | |
439 | end | |
440 | ||
441 | function NoOutlines(PART) | |
442 | PART.TopSurface, PART.BottomSurface, PART.LeftSurface, PART.RightSurface, PART.FrontSurface, PART.BackSurface = 10, 10, 10, 10, 10, 10 | |
443 | end | |
444 | ||
445 | ||
446 | function CreateWeldOrSnapOrMotor(TYPE, PARENT, PART0, PART1, C0, C1) | |
447 | local NEWWELD = IT(TYPE) | |
448 | NEWWELD.Part0 = PART0 | |
449 | NEWWELD.Part1 = PART1 | |
450 | NEWWELD.C0 = C0 | |
451 | NEWWELD.C1 = C1 | |
452 | NEWWELD.Parent = PARENT | |
453 | return NEWWELD | |
454 | end | |
455 | ||
456 | function CreateSound(ID, PARENT, VOLUME, PITCH) | |
457 | local NEWSOUND = nil | |
458 | coroutine.resume(coroutine.create(function() | |
459 | NEWSOUND = IT("Sound", PARENT) | |
460 | NEWSOUND.Volume = VOLUME | |
461 | NEWSOUND.Pitch = PITCH | |
462 | NEWSOUND.SoundId = "http://www.roblox.com/asset/?id="..ID | |
463 | Swait() | |
464 | NEWSOUND:play() | |
465 | game:GetService("Debris"):AddItem(NEWSOUND, 10) | |
466 | end)) | |
467 | return NEWSOUND | |
468 | end | |
469 | ||
470 | function CFrameFromTopBack(at, top, back) | |
471 | local right = top:Cross(back) | |
472 | return CF(at.x, at.y, at.z, right.x, top.x, back.x, right.y, top.y, back.y, right.z, top.z, back.z) | |
473 | end | |
474 | ||
475 | function CreateSwirl(SIZE,WAIT,CFRAME,DOESROT,ROT,COLOR,GROW) | |
476 | local wave = CreatePart(3, Effects, "Neon", 0, 0.5, BRICKC(COLOR), "Effect", VT(0,0,0)) | |
477 | wave.Color = COLOR | |
478 | local mesh = CreateMesh("SpecialMesh", wave, "FileMesh", "1051557", "", SIZE, VT(0,0,0)) | |
479 | wave.CFrame = CFRAME | |
480 | coroutine.resume(coroutine.create(function(PART) | |
481 | for i = 1, WAIT do | |
482 | Swait() | |
483 | mesh.Scale = mesh.Scale + GROW | |
484 | mesh.Offset = VT(0,0,-(mesh.Scale.X/8)) | |
485 | if DOESROT == true then | |
486 | wave.CFrame = wave.CFrame * CFrame.fromEulerAnglesXYZ(0,ROT,0) | |
487 | end | |
488 | wave.Transparency = wave.Transparency + (0.5/WAIT) | |
489 | if wave.Transparency > 0.99 then | |
490 | wave:remove() | |
491 | end | |
492 | end | |
493 | end)) | |
494 | end | |
495 | ||
496 | function MagicSphere(SIZE,WAIT,CFRAME,COLOR,GROW) | |
497 | local wave = CreatePart(3, Effects, "Neon", 0, 0, BRICKC(COLOR), "Effect", VT(1,1,1), true) | |
498 | wave.Color = COLOR | |
499 | local mesh = CreateMesh("SpecialMesh", wave, "Sphere", "", "", SIZE, VT(0,0,0)) | |
500 | wave.CFrame = CFRAME | |
501 | coroutine.resume(coroutine.create(function(PART) | |
502 | for i = 1, WAIT do | |
503 | Swait() | |
504 | mesh.Scale = mesh.Scale + GROW | |
505 | wave.Transparency = wave.Transparency + (1/WAIT) | |
506 | if wave.Transparency > 0.99 then | |
507 | wave:remove() | |
508 | end | |
509 | end | |
510 | end)) | |
511 | end | |
512 | ||
513 | function Slice(KIND,SIZE,WAIT,CFRAME,COLOR,GROW) | |
514 | local wave = CreatePart(3, Effects, "Neon", 0, 0.5, BRICKC(COLOR), "Effect", VT(1,1,1), true) | |
515 | local mesh = nil | |
516 | if KIND == "Base" then | |
517 | mesh = CreateMesh("SpecialMesh", wave, "FileMesh", "448386996", "", VT(0,SIZE/10,SIZE/10), VT(0,0,0)) | |
518 | elseif KIND == "Thin" then | |
519 | mesh = CreateMesh("SpecialMesh", wave, "FileMesh", "662586858", "", VT(SIZE/10,0,SIZE/10), VT(0,0,0)) | |
520 | elseif KIND == "Round" then | |
521 | mesh = CreateMesh("SpecialMesh", wave, "FileMesh", "662585058", "", VT(SIZE/10,0,SIZE/10), VT(0,0,0)) | |
522 | end | |
523 | wave.CFrame = CFRAME | |
524 | coroutine.resume(coroutine.create(function(PART) | |
525 | for i = 1, WAIT do | |
526 | Swait() | |
527 | mesh.Scale = mesh.Scale + GROW/10 | |
528 | wave.Transparency = wave.Transparency + (0.5/WAIT) | |
529 | if wave.Transparency > 0.99 then | |
530 | wave:remove() | |
531 | end | |
532 | end | |
533 | end)) | |
534 | end | |
535 | ||
536 | function MakeForm(PART,TYPE) | |
537 | if TYPE == "Cyl" then | |
538 | local MSH = IT("CylinderMesh",PART) | |
539 | elseif TYPE == "Ball" then | |
540 | local MSH = IT("SpecialMesh",PART) | |
541 | MSH.MeshType = "Sphere" | |
542 | elseif TYPE == "Wedge" then | |
543 | local MSH = IT("SpecialMesh",PART) | |
544 | MSH.MeshType = "Wedge" | |
545 | end | |
546 | end | |
547 | ||
548 | function CheckTableForString(Table, String) | |
549 | for i, v in pairs(Table) do | |
550 | if string.find(string.lower(String), string.lower(v)) then | |
551 | return true | |
552 | end | |
553 | end | |
554 | return false | |
555 | end | |
556 | ||
557 | Debris = game:GetService("Debris") | |
558 | ||
559 | function FireArc(Part,ToLocation,AmountOfTime,Height,DoesCourontine) | |
560 | if DoesCourontine == false then | |
561 | local Direction = CF(Part.Position,ToLocation) | |
562 | local Distance = (Part.Position - ToLocation).magnitude | |
563 | for i = 1, AmountOfTime do | |
564 | Swait() | |
565 | Part.CFrame = Direction*CF(0,(AmountOfTime/200)+((AmountOfTime/Height)-((i*2)/Height)),-Distance/AmountOfTime) | |
566 | Direction = Part.CFrame | |
567 | end | |
568 | Part:remove() | |
569 | elseif DoesCourontine == true then | |
570 | coroutine.resume(coroutine.create(function() | |
571 | local Direction = CF(Part.Position,ToLocation) | |
572 | local Distance = (Part.Position - ToLocation).magnitude | |
573 | for i = 1, AmountOfTime do | |
574 | Swait() | |
575 | Part.CFrame = Direction*CF(0,(AmountOfTime/200)+((AmountOfTime/Height)-((i*2)/Height)),-Distance/AmountOfTime) | |
576 | Direction = Part.CFrame | |
577 | end | |
578 | Part:remove() | |
579 | end)) | |
580 | end | |
581 | end | |
582 | ||
583 | function turnto(position) | |
584 | RootPart.CFrame=CFrame.new(RootPart.CFrame.p,VT(position.X,RootPart.Position.Y,position.Z)) * CFrame.new(0, 0, 0) | |
585 | end | |
586 | local naeeym2 = Instance.new("BillboardGui", Character) | |
587 | naeeym2.AlwaysOnTop = true | |
588 | naeeym2.Size = UDim2.new(5, 35, 2, 15) | |
589 | naeeym2.StudsOffset = Vector3.new(0, 3, 0) | |
590 | naeeym2.Adornee = Character.Head | |
591 | naeeym2.Name = "Name" | |
592 | local tecks2 = Instance.new("TextLabel", naeeym2) | |
593 | tecks2.BackgroundTransparency = 1 | |
594 | tecks2.TextScaled = true | |
595 | tecks2.BorderSizePixel = 0 | |
596 | tecks2.Text = "Dominus Astra" | |
597 | tecks2.Font = "Fantasy" | |
598 | tecks2.TextSize = 30 | |
599 | tecks2.TextStrokeTransparency = 0 | |
600 | tecks2.TextColor3 = Color3.new(0.05,0.05,0.15) | |
601 | tecks2.TextStrokeColor3 = Color3.new(0,0,0) | |
602 | tecks2.Size = UDim2.new(1, 0, 0.5, 0) | |
603 | tecks2.Parent = naeeym2 | |
604 | ||
605 | --//=================================\\ | |
606 | --|| WEAPON CREATION | |
607 | --\\=================================// | |
608 | ||
609 | local LMAO = IT("Model") | |
610 | LMAO.Name = "Particles" | |
611 | LMAO.Parent = nil | |
612 | local Weapon = IT("Model") | |
613 | Weapon.Name = "Adds" | |
614 | local Weapon2 = IT("Model") | |
615 | Weapon2.Name = "Adds" | |
616 | ||
617 | local EYE = CreatePart(3, Weapon2, "Neon", 0, 0, "Gold", "Eyeball", VT(0.1, 0.4, 0.1), false) | |
618 | MakeForm(EYE, "Ball") | |
619 | EYE.CFrame = Head.CFrame * CF(0.2, 0.1, -0.72) | |
620 | local EW = weldBetween(EYE, Head) | |
621 | local EYE2 = CreatePart(3, Weapon2, "Neon", 0, 0, "Gold", "Eyeball1", VT(0.4, 0.1, 0.1), false) | |
622 | MakeForm(EYE2, "Ball") | |
623 | EYE2.CFrame = Head.CFrame * CF(0.2, 0.1, -0.72) | |
624 | local EW2 = weldBetween(EYE2, Head) | |
625 | ||
626 | Weapon2.Parent = nil | |
627 | ||
628 | local Particle = IT("ParticleEmitter",nil) | |
629 | Particle.Enabled = false | |
630 | Particle.Transparency = NumberSequence.new({NumberSequenceKeypoint.new(0,1),NumberSequenceKeypoint.new(0.3,0.95),NumberSequenceKeypoint.new(1,1)}) | |
631 | Particle.LightEmission = 0.5 | |
632 | Particle.Rate = 150 | |
633 | Particle.ZOffset = 1 | |
634 | Particle.Rotation = NumberRange.new(-180, 180) | |
635 | Particle.RotSpeed = NumberRange.new(-180, 180) | |
636 | Particle.Texture = "http://www.roblox.com/asset/?id=304437537" | |
637 | Particle.Color = ColorSequence.new(C3(0.4,0,0),C3(0.4,0,0)) | |
638 | ||
639 | --ParticleEmitter({Speed = 5, Drag = 0, Size1 = 1, Size2 = 5, Lifetime1 = 1, Lifetime2 = 1.5, Parent = Torso, Emit = 100, Offset = 360, Enabled = false}) | |
640 | function ParticleEmitter(Table) | |
641 | local PRTCL = Particle:Clone() | |
642 | local Speed = Table.Speed or 5 | |
643 | local Drag = Table.Drag or 0 | |
644 | local Size1 = Table.Size1 or 1 | |
645 | local Size2 = Table.Size2 or 5 | |
646 | local Lifetime1 = Table.Lifetime1 or 1 | |
647 | local Lifetime2 = Table.Lifetime2 or 1.5 | |
648 | local Parent = Table.Parent or Torso | |
649 | local Emit = Table.Emit or 100 | |
650 | local Offset = Table.Offset or 360 | |
651 | local Acel = Table.Acel or VT(0,0,0) | |
652 | local Enabled = Table.Enabled or false | |
653 | PRTCL.Parent = Parent | |
654 | PRTCL.Size = NumberSequence.new(Size1,Size2) | |
655 | PRTCL.Lifetime = NumberRange.new(Lifetime1,Lifetime2) | |
656 | PRTCL.Speed = NumberRange.new(Speed) | |
657 | PRTCL.VelocitySpread = Offset | |
658 | PRTCL.Drag = Drag | |
659 | PRTCL.Acceleration = Acel | |
660 | if Enabled == false then | |
661 | PRTCL:Emit(Emit) | |
662 | Debris:AddItem(PRTCL,Lifetime2) | |
663 | else | |
664 | PRTCL.Enabled = true | |
665 | end | |
666 | return PRTCL | |
667 | end | |
668 | ||
669 | local Handle = CreatePart(3, Weapon, "Metal", 0, 0, "Mid gray", "Part", VT(0.2,0.6,0.2),false) | |
670 | local RightArmGrasp = CreateWeldOrSnapOrMotor("Weld", Handle, RightArm, Handle, CF(0,-1, 0) * ANGLES(RAD(90), RAD(0), RAD(0)), CF(0, 0.21, 0)) | |
671 | local Part = CreatePart(3, Weapon, "Metal", 0, 0, "Mid gray", "Part", VT(0.2,0.5,0.2),false) | |
672 | MakeForm(Part,"Wedge") | |
673 | CreateWeldOrSnapOrMotor("Weld", Handle, Handle, Part, CF(0, -0.3, 0.2) * ANGLES(RAD(0), RAD(180), RAD(0)), CF(0, 0, 0)) | |
674 | local Part = CreatePart(3, Weapon, "Metal", 0, 0, "Mid gray", "Part", VT(0.2,0.3,0.2),false) | |
675 | MakeForm(Part,"Wedge") | |
676 | CreateWeldOrSnapOrMotor("Weld", Handle, Handle, Part, CF(0, -0.4, 0) * ANGLES(RAD(0), RAD(0), RAD(180)), CF(0, 0, 0)) | |
677 | local Part = CreatePart(3, Weapon, "Metal", 0, 0, "Mid gray", "Part", VT(0.3,0.3,0.3),false) | |
678 | CreateWeldOrSnapOrMotor("Weld", Handle, Handle, Part, CF(0, -0.5, 0.2) * ANGLES(RAD(0), RAD(0), RAD(0)), CF(0, 0, 0)) | |
679 | local Part = CreatePart(3, Weapon, "Metal", 0, 0, "Mid gray", "Part", VT(0.3,0.5,0.5),false) | |
680 | CreateWeldOrSnapOrMotor("Weld", Handle, Handle, Part, CF(0, -0.6, 0.5) * ANGLES(RAD(0), RAD(0), RAD(0)), CF(0, 0, 0)) | |
681 | local Part = CreatePart(3, Weapon, "Metal", 0, 0, "Mid gray", "Part", VT(0.4,0.4,0.4),false) | |
682 | MakeForm(Part,"Cyl") | |
683 | CreateWeldOrSnapOrMotor("Weld", Handle, Handle, Part, CF(0, -0.6, 0.5) * ANGLES(RAD(90), RAD(0), RAD(0)), CF(0, 0, 0)) | |
684 | for i = 1, 8 do | |
685 | local Piece = CreatePart(3, Weapon, "Metal", 0, 0, "Mid gray", "Eye", VT(0,0.35,0.41),false) | |
686 | CreateWeldOrSnapOrMotor("Weld", Handle, Part, Piece, CF(0, 0, 0) * ANGLES(RAD(0), RAD((360/8)*i), RAD(0)), CF(0, 0, 0)) | |
687 | end | |
688 | local Part = CreatePart(3, Weapon, "Metal", 0, 0, "Mid gray", "Eye", VT(0.38,0.41,0.38),false) | |
689 | MakeForm(Part,"Cyl") | |
690 | CreateWeldOrSnapOrMotor("Weld", Handle, Handle, Part, CF(0, -0.6, 0.5) * ANGLES(RAD(90), RAD(0), RAD(0)), CF(0, 0, 0)) | |
691 | local Part = CreatePart(3, Weapon, "Metal", 0, 0, "Mid gray", "Part", VT(0.37,0.5,0.37),false) | |
692 | MakeForm(Part,"Ball") | |
693 | CreateWeldOrSnapOrMotor("Weld", Handle, Handle, Part, CF(0, -0.6, 0.3) * ANGLES(RAD(90), RAD(0), RAD(0)), CF(0, 0, 0)) | |
694 | local Part = CreatePart(3, Weapon, "Metal", 0, 0, "Mid gray", "Part", VT(0.2,0.7,0.4),false) | |
695 | MakeForm(Part,"Wedge") | |
696 | CreateWeldOrSnapOrMotor("Weld", Handle, Handle, Part, CF(0, -0.7, 0.5) * ANGLES(RAD(90), RAD(180), RAD(180)), CF(0, 0, 0)) | |
697 | local Part = CreatePart(3, Weapon, "Metal", 0, 0, "Mid gray", "Part", VT(0.3,0.4,0.2),false) | |
698 | CreateWeldOrSnapOrMotor("Weld", Handle, Handle, Part, CF(0, -0.6, 0.7) * ANGLES(RAD(0), RAD(0), RAD(0)), CF(0, 0, 0)) | |
699 | local Part = CreatePart(3, Weapon, "Metal", 0, 0, "Mid gray", "Part", VT(0.35,0.35,0.35),false) | |
700 | MakeForm(Part,"Cyl") | |
701 | CreateWeldOrSnapOrMotor("Weld", Handle, Handle, Part, CF(0, -0.6, 0.7) * ANGLES(RAD(90), RAD(0), RAD(0)), CF(0, 0, 0)) | |
702 | local Part = CreatePart(3, Weapon, "Metal", 0, 0, "Mid gray", "Part", VT(0.5,0.1,0.5),false) | |
703 | MakeForm(Part,"Cyl") | |
704 | CreateWeldOrSnapOrMotor("Weld", Handle, Handle, Part, CF(0, -0.6, 1) * ANGLES(RAD(90), RAD(0), RAD(0)), CF(0, 0, 0)) | |
705 | local Part = CreatePart(3, Weapon, "Metal", 0, 0, "Mid gray", "Part", VT(0.5,0.1,0.45),false) | |
706 | MakeForm(Part,"Cyl") | |
707 | CreateWeldOrSnapOrMotor("Weld", Handle, Handle, Part, CF(0, -0.6, 1.1) * ANGLES(RAD(90), RAD(0), RAD(0)), CF(0, 0, 0)) | |
708 | local Part = CreatePart(3, Weapon, "Metal", 0, 0, "Mid gray", "Part", VT(0.2,0.5,0.2),false) | |
709 | MakeForm(Part,"Wedge") | |
710 | CreateWeldOrSnapOrMotor("Weld", Handle, Handle, Part, CF(0, -0.55, 0.2) * ANGLES(RAD(-135), RAD(0), RAD(0)), CF(0, -0.3, 0)) | |
711 | local LASTPART = Handle | |
712 | for i = 1, 10 do | |
713 | if LASTPART == Handle then | |
714 | local Part = CreatePart(3, Weapon, "Metal", 0, 0, "Mid gray", "Part", VT(0.1,0.2,0),false) | |
715 | LASTPART = Part | |
716 | CreateWeldOrSnapOrMotor("Weld", Handle, Handle, Part, CF(0, -0.1, 0.2) * ANGLES(RAD(90), RAD(0), RAD(0)), CF(0, 0, 0)) | |
717 | else | |
718 | local Part = CreatePart(3, Weapon, "Metal", 0, 0, "Mid gray", "Part", VT(0.1,0.05,0),false) | |
719 | CreateWeldOrSnapOrMotor("Weld", Handle, LASTPART, Part, CF(0, 0.025, 0) * ANGLES(RAD(8), RAD(0), RAD(0)), CF(0, -0.025, 0)) | |
720 | LASTPART = Part | |
721 | end | |
722 | end | |
723 | ||
724 | local Barrel = CreatePart(3, Weapon, "Metal", 0, 0, "Mid gray", "Part", VT(0.15,2,0.15),false) | |
725 | MakeForm(Barrel,"Cyl") | |
726 | CreateWeldOrSnapOrMotor("Weld", Handle, Handle, Barrel, CF(0, -0.6, 1.8) * ANGLES(RAD(90), RAD(0), RAD(0)), CF(0, 0, 0)) | |
727 | local Part = CreatePart(3, Weapon, "Metal", 0, 0, "Mid gray", "Part", VT(0.25,1,0.25),false) | |
728 | MakeForm(Part,"Cyl") | |
729 | CreateWeldOrSnapOrMotor("Weld", Handle, Barrel, Part, CF(0, -0.6, 0), CF(0, 0, 0)) | |
730 | local Part = CreatePart(3, Weapon, "Metal", 0, 0, "Mid gray", "Part", VT(0,0.1,0.2),false) | |
731 | MakeForm(Part,"Wedge") | |
732 | CreateWeldOrSnapOrMotor("Weld", Handle, Barrel, Part, CF(0, 0.945, 0.1) * ANGLES(RAD(180), RAD(0), RAD(0)), CF(0, 0, 0)) | |
733 | local Hole2 = CreatePart(3, Weapon, "Metal", 0, 0, "Mid gray", "Eye", VT(0.125,0,0.125),false) | |
734 | MakeForm(Hole2,"Cyl") | |
735 | CreateWeldOrSnapOrMotor("Weld", Handle, Barrel, Hole2, CF(0, 0.98, 0), CF(0, 0, 0)) | |
736 | local Part = CreatePart(3, Weapon, "Metal", 0, 0, "Mid gray", "Part", VT(0,0,0),false) | |
737 | local GEARWELD = CreateWeldOrSnapOrMotor("Weld", Handle, Handle, Part, CF(0, -0.6, 0.7), CF(0, 0, 0)) | |
738 | CreateMesh("SpecialMesh", Part, "FileMesh", 156292343, "", VT(0.8,0.8,1.5), VT(0,0,0.2)) | |
739 | local Part = CreatePart(3, Weapon, "Metal", 0, 0.5, "Mid gray", "Eye", VT(0,0,0),false) | |
740 | local GEARWELD2 = CreateWeldOrSnapOrMotor("Weld", Handle, Handle, Part, CF(0, -0.6, 0.7), CF(0, 0, 0)) | |
741 | CreateMesh("SpecialMesh", Part, "FileMesh", 156292343, "", VT(0.9,0.9,0.3), VT(0,0,0.2)) | |
742 | coroutine.resume(coroutine.create(function() | |
743 | while wait() do | |
744 | GEARWELD.C0 = GEARWELD.C0 * ANGLES(RAD(0), RAD(0), RAD(5)) | |
745 | GEARWELD2.C0 = GEARWELD2.C0 * ANGLES(RAD(0), RAD(0), RAD(-5)) | |
746 | end | |
747 | end)) | |
748 | ||
749 | ParticleEmitter({Speed = 0.2, Drag = 0, Size1 = 0.1, Size2 = 0, Lifetime1 = 0.3, Lifetime2 = 0.5, Parent = Hole2, Emit = 100, Offset = 360, Enabled = true, Acel = VT(0,5,0)}) | |
750 | --ParticleEmitter({Speed = 0.5, Drag = 0, Size1 = 0.2, Size2 = 0, Lifetime1 = 0.3, Lifetime2 = 0.7, Parent = Dangle, Emit = 100, Offset = 360, Enabled = true, Acel = VT(0,5,0)}) | |
751 | ||
752 | ParticleEmitter({Speed = 0.2, Drag = 0, Size1 = 0.1, Size2 = 0, Lifetime1 = 0.3, Lifetime2 = 0.5, Parent = Hole2, Emit = 100, Offset = 360, Enabled = true, Acel = VT(0,5,0)}) | |
753 | --ParticleEmitter({Speed = 0.5, Drag = 0, Size1 = 0.2, Size2 = 0, Lifetime1 = 0.3, Lifetime2 = 0.7, Parent = Dangle, Emit = 100, Offset = 360, Enabled = true, Acel = VT(0,5,0)}) | |
754 | ||
755 | for _, c in pairs(Weapon:GetDescendants()) do | |
756 | if c.ClassName == "Part" and c.Name ~= "Eye" and c.Parent ~= Effects and c.Parent.Parent ~= Effects then | |
757 | c.Material = "Glass" | |
758 | c.Color = C3(0.15,0.05,0.05) | |
759 | elseif c.ClassName == "Part" and c.Name == "Eye" then | |
760 | c.Color = C3(1,0,0) | |
761 | c.Material = "Neon" | |
762 | end | |
763 | end | |
764 | ||
765 | local DeadEyes = IT("Model") | |
766 | DeadEyes.Name = "Adds" | |
767 | for _, c in pairs(Weapon:GetChildren()) do | |
768 | if c.ClassName == "Part" then | |
769 | c.CustomPhysicalProperties = PhysicalProperties.new(0, 0, 0, 0, 0) | |
770 | end | |
771 | end | |
772 | ||
773 | local Handle = CreatePart(3, DeadEyes, "Metal", 0, 0, "Mid gray", "Part", VT(0.2,1.2,0.2),false) | |
774 | local RightArmGrasp = CreateWeldOrSnapOrMotor("Weld", Handle, RightArm, Handle, CF(0,-0.8, 0) * ANGLES(RAD(90), RAD(0), RAD(0)), CF(0, 0.3, 0)) | |
775 | local Part = CreatePart(3, DeadEyes, "Metal", 0, 0, "Mid gray", "Part", VT(0.2,0.8,0.2),false) | |
776 | MakeForm(Part,"Wedge") | |
777 | CreateWeldOrSnapOrMotor("Weld", Handle, Handle, Part, CF(0, 0.2, 0.2) * ANGLES(RAD(0), RAD(180), RAD(0)), CF(0, 0, 0)) | |
778 | local Part = CreatePart(3, DeadEyes, "Metal", 0, 0, "Mid gray", "Part", VT(0.3,0.5,0.6),false) | |
779 | CreateWeldOrSnapOrMotor("Weld", Handle, Handle, Part, CF(0, -0.5, 0.4) * ANGLES(RAD(90), RAD(0), RAD(0)), CF(0, 0, 0)) | |
780 | local Part = CreatePart(3, DeadEyes, "Metal", 0, 0, "Mid gray", "Part", VT(0.4,0.4,0.4),false) | |
781 | MakeForm(Part,"Cyl") | |
782 | CreateWeldOrSnapOrMotor("Weld", Handle, Handle, Part, CF(0, -0.45, 0.4) * ANGLES(RAD(90), RAD(0), RAD(0)), CF(0, 0, 0)) | |
783 | for i = 1, 8 do | |
784 | local Piece = CreatePart(3, DeadEyes, "Metal", 0, 0, "Mid gray", "Eye", VT(0,0.35,0.41),false) | |
785 | CreateWeldOrSnapOrMotor("Weld", Handle, Part, Piece, CF(0, 0, 0) * ANGLES(RAD(0), RAD((360/8)*i), RAD(0)), CF(0, 0, 0)) | |
786 | end | |
787 | local Part = CreatePart(3, DeadEyes, "Metal", 0, 0, "Mid gray", "Part", VT(0.2,0.5,0.2),false) | |
788 | MakeForm(Part,"Wedge") | |
789 | CreateWeldOrSnapOrMotor("Weld", Handle, Handle, Part, CF(0, -0.55, 0.2) * ANGLES(RAD(-135), RAD(0), RAD(0)), CF(0, -0.3, 0)) | |
790 | local Part = CreatePart(3, DeadEyes, "Metal", 0, 0, "Mid gray", "Eye", VT(0.39,0.41,0.39),false) | |
791 | MakeForm(Part,"Cyl") | |
792 | CreateWeldOrSnapOrMotor("Weld", Handle, Handle, Part, CF(0, -0.45, 0.4) * ANGLES(RAD(90), RAD(0), RAD(0)), CF(0, 0, 0)) | |
793 | local Part = CreatePart(3, DeadEyes, "Metal", 0, 0, "Mid gray", "Part", VT(0.3,0.5,0.5),false) | |
794 | CreateWeldOrSnapOrMotor("Weld", Handle, Handle, Part, CF(0, -0.5, 0.2) * ANGLES(RAD(90), RAD(0), RAD(0)), CF(0, 0, 0)) | |
795 | local Part = CreatePart(3, DeadEyes, "Metal", 0, 0, "Mid gray", "Part", VT(0.3,0.4,0.5),false) | |
796 | CreateWeldOrSnapOrMotor("Weld", Handle, Handle, Part, CF(0, -0.55, 0.65) * ANGLES(RAD(90), RAD(0), RAD(0)), CF(0, 0, 0)) | |
797 | local Part = CreatePart(3, DeadEyes, "Metal", 0, 0, "Mid gray", "Part", VT(0.2,0,0.6),false) | |
798 | CreateWeldOrSnapOrMotor("Weld", Handle, Handle, Part, CF(0, 0, 0) * ANGLES(RAD(45), RAD(0), RAD(0)), CF(0, -0.2, -0.3)) | |
799 | local RightBarrel = CreatePart(3, DeadEyes, "Metal", 0, 0, "Mid gray", "Part", VT(0.28,5,0.28),false) | |
800 | MakeForm(RightBarrel,"Cyl") | |
801 | CreateWeldOrSnapOrMotor("Weld", Handle, Handle, RightBarrel, CF(0, -0.6, 0.5) * ANGLES(RAD(90), RAD(0), RAD(0)), CF(0, -2.5, 0)) | |
802 | local Part = CreatePart(3, DeadEyes, "Metal", 0, 0, "Mid gray", "Part", VT(0,0.2,0.2),false) | |
803 | MakeForm(Part,"Wedge") | |
804 | CreateWeldOrSnapOrMotor("Weld", Handle, RightBarrel, Part, CF(0, 2.415, 0.15) * ANGLES(RAD(180), RAD(0), RAD(0)), CF(0, 0, 0)) | |
805 | local RightHole = CreatePart(3, DeadEyes, "Metal", 0, 0, "Mid gray", "Eye", VT(0.2,0,0.2),false) | |
806 | MakeForm(RightHole,"Cyl") | |
807 | CreateWeldOrSnapOrMotor("Weld", Handle, RightBarrel, RightHole, CF(0, 2.5, 0), CF(0, 0, 0)) | |
808 | ||
809 | ||
810 | for _, c in pairs(DeadEyes:GetDescendants()) do | |
811 | if c.ClassName == "Part" and c.Name ~= "Eye" and c.Parent ~= Effects and c.Parent.Parent ~= Effects then | |
812 | c.Material = "Metal" | |
813 | c.Color = C3(0,0,0) | |
814 | end | |
815 | end | |
816 | ||
817 | DeadEyes.Parent = nil | |
818 | ||
819 | function Transparency(TRANS) | |
820 | for _, c in pairs(Character:GetChildren()) do | |
821 | if c.ClassName == "Part" and c ~= RootPart then | |
822 | c.Transparency = TRANS | |
823 | if c:FindFirstChildOfClass("Decal") then | |
824 | c:FindFirstChildOfClass("Decal").Transparency = TRANS | |
825 | end | |
826 | elseif c.ClassName == "Accessory" then | |
827 | c.Handle.Transparency = TRANS | |
828 | elseif c.ClassName == "Model" then | |
829 | for _, q in pairs(c:GetChildren()) do | |
830 | if q.ClassName == "Part" then | |
831 | q.Transparency = TRANS | |
832 | if q:FindFirstChildOfClass("Decal") then | |
833 | q:FindFirstChildOfClass("Decal").Transparency = TRANS | |
834 | end | |
835 | end | |
836 | end | |
837 | end | |
838 | end | |
839 | end | |
840 | ||
841 | Humanoid.Died:connect(function() | |
842 | Humanoid.Parent = nil | |
843 | Humanoid.MaxHealth = "inf" | |
844 | Humanoid.Health = "inf" | |
845 | refit3() | |
846 | refit2() | |
847 | Humanoid.Parent = Character | |
848 | CreateSound("907330011", Head, 10, 1.2) | |
849 | end) | |
850 | ||
851 | --//=================================\\ | |
852 | --|| DAMAGING | |
853 | --\\=================================// | |
854 | ||
855 | function killnearest(position,range,maxstrength) | |
856 | for i,v in ipairs(workspace:GetChildren()) do | |
857 | local body = v:GetChildren() | |
858 | for part = 1, #body do | |
859 | if((body[part].ClassName == "Part" or body[part].ClassName == "MeshPart") and v ~= Character) then | |
860 | if(body[part].Position - position).Magnitude < range then | |
861 | if v.ClassName == "Model" then | |
862 | v:BreakJoints() | |
863 | end | |
864 | --table.insert(Effects2,{body[part],"Disappear",0.02,2,2,2,2}) | |
865 | local bv = Instance.new("BodyVelocity") | |
866 | bv.maxForce = Vector3.new(1e9, 1e9, 1e9) | |
867 | bv.velocity = CF(position,body[part].Position).lookVector*maxstrength | |
868 | bv.Parent = body[part] | |
869 | Debris:AddItem(bv,0.2) | |
870 | end | |
871 | end | |
872 | end | |
873 | if v.ClassName == "Part" then | |
874 | if v.Anchored == false and (v.Position - position).Magnitude < range then | |
875 | --table.insert(Effects2,{v,"Disappear",0.02,2,2,2,2}) | |
876 | v.Velocity = CFrame.new(position,v.Position).lookVector*5*maxstrength | |
877 | end | |
878 | end | |
879 | end | |
880 | end | |
881 | ||
882 | --//=================================\\ | |
883 | --|| ATTACK FUNCTIONS AND STUFF | |
884 | --\\=================================// | |
885 | ||
886 | local TOBANISH = {} | |
887 | ||
888 | function printbye(Name) | |
889 | local MESSAGES = {"Tu, ne ipsis, ","Esses contumeliam, ","Te potest ignorare mandatum meum, ","Iam mortuus est, "} | |
890 | warn(MESSAGES[MRANDOM(1,#MESSAGES)]..Name..".") | |
891 | end | |
892 | ||
893 | workspace.ChildAdded:connect(function(instance) | |
894 | for BANISH = 1, #TOBANISH do | |
895 | if TOBANISH[BANISH] ~= nil then | |
896 | if instance.Name == TOBANISH[BANISH] then | |
897 | coroutine.resume(coroutine.create(function() | |
898 | printbye(instance.Name) | |
899 | instance:ClearAllChildren() | |
900 | Debris:AddItem(instance,0.0005) | |
901 | end)) | |
902 | end | |
903 | end | |
904 | end | |
905 | end) | |
906 | ||
907 | function Banish(Foe) | |
908 | if Foe then | |
909 | coroutine.resume(coroutine.create(function() | |
910 | --if game.Players:FindFirstChild(Foe.Name) then | |
911 | table.insert(TOBANISH,Foe.Name) | |
912 | printbye(Foe.Name) | |
913 | --end | |
914 | Foe.Archivable = true | |
915 | local CLONE = Foe:Clone() | |
916 | Foe:Destroy() | |
917 | CLONE.Parent = Effects | |
918 | CLONE:BreakJoints() | |
919 | local MATERIALS = {"Glass","Neon"} | |
920 | for _, c in pairs(CLONE:GetDescendants()) do | |
921 | if c:IsA("BasePart") then | |
922 | if c.Name == "Torso" or c.Name == "UpperTorso" or c == CLONE.PrimaryPart then | |
923 | CreateSound(340722848, c, 10, 1, false) | |
924 | end | |
925 | c.Anchored = true | |
926 | c.Transparency = c.Transparency + 0.2 | |
927 | c.Material = MATERIALS[MRANDOM(1,2)] | |
928 | c.Color = C3(1,0,0) | |
929 | if c.ClassName == "MeshPart" then | |
930 | c.TextureID = "" | |
931 | end | |
932 | if c:FindFirstChildOfClass("SpecialMesh") then | |
933 | c:FindFirstChildOfClass("SpecialMesh").TextureId = "" | |
934 | end | |
935 | if c:FindFirstChildOfClass("Decal") then | |
936 | c:FindFirstChildOfClass("Decal"):remove() | |
937 | end | |
938 | c.Name = "Banished" | |
939 | c.CanCollide = false | |
940 | else | |
941 | c:remove() | |
942 | end | |
943 | end | |
944 | local A = false | |
945 | for i = 1, 35 do | |
946 | if A == false then | |
947 | A = true | |
948 | elseif A == true then | |
949 | A = false | |
950 | end | |
951 | for _, c in pairs(CLONE:GetDescendants()) do | |
952 | if c:IsA("BasePart") then | |
953 | c.Anchored = true | |
954 | c.Material = MATERIALS[MRANDOM(1,2)] | |
955 | c.Transparency = c.Transparency + 0.8/35 | |
956 | if A == false then | |
957 | c.CFrame = c.CFrame*CF(MRANDOM(-45,45)/45,MRANDOM(-45,45)/45,MRANDOM(-45,45)/45) | |
958 | elseif A == true then | |
959 | c.CFrame = c.CFrame*CF(MRANDOM(-45,45)/45,MRANDOM(-45,45)/45,MRANDOM(-45,45)/45) | |
960 | end | |
961 | end | |
962 | end | |
963 | Swait() | |
964 | end | |
965 | CLONE:remove() | |
966 | end)) | |
967 | end | |
968 | end | |
969 | ||
970 | function ApplyAoE(POSITION,RANGE,ISBANISH) | |
971 | local CHILDREN = workspace:GetDescendants() | |
972 | for index, CHILD in pairs(CHILDREN) do | |
973 | if CHILD.ClassName == "Model" and CHILD ~= Character then | |
974 | local HUM = CHILD:FindFirstChildOfClass("Humanoid") | |
975 | if HUM then | |
976 | local TORSO = CHILD:FindFirstChild("Torso") or CHILD:FindFirstChild("UpperTorso") | |
977 | if TORSO then | |
978 | if (TORSO.Position - POSITION).Magnitude <= RANGE then | |
979 | if ISBANISH == true then | |
980 | Banish(CHILD) | |
981 | else | |
982 | if ISBANISH == "Gravity" then | |
983 | HUM.PlatformStand = true | |
984 | if TORSO:FindFirstChild("V3BanishForce"..Player.Name) then | |
985 | local grav = Instance.new("BodyPosition",TORSO) | |
986 | grav.D = 15 | |
987 | grav.P = 20000 | |
988 | grav.maxForce = Vector3.new(math.huge,math.huge,math.huge) | |
989 | grav.position = TORSO.Position | |
990 | grav.Name = "V3BanishForce"..Player.Name | |
991 | else | |
992 | TORSO:FindFirstChild("V3BanishForce"..Player.Name).position = TORSO.Position+VT(0,0.3,0) | |
993 | TORSO.RotVelocity = VT(MRANDOM(-25,25),MRANDOM(-25,25),MRANDOM(-25,25)) | |
994 | end | |
995 | else | |
996 | HUM.PlatformStand = false | |
997 | end | |
998 | end | |
999 | elseif ISBANISH == "Gravity" then | |
1000 | if TORSO:FindFirstChild("V3BanishForce"..Player.Name) then | |
1001 | TORSO:FindFirstChild("V3BanishForce"..Player.Name):remove() | |
1002 | HUM.PlatformStand = false | |
1003 | end | |
1004 | end | |
1005 | end | |
1006 | end | |
1007 | end | |
1008 | end | |
1009 | end | |
1010 | ||
1011 | function SpawnTrail(FROM,TO,BIG) | |
1012 | local TRAIL = CreatePart(3, Effects, "Neon", 0, 0.5, "Really red", "Trail", VT(0,0,0)) | |
1013 | MakeForm(TRAIL,"Cyl") | |
1014 | local DIST = (FROM - TO).Magnitude | |
1015 | if BIG == true then | |
1016 | TRAIL.Size = VT(5,DIST,5) | |
1017 | else | |
1018 | TRAIL.Size = VT(5,DIST,5) | |
1019 | end | |
1020 | TRAIL.CFrame = CF(FROM, TO) * CF(0, 0, -DIST/2) * ANGLES(RAD(90),RAD(0),RAD(0)) | |
1021 | coroutine.resume(coroutine.create(function() | |
1022 | for i = 1, 5 do | |
1023 | Swait() | |
1024 | TRAIL.Transparency = TRAIL.Transparency + 0.1 | |
1025 | end | |
1026 | TRAIL:remove() | |
1027 | end)) | |
1028 | end | |
1029 | ||
1030 | function CastProperRay(StartPos, EndPos, Distance, Ignore) | |
1031 | local DIRECTION = CF(StartPos,EndPos).lookVector | |
1032 | return Raycast(StartPos, DIRECTION, Distance, Ignore) | |
1033 | end | |
1034 | ||
1035 | local Decal = IT("Decal") | |
1036 | function MagicRing() | |
1037 | local O1 = CreatePart(3, Effects, "Neon", 0, 1, "Really red", "Warphole", VT(0, 0, 0)) | |
1038 | O1.CFrame = RootPart.CFrame * CF(0, 0, -3) * ANGLES(RAD(90), RAD(0), RAD(0)) | |
1039 | local decal = Decal:Clone() | |
1040 | decal.Parent = O1 | |
1041 | decal.Face = "Top" | |
1042 | decal.Texture = "http://www.roblox.com/asset/?id=917750924" | |
1043 | local decal2 = Decal:Clone() | |
1044 | decal2.Parent = O1 | |
1045 | decal2.Face = "Bottom" | |
1046 | decal2.Texture = "http://www.roblox.com/asset/?id=917750924" | |
1047 | return O1 | |
1048 | end | |
1049 | ||
1050 | local EyeSizes = { | |
1051 | NumberSequenceKeypoint.new(0, 1, 0), | |
1052 | NumberSequenceKeypoint.new(1, 0, 0) | |
1053 | } | |
1054 | local PE = Instance.new("ParticleEmitter") | |
1055 | PE.LightEmission = 0.8 | |
1056 | PE.Color = ColorSequence.new(BRICKC("Gold").Color) | |
1057 | PE.Size = NumberSequence.new(EyeSizes) | |
1058 | PE.Lifetime = NumberRange.new(0.35, 0.35, 0.35) | |
1059 | PE.Rotation = NumberRange.new(0, 360) | |
1060 | PE.Transparency = NumberSequence.new(0.9) | |
1061 | PE.Rate = 999 | |
1062 | PE.VelocitySpread = 10000 | |
1063 | PE.Acceleration = Vector3.new(0, 75, 0) | |
1064 | PE.Drag = 5 | |
1065 | PE.Speed = NumberRange.new(6, 6) | |
1066 | PE.Texture = "http://www.roblox.com/asset/?id=1351966707" | |
1067 | PE.ZOffset = -1.5 | |
1068 | PE.Name = "OVERLORDAURA" | |
1069 | ||
1070 | function particles(art) | |
1071 | PE:Clone().Parent = art | |
1072 | end | |
1073 | ||
1074 | function CheckIntangible(Hit) | |
1075 | local ProjectileNames = { | |
1076 | "Water", | |
1077 | "Arrow", | |
1078 | "Projectile", | |
1079 | "Effect", | |
1080 | "Rail", | |
1081 | "Lightning", | |
1082 | "Bullet" | |
1083 | } | |
1084 | if Hit and Hit.Parent and (not Hit.CanCollide or CheckTableForString(ProjectileNames, Hit.Name)) and not Hit.Parent:FindFirstChild("Humanoid") then | |
1085 | return true | |
1086 | end | |
1087 | return false | |
1088 | end | |
1089 | Debris = game:GetService("Debris") | |
1090 | function CastZapRay(StartPos, Vec, Length, Ignore, DelayIfHit) | |
1091 | local Ignore = type(Ignore) == "table" and Ignore or {Ignore} | |
1092 | local RayHit, RayPos, RayNormal = game:GetService("Workspace"):FindPartOnRayWithIgnoreList(Ray.new(StartPos, Vec * Length), Ignore) | |
1093 | if RayHit and CheckIntangible(RayHit) then | |
1094 | if DelayIfHit then | |
1095 | wait() | |
1096 | end | |
1097 | RayHit, RayPos, RayNormal = CastZapRay(RayPos + Vec * 0.01, Vec, Length - (StartPos - RayPos).magnitude, Ignore, DelayIfHit) | |
1098 | end | |
1099 | return RayHit, RayPos, RayNormal | |
1100 | end | |
1101 | BaseLightning = IT("Part") | |
1102 | BaseLightning.Anchored = true | |
1103 | BaseLightning.CanCollide = false | |
1104 | BaseLightning.Material = "Neon" | |
1105 | local LightningBolts = {} | |
1106 | function Zap(Table) | |
1107 | local StartPos, TargetPos, Character, Color = Table.StartPosition, Table.TargetPosition, Table.Character, Table.Color | |
1108 | local Duration = Table.Duration or 2 | |
1109 | local Offset = Table.Offset or 2 | |
1110 | local Individualize = Table.Individualize or false | |
1111 | local MaxRange = Table.MaxRange or 200 | |
1112 | local SegmentLength = Table.SegmentLength or 5 | |
1113 | local Transparency = Table.Transparency or 0 | |
1114 | local Ignore = Table.Ignore or {} | |
1115 | local SIZE = Table.SIZE or 0.3 | |
1116 | if not (StartPos and TargetPos) or not Character then | |
1117 | return | |
1118 | end | |
1119 | local LightningModel = IT("Folder", Effects) | |
1120 | LightningModel.Name = "ZAPP" | |
1121 | for i, v in pairs({Character, LightningModel}) do | |
1122 | table.insert(Ignore, v) | |
1123 | end | |
1124 | local LastPos = StartPos | |
1125 | local Direction = CFrame.new(StartPos, TargetPos).lookVector | |
1126 | local RayHit, RayPos, RayNormal = CastZapRay(StartPos, Direction, MaxRange, Ignore, false) | |
1127 | local RayLength = (StartPos - RayPos).Magnitude | |
1128 | local Struck = false | |
1129 | local TotalSegments = math.ceil(RayLength / SegmentLength) | |
1130 | Direction = CFrame.new(StartPos, RayPos).lookVector | |
1131 | local LightningBolt = IT("Model", Effects) | |
1132 | LightningBolt.Name = "Lightning" | |
1133 | if not Individualize then | |
1134 | table.insert(LightningBolts, LightningBolt) | |
1135 | end | |
1136 | LastBolt = LightningBolt | |
1137 | Debris:AddItem(LightningBolt, Duration) | |
1138 | LightningBolt.Parent = LightningModel | |
1139 | for i = 1, TotalSegments do | |
1140 | if not Struck then | |
1141 | local Entropy = Vector3.new(math.random() * Offset * 2.5 - Offset, math.random() * Offset * 2.5 - Offset, math.random() * Offset * 2.5 - Offset) | |
1142 | local NewPos = StartPos + Direction * (RayLength * (i / TotalSegments)) + Entropy | |
1143 | local SegmentVec = NewPos - LastPos | |
1144 | local RayHit, RayPos, RayNormal = CastZapRay(LastPos, SegmentVec.Unit, SegmentVec.Magnitude, {Character, LightningModel}, false) | |
1145 | local RayVec = LastPos - RayPos | |
1146 | local LightningPart = BaseLightning:Clone() | |
1147 | LightningPart.BrickColor = BrickColor.new(Color) | |
1148 | LightningPart.Transparency = Transparency | |
1149 | LightningPart.Size = Vector3.new(SIZE, SIZE, RayVec.Magnitude) | |
1150 | LightningPart.CFrame = CFrame.new(LastPos, RayPos) * CFrame.new(0, 0, -(RayVec.Magnitude / 2)) | |
1151 | table.insert(Effects2, { | |
1152 | LightningPart, | |
1153 | "Disappear", | |
1154 | 0.025, | |
1155 | 1, | |
1156 | 1, | |
1157 | 1, | |
1158 | 2 | |
1159 | }) | |
1160 | local CylinderMesh = IT("CylinderMesh", LightningPart) | |
1161 | local OrigCF = LightningPart.CFrame | |
1162 | LightningPart.Size = Vector3.new(LightningPart.Size.X, LightningPart.Size.Z, LightningPart.Size.Y) | |
1163 | LightningPart.CFrame = OrigCF * CFrame.Angles(math.pi / 2, 0, 0) | |
1164 | LightningPart.Parent = LightningBolt | |
1165 | LastPos = NewPos | |
1166 | end | |
1167 | end | |
1168 | return { | |
1169 | RayHit = RayHit, | |
1170 | RayPos = RayPos, | |
1171 | RayNormal = RayNormal, | |
1172 | LightningModel = LightningModel | |
1173 | } | |
1174 | end | |
1175 | ||
1176 | function CreateWave(SIZE, WAIT, CFRAME, DOESROT, ROT, COLOR, GROW) | |
1177 | local wave = CreatePart(3, Effects, "Neon", 0, 0.5, BRICKC(COLOR), "Effect", VT(0, 0, 0)) | |
1178 | local mesh = CreateMesh("SpecialMesh", wave, "FileMesh", "20329976", "", SIZE, VT(0, 0, -SIZE.X / 8)) | |
1179 | wave.CFrame = CFRAME | |
1180 | coroutine.resume(coroutine.create(function(PART) | |
1181 | for i = 1, WAIT do | |
1182 | Swait() | |
1183 | mesh.Scale = mesh.Scale + GROW | |
1184 | mesh.Offset = VT(0, 0, -(mesh.Scale.X / 8)) | |
1185 | if DOESROT == true then | |
1186 | wave.CFrame = wave.CFrame * CFrame.fromEulerAnglesXYZ(0, ROT, 0) | |
1187 | end | |
1188 | wave.Transparency = wave.Transparency + 0.5 / WAIT | |
1189 | if wave.Transparency > 0.99 then | |
1190 | wave:remove() | |
1191 | end | |
1192 | end | |
1193 | end)) | |
1194 | end | |
1195 | ||
1196 | function CreateRing(SIZE, DOESROT, ROT, WAIT, CFRAME, COLOR, GROW) | |
1197 | local wave = CreatePart(3, Effects, "Neon", 0, 0.5, BRICKC(COLOR), "Effect", VT(0, 0, 0)) | |
1198 | local mesh = CreateMesh("SpecialMesh", wave, "FileMesh", "559831844", "", SIZE, VT(0, 0, 0)) | |
1199 | wave.CFrame = CFRAME | |
1200 | coroutine.resume(coroutine.create(function(PART) | |
1201 | for i = 1, WAIT do | |
1202 | Swait() | |
1203 | mesh.Scale = mesh.Scale + GROW | |
1204 | if DOESROT == true then | |
1205 | wave.CFrame = wave.CFrame * CFrame.fromEulerAnglesXYZ(0, ROT, 0) | |
1206 | end | |
1207 | wave.Transparency = wave.Transparency + 0.5 / WAIT | |
1208 | if wave.Transparency > 0.99 then | |
1209 | wave:remove() | |
1210 | end | |
1211 | end | |
1212 | end)) | |
1213 | end | |
1214 | ||
1215 | function AddChildrenToTable(FROM, PARENT, DIST, TABLE) | |
1216 | for _, c in pairs(PARENT:GetChildren()) do | |
1217 | if c.ClassName == "Model" then | |
1218 | if c ~= Character and c:FindFirstChildOfClass("Humanoid") and (c:FindFirstChild("Torso") or c:FindFirstChild("UpperTorso")) then | |
1219 | local HUMANOID = c:FindFirstChildOfClass("Humanoid") | |
1220 | local TORSO = c:FindFirstChild("Torso") or c:FindFirstChild("UpperTorso") | |
1221 | if DIST > (TORSO.Position - FROM).Magnitude then | |
1222 | table.insert(TABLE, c) | |
1223 | end | |
1224 | AddChildrenToTable(FROM, c, DIST, TABLE) | |
1225 | elseif c.ClassName == "Folder" then | |
1226 | AddChildrenToTable(FROM, c, DIST, TABLE) | |
1227 | end | |
1228 | end | |
1229 | end | |
1230 | end | |
1231 | ||
1232 | local ATTACKTAUNTS = { | |
1233 | "907329893", | |
1234 | "907329532", | |
1235 | "907333294", | |
1236 | "907332856" | |
1237 | } | |
1238 | local ULTTAUNTS = { | |
1239 | "907332997", | |
1240 | "907332670", | |
1241 | "907330103" | |
1242 | } | |
1243 | ||
1244 | function Lunar_Blast() | |
1245 | local HITBODIES = {} | |
1246 | local CENTER = CreatePart(3, Effects, "SmoothPlastic", 0, 1, "Relly red", "CenterPart", VT(0,0,0)) | |
1247 | local HITFLOOR,ECH,NORMAL = Raycast(Mouse.Hit.p+VT(0,2,0), (CF(Mouse.Hit.p, Mouse.Hit.p + VT(0, -1, 0))).lookVector, 10000000, Character) | |
1248 | CENTER.CFrame = CF(ECH) | |
1249 | local RAY = CreatePart(3, Effects, "Neon", 0, 1, "Relly red", "Laser01", VT(25,99999,25)) | |
1250 | RAY.Color = C3(0.05,0.05,0.15) | |
1251 | MakeForm(RAY,"Cyl") | |
1252 | RAY.CFrame = CF(ECH) | |
1253 | for i = 1, 75 do | |
1254 | Swait() | |
1255 | RAY.Transparency = RAY.Transparency - 1/75 | |
1256 | RAY.Size = RAY.Size - VT(25/75,0,25/75) | |
1257 | MagicSphere(VT(1,1,1),15,CF(ECH)*CF(MRANDOM(-15,15),MRANDOM(0,100),MRANDOM(-15,15)),C3(1,1,1),VT(0,0,0)) | |
1258 | end | |
1259 | killnearest(ECH,25,25) | |
1260 | MagicSphere(VT(0,0,0),55,CF(ECH),C3(0.05,0.05,0.15),VT(2,2,2)) | |
1261 | for i = 1, 25 do | |
1262 | MagicSphere(VT(1,1,1),i*3,CF(ECH)*CF(MRANDOM(-45,45),MRANDOM(-45,45),MRANDOM(-45,45)),C3(1,1,1),VT(0,0,0)) | |
1263 | end | |
1264 | CreateSound("168586621", CENTER, 10, 0.8) | |
1265 | RAY:remove() | |
1266 | Debris:AddItem(CENTER,5) | |
1267 | end | |
1268 | ||
1269 | function Star_Cutter() | |
1270 | local HITFLOOR,HITPOS,NORMAL = Raycast(RootPart.Position, (CF(RootPart.Position, RootPart.Position + VT(0, -1, 0))).lookVector, 7 * Player_Size, Character) | |
1271 | if HITFLOOR ~= nil then | |
1272 | ATTACK = true | |
1273 | Rooted = true | |
1274 | local GYRO = IT("BodyGyro",RootPart) | |
1275 | GYRO.D = 100 | |
1276 | GYRO.P = 2000 | |
1277 | GYRO.MaxTorque = VT(0,4000000,0) | |
1278 | GYRO.cframe = CF(RootPart.Position,Mouse.Hit.p) | |
1279 | CreateSound("429459101", RightArm, 10, 0.8) | |
1280 | for i=0, 3.5, 0.1 / Animation_Speed do | |
1281 | Swait() | |
1282 | GYRO.cframe = CF(RootPart.Position,Mouse.Hit.p) | |
1283 | Slice("Thin",0.3,5,RightArm.CFrame * CF(0,-1.1,0) * ANGLES(RAD(MRANDOM(-180,180)),RAD(MRANDOM(-180,180)),RAD(MRANDOM(-180,180))),"Really red",VT(-0.01,0,-0.01)) | |
1284 | RootJoint.C0 = Clerp(RootJoint.C0,ROOTC0 * CF(0, 0, 0 + 0.25 * COS(SINE / 12)) * ANGLES(RAD(4 + 2.5 * SIN(SINE / 12)), RAD(0), RAD(-15 + 2.5 * SIN(SINE / 12))), 1 / Animation_Speed) | |
1285 | Neck.C0 = Clerp(Neck.C0, NECKC0 * CF(0, 0, 0 + ((1) - 1)) * ANGLES(RAD(0 + 4.5 * SIN(SINE / 12)), RAD(0), RAD(15 - 2.5 * SIN(SINE / 12))), 1 / Animation_Speed) | |
1286 | RightShoulder.C0 = Clerp(RightShoulder.C0, CF(1.5, 0.5 + 0.25 * COS(SINE / 12), 0) * ANGLES(RAD(-45), RAD(0 - 7.5 * SIN(SINE / 12)), RAD(32 + 7.5 * SIN(SINE / 12))) * RIGHTSHOULDERC0, 1 / Animation_Speed) | |
1287 | LeftShoulder.C0 = Clerp(LeftShoulder.C0, CF(-1.5, 0.5 + 0.25 * COS(SINE / 12), 0) * ANGLES(RAD(5), RAD(0 + 7.5 * SIN(SINE / 12)), RAD(-12 - 7.5 * SIN(SINE / 12))) * LEFTSHOULDERC0, 1 / Animation_Speed) | |
1288 | RightHip.C0 = Clerp(RightHip.C0, CF(1, -1, -0.01) * ANGLES(RAD(-7.5 * SIN(SINE / 12)), RAD(75), RAD(0)) * ANGLES(RAD(-8 - 2.5 * SIN(SINE / 12)), RAD(0), RAD(0)), 1 / Animation_Speed) | |
1289 | LeftHip.C0 = Clerp(LeftHip.C0, CF(-1, -0.5, -0.5) * ANGLES(RAD(-7.5 * SIN(SINE / 12)), RAD(-90), RAD(0)) * ANGLES(RAD(-8 - 2.5 * SIN(SINE / 12)), RAD(0), RAD(0)), 1 / Animation_Speed) | |
1290 | end | |
1291 | GYRO:remove() | |
1292 | for i=0, 0.15, 0.1 / Animation_Speed do | |
1293 | Swait() | |
1294 | GYRO.cframe = CF(RootPart.Position,Mouse.Hit.p) | |
1295 | Slice("Thin",0.3,5,RightArm.CFrame * CF(0,-1.1,0) * ANGLES(RAD(MRANDOM(-180,180)),RAD(MRANDOM(-180,180)),RAD(MRANDOM(-180,180))),"Really red",VT(-0.01,0,-0.01)) | |
1296 | RootJoint.C0 = Clerp(RootJoint.C0,ROOTC0 * CF(0, 0, 0 + 0.25 * COS(SINE / 12)) * ANGLES(RAD(4 + 2.5 * SIN(SINE / 12)), RAD(0), RAD(85 + 2.5 * SIN(SINE / 12))), 1 / Animation_Speed) | |
1297 | Neck.C0 = Clerp(Neck.C0, NECKC0 * CF(0, 0, 0 + ((1) - 1)) * ANGLES(RAD(0 + 4.5 * SIN(SINE / 12)), RAD(0), RAD(-85 - 2.5 * SIN(SINE / 12))), 1 / Animation_Speed) | |
1298 | RightShoulder.C0 = Clerp(RightShoulder.C0, CF(1.5, 0.5 + 0.25 * COS(SINE / 12), 0) * ANGLES(RAD(0), RAD(0 - 7.5 * SIN(SINE / 12)), RAD(90 + 7.5 * SIN(SINE / 12))) * RIGHTSHOULDERC0, 1 / Animation_Speed) | |
1299 | LeftShoulder.C0 = Clerp(LeftShoulder.C0, CF(-1.5, 0.5 + 0.25 * COS(SINE / 12), 0) * ANGLES(RAD(5), RAD(0 + 7.5 * SIN(SINE / 12)), RAD(-12 - 7.5 * SIN(SINE / 12))) * LEFTSHOULDERC0, 1 / Animation_Speed) | |
1300 | RightHip.C0 = Clerp(RightHip.C0, CF(1, -1, -0.01) * ANGLES(RAD(-7.5 * SIN(SINE / 12)), RAD(75), RAD(0)) * ANGLES(RAD(-8 - 2.5 * SIN(SINE / 12)), RAD(0), RAD(0)), 1 / Animation_Speed) | |
1301 | LeftHip.C0 = Clerp(LeftHip.C0, CF(-1, -0.5, -0.5) * ANGLES(RAD(-7.5 * SIN(SINE / 12)), RAD(-90), RAD(0)) * ANGLES(RAD(-8 - 2.5 * SIN(SINE / 12)), RAD(0), RAD(0)), 1 / Animation_Speed) | |
1302 | end | |
1303 | local BOMBSPOTS = {} | |
1304 | for i = 1, 25 do | |
1305 | local SPOT = CreatePart(3, Effects, "Neon", 0, 0, "Relly blue", "Blade", VT(8,1,8)) | |
1306 | SPOT.Color = SKILLTEXTCOLOR | |
1307 | SPOT.CFrame = RootPart.CFrame*CF((MRANDOM(-15,15)/40)*i,-5,-i*5) | |
1308 | table.insert(BOMBSPOTS,SPOT) | |
1309 | MakeForm(SPOT,"Cyl") | |
1310 | end | |
1311 | for i=0, 0.2, 0.1 / Animation_Speed do | |
1312 | Swait() | |
1313 | RootJoint.C0 = Clerp(RootJoint.C0,ROOTC0 * CF(0, 0, 0 + 0.25 * COS(SINE / 12)) * ANGLES(RAD(4 + 2.5 * SIN(SINE / 12)), RAD(0), RAD(85 + 2.5 * SIN(SINE / 12))), 1 / Animation_Speed) | |
1314 | Neck.C0 = Clerp(Neck.C0, NECKC0 * CF(0, 0, 0 + ((1) - 1)) * ANGLES(RAD(0 + 4.5 * SIN(SINE / 12)), RAD(0), RAD(-85 - 2.5 * SIN(SINE / 12))), 1 / Animation_Speed) | |
1315 | RightShoulder.C0 = Clerp(RightShoulder.C0, CF(1.5, 0.5 + 0.25 * COS(SINE / 12), 0) * ANGLES(RAD(145), RAD(0 - 7.5 * SIN(SINE / 12)), RAD(-15 + 7.5 * SIN(SINE / 12))) * RIGHTSHOULDERC0, 1 / Animation_Speed) | |
1316 | LeftShoulder.C0 = Clerp(LeftShoulder.C0, CF(-1.5, 0.5 + 0.25 * COS(SINE / 12), 0) * ANGLES(RAD(-25), RAD(0 + 7.5 * SIN(SINE / 12)), RAD(-12 - 7.5 * SIN(SINE / 12))) * LEFTSHOULDERC0, 1 / Animation_Speed) | |
1317 | RightHip.C0 = Clerp(RightHip.C0, CF(1, -1, -0.01) * ANGLES(RAD(-7.5 * SIN(SINE / 12)), RAD(75), RAD(0)) * ANGLES(RAD(-8 - 2.5 * SIN(SINE / 12)), RAD(0), RAD(0)), 1 / Animation_Speed) | |
1318 | LeftHip.C0 = Clerp(LeftHip.C0, CF(-1, -0.5, -0.5) * ANGLES(RAD(-7.5 * SIN(SINE / 12)), RAD(-90), RAD(0)) * ANGLES(RAD(-8 - 2.5 * SIN(SINE / 12)), RAD(0), RAD(0)), 1 / Animation_Speed) | |
1319 | end | |
1320 | ATTACK = false | |
1321 | Rooted = false | |
1322 | coroutine.resume(coroutine.create(function() | |
1323 | Swait(3) | |
1324 | for i = 1, #BOMBSPOTS do | |
1325 | if BOMBSPOTS[i] ~= nil then | |
1326 | local E = BOMBSPOTS[i] | |
1327 | coroutine.resume(coroutine.create(function() | |
1328 | local BLADE = CreatePart(3, Effects, "SmoothPlastic", 0, 1, "Relly blue", "Blade", VT(0,0,0)) | |
1329 | BLADE.Color = SKILLTEXTCOLOR | |
1330 | CreateMesh("SpecialMesh", BLADE, "FileMesh", "93108071", "", VT(0.6,1,0.4)*3, VT(0,0,0)) | |
1331 | CreateSound(HITWEAPONSOUNDS[MRANDOM(1,#HITWEAPONSOUNDS)], BLADE, 4, 0.6) | |
1332 | BLADE.CFrame = E.CFrame*CF(0,-3,0)*ANGLES(RAD(MRANDOM(-15,15)),RAD(90),RAD(MRANDOM(-15,15))) | |
1333 | for i = 1, 10 do | |
1334 | Swait() | |
1335 | MagicSphere(VT(1,1,1)/5,65,CF(E.Position)*ANGLES(RAD(MRANDOM(-180,180)),RAD(MRANDOM(-180,180)),RAD(MRANDOM(-180,180)))*CF(0,MRANDOM(3,6),0),C3(1,1,1),VT(0,0,0)) | |
1336 | killnearest(BLADE.Position,6,80) | |
1337 | BLADE.CFrame = BLADE.CFrame*CF(0,0.3,0) | |
1338 | BLADE.Transparency = BLADE.Transparency - 0.1 | |
1339 | end | |
1340 | Swait(45) | |
1341 | for i = 1, 100 do | |
1342 | Swait() | |
1343 | BLADE.Transparency = BLADE.Transparency + 0.01 | |
1344 | E.Transparency = E.Transparency + 0.01 | |
1345 | end | |
1346 | BLADE:remove() | |
1347 | E:remove() | |
1348 | end)) | |
1349 | end | |
1350 | end | |
1351 | end)) | |
1352 | end | |
1353 | end | |
1354 | ||
1355 | function Supernova() | |
1356 | local HITFLOOR,HITPOS,NORMAL = Raycast(RootPart.Position, (CF(RootPart.Position, RootPart.Position + VT(0, -1, 0))).lookVector, 7 * Player_Size, Character) | |
1357 | if HITFLOOR ~= nil then | |
1358 | local HITBODIES = {} | |
1359 | ATTACK = true | |
1360 | Rooted = true | |
1361 | local ABSOLUTE = CreatePart(3, Effects, "Neon", 0, 1, "Relly red", "Star", VT(0,0,0)) | |
1362 | MakeForm(ABSOLUTE,"Ball") | |
1363 | CreateSound("429459101", ABSOLUTE, 10, 1) | |
1364 | for i=0, 4, 0.1 / Animation_Speed do | |
1365 | Swait() | |
1366 | ABSOLUTE.Size = ABSOLUTE.Size + VT(0.2,0.2,0.2) | |
1367 | ABSOLUTE.CFrame = RootPart.CFrame*CF(0,5+(ABSOLUTE.Size.Y/2),0) | |
1368 | ABSOLUTE.Transparency = ABSOLUTE.Transparency - 0.01 | |
1369 | local CHARGE = CreatePart(3, Effects, "Neon", 0, 0, "Really red", "Star", VT(1,1,1)) | |
1370 | MakeForm(CHARGE,"Ball") | |
1371 | CHARGE.Color = C3(1,1,1) | |
1372 | CHARGE.CFrame = CF(RootPart.Position) * CF(MRANDOM(-15,15),-6,MRANDOM(-15,15)) | |
1373 | FireArc(CHARGE,ABSOLUTE.Position,45,45,true) | |
1374 | RootJoint.C0 = Clerp(RootJoint.C0,ROOTC0 * CF(0, 0, 0 + 0.25 * COS(SINE / 12)) * ANGLES(RAD(4 + 2.5 * SIN(SINE / 12)), RAD(0), RAD(15 + 2.5 * SIN(SINE / 12))), 1 / Animation_Speed) | |
1375 | Neck.C0 = Clerp(Neck.C0, NECKC0 * CF(0, 0, 0 + ((1) - 1)) * ANGLES(RAD(-25 + 4.5 * SIN(SINE / 12)), RAD(25), RAD(-15 - 2.5 * SIN(SINE / 12))), 1 / Animation_Speed) | |
1376 | RightShoulder.C0 = Clerp(RightShoulder.C0, CF(1.25, 1.5 + 0.25 * COS(SINE / 12), 0) * ANGLES(RAD(170), RAD(0 - 7.5 * SIN(SINE / 12)), RAD(-12 + 7.5 * SIN(SINE / 12))) * RIGHTSHOULDERC0, 1 / Animation_Speed) | |
1377 | LeftShoulder.C0 = Clerp(LeftShoulder.C0, CF(-1.5, 0.5 + 0.25 * COS(SINE / 12), 0) * ANGLES(RAD(0), RAD(0 + 7.5 * SIN(SINE / 12)), RAD(-12 - 7.5 * SIN(SINE / 12))) * LEFTSHOULDERC0, 1 / Animation_Speed) | |
1378 | RightHip.C0 = Clerp(RightHip.C0, CF(1, -1, -0.01) * ANGLES(RAD(-7.5 * SIN(SINE / 12)), RAD(75), RAD(0)) * ANGLES(RAD(-8 - 2.5 * SIN(SINE / 12)), RAD(0), RAD(0)), 1 / Animation_Speed) | |
1379 | LeftHip.C0 = Clerp(LeftHip.C0, CF(-1, -0.5, -0.5) * ANGLES(RAD(-7.5 * SIN(SINE / 12)), RAD(-90), RAD(0)) * ANGLES(RAD(-8 - 2.5 * SIN(SINE / 12)), RAD(0), RAD(0)), 1 / Animation_Speed) | |
1380 | end | |
1381 | CreateSound("907330103", Head, 10, 1.2) | |
1382 | for i = 1, 75 do | |
1383 | Swait() | |
1384 | RootJoint.C0 = Clerp(RootJoint.C0,ROOTC0 * CF(0, 0, 0 + 0.25 * COS(SINE / 12)) * ANGLES(RAD(4 + 2.5 * SIN(SINE / 12)), RAD(0), RAD(15 + 2.5 * SIN(SINE / 12))), 1 / Animation_Speed) | |
1385 | Neck.C0 = Clerp(Neck.C0, NECKC0 * CF(0, 0, 0 + ((1) - 1)) * ANGLES(RAD(-25 + 4.5 * SIN(SINE / 12)), RAD(25), RAD(-15 - 2.5 * SIN(SINE / 12))), 1 / Animation_Speed) | |
1386 | RightShoulder.C0 = Clerp(RightShoulder.C0, CF(1.25, 1.5 + 0.25 * COS(SINE / 12), 0) * ANGLES(RAD(170), RAD(0 - 7.5 * SIN(SINE / 12)), RAD(-12 + 7.5 * SIN(SINE / 12))) * RIGHTSHOULDERC0, 1 / Animation_Speed) | |
1387 | LeftShoulder.C0 = Clerp(LeftShoulder.C0, CF(-1.5, 0.5 + 0.25 * COS(SINE / 12), 0) * ANGLES(RAD(0), RAD(0 + 7.5 * SIN(SINE / 12)), RAD(-12 - 7.5 * SIN(SINE / 12))) * LEFTSHOULDERC0, 1 / Animation_Speed) | |
1388 | RightHip.C0 = Clerp(RightHip.C0, CF(1, -1, -0.01) * ANGLES(RAD(-7.5 * SIN(SINE / 12)), RAD(75), RAD(0)) * ANGLES(RAD(-8 - 2.5 * SIN(SINE / 12)), RAD(0), RAD(0)), 1 / Animation_Speed) | |
1389 | LeftHip.C0 = Clerp(LeftHip.C0, CF(-1, -0.5, -0.5) * ANGLES(RAD(-7.5 * SIN(SINE / 12)), RAD(-90), RAD(0)) * ANGLES(RAD(-8 - 2.5 * SIN(SINE / 12)), RAD(0), RAD(0)), 1 / Animation_Speed) | |
1390 | end | |
1391 | coroutine.resume(coroutine.create(function() | |
1392 | for i = 1, 13 do | |
1393 | for e = 1, 8 do | |
1394 | Swait() | |
1395 | MagicSphere(VT(1,1,1),15,CF(ABSOLUTE.Position)*CF(MRANDOM(-45,45),MRANDOM(-45,45),MRANDOM(-45,45)),C3(1,1,1),VT(0,0,0)) | |
1396 | CreateSwirl(ABSOLUTE.Size/2,15,CF(HITPOS),true,15,BRICKC"Slime green".Color,VT(i,0.3,i)*2) | |
1397 | end | |
1398 | for i = 1, 5 do | |
1399 | Slice("Round",0,35,CF(ABSOLUTE.Position)*ANGLES(RAD(MRANDOM(-18,18)),RAD(MRANDOM(-180,180)),RAD(MRANDOM(-18,18))),C3(1,1,1),VT(i,0,i)/3) | |
1400 | Slice("Thin",i,55,ABSOLUTE.CFrame * CF(0,-1.1,0) * ANGLES(RAD(MRANDOM(-180,180)),RAD(MRANDOM(-180,180)),RAD(MRANDOM(-180,180))),C3(1,0,0),VT(0,0,0)) | |
1401 | end | |
1402 | CreateSwirl(ABSOLUTE.Size/2,25,CF(ABSOLUTE.Position),true,-25,BRICKC"Relly red".Color,VT(i,i*2,i)) | |
1403 | CreateSwirl(ABSOLUTE.Size/2,55,CF(ABSOLUTE.Position),true,25,C3(0.05,0.05,0.15),VT(i,i*2,i)) | |
1404 | CreateSound("168586621", ABSOLUTE, 4, 0.8) | |
1405 | CreateSound("201858144", ABSOLUTE, 10, 0.8) | |
1406 | killnearest(ABSOLUTE.Position,i*18,i) | |
1407 | ABSOLUTE.Size = ABSOLUTE.Size*0.9 | |
1408 | MagicSphere(ABSOLUTE.Size,25,CF(ABSOLUTE.Position),BRICKC"Relly red".Color,VT(i,i,i)/1.1) | |
1409 | MagicSphere(ABSOLUTE.Size,45,CF(ABSOLUTE.Position),C3(0.05,0.05,0.15),VT(i,i,i)) | |
1410 | end | |
1411 | ABSOLUTE.Transparency = 1 | |
1412 | Debris:AddItem(ABSOLUTE,10) | |
1413 | end)) | |
1414 | ATTACK = false | |
1415 | Rooted = false | |
1416 | end | |
1417 | end | |
1418 | ||
1419 | local Decal = IT("Decal") | |
1420 | ||
1421 | function Astral_Hop() | |
1422 | ATTACK = true | |
1423 | Rooted = false | |
1424 | local O1 = CreatePart(3, Effects, "Neon", 0, 1, "Really red", "Warphole", VT(0,0,0)) | |
1425 | O1.CFrame = RootPart.CFrame*CF(0,0,-3)*ANGLES(RAD(90),RAD(0),RAD(0)) | |
1426 | local decal = Decal:Clone() | |
1427 | decal.Parent = O1 | |
1428 | decal.Face = "Top" | |
1429 | decal.Texture = "http://www.roblox.com/asset/?id=349165228" | |
1430 | local decal2 = Decal:Clone() | |
1431 | decal2.Parent = O1 | |
1432 | decal2.Face = "Bottom" | |
1433 | decal2.Texture = "http://www.roblox.com/asset/?id=349165228" | |
1434 | local O2 = CreatePart(3, Effects, "Neon", 0, 1, "Really red", "Warphole", VT(0,0,0)) | |
1435 | local POS = VT(RootPart.Position.X,Mouse.Hit.p.Y+6,RootPart.Position.Z) | |
1436 | O2.CFrame = CF(Mouse.Hit.p+VT(0,6,0),POS)*ANGLES(RAD(90),RAD(0),RAD(0)) | |
1437 | local ROOT = CreatePart(3, Effects, "Neon", 0, 1, "Really red", "Warphole", VT(0,0,0)) | |
1438 | ROOT.CFrame = CF(O2.Position,RootPart.Position) | |
1439 | local decal = Decal:Clone() | |
1440 | decal.Parent = O2 | |
1441 | decal.Face = "Top" | |
1442 | decal.Texture = "http://www.roblox.com/asset/?id=349165228" | |
1443 | local decal2 = Decal:Clone() | |
1444 | decal2.Parent = O2 | |
1445 | decal2.Face = "Bottom" | |
1446 | decal2.Texture = "http://www.roblox.com/asset/?id=349165228" | |
1447 | CreateSound("84005018", O1, 10, 0.7) | |
1448 | CreateSound("84005018", O2, 10, 0.7) | |
1449 | for i = 1, 75 do | |
1450 | Swait() | |
1451 | O1.Size = O1.Size + VT(0.1,0,0.1) | |
1452 | O1.CFrame = RootPart.CFrame*CF(0,0,-3)*ANGLES(RAD(90),RAD(i),RAD(0)) | |
1453 | O2.Size = O2.Size + VT(0.1,0,0.1) | |
1454 | O2.CFrame = O2.CFrame*ANGLES(RAD(0),RAD(i),RAD(0)) | |
1455 | RootJoint.C0 = Clerp(RootJoint.C0,ROOTC0 * CF(0, 0, 0 + 0.25 * COS(SINE / 12)) * ANGLES(RAD(4 + 2.5 * SIN(SINE / 12)), RAD(0), RAD(5 + 2.5 * SIN(SINE / 12))), 1 / Animation_Speed) | |
1456 | Neck.C0 = Clerp(Neck.C0, NECKC0 * CF(0, 0, 0 + ((1) - 1)) * ANGLES(RAD(0 + 4.5 * SIN(SINE / 12)), RAD(0), RAD(-5 - 2.5 * SIN(SINE / 12))), 1 / Animation_Speed) | |
1457 | RightShoulder.C0 = Clerp(RightShoulder.C0, CF(1.5, 0.5 + 0.25 * COS(SINE / 12), 0) * ANGLES(RAD(90), RAD(0 - 2.5 * SIN(SINE / 12)), RAD(5 + 7.5 * SIN(SINE / 12))) * RIGHTSHOULDERC0, 1 / Animation_Speed) | |
1458 | LeftShoulder.C0 = Clerp(LeftShoulder.C0, CF(-1.5, 0.5 + 0.25 * COS(SINE / 12), 0) * ANGLES(RAD(90), RAD(0 + 2.5 * SIN(SINE / 12)), RAD(-5 - 7.5 * SIN(SINE / 12))) * LEFTSHOULDERC0, 1 / Animation_Speed) | |
1459 | RightHip.C0 = Clerp(RightHip.C0, CF(1, -1, -0.01) * ANGLES(RAD(-2.5 * SIN(SINE / 12)), RAD(75), RAD(0)) * ANGLES(RAD(-8 - 2.5 * SIN(SINE / 12)), RAD(0), RAD(0)), 1 / Animation_Speed) | |
1460 | LeftHip.C0 = Clerp(LeftHip.C0, CF(-1, -0.5, -0.5) * ANGLES(RAD(-2.5 * SIN(SINE / 12)), RAD(-90), RAD(0)) * ANGLES(RAD(-8 - 2.5 * SIN(SINE / 12)), RAD(0), RAD(0)), 1 / Animation_Speed) | |
1461 | end | |
1462 | Rooted = true | |
1463 | UNANCHOR = false | |
1464 | RootPart.Anchored = true | |
1465 | VALUE1 = true | |
1466 | for i = 1, 15 do | |
1467 | Transparency(i/15) | |
1468 | Swait() | |
1469 | RootPart.CFrame = RootPart.CFrame*CF(0,0,-0.13) | |
1470 | RootJoint.C0 = Clerp(RootJoint.C0,ROOTC0 * CF(0, 0, 0 + 0.25 * COS(SINE / 12)) * ANGLES(RAD(16 + 2.5 * SIN(SINE / 12)), RAD(0), RAD(5 + 2.5 * SIN(SINE / 12))), 1 / Animation_Speed) | |
1471 | Neck.C0 = Clerp(Neck.C0, NECKC0 * CF(0, 0, 0 + ((1) - 1)) * ANGLES(RAD(-15 + 4.5 * SIN(SINE / 12)), RAD(0), RAD(-5 - 2.5 * SIN(SINE / 12))), 1 / Animation_Speed) | |
1472 | RightShoulder.C0 = Clerp(RightShoulder.C0, CF(1.5, 0.5 + 0.25 * COS(SINE / 12), 0) * ANGLES(RAD(-15), RAD(0 - 2.5 * SIN(SINE / 12)), RAD(5 + 7.5 * SIN(SINE / 12))) * RIGHTSHOULDERC0, 1 / Animation_Speed) | |
1473 | LeftShoulder.C0 = Clerp(LeftShoulder.C0, CF(-1.5, 0.5 + 0.25 * COS(SINE / 12), 0) * ANGLES(RAD(-15), RAD(0 + 2.5 * SIN(SINE / 12)), RAD(-5 - 7.5 * SIN(SINE / 12))) * LEFTSHOULDERC0, 1 / Animation_Speed) | |
1474 | RightHip.C0 = Clerp(RightHip.C0, CF(1, -1, -0.01) * ANGLES(RAD(-2.5 * SIN(SINE / 12)), RAD(75), RAD(0)) * ANGLES(RAD(-8 - 2.5 * SIN(SINE / 12)), RAD(0), RAD(0)), 1 / Animation_Speed) | |
1475 | LeftHip.C0 = Clerp(LeftHip.C0, CF(-1, -0.5, -0.5) * ANGLES(RAD(-2.5 * SIN(SINE / 12)), RAD(-90), RAD(0)) * ANGLES(RAD(-8 - 2.5 * SIN(SINE / 12)), RAD(0), RAD(0)), 1 / Animation_Speed) | |
1476 | end | |
1477 | RootPart.CFrame = ROOT.CFrame | |
1478 | ROOT:remove() | |
1479 | for i = 1, 15 do | |
1480 | Transparency(1-(i/15)) | |
1481 | Swait() | |
1482 | RootPart.CFrame = RootPart.CFrame*CF(0,0,-0.5) | |
1483 | RootJoint.C0 = Clerp(RootJoint.C0,ROOTC0 * CF(0, 0, 0 + 0.25 * COS(SINE / 12)) * ANGLES(RAD(16 + 2.5 * SIN(SINE / 12)), RAD(0), RAD(5 + 2.5 * SIN(SINE / 12))), 1 / Animation_Speed) | |
1484 | Neck.C0 = Clerp(Neck.C0, NECKC0 * CF(0, 0, 0 + ((1) - 1)) * ANGLES(RAD(-15 + 4.5 * SIN(SINE / 12)), RAD(0), RAD(-5 - 2.5 * SIN(SINE / 12))), 1 / Animation_Speed) | |
1485 | RightShoulder.C0 = Clerp(RightShoulder.C0, CF(1.5, 0.5 + 0.25 * COS(SINE / 12), 0) * ANGLES(RAD(-15), RAD(0 - 2.5 * SIN(SINE / 12)), RAD(5 + 7.5 * SIN(SINE / 12))) * RIGHTSHOULDERC0, 1 / Animation_Speed) | |
1486 | LeftShoulder.C0 = Clerp(LeftShoulder.C0, CF(-1.5, 0.5 + 0.25 * COS(SINE / 12), 0) * ANGLES(RAD(-15), RAD(0 + 2.5 * SIN(SINE / 12)), RAD(-5 - 7.5 * SIN(SINE / 12))) * LEFTSHOULDERC0, 1 / Animation_Speed) | |
1487 | RightHip.C0 = Clerp(RightHip.C0, CF(1, -1, -0.01) * ANGLES(RAD(-2.5 * SIN(SINE / 12)), RAD(75), RAD(0)) * ANGLES(RAD(-8 - 2.5 * SIN(SINE / 12)), RAD(0), RAD(0)), 1 / Animation_Speed) | |
1488 | LeftHip.C0 = Clerp(LeftHip.C0, CF(-1, -0.5, -0.5) * ANGLES(RAD(-2.5 * SIN(SINE / 12)), RAD(-90), RAD(0)) * ANGLES(RAD(-8 - 2.5 * SIN(SINE / 12)), RAD(0), RAD(0)), 1 / Animation_Speed) | |
1489 | end | |
1490 | VALUE1 = false | |
1491 | coroutine.resume(coroutine.create(function() | |
1492 | for i = 1, 75 do | |
1493 | Swait() | |
1494 | O1.Size = O1.Size - VT(0.1,0,0.1) | |
1495 | O1.CFrame = O1.CFrame*ANGLES(RAD(0),RAD(i),RAD(0)) | |
1496 | O2.Size = O2.Size - VT(0.1,0,0.1) | |
1497 | O2.CFrame = O2.CFrame*ANGLES(RAD(0),RAD(i),RAD(0)) | |
1498 | end | |
1499 | O1:remove() | |
1500 | O2:remove() | |
1501 | end)) | |
1502 | UNANCHOR = true | |
1503 | RootPart.Anchored = false | |
1504 | ATTACK = false | |
1505 | Rooted = false | |
1506 | end | |
1507 | ||
1508 | function WACKYEFFECT(Table) | |
1509 | local TYPE = (Table.EffectType or "Sphere") | |
1510 | local SIZE = (Table.Size or VT(1,1,1)) | |
1511 | local ENDSIZE = (Table.Size2 or VT(0,0,0)) | |
1512 | local TRANSPARENCY = (Table.Transparency or 0) | |
1513 | local ENDTRANSPARENCY = (Table.Transparency2 or 1) | |
1514 | local CFRAME = (Table.CFrame or Torso.CFrame) | |
1515 | local MOVEDIRECTION = (Table.MoveToPos or nil) | |
1516 | local ROTATION1 = (Table.RotationX or 0) | |
1517 | local ROTATION2 = (Table.RotationY or 0) | |
1518 | local ROTATION3 = (Table.RotationZ or 0) | |
1519 | local MATERIAL = (Table.Material or "Neon") | |
1520 | local COLOR = (Table.Color or C3(1,1,1)) | |
1521 | local TIME = (Table.Time or 45) | |
1522 | local SOUNDID = (Table.SoundID or nil) | |
1523 | local SOUNDPITCH = (Table.SoundPitch or nil) | |
1524 | local SOUNDVOLUME = (Table.SoundVolume or nil) | |
1525 | coroutine.resume(coroutine.create(function() | |
1526 | local PLAYSSOUND = false | |
1527 | local SOUND = nil | |
1528 | local EFFECT = CreatePart(3, Effects, MATERIAL, 0, TRANSPARENCY, BRICKC("Pearl"), "Effect", VT(1,1,1), true) | |
1529 | if SOUNDID ~= nil and SOUNDPITCH ~= nil and SOUNDVOLUME ~= nil then | |
1530 | PLAYSSOUND = true | |
1531 | SOUND = CreateSound(SOUNDID, EFFECT, SOUNDVOLUME, SOUNDPITCH, false) | |
1532 | end | |
1533 | EFFECT.Color = COLOR | |
1534 | local MSH = nil | |
1535 | if TYPE == "Sphere" then | |
1536 | MSH = CreateMesh("SpecialMesh", EFFECT, "Sphere", "", "", SIZE, VT(0,0,0)) | |
1537 | elseif TYPE == "Block" or TYPE == "Box" then | |
1538 | MSH = IT("BlockMesh",EFFECT) | |
1539 | MSH.Scale = SIZE | |
1540 | elseif TYPE == "Wave" then | |
1541 | MSH = CreateMesh("SpecialMesh", EFFECT, "FileMesh", "20329976", "", SIZE, VT(0,0,-SIZE.X/8)) | |
1542 | elseif TYPE == "Ring" then | |
1543 | MSH = CreateMesh("SpecialMesh", EFFECT, "FileMesh", "559831844", "", VT(SIZE.X,SIZE.X,0.1), VT(0,0,0)) | |
1544 | elseif TYPE == "Slash" then | |
1545 | MSH = CreateMesh("SpecialMesh", EFFECT, "FileMesh", "662586858", "", VT(SIZE.X/10,0,SIZE.X/10), VT(0,0,0)) | |
1546 | elseif TYPE == "Round Slash" then | |
1547 | MSH = CreateMesh("SpecialMesh", EFFECT, "FileMesh", "662585058", "", VT(SIZE.X/10,0,SIZE.X/10), VT(0,0,0)) | |
1548 | elseif TYPE == "Swirl" then | |
1549 | MSH = CreateMesh("SpecialMesh", EFFECT, "FileMesh", "1051557", "", SIZE, VT(0,0,0)) | |
1550 | elseif TYPE == "Skull" then | |
1551 | MSH = CreateMesh("SpecialMesh", EFFECT, "FileMesh", "4770583", "", SIZE, VT(0,0,0)) | |
1552 | elseif TYPE == "Crystal" then | |
1553 | MSH = CreateMesh("SpecialMesh", EFFECT, "FileMesh", "9756362", "", SIZE, VT(0,0,0)) | |
1554 | end | |
1555 | if MSH ~= nil then | |
1556 | local MOVESPEED = nil | |
1557 | if MOVEDIRECTION ~= nil then | |
1558 | MOVESPEED = (CFRAME.p - MOVEDIRECTION).Magnitude/TIME | |
1559 | end | |
1560 | local GROWTH = SIZE - ENDSIZE | |
1561 | local TRANS = TRANSPARENCY - ENDTRANSPARENCY | |
1562 | if TYPE == "Block" then | |
1563 | EFFECT.CFrame = CFRAME*ANGLES(RAD(MRANDOM(0,360)),RAD(MRANDOM(0,360)),RAD(MRANDOM(0,360))) | |
1564 | else | |
1565 | EFFECT.CFrame = CFRAME | |
1566 | end | |
1567 | for LOOP = 1, TIME+1 do | |
1568 | Swait() | |
1569 | MSH.Scale = MSH.Scale - GROWTH/TIME | |
1570 | if TYPE == "Wave" then | |
1571 | MSH.Offset = VT(0,0,-MSH.Scale.X/8) | |
1572 | end | |
1573 | EFFECT.Transparency = EFFECT.Transparency - TRANS/TIME | |
1574 | if TYPE == "Block" then | |
1575 | EFFECT.CFrame = CFRAME*ANGLES(RAD(MRANDOM(0,360)),RAD(MRANDOM(0,360)),RAD(MRANDOM(0,360))) | |
1576 | else | |
1577 | EFFECT.CFrame = EFFECT.CFrame*ANGLES(RAD(ROTATION1),RAD(ROTATION2),RAD(ROTATION3)) | |
1578 | end | |
1579 | if MOVEDIRECTION ~= nil then | |
1580 | local ORI = EFFECT.Orientation | |
1581 | EFFECT.CFrame = CF(EFFECT.Position,MOVEDIRECTION)*CF(0,0,-MOVESPEED) | |
1582 | EFFECT.Orientation = ORI | |
1583 | end | |
1584 | end | |
1585 | if PLAYSSOUND == false then | |
1586 | EFFECT:remove() | |
1587 | else | |
1588 | repeat wait(1) until SOUND.Playing == false | |
1589 | EFFECT:remove() | |
1590 | end | |
1591 | else | |
1592 | if PLAYSSOUND == false then | |
1593 | EFFECT:remove() | |
1594 | else | |
1595 | repeat Swait() until SOUND.Playing == false | |
1596 | EFFECT:remove() | |
1597 | end | |
1598 | end | |
1599 | end)) | |
1600 | end | |
1601 | ||
1602 | function PhForm() | |
1603 | ATTACK = true | |
1604 | Rooted = true | |
1605 | local HITFLOOR,HITPOS = Raycast(RootPart.Position, (CF(RootPart.Position, RootPart.Position + VT(0, -1, 0))).lookVector, 25*SIZE, Character) | |
1606 | if MODE == "Main" then | |
1607 | sick.SoundId = "rbxassetid://1418800825" | |
1608 | sick.Volume = 6 | |
1609 | sick.Pitch = 1 | |
1610 | sick.TimePosition = 1 | |
1611 | for _, c in pairs(Character:GetChildren()) do | |
1612 | if c.ClassName == "Part" then | |
1613 | c.Material = "Neon" | |
1614 | if c:FindFirstChildOfClass("ParticleEmitter") then | |
1615 | c:FindFirstChildOfClass("ParticleEmitter"):remove() | |
1616 | end | |
1617 | if c == Head then | |
1618 | local M = CreateMesh("SpecialMesh", c, "FileMesh", "21057410", "1393532942", VT(1, 1, 1) * 1.1, VT(0, 0, 0)) | |
1619 | M.Name = "Dominus" | |
1620 | if c:FindFirstChild("face") then | |
1621 | c.face:remove() | |
1622 | end | |
1623 | end | |
1624 | end | |
1625 | end | |
1626 | BodyColor = C3(1, 1, 1) | |
1627 | LegColor = C3(0.7372549019607844, 0.6078431372549019, 0.36470588235294116) | |
1628 | ArmColor = C3(0.9372549019607843, 0.7215686274509804, 0.2196078431372549) | |
1629 | -- Animation -- | |
1630 | coroutine.resume(coroutine.create(function() | |
1631 | end)) | |
1632 | for i=0, 1.5, 0.1 / Animation_Speed do | |
1633 | Swait() | |
1634 | RootJoint.C0 = Clerp(RootJoint.C0,ROOTC0 * CF(0, 0, 0 + 0.25 * COS(SINE / 12)) * ANGLES(RAD(4 + 2.5 * SIN(SINE / 12)), RAD(0), RAD(5 + 2.5 * SIN(SINE / 12))), 1 / Animation_Speed) | |
1635 | Neck.C0 = Clerp(Neck.C0, NECKC0 * CF(0, 0, 0 + ((1.25*SIZE) - 1)) * ANGLES(RAD(35), RAD(0), RAD(0)), 1 / Animation_Speed) | |
1636 | RightShoulder.C0 = Clerp(RightShoulder.C0, CF(1.5*SIZE, 0.5*SIZE, 0) * ANGLES(RAD(80), RAD(75), RAD(0)) * RIGHTSHOULDERC0, 1 / Animation_Speed) | |
1637 | LeftShoulder.C0 = Clerp(LeftShoulder.C0, CF(-1.5*SIZE, 0.5*SIZE, 0) * ANGLES(RAD(0), RAD(0), RAD(-25)) * LEFTSHOULDERC0, 1 / Animation_Speed) | |
1638 | RightHip.C0 = Clerp(RightHip.C0, CF(1, -1, -0.01) * ANGLES(RAD(-2.5 * SIN(SINE / 12)), RAD(75), RAD(0)) * ANGLES(RAD(-8 - 2.5 * SIN(SINE / 12)), RAD(0), RAD(0)), 1 / Animation_Speed) | |
1639 | LeftHip.C0 = Clerp(LeftHip.C0, CF(-1, -0.5, -0.5) * ANGLES(RAD(-2.5 * SIN(SINE / 12)), RAD(-90), RAD(0)) * ANGLES(RAD(-8 - 2.5 * SIN(SINE / 12)), RAD(0), RAD(0)), 1 / Animation_Speed) | |
1640 | end | |
1641 | MODE = "Phaedra" | |
1642 | SKILLTEXTCOLOR = C3(0.7372549019607844, 0.6078431372549019, 0.36470588235294116) | |
1643 | SKILLTEXTCOLOR2 = C3(1,1,1) | |
1644 | firesound.Volume = 6 | |
1645 | Weapon2.Parent = Character | |
1646 | for i=0, 1.5, 0.1 / Animation_Speed do | |
1647 | Swait() | |
1648 | RootJoint.C0 = Clerp(RootJoint.C0,ROOTC0 * CF(0, 0, 0 + 0.25 * COS(SINE / 12)) * ANGLES(RAD(4 + 2.5 * SIN(SINE / 12)), RAD(0), RAD(5 + 2.5 * SIN(SINE / 12))), 1 / Animation_Speed) | |
1649 | ||
1650 | Neck.C0 = Clerp(Neck.C0, NECKC0 * CF(0, 0, 0 + ((1.25*SIZE) - 1)) * ANGLES(RAD(35), RAD(0), RAD(0)), 1 / Animation_Speed) | |
1651 | RightShoulder.C0 = Clerp(RightShoulder.C0, CF(1.5*SIZE, 0.5*SIZE, 0) * ANGLES(RAD(0), RAD(0), RAD(90)) * RIGHTSHOULDERC0, 1 / Animation_Speed) | |
1652 | LeftShoulder.C0 = Clerp(LeftShoulder.C0, CF(-1.5*SIZE, 0.5*SIZE, 0) * ANGLES(RAD(0), RAD(0), RAD(-25)) * LEFTSHOULDERC0, 1 / Animation_Speed) | |
1653 | RightHip.C0 = Clerp(RightHip.C0, CF(1, -1, -0.01) * ANGLES(RAD(-2.5 * SIN(SINE / 12)), RAD(75), RAD(0)) * ANGLES(RAD(-8 - 2.5 * SIN(SINE / 12)), RAD(0), RAD(0)), 1 / Animation_Speed) | |
1654 | LeftHip.C0 = Clerp(LeftHip.C0, CF(-1, -0.5, -0.5) * ANGLES(RAD(-2.5 * SIN(SINE / 12)), RAD(-90), RAD(0)) * ANGLES(RAD(-8 - 2.5 * SIN(SINE / 12)), RAD(0), RAD(0)), 1 / Animation_Speed) | |
1655 | end | |
1656 | Speed = 20 | |
1657 | tecks2.Text = "Dominus Phaedra" | |
1658 | elseif MODE == "Phaedra" then | |
1659 | firesound.Volume = 0 | |
1660 | Weapon2.Parent = nil | |
1661 | CreateSound(147722227, Torso, 4, 1.3, false) | |
1662 | sick.SoundId = "rbxassetid://195900687" | |
1663 | sick.Volume = 4 | |
1664 | sick.Pitch = 1 | |
1665 | sick.TimePosition = 20.7 | |
1666 | for _, c in pairs(Character:GetChildren()) do | |
1667 | if c.ClassName == "Part" then | |
1668 | c.Material = "Neon" | |
1669 | if c:FindFirstChildOfClass("ParticleEmitter") then | |
1670 | c:FindFirstChildOfClass("ParticleEmitter"):remove() | |
1671 | end | |
1672 | if c == Torso then | |
1673 | c.Color = C3(0,0,0) | |
1674 | elseif c == RightArm then | |
1675 | c.Color = C3(0.05,0.05,0.15) | |
1676 | elseif c == LeftArm then | |
1677 | c.Color = C3(0.05,0.05,0.15) | |
1678 | elseif c == RightLeg then | |
1679 | c.Color = C3(0,0,0.05) | |
1680 | elseif c == LeftLeg then | |
1681 | c.Color = C3(0,0,0.05) | |
1682 | elseif c == Head then | |
1683 | local M = CreateMesh("SpecialMesh", c, "FileMesh", "162384581", "162384608", VT(1,1,1)*1.1, VT(0,0,0)) | |
1684 | M.Name = "Dominus" | |
1685 | if c:FindFirstChild("face") then | |
1686 | c.face:remove() | |
1687 | ||
1688 | end | |
1689 | end | |
1690 | elseif c.ClassName == "Shirt" or c.ClassName == "Pants" or c.ClassName == "CharacterMesh" or c.ClassName == "Accessory" or c.Name == "Body Colors" then | |
1691 | c:remove() | |
1692 | end | |
1693 | end | |
1694 | WACKYEFFECT({Time = 50, EffectType = "Wave", Size = VT(500,0.11,500)*SIZE, Size2 = VT(0,0.11,0), Transparency = 1, Transparency2 = 0, CFrame = CF(HITPOS), MoveToPos = nil, RotationX = 0, RotationY = 15, RotationZ = 0, Material = "Neon", Color = C3(0/255, 0/255, 255/255), SoundID = nil, SoundPitch = 0.5, SoundVolume = 6}) | |
1695 | WACKYEFFECT({Time = 37.5, EffectType = "Sphere", Size = VT(0.5,0.5,0.5), Size2 = VT(75,75,75), Transparency = 0, Transparency2 = 0.5, CFrame = CF(HITPOS), MoveToPos = nil, RotationX = 0, RotationY = 0, RotationZ = 0, Material = "Neon", Color = C3(0/255, 0/255, 183/255), SoundID = nil, SoundPitch = 0.5, SoundVolume = 6}) | |
1696 | Swait(15) | |
1697 | Speed = 16 | |
1698 | MODE = "Main" | |
1699 | BodyColor = C3(0,0,0) | |
1700 | LegColor = C3(0,0,0.05) | |
1701 | ArmColor = C3(0.05,0.05,0.15) | |
1702 | end | |
1703 | ATTACK = false | |
1704 | Rooted = false | |
1705 | end | |
1706 | ||
1707 | function UpForm() | |
1708 | ATTACK = true | |
1709 | Rooted = true | |
1710 | local HITFLOOR,HITPOS = Raycast(RootPart.Position, (CF(RootPart.Position, RootPart.Position + VT(0, -1, 0))).lookVector, 25*SIZE, Character) | |
1711 | if MODE == "Phaedra" then | |
1712 | ||
1713 | sick.SoundId = "rbxassetid://700037500" | |
1714 | sick.Volume = 10 | |
1715 | sick.Pitch = 1 | |
1716 | sick.TimePosition = 1 | |
1717 | for _, c in pairs(Character:GetChildren()) do | |
1718 | if c.ClassName == "Part" then | |
1719 | c.Material = "Neon" | |
1720 | if c:FindFirstChildOfClass("ParticleEmitter") then | |
1721 | c:FindFirstChildOfClass("ParticleEmitter"):remove() | |
1722 | end | |
1723 | if c == Head then | |
1724 | local M = CreateMesh("SpecialMesh", c, "FileMesh", "21057410", "1393532942", VT(1, 1, 1) * 1.1, VT(0, 0, 0)) | |
1725 | M.Name = "Dominus" | |
1726 | if c:FindFirstChild("face") then | |
1727 | c.face:remove() | |
1728 | end | |
1729 | end | |
1730 | end | |
1731 | end | |
1732 | BodyColor = C3(1, 1, 1) | |
1733 | LegColor = C3(0.7372549019607844, 0.6078431372549019, 0.36470588235294116) | |
1734 | ArmColor = C3(0.9372549019607843, 0.7215686274509804, 0.2196078431372549) | |
1735 | -- Animation -- | |
1736 | coroutine.resume(coroutine.create(function() | |
1737 | end)) | |
1738 | for i=0, 1.5, 0.1 / Animation_Speed do | |
1739 | Swait() | |
1740 | RootJoint.C0 = Clerp(RootJoint.C0,ROOTC0 * CF(0, 0, 0 + 0.25 * COS(SINE / 12)) * ANGLES(RAD(4 + 2.5 * SIN(SINE / 12)), RAD(0), RAD(5 + 2.5 * SIN(SINE / 12))), 1 / Animation_Speed) | |
1741 | Neck.C0 = Clerp(Neck.C0, NECKC0 * CF(0, 0, 0 + ((1.25*SIZE) - 1)) * ANGLES(RAD(35), RAD(0), RAD(0)), 1 / Animation_Speed) | |
1742 | RightShoulder.C0 = Clerp(RightShoulder.C0, CF(1.5*SIZE, 0.5*SIZE, 0) * ANGLES(RAD(80), RAD(75), RAD(0)) * RIGHTSHOULDERC0, 1 / Animation_Speed) | |
1743 | LeftShoulder.C0 = Clerp(LeftShoulder.C0, CF(-1.5*SIZE, 0.5*SIZE, 0) * ANGLES(RAD(0), RAD(0), RAD(-25)) * LEFTSHOULDERC0, 1 / Animation_Speed) | |
1744 | RightHip.C0 = Clerp(RightHip.C0, CF(1, -1, -0.01) * ANGLES(RAD(-2.5 * SIN(SINE / 12)), RAD(75), RAD(0)) * ANGLES(RAD(-8 - 2.5 * SIN(SINE / 12)), RAD(0), RAD(0)), 1 / Animation_Speed) | |
1745 | LeftHip.C0 = Clerp(LeftHip.C0, CF(-1, -0.5, -0.5) * ANGLES(RAD(-2.5 * SIN(SINE / 12)), RAD(-90), RAD(0)) * ANGLES(RAD(-8 - 2.5 * SIN(SINE / 12)), RAD(0), RAD(0)), 1 / Animation_Speed) | |
1746 | end | |
1747 | MODE = "Ultra Phaedra" | |
1748 | Humanoid.HipHeight = 4 | |
1749 | SKILLTEXTCOLOR = C3(0.8, 0.6, 0.4) | |
1750 | SKILLTEXTCOLOR2 = C3(1,1,1) | |
1751 | firesound.Volume = 10 | |
1752 | firesound.Parent = Character | |
1753 | Weapon2.Parent = Character | |
1754 | for i=0, 1.5, 0.1 / Animation_Speed do | |
1755 | Swait() | |
1756 | RootJoint.C0 = Clerp(RootJoint.C0,ROOTC0 * CF(0, 0, 0 + 0.25 * COS(SINE / 12)) * ANGLES(RAD(4 + 2.5 * SIN(SINE / 12)), RAD(0), RAD(5 + 2.5 * SIN(SINE / 12))), 1 / Animation_Speed) | |
1757 | ||
1758 | Neck.C0 = Clerp(Neck.C0, NECKC0 * CF(0, 0, 0 + ((1.25*SIZE) - 1)) * ANGLES(RAD(35), RAD(0), RAD(0)), 1 / Animation_Speed) | |
1759 | RightShoulder.C0 = Clerp(RightShoulder.C0, CF(1.5*SIZE, 0.5*SIZE, 0) * ANGLES(RAD(0), RAD(0), RAD(90)) * RIGHTSHOULDERC0, 1 / Animation_Speed) | |
1760 | LeftShoulder.C0 = Clerp(LeftShoulder.C0, CF(-1.5*SIZE, 0.5*SIZE, 0) * ANGLES(RAD(0), RAD(0), RAD(-25)) * LEFTSHOULDERC0, 1 / Animation_Speed) | |
1761 | RightHip.C0 = Clerp(RightHip.C0, CF(1, -1, -0.01) * ANGLES(RAD(-2.5 * SIN(SINE / 12)), RAD(75), RAD(0)) * ANGLES(RAD(-8 - 2.5 * SIN(SINE / 12)), RAD(0), RAD(0)), 1 / Animation_Speed) | |
1762 | LeftHip.C0 = Clerp(LeftHip.C0, CF(-1, -0.5, -0.5) * ANGLES(RAD(-2.5 * SIN(SINE / 12)), RAD(-90), RAD(0)) * ANGLES(RAD(-8 - 2.5 * SIN(SINE / 12)), RAD(0), RAD(0)), 1 / Animation_Speed) | |
1763 | end | |
1764 | Speed = 20 | |
1765 | tecks2.Text = "Ultima Dominus Phaedra" | |
1766 | elseif MODE == "Ultra Phaedra" then | |
1767 | firesound.Volume = 0 | |
1768 | firesound.Parent = RootPart | |
1769 | Humanoid.HipHeight = 2 | |
1770 | Weapon2.Parent = nil | |
1771 | CreateSound(147722227, Torso, 4, 1.3, false) | |
1772 | sick.SoundId = "rbxassetid://195900687" | |
1773 | sick.Volume = 4 | |
1774 | sick.Pitch = 1 | |
1775 | sick.TimePosition = 20.7 | |
1776 | for _, c in pairs(Character:GetChildren()) do | |
1777 | if c.ClassName == "Part" then | |
1778 | c.Material = "Neon" | |
1779 | if c:FindFirstChildOfClass("ParticleEmitter") then | |
1780 | c:FindFirstChildOfClass("ParticleEmitter"):remove() | |
1781 | end | |
1782 | if c == Torso then | |
1783 | c.Color = C3(0,0,0) | |
1784 | elseif c == RightArm then | |
1785 | c.Color = C3(0.05,0.05,0.15) | |
1786 | elseif c == LeftArm then | |
1787 | c.Color = C3(0.05,0.05,0.15) | |
1788 | elseif c == RightLeg then | |
1789 | c.Color = C3(0,0,0.05) | |
1790 | elseif c == LeftLeg then | |
1791 | c.Color = C3(0,0,0.05) | |
1792 | elseif c == Head then | |
1793 | local M = CreateMesh("SpecialMesh", c, "FileMesh", "162384581", "162384608", VT(1,1,1)*1.1, VT(0,0,0)) | |
1794 | M.Name = "Dominus" | |
1795 | if c:FindFirstChild("face") then | |
1796 | c.face:remove() | |
1797 | ||
1798 | end | |
1799 | end | |
1800 | elseif c.ClassName == "Shirt" or c.ClassName == "Pants" or c.ClassName == "CharacterMesh" or c.ClassName == "Accessory" or c.Name == "Body Colors" then | |
1801 | c:remove() | |
1802 | end | |
1803 | end | |
1804 | WACKYEFFECT({Time = 50, EffectType = "Wave", Size = VT(500,0.11,500)*SIZE, Size2 = VT(0,0.11,0), Transparency = 1, Transparency2 = 0, CFrame = CF(HITPOS), MoveToPos = nil, RotationX = 0, RotationY = 15, RotationZ = 0, Material = "Neon", Color = C3(0/255, 0/255, 255/255), SoundID = nil, SoundPitch = 0.5, SoundVolume = 6}) | |
1805 | WACKYEFFECT({Time = 37.5, EffectType = "Sphere", Size = VT(0.5,0.5,0.5), Size2 = VT(75,75,75), Transparency = 0, Transparency2 = 0.5, CFrame = CF(HITPOS), MoveToPos = nil, RotationX = 0, RotationY = 0, RotationZ = 0, Material = "Neon", Color = C3(0/255, 0/255, 183/255), SoundID = nil, SoundPitch = 0.5, SoundVolume = 6}) | |
1806 | Swait(15) | |
1807 | Speed = 16 | |
1808 | MODE = "Main" | |
1809 | BodyColor = C3(0,0,0) | |
1810 | LegColor = C3(0,0,0.05) | |
1811 | ArmColor = C3(0.05,0.05,0.15) | |
1812 | end | |
1813 | ATTACK = false | |
1814 | Rooted = false | |
1815 | end | |
1816 | ||
1817 | function TeForm() | |
1818 | ATTACK = true | |
1819 | Rooted = true | |
1820 | local HITFLOOR,HITPOS = Raycast(RootPart.Position, (CF(RootPart.Position, RootPart.Position + VT(0, -1, 0))).lookVector, 25*SIZE, Character) | |
1821 | if MODE == "Main" then | |
1822 | sick.SoundId = "rbxassetid://926658175" | |
1823 | sick.Volume = 3 | |
1824 | sick.Pitch = 1 | |
1825 | sick.TimePosition = 1 | |
1826 | for _, c in pairs(Character:GetChildren()) do | |
1827 | if c.ClassName == "Part" then | |
1828 | c.Material = "Neon" | |
1829 | if c:FindFirstChildOfClass("ParticleEmitter") then | |
1830 | c:FindFirstChildOfClass("ParticleEmitter"):remove() | |
1831 | end | |
1832 | if c == Head then | |
1833 | local M = CreateMesh("SpecialMesh", c, "FileMesh", "21057410", "142151506", VT(1, 1, 1) * 1.1, VT(0, 0, 0)) | |
1834 | M.Name = "Dominus" | |
1835 | if c:FindFirstChild("face") then | |
1836 | c.face:remove() | |
1837 | end | |
1838 | end | |
1839 | end | |
1840 | end | |
1841 | BodyColor = C3(0,0,0) | |
1842 | LegColor = C3(0,0,0) | |
1843 | ArmColor = C3(0.05,0.05,0.05) | |
1844 | SKILLTEXTCOLOR = C3(0.05,0.05,0.05) | |
1845 | SKILLTEXTCOLOR2 = C3(0,0,0) | |
1846 | -- Animation -- | |
1847 | coroutine.resume(coroutine.create(function() | |
1848 | end)) | |
1849 | CreateSound(363808674, Torso, 6, 1, false) | |
1850 | for i=0, 0.6, 0.1 / Animation_Speed do | |
1851 | Swait() | |
1852 | RootJoint.C0 = Clerp(RootJoint.C0,ROOTC0 * CF(0, 0, 0 + 0.25 * COS(SINE / 12)) * ANGLES(RAD(4 + 2.5 * SIN(SINE / 12)), RAD(0), RAD(5 + 2.5 * SIN(SINE / 12))), 1 / Animation_Speed) | |
1853 | Neck.C0 = Clerp(Neck.C0, NECKC0 * CF(0, 0, 0 + ((1.25*SIZE) - 1)) * ANGLES(RAD(35), RAD(0), RAD(0)), 1 / Animation_Speed) | |
1854 | RightShoulder.C0 = Clerp(RightShoulder.C0, CF(1.25, 0.5, -0.5) * ANGLES(RAD(100), RAD(0), RAD(-50)) * RIGHTSHOULDERC0, 1 / Animation_Speed) | |
1855 | LeftShoulder.C0 = Clerp(LeftShoulder.C0, CF(-1.25, 0.35, -0.35) * ANGLES(RAD(70), RAD(0), RAD(60)) * LEFTSHOULDERC0, 1 / Animation_Speed) | |
1856 | RightHip.C0 = Clerp(RightHip.C0, CF(1, -1, -0.01) * ANGLES(RAD(-2.5 * SIN(SINE / 12)), RAD(75), RAD(0)) * ANGLES(RAD(-8 - 2.5 * SIN(SINE / 12)), RAD(0), RAD(0)), 1 / Animation_Speed) | |
1857 | LeftHip.C0 = Clerp(LeftHip.C0, CF(-1, -0.5, -0.5) * ANGLES(RAD(-2.5 * SIN(SINE / 12)), RAD(-90), RAD(0)) * ANGLES(RAD(-8 - 2.5 * SIN(SINE / 12)), RAD(0), RAD(0)), 1 / Animation_Speed) | |
1858 | end | |
1859 | for i=0, 0.6, 0.1 / Animation_Speed do | |
1860 | Swait() | |
1861 | RootJoint.C0 = Clerp(RootJoint.C0,ROOTC0 * CF(0, 0, 0 + 0.25 * COS(SINE / 12)) * ANGLES(RAD(4 + 2.5 * SIN(SINE / 12)), RAD(0), RAD(5 + 2.5 * SIN(SINE / 12))), 1 / Animation_Speed) | |
1862 | ||
1863 | Neck.C0 = Clerp(Neck.C0, NECKC0 * CF(0, 0, 0 + ((1.25*SIZE) - 1)) * ANGLES(RAD(35), RAD(0), RAD(0)), 1 / Animation_Speed) | |
1864 | RightShoulder.C0 = Clerp(RightShoulder.C0, CF(1.25, 0.5, -0.5) * ANGLES(RAD(100), RAD(0), RAD(-90)) * RIGHTSHOULDERC0, 1 / Animation_Speed) | |
1865 | LeftShoulder.C0 = Clerp(LeftShoulder.C0, CF(-1.25, 0.35, -0.35) * ANGLES(RAD(70), RAD(0), RAD(90)) * LEFTSHOULDERC0, 1 / Animation_Speed) | |
1866 | RightHip.C0 = Clerp(RightHip.C0, CF(1, -1, -0.01) * ANGLES(RAD(-2.5 * SIN(SINE / 12)), RAD(75), RAD(0)) * ANGLES(RAD(-8 - 2.5 * SIN(SINE / 12)), RAD(0), RAD(0)), 1 / Animation_Speed) | |
1867 | LeftHip.C0 = Clerp(LeftHip.C0, CF(-1, -0.5, -0.5) * ANGLES(RAD(-2.5 * SIN(SINE / 12)), RAD(-90), RAD(0)) * ANGLES(RAD(-8 - 2.5 * SIN(SINE / 12)), RAD(0), RAD(0)), 1 / Animation_Speed) | |
1868 | end | |
1869 | MODE = "Tenebris" | |
1870 | tecks2.Text = "Dominus Tenebris" | |
1871 | SKILLTEXTCOLOR = C3(0.05,0,0) | |
1872 | SKILLTEXTCOLOR2 = C3(0,0,0) | |
1873 | Speed = 20 | |
1874 | elseif MODE == "Tenebris" then | |
1875 | CreateSound(147722227, Torso, 4, 1.3, false) | |
1876 | sick.SoundId = "rbxassetid://195900687" | |
1877 | sick.Volume = 4 | |
1878 | sick.Pitch = 1 | |
1879 | sick.TimePosition = 20.7 | |
1880 | for _, c in pairs(Character:GetChildren()) do | |
1881 | if c.ClassName == "Part" then | |
1882 | c.Material = "Neon" | |
1883 | if c:FindFirstChildOfClass("ParticleEmitter") then | |
1884 | c:FindFirstChildOfClass("ParticleEmitter"):remove() | |
1885 | end | |
1886 | if c == Torso then | |
1887 | c.Color = C3(0,0,0) | |
1888 | elseif c == RightArm then | |
1889 | c.Color = C3(0.05,0.05,0.15) | |
1890 | elseif c == LeftArm then | |
1891 | c.Color = C3(0.05,0.05,0.15) | |
1892 | elseif c == RightLeg then | |
1893 | c.Color = C3(0,0,0.05) | |
1894 | elseif c == LeftLeg then | |
1895 | c.Color = C3(0,0,0.05) | |
1896 | elseif c == Head then | |
1897 | local M = CreateMesh("SpecialMesh", c, "FileMesh", "162384581", "162384608", VT(1,1,1)*1.1, VT(0,0,0)) | |
1898 | M.Name = "Dominus" | |
1899 | if c:FindFirstChild("face") then | |
1900 | c.face:remove() | |
1901 | ||
1902 | end | |
1903 | end | |
1904 | elseif c.ClassName == "Shirt" or c.ClassName == "Pants" or c.ClassName == "CharacterMesh" or c.ClassName == "Accessory" or c.Name == "Body Colors" then | |
1905 | c:remove() | |
1906 | end | |
1907 | end | |
1908 | WACKYEFFECT({Time = 50, EffectType = "Wave", Size = VT(500,0.11,500)*SIZE, Size2 = VT(0,0.11,0), Transparency = 1, Transparency2 = 0, CFrame = CF(HITPOS), MoveToPos = nil, RotationX = 0, RotationY = 15, RotationZ = 0, Material = "Neon", Color = C3(0/255, 0/255, 255/255), SoundID = nil, SoundPitch = 0.5, SoundVolume = 6}) | |
1909 | WACKYEFFECT({Time = 37.5, EffectType = "Sphere", Size = VT(0.5,0.5,0.5), Size2 = VT(75,75,75), Transparency = 0, Transparency2 = 0.5, CFrame = CF(HITPOS), MoveToPos = nil, RotationX = 0, RotationY = 0, RotationZ = 0, Material = "Neon", Color = C3(0/255, 0/255, 183/255), SoundID = nil, SoundPitch = 0.5, SoundVolume = 6}) | |
1910 | Swait(15) | |
1911 | Speed = 16 | |
1912 | MODE = "Main" | |
1913 | BodyColor = C3(0,0,0) | |
1914 | LegColor = C3(0,0,0.05) | |
1915 | ArmColor = C3(0.05,0.05,0.15) | |
1916 | end | |
1917 | ATTACK = false | |
1918 | Rooted = false | |
1919 | end | |
1920 | ||
1921 | function TemplateTrans() | |
1922 | ATTACK = true | |
1923 | Rooted = true | |
1924 | local HITFLOOR,HITPOS = Raycast(RootPart.Position, (CF(RootPart.Position, RootPart.Position + VT(0, -1, 0))).lookVector, 25*SIZE, Character) | |
1925 | if MODE == "Main" then | |
1926 | sick.SoundId = "rbxassetid://926658175" | |
1927 | sick.Volume = 3 | |
1928 | sick.Pitch = 1 | |
1929 | sick.TimePosition = 1 | |
1930 | for _, c in pairs(Character:GetChildren()) do | |
1931 | if c.ClassName == "Part" then | |
1932 | c.Material = "Neon" | |
1933 | if c:FindFirstChildOfClass("ParticleEmitter") then | |
1934 | c:FindFirstChildOfClass("ParticleEmitter"):remove() | |
1935 | end | |
1936 | if c == Head then | |
1937 | local M = CreateMesh("SpecialMesh", c, "FileMesh", "21057410", "142151506", VT(1, 1, 1) * 1.1, VT(0, 0, 0)) | |
1938 | M.Name = "Dominus" | |
1939 | if c:FindFirstChild("face") then | |
1940 | c.face:remove() | |
1941 | end | |
1942 | end | |
1943 | end | |
1944 | end | |
1945 | BodyColor = C3(0,0,0) | |
1946 | LegColor = C3(0,0,0) | |
1947 | ArmColor = C3(0.05,0.05,0.05) | |
1948 | SKILLTEXTCOLOR = C3(0.05,0.05,0.05) | |
1949 | SKILLTEXTCOLOR2 = C3(0,0,0) | |
1950 | -- Animation -- | |
1951 | coroutine.resume(coroutine.create(function() | |
1952 | end)) | |
1953 | MODE = "Form" | |
1954 | tecks2.Text = "Dominus Form" | |
1955 | SKILLTEXTCOLOR = C3(0.05,0,0) | |
1956 | SKILLTEXTCOLOR2 = C3(0,0,0) | |
1957 | Speed = 20 | |
1958 | elseif MODE == "Form" then | |
1959 | CreateSound(147722227, Torso, 4, 1.3, false) | |
1960 | sick.SoundId = "rbxassetid://195900687" | |
1961 | sick.Volume = 4 | |
1962 | sick.Pitch = 1 | |
1963 | sick.TimePosition = 20.7 | |
1964 | for _, c in pairs(Character:GetChildren()) do | |
1965 | if c.ClassName == "Part" then | |
1966 | c.Material = "Neon" | |
1967 | if c:FindFirstChildOfClass("ParticleEmitter") then | |
1968 | c:FindFirstChildOfClass("ParticleEmitter"):remove() | |
1969 | end | |
1970 | if c == Torso then | |
1971 | c.Color = C3(0,0,0) | |
1972 | elseif c == RightArm then | |
1973 | c.Color = C3(0.05,0.05,0.15) | |
1974 | elseif c == LeftArm then | |
1975 | c.Color = C3(0.05,0.05,0.15) | |
1976 | elseif c == RightLeg then | |
1977 | c.Color = C3(0,0,0.05) | |
1978 | elseif c == LeftLeg then | |
1979 | c.Color = C3(0,0,0.05) | |
1980 | elseif c == Head then | |
1981 | local M = CreateMesh("SpecialMesh", c, "FileMesh", "162384581", "162384608", VT(1,1,1)*1.1, VT(0,0,0)) | |
1982 | M.Name = "Dominus" | |
1983 | if c:FindFirstChild("face") then | |
1984 | c.face:remove() | |
1985 | ||
1986 | end | |
1987 | end | |
1988 | elseif c.ClassName == "Shirt" or c.ClassName == "Pants" or c.ClassName == "CharacterMesh" or c.ClassName == "Accessory" or c.Name == "Body Colors" then | |
1989 | c:remove() | |
1990 | end | |
1991 | end | |
1992 | WACKYEFFECT({Time = 50, EffectType = "Wave", Size = VT(500,0.11,500)*SIZE, Size2 = VT(0,0.11,0), Transparency = 1, Transparency2 = 0, CFrame = CF(HITPOS), MoveToPos = nil, RotationX = 0, RotationY = 15, RotationZ = 0, Material = "Neon", Color = C3(0/255, 0/255, 255/255), SoundID = nil, SoundPitch = 0.5, SoundVolume = 6}) | |
1993 | WACKYEFFECT({Time = 37.5, EffectType = "Sphere", Size = VT(0.5,0.5,0.5), Size2 = VT(75,75,75), Transparency = 0, Transparency2 = 0.5, CFrame = CF(HITPOS), MoveToPos = nil, RotationX = 0, RotationY = 0, RotationZ = 0, Material = "Neon", Color = C3(0/255, 0/255, 183/255), SoundID = nil, SoundPitch = 0.5, SoundVolume = 6}) | |
1994 | Swait(15) | |
1995 | Speed = 16 | |
1996 | MODE = "Main" | |
1997 | BodyColor = C3(0,0,0) | |
1998 | LegColor = C3(0,0,0.05) | |
1999 | ArmColor = C3(0.05,0.05,0.15) | |
2000 | end | |
2001 | ATTACK = false | |
2002 | Rooted = false | |
2003 | end | |
2004 | ||
2005 | function VeForm() | |
2006 | ATTACK = true | |
2007 | Rooted = true | |
2008 | local HITFLOOR,HITPOS = Raycast(RootPart.Position, (CF(RootPart.Position, RootPart.Position + VT(0, -1, 0))).lookVector, 25*SIZE, Character) | |
2009 | if MODE == "Tenebris" then | |
2010 | sick.SoundId = "rbxassetid://968448494" | |
2011 | sick.Volume = 4 | |
2012 | sick.Pitch = 1.15 | |
2013 | sick.TimePosition = 1 | |
2014 | SKILLTEXTCOLOR = C3(0.05,0.05,0.05) | |
2015 | SKILLTEXTCOLOR2 = C3(0,0,0) | |
2016 | -- Animation -- | |
2017 | coroutine.resume(coroutine.create(function() | |
2018 | end)) | |
2019 | for i=0, 0.6, 0.1 / Animation_Speed do | |
2020 | Swait() | |
2021 | RootJoint.C0 = Clerp(RootJoint.C0,ROOTC0 * CF(0, 0, 0 + 0.25 * COS(SINE / 12)) * ANGLES(RAD(4 + 2.5 * SIN(SINE / 12)), RAD(0), RAD(5 + 2.5 * SIN(SINE / 12))), 1 / Animation_Speed) | |
2022 | Neck.C0 = Clerp(Neck.C0, NECKC0 * CF(0, 0, 0 + ((1.25*SIZE) - 1)) * ANGLES(RAD(35), RAD(0), RAD(0)), 1 / Animation_Speed) | |
2023 | RightShoulder.C0 = Clerp(RightShoulder.C0, CF(1.25, 0.5, -0.5) * ANGLES(RAD(100), RAD(0), RAD(-50)) * RIGHTSHOULDERC0, 1 / Animation_Speed) | |
2024 | LeftShoulder.C0 = Clerp(LeftShoulder.C0, CF(-1.25, 0.35, -0.35) * ANGLES(RAD(70), RAD(0), RAD(60)) * LEFTSHOULDERC0, 1 / Animation_Speed) | |
2025 | RightHip.C0 = Clerp(RightHip.C0, CF(1, -1, -0.01) * ANGLES(RAD(-2.5 * SIN(SINE / 12)), RAD(75), RAD(0)) * ANGLES(RAD(-8 - 2.5 * SIN(SINE / 12)), RAD(0), RAD(0)), 1 / Animation_Speed) | |
2026 | LeftHip.C0 = Clerp(LeftHip.C0, CF(-1, -0.5, -0.5) * ANGLES(RAD(-2.5 * SIN(SINE / 12)), RAD(-90), RAD(0)) * ANGLES(RAD(-8 - 2.5 * SIN(SINE / 12)), RAD(0), RAD(0)), 1 / Animation_Speed) | |
2027 | end | |
2028 | for _, c in pairs(Character:GetChildren()) do | |
2029 | if c.ClassName == "Part" then | |
2030 | c.Material = "Neon" | |
2031 | if c:FindFirstChildOfClass("ParticleEmitter") then | |
2032 | c:FindFirstChildOfClass("ParticleEmitter"):remove() | |
2033 | end | |
2034 | if c == Head then | |
2035 | local M = CreateMesh("SpecialMesh", c, "FileMesh", "1578505955", "1578441237", VT(1, 1, 1) * 1.1, VT(0, 0, 0)) | |
2036 | M.Name = "Dominus" | |
2037 | if c:FindFirstChild("face") then | |
2038 | c.face:remove() | |
2039 | end | |
2040 | end | |
2041 | end | |
2042 | end | |
2043 | BodyColor = C3(1,1,1) | |
2044 | LegColor = C3(0.5,0.5,0) | |
2045 | ArmColor = C3(0.75,0.75,0) | |
2046 | for i=0, 0.6, 0.1 / Animation_Speed do | |
2047 | Swait() | |
2048 | RootJoint.C0 = Clerp(RootJoint.C0,ROOTC0 * CF(0, 0, 0 + 0.25 * COS(SINE / 12)) * ANGLES(RAD(4 + 2.5 * SIN(SINE / 12)), RAD(0), RAD(5 + 2.5 * SIN(SINE / 12))), 1 / Animation_Speed) | |
2049 | ||
2050 | Neck.C0 = Clerp(Neck.C0, NECKC0 * CF(0, 0, 0 + ((1.25*SIZE) - 1)) * ANGLES(RAD(35), RAD(0), RAD(0)), 1 / Animation_Speed) | |
2051 | RightShoulder.C0 = Clerp(RightShoulder.C0, CF(1.25, 0.5, -0.5) * ANGLES(RAD(100), RAD(0), RAD(-90)) * RIGHTSHOULDERC0, 1 / Animation_Speed) | |
2052 | LeftShoulder.C0 = Clerp(LeftShoulder.C0, CF(-1.25, 0.35, -0.35) * ANGLES(RAD(70), RAD(0), RAD(90)) * LEFTSHOULDERC0, 1 / Animation_Speed) | |
2053 | RightHip.C0 = Clerp(RightHip.C0, CF(1, -1, -0.01) * ANGLES(RAD(-2.5 * SIN(SINE / 12)), RAD(75), RAD(0)) * ANGLES(RAD(-8 - 2.5 * SIN(SINE / 12)), RAD(0), RAD(0)), 1 / Animation_Speed) | |
2054 | LeftHip.C0 = Clerp(LeftHip.C0, CF(-1, -0.5, -0.5) * ANGLES(RAD(-2.5 * SIN(SINE / 12)), RAD(-90), RAD(0)) * ANGLES(RAD(-8 - 2.5 * SIN(SINE / 12)), RAD(0), RAD(0)), 1 / Animation_Speed) | |
2055 | end | |
2056 | MODE = "Venari" | |
2057 | tecks2.Text = "Dominus Venari" | |
2058 | SKILLTEXTCOLOR = C3(5,5,0) | |
2059 | SKILLTEXTCOLOR2 = C3(0,0,0) | |
2060 | Speed = 20 | |
2061 | elseif MODE == "Venari" then | |
2062 | CreateSound(147722227, Torso, 4, 1.3, false) | |
2063 | sick.SoundId = "rbxassetid://195900687" | |
2064 | sick.Volume = 4 | |
2065 | sick.Pitch = 1 | |
2066 | sick.TimePosition = 20.7 | |
2067 | for _, c in pairs(Character:GetChildren()) do | |
2068 | if c.ClassName == "Part" then | |
2069 | c.Material = "Neon" | |
2070 | if c:FindFirstChildOfClass("ParticleEmitter") then | |
2071 | c:FindFirstChildOfClass("ParticleEmitter"):remove() | |
2072 | end | |
2073 | if c == Torso then | |
2074 | c.Color = C3(0,0,0) | |
2075 | elseif c == RightArm then | |
2076 | c.Color = C3(0.05,0.05,0.15) | |
2077 | elseif c == LeftArm then | |
2078 | c.Color = C3(0.05,0.05,0.15) | |
2079 | elseif c == RightLeg then | |
2080 | c.Color = C3(0,0,0.05) | |
2081 | elseif c == LeftLeg then | |
2082 | c.Color = C3(0,0,0.05) | |
2083 | elseif c == Head then | |
2084 | local M = CreateMesh("SpecialMesh", c, "FileMesh", "162384581", "162384608", VT(1,1,1)*1.1, VT(0,0,0)) | |
2085 | M.Name = "Dominus" | |
2086 | if c:FindFirstChild("face") then | |
2087 | c.face:remove() | |
2088 | ||
2089 | end | |
2090 | end | |
2091 | elseif c.ClassName == "Shirt" or c.ClassName == "Pants" or c.ClassName == "CharacterMesh" or c.ClassName == "Accessory" or c.Name == "Body Colors" then | |
2092 | c:remove() | |
2093 | end | |
2094 | end | |
2095 | WACKYEFFECT({Time = 50, EffectType = "Wave", Size = VT(500,0.11,500)*SIZE, Size2 = VT(0,0.11,0), Transparency = 1, Transparency2 = 0, CFrame = CF(HITPOS), MoveToPos = nil, RotationX = 0, RotationY = 15, RotationZ = 0, Material = "Neon", Color = C3(0/255, 0/255, 255/255), SoundID = nil, SoundPitch = 0.5, SoundVolume = 6}) | |
2096 | WACKYEFFECT({Time = 37.5, EffectType = "Sphere", Size = VT(0.5,0.5,0.5), Size2 = VT(75,75,75), Transparency = 0, Transparency2 = 0.5, CFrame = CF(HITPOS), MoveToPos = nil, RotationX = 0, RotationY = 0, RotationZ = 0, Material = "Neon", Color = C3(0/255, 0/255, 183/255), SoundID = nil, SoundPitch = 0.5, SoundVolume = 6}) | |
2097 | Swait(15) | |
2098 | Speed = 16 | |
2099 | MODE = "Main" | |
2100 | BodyColor = C3(0,0,0) | |
2101 | LegColor = C3(0,0,0.05) | |
2102 | ArmColor = C3(0.05,0.05,0.15) | |
2103 | end | |
2104 | ATTACK = false | |
2105 | Rooted = false | |
2106 | end | |
2107 | ||
2108 | function InForm() | |
2109 | ATTACK = true | |
2110 | Rooted = true | |
2111 | local HITFLOOR,HITPOS = Raycast(RootPart.Position, (CF(RootPart.Position, RootPart.Position + VT(0, -1, 0))).lookVector, 25*SIZE, Character) | |
2112 | if MODE == "Main" then | |
2113 | sick.SoundId = "rbxassetid://415891745" | |
2114 | sick.Volume = 4 | |
2115 | sick.Pitch = 1 | |
2116 | sick.TimePosition = 1 | |
2117 | SKILLTEXTCOLOR = C3(0.05,0.05,0.05) | |
2118 | SKILLTEXTCOLOR2 = C3(0,0,0) | |
2119 | -- Animation -- | |
2120 | for _, c in pairs(Character:GetChildren()) do | |
2121 | if c.ClassName == "Part" then | |
2122 | c.Material = "Neon" | |
2123 | if c:FindFirstChildOfClass("ParticleEmitter") then | |
2124 | c:FindFirstChildOfClass("ParticleEmitter"):remove() | |
2125 | end | |
2126 | if c == Head then | |
2127 | local M = CreateMesh("SpecialMesh", c, "FileMesh", "162384581", "", VT(1,1,1)*1.1, VT(0,0,0)) | |
2128 | M.Name = "Dominus" | |
2129 | c.Material = "Neon" | |
2130 | if c:FindFirstChild("face") then | |
2131 | c.face:remove() | |
2132 | end | |
2133 | end | |
2134 | end | |
2135 | end | |
2136 | BodyColor = BrickColor.random().Color | |
2137 | LegColor = BrickColor.random().Color | |
2138 | ArmColor = BrickColor.random().Color | |
2139 | SKILLTEXTCOLOR = BrickColor.random().Color | |
2140 | SKILLTEXTCOLOR2 = BrickColor.random().Color | |
2141 | MODE = "Insaniam" | |
2142 | tecks2.Text = "Dominus Insaniam" | |
2143 | SKILLTEXTCOLOR = C3(5,5,0) | |
2144 | SKILLTEXTCOLOR2 = C3(0,0,0) | |
2145 | Speed = 14 | |
2146 | elseif MODE == "Insaniam" then | |
2147 | CreateSound(147722227, Torso, 4, 1.3, false) | |
2148 | sick.SoundId = "rbxassetid://195900687" | |
2149 | sick.Volume = 4 | |
2150 | sick.Pitch = 1 | |
2151 | sick.TimePosition = 20.7 | |
2152 | for _, c in pairs(Character:GetChildren()) do | |
2153 | if c.ClassName == "Part" then | |
2154 | c.Material = "Neon" | |
2155 | if c:FindFirstChildOfClass("ParticleEmitter") then | |
2156 | c:FindFirstChildOfClass("ParticleEmitter"):remove() | |
2157 | end | |
2158 | if c == Torso then | |
2159 | c.Color = C3(0,0,0) | |
2160 | elseif c == RightArm then | |
2161 | c.Color = C3(0.05,0.05,0.15) | |
2162 | elseif c == LeftArm then | |
2163 | c.Color = C3(0.05,0.05,0.15) | |
2164 | elseif c == RightLeg then | |
2165 | c.Color = C3(0,0,0.05) | |
2166 | elseif c == LeftLeg then | |
2167 | c.Color = C3(0,0,0.05) | |
2168 | elseif c == Head then | |
2169 | local M = CreateMesh("SpecialMesh", c, "FileMesh", "162384581", "162384608", VT(1,1,1)*1.1, VT(0,0,0)) | |
2170 | M.Name = "Dominus" | |
2171 | c.Material = "Plastic" | |
2172 | if c:FindFirstChild("face") then | |
2173 | c.face:remove() | |
2174 | ||
2175 | end | |
2176 | end | |
2177 | elseif c.ClassName == "Shirt" or c.ClassName == "Pants" or c.ClassName == "CharacterMesh" or c.ClassName == "Accessory" or c.Name == "Body Colors" then | |
2178 | c:remove() | |
2179 | end | |
2180 | end | |
2181 | WACKYEFFECT({Time = 50, EffectType = "Wave", Size = VT(500,0.11,500)*SIZE, Size2 = VT(0,0.11,0), Transparency = 1, Transparency2 = 0, CFrame = CF(HITPOS), MoveToPos = nil, RotationX = 0, RotationY = 15, RotationZ = 0, Material = "Neon", Color = C3(0/255, 0/255, 255/255), SoundID = nil, SoundPitch = 0.5, SoundVolume = 6}) | |
2182 | WACKYEFFECT({Time = 37.5, EffectType = "Sphere", Size = VT(0.5,0.5,0.5), Size2 = VT(75,75,75), Transparency = 0, Transparency2 = 0.5, CFrame = CF(HITPOS), MoveToPos = nil, RotationX = 0, RotationY = 0, RotationZ = 0, Material = "Neon", Color = C3(0/255, 0/255, 183/255), SoundID = nil, SoundPitch = 0.5, SoundVolume = 6}) | |
2183 | Swait(15) | |
2184 | Speed = 16 | |
2185 | MODE = "Main" | |
2186 | BodyColor = C3(0,0,0) | |
2187 | LegColor = C3(0,0,0.05) | |
2188 | ArmColor = C3(0.05,0.05,0.15) | |
2189 | end | |
2190 | ATTACK = false | |
2191 | Rooted = false | |
2192 | end | |
2193 | ||
2194 | function PrForm() | |
2195 | ATTACK = true | |
2196 | Rooted = true | |
2197 | local HITFLOOR,HITPOS = Raycast(RootPart.Position, (CF(RootPart.Position, RootPart.Position + VT(0, -1, 0))).lookVector, 25*SIZE, Character) | |
2198 | if MODE == "Main" then | |
2199 | sick.SoundId = "rbxassetid://859912308" | |
2200 | sick.Volume = 3 | |
2201 | sick.Pitch = 1 | |
2202 | sick.TimePosition = 1 | |
2203 | for _, c in pairs(Character:GetChildren()) do | |
2204 | if c.ClassName == "Part" then | |
2205 | c.Material = "Neon" | |
2206 | if c:FindFirstChildOfClass("ParticleEmitter") then | |
2207 | c:FindFirstChildOfClass("ParticleEmitter"):remove() | |
2208 | end | |
2209 | if c == Head then | |
2210 | local M = CreateMesh("SpecialMesh", c, "FileMesh", "527245069", "527244862", VT(1, 1, 1) * 1.1, VT(0, 0, 0)) | |
2211 | M.Name = "Dominus" | |
2212 | if c:FindFirstChild("face") then | |
2213 | c.face:remove() | |
2214 | end | |
2215 | end | |
2216 | end | |
2217 | end | |
2218 | BodyColor = C3(0,0,0) | |
2219 | LegColor = C3(0, 0.03, 0) | |
2220 | ArmColor = C3(0, 0.13, 0) | |
2221 | SKILLTEXTCOLOR = C3(0, 0.03, 0) | |
2222 | SKILLTEXTCOLOR2 = C3(0,0,0) | |
2223 | -- Animation -- | |
2224 | coroutine.resume(coroutine.create(function() | |
2225 | end)) | |
2226 | CreateSound(363808674, Torso, 6, 1, false) | |
2227 | MODE = "Praefectus" | |
2228 | tecks2.Text = "Dominus Praefectus" | |
2229 | Speed = 20 | |
2230 | elseif MODE == "Praefectus" then | |
2231 | CreateSound(147722227, Torso, 4, 1.3, false) | |
2232 | sick.SoundId = "rbxassetid://195900687" | |
2233 | sick.Volume = 4 | |
2234 | sick.Pitch = 1 | |
2235 | sick.TimePosition = 20.7 | |
2236 | for _, c in pairs(Character:GetChildren()) do | |
2237 | if c.ClassName == "Part" then | |
2238 | c.Material = "Neon" | |
2239 | if c:FindFirstChildOfClass("ParticleEmitter") then | |
2240 | c:FindFirstChildOfClass("ParticleEmitter"):remove() | |
2241 | end | |
2242 | if c == Torso then | |
2243 | c.Color = C3(0,0,0) | |
2244 | elseif c == RightArm then | |
2245 | c.Color = C3(0.05,0.05,0.15) | |
2246 | elseif c == LeftArm then | |
2247 | c.Color = C3(0.05,0.05,0.15) | |
2248 | elseif c == RightLeg then | |
2249 | c.Color = C3(0,0,0.05) | |
2250 | elseif c == LeftLeg then | |
2251 | c.Color = C3(0,0,0.05) | |
2252 | elseif c == Head then | |
2253 | local M = CreateMesh("SpecialMesh", c, "FileMesh", "162384581", "162384608", VT(1,1,1)*1.1, VT(0,0,0)) | |
2254 | M.Name = "Dominus" | |
2255 | if c:FindFirstChild("face") then | |
2256 | c.face:remove() | |
2257 | ||
2258 | end | |
2259 | end | |
2260 | elseif c.ClassName == "Shirt" or c.ClassName == "Pants" or c.ClassName == "CharacterMesh" or c.ClassName == "Accessory" or c.Name == "Body Colors" then | |
2261 | c:remove() | |
2262 | end | |
2263 | end | |
2264 | WACKYEFFECT({Time = 50, EffectType = "Wave", Size = VT(500,0.11,500)*SIZE, Size2 = VT(0,0.11,0), Transparency = 1, Transparency2 = 0, CFrame = CF(HITPOS), MoveToPos = nil, RotationX = 0, RotationY = 15, RotationZ = 0, Material = "Neon", Color = C3(0/255, 0/255, 255/255), SoundID = nil, SoundPitch = 0.5, SoundVolume = 6}) | |
2265 | WACKYEFFECT({Time = 37.5, EffectType = "Sphere", Size = VT(0.5,0.5,0.5), Size2 = VT(75,75,75), Transparency = 0, Transparency2 = 0.5, CFrame = CF(HITPOS), MoveToPos = nil, RotationX = 0, RotationY = 0, RotationZ = 0, Material = "Neon", Color = C3(0/255, 0/255, 183/255), SoundID = nil, SoundPitch = 0.5, SoundVolume = 6}) | |
2266 | Swait(15) | |
2267 | Speed = 16 | |
2268 | MODE = "Main" | |
2269 | BodyColor = C3(0,0,0) | |
2270 | LegColor = C3(0,0,0.05) | |
2271 | ArmColor = C3(0.05,0.05,0.15) | |
2272 | end | |
2273 | ATTACK = false | |
2274 | Rooted = false | |
2275 | end | |
2276 | ||
2277 | function BaForm() | |
2278 | ATTACK = true | |
2279 | Rooted = true | |
2280 | local HITFLOOR,HITPOS = Raycast(RootPart.Position, (CF(RootPart.Position, RootPart.Position + VT(0, -1, 0))).lookVector, 25*SIZE, Character) | |
2281 | if MODE == "Main" then | |
2282 | sick.SoundId = "rbxassetid://1392856912" | |
2283 | sick.Volume = 10 | |
2284 | sick.Pitch = 0.97 | |
2285 | sick.TimePosition = 1 | |
2286 | for _, c in pairs(Character:GetChildren()) do | |
2287 | if c.ClassName == "Part" then | |
2288 | c.Material = "Neon" | |
2289 | if c:FindFirstChildOfClass("ParticleEmitter") then | |
2290 | c:FindFirstChildOfClass("ParticleEmitter"):remove() | |
2291 | end | |
2292 | if c == Head then | |
2293 | local M = CreateMesh("SpecialMesh", c, "FileMesh", "21057410", "65645429", VT(1, 1, 1) * 1.1, VT(0, 0, 0)) | |
2294 | M.Name = "Dominus" | |
2295 | if c:FindFirstChild("face") then | |
2296 | c.face:remove() | |
2297 | end | |
2298 | end | |
2299 | end | |
2300 | end | |
2301 | BodyColor = C3(0,0,0) | |
2302 | LegColor = C3(0.05,0,0) | |
2303 | ArmColor = C3(0.15,0.05,0.05) | |
2304 | -- Animation -- | |
2305 | coroutine.resume(coroutine.create(function() | |
2306 | end)) | |
2307 | for i=0, 2, 0.1 / Animation_Speed do | |
2308 | Swait() | |
2309 | CreateRing(VT(0,0,0.1),false,0,15,CF(HITPOS)*ANGLES(RAD(90),RAD(0),RAD(0)),"Dark red",VT(5,5,0)) | |
2310 | RootJoint.C0 = Clerp(RootJoint.C0,ROOTC0 * CF(0, 0, 0 + 0.25 * COS(SINE / 12)) * ANGLES(RAD(4 + 2.5 * SIN(SINE / 12)), RAD(0), RAD(5 + 2.5 * SIN(SINE / 12))), 1 / Animation_Speed) | |
2311 | Neck.C0 = Clerp(Neck.C0, NECKC0 * CF(0, 0, 0 + ((1.25*SIZE) - 1)) * ANGLES(RAD(35), RAD(0), RAD(0)), 1 / Animation_Speed) | |
2312 | RightShoulder.C0 = Clerp(RightShoulder.C0, CF(1.75, 0.75, -1) * ANGLES(RAD(0), RAD(0), RAD(-90)) * RIGHTSHOULDERC0, 0.15 / Animation_Speed) | |
2313 | LeftShoulder.C0 = Clerp(LeftShoulder.C0, CF(-1.15, 0.15 + 0.05 * COS(SINE / 12), 0.5) * ANGLES(RAD(-45), RAD(0 + 2.5 * SIN(SINE / 12)), RAD(45 - 7.5 * SIN(SINE / 12))) * LEFTSHOULDERC0, 1 / Animation_Speed) | |
2314 | RightHip.C0 = Clerp(RightHip.C0, CF(1, -1, -0.01) * ANGLES(RAD(-2.5 * SIN(SINE / 12)), RAD(75), RAD(0)) * ANGLES(RAD(-8 - 2.5 * SIN(SINE / 12)), RAD(0), RAD(0)), 1 / Animation_Speed) | |
2315 | LeftHip.C0 = Clerp(LeftHip.C0, CF(-1, -0.5, -0.5) * ANGLES(RAD(-2.5 * SIN(SINE / 12)), RAD(-90), RAD(0)) * ANGLES(RAD(-8 - 2.5 * SIN(SINE / 12)), RAD(0), RAD(0)), 1 / Animation_Speed) | |
2316 | end | |
2317 | Weapon.Parent = Character | |
2318 | CreateSound(633627961, Character, 5, 1, false) | |
2319 | for i=0, 1, 0.1 / Animation_Speed do | |
2320 | Swait() | |
2321 | RootJoint.C0 = Clerp(RootJoint.C0,ROOTC0 * CF(0, 0, 0 + 0.25 * COS(SINE / 12)) * ANGLES(RAD(4 + 2.5 * SIN(SINE / 12)), RAD(0), RAD(5 + 2.5 * SIN(SINE / 12))), 1 / Animation_Speed) | |
2322 | Neck.C0 = Clerp(Neck.C0, NECKC0 * CF(0, 0, 0 + ((1.25*SIZE) - 1)) * ANGLES(RAD(35), RAD(0), RAD(0)), 1 / Animation_Speed) | |
2323 | RightShoulder.C0 = Clerp(RightShoulder.C0, CF(1.5, 0.5 + 0.25 * COS(SINE / 12), 0) * ANGLES(RAD(-45), RAD(0 - 7.5 * SIN(SINE / 12)), RAD(32 + 7.5 * SIN(SINE / 12))) * RIGHTSHOULDERC0, 1 / Animation_Speed) | |
2324 | LeftShoulder.C0 = Clerp(LeftShoulder.C0, CF(-1.15, 0.15 + 0.05 * COS(SINE / 12), 0.5) * ANGLES(RAD(-45), RAD(0 + 2.5 * SIN(SINE / 12)), RAD(45 - 7.5 * SIN(SINE / 12))) * LEFTSHOULDERC0, 1 / Animation_Speed) | |
2325 | RightHip.C0 = Clerp(RightHip.C0, CF(1, -1, -0.01) * ANGLES(RAD(-2.5 * SIN(SINE / 12)), RAD(75), RAD(0)) * ANGLES(RAD(-8 - 2.5 * SIN(SINE / 12)), RAD(0), RAD(0)), 1 / Animation_Speed) | |
2326 | LeftHip.C0 = Clerp(LeftHip.C0, CF(-1, -0.5, -0.5) * ANGLES(RAD(-2.5 * SIN(SINE / 12)), RAD(-90), RAD(0)) * ANGLES(RAD(-8 - 2.5 * SIN(SINE / 12)), RAD(0), RAD(0)), 1 / Animation_Speed) | |
2327 | end | |
2328 | MODE = "Fugatrix" | |
2329 | SKILLTEXTCOLOR = C3(0.05,0,0) | |
2330 | SKILLTEXTCOLOR2 = C3(0,0,0) | |
2331 | tecks2.Text = "Dominus Fugatrix" | |
2332 | Speed = 30 | |
2333 | elseif MODE == "Fugatrix" then | |
2334 | Weapon.Parent = nil | |
2335 | CreateSound(147722227, Torso, 4, 1.3, false) | |
2336 | sick.SoundId = "rbxassetid://195900687" | |
2337 | sick.Volume = 4 | |
2338 | sick.Pitch = 1 | |
2339 | sick.TimePosition = 20.7 | |
2340 | for _, c in pairs(Character:GetChildren()) do | |
2341 | if c.ClassName == "Part" then | |
2342 | c.Material = "Neon" | |
2343 | if c:FindFirstChildOfClass("ParticleEmitter") then | |
2344 | c:FindFirstChildOfClass("ParticleEmitter"):remove() | |
2345 | end | |
2346 | if c == Torso then | |
2347 | c.Color = C3(0,0,0) | |
2348 | elseif c == RightArm then | |
2349 | c.Color = C3(0.05,0.05,0.15) | |
2350 | elseif c == LeftArm then | |
2351 | c.Color = C3(0.05,0.05,0.15) | |
2352 | elseif c == RightLeg then | |
2353 | c.Color = C3(0,0,0.05) | |
2354 | elseif c == LeftLeg then | |
2355 | c.Color = C3(0,0,0.05) | |
2356 | elseif c == Head then | |
2357 | local M = CreateMesh("SpecialMesh", c, "FileMesh", "162384581", "162384608", VT(1,1,1)*1.1, VT(0,0,0)) | |
2358 | M.Name = "Dominus" | |
2359 | if c:FindFirstChild("face") then | |
2360 | c.face:remove() | |
2361 | ||
2362 | end | |
2363 | end | |
2364 | elseif c.ClassName == "Shirt" or c.ClassName == "Pants" or c.ClassName == "CharacterMesh" or c.ClassName == "Accessory" or c.Name == "Body Colors" then | |
2365 | c:remove() | |
2366 | end | |
2367 | end | |
2368 | WACKYEFFECT({Time = 50, EffectType = "Wave", Size = VT(500,0.11,500)*SIZE, Size2 = VT(0,0.11,0), Transparency = 1, Transparency2 = 0, CFrame = CF(HITPOS), MoveToPos = nil, RotationX = 0, RotationY = 15, RotationZ = 0, Material = "Neon", Color = C3(0/255, 0/255, 255/255), SoundID = nil, SoundPitch = 0.5, SoundVolume = 6}) | |
2369 | WACKYEFFECT({Time = 37.5, EffectType = "Sphere", Size = VT(0.5,0.5,0.5), Size2 = VT(75,75,75), Transparency = 0, Transparency2 = 0.5, CFrame = CF(HITPOS), MoveToPos = nil, RotationX = 0, RotationY = 0, RotationZ = 0, Material = "Neon", Color = C3(0/255, 0/255, 183/255), SoundID = nil, SoundPitch = 0.5, SoundVolume = 6}) | |
2370 | Swait(15) | |
2371 | Speed = 16 | |
2372 | MODE = "Main" | |
2373 | BodyColor = C3(0,0,0) | |
2374 | LegColor = C3(0,0,0.05) | |
2375 | ArmColor = C3(0.05,0.05,0.15) | |
2376 | end | |
2377 | ATTACK = false | |
2378 | Rooted = false | |
2379 | end | |
2380 | ||
2381 | function DeathForm() | |
2382 | ATTACK = true | |
2383 | Rooted = true | |
2384 | local HITFLOOR,HITPOS = Raycast(RootPart.Position, (CF(RootPart.Position, RootPart.Position + VT(0, -1, 0))).lookVector, 25*SIZE, Character) | |
2385 | if MODE == "Fugatrix" then | |
2386 | sick.SoundId = "rbxassetid://2650791818" | |
2387 | sick.Volume = 10 | |
2388 | sick.Pitch = 0.97 | |
2389 | sick.TimePosition = 0 | |
2390 | -- Animation -- | |
2391 | coroutine.resume(coroutine.create(function() | |
2392 | end)) | |
2393 | for i=0, 2, 0.1 / Animation_Speed do | |
2394 | Swait() | |
2395 | CreateRing(VT(0,0,0.1),false,0,15,CF(HITPOS)*ANGLES(RAD(90),RAD(0),RAD(0)),"Maroon",VT(5,5,0)) | |
2396 | RootJoint.C0 = Clerp(RootJoint.C0,ROOTC0 * CF(0, 0, 0 + 0.25 * COS(SINE / 12)) * ANGLES(RAD(4 + 2.5 * SIN(SINE / 12)), RAD(0), RAD(5 + 2.5 * SIN(SINE / 12))), 1 / Animation_Speed) | |
2397 | Neck.C0 = Clerp(Neck.C0, NECKC0 * CF(0, 0, 0 + ((1.25*SIZE) - 1)) * ANGLES(RAD(35), RAD(0), RAD(0)), 1 / Animation_Speed) | |
2398 | RightShoulder.C0 = Clerp(RightShoulder.C0, CF(1.75, 0.75, -1) * ANGLES(RAD(0), RAD(0), RAD(-90)) * RIGHTSHOULDERC0, 0.15 / Animation_Speed) | |
2399 | LeftShoulder.C0 = Clerp(LeftShoulder.C0, CF(-1.15, 0.15 + 0.05 * COS(SINE / 12), 0.5) * ANGLES(RAD(-45), RAD(0 + 2.5 * SIN(SINE / 12)), RAD(45 - 7.5 * SIN(SINE / 12))) * LEFTSHOULDERC0, 1 / Animation_Speed) | |
2400 | RightHip.C0 = Clerp(RightHip.C0, CF(1, -1, -0.01) * ANGLES(RAD(-2.5 * SIN(SINE / 12)), RAD(75), RAD(0)) * ANGLES(RAD(-8 - 2.5 * SIN(SINE / 12)), RAD(0), RAD(0)), 1 / Animation_Speed) | |
2401 | LeftHip.C0 = Clerp(LeftHip.C0, CF(-1, -0.5, -0.5) * ANGLES(RAD(-2.5 * SIN(SINE / 12)), RAD(-90), RAD(0)) * ANGLES(RAD(-8 - 2.5 * SIN(SINE / 12)), RAD(0), RAD(0)), 1 / Animation_Speed) | |
2402 | end | |
2403 | Weapon.Parent = nil | |
2404 | DeadEyes.Parent = Character | |
2405 | CreateSound(145080998, Character, 5, 1, false) | |
2406 | for _, c in pairs(Character:GetChildren()) do | |
2407 | if c.ClassName == "Part" then | |
2408 | c.Material = "Neon" | |
2409 | if c:FindFirstChildOfClass("ParticleEmitter") then | |
2410 | c:FindFirstChildOfClass("ParticleEmitter"):remove() | |
2411 | end | |
2412 | if c == Head then | |
2413 | local M = CreateMesh("SpecialMesh", c, "FileMesh", "21057410", "32571089", VT(1, 1, 1) * 1.1, VT(0, 0, 0)) | |
2414 | M.Name = "Dominus" | |
2415 | if c:FindFirstChild("face") then | |
2416 | c.face:remove() | |
2417 | end | |
2418 | end | |
2419 | end | |
2420 | end | |
2421 | BodyColor = C3(0.07,0,0) | |
2422 | LegColor = C3(0.1,0,0) | |
2423 | ArmColor = C3(1.017,0,0) | |
2424 | for i=0, 1, 0.1 / Animation_Speed do | |
2425 | Swait() | |
2426 | RootJoint.C0 = Clerp(RootJoint.C0,ROOTC0 * CF(0, 0, 0 + 0.25 * COS(SINE / 12)) * ANGLES(RAD(4 + 2.5 * SIN(SINE / 12)), RAD(0), RAD(5 + 2.5 * SIN(SINE / 12))), 1 / Animation_Speed) | |
2427 | Neck.C0 = Clerp(Neck.C0, NECKC0 * CF(0, 0, 0 + ((1.25*SIZE) - 1)) * ANGLES(RAD(35), RAD(0), RAD(0)), 1 / Animation_Speed) | |
2428 | RightShoulder.C0 = Clerp(RightShoulder.C0, CF(1.5, 0.5 + 0.25 * COS(SINE / 12), 0) * ANGLES(RAD(-45), RAD(0 - 7.5 * SIN(SINE / 12)), RAD(32 + 7.5 * SIN(SINE / 12))) * RIGHTSHOULDERC0, 1 / Animation_Speed) | |
2429 | LeftShoulder.C0 = Clerp(LeftShoulder.C0, CF(-1.15, 0.15 + 0.05 * COS(SINE / 12), 0.5) * ANGLES(RAD(-45), RAD(0 + 2.5 * SIN(SINE / 12)), RAD(45 - 7.5 * SIN(SINE / 12))) * LEFTSHOULDERC0, 1 / Animation_Speed) | |
2430 | RightHip.C0 = Clerp(RightHip.C0, CF(1, -1, -0.01) * ANGLES(RAD(-2.5 * SIN(SINE / 12)), RAD(75), RAD(0)) * ANGLES(RAD(-8 - 2.5 * SIN(SINE / 12)), RAD(0), RAD(0)), 1 / Animation_Speed) | |
2431 | LeftHip.C0 = Clerp(LeftHip.C0, CF(-1, -0.5, -0.5) * ANGLES(RAD(-2.5 * SIN(SINE / 12)), RAD(-90), RAD(0)) * ANGLES(RAD(-8 - 2.5 * SIN(SINE / 12)), RAD(0), RAD(0)), 1 / Animation_Speed) | |
2432 | end | |
2433 | MODE = "Mortem" | |
2434 | SKILLTEXTCOLOR = C3(0.1,0,0) | |
2435 | SKILLTEXTCOLOR2 = C3(0,0,0) | |
2436 | tecks2.Text = "Dominus Mortem" | |
2437 | Speed = 30 | |
2438 | elseif MODE == "Mortem" then | |
2439 | DeadEyes.Parent = nil | |
2440 | CreateSound(147722227, Torso, 4, 1.3, false) | |
2441 | sick.SoundId = "rbxassetid://195900687" | |
2442 | sick.Volume = 4 | |
2443 | sick.Pitch = 1 | |
2444 | sick.TimePosition = 20.7 | |
2445 | for _, c in pairs(Character:GetChildren()) do | |
2446 | if c.ClassName == "Part" then | |
2447 | c.Material = "Neon" | |
2448 | if c:FindFirstChildOfClass("ParticleEmitter") then | |
2449 | c:FindFirstChildOfClass("ParticleEmitter"):remove() | |
2450 | end | |
2451 | if c == Torso then | |
2452 | c.Color = C3(0,0,0) | |
2453 | elseif c == RightArm then | |
2454 | c.Color = C3(0.05,0.05,0.15) | |
2455 | elseif c == LeftArm then | |
2456 | c.Color = C3(0.05,0.05,0.15) | |
2457 | elseif c == RightLeg then | |
2458 | c.Color = C3(0,0,0.05) | |
2459 | elseif c == LeftLeg then | |
2460 | c.Color = C3(0,0,0.05) | |
2461 | elseif c == Head then | |
2462 | local M = CreateMesh("SpecialMesh", c, "FileMesh", "162384581", "162384608", VT(1,1,1)*1.1, VT(0,0,0)) | |
2463 | M.Name = "Dominus" | |
2464 | if c:FindFirstChild("face") then | |
2465 | c.face:remove() | |
2466 | ||
2467 | end | |
2468 | end | |
2469 | elseif c.ClassName == "Shirt" or c.ClassName == "Pants" or c.ClassName == "CharacterMesh" or c.ClassName == "Accessory" or c.Name == "Body Colors" then | |
2470 | c:remove() | |
2471 | end | |
2472 | end | |
2473 | WACKYEFFECT({Time = 50, EffectType = "Wave", Size = VT(500,0.11,500)*SIZE, Size2 = VT(0,0.11,0), Transparency = 1, Transparency2 = 0, CFrame = CF(HITPOS), MoveToPos = nil, RotationX = 0, RotationY = 15, RotationZ = 0, Material = "Neon", Color = C3(0/255, 0/255, 255/255), SoundID = nil, SoundPitch = 0.5, SoundVolume = 6}) | |
2474 | WACKYEFFECT({Time = 37.5, EffectType = "Sphere", Size = VT(0.5,0.5,0.5), Size2 = VT(75,75,75), Transparency = 0, Transparency2 = 0.5, CFrame = CF(HITPOS), MoveToPos = nil, RotationX = 0, RotationY = 0, RotationZ = 0, Material = "Neon", Color = C3(0/255, 0/255, 183/255), SoundID = nil, SoundPitch = 0.5, SoundVolume = 6}) | |
2475 | Swait(15) | |
2476 | Speed = 16 | |
2477 | MODE = "Main" | |
2478 | BodyColor = C3(0,0,0) | |
2479 | LegColor = C3(0,0,0.05) | |
2480 | ArmColor = C3(0.05,0.05,0.15) | |
2481 | end | |
2482 | ATTACK = false | |
2483 | Rooted = false | |
2484 | end | |
2485 | ||
2486 | function CreateParticles(art,text,accel,drag,lifetime,type,isenabledbydefault,locked) | |
2487 | local particle = nil | |
2488 | coroutine.resume(coroutine.create(function(PART) | |
2489 | particle = PE:Clone() | |
2490 | Swait() | |
2491 | particle.Rate = 999 | |
2492 | particle.Parent = art | |
2493 | particle.Acceleration = accel | |
2494 | if type == "Fire" then | |
2495 | local EyeSizes={ | |
2496 | NumberSequenceKeypoint.new(0,0.5,0.3), | |
2497 | NumberSequenceKeypoint.new(1,0.2,0.2) | |
2498 | } | |
2499 | particle.Size = NumberSequence.new(EyeSizes) | |
2500 | elseif type == "Smoke" then | |
2501 | local EyeSizes={ | |
2502 | NumberSequenceKeypoint.new(0,0.5,0), | |
2503 | NumberSequenceKeypoint.new(1,5,0.5) | |
2504 | } | |
2505 | particle.Size = NumberSequence.new(EyeSizes) | |
2506 | elseif type == "Solid" then | |
2507 | local EyeSizes={ | |
2508 | NumberSequenceKeypoint.new(0,0.5,0), | |
2509 | NumberSequenceKeypoint.new(1,0.5,0) | |
2510 | } | |
2511 | particle.Size = NumberSequence.new(EyeSizes) | |
2512 | end | |
2513 | particle.Lifetime=NumberRange.new(lifetime) | |
2514 | particle.Drag = drag | |
2515 | if locked == true then | |
2516 | particle.LockedToPart = true | |
2517 | end | |
2518 | particle.Texture = "http://www.roblox.com/asset/?id="..text | |
2519 | particle.Enabled = isenabledbydefault | |
2520 | end)) | |
2521 | return particle | |
2522 | end | |
2523 | ||
2524 | local MAGICPARTICLE = "296874871" | |
2525 | ||
2526 | local Plate = IT("Part",LMAO) | |
2527 | Plate.Size = VT(1,0.1,1) | |
2528 | Plate.Transparency = 1 | |
2529 | Plate.CanCollide = false | |
2530 | Plate.CFrame = RightArm.CFrame * CF(0,-1.1,0) | |
2531 | CreateParticles(Plate,MAGICPARTICLE,VT(0,2,0),2,2,"Fire",true,true) | |
2532 | weldBetween(RightArm,Plate) | |
2533 | Plate.Parent = nil | |
2534 | ||
2535 | local Plate = IT("Part",LMAO) | |
2536 | Plate.Size = VT(1,0.1,1) | |
2537 | Plate.Transparency = 1 | |
2538 | Plate.CanCollide = false | |
2539 | Plate.CFrame = LeftArm.CFrame * CF(0,-1.1,0) | |
2540 | CreateParticles(Plate,MAGICPARTICLE,VT(0,2,0),2,2,"Fire",true,true) | |
2541 | weldBetween(LeftArm,Plate) | |
2542 | Plate.Parent = nil | |
2543 | ||
2544 | function FinalForm() | |
2545 | ATTACK = true | |
2546 | Rooted = true | |
2547 | local HITFLOOR,HITPOS = Raycast(RootPart.Position, (CF(RootPart.Position, RootPart.Position + VT(0, -1, 0))).lookVector, 25*SIZE, Character) | |
2548 | if MODE == "Main" then | |
2549 | sick.SoundId = "rbxassetid://576172702" | |
2550 | sick.Volume = 10 | |
2551 | sick.Pitch = 0.97 | |
2552 | sick.TimePosition = 0 | |
2553 | -- Animation -- | |
2554 | coroutine.resume(coroutine.create(function() | |
2555 | end)) | |
2556 | for i=0, 2, 50 / Animation_Speed do | |
2557 | Swait() | |
2558 | Slice("Round", 0, 45, CF(RightArm.CFrame * CF(0, MRANDOM(-3, -2), 0).p) * ANGLES(RAD(0), RAD(MRANDOM(-180, 180)), RAD(0)), "Pearl", VT(0.01, 0, 0.01) * MRANDOM(2, 3)) | |
2559 | MagicSphere(VT(0, 0, 0), 15, CF(RightArm.CFrame * CF(0, -1.2, 0).p, RightArm.CFrame * CF(MRANDOM(-5, 5), -1.2 + MRANDOM(-25, 25), MRANDOM(-5, 5)).p), C3(0.5, 0.5, 1), VT(1, 0.1, 0.1)) | |
2560 | RootJoint.C0 = Clerp(RootJoint.C0, ROOTC0 * CF(0, 0, 0 + 0.25 * COS(SINE / 12)) * ANGLES(RAD(4 + 2.5 * SIN(SINE / 12)), RAD(0), RAD(15 + 2.5 * SIN(SINE / 12))), 1 / Animation_Speed) | |
2561 | Neck.C0 = Clerp(Neck.C0, NECKC0 * CF(0, 0, 0) * ANGLES(RAD(-25 + 4.5 * SIN(SINE / 12)), RAD(25), RAD(-15 - 2.5 * SIN(SINE / 12))), 1 / Animation_Speed) | |
2562 | RightShoulder.C0 = Clerp(RightShoulder.C0, CF(1.25, 1.5 + 0.25 * COS(SINE / 12), 0) * ANGLES(RAD(170), RAD(0 - 7.5 * SIN(SINE / 12)), RAD(-12 + 7.5 * SIN(SINE / 12))) * RIGHTSHOULDERC0, 1 / Animation_Speed) | |
2563 | LeftShoulder.C0 = Clerp(LeftShoulder.C0, CF(-1.5, 0.5 + 0.25 * COS(SINE / 12), 0) * ANGLES(RAD(0), RAD(0 + 7.5 * SIN(SINE / 12)), RAD(-12 - 7.5 * SIN(SINE / 12))) * LEFTSHOULDERC0, 1 / Animation_Speed) | |
2564 | RightHip.C0 = Clerp(RightHip.C0, CF(1, -1, -0.01) * ANGLES(RAD(-7.5 * SIN(SINE / 12)), RAD(75), RAD(0)) * ANGLES(RAD(-8 - 2.5 * SIN(SINE / 12)), RAD(0), RAD(0)), 1 / Animation_Speed) | |
2565 | LeftHip.C0 = Clerp(LeftHip.C0, CF(-1, -0.5, -0.5) * ANGLES(RAD(-7.5 * SIN(SINE / 12)), RAD(-90), RAD(0)) * ANGLES(RAD(-8 - 2.5 * SIN(SINE / 12)), RAD(0), RAD(0)), 1 / Animation_Speed) | |
2566 | end | |
2567 | for _, c in pairs(Character:GetChildren()) do | |
2568 | if c.ClassName == "Part" then | |
2569 | c.Material = "Neon" | |
2570 | if c:FindFirstChildOfClass("ParticleEmitter") then | |
2571 | c:FindFirstChildOfClass("ParticleEmitter"):remove() | |
2572 | end | |
2573 | if c == Head then | |
2574 | local M = CreateMesh("SpecialMesh", c, "FileMesh", "21057410", "53837867", VT(1, 1, 1) * 1.1, VT(0, 0, 0)) | |
2575 | M.Name = "Dominus" | |
2576 | if c:FindFirstChild("face") then | |
2577 | c.face:remove() | |
2578 | end | |
2579 | end | |
2580 | end | |
2581 | end | |
2582 | LMAO.Parent = Character | |
2583 | BodyColor = C3(0.025,0.025,0.1) | |
2584 | LegColor = BRICKC("Storm blue").Color | |
2585 | ArmColor = C3(0.5, 0.5, 1) | |
2586 | for i = 1, 25 do | |
2587 | Swait() | |
2588 | Slice("Round", 0, 45, CF(RootPart.Position + VT(0, MRANDOM(-5, 15), 0)) * ANGLES(RAD(MRANDOM(-18, 18)), RAD(MRANDOM(-180, 180)), RAD(MRANDOM(-18, 18))), "Pearl", VT(0.1, 0, 0.1) * MRANDOM(2, 3)) | |
2589 | Slice("Thin", 0, 65, CF(RootPart.Position + VT(0, MRANDOM(-5, 15), 0)) * ANGLES(RAD(MRANDOM(-18, 18)), RAD(MRANDOM(-180, 180)), RAD(MRANDOM(-18, 18))), "Pearl", VT(0.1, 0, 0.1) * MRANDOM(2, 3)) | |
2590 | RootJoint.C0 = Clerp(RootJoint.C0, ROOTC0 * CF(0, 0, 0 + 0.25 * COS(SINE / 12)) * ANGLES(RAD(4 + 2.5 * SIN(SINE / 12)), RAD(0), RAD(15 + 2.5 * SIN(SINE / 12))), 1 / Animation_Speed) | |
2591 | Neck.C0 = Clerp(Neck.C0, NECKC0 * CF(0, 0, 0) * ANGLES(RAD(-25 + 4.5 * SIN(SINE / 12)), RAD(25), RAD(-15 - 2.5 * SIN(SINE / 12))), 1 / Animation_Speed) | |
2592 | RightShoulder.C0 = Clerp(RightShoulder.C0, CF(1.25, 1.5 + 0.25 * COS(SINE / 12), 0) * ANGLES(RAD(170), RAD(0 - 7.5 * SIN(SINE / 12)), RAD(-12 + 7.5 * SIN(SINE / 12))) * RIGHTSHOULDERC0, 1 / Animation_Speed) | |
2593 | LeftShoulder.C0 = Clerp(LeftShoulder.C0, CF(-1.5, 0.5 + 0.25 * COS(SINE / 12), 0) * ANGLES(RAD(0), RAD(0 + 7.5 * SIN(SINE / 12)), RAD(-12 - 7.5 * SIN(SINE / 12))) * LEFTSHOULDERC0, 1 / Animation_Speed) | |
2594 | RightHip.C0 = Clerp(RightHip.C0, CF(1, -1, -0.01) * ANGLES(RAD(-7.5 * SIN(SINE / 12)), RAD(75), RAD(0)) * ANGLES(RAD(-8 - 2.5 * SIN(SINE / 12)), RAD(0), RAD(0)), 1 / Animation_Speed) | |
2595 | LeftHip.C0 = Clerp(LeftHip.C0, CF(-1, -0.5, -0.5) * ANGLES(RAD(-7.5 * SIN(SINE / 12)), RAD(-90), RAD(0)) * ANGLES(RAD(-8 - 2.5 * SIN(SINE / 12)), RAD(0), RAD(0)), 1 / Animation_Speed) | |
2596 | end | |
2597 | MODE = "Maris" | |
2598 | SKILLTEXTCOLOR = C3(0,0,1) | |
2599 | SKILLTEXTCOLOR2 = C3(0,0,0) | |
2600 | tecks2.Text = "Dominus Maris" | |
2601 | Speed = 80 | |
2602 | elseif MODE == "Maris" then | |
2603 | LMAO.Parent = nil | |
2604 | CreateSound(147722227, Torso, 4, 1.3, false) | |
2605 | sick.SoundId = "rbxassetid://195900687" | |
2606 | sick.Volume = 4 | |
2607 | sick.Pitch = 1 | |
2608 | sick.TimePosition = 20.7 | |
2609 | for _, c in pairs(Character:GetChildren()) do | |
2610 | if c.ClassName == "Part" then | |
2611 | c.Material = "Neon" | |
2612 | if c:FindFirstChildOfClass("ParticleEmitter") then | |
2613 | c:FindFirstChildOfClass("ParticleEmitter"):remove() | |
2614 | end | |
2615 | if c == Torso then | |
2616 | c.Color = C3(0,0,0) | |
2617 | elseif c == RightArm then | |
2618 | c.Color = C3(0.05,0.05,0.15) | |
2619 | elseif c == LeftArm then | |
2620 | c.Color = C3(0.05,0.05,0.15) | |
2621 | elseif c == RightLeg then | |
2622 | c.Color = C3(0,0,0.05) | |
2623 | elseif c == LeftLeg then | |
2624 | c.Color = C3(0,0,0.05) | |
2625 | elseif c == Head then | |
2626 | local M = CreateMesh("SpecialMesh", c, "FileMesh", "162384581", "162384608", VT(1,1,1)*1.1, VT(0,0,0)) | |
2627 | M.Name = "Dominus" | |
2628 | if c:FindFirstChild("face") then | |
2629 | c.face:remove() | |
2630 | ||
2631 | end | |
2632 | end | |
2633 | elseif c.ClassName == "Shirt" or c.ClassName == "Pants" or c.ClassName == "CharacterMesh" or c.ClassName == "Accessory" or c.Name == "Body Colors" then | |
2634 | c:remove() | |
2635 | end | |
2636 | end | |
2637 | WACKYEFFECT({Time = 50, EffectType = "Wave", Size = VT(500,0.11,500)*SIZE, Size2 = VT(0,0.11,0), Transparency = 1, Transparency2 = 0, CFrame = CF(HITPOS), MoveToPos = nil, RotationX = 0, RotationY = 15, RotationZ = 0, Material = "Neon", Color = C3(0/255, 0/255, 255/255), SoundID = nil, SoundPitch = 0.5, SoundVolume = 6}) | |
2638 | WACKYEFFECT({Time = 37.5, EffectType = "Sphere", Size = VT(0.5,0.5,0.5), Size2 = VT(75,75,75), Transparency = 0, Transparency2 = 0.5, CFrame = CF(HITPOS), MoveToPos = nil, RotationX = 0, RotationY = 0, RotationZ = 0, Material = "Neon", Color = C3(0/255, 0/255, 183/255), SoundID = nil, SoundPitch = 0.5, SoundVolume = 6}) | |
2639 | Swait(15) | |
2640 | Speed = 16 | |
2641 | MODE = "Main" | |
2642 | BodyColor = C3(0,0,0) | |
2643 | LegColor = C3(0,0,0.05) | |
2644 | ArmColor = C3(0.05,0.05,0.15) | |
2645 | end | |
2646 | ATTACK = false | |
2647 | Rooted = false | |
2648 | end | |
2649 | ||
2650 | function DeForm() | |
2651 | ATTACK = true | |
2652 | Rooted = true | |
2653 | local HITFLOOR,HITPOS = Raycast(RootPart.Position, (CF(RootPart.Position, RootPart.Position + VT(0, -1, 0))).lookVector, 25*SIZE, Character) | |
2654 | if MODE == "Praefectus" then | |
2655 | sick.SoundId = "rbxassetid://1633982099" | |
2656 | sick.Volume = 10 | |
2657 | sick.Pitch = 0.97 | |
2658 | sick.TimePosition = 1 | |
2659 | for _, c in pairs(Character:GetChildren()) do | |
2660 | if c.ClassName == "Part" then | |
2661 | c.Material = "Neon" | |
2662 | if c:FindFirstChildOfClass("ParticleEmitter") then | |
2663 | c:FindFirstChildOfClass("ParticleEmitter"):remove() | |
2664 | end | |
2665 | if c == Head then | |
2666 | local M = CreateMesh("SpecialMesh", c, "FileMesh", "527245069", "1486164425", VT(1, 1, 1) * 1.1, VT(0, 0, 0)) | |
2667 | M.Name = "Dominus" | |
2668 | if c:FindFirstChild("face") then | |
2669 | c.face:remove() | |
2670 | end | |
2671 | end | |
2672 | end | |
2673 | end | |
2674 | BodyColor = C3(0,0,0) | |
2675 | LegColor = C3(0.03, 0, 0) | |
2676 | ArmColor = C3(0.13, 0, 0) | |
2677 | -- Animation -- | |
2678 | coroutine.resume(coroutine.create(function() | |
2679 | end)) | |
2680 | CreateSound(1238240145, Torso, 6, 1, false) | |
2681 | for i=0, 0.6, 0.1 / Animation_Speed do | |
2682 | Swait() | |
2683 | RootJoint.C0 = Clerp(RootJoint.C0,ROOTC0 * CF(0, 0, 0 + 0.25 * COS(SINE / 12)) * ANGLES(RAD(4 + 2.5 * SIN(SINE / 12)), RAD(0), RAD(5 + 2.5 * SIN(SINE / 12))), 1 / Animation_Speed) | |
2684 | Neck.C0 = Clerp(Neck.C0, NECKC0 * CF(0, 0, 0 + ((1.25*SIZE) - 1)) * ANGLES(RAD(35), RAD(0), RAD(0)), 1 / Animation_Speed) | |
2685 | RightShoulder.C0 = Clerp(RightShoulder.C0, CF(1.25, 0.5, -0.5) * ANGLES(RAD(100), RAD(0), RAD(-50)) * RIGHTSHOULDERC0, 1 / Animation_Speed) | |
2686 | LeftShoulder.C0 = Clerp(LeftShoulder.C0, CF(-1.25, 0.35, -0.35) * ANGLES(RAD(70), RAD(0), RAD(60)) * LEFTSHOULDERC0, 1 / Animation_Speed) | |
2687 | RightHip.C0 = Clerp(RightHip.C0, CF(1, -1, -0.01) * ANGLES(RAD(-2.5 * SIN(SINE / 12)), RAD(75), RAD(0)) * ANGLES(RAD(-8 - 2.5 * SIN(SINE / 12)), RAD(0), RAD(0)), 1 / Animation_Speed) | |
2688 | LeftHip.C0 = Clerp(LeftHip.C0, CF(-1, -0.5, -0.5) * ANGLES(RAD(-2.5 * SIN(SINE / 12)), RAD(-90), RAD(0)) * ANGLES(RAD(-8 - 2.5 * SIN(SINE / 12)), RAD(0), RAD(0)), 1 / Animation_Speed) | |
2689 | end | |
2690 | for i=0, 0.6, 0.1 / Animation_Speed do | |
2691 | Swait() | |
2692 | RootJoint.C0 = Clerp(RootJoint.C0,ROOTC0 * CF(0, 0, 0 + 0.25 * COS(SINE / 12)) * ANGLES(RAD(4 + 2.5 * SIN(SINE / 12)), RAD(0), RAD(5 + 2.5 * SIN(SINE / 12))), 1 / Animation_Speed) | |
2693 | ||
2694 | Neck.C0 = Clerp(Neck.C0, NECKC0 * CF(0, 0, 0 + ((1.25*SIZE) - 1)) * ANGLES(RAD(35), RAD(0), RAD(0)), 1 / Animation_Speed) | |
2695 | RightShoulder.C0 = Clerp(RightShoulder.C0, CF(1.25, 0.5, -0.5) * ANGLES(RAD(100), RAD(0), RAD(-90)) * RIGHTSHOULDERC0, 1 / Animation_Speed) | |
2696 | LeftShoulder.C0 = Clerp(LeftShoulder.C0, CF(-1.25, 0.35, -0.35) * ANGLES(RAD(70), RAD(0), RAD(90)) * LEFTSHOULDERC0, 1 / Animation_Speed) | |
2697 | RightHip.C0 = Clerp(RightHip.C0, CF(1, -1, -0.01) * ANGLES(RAD(-2.5 * SIN(SINE / 12)), RAD(75), RAD(0)) * ANGLES(RAD(-8 - 2.5 * SIN(SINE / 12)), RAD(0), RAD(0)), 1 / Animation_Speed) | |
2698 | LeftHip.C0 = Clerp(LeftHip.C0, CF(-1, -0.5, -0.5) * ANGLES(RAD(-2.5 * SIN(SINE / 12)), RAD(-90), RAD(0)) * ANGLES(RAD(-8 - 2.5 * SIN(SINE / 12)), RAD(0), RAD(0)), 1 / Animation_Speed) | |
2699 | end | |
2700 | MODE = "Demonum" | |
2701 | tecks2.Text = "Dominus Daemonium" | |
2702 | SKILLTEXTCOLOR = C3(0.03, 0, 0) | |
2703 | SKILLTEXTCOLOR2 = C3(0,0,0) | |
2704 | Speed = 30 | |
2705 | elseif MODE == "Demonum" then | |
2706 | CreateSound(147722227, Torso, 4, 1.3, false) | |
2707 | sick.SoundId = "rbxassetid://195900687" | |
2708 | sick.Volume = 4 | |
2709 | sick.Pitch = 1 | |
2710 | sick.TimePosition = 20.7 | |
2711 | for _, c in pairs(Character:GetChildren()) do | |
2712 | if c.ClassName == "Part" then | |
2713 | c.Material = "Neon" | |
2714 | if c:FindFirstChildOfClass("ParticleEmitter") then | |
2715 | c:FindFirstChildOfClass("ParticleEmitter"):remove() | |
2716 | end | |
2717 | if c == Torso then | |
2718 | c.Color = C3(0,0,0) | |
2719 | elseif c == RightArm then | |
2720 | c.Color = C3(0.05,0.05,0.15) | |
2721 | elseif c == LeftArm then | |
2722 | c.Color = C3(0.05,0.05,0.15) | |
2723 | elseif c == RightLeg then | |
2724 | c.Color = C3(0,0,0.05) | |
2725 | elseif c == LeftLeg then | |
2726 | c.Color = C3(0,0,0.05) | |
2727 | elseif c == Head then | |
2728 | local M = CreateMesh("SpecialMesh", c, "FileMesh", "162384581", "162384608", VT(1,1,1)*1.1, VT(0,0,0)) | |
2729 | M.Name = "Dominus" | |
2730 | if c:FindFirstChild("face") then | |
2731 | c.face:remove() | |
2732 | ||
2733 | end | |
2734 | end | |
2735 | elseif c.ClassName == "Shirt" or c.ClassName == "Pants" or c.ClassName == "CharacterMesh" or c.ClassName == "Accessory" or c.Name == "Body Colors" then | |
2736 | c:remove() | |
2737 | end | |
2738 | end | |
2739 | WACKYEFFECT({Time = 50, EffectType = "Wave", Size = VT(500,0.11,500)*SIZE, Size2 = VT(0,0.11,0), Transparency = 1, Transparency2 = 0, CFrame = CF(HITPOS), MoveToPos = nil, RotationX = 0, RotationY = 15, RotationZ = 0, Material = "Neon", Color = C3(0/255, 0/255, 255/255), SoundID = nil, SoundPitch = 0.5, SoundVolume = 6}) | |
2740 | WACKYEFFECT({Time = 37.5, EffectType = "Sphere", Size = VT(0.5,0.5,0.5), Size2 = VT(75,75,75), Transparency = 0, Transparency2 = 0.5, CFrame = CF(HITPOS), MoveToPos = nil, RotationX = 0, RotationY = 0, RotationZ = 0, Material = "Neon", Color = C3(0/255, 0/255, 183/255), SoundID = nil, SoundPitch = 0.5, SoundVolume = 6}) | |
2741 | Swait(15) | |
2742 | Speed = 16 | |
2743 | MODE = "Main" | |
2744 | BodyColor = C3(0,0,0) | |
2745 | LegColor = C3(0,0,0.05) | |
2746 | ArmColor = C3(0.05,0.05,0.15) | |
2747 | end | |
2748 | ATTACK = false | |
2749 | Rooted = false | |
2750 | end | |
2751 | ||
2752 | function Ignem_Aeternum() | |
2753 | local HITFLOOR, HITPOS, NORMAL = Raycast(RootPart.Position, CF(RootPart.Position, RootPart.Position + VT(0, -1, 0)).lookVector, 25, Character) | |
2754 | if HITFLOOR ~= nil then | |
2755 | do | |
2756 | local POWER = LEVEL | |
2757 | ATTACK = true | |
2758 | Rooted = true | |
2759 | local CENTER = MagicRing() | |
2760 | CENTER.CFrame = CF(HITPOS + VT(0, 0.1, 0)) | |
2761 | CreateSound("424777055", CENTER, 10, 1) | |
2762 | local RAIN = {} | |
2763 | for i = 1, 55 do | |
2764 | Swait() | |
2765 | CENTER.Size = CENTER.Size + VT(POWER, 0, POWER) / 3 | |
2766 | CENTER.CFrame = CENTER.CFrame * ANGLES(RAD(0), RAD(i), RAD(0)) | |
2767 | RootJoint.C0 = Clerp(RootJoint.C0, ROOTC0 * CF(0, 0, 0 + 0.25 * COS(SINE / 12)) * ANGLES(RAD(4 + 2.5 * SIN(SINE / 12)), RAD(0), RAD(0)), 1 / Animation_Speed) | |
2768 | Neck.C0 = Clerp(Neck.C0, NECKC0 * CF(0, 0, 0) * ANGLES(RAD(5 + 6.5 * SIN(SINE / 12)), RAD(0), RAD(0)), 1 / Animation_Speed) | |
2769 | RightShoulder.C0 = Clerp(RightShoulder.C0, CF(1.15, 0.15 + 0.05 * COS(SINE / 12), 0.5) * ANGLES(RAD(-45), RAD(0 - 2.5 * SIN(SINE / 12)), RAD(-45 + 7.5 * SIN(SINE / 12))) * RIGHTSHOULDERC0, 1 / Animation_Speed) | |
2770 | LeftShoulder.C0 = Clerp(LeftShoulder.C0, CF(-1.15, 0.15 + 0.05 * COS(SINE / 12), 0.5) * ANGLES(RAD(-45), RAD(0 + 2.5 * SIN(SINE / 12)), RAD(45 - 7.5 * SIN(SINE / 12))) * LEFTSHOULDERC0, 1 / Animation_Speed) | |
2771 | RightHip.C0 = Clerp(RightHip.C0, CF(1, -1, -0.01) * ANGLES(RAD(-4.5 * SIN(SINE / 12)), RAD(75), RAD(0)) * ANGLES(RAD(-8 - 5.5 * SIN(SINE / 12)), RAD(0), RAD(0)), 1 / Animation_Speed) | |
2772 | LeftHip.C0 = Clerp(LeftHip.C0, CF(-1, -0.5, -0.5) * ANGLES(RAD(-4.5 * SIN(SINE / 12)), RAD(-90), RAD(0)) * ANGLES(RAD(-8 - 5.5 * SIN(SINE / 12)), RAD(0), RAD(0)), 1 / Animation_Speed) | |
2773 | end | |
2774 | local MAXDIST = 30 | |
2775 | local DIRECTION = CF(RootPart.Position, VT(Mouse.Hit.p.X, HITPOS.Y, Mouse.Hit.p.Z)).lookVector | |
2776 | local HITFLOOR2, HITPOS2 = Raycast(RootPart.Position, DIRECTION, MAXDIST, Character) | |
2777 | local HITFLOOR3, HITPOS3 = Raycast(HITPOS2, CF(HITPOS2 + VT(0, 1, 0), HITPOS2 + VT(0, -1, 0)).lookVector, MAXDIST, Character) | |
2778 | local ORB = CreatePart(3, Effects, "Neon", 0, 1, "Gold", "ORB", VT(4, 4, 4)) | |
2779 | MakeForm(ORB, "Ball") | |
2780 | CreateSound("201858045", ORB, 10, 0.5) | |
2781 | for i = 0, 1, 0.1 / Animation_Speed do | |
2782 | Swait() | |
2783 | ORB.CFrame = RootPart.CFrame * CF(0, 10 + POWER * 3, 0) | |
2784 | ORB.Transparency = 0 | |
2785 | ORB.Size = ORB.Size + VT(POWER, POWER, POWER) / 7 | |
2786 | local POS = HITPOS + VT(MRANDOM(-CENTER.Size.X / 3, CENTER.Size.X / 3), 0, MRANDOM(-CENTER.Size.X / 3, CENTER.Size.X / 3)) | |
2787 | local RANGE = (POS - RootPart.CFrame * CF(0, 10 + POWER * 3, 0).p).Magnitude | |
2788 | RootJoint.C0 = Clerp(RootJoint.C0, ROOTC0 * CF(0, 0, 0 + 0.25 * COS(SINE / 12)) * ANGLES(RAD(4 + 2.5 * SIN(SINE / 12)), RAD(0), RAD(15 + 2.5 * SIN(SINE / 12))), 1 / Animation_Speed) | |
2789 | Neck.C0 = Clerp(Neck.C0, NECKC0 * CF(0, 0, 0) * ANGLES(RAD(-25 + 4.5 * SIN(SINE / 12)), RAD(25), RAD(-15 - 2.5 * SIN(SINE / 12))), 1 / Animation_Speed) | |
2790 | RightShoulder.C0 = Clerp(RightShoulder.C0, CF(1.25, 1.5 + 0.25 * COS(SINE / 12), 0) * ANGLES(RAD(170), RAD(0 - 7.5 * SIN(SINE / 12)), RAD(-12 + 7.5 * SIN(SINE / 12))) * RIGHTSHOULDERC0, 1 / Animation_Speed) | |
2791 | LeftShoulder.C0 = Clerp(LeftShoulder.C0, CF(-1.15, 0.15 + 0.05 * COS(SINE / 12), 0.5) * ANGLES(RAD(-45), RAD(0 + 2.5 * SIN(SINE / 12)), RAD(45 - 7.5 * SIN(SINE / 12))) * LEFTSHOULDERC0, 1 / Animation_Speed) | |
2792 | RightHip.C0 = Clerp(RightHip.C0, CF(1, -1, -0.01) * ANGLES(RAD(-7.5 * SIN(SINE / 12)), RAD(75), RAD(0)) * ANGLES(RAD(-8 - 2.5 * SIN(SINE / 12)), RAD(0), RAD(0)), 1 / Animation_Speed) | |
2793 | LeftHip.C0 = Clerp(LeftHip.C0, CF(-1, -0.5, -0.5) * ANGLES(RAD(-7.5 * SIN(SINE / 12)), RAD(-90), RAD(0)) * ANGLES(RAD(-8 - 2.5 * SIN(SINE / 12)), RAD(0), RAD(0)), 1 / Animation_Speed) | |
2794 | end | |
2795 | coroutine.resume(coroutine.create(function() | |
2796 | ORB.CFrame = CF(ORB.Position, HITPOS3) | |
2797 | local IMPACT = false | |
2798 | for i = 1, 400 do | |
2799 | Swait() | |
2800 | ORB.CFrame = ORB.CFrame * CF(0, 0, -1) | |
2801 | local HIT = Raycast(ORB.Position, ORB.CFrame.lookVector, ORB.Size.X / 2.2, Character) | |
2802 | if HIT ~= nil then | |
2803 | IMPACT = true | |
2804 | break | |
2805 | end | |
2806 | end | |
2807 | if IMPACT == true then | |
2808 | ORB.Transparency = 1 | |
2809 | local FRONT = ORB.CFrame * CF(0, 0, -1).p | |
2810 | ORB.CFrame = CF(ORB.Position, VT(FRONT.X, ORB.Position.Y, FRONT.Z)) | |
2811 | for i = 1, 35 do | |
2812 | ORB.CFrame = ORB.CFrame * CF(0, 0, -ORB.Size.X / 1.5) | |
2813 | MagicSphere(ORB.Size * 1.1, 25, ORB.CFrame, BRICKC("Gold").Color, -ORB.Size / 35) | |
2814 | CreateWave(VT(ORB.Size.X, 1, ORB.Size.Z) * 5, 35, CF(ORB.Position - VT(0, ORB.Size.Y / 3, 0)) * ANGLES(RAD(0), RAD(i * 5), RAD(0)), true, 5, "Gold", -VT(ORB.Size.X / 24, 0, ORB.Size.Z / 24)) | |
2815 | killnearest(ORB.Position, ORB.Size.X * 2, 500) | |
2816 | Swait() | |
2817 | end | |
2818 | else | |
2819 | ORB:remove() | |
2820 | end | |
2821 | end)) | |
2822 | ATTACK = false | |
2823 | Rooted = false | |
2824 | coroutine.resume(coroutine.create(function() | |
2825 | for i = 1, 55 do | |
2826 | Swait() | |
2827 | CENTER.Size = CENTER.Size - VT(POWER, 0, POWER) | |
2828 | CENTER.CFrame = CENTER.CFrame * ANGLES(RAD(0), RAD(i), RAD(0)) | |
2829 | end | |
2830 | CENTER:remove() | |
2831 | end)) | |
2832 | end | |
2833 | end | |
2834 | end | |
2835 | ||
2836 | function Dead_Cutter() | |
2837 | local HITFLOOR,HITPOS,NORMAL = Raycast(RootPart.Position, (CF(RootPart.Position, RootPart.Position + VT(0, -1, 0))).lookVector, 7 * Player_Size, Character) | |
2838 | if HITFLOOR ~= nil then | |
2839 | ATTACK = true | |
2840 | Rooted = true | |
2841 | local RAIN = {} | |
2842 | local GYRO = IT("BodyGyro",RootPart) | |
2843 | GYRO.D = 100 | |
2844 | GYRO.P = 2000 | |
2845 | GYRO.MaxTorque = VT(0,4000000,0) | |
2846 | GYRO.cframe = CF(RootPart.Position,Mouse.Hit.p) | |
2847 | CreateSound("429459101", RightArm, 10, 0.8) | |
2848 | for i=0, 3.5, 0.1 / Animation_Speed do | |
2849 | Swait() | |
2850 | GYRO.cframe = CF(RootPart.Position,Mouse.Hit.p) | |
2851 | Slice("Thin",0.3,5,RightArm.CFrame * CF(0,-1.1,0) * ANGLES(RAD(MRANDOM(-180,180)),RAD(MRANDOM(-180,180)),RAD(MRANDOM(-180,180))),"Really red",VT(-0.01,0,-0.01)) | |
2852 | RootJoint.C0 = Clerp(RootJoint.C0,ROOTC0 * CF(0, 0, 0 + 0.25 * COS(SINE / 12)) * ANGLES(RAD(4 + 2.5 * SIN(SINE / 12)), RAD(0), RAD(-15 + 2.5 * SIN(SINE / 12))), 1 / Animation_Speed) | |
2853 | Neck.C0 = Clerp(Neck.C0, NECKC0 * CF(0, 0, 0 + ((1) - 1)) * ANGLES(RAD(0 + 4.5 * SIN(SINE / 12)), RAD(0), RAD(15 - 2.5 * SIN(SINE / 12))), 1 / Animation_Speed) | |
2854 | RightShoulder.C0 = Clerp(RightShoulder.C0, CF(1.5, 0.5 + 0.25 * COS(SINE / 12), 0) * ANGLES(RAD(-45), RAD(0 - 7.5 * SIN(SINE / 12)), RAD(32 + 7.5 * SIN(SINE / 12))) * RIGHTSHOULDERC0, 1 / Animation_Speed) | |
2855 | LeftShoulder.C0 = Clerp(LeftShoulder.C0, CF(-1.5, 0.5 + 0.25 * COS(SINE / 12), 0) * ANGLES(RAD(5), RAD(0 + 7.5 * SIN(SINE / 12)), RAD(-12 - 7.5 * SIN(SINE / 12))) * LEFTSHOULDERC0, 1 / Animation_Speed) | |
2856 | RightHip.C0 = Clerp(RightHip.C0, CF(1, -1, -0.01) * ANGLES(RAD(-7.5 * SIN(SINE / 12)), RAD(75), RAD(0)) * ANGLES(RAD(-8 - 2.5 * SIN(SINE / 12)), RAD(0), RAD(0)), 1 / Animation_Speed) | |
2857 | LeftHip.C0 = Clerp(LeftHip.C0, CF(-1, -0.5, -0.5) * ANGLES(RAD(-7.5 * SIN(SINE / 12)), RAD(-90), RAD(0)) * ANGLES(RAD(-8 - 2.5 * SIN(SINE / 12)), RAD(0), RAD(0)), 1 / Animation_Speed) | |
2858 | end | |
2859 | GYRO:remove() | |
2860 | for i=0, 0.15, 0.1 / Animation_Speed do | |
2861 | Swait() | |
2862 | GYRO.cframe = CF(RootPart.Position,Mouse.Hit.p) | |
2863 | Slice("Thin",0.3,5,RightArm.CFrame * CF(0,-1.1,0) * ANGLES(RAD(MRANDOM(-180,180)),RAD(MRANDOM(-180,180)),RAD(MRANDOM(-180,180))),"Really red",VT(-0.01,0,-0.01)) | |
2864 | RootJoint.C0 = Clerp(RootJoint.C0,ROOTC0 * CF(0, 0, 0 + 0.25 * COS(SINE / 12)) * ANGLES(RAD(4 + 2.5 * SIN(SINE / 12)), RAD(0), RAD(85 + 2.5 * SIN(SINE / 12))), 1 / Animation_Speed) | |
2865 | Neck.C0 = Clerp(Neck.C0, NECKC0 * CF(0, 0, 0 + ((1) - 1)) * ANGLES(RAD(0 + 4.5 * SIN(SINE / 12)), RAD(0), RAD(-85 - 2.5 * SIN(SINE / 12))), 1 / Animation_Speed) | |
2866 | RightShoulder.C0 = Clerp(RightShoulder.C0, CF(1.5, 0.5 + 0.25 * COS(SINE / 12), 0) * ANGLES(RAD(0), RAD(0 - 7.5 * SIN(SINE / 12)), RAD(90 + 7.5 * SIN(SINE / 12))) * RIGHTSHOULDERC0, 1 / Animation_Speed) | |
2867 | LeftShoulder.C0 = Clerp(LeftShoulder.C0, CF(-1.5, 0.5 + 0.25 * COS(SINE / 12), 0) * ANGLES(RAD(5), RAD(0 + 7.5 * SIN(SINE / 12)), RAD(-12 - 7.5 * SIN(SINE / 12))) * LEFTSHOULDERC0, 1 / Animation_Speed) | |
2868 | RightHip.C0 = Clerp(RightHip.C0, CF(1, -1, -0.01) * ANGLES(RAD(-7.5 * SIN(SINE / 12)), RAD(75), RAD(0)) * ANGLES(RAD(-8 - 2.5 * SIN(SINE / 12)), RAD(0), RAD(0)), 1 / Animation_Speed) | |
2869 | LeftHip.C0 = Clerp(LeftHip.C0, CF(-1, -0.5, -0.5) * ANGLES(RAD(-7.5 * SIN(SINE / 12)), RAD(-90), RAD(0)) * ANGLES(RAD(-8 - 2.5 * SIN(SINE / 12)), RAD(0), RAD(0)), 1 / Animation_Speed) | |
2870 | end | |
2871 | local BOMBSPOTS = {} | |
2872 | for i = 1, 60 do | |
2873 | local SPOT = CreatePart(3, Effects, "Neon", 0, 0, "Relly blue", "Blade", VT(30,1,30)) | |
2874 | SPOT.Color = SKILLTEXTCOLOR | |
2875 | SPOT.CFrame = RootPart.CFrame*CF((MRANDOM(-15,15)/40)*i,-5,-i*5) | |
2876 | table.insert(BOMBSPOTS,SPOT) | |
2877 | MakeForm(SPOT,"Cyl") | |
2878 | Swait() | |
2879 | for i = 1, 3 do | |
2880 | coroutine.resume(coroutine.create(function() | |
2881 | local DROP = CreatePart(3, Effects, "Neon", 0, 0, "Really red", "Raindrop", VT(2 / 2, 2 / 2, 2 * 5)) | |
2882 | DROP.CFrame = CF(SPOT.Position + VT(MRANDOM(-SPOT.Size.X / 3, SPOT.Size.X / 3), 200, MRANDOM(-SPOT.Size.X / 3, SPOT.Size.X / 3)), SPOT.Position + VT(MRANDOM(-SPOT.Size.X / 2.5, SPOT.Size.X / 2.5), 0, MRANDOM(-SPOT.Size.X / 2.5, SPOT.Size.X / 2.5))) | |
2883 | table.insert(RAIN, DROP) | |
2884 | MakeForm(DROP, "Ball") | |
2885 | local IMPACT = false | |
2886 | for i = 1, 80 do | |
2887 | Swait() | |
2888 | DROP.CFrame = DROP.CFrame * CF(0, 0, -7) | |
2889 | local HIT = Raycast(DROP.Position, DROP.CFrame.lookVector, 6, Character) | |
2890 | if HIT ~= nil then | |
2891 | IMPACT = true | |
2892 | break | |
2893 | end | |
2894 | end | |
2895 | table.remove(RAIN, 1) | |
2896 | if IMPACT == true then | |
2897 | DROP.Transparency = 1 | |
2898 | MagicSphere(VT(0, 0, 0), 25, DROP.CFrame, BRICKC("Really red").Color, VT(2, 2, 2) / 2) | |
2899 | killnearest(DROP.Position, 2 * 5, 500) | |
2900 | Debris:AddItem(DROP, 5) | |
2901 | else | |
2902 | DROP:remove() | |
2903 | end | |
2904 | end)) | |
2905 | end | |
2906 | end | |
2907 | for i=0, 0.2, 0.1 / Animation_Speed do | |
2908 | Swait() | |
2909 | RootJoint.C0 = Clerp(RootJoint.C0,ROOTC0 * CF(0, 0, 0 + 0.25 * COS(SINE / 12)) * ANGLES(RAD(4 + 2.5 * SIN(SINE / 12)), RAD(0), RAD(85 + 2.5 * SIN(SINE / 12))), 1 / Animation_Speed) | |
2910 | Neck.C0 = Clerp(Neck.C0, NECKC0 * CF(0, 0, 0 + ((1) - 1)) * ANGLES(RAD(0 + 4.5 * SIN(SINE / 12)), RAD(0), RAD(-85 - 2.5 * SIN(SINE / 12))), 1 / Animation_Speed) | |
2911 | RightShoulder.C0 = Clerp(RightShoulder.C0, CF(1.5, 0.5 + 0.25 * COS(SINE / 12), 0) * ANGLES(RAD(145), RAD(0 - 7.5 * SIN(SINE / 12)), RAD(-15 + 7.5 * SIN(SINE / 12))) * RIGHTSHOULDERC0, 1 / Animation_Speed) | |
2912 | LeftShoulder.C0 = Clerp(LeftShoulder.C0, CF(-1.5, 0.5 + 0.25 * COS(SINE / 12), 0) * ANGLES(RAD(-25), RAD(0 + 7.5 * SIN(SINE / 12)), RAD(-12 - 7.5 * SIN(SINE / 12))) * LEFTSHOULDERC0, 1 / Animation_Speed) | |
2913 | RightHip.C0 = Clerp(RightHip.C0, CF(1, -1, -0.01) * ANGLES(RAD(-7.5 * SIN(SINE / 12)), RAD(75), RAD(0)) * ANGLES(RAD(-8 - 2.5 * SIN(SINE / 12)), RAD(0), RAD(0)), 1 / Animation_Speed) | |
2914 | LeftHip.C0 = Clerp(LeftHip.C0, CF(-1, -0.5, -0.5) * ANGLES(RAD(-7.5 * SIN(SINE / 12)), RAD(-90), RAD(0)) * ANGLES(RAD(-8 - 2.5 * SIN(SINE / 12)), RAD(0), RAD(0)), 1 / Animation_Speed) | |
2915 | end | |
2916 | ATTACK = false | |
2917 | Rooted = false | |
2918 | coroutine.resume(coroutine.create(function() | |
2919 | Swait(3) | |
2920 | for i = 1, #BOMBSPOTS do | |
2921 | if BOMBSPOTS[i] ~= nil then | |
2922 | local E = BOMBSPOTS[i] | |
2923 | coroutine.resume(coroutine.create(function() | |
2924 | for i = 1, 10 do | |
2925 | Swait() | |
2926 | end | |
2927 | Swait(45) | |
2928 | for i = 1, 100 do | |
2929 | Swait() | |
2930 | end | |
2931 | E:remove() | |
2932 | end)) | |
2933 | end | |
2934 | end | |
2935 | end)) | |
2936 | end | |
2937 | end | |
2938 | ||
2939 | ||
2940 | function Ultimate_B() | |
2941 | local HITFLOOR, HITPOS, NORMAL = Raycast(RootPart.Position, CF(RootPart.Position, RootPart.Position + VT(0, -1, 0)).lookVector, 25, Character) | |
2942 | if HITFLOOR ~= nil then | |
2943 | do | |
2944 | local POWER = 3 | |
2945 | ATTACK = true | |
2946 | Rooted = true | |
2947 | local CENTER = MagicRing() | |
2948 | CENTER.CFrame = CF(HITPOS + VT(0, 0.1, 0)) | |
2949 | CreateSound("424777055", CENTER, 10, 1) | |
2950 | local RAIN = {} | |
2951 | for i = 1, 55 do | |
2952 | Swait() | |
2953 | CENTER.Size = CENTER.Size + VT(POWER, 0, POWER) / 3 | |
2954 | CENTER.CFrame = CENTER.CFrame * ANGLES(RAD(0), RAD(i), RAD(0)) | |
2955 | RootJoint.C0 = Clerp(RootJoint.C0, ROOTC0 * CF(0, 0, 0 + 0.25 * COS(SINE / 12)) * ANGLES(RAD(4 + 2.5 * SIN(SINE / 12)), RAD(0), RAD(0)), 1 / Animation_Speed) | |
2956 | Neck.C0 = Clerp(Neck.C0, NECKC0 * CF(0, 0, 0) * ANGLES(RAD(5 + 6.5 * SIN(SINE / 12)), RAD(0), RAD(0)), 1 / Animation_Speed) | |
2957 | RightShoulder.C0 = Clerp(RightShoulder.C0, CF(1.15, 0.15 + 0.05 * COS(SINE / 12), 0.5) * ANGLES(RAD(-45), RAD(0 - 2.5 * SIN(SINE / 12)), RAD(-45 + 7.5 * SIN(SINE / 12))) * RIGHTSHOULDERC0, 1 / Animation_Speed) | |
2958 | LeftShoulder.C0 = Clerp(LeftShoulder.C0, CF(-1.15, 0.15 + 0.05 * COS(SINE / 12), 0.5) * ANGLES(RAD(-45), RAD(0 + 2.5 * SIN(SINE / 12)), RAD(45 - 7.5 * SIN(SINE / 12))) * LEFTSHOULDERC0, 1 / Animation_Speed) | |
2959 | RightHip.C0 = Clerp(RightHip.C0, CF(1, -1, -0.01) * ANGLES(RAD(-4.5 * SIN(SINE / 12)), RAD(75), RAD(0)) * ANGLES(RAD(-8 - 5.5 * SIN(SINE / 12)), RAD(0), RAD(0)), 1 / Animation_Speed) | |
2960 | LeftHip.C0 = Clerp(LeftHip.C0, CF(-1, -0.5, -0.5) * ANGLES(RAD(-4.5 * SIN(SINE / 12)), RAD(-90), RAD(0)) * ANGLES(RAD(-8 - 5.5 * SIN(SINE / 12)), RAD(0), RAD(0)), 1 / Animation_Speed) | |
2961 | end | |
2962 | local MAXDIST = 30 | |
2963 | local DIRECTION = CF(RootPart.Position, VT(Mouse.Hit.p.X, HITPOS.Y, Mouse.Hit.p.Z)).lookVector | |
2964 | local HITFLOOR2, HITPOS2 = Raycast(RootPart.Position, DIRECTION, MAXDIST, Character) | |
2965 | local HITFLOOR3, HITPOS3 = Raycast(HITPOS2, CF(HITPOS2 + VT(0, 1, 0), HITPOS2 + VT(0, -1, 0)).lookVector, MAXDIST, Character) | |
2966 | local ORB = CreatePart(3, Effects, "Neon", 0, 1, "Gold", "ORB", VT(4, 4, 4)) | |
2967 | MakeForm(ORB, "Ball") | |
2968 | CreateSound("201858045", ORB, 10, 0.5) | |
2969 | for i = 0, 1, 0.1 / Animation_Speed do | |
2970 | Swait() | |
2971 | ORB.CFrame = RootPart.CFrame * CF(0, 10 + POWER * 3, 0) | |
2972 | ORB.Transparency = 0 | |
2973 | ORB.Size = ORB.Size + VT(POWER, POWER, POWER) / 7 | |
2974 | local POS = HITPOS + VT(MRANDOM(-CENTER.Size.X / 3, CENTER.Size.X / 3), 0, MRANDOM(-CENTER.Size.X / 3, CENTER.Size.X / 3)) | |
2975 | local RANGE = (POS - RootPart.CFrame * CF(0, 10 + POWER * 3, 0).p).Magnitude | |
2976 | RootJoint.C0 = Clerp(RootJoint.C0, ROOTC0 * CF(0, 0, 0 + 0.25 * COS(SINE / 12)) * ANGLES(RAD(4 + 2.5 * SIN(SINE / 12)), RAD(0), RAD(15 + 2.5 * SIN(SINE / 12))), 1 / Animation_Speed) | |
2977 | Neck.C0 = Clerp(Neck.C0, NECKC0 * CF(0, 0, 0) * ANGLES(RAD(-25 + 4.5 * SIN(SINE / 12)), RAD(25), RAD(-15 - 2.5 * SIN(SINE / 12))), 1 / Animation_Speed) | |
2978 | RightShoulder.C0 = Clerp(RightShoulder.C0, CF(1.25, 1.5 + 0.25 * COS(SINE / 12), 0) * ANGLES(RAD(170), RAD(0 - 7.5 * SIN(SINE / 12)), RAD(-12 + 7.5 * SIN(SINE / 12))) * RIGHTSHOULDERC0, 1 / Animation_Speed) | |
2979 | LeftShoulder.C0 = Clerp(LeftShoulder.C0, CF(-1.15, 0.15 + 0.05 * COS(SINE / 12), 0.5) * ANGLES(RAD(-45), RAD(0 + 2.5 * SIN(SINE / 12)), RAD(45 - 7.5 * SIN(SINE / 12))) * LEFTSHOULDERC0, 1 / Animation_Speed) | |
2980 | RightHip.C0 = Clerp(RightHip.C0, CF(1, -1, -0.01) * ANGLES(RAD(-7.5 * SIN(SINE / 12)), RAD(75), RAD(0)) * ANGLES(RAD(-8 - 2.5 * SIN(SINE / 12)), RAD(0), RAD(0)), 1 / Animation_Speed) | |
2981 | LeftHip.C0 = Clerp(LeftHip.C0, CF(-1, -0.5, -0.5) * ANGLES(RAD(-7.5 * SIN(SINE / 12)), RAD(-90), RAD(0)) * ANGLES(RAD(-8 - 2.5 * SIN(SINE / 12)), RAD(0), RAD(0)), 1 / Animation_Speed) | |
2982 | end | |
2983 | coroutine.resume(coroutine.create(function() | |
2984 | ORB.CFrame = CF(ORB.Position, HITPOS3) | |
2985 | local IMPACT = false | |
2986 | for i = 1, 400 do | |
2987 | Swait() | |
2988 | ORB.CFrame = ORB.CFrame * CF(0, 0, -1) | |
2989 | local HIT = Raycast(ORB.Position, ORB.CFrame.lookVector, ORB.Size.X / 2.2, Character) | |
2990 | if HIT ~= nil then | |
2991 | IMPACT = true | |
2992 | break | |
2993 | end | |
2994 | end | |
2995 | if IMPACT == true then | |
2996 | ORB.Transparency = 1 | |
2997 | local FRONT = ORB.CFrame * CF(0, 0, -1).p | |
2998 | ORB.CFrame = CF(ORB.Position, VT(FRONT.X, ORB.Position.Y, FRONT.Z)) | |
2999 | for i = 1, 35 do | |
3000 | ORB.CFrame = ORB.CFrame * CF(0, 0, -ORB.Size.X / 1.5) | |
3001 | MagicSphere(ORB.Size * 1.1, 25, ORB.CFrame, BRICKC("Gold").Color, -ORB.Size / 35) | |
3002 | CreateWave(VT(ORB.Size.X, 1, ORB.Size.Z) * 5, 35, CF(ORB.Position - VT(0, ORB.Size.Y / 3, 0)) * ANGLES(RAD(0), RAD(i * 5), RAD(0)), true, 5, "Gold", -VT(ORB.Size.X / 24, 0, ORB.Size.Z / 24)) | |
3003 | killnearest(ORB.Position, ORB.Size.X * 2, 500) | |
3004 | Swait() | |
3005 | end | |
3006 | else | |
3007 | ORB:remove() | |
3008 | end | |
3009 | end)) | |
3010 | for i = 1, 70 do | |
3011 | Swait() | |
3012 | coroutine.resume(coroutine.create(function() | |
3013 | local DROP = CreatePart(3, Effects, "Neon", 0, 0, "Gold", "Raindrop", VT(POWER / 2, POWER / 2, POWER * 5)) | |
3014 | DROP.CFrame = CF(ORB.Position + VT(MRANDOM(-ORB.Size.X / 3, ORB.Size.X / 3), 200, MRANDOM(-ORB.Size.X / 3, ORB.Size.X / 3)), ORB.Position + VT(MRANDOM(-ORB.Size.X / 2.5, ORB.Size.X / 2.5), 0, MRANDOM(-ORB.Size.X / 2.5, ORB.Size.X / 2.5))) | |
3015 | table.insert(RAIN, DROP) | |
3016 | particles(DROP) | |
3017 | MakeForm(DROP, "Ball") | |
3018 | local IMPACT = false | |
3019 | for i = 1, 80 do | |
3020 | Swait() | |
3021 | DROP.CFrame = DROP.CFrame * CF(0, 0, -7) | |
3022 | local HIT = Raycast(DROP.Position, DROP.CFrame.lookVector, 6, Character) | |
3023 | if HIT ~= nil then | |
3024 | IMPACT = true | |
3025 | break | |
3026 | end | |
3027 | end | |
3028 | table.remove(RAIN, 1) | |
3029 | if IMPACT == true then | |
3030 | DROP.Transparency = 1 | |
3031 | DROP.OVERLORDAURA.Enabled = false | |
3032 | MagicSphere(VT(0, 0, 0), 25, DROP.CFrame, BRICKC("Gold").Color, VT(POWER, POWER, POWER) / 2) | |
3033 | killnearest(DROP.Position, POWER * 5, 500) | |
3034 | Debris:AddItem(DROP, 5) | |
3035 | else | |
3036 | DROP:remove() | |
3037 | end | |
3038 | end)) | |
3039 | end | |
3040 | ATTACK = false | |
3041 | Rooted = false | |
3042 | coroutine.resume(coroutine.create(function() | |
3043 | for i = 1, 55 do | |
3044 | Swait() | |
3045 | CENTER.Size = CENTER.Size - VT(POWER, 0, POWER) | |
3046 | CENTER.CFrame = CENTER.CFrame * ANGLES(RAD(0), RAD(i), RAD(0)) | |
3047 | end | |
3048 | CENTER:remove() | |
3049 | end)) | |
3050 | end | |
3051 | end | |
3052 | end | |
3053 | ||
3054 | function Dolor_Pluvia() | |
3055 | local POWER = LEVEL | |
3056 | local CENTER = MagicRing() | |
3057 | CENTER.CFrame = CF(Mouse.Hit.p) | |
3058 | CreateSound("424777055", CENTER, 10, 1) | |
3059 | local RAIN = {} | |
3060 | for i = 1, 45 do | |
3061 | Swait() | |
3062 | CENTER.Size = CENTER.Size + VT(POWER, 0, POWER) | |
3063 | CENTER.CFrame = CENTER.CFrame * ANGLES(RAD(0), RAD(i), RAD(0)) | |
3064 | end | |
3065 | for i = 1, 35 do | |
3066 | Swait() | |
3067 | coroutine.resume(coroutine.create(function() | |
3068 | local DROP = CreatePart(3, Effects, "Neon", 0, 0, "Gold", "Raindrop", VT(POWER / 2, POWER / 2, POWER * 5)) | |
3069 | DROP.CFrame = CF(CENTER.Position + VT(MRANDOM(-CENTER.Size.X / 3, CENTER.Size.X / 3), 200, MRANDOM(-CENTER.Size.X / 3, CENTER.Size.X / 3)), CENTER.Position + VT(MRANDOM(-CENTER.Size.X / 2.5, CENTER.Size.X / 2.5), 0, MRANDOM(-CENTER.Size.X / 2.5, CENTER.Size.X / 2.5))) | |
3070 | table.insert(RAIN, DROP) | |
3071 | particles(DROP) | |
3072 | MakeForm(DROP, "Ball") | |
3073 | local IMPACT = false | |
3074 | for i = 1, 80 do | |
3075 | Swait() | |
3076 | DROP.CFrame = DROP.CFrame * CF(0, 0, -7) | |
3077 | local HIT = Raycast(DROP.Position, DROP.CFrame.lookVector, 6, Character) | |
3078 | if HIT ~= nil then | |
3079 | IMPACT = true | |
3080 | break | |
3081 | end | |
3082 | end | |
3083 | table.remove(RAIN, 1) | |
3084 | if IMPACT == true then | |
3085 | DROP.Transparency = 1 | |
3086 | DROP.OVERLORDAURA.Enabled = false | |
3087 | MagicSphere(VT(0, 0, 0), 25, DROP.CFrame, BRICKC("Gold").Color, VT(POWER, POWER, POWER) / 2) | |
3088 | killnearest(DROP.Position, POWER * 5, 500) | |
3089 | Debris:AddItem(DROP, 5) | |
3090 | else | |
3091 | DROP:remove() | |
3092 | end | |
3093 | end)) | |
3094 | end | |
3095 | repeat | |
3096 | Swait() | |
3097 | until #RAIN == 0 | |
3098 | for i = 1, 45 do | |
3099 | Swait() | |
3100 | CENTER.Size = CENTER.Size - VT(POWER, 0, POWER) | |
3101 | CENTER.CFrame = CENTER.CFrame * ANGLES(RAD(0), RAD(i), RAD(0)) | |
3102 | end | |
3103 | CENTER:remove() | |
3104 | end | |
3105 | ||
3106 | function Ultimate_Z() | |
3107 | local POWER = 5 | |
3108 | local CENTER = MagicRing() | |
3109 | CENTER.CFrame = CF(Mouse.Hit.p) | |
3110 | CreateSound("424777055", CENTER, 10, 1) | |
3111 | local RAIN = {} | |
3112 | for i = 1, 45 do | |
3113 | Swait() | |
3114 | CENTER.Size = CENTER.Size + VT(POWER, 0, POWER) | |
3115 | CENTER.CFrame = CENTER.CFrame * ANGLES(RAD(0), RAD(i), RAD(0)) | |
3116 | end | |
3117 | for i = 1, 100 do | |
3118 | Swait() | |
3119 | coroutine.resume(coroutine.create(function() | |
3120 | local DROP = CreatePart(3, Effects, "Neon", 0, 0, "Gold", "Raindrop", VT(POWER / 2, POWER / 2, POWER * 5)) | |
3121 | DROP.CFrame = CF(CENTER.Position + VT(MRANDOM(-CENTER.Size.X / 3, CENTER.Size.X / 3), 200, MRANDOM(-CENTER.Size.X / 3, CENTER.Size.X / 3)), CENTER.Position + VT(MRANDOM(-CENTER.Size.X / 2.5, CENTER.Size.X / 2.5), 0, MRANDOM(-CENTER.Size.X / 2.5, CENTER.Size.X / 2.5))) | |
3122 | table.insert(RAIN, DROP) | |
3123 | particles(DROP) | |
3124 | MakeForm(DROP, "Ball") | |
3125 | local IMPACT = false | |
3126 | for i = 1, 80 do | |
3127 | Swait() | |
3128 | DROP.CFrame = DROP.CFrame * CF(0, 0, -7) | |
3129 | local HIT = Raycast(DROP.Position, DROP.CFrame.lookVector, 6, Character) | |
3130 | if HIT ~= nil then | |
3131 | IMPACT = true | |
3132 | break | |
3133 | end | |
3134 | end | |
3135 | table.remove(RAIN, 1) | |
3136 | if IMPACT == true then | |
3137 | DROP.Transparency = 1 | |
3138 | DROP.OVERLORDAURA.Enabled = false | |
3139 | MagicSphere(VT(0, 0, 0), 25, DROP.CFrame, BRICKC("Gold").Color, VT(POWER, POWER, POWER) / 2) | |
3140 | killnearest(DROP.Position, POWER * 5, 500) | |
3141 | Debris:AddItem(DROP, 5) | |
3142 | else | |
3143 | DROP:remove() | |
3144 | end | |
3145 | end)) | |
3146 | end | |
3147 | repeat | |
3148 | Swait() | |
3149 | until #RAIN == 0 | |
3150 | for i = 1, 45 do | |
3151 | Swait() | |
3152 | CENTER.Size = CENTER.Size - VT(POWER, 0, POWER) | |
3153 | CENTER.CFrame = CENTER.CFrame * ANGLES(RAD(0), RAD(i), RAD(0)) | |
3154 | end | |
3155 | CENTER:remove() | |
3156 | end | |
3157 | ||
3158 | function Ultima_Consummatio() | |
3159 | local HITFLOOR, HITPOS, NORMAL = Raycast(RootPart.Position, CF(RootPart.Position, RootPart.Position + VT(0, -1, 0)).lookVector, 7, Character) | |
3160 | if HITFLOOR ~= nil then | |
3161 | do | |
3162 | local POWER = LEVEL | |
3163 | ATTACK = true | |
3164 | Rooted = true | |
3165 | if POWER <= 6 then | |
3166 | do | |
3167 | local CENTER = MagicRing() | |
3168 | CENTER.CFrame = CF(HITPOS + VT(0, 0.1, 0)) | |
3169 | CreateSound("424777055", CENTER, 10, 1) | |
3170 | local RAIN = {} | |
3171 | for i = 1, 65 do | |
3172 | Swait() | |
3173 | CENTER.Size = CENTER.Size + VT(POWER, 0, POWER) | |
3174 | CENTER.CFrame = CENTER.CFrame * ANGLES(RAD(0), RAD(i), RAD(0)) | |
3175 | RootJoint.C0 = Clerp(RootJoint.C0, ROOTC0 * CF(0, 0, 0 + 0.25 * COS(SINE / 12)) * ANGLES(RAD(4 + 2.5 * SIN(SINE / 12)), RAD(0), RAD(15 + 2.5 * SIN(SINE / 12))), 1 / Animation_Speed) | |
3176 | Neck.C0 = Clerp(Neck.C0, NECKC0 * CF(0, 0, 0) * ANGLES(RAD(-25 + 4.5 * SIN(SINE / 12)), RAD(25), RAD(-15 - 2.5 * SIN(SINE / 12))), 1 / Animation_Speed) | |
3177 | RightShoulder.C0 = Clerp(RightShoulder.C0, CF(1.25, 1.5 + 0.25 * COS(SINE / 12), 0) * ANGLES(RAD(170), RAD(0 - 7.5 * SIN(SINE / 12)), RAD(-12 + 7.5 * SIN(SINE / 12))) * RIGHTSHOULDERC0, 1 / Animation_Speed) | |
3178 | LeftShoulder.C0 = Clerp(LeftShoulder.C0, CF(-1.15, 0.15 + 0.05 * COS(SINE / 12), 0.5) * ANGLES(RAD(-45), RAD(0 + 2.5 * SIN(SINE / 12)), RAD(45 - 7.5 * SIN(SINE / 12))) * LEFTSHOULDERC0, 1 / Animation_Speed) | |
3179 | RightHip.C0 = Clerp(RightHip.C0, CF(1, -1, -0.01) * ANGLES(RAD(-7.5 * SIN(SINE / 12)), RAD(75), RAD(0)) * ANGLES(RAD(-8 - 2.5 * SIN(SINE / 12)), RAD(0), RAD(0)), 1 / Animation_Speed) | |
3180 | LeftHip.C0 = Clerp(LeftHip.C0, CF(-1, -0.5, -0.5) * ANGLES(RAD(-7.5 * SIN(SINE / 12)), RAD(-90), RAD(0)) * ANGLES(RAD(-8 - 2.5 * SIN(SINE / 12)), RAD(0), RAD(0)), 1 / Animation_Speed) | |
3181 | end | |
3182 | local ORB = CreatePart(3, Effects, "Neon", 0, 1, "Gold", "ORB", VT(4, 4, 4)) | |
3183 | MakeForm(ORB, "Ball") | |
3184 | CreateSound("201858045", ORB, 10, 0.5) | |
3185 | for i = 0, 5, 0.1 / Animation_Speed do | |
3186 | Swait() | |
3187 | ORB.CFrame = RootPart.CFrame * CF(0, 5 + ORB.Size.Y / 2, 0) | |
3188 | ORB.Size = ORB.Size + VT(POWER, POWER, POWER) / 10 | |
3189 | ORB.Transparency = 0 | |
3190 | local POS = HITPOS + VT(MRANDOM(-CENTER.Size.X / 3, CENTER.Size.X / 3), 0, MRANDOM(-CENTER.Size.X / 3, CENTER.Size.X / 3)) | |
3191 | local RANGE = (POS - ORB.Position).Magnitude | |
3192 | local ZAPTABLE = Zap({ | |
3193 | StartPosition = POS, | |
3194 | TargetPosition = ORB.Position, | |
3195 | Character = workspace, | |
3196 | Color = "Gold", | |
3197 | Individual = true, | |
3198 | MaxRange = RANGE, | |
3199 | SegmentLength = POWER * 2, | |
3200 | Offset = 1 | |
3201 | }) | |
3202 | Debris:AddItem(ZAPTABLE.LightningModel, 0.1) | |
3203 | RootJoint.C0 = Clerp(RootJoint.C0, ROOTC0 * CF(0, 0, 0 + 0.25 * COS(SINE / 12)) * ANGLES(RAD(4 + 2.5 * SIN(SINE / 12)), RAD(0), RAD(15 + 2.5 * SIN(SINE / 12))), 1 / Animation_Speed) | |
3204 | Neck.C0 = Clerp(Neck.C0, NECKC0 * CF(0, 0, 0) * ANGLES(RAD(-25 + 4.5 * SIN(SINE / 12)), RAD(25), RAD(-15 - 2.5 * SIN(SINE / 12))), 1 / Animation_Speed) | |
3205 | RightShoulder.C0 = Clerp(RightShoulder.C0, CF(1.25, 1.5 + 0.25 * COS(SINE / 12), 0) * ANGLES(RAD(170), RAD(0 - 7.5 * SIN(SINE / 12)), RAD(-12 + 7.5 * SIN(SINE / 12))) * RIGHTSHOULDERC0, 1 / Animation_Speed) | |
3206 | LeftShoulder.C0 = Clerp(LeftShoulder.C0, CF(-1.15, 0.15 + 0.05 * COS(SINE / 12), 0.5) * ANGLES(RAD(-45), RAD(0 + 2.5 * SIN(SINE / 12)), RAD(45 - 7.5 * SIN(SINE / 12))) * LEFTSHOULDERC0, 1 / Animation_Speed) | |
3207 | RightHip.C0 = Clerp(RightHip.C0, CF(1, -1, -0.01) * ANGLES(RAD(-7.5 * SIN(SINE / 12)), RAD(75), RAD(0)) * ANGLES(RAD(-8 - 2.5 * SIN(SINE / 12)), RAD(0), RAD(0)), 1 / Animation_Speed) | |
3208 | LeftHip.C0 = Clerp(LeftHip.C0, CF(-1, -0.5, -0.5) * ANGLES(RAD(-7.5 * SIN(SINE / 12)), RAD(-90), RAD(0)) * ANGLES(RAD(-8 - 2.5 * SIN(SINE / 12)), RAD(0), RAD(0)), 1 / Animation_Speed) | |
3209 | end | |
3210 | coroutine.resume(coroutine.create(function() | |
3211 | if POWER <= 3 then | |
3212 | local AIMPOS = Mouse.Hit.p | |
3213 | local O1 = MagicRing() | |
3214 | local O2 = MagicRing() | |
3215 | local O3 = MagicRing() | |
3216 | O1.CFrame = CF(ORB.Position, AIMPOS) * ANGLES(RAD(90), RAD(0), RAD(0)) * CF(0, -ORB.Size.X, 0) | |
3217 | O2.CFrame = CF(ORB.Position, AIMPOS) * ANGLES(RAD(90), RAD(0), RAD(0)) * CF(0, -ORB.Size.X + ORB.Size.X / 4, 0) | |
3218 | O3.CFrame = CF(ORB.Position, AIMPOS) * ANGLES(RAD(90), RAD(0), RAD(0)) * CF(0, -ORB.Size.X + ORB.Size.X / 8, 0) | |
3219 | for i = 1, 25 do | |
3220 | Swait() | |
3221 | O1.Size = O1.Size + VT(POWER, 0, POWER) | |
3222 | O2.Size = O2.Size + VT(POWER, 0, POWER) / 1.5 | |
3223 | O3.Size = O3.Size + VT(POWER, 0, POWER) / 2 | |
3224 | end | |
3225 | local DIST = (ORB.Position - AIMPOS).Magnitude | |
3226 | for i = 1, 75 do | |
3227 | Swait(3) | |
3228 | CreateRing(VT(0, 0, 0), false, 0, 45, CF(ORB.Position) * ANGLES(RAD(MRANDOM(-180, 180)), RAD(MRANDOM(-180, 180)), RAD(MRANDOM(-180, 180))), C3(1, 1, 1), VT(POWER, POWER, 0) / 5) | |
3229 | killnearest(ORB.Position, ORB.Size.X, 200) | |
3230 | local ZAPTABLE = Zap({ | |
3231 | SIZE = POWER * 2, | |
3232 | StartPosition = ORB.Position, | |
3233 | TargetPosition = AIMPOS + VT(MRANDOM(-POWER * 15, POWER * 15), 0, MRANDOM(-POWER * 15, POWER * 15)) * 2, | |
3234 | Character = Character, | |
3235 | Color = "Gold", | |
3236 | Individual = true, | |
3237 | MaxRange = POWER * 400, | |
3238 | SegmentLength = DIST / 25, | |
3239 | Offset = 3 + DIST / 350 | |
3240 | }) | |
3241 | Debris:AddItem(ZAPTABLE.LightningModel, 0.1) | |
3242 | MagicSphere(ORB.Size * 1.1, 25, CF(ZAPTABLE.RayPos), BRICKC("Gold").Color, ORB.Size / 15) | |
3243 | killnearest(ZAPTABLE.RayPos, POWER * 45, 60) | |
3244 | CreateWave(VT(ORB.Size.X, 1, ORB.Size.Z) * 5, 35, CF(ZAPTABLE.RayPos), true, 5, "Gold", -VT(ORB.Size.X / 24, 0, ORB.Size.Z / 24)) | |
3245 | end | |
3246 | local SIZE = ORB.Size | |
3247 | for i = 1, 25 do | |
3248 | Swait() | |
3249 | ORB.Size = ORB.Size - SIZE / 25 | |
3250 | O1.Size = O1.Size - VT(POWER, 0, POWER) | |
3251 | O2.Size = O2.Size - VT(POWER, 0, POWER) / 1.5 | |
3252 | O3.Size = O3.Size - VT(POWER, 0, POWER) / 2 | |
3253 | end | |
3254 | ORB:remove() | |
3255 | O1:remove() | |
3256 | O2:remove() | |
3257 | O3:remove() | |
3258 | elseif POWER > 3 then | |
3259 | local O1 = MagicRing() | |
3260 | local O2 = MagicRing() | |
3261 | local O3 = MagicRing() | |
3262 | O1.CFrame = CF(ORB.Position, Mouse.Hit.p) * ANGLES(RAD(90), RAD(0), RAD(0)) * CF(0, -ORB.Size.X, 0) | |
3263 | O2.CFrame = CF(ORB.Position, Mouse.Hit.p) * ANGLES(RAD(90), RAD(0), RAD(0)) * CF(0, -ORB.Size.X + ORB.Size.X / 4, 0) | |
3264 | O3.CFrame = CF(ORB.Position, Mouse.Hit.p) * ANGLES(RAD(90), RAD(0), RAD(0)) * CF(0, -ORB.Size.X + ORB.Size.X / 8, 0) | |
3265 | for i = 1, 25 do | |
3266 | Swait() | |
3267 | O1.CFrame = CF(ORB.Position, Mouse.Hit.p) * ANGLES(RAD(90), RAD(0), RAD(0)) * CF(0, -ORB.Size.X, 0) | |
3268 | O2.CFrame = CF(ORB.Position, Mouse.Hit.p) * ANGLES(RAD(90), RAD(0), RAD(0)) * CF(0, -ORB.Size.X + ORB.Size.X / 4, 0) | |
3269 | O3.CFrame = CF(ORB.Position, Mouse.Hit.p) * ANGLES(RAD(90), RAD(0), RAD(0)) * CF(0, -ORB.Size.X + ORB.Size.X / 8, 0) | |
3270 | O1.Size = O1.Size + VT(POWER, 0, POWER) | |
3271 | O2.Size = O2.Size + VT(POWER, 0, POWER) / 1.5 | |
3272 | O3.Size = O3.Size + VT(POWER, 0, POWER) / 2 | |
3273 | end | |
3274 | for i = 1, 75 do | |
3275 | for i = 1, 5 do | |
3276 | Swait() | |
3277 | O1.CFrame = CF(ORB.Position, Mouse.Hit.p) * ANGLES(RAD(90), RAD(0), RAD(0)) * CF(0, -ORB.Size.X, 0) | |
3278 | O2.CFrame = CF(ORB.Position, Mouse.Hit.p) * ANGLES(RAD(90), RAD(0), RAD(0)) * CF(0, -ORB.Size.X + ORB.Size.X / 4, 0) | |
3279 | O3.CFrame = CF(ORB.Position, Mouse.Hit.p) * ANGLES(RAD(90), RAD(0), RAD(0)) * CF(0, -ORB.Size.X + ORB.Size.X / 8, 0) | |
3280 | end | |
3281 | killnearest(ORB.Position, ORB.Size.X, 200) | |
3282 | CreateRing(VT(0, 0, 0), false, 0, 45, CF(ORB.Position) * ANGLES(RAD(MRANDOM(-180, 180)), RAD(MRANDOM(-180, 180)), RAD(MRANDOM(-180, 180))), C3(1, 1, 1), VT(POWER, POWER, 0) / 5) | |
3283 | local DIST = (ORB.Position - Mouse.Hit.p).Magnitude | |
3284 | local ZAPTABLE = Zap({ | |
3285 | SIZE = POWER, | |
3286 | StartPosition = ORB.Position, | |
3287 | TargetPosition = Mouse.Hit.p, | |
3288 | Character = Character, | |
3289 | Color = "Gold", | |
3290 | Individual = true, | |
3291 | MaxRange = POWER * 400, | |
3292 | SegmentLength = DIST / 25, | |
3293 | Offset = 3 + DIST / 350 | |
3294 | }) | |
3295 | Debris:AddItem(ZAPTABLE.LightningModel, 0.1) | |
3296 | MagicSphere(ORB.Size * 1.1, 25, CF(ZAPTABLE.RayPos), BRICKC("Gold").Color, ORB.Size / 15) | |
3297 | killnearest(ZAPTABLE.RayPos, POWER * 45, 60) | |
3298 | CreateWave(VT(ORB.Size.X, 1, ORB.Size.Z) * 5, 35, CF(ZAPTABLE.RayPos), true, 5, "Gold", -VT(ORB.Size.X / 24, 0, ORB.Size.Z / 24)) | |
3299 | end | |
3300 | local SIZE = ORB.Size | |
3301 | for i = 1, 25 do | |
3302 | Swait() | |
3303 | ORB.Size = ORB.Size - SIZE / 25 | |
3304 | O1.Size = O1.Size - VT(POWER, 0, POWER) | |
3305 | O2.Size = O2.Size - VT(POWER, 0, POWER) / 1.5 | |
3306 | O3.Size = O3.Size - VT(POWER, 0, POWER) / 2 | |
3307 | end | |
3308 | ORB:remove() | |
3309 | O1:remove() | |
3310 | O2:remove() | |
3311 | O3:remove() | |
3312 | end | |
3313 | coroutine.resume(coroutine.create(function() | |
3314 | for i = 1, 65 do | |
3315 | Swait() | |
3316 | CENTER.Size = CENTER.Size - VT(POWER, 0, POWER) | |
3317 | CENTER.CFrame = CENTER.CFrame * ANGLES(RAD(0), RAD(i), RAD(0)) | |
3318 | end | |
3319 | CENTER:remove() | |
3320 | end)) | |
3321 | end)) | |
3322 | end | |
3323 | elseif POWER > 6 then | |
3324 | do | |
3325 | local FINISHED = false | |
3326 | local YIN = CreatePart(3, Effects, "Neon", 0, 0, "Pearl", "YIN", VT(25, 25, 25)) | |
3327 | local YAN = CreatePart(3, Effects, "Neon", 0, 0, "Gold", "YAN", VT(65, 25, 65)) | |
3328 | coroutine.resume(coroutine.create(function() | |
3329 | local LOOP = 0 | |
3330 | repeat | |
3331 | YIN.CFrame = CF(HITPOS + VT(0, 500, 0)) * ANGLES(RAD(0), RAD(LOOP), RAD(0)) * CF(0, 0, 200) | |
3332 | YAN.CFrame = CF(HITPOS + VT(0, 500, 0)) * ANGLES(RAD(0), RAD(LOOP), RAD(0)) * CF(0, 0, -200) | |
3333 | LOOP = LOOP + 5 | |
3334 | MagicSphere(VT(500, 5, 500), 65, CF(YIN.Position), BRICKC("Gold").Color, VT(-1, -0.001, -1) * 2) | |
3335 | MagicSphere(VT(500, 5, 500), 65, CF(YAN.Position), C3(1, 1, 1), VT(-1, -0.001, -1) * 2) | |
3336 | Swait() | |
3337 | until FINISHED == true | |
3338 | YIN:remove() | |
3339 | YAN:remove() | |
3340 | end)) | |
3341 | CreateSound("438666077", Effects, 10, 1) | |
3342 | for i = 0, 1, 0.1 / Animation_Speed do | |
3343 | Swait() | |
3344 | RootJoint.C0 = Clerp(RootJoint.C0, ROOTC0 * CF(0, 0, 0 + 0.25 * COS(SINE / 12)) * ANGLES(RAD(4 + 2.5 * SIN(SINE / 12)), RAD(0), RAD(15 + 2.5 * SIN(SINE / 12))), 1 / Animation_Speed) | |
3345 | Neck.C0 = Clerp(Neck.C0, NECKC0 * CF(0, 0, 0) * ANGLES(RAD(-25 + 4.5 * SIN(SINE / 12)), RAD(25), RAD(-15 - 2.5 * SIN(SINE / 12))), 1 / Animation_Speed) | |
3346 | RightShoulder.C0 = Clerp(RightShoulder.C0, CF(1.25, 0.5 + 0.25 * COS(SINE / 12), 0) * ANGLES(RAD(65), RAD(0), RAD(90 + 7.5 * SIN(SINE / 12))) * RIGHTSHOULDERC0, 1 / Animation_Speed) | |
3347 | LeftShoulder.C0 = Clerp(LeftShoulder.C0, CF(-1.25, 0.5 + 0.25 * COS(SINE / 12), 0) * ANGLES(RAD(65), RAD(0), RAD(-90 - 7.5 * SIN(SINE / 12))) * LEFTSHOULDERC0, 1 / Animation_Speed) | |
3348 | RightHip.C0 = Clerp(RightHip.C0, CF(1, -1, -0.01) * ANGLES(RAD(-7.5 * SIN(SINE / 12)), RAD(75), RAD(0)) * ANGLES(RAD(-8 - 2.5 * SIN(SINE / 12)), RAD(0), RAD(0)), 1 / Animation_Speed) | |
3349 | LeftHip.C0 = Clerp(LeftHip.C0, CF(-1, -0.5, -0.5) * ANGLES(RAD(-7.5 * SIN(SINE / 12)), RAD(-90), RAD(0)) * ANGLES(RAD(-8 - 2.5 * SIN(SINE / 12)), RAD(0), RAD(0)), 1 / Animation_Speed) | |
3350 | end | |
3351 | local ORB = CreatePart(3, Effects, "Neon", 0, 0, "Gold", "ORB", VT(6, 6, 6)) | |
3352 | MakeForm(ORB, "Ball") | |
3353 | ORB.CFrame = CF(HITPOS + VT(0, 150, 0)) | |
3354 | for i = 0, 8, 0.1 / Animation_Speed do | |
3355 | Swait() | |
3356 | if MRANDOM(1, 8) == 1 then | |
3357 | local RANGE1 = (ORB.Position - YIN.Position).Magnitude | |
3358 | local RANGE2 = (ORB.Position - YAN.Position).Magnitude | |
3359 | local ZAPTABLE1 = Zap({ | |
3360 | SIZE = POWER / 3, | |
3361 | StartPosition = YIN.Position, | |
3362 | TargetPosition = ORB.Position, | |
3363 | Character = workspace, | |
3364 | Color = "Pearl", | |
3365 | Individual = true, | |
3366 | MaxRange = RANGE1, | |
3367 | SegmentLength = 25, | |
3368 | Offset = 6 | |
3369 | }) | |
3370 | local ZAPTABLE2 = Zap({ | |
3371 | SIZE = POWER / 3, | |
3372 | StartPosition = YAN.Position, | |
3373 | TargetPosition = ORB.Position, | |
3374 | Character = workspace, | |
3375 | Color = "Gold", | |
3376 | Individual = true, | |
3377 | MaxRange = RANGE1, | |
3378 | SegmentLength = 25, | |
3379 | Offset = 6 | |
3380 | }) | |
3381 | Debris:AddItem(ZAPTABLE1.LightningModel, 0.1) | |
3382 | Debris:AddItem(ZAPTABLE2.LightningModel, 0.1) | |
3383 | end | |
3384 | ORB.Size = ORB.Size + VT(POWER, POWER, POWER) / 15 | |
3385 | RootJoint.C0 = Clerp(RootJoint.C0, ROOTC0 * CF(0, 0, 0 + 0.25 * COS(SINE / 12)) * ANGLES(RAD(4 + 2.5 * SIN(SINE / 12)), RAD(0), RAD(0)), 1 / Animation_Speed) | |
3386 | Neck.C0 = Clerp(Neck.C0, NECKC0 * CF(0, 0, 0) * ANGLES(RAD(-25 + 4.5 * SIN(SINE / 12)), RAD(25), RAD(0)), 1 / Animation_Speed) | |
3387 | RightShoulder.C0 = Clerp(RightShoulder.C0, CF(1.25, 0.5 + 0.25 * COS(SINE / 12), 0) * ANGLES(RAD(150), RAD(0), RAD(90 + 7.5 * SIN(SINE / 12))) * RIGHTSHOULDERC0, 1 / Animation_Speed) | |
3388 | LeftShoulder.C0 = Clerp(LeftShoulder.C0, CF(-1.25, 0.5 + 0.25 * COS(SINE / 12), 0) * ANGLES(RAD(150), RAD(0), RAD(-90 - 7.5 * SIN(SINE / 12))) * LEFTSHOULDERC0, 1 / Animation_Speed) | |
3389 | RightHip.C0 = Clerp(RightHip.C0, CF(1, -1, -0.01) * ANGLES(RAD(-7.5 * SIN(SINE / 12)), RAD(75), RAD(0)) * ANGLES(RAD(-8 - 2.5 * SIN(SINE / 12)), RAD(0), RAD(0)), 1 / Animation_Speed) | |
3390 | LeftHip.C0 = Clerp(LeftHip.C0, CF(-1, -0.5, -0.5) * ANGLES(RAD(-7.5 * SIN(SINE / 12)), RAD(-90), RAD(0)) * ANGLES(RAD(-8 - 2.5 * SIN(SINE / 12)), RAD(0), RAD(0)), 1 / Animation_Speed) | |
3391 | end | |
3392 | FINISHED = true | |
3393 | coroutine.resume(coroutine.create(function() | |
3394 | for i = 1, 6 do | |
3395 | for e = 1, 10 do | |
3396 | Swait() | |
3397 | Slice("Thin", ORB.Size.X / 15, 15, ORB.CFrame * ANGLES(RAD(MRANDOM(-180, 180)), RAD(MRANDOM(-180, 180)), RAD(MRANDOM(-180, 180))), "Pearl", VT(-0.01, 0, -0.01)) | |
3398 | ORB.Size = ORB.Size * 0.97 | |
3399 | killnearest(ORB.Position, ORB.Size.X * 3, 200) | |
3400 | CreateWave(VT(ORB.Size.X, 35, ORB.Size.X), 25, CF(HITPOS) * ANGLES(RAD(0), RAD(i * 5 + e * 5), RAD(0)), false, 0, C3(1, 1, 1), VT(POWER, 0, POWER)) | |
3401 | end | |
3402 | local POS = ORB.Position | |
3403 | for i = 1, 5 do | |
3404 | CreateRing(VT(0, 0, 0), false, 0, 8 * i, CF(POS) * ANGLES(RAD(MRANDOM(-180, 180)), RAD(MRANDOM(-180, 180)), RAD(MRANDOM(-180, 180))), C3(1, 1, 1), VT(POWER, POWER, 0) / 5) | |
3405 | end | |
3406 | CreateRing(VT(0, 0, 0), false, 0, 45, CF(POS) * ANGLES(RAD(90), RAD(0), RAD(0)), C3(1, 1, 1), VT(POWER, POWER, 0)) | |
3407 | for e = 1, 10 do | |
3408 | Swait() | |
3409 | if MRANDOM(1, 5) == 1 then | |
3410 | local POS = CF(ORB.Position) * ANGLES(RAD(MRANDOM(-180, 180)), RAD(MRANDOM(-180, 180)), RAD(MRANDOM(-180, 180))) * CF(0, 0, -POWER * 25).p | |
3411 | local ZAPTABLE = Zap({ | |
3412 | SIZE = POWER, | |
3413 | StartPosition = ORB.Position, | |
3414 | TargetPosition = POS, | |
3415 | Character = workspace, | |
3416 | Color = "Gold", | |
3417 | Individual = true, | |
3418 | MaxRange = POWER * 75, | |
3419 | SegmentLength = POWER * 5, | |
3420 | Offset = 3 | |
3421 | }) | |
3422 | Debris:AddItem(ZAPTABLE.LightningModel, 0.1) | |
3423 | end | |
3424 | ORB.Size = ORB.Size * 1.05 | |
3425 | killnearest(ORB.Position, ORB.Size.X * 3, 200) | |
3426 | CreateWave(VT(ORB.Size.X, 35, ORB.Size.X), 25, CF(HITPOS) * ANGLES(RAD(0), RAD(i * 5 + e * 5), RAD(0)), false, 0, C3(1, 1, 1), VT(POWER, 0, POWER)) | |
3427 | end | |
3428 | end | |
3429 | local POS = ORB.Position | |
3430 | for e = 1, 10 do | |
3431 | Swait() | |
3432 | ORB.Transparency = ORB.Transparency + 0.1 | |
3433 | end | |
3434 | ORB:remove() | |
3435 | killnearest(POS, POWER * 35, 200) | |
3436 | for i = 1, 5 do | |
3437 | CreateRing(VT(0, 0, 0), false, 0, 8 * i, CF(POS) * ANGLES(RAD(MRANDOM(-180, 180)), RAD(MRANDOM(-180, 180)), RAD(MRANDOM(-180, 180))), C3(1, 1, 1), VT(POWER, POWER, 0) / 5) | |
3438 | end | |
3439 | CreateRing(VT(0, 0, 0), false, 0, 45, CF(POS) * ANGLES(RAD(90), RAD(0), RAD(0)), C3(1, 1, 1), VT(POWER, POWER, 0)) | |
3440 | end)) | |
3441 | end | |
3442 | end | |
3443 | ATTACK = false | |
3444 | Rooted = false | |
3445 | end | |
3446 | end | |
3447 | end | |
3448 | ||
3449 | function Hop() | |
3450 | ATTACK = true | |
3451 | Rooted = false | |
3452 | local O1 = MagicRing() | |
3453 | local O2 = MagicRing() | |
3454 | local POS = VT(RootPart.Position.X, Mouse.Hit.p.Y + 6, RootPart.Position.Z) | |
3455 | O1.CFrame = RootPart.CFrame * CF(0, 0, -3) * ANGLES(RAD(90), RAD(0), RAD(0)) | |
3456 | O2.CFrame = CF(Mouse.Hit.p + VT(0, 6, 0), POS) * ANGLES(RAD(90), RAD(0), RAD(0)) | |
3457 | local ROOT = CreatePart(3, Effects, "Neon", 0, 1, "Really red", "Warphole", VT(0, 0, 0)) | |
3458 | ROOT.CFrame = CF(O2.Position, RootPart.Position) | |
3459 | CreateSound("814168787", O1, 10, 0.7) | |
3460 | CreateSound("814168787", O2, 10, 0.7) | |
3461 | for i = 1, 75 do | |
3462 | Swait() | |
3463 | O1.Size = O1.Size + VT(0.15, 0, 0.15) | |
3464 | O1.CFrame = RootPart.CFrame * CF(0, 0, -3) * ANGLES(RAD(90), RAD(i), RAD(0)) | |
3465 | O2.Size = O2.Size + VT(0.15, 0, 0.15) | |
3466 | O2.CFrame = O2.CFrame * ANGLES(RAD(0), RAD(i), RAD(0)) | |
3467 | RootJoint.C0 = Clerp(RootJoint.C0, ROOTC0 * CF(0, 0, 0 + 0.25 * COS(SINE / 12)) * ANGLES(RAD(4 + 2.5 * SIN(SINE / 12)), RAD(0), RAD(0)), 1 / Animation_Speed) | |
3468 | Neck.C0 = Clerp(Neck.C0, NECKC0 * CF(0, 0, 0) * ANGLES(RAD(5 + 6.5 * SIN(SINE / 12)), RAD(0), RAD(0)), 1 / Animation_Speed) | |
3469 | RightShoulder.C0 = Clerp(RightShoulder.C0, CF(1.15, 0.35 + 0.05 * COS(SINE / 12), -0.5) * ANGLES(RAD(90), RAD(0 - 2.5 * SIN(SINE / 12)), RAD(0 + 7.5 * SIN(SINE / 12))) * RIGHTSHOULDERC0, 1 / Animation_Speed) | |
3470 | LeftShoulder.C0 = Clerp(LeftShoulder.C0, CF(-1.15, 0.15 + 0.05 * COS(SINE / 12), 0.5) * ANGLES(RAD(-45), RAD(0 + 2.5 * SIN(SINE / 12)), RAD(45 - 7.5 * SIN(SINE / 12))) * LEFTSHOULDERC0, 1 / Animation_Speed) | |
3471 | RightHip.C0 = Clerp(RightHip.C0, CF(1, -1, -0.01) * ANGLES(RAD(-4.5 * SIN(SINE / 12)), RAD(75), RAD(0)) * ANGLES(RAD(-8 - 5.5 * SIN(SINE / 12)), RAD(0), RAD(0)), 1 / Animation_Speed) | |
3472 | LeftHip.C0 = Clerp(LeftHip.C0, CF(-1, -0.5, -0.5) * ANGLES(RAD(-4.5 * SIN(SINE / 12)), RAD(-90), RAD(0)) * ANGLES(RAD(-8 - 5.5 * SIN(SINE / 12)), RAD(0), RAD(0)), 1 / Animation_Speed) | |
3473 | end | |
3474 | Rooted = true | |
3475 | UNANCHOR = false | |
3476 | RootPart.Anchored = true | |
3477 | VALUE1 = true | |
3478 | for i = 1, 15 do | |
3479 | Transparency(i / 15) | |
3480 | Swait() | |
3481 | RootPart.CFrame = RootPart.CFrame * CF(0, 0, -0.13) | |
3482 | RootJoint.C0 = Clerp(RootJoint.C0, ROOTC0 * CF(0, 0, 0 + 0.25 * COS(SINE / 12)) * ANGLES(RAD(16 + 2.5 * SIN(SINE / 12)), RAD(0), RAD(5 + 2.5 * SIN(SINE / 12))), 1 / Animation_Speed) | |
3483 | Neck.C0 = Clerp(Neck.C0, NECKC0 * CF(0, 0, 0) * ANGLES(RAD(-15 + 4.5 * SIN(SINE / 12)), RAD(0), RAD(-5 - 2.5 * SIN(SINE / 12))), 1 / Animation_Speed) | |
3484 | RightShoulder.C0 = Clerp(RightShoulder.C0, CF(1.5, 0.5 + 0.25 * COS(SINE / 12), 0) * ANGLES(RAD(-15), RAD(0 - 2.5 * SIN(SINE / 12)), RAD(5 + 7.5 * SIN(SINE / 12))) * RIGHTSHOULDERC0, 1 / Animation_Speed) | |
3485 | LeftShoulder.C0 = Clerp(LeftShoulder.C0, CF(-1.5, 0.5 + 0.25 * COS(SINE / 12), 0) * ANGLES(RAD(-15), RAD(0 + 2.5 * SIN(SINE / 12)), RAD(-5 - 7.5 * SIN(SINE / 12))) * LEFTSHOULDERC0, 1 / Animation_Speed) | |
3486 | RightHip.C0 = Clerp(RightHip.C0, CF(1, -1, -0.01) * ANGLES(RAD(-2.5 * SIN(SINE / 12)), RAD(75), RAD(0)) * ANGLES(RAD(-8 - 2.5 * SIN(SINE / 12)), RAD(0), RAD(0)), 1 / Animation_Speed) | |
3487 | LeftHip.C0 = Clerp(LeftHip.C0, CF(-1, -0.5, -0.5) * ANGLES(RAD(-2.5 * SIN(SINE / 12)), RAD(-90), RAD(0)) * ANGLES(RAD(-8 - 2.5 * SIN(SINE / 12)), RAD(0), RAD(0)), 1 / Animation_Speed) | |
3488 | end | |
3489 | RootPart.CFrame = ROOT.CFrame | |
3490 | ROOT:remove() | |
3491 | for i = 1, 15 do | |
3492 | Transparency(1 - i / 15) | |
3493 | Swait() | |
3494 | RootPart.CFrame = RootPart.CFrame * CF(0, 0, -0.5) | |
3495 | RootJoint.C0 = Clerp(RootJoint.C0, ROOTC0 * CF(0, 0, 0 + 0.25 * COS(SINE / 12)) * ANGLES(RAD(16 + 2.5 * SIN(SINE / 12)), RAD(0), RAD(5 + 2.5 * SIN(SINE / 12))), 1 / Animation_Speed) | |
3496 | Neck.C0 = Clerp(Neck.C0, NECKC0 * CF(0, 0, 0) * ANGLES(RAD(-15 + 4.5 * SIN(SINE / 12)), RAD(0), RAD(-5 - 2.5 * SIN(SINE / 12))), 1 / Animation_Speed) | |
3497 | RightShoulder.C0 = Clerp(RightShoulder.C0, CF(1.5, 0.5 + 0.25 * COS(SINE / 12), 0) * ANGLES(RAD(-15), RAD(0 - 2.5 * SIN(SINE / 12)), RAD(5 + 7.5 * SIN(SINE / 12))) * RIGHTSHOULDERC0, 1 / Animation_Speed) | |
3498 | LeftShoulder.C0 = Clerp(LeftShoulder.C0, CF(-1.5, 0.5 + 0.25 * COS(SINE / 12), 0) * ANGLES(RAD(-15), RAD(0 + 2.5 * SIN(SINE / 12)), RAD(-5 - 7.5 * SIN(SINE / 12))) * LEFTSHOULDERC0, 1 / Animation_Speed) | |
3499 | RightHip.C0 = Clerp(RightHip.C0, CF(1, -1, -0.01) * ANGLES(RAD(-2.5 * SIN(SINE / 12)), RAD(75), RAD(0)) * ANGLES(RAD(-8 - 2.5 * SIN(SINE / 12)), RAD(0), RAD(0)), 1 / Animation_Speed) | |
3500 | LeftHip.C0 = Clerp(LeftHip.C0, CF(-1, -0.5, -0.5) * ANGLES(RAD(-2.5 * SIN(SINE / 12)), RAD(-90), RAD(0)) * ANGLES(RAD(-8 - 2.5 * SIN(SINE / 12)), RAD(0), RAD(0)), 1 / Animation_Speed) | |
3501 | end | |
3502 | VALUE1 = false | |
3503 | coroutine.resume(coroutine.create(function() | |
3504 | for i = 1, 75 do | |
3505 | Swait() | |
3506 | O1.Size = O1.Size - VT(0.15, 0, 0.15) | |
3507 | O1.CFrame = O1.CFrame * ANGLES(RAD(0), RAD(i), RAD(0)) | |
3508 | O2.Size = O2.Size - VT(0.15, 0, 0.15) | |
3509 | O2.CFrame = O2.CFrame * ANGLES(RAD(0), RAD(i), RAD(0)) | |
3510 | end | |
3511 | O1:remove() | |
3512 | O2:remove() | |
3513 | end)) | |
3514 | UNANCHOR = true | |
3515 | RootPart.Anchored = false | |
3516 | ATTACK = false | |
3517 | Rooted = false | |
3518 | end | |
3519 | ||
3520 | local ATANIM = IT("Animation") | |
3521 | ATANIM.Name = "Attack Animation" | |
3522 | ATANIM.AnimationId = "http://www.roblox.com/asset/?id=74894663" | |
3523 | ||
3524 | function SummonHop() | |
3525 | local HITFLOOR, HITPOS, NORMAL = Raycast(RootPart.Position, CF(RootPart.Position, RootPart.Position + VT(0, -1, 0)).lookVector, 25, Character) | |
3526 | if HITFLOOR ~= nil then | |
3527 | ATTACK = true | |
3528 | Rooted = false | |
3529 | local O1 = MagicRing() | |
3530 | local O2 = MagicRing() | |
3531 | local POS = VT(RootPart.Position.X, Mouse.Hit.p.Y + 6, RootPart.Position.Z) | |
3532 | O1.CFrame = RootPart.CFrame * CF(0, 0, -3) * ANGLES(RAD(90), RAD(0), RAD(0)) | |
3533 | O2.CFrame = CF(Mouse.Hit.p) | |
3534 | local ROOT = CreatePart(3, Effects, "Neon", 0, 1, "Really red", "Warphole", VT(0, 0, 0)) | |
3535 | ROOT.CFrame = CF(O2.Position, RootPart.Position) | |
3536 | CreateSound("814168787", O1, 10, 0.7) | |
3537 | CreateSound("814168787", O2, 10, 0.7) | |
3538 | for i = 1, 75 do | |
3539 | Swait() | |
3540 | O1.Size = O1.Size + VT(0.15, 0, 0.15) | |
3541 | O1.CFrame = RootPart.CFrame * CF(0, 0, -3) * ANGLES(RAD(90), RAD(i), RAD(0)) | |
3542 | O2.Size = O2.Size + VT(0.15, 0, 0.15) | |
3543 | O2.CFrame = O2.CFrame * ANGLES(RAD(0), RAD(i), RAD(0)) | |
3544 | RootJoint.C0 = Clerp(RootJoint.C0, ROOTC0 * CF(0, 0, 0 + 0.25 * COS(SINE / 12)) * ANGLES(RAD(4 + 2.5 * SIN(SINE / 12)), RAD(0), RAD(0)), 1 / Animation_Speed) | |
3545 | Neck.C0 = Clerp(Neck.C0, NECKC0 * CF(0, 0, 0) * ANGLES(RAD(5 + 6.5 * SIN(SINE / 12)), RAD(0), RAD(0)), 1 / Animation_Speed) | |
3546 | RightShoulder.C0 = Clerp(RightShoulder.C0, CF(1.5, 0.5 + 0.25 * COS(SINE / 12), 0) * ANGLES(RAD(140), RAD(0 - 2.5 * SIN(SINE / 12)), RAD(25 + 7.5 * SIN(SINE / 12))) * RIGHTSHOULDERC0, 1 / Animation_Speed) | |
3547 | LeftShoulder.C0 = Clerp(LeftShoulder.C0, CF(-1.5, 0.5 + 0.25 * COS(SINE / 12), 0) * ANGLES(RAD(140), RAD(0 + 2.5 * SIN(SINE / 12)), RAD(-25 - 7.5 * SIN(SINE / 12))) * LEFTSHOULDERC0, 1 / Animation_Speed) | |
3548 | RightHip.C0 = Clerp(RightHip.C0, CF(1, -1, -0.01) * ANGLES(RAD(-4.5 * SIN(SINE / 12)), RAD(75), RAD(0)) * ANGLES(RAD(-8 - 5.5 * SIN(SINE / 12)), RAD(0), RAD(0)), 1 / Animation_Speed) | |
3549 | LeftHip.C0 = Clerp(LeftHip.C0, CF(-1, -0.5, -0.5) * ANGLES(RAD(-4.5 * SIN(SINE / 12)), RAD(-90), RAD(0)) * ANGLES(RAD(-8 - 5.5 * SIN(SINE / 12)), RAD(0), RAD(0)), 1 / Animation_Speed) | |
3550 | end | |
3551 | Rooted = true | |
3552 | UNANCHOR = false | |
3553 | RootPart.Anchored = true | |
3554 | VALUE1 = true | |
3555 | local RANDOMEFFECT = MRANDOM(1,1) | |
3556 | if RANDOMEFFECT == 1 then | |
3557 | for i = 1, 10 do | |
3558 | wait(0.15) | |
3559 | WACKYEFFECT({Time = 15, EffectType = "Sphere", Size = VT(0,0,0), Size2 = VT(3,8,3), Transparency = 0, Transparency2 = 1, CFrame = O2.CFrame*CF(0,0.3,0), MoveToPos = O2.Position+VT(0,6,0), RotationX = 0, RotationY = 0, RotationZ = 0, Material = "Neon", Color = C3(0,0,0), SoundID = 90655239, SoundPitch = 0.8, SoundVolume = 6}) | |
3560 | coroutine.resume(coroutine.create(function() | |
3561 | local MINION = CLONE:Clone() | |
3562 | MINION.Parent = Effects | |
3563 | MINION.Name = "Shadow" | |
3564 | MINION.HumanoidRootPart.CFrame = O2.CFrame*CF(0,5,0) * ANGLES(RAD(0), RAD(MRANDOM(0,360)), RAD(0)) | |
3565 | MINION.HumanoidRootPart.Velocity = CF(MINION.HumanoidRootPart.Position,MINION.HumanoidRootPart.CFrame*CF(0,8,-15).p).lookVector*MRANDOM(55,100) | |
3566 | for _, c in pairs(MINION:GetChildren()) do | |
3567 | if c.ClassName == "Part" then | |
3568 | c.Material = "Neon" | |
3569 | c.Color = C3(0,0,0) | |
3570 | c.Transparency = 0.25 | |
3571 | if c.Name == "Head" then | |
3572 | c:ClearAllChildren() | |
3573 | local MSH = IT("BlockMesh",c) | |
3574 | MSH.Scale = VT(0.5,1,1) | |
3575 | end | |
3576 | end | |
3577 | end | |
3578 | local TORSO = MINION.Torso | |
3579 | local HUMAN = MINION.Humanoid | |
3580 | HUMAN.WalkSpeed = 20 | |
3581 | HUMAN.MaxHealth = math.huge | |
3582 | HUMAN.Health = math.huge | |
3583 | HUMAN.DisplayDistanceType = "None" | |
3584 | HUMAN.Died:connect(function() | |
3585 | MINION:remove() | |
3586 | --CreateSound(SHOUTS[MRANDOM(1,3)], TORSO, 3, 0.5, false) | |
3587 | end) | |
3588 | wait(1) | |
3589 | local findNearestTorso = function(POS) | |
3590 | local list = game.Workspace:GetDescendants() | |
3591 | local torso = nil | |
3592 | local dist = 500 | |
3593 | local temp = nil | |
3594 | local human = nil | |
3595 | local temp2 = nil | |
3596 | for x = 1, #list do | |
3597 | temp2 = list[x] | |
3598 | if (temp2.className == "Model") and (temp2 ~= Character) and (temp2.Parent ~= Effects) then | |
3599 | temp = temp2:findFirstChild("Torso") or temp2:findFirstChild("UpperTorso") | |
3600 | human = temp2:findFirstChildOfClass("Humanoid") | |
3601 | if (temp ~= nil) and (human ~= nil) and (human.Health > 0) then | |
3602 | if (temp.Position - POS).magnitude < dist then | |
3603 | torso = temp | |
3604 | dist = (temp.Position - POS).magnitude | |
3605 | end | |
3606 | end | |
3607 | end | |
3608 | end | |
3609 | return torso, dist | |
3610 | end | |
3611 | for i = 1, 20 do | |
3612 | if HUMAN.Health == 0 then | |
3613 | break | |
3614 | end | |
3615 | wait(0.3) | |
3616 | local target,dist= findNearestTorso(TORSO.Position) | |
3617 | if target then | |
3618 | HUMAN:MoveTo(target.Position) | |
3619 | if dist < 25 then | |
3620 | CreateSound(348663022, TORSO, 10, 1, true) | |
3621 | wait(2) | |
3622 | local ANIM = HUMAN:LoadAnimation(ATANIM) | |
3623 | ANIM:Play() | |
3624 | --CreateSound(SHOUTS[MRANDOM(1,3)], TORSO, 1, 1, false) | |
3625 | killnearest(TORSO.Position,10,85) | |
3626 | WACKYEFFECT({Time = 15, EffectType = "Sphere", Size = VT(5,5,5), Size2 = VT(25,25,25), Transparency = 0, Transparency2 = 1, CFrame = TORSO.CFrame, MoveToPos = nil, RotationX = 0, RotationY = 0, RotationZ = 0, Material = "Neon", Color = SKILLTEXTCOLOR, SoundID = 201858087, SoundPitch = 0.8, SoundVolume = 10}) | |
3627 | for i = 1, 5 do | |
3628 | WACKYEFFECT({Time = 75, EffectType = "Wave", Size = VT(5,0,5)*SIZE, Size2 = VT(15,1,15), Transparency = 0.5, Transparency2 = 1, CFrame = TORSO.CFrame * ANGLES(RAD(MRANDOM(0,360)), RAD(MRANDOM(0,360)), RAD(MRANDOM(0,360))), MoveToPos = nil, RotationX = 0, RotationY = MRANDOM(-15,15)/7.5, RotationZ = 0, Material = "Neon", Color = C3(0,0,0), SoundID = nil, SoundPitch = 0.5, SoundVolume = 6}) | |
3629 | end | |
3630 | break | |
3631 | end | |
3632 | end | |
3633 | end | |
3634 | MINION:remove() | |
3635 | end)) | |
3636 | end | |
3637 | end | |
3638 | VALUE1 = false | |
3639 | coroutine.resume(coroutine.create(function() | |
3640 | for i = 1, 75 do | |
3641 | Swait() | |
3642 | O1.Size = O1.Size - VT(0.15, 0, 0.15) | |
3643 | O1.CFrame = O1.CFrame * ANGLES(RAD(0), RAD(i), RAD(0)) | |
3644 | O2.Size = O2.Size - VT(0.15, 0, 0.15) | |
3645 | O2.CFrame = O2.CFrame * ANGLES(RAD(0), RAD(i), RAD(0)) | |
3646 | end | |
3647 | O1:remove() | |
3648 | O2:remove() | |
3649 | end)) | |
3650 | UNANCHOR = true | |
3651 | RootPart.Anchored = false | |
3652 | ATTACK = false | |
3653 | Rooted = false | |
3654 | end | |
3655 | end | |
3656 | ||
3657 | function Dark_Cutter() | |
3658 | local HITFLOOR,HITPOS,NORMAL = Raycast(RootPart.Position, (CF(RootPart.Position, RootPart.Position + VT(0, -1, 0))).lookVector, 7 * Player_Size, Character) | |
3659 | if HITFLOOR ~= nil then | |
3660 | ATTACK = true | |
3661 | Rooted = true | |
3662 | local GYRO = IT("BodyGyro",RootPart) | |
3663 | GYRO.D = 100 | |
3664 | GYRO.P = 2000 | |
3665 | GYRO.MaxTorque = VT(0,4000000,0) | |
3666 | GYRO.cframe = CF(RootPart.Position,Mouse.Hit.p) | |
3667 | CreateSound("429459101", RightArm, 10, 0.8) | |
3668 | for i=0, 3.5, 0.1 / Animation_Speed do | |
3669 | Swait() | |
3670 | GYRO.cframe = CF(RootPart.Position,Mouse.Hit.p) | |
3671 | Slice("Thin",0.3,5,RightArm.CFrame * CF(0,-1.1,0) * ANGLES(RAD(MRANDOM(-180,180)),RAD(MRANDOM(-180,180)),RAD(MRANDOM(-180,180))),"Really black",VT(-0.01,0,-0.01)) | |
3672 | RootJoint.C0 = Clerp(RootJoint.C0,ROOTC0 * CF(0, 0, 0 + 0.25 * COS(SINE / 12)) * ANGLES(RAD(4 + 2.5 * SIN(SINE / 12)), RAD(0), RAD(-15 + 2.5 * SIN(SINE / 12))), 1 / Animation_Speed) | |
3673 | Neck.C0 = Clerp(Neck.C0, NECKC0 * CF(0, 0, 0 + ((1) - 1)) * ANGLES(RAD(0 + 4.5 * SIN(SINE / 12)), RAD(0), RAD(15 - 2.5 * SIN(SINE / 12))), 1 / Animation_Speed) | |
3674 | RightShoulder.C0 = Clerp(RightShoulder.C0, CF(1.5, 0.5 + 0.25 * COS(SINE / 12), 0) * ANGLES(RAD(-45), RAD(0 - 7.5 * SIN(SINE / 12)), RAD(32 + 7.5 * SIN(SINE / 12))) * RIGHTSHOULDERC0, 1 / Animation_Speed) | |
3675 | LeftShoulder.C0 = Clerp(LeftShoulder.C0, CF(-1.5, 0.5 + 0.25 * COS(SINE / 12), 0) * ANGLES(RAD(5), RAD(0 + 7.5 * SIN(SINE / 12)), RAD(-12 - 7.5 * SIN(SINE / 12))) * LEFTSHOULDERC0, 1 / Animation_Speed) | |
3676 | RightHip.C0 = Clerp(RightHip.C0, CF(1, -1, -0.01) * ANGLES(RAD(-7.5 * SIN(SINE / 12)), RAD(75), RAD(0)) * ANGLES(RAD(-8 - 2.5 * SIN(SINE / 12)), RAD(0), RAD(0)), 1 / Animation_Speed) | |
3677 | LeftHip.C0 = Clerp(LeftHip.C0, CF(-1, -0.5, -0.5) * ANGLES(RAD(-7.5 * SIN(SINE / 12)), RAD(-90), RAD(0)) * ANGLES(RAD(-8 - 2.5 * SIN(SINE / 12)), RAD(0), RAD(0)), 1 / Animation_Speed) | |
3678 | end | |
3679 | GYRO:remove() | |
3680 | for i=0, 0.15, 0.1 / Animation_Speed do | |
3681 | Swait() | |
3682 | GYRO.cframe = CF(RootPart.Position,Mouse.Hit.p) | |
3683 | Slice("Thin",0.3,5,RightArm.CFrame * CF(0,-1.1,0) * ANGLES(RAD(MRANDOM(-180,180)),RAD(MRANDOM(-180,180)),RAD(MRANDOM(-180,180))),"Really black",VT(-0.01,0,-0.01)) | |
3684 | RootJoint.C0 = Clerp(RootJoint.C0,ROOTC0 * CF(0, 0, 0 + 0.25 * COS(SINE / 12)) * ANGLES(RAD(4 + 2.5 * SIN(SINE / 12)), RAD(0), RAD(85 + 2.5 * SIN(SINE / 12))), 1 / Animation_Speed) | |
3685 | Neck.C0 = Clerp(Neck.C0, NECKC0 * CF(0, 0, 0 + ((1) - 1)) * ANGLES(RAD(0 + 4.5 * SIN(SINE / 12)), RAD(0), RAD(-85 - 2.5 * SIN(SINE / 12))), 1 / Animation_Speed) | |
3686 | RightShoulder.C0 = Clerp(RightShoulder.C0, CF(1.5, 0.5 + 0.25 * COS(SINE / 12), 0) * ANGLES(RAD(0), RAD(0 - 7.5 * SIN(SINE / 12)), RAD(90 + 7.5 * SIN(SINE / 12))) * RIGHTSHOULDERC0, 1 / Animation_Speed) | |
3687 | LeftShoulder.C0 = Clerp(LeftShoulder.C0, CF(-1.5, 0.5 + 0.25 * COS(SINE / 12), 0) * ANGLES(RAD(5), RAD(0 + 7.5 * SIN(SINE / 12)), RAD(-12 - 7.5 * SIN(SINE / 12))) * LEFTSHOULDERC0, 1 / Animation_Speed) | |
3688 | RightHip.C0 = Clerp(RightHip.C0, CF(1, -1, -0.01) * ANGLES(RAD(-7.5 * SIN(SINE / 12)), RAD(75), RAD(0)) * ANGLES(RAD(-8 - 2.5 * SIN(SINE / 12)), RAD(0), RAD(0)), 1 / Animation_Speed) | |
3689 | LeftHip.C0 = Clerp(LeftHip.C0, CF(-1, -0.5, -0.5) * ANGLES(RAD(-7.5 * SIN(SINE / 12)), RAD(-90), RAD(0)) * ANGLES(RAD(-8 - 2.5 * SIN(SINE / 12)), RAD(0), RAD(0)), 1 / Animation_Speed) | |
3690 | end | |
3691 | local BOMBSPOTS = {} | |
3692 | for i = 1, 100 do | |
3693 | local SPOT = CreatePart(3, Effects, "Neon", 0, 0, "Really black", "Blade", VT(16,1,16)) | |
3694 | SPOT.CFrame = RootPart.CFrame*CF((MRANDOM(-15,15)/40)*i,-5,-i*5) | |
3695 | table.insert(BOMBSPOTS,SPOT) | |
3696 | MakeForm(SPOT,"Cyl") | |
3697 | end | |
3698 | for i=0, 0.2, 0.1 / Animation_Speed do | |
3699 | Swait() | |
3700 | RootJoint.C0 = Clerp(RootJoint.C0,ROOTC0 * CF(0, 0, 0 + 0.25 * COS(SINE / 12)) * ANGLES(RAD(4 + 2.5 * SIN(SINE / 12)), RAD(0), RAD(85 + 2.5 * SIN(SINE / 12))), 1 / Animation_Speed) | |
3701 | Neck.C0 = Clerp(Neck.C0, NECKC0 * CF(0, 0, 0 + ((1) - 1)) * ANGLES(RAD(0 + 4.5 * SIN(SINE / 12)), RAD(0), RAD(-85 - 2.5 * SIN(SINE / 12))), 1 / Animation_Speed) | |
3702 | RightShoulder.C0 = Clerp(RightShoulder.C0, CF(1.5, 0.5 + 0.25 * COS(SINE / 12), 0) * ANGLES(RAD(145), RAD(0 - 7.5 * SIN(SINE / 12)), RAD(-15 + 7.5 * SIN(SINE / 12))) * RIGHTSHOULDERC0, 1 / Animation_Speed) | |
3703 | LeftShoulder.C0 = Clerp(LeftShoulder.C0, CF(-1.5, 0.5 + 0.25 * COS(SINE / 12), 0) * ANGLES(RAD(-25), RAD(0 + 7.5 * SIN(SINE / 12)), RAD(-12 - 7.5 * SIN(SINE / 12))) * LEFTSHOULDERC0, 1 / Animation_Speed) | |
3704 | RightHip.C0 = Clerp(RightHip.C0, CF(1, -1, -0.01) * ANGLES(RAD(-7.5 * SIN(SINE / 12)), RAD(75), RAD(0)) * ANGLES(RAD(-8 - 2.5 * SIN(SINE / 12)), RAD(0), RAD(0)), 1 / Animation_Speed) | |
3705 | LeftHip.C0 = Clerp(LeftHip.C0, CF(-1, -0.5, -0.5) * ANGLES(RAD(-7.5 * SIN(SINE / 12)), RAD(-90), RAD(0)) * ANGLES(RAD(-8 - 2.5 * SIN(SINE / 12)), RAD(0), RAD(0)), 1 / Animation_Speed) | |
3706 | end | |
3707 | ATTACK = false | |
3708 | Rooted = false | |
3709 | coroutine.resume(coroutine.create(function() | |
3710 | Swait(3) | |
3711 | for i = 1, #BOMBSPOTS do | |
3712 | if BOMBSPOTS[i] ~= nil then | |
3713 | local E = BOMBSPOTS[i] | |
3714 | coroutine.resume(coroutine.create(function() | |
3715 | local BLADE = CreatePart(3, Effects, "SmoothPlastic", 0, 1, "Really black", "Blade", VT(0,0,0)) | |
3716 | CreateMesh("SpecialMesh", BLADE, "FileMesh", "93108071", "", VT(1.2,2,0.8)*3, VT(0,0,0)) | |
3717 | CreateSound(HITWEAPONSOUNDS[MRANDOM(1,#HITWEAPONSOUNDS)], BLADE, 4, 0.6) | |
3718 | BLADE.CFrame = E.CFrame*CF(0,-3,0)*ANGLES(RAD(MRANDOM(-15,15)),RAD(90),RAD(MRANDOM(-15,15))) | |
3719 | for i = 1, 10 do | |
3720 | Swait() | |
3721 | killnearest(BLADE.Position,12,160) | |
3722 | BLADE.CFrame = BLADE.CFrame*CF(0,0.3,0) | |
3723 | BLADE.Transparency = BLADE.Transparency - 0.1 | |
3724 | end | |
3725 | Swait(45) | |
3726 | for i = 1, 100 do | |
3727 | Swait() | |
3728 | BLADE.Transparency = BLADE.Transparency + 0.01 | |
3729 | E.Transparency = E.Transparency + 0.01 | |
3730 | end | |
3731 | BLADE:remove() | |
3732 | E:remove() | |
3733 | end)) | |
3734 | end | |
3735 | end | |
3736 | end)) | |
3737 | end | |
3738 | end | |
3739 | ||
3740 | function SupernovaThrow() | |
3741 | local HITFLOOR,HITPOS,NORMAL = Raycast(RootPart.Position, (CF(RootPart.Position, RootPart.Position + VT(0, -1, 0))).lookVector, 7 * Player_Size, Character) | |
3742 | if HITFLOOR ~= nil then | |
3743 | local HITBODIES = {} | |
3744 | ATTACK = true | |
3745 | Rooted = true | |
3746 | local ABSOLUTE = CreatePart(3, Effects, "Neon", 0, 1, "Really black", "Star", VT(0,0,0)) | |
3747 | MakeForm(ABSOLUTE,"Ball") | |
3748 | CreateSound("429459101", ABSOLUTE, 10, 1) | |
3749 | for i=0, 4, 0.1 / Animation_Speed do | |
3750 | Swait() | |
3751 | ABSOLUTE.Size = ABSOLUTE.Size + VT(0.2,0.2,0.2) | |
3752 | ABSOLUTE.CFrame = RootPart.CFrame*CF(0,5+(ABSOLUTE.Size.Y/2),0) | |
3753 | ABSOLUTE.Transparency = ABSOLUTE.Transparency - 0.01 | |
3754 | RootJoint.C0 = Clerp(RootJoint.C0,ROOTC0 * CF(0, 0, 0 + 0.25 * COS(SINE / 12)) * ANGLES(RAD(4 + 2.5 * SIN(SINE / 12)), RAD(0), RAD(15 + 2.5 * SIN(SINE / 12))), 1 / Animation_Speed) | |
3755 | Neck.C0 = Clerp(Neck.C0, NECKC0 * CF(0, 0, 0 + ((1) - 1)) * ANGLES(RAD(-25 + 4.5 * SIN(SINE / 12)), RAD(25), RAD(-15 - 2.5 * SIN(SINE / 12))), 1 / Animation_Speed) | |
3756 | RightShoulder.C0 = Clerp(RightShoulder.C0, CF(1.25, 1.5 + 0.25 * COS(SINE / 12), 0) * ANGLES(RAD(170), RAD(0 - 7.5 * SIN(SINE / 12)), RAD(-12 + 7.5 * SIN(SINE / 12))) * RIGHTSHOULDERC0, 1 / Animation_Speed) | |
3757 | LeftShoulder.C0 = Clerp(LeftShoulder.C0, CF(-1.5, 0.5 + 0.25 * COS(SINE / 12), 0) * ANGLES(RAD(0), RAD(0 + 7.5 * SIN(SINE / 12)), RAD(-12 - 7.5 * SIN(SINE / 12))) * LEFTSHOULDERC0, 1 / Animation_Speed) | |
3758 | RightHip.C0 = Clerp(RightHip.C0, CF(1, -1, -0.01) * ANGLES(RAD(-7.5 * SIN(SINE / 12)), RAD(75), RAD(0)) * ANGLES(RAD(-8 - 2.5 * SIN(SINE / 12)), RAD(0), RAD(0)), 1 / Animation_Speed) | |
3759 | LeftHip.C0 = Clerp(LeftHip.C0, CF(-1, -0.5, -0.5) * ANGLES(RAD(-7.5 * SIN(SINE / 12)), RAD(-90), RAD(0)) * ANGLES(RAD(-8 - 2.5 * SIN(SINE / 12)), RAD(0), RAD(0)), 1 / Animation_Speed) | |
3760 | end | |
3761 | CreateSound("907330103", Head, 10, 1.2) | |
3762 | for i = 1, 75 do | |
3763 | Swait() | |
3764 | RootJoint.C0 = Clerp(RootJoint.C0,ROOTC0 * CF(0, 0, 0 + 0.25 * COS(SINE / 12)) * ANGLES(RAD(4 + 2.5 * SIN(SINE / 12)), RAD(0), RAD(15 + 2.5 * SIN(SINE / 12))), 1 / Animation_Speed) | |
3765 | Neck.C0 = Clerp(Neck.C0, NECKC0 * CF(0, 0, 0 + ((1) - 1)) * ANGLES(RAD(-25 + 4.5 * SIN(SINE / 12)), RAD(25), RAD(-15 - 2.5 * SIN(SINE / 12))), 1 / Animation_Speed) | |
3766 | RightShoulder.C0 = Clerp(RightShoulder.C0, CF(1.25, 1.5 + 0.25 * COS(SINE / 12), 0) * ANGLES(RAD(170), RAD(0 - 7.5 * SIN(SINE / 12)), RAD(-12 + 7.5 * SIN(SINE / 12))) * RIGHTSHOULDERC0, 1 / Animation_Speed) | |
3767 | LeftShoulder.C0 = Clerp(LeftShoulder.C0, CF(-1.5, 0.5 + 0.25 * COS(SINE / 12), 0) * ANGLES(RAD(0), RAD(0 + 7.5 * SIN(SINE / 12)), RAD(-12 - 7.5 * SIN(SINE / 12))) * LEFTSHOULDERC0, 1 / Animation_Speed) | |
3768 | RightHip.C0 = Clerp(RightHip.C0, CF(1, -1, -0.01) * ANGLES(RAD(-7.5 * SIN(SINE / 12)), RAD(75), RAD(0)) * ANGLES(RAD(-8 - 2.5 * SIN(SINE / 12)), RAD(0), RAD(0)), 1 / Animation_Speed) | |
3769 | LeftHip.C0 = Clerp(LeftHip.C0, CF(-1, -0.5, -0.5) * ANGLES(RAD(-7.5 * SIN(SINE / 12)), RAD(-90), RAD(0)) * ANGLES(RAD(-8 - 2.5 * SIN(SINE / 12)), RAD(0), RAD(0)), 1 / Animation_Speed) | |
3770 | end | |
3771 | coroutine.resume(coroutine.create(function() | |
3772 | ABSOLUTE.CFrame = CF(ABSOLUTE.Position, Mouse.Hit.p) | |
3773 | for i = 1, 500 do | |
3774 | Swait() | |
3775 | ABSOLUTE.CFrame = ABSOLUTE.CFrame * CF(0, 0, -2) | |
3776 | local HITFLOOR, HITPOS = Raycast(ABSOLUTE.Position, ABSOLUTE.CFrame.lookVector, 2.2, Character) | |
3777 | if HITFLOOR ~= nil then | |
3778 | break | |
3779 | end | |
3780 | end | |
3781 | for i = 1, 13 do | |
3782 | for e = 1, 8 do | |
3783 | Swait() | |
3784 | CreateSwirl(ABSOLUTE.Size/2,15,CF(HITPOS),true,15,BRICKC"Slime green".Color,VT(i,0.3,i)*2) | |
3785 | end | |
3786 | for i = 1, 5 do | |
3787 | Slice("Round",0,35,CF(ABSOLUTE.Position)*ANGLES(RAD(MRANDOM(-18,18)),RAD(MRANDOM(-180,180)),RAD(MRANDOM(-18,18))),C3(1,1,1),VT(i,0,i)/3) | |
3788 | Slice("Thin",i,55,ABSOLUTE.CFrame * CF(0,-1.1,0) * ANGLES(RAD(MRANDOM(-180,180)),RAD(MRANDOM(-180,180)),RAD(MRANDOM(-180,180))),C3(1,0,0),VT(0,0,0)) | |
3789 | end | |
3790 | CreateSwirl(ABSOLUTE.Size/2,25,CF(ABSOLUTE.Position),true,-25,BRICKC"Relly red".Color,VT(i,i*2,i)) | |
3791 | CreateSwirl(ABSOLUTE.Size/2,55,CF(ABSOLUTE.Position),true,25,C3(0.05,0.05,0.05),VT(i,i*2,i)) | |
3792 | CreateSound("168586621", ABSOLUTE, 4, 0.8) | |
3793 | CreateSound("201858144", ABSOLUTE, 10, 0.8) | |
3794 | killnearest(ABSOLUTE.Position,i*18,i) | |
3795 | ABSOLUTE.Size = ABSOLUTE.Size*0.9 | |
3796 | MagicSphere(ABSOLUTE.Size,25,CF(ABSOLUTE.Position),BRICKC"Relly red".Color,VT(i,i,i)/1.1) | |
3797 | MagicSphere(ABSOLUTE.Size,45,CF(ABSOLUTE.Position),C3(0.05,0.05,0.05),VT(i,i,i)) | |
3798 | end | |
3799 | ABSOLUTE.Transparency = 1 | |
3800 | Debris:AddItem(ABSOLUTE,10) | |
3801 | end)) | |
3802 | ATTACK = false | |
3803 | Rooted = false | |
3804 | end | |
3805 | end | |
3806 | ||
3807 | function Dark_Blast() | |
3808 | local HITBODIES = {} | |
3809 | local CENTER = CreatePart(3, Effects, "SmoothPlastic", 0, 1, "Relly red", "CenterPart", VT(0,0,0)) | |
3810 | local HITFLOOR,ECH,NORMAL = Raycast(Mouse.Hit.p+VT(0,2,0), (CF(Mouse.Hit.p, Mouse.Hit.p + VT(0, -1, 0))).lookVector, 10000000, Character) | |
3811 | CENTER.CFrame = CF(ECH) | |
3812 | local RAY = CreatePart(3, Effects, "Neon", 0, 1, "Relly red", "Laser01", VT(25,99999,25)) | |
3813 | RAY.Color = C3(0.05,0.05,0.05) | |
3814 | MakeForm(RAY,"Cyl") | |
3815 | RAY.CFrame = CF(ECH) | |
3816 | for i = 1, 75 do | |
3817 | Swait() | |
3818 | RAY.Transparency = RAY.Transparency - 1/75 | |
3819 | RAY.Size = RAY.Size - VT(25/75,0,25/75) | |
3820 | end | |
3821 | killnearest(ECH,50,25) | |
3822 | MagicSphere(VT(0,0,0),55,CF(ECH),C3(0.05,0.05,0.05),VT(2,2,2)) | |
3823 | for i = 1, 50 do | |
3824 | end | |
3825 | CreateSound("1222405264", CENTER, 10, 0.8) | |
3826 | RAY:remove() | |
3827 | Debris:AddItem(CENTER,5) | |
3828 | end | |
3829 | ||
3830 | function Banisher_Bullet() | |
3831 | ATTACK = true | |
3832 | Rooted = false | |
3833 | for i=0, 0.4, 0.1 / Animation_Speed do | |
3834 | Swait() | |
3835 | turnto(Mouse.Hit.p) | |
3836 | RootJoint.C0 = Clerp(RootJoint.C0,ROOTC0 * CF(0, 0, 0 + 0.25 * COS(SINE / 12)) * ANGLES(RAD(4 + 2.5 * SIN(SINE / 12)), RAD(0), RAD(5 + 2.5 * SIN(SINE / 12))), 1 / Animation_Speed) | |
3837 | Neck.C0 = Clerp(Neck.C0, NECKC0 * CF(0, 0, 0 + ((1) - 1)) * ANGLES(RAD(0 + 4.5 * SIN(SINE / 12)), RAD(0), RAD(-5 - 2.5 * SIN(SINE / 12))), 1 / Animation_Speed) | |
3838 | RightShoulder.C0 = Clerp(RightShoulder.C0, CF(1.5, 0.5, 0) * ANGLES(RAD(90), RAD(0), RAD(0)) * RIGHTSHOULDERC0, 0.15 / Animation_Speed) | |
3839 | LeftShoulder.C0 = Clerp(LeftShoulder.C0, CF(-1.15, 0.15 + 0.05 * COS(SINE / 12), 0.5) * ANGLES(RAD(-45), RAD(0 + 2.5 * SIN(SINE / 12)), RAD(45 - 7.5 * SIN(SINE / 12))) * LEFTSHOULDERC0, 1 / Animation_Speed) | |
3840 | RightHip.C0 = Clerp(RightHip.C0, CF(1, -1, -0.01) * ANGLES(RAD(-2.5 * SIN(SINE / 12)), RAD(75), RAD(0)) * ANGLES(RAD(-8 - 2.5 * SIN(SINE / 12)), RAD(0), RAD(0)), 1 / Animation_Speed) | |
3841 | LeftHip.C0 = Clerp(LeftHip.C0, CF(-1, -0.5, -0.5) * ANGLES(RAD(-2.5 * SIN(SINE / 12)), RAD(-90), RAD(0)) * ANGLES(RAD(-8 - 2.5 * SIN(SINE / 12)), RAD(0), RAD(0)), 1 / Animation_Speed) | |
3842 | end | |
3843 | repeat | |
3844 | for i=0, 0.2, 0.1 / Animation_Speed do | |
3845 | Swait() | |
3846 | turnto(Mouse.Hit.p) | |
3847 | RootJoint.C0 = Clerp(RootJoint.C0,ROOTC0 * CF(0, 0, 0 + 0.25 * COS(SINE / 12)) * ANGLES(RAD(4 + 2.5 * SIN(SINE / 12)), RAD(0), RAD(5 + 2.5 * SIN(SINE / 12))), 1 / Animation_Speed) | |
3848 | Neck.C0 = Clerp(Neck.C0, NECKC0 * CF(0, 0, 0 + ((1) - 1)) * ANGLES(RAD(0 + 4.5 * SIN(SINE / 12)), RAD(0), RAD(-5 - 2.5 * SIN(SINE / 12))), 1 / Animation_Speed) | |
3849 | RightShoulder.C0 = Clerp(RightShoulder.C0, CF(1.5, 0.5, 0) * ANGLES(RAD(90), RAD(0), RAD(0)) * RIGHTSHOULDERC0, 0.15 / Animation_Speed) | |
3850 | LeftShoulder.C0 = Clerp(LeftShoulder.C0, CF(-1.15, 0.15 + 0.05 * COS(SINE / 12), 0.5) * ANGLES(RAD(-45), RAD(0 + 2.5 * SIN(SINE / 12)), RAD(45 - 7.5 * SIN(SINE / 12))) * LEFTSHOULDERC0, 1 / Animation_Speed) | |
3851 | RightHip.C0 = Clerp(RightHip.C0, CF(1, -1, -0.01) * ANGLES(RAD(-2.5 * SIN(SINE / 12)), RAD(75), RAD(0)) * ANGLES(RAD(-8 - 2.5 * SIN(SINE / 12)), RAD(0), RAD(0)), 1 / Animation_Speed) | |
3852 | LeftHip.C0 = Clerp(LeftHip.C0, CF(-1, -0.5, -0.5) * ANGLES(RAD(-2.5 * SIN(SINE / 12)), RAD(-90), RAD(0)) * ANGLES(RAD(-8 - 2.5 * SIN(SINE / 12)), RAD(0), RAD(0)), 1 / Animation_Speed) | |
3853 | end | |
3854 | local HIT,POS = CastProperRay(Hole2.Position, Mouse.Hit.p, 1000, Character) | |
3855 | SpawnTrail(Hole2.Position,POS) | |
3856 | if HIT ~= nil then | |
3857 | if HIT.Parent ~= workspace and HIT.Parent.ClassName ~= "Folder" then | |
3858 | Banish(HIT.Parent) | |
3859 | end | |
3860 | end | |
3861 | WACKYEFFECT({Time = 25, EffectType = "Wave", Size = VT(5,5,5), Size2 = VT(5,5,5), Transparency = 0, Transparency2 = 1, CFrame = Hole2.CFrame, MoveToPos = Hole2.CFrame*CF(0,0.5,0).p, RotationX = 0, RotationY = -15, RotationZ = 0, Material = "Neon", Color = C3(1,0,0), SoundID = nil, SoundPitch = nil, SoundVolume = nil}) | |
3862 | WACKYEFFECT({Time = 25, EffectType = "Wave", Size = VT(5,5,5), Size2 = VT(5,5,5), Transparency = 0, Transparency2 = 1, CFrame = Hole2.CFrame, MoveToPos = nil, RotationX = 0, RotationY = 5, RotationZ = 0, Material = "Neon", Color = C3(1,0,0), SoundID = 904440937, SoundPitch = MRANDOM(8,11)/10, SoundVolume = 8}) | |
3863 | WACKYEFFECT({Time = 25, EffectType = "Wave", Size = VT(5,5,5), Size2 = VT(5,5,5), Transparency = 0, Transparency2 = 1, CFrame = CF(POS,Hole2.Position) * ANGLES(RAD(-90), RAD(0), RAD(0)), MoveToPos = nil, RotationX = 0, RotationY = -5, RotationZ = 0, Material = "Neon", Color = C3(1,0,0), SoundID = nil, SoundPitch = MRANDOM(8,11)/10, SoundVolume = 8}) | |
3864 | WACKYEFFECT({Time = 25, EffectType = "Wave", Size = VT(0.3,0,0.3), Size2 = VT(2,0.5,2), Transparency = 0, Transparency2 = 1, CFrame = CF(POS,Hole2.Position) * ANGLES(RAD(-90), RAD(0), RAD(0)), MoveToPos = nil, RotationX = 0, RotationY = 5, RotationZ = 0, Material = "Neon", Color = C3(1,0,0), SoundID = nil, SoundPitch = MRANDOM(8,11)/10, SoundVolume = 8}) | |
3865 | for i=0, 0.3, 0.1 / Animation_Speed do | |
3866 | Swait() | |
3867 | RootJoint.C0 = Clerp(RootJoint.C0,ROOTC0 * CF(0, 0, 0 + 0.25 * COS(SINE / 12)) * ANGLES(RAD(4 + 2.5 * SIN(SINE / 12)), RAD(0), RAD(5 + 2.5 * SIN(SINE / 12))), 1 / Animation_Speed) | |
3868 | Neck.C0 = Clerp(Neck.C0, NECKC0 * CF(0, 0, 0 + ((1) - 1)) * ANGLES(RAD(0 + 4.5 * SIN(SINE / 12)), RAD(0), RAD(-5 - 2.5 * SIN(SINE / 12))), 1 / Animation_Speed) | |
3869 | RightShoulder.C0 = Clerp(RightShoulder.C0, CF(1.5, 0.5, 0) * ANGLES(RAD(106), RAD(0), RAD(0)) * RIGHTSHOULDERC0, 0.15 / Animation_Speed) | |
3870 | LeftShoulder.C0 = Clerp(LeftShoulder.C0, CF(-1.15, 0.15 + 0.05 * COS(SINE / 12), 0.5) * ANGLES(RAD(-45), RAD(0 + 2.5 * SIN(SINE / 12)), RAD(45 - 7.5 * SIN(SINE / 12))) * LEFTSHOULDERC0, 1 / Animation_Speed) | |
3871 | RightHip.C0 = Clerp(RightHip.C0, CF(1, -1, -0.01) * ANGLES(RAD(-2.5 * SIN(SINE / 12)), RAD(75), RAD(0)) * ANGLES(RAD(-8 - 2.5 * SIN(SINE / 12)), RAD(0), RAD(0)), 1 / Animation_Speed) | |
3872 | LeftHip.C0 = Clerp(LeftHip.C0, CF(-1, -0.5, -0.5) * ANGLES(RAD(-2.5 * SIN(SINE / 12)), RAD(-90), RAD(0)) * ANGLES(RAD(-8 - 2.5 * SIN(SINE / 12)), RAD(0), RAD(0)), 1 / Animation_Speed) | |
3873 | end | |
3874 | until KEYHOLD == false | |
3875 | ATTACK = false | |
3876 | Rooted = false | |
3877 | end | |
3878 | ||
3879 | function Dead_Bullet() | |
3880 | ATTACK = true | |
3881 | Rooted = false | |
3882 | for i=0, 0.1, 0.1 / Animation_Speed do | |
3883 | Swait() | |
3884 | turnto(Mouse.Hit.p) | |
3885 | RootJoint.C0 = Clerp(RootJoint.C0,ROOTC0 * CF(0, 0, 0 + 0.25 * COS(SINE / 12)) * ANGLES(RAD(4 + 2.5 * SIN(SINE / 12)), RAD(0), RAD(5 + 2.5 * SIN(SINE / 12))), 1 / Animation_Speed) | |
3886 | Neck.C0 = Clerp(Neck.C0, NECKC0 * CF(0, 0, 0 + ((1) - 1)) * ANGLES(RAD(0 + 4.5 * SIN(SINE / 12)), RAD(0), RAD(-5 - 2.5 * SIN(SINE / 12))), 1 / Animation_Speed) | |
3887 | RightShoulder.C0 = Clerp(RightShoulder.C0, CF(1.5, 0.5, 0) * ANGLES(RAD(90), RAD(0), RAD(0)) * RIGHTSHOULDERC0, 0.15 / Animation_Speed) | |
3888 | LeftShoulder.C0 = Clerp(LeftShoulder.C0, CF(-1.15, 0.15 + 0.05 * COS(SINE / 12), 0.5) * ANGLES(RAD(-45), RAD(0 + 2.5 * SIN(SINE / 12)), RAD(45 - 7.5 * SIN(SINE / 12))) * LEFTSHOULDERC0, 1 / Animation_Speed) | |
3889 | RightHip.C0 = Clerp(RightHip.C0, CF(1, -1, -0.01) * ANGLES(RAD(-2.5 * SIN(SINE / 12)), RAD(75), RAD(0)) * ANGLES(RAD(-8 - 2.5 * SIN(SINE / 12)), RAD(0), RAD(0)), 1 / Animation_Speed) | |
3890 | LeftHip.C0 = Clerp(LeftHip.C0, CF(-1, -0.5, -0.5) * ANGLES(RAD(-2.5 * SIN(SINE / 12)), RAD(-90), RAD(0)) * ANGLES(RAD(-8 - 2.5 * SIN(SINE / 12)), RAD(0), RAD(0)), 1 / Animation_Speed) | |
3891 | end | |
3892 | repeat | |
3893 | for i=0, 0.1, 0.1 / Animation_Speed do | |
3894 | Swait() | |
3895 | turnto(Mouse.Hit.p) | |
3896 | RootJoint.C0 = Clerp(RootJoint.C0,ROOTC0 * CF(0, 0, 0 + 0.25 * COS(SINE / 12)) * ANGLES(RAD(4 + 2.5 * SIN(SINE / 12)), RAD(0), RAD(5 + 2.5 * SIN(SINE / 12))), 1 / Animation_Speed) | |
3897 | Neck.C0 = Clerp(Neck.C0, NECKC0 * CF(0, 0, 0 + ((1) - 1)) * ANGLES(RAD(0 + 4.5 * SIN(SINE / 12)), RAD(0), RAD(-5 - 2.5 * SIN(SINE / 12))), 1 / Animation_Speed) | |
3898 | RightShoulder.C0 = Clerp(RightShoulder.C0, CF(1.5, 0.5, 0) * ANGLES(RAD(90), RAD(0), RAD(0)) * RIGHTSHOULDERC0, 0.15 / Animation_Speed) | |
3899 | LeftShoulder.C0 = Clerp(LeftShoulder.C0, CF(-1.15, 0.15 + 0.05 * COS(SINE / 12), 0.5) * ANGLES(RAD(-45), RAD(0 + 2.5 * SIN(SINE / 12)), RAD(45 - 7.5 * SIN(SINE / 12))) * LEFTSHOULDERC0, 1 / Animation_Speed) | |
3900 | RightHip.C0 = Clerp(RightHip.C0, CF(1, -1, -0.01) * ANGLES(RAD(-2.5 * SIN(SINE / 12)), RAD(75), RAD(0)) * ANGLES(RAD(-8 - 2.5 * SIN(SINE / 12)), RAD(0), RAD(0)), 1 / Animation_Speed) | |
3901 | LeftHip.C0 = Clerp(LeftHip.C0, CF(-1, -0.5, -0.5) * ANGLES(RAD(-2.5 * SIN(SINE / 12)), RAD(-90), RAD(0)) * ANGLES(RAD(-8 - 2.5 * SIN(SINE / 12)), RAD(0), RAD(0)), 1 / Animation_Speed) | |
3902 | end | |
3903 | local HIT,POS = CastProperRay(RightHole.Position, Mouse.Hit.p, 1000, Character) | |
3904 | SpawnTrail(RightHole.Position,POS) | |
3905 | if HIT ~= nil then | |
3906 | if HIT.Parent ~= workspace and HIT.Parent.ClassName ~= "Folder" then | |
3907 | Banish(HIT.Parent) | |
3908 | end | |
3909 | end | |
3910 | WACKYEFFECT({Time = 25, EffectType = "Wave", Size = VT(5,5,5), Size2 = VT(5,5,5), Transparency = 0, Transparency2 = 1, CFrame = RightHole.CFrame, MoveToPos = RightHole.CFrame*CF(0,0.5,0).p, RotationX = 0, RotationY = -15, RotationZ = 0, Material = "Neon", Color = C3(1,0,0), SoundID = nil, SoundPitch = nil, SoundVolume = nil}) | |
3911 | WACKYEFFECT({Time = 25, EffectType = "Wave", Size = VT(5,5,5), Size2 = VT(5,5,5), Transparency = 0, Transparency2 = 1, CFrame = RightHole.CFrame, MoveToPos = nil, RotationX = 0, RotationY = 5, RotationZ = 0, Material = "Neon", Color = C3(1,0,0), SoundID = 145080998, SoundPitch = MRANDOM(8,11)/10, SoundVolume = 8}) | |
3912 | WACKYEFFECT({Time = 25, EffectType = "Wave", Size = VT(5,5,5), Size2 = VT(5,5,5), Transparency = 0, Transparency2 = 1, CFrame = CF(POS,RightHole.Position) * ANGLES(RAD(-90), RAD(0), RAD(0)), MoveToPos = nil, RotationX = 0, RotationY = -5, RotationZ = 0, Material = "Neon", Color = C3(1,0,0), SoundID = nil, SoundPitch = MRANDOM(8,11)/10, SoundVolume = 8}) | |
3913 | WACKYEFFECT({Time = 25, EffectType = "Wave", Size = VT(0.3,0,0.3), Size2 = VT(2,0.5,2), Transparency = 0, Transparency2 = 1, CFrame = CF(POS,RightHole.Position) * ANGLES(RAD(-90), RAD(0), RAD(0)), MoveToPos = nil, RotationX = 0, RotationY = 5, RotationZ = 0, Material = "Neon", Color = C3(1,0,0), SoundID = nil, SoundPitch = MRANDOM(8,11)/10, SoundVolume = 8}) | |
3914 | for i=0, 0.1, 0.1 / Animation_Speed do | |
3915 | Swait() | |
3916 | RootJoint.C0 = Clerp(RootJoint.C0,ROOTC0 * CF(0, 0, 0 + 0.25 * COS(SINE / 12)) * ANGLES(RAD(4 + 2.5 * SIN(SINE / 12)), RAD(0), RAD(5 + 2.5 * SIN(SINE / 12))), 1 / Animation_Speed) | |
3917 | Neck.C0 = Clerp(Neck.C0, NECKC0 * CF(0, 0, 0 + ((1) - 1)) * ANGLES(RAD(0 + 4.5 * SIN(SINE / 12)), RAD(0), RAD(-5 - 2.5 * SIN(SINE / 12))), 1 / Animation_Speed) | |
3918 | RightShoulder.C0 = Clerp(RightShoulder.C0, CF(1.5, 0.5, 0) * ANGLES(RAD(106), RAD(0), RAD(0)) * RIGHTSHOULDERC0, 0.15 / Animation_Speed) | |
3919 | LeftShoulder.C0 = Clerp(LeftShoulder.C0, CF(-1.15, 0.15 + 0.05 * COS(SINE / 12), 0.5) * ANGLES(RAD(-45), RAD(0 + 2.5 * SIN(SINE / 12)), RAD(45 - 7.5 * SIN(SINE / 12))) * LEFTSHOULDERC0, 1 / Animation_Speed) | |
3920 | RightHip.C0 = Clerp(RightHip.C0, CF(1, -1, -0.01) * ANGLES(RAD(-2.5 * SIN(SINE / 12)), RAD(75), RAD(0)) * ANGLES(RAD(-8 - 2.5 * SIN(SINE / 12)), RAD(0), RAD(0)), 1 / Animation_Speed) | |
3921 | LeftHip.C0 = Clerp(LeftHip.C0, CF(-1, -0.5, -0.5) * ANGLES(RAD(-2.5 * SIN(SINE / 12)), RAD(-90), RAD(0)) * ANGLES(RAD(-8 - 2.5 * SIN(SINE / 12)), RAD(0), RAD(0)), 1 / Animation_Speed) | |
3922 | end | |
3923 | until KEYHOLD == false | |
3924 | ATTACK = false | |
3925 | Rooted = false | |
3926 | end | |
3927 | ||
3928 | function Ruler2() | |
3929 | local HITFLOOR, HITPOS, NORMAL = Raycast(RootPart.Position, CF(RootPart.Position, RootPart.Position + VT(0, -1, 0)).lookVector, 7 * Player_Size, Character) | |
3930 | if HITFLOOR ~= nil then | |
3931 | do | |
3932 | local HITBODIES = {} | |
3933 | ATTACK = true | |
3934 | Rooted = true | |
3935 | local ABSOLUTE = CreatePart(3, Effects, "Neon", 0, 1, "Dark red", "SuperNova", VT(0, 0, 0)) | |
3936 | MakeForm(ABSOLUTE, "Ball") | |
3937 | CreateSound("814168787", ABSOLUTE, 10, 0.3) | |
3938 | for i = 0, 4, 0.1 / Animation_Speed do | |
3939 | Swait() | |
3940 | ABSOLUTE.Size = ABSOLUTE.Size + VT(0.2, 0.2, 0.2) | |
3941 | ABSOLUTE.CFrame = RootPart.CFrame * CF(0, 5 + ABSOLUTE.Size.Y / 2, 0) | |
3942 | ABSOLUTE.Transparency = ABSOLUTE.Transparency - 0.01 | |
3943 | local CHARGE = CreatePart(3, Effects, "Neon", 0, 0, "Really red", "Star", VT(1, 1, 1)) | |
3944 | MakeForm(CHARGE, "Ball") | |
3945 | CHARGE.Color = C3(0, 0, 0) | |
3946 | CHARGE.CFrame = CF(RootPart.Position) * CF(MRANDOM(-15, 15), -6, MRANDOM(-15, 15)) | |
3947 | FireArc(CHARGE, ABSOLUTE.Position, 45, 45, true) | |
3948 | RootJoint.C0 = Clerp(RootJoint.C0, ROOTC0 * CF(0, 0, 0 + 0.25 * COS(SINE / 12)) * ANGLES(RAD(4 + 2.5 * SIN(SINE / 12)), RAD(0), RAD(15 + 2.5 * SIN(SINE / 12))), 1 / Animation_Speed) | |
3949 | Neck.C0 = Clerp(Neck.C0, NECKC0 * CF(0, 0, 0) * ANGLES(RAD(-25 + 4.5 * SIN(SINE / 12)), RAD(25), RAD(-15 - 2.5 * SIN(SINE / 12))), 1 / Animation_Speed) | |
3950 | RightShoulder.C0 = Clerp(RightShoulder.C0, CF(1.25, 1.5 + 0.25 * COS(SINE / 12), 0) * ANGLES(RAD(170), RAD(0 - 7.5 * SIN(SINE / 12)), RAD(-12 + 7.5 * SIN(SINE / 12))) * RIGHTSHOULDERC0, 1 / Animation_Speed) | |
3951 | LeftShoulder.C0 = Clerp(LeftShoulder.C0, CF(-1.15, 0.15 + 0.05 * COS(SINE / 12), 0.5) * ANGLES(RAD(-45), RAD(0 + 2.5 * SIN(SINE / 12)), RAD(45 - 7.5 * SIN(SINE / 12))) * LEFTSHOULDERC0, 1 / Animation_Speed) | |
3952 | RightHip.C0 = Clerp(RightHip.C0, CF(1, -1, -0.01) * ANGLES(RAD(-7.5 * SIN(SINE / 12)), RAD(75), RAD(0)) * ANGLES(RAD(-8 - 2.5 * SIN(SINE / 12)), RAD(0), RAD(0)), 1 / Animation_Speed) | |
3953 | LeftHip.C0 = Clerp(LeftHip.C0, CF(-1, -0.5, -0.5) * ANGLES(RAD(-7.5 * SIN(SINE / 12)), RAD(-90), RAD(0)) * ANGLES(RAD(-8 - 2.5 * SIN(SINE / 12)), RAD(0), RAD(0)), 1 / Animation_Speed) | |
3954 | end | |
3955 | CreateSound("907333406", Head, 10, 1) | |
3956 | for i = 0, 2, 0.1 / Animation_Speed do | |
3957 | Swait() | |
3958 | RootJoint.C0 = Clerp(RootJoint.C0, ROOTC0 * CF(0, 0, 0 + 0.25 * COS(SINE / 12)) * ANGLES(RAD(4 + 2.5 * SIN(SINE / 12)), RAD(0), RAD(15 + 2.5 * SIN(SINE / 12))), 1 / Animation_Speed) | |
3959 | Neck.C0 = Clerp(Neck.C0, NECKC0 * CF(0, 0, 0) * ANGLES(RAD(-25 + 4.5 * SIN(SINE / 12)), RAD(25), RAD(-15 - 2.5 * SIN(SINE / 12))), 1 / Animation_Speed) | |
3960 | RightShoulder.C0 = Clerp(RightShoulder.C0, CF(1.25, 1.5 + 0.25 * COS(SINE / 12), 0) * ANGLES(RAD(170), RAD(0 - 7.5 * SIN(SINE / 12)), RAD(-12 + 7.5 * SIN(SINE / 12))) * RIGHTSHOULDERC0, 1 / Animation_Speed) | |
3961 | LeftShoulder.C0 = Clerp(LeftShoulder.C0, CF(-1.15, 0.15 + 0.05 * COS(SINE / 12), 0.5) * ANGLES(RAD(-45), RAD(0 + 2.5 * SIN(SINE / 12)), RAD(45 - 7.5 * SIN(SINE / 12))) * LEFTSHOULDERC0, 1 / Animation_Speed) | |
3962 | RightHip.C0 = Clerp(RightHip.C0, CF(1, -1, -0.01) * ANGLES(RAD(-7.5 * SIN(SINE / 12)), RAD(75), RAD(0)) * ANGLES(RAD(-8 - 2.5 * SIN(SINE / 12)), RAD(0), RAD(0)), 1 / Animation_Speed) | |
3963 | LeftHip.C0 = Clerp(LeftHip.C0, CF(-1, -0.5, -0.5) * ANGLES(RAD(-7.5 * SIN(SINE / 12)), RAD(-90), RAD(0)) * ANGLES(RAD(-8 - 2.5 * SIN(SINE / 12)), RAD(0), RAD(0)), 1 / Animation_Speed) | |
3964 | end | |
3965 | local PITS = {} | |
3966 | CreateSound("178452217", ABSOLUTE, 10, 0.7) | |
3967 | for i = 1, 6 do | |
3968 | for i = 1, 10 do | |
3969 | Swait() | |
3970 | Slice("Thin", ABSOLUTE.Size.X / 20, 15, ABSOLUTE.CFrame * ANGLES(RAD(MRANDOM(-180, 180)), RAD(MRANDOM(-180, 180)), RAD(MRANDOM(-180, 180))), "Really black", VT(-0.01, 0, -0.01)) | |
3971 | ABSOLUTE.Size = ABSOLUTE.Size * 0.9 | |
3972 | end | |
3973 | for i = 1, 10 do | |
3974 | Swait() | |
3975 | ABSOLUTE.Size = ABSOLUTE.Size * 1.12 | |
3976 | end | |
3977 | end | |
3978 | CreateSound("215395388", ABSOLUTE, 10, 0.6) | |
3979 | CreateSound("215395388", ABSOLUTE, 10, 0.65) | |
3980 | CreateSound("215395388", ABSOLUTE, 10, 0.7) | |
3981 | for i = 1, 75 do | |
3982 | Swait() | |
3983 | local ICICLE = IT("CornerWedgePart", Effects) | |
3984 | ICICLE.Locked = true | |
3985 | ICICLE.CanCollide = false | |
3986 | ICICLE.Anchored = true | |
3987 | ICICLE.Color = C3(0, 0, 0) | |
3988 | ICICLE.Material = "Neon" | |
3989 | ICICLE.Size = VT(i / 3, i * 2, i / 3) | |
3990 | ICICLE.CFrame = CF(HITPOS) * CF(MRANDOM(-ABSOLUTE.Size.X, ABSOLUTE.Size.X), 0, MRANDOM(-ABSOLUTE.Size.X / 1.5, ABSOLUTE.Size.X / 1.5)) * ANGLES(RAD(MRANDOM(-25, 25)), RAD(MRANDOM(-180, 180)), RAD(MRANDOM(-25, 25))) | |
3991 | table.insert(PITS, ICICLE) | |
3992 | killnearest(ICICLE.Position, ICICLE.Size.Y / 1.5, -100) | |
3993 | ABSOLUTE.Size = ABSOLUTE.Size * 1.03 | |
3994 | killnearest(ABSOLUTE.Position, ABSOLUTE.Size.X / 1.9, -100) | |
3995 | for i = 1, 3 do | |
3996 | Slice("Thin", ABSOLUTE.Size.X / 20, 5, ABSOLUTE.CFrame * ANGLES(RAD(MRANDOM(-180, 180)), RAD(MRANDOM(-180, 180)), RAD(MRANDOM(-180, 180))), "Really black", VT(-0.01, 0, -0.01)) | |
3997 | end | |
3998 | CreateWave(VT(ABSOLUTE.Size.X / 1.5, 35, ABSOLUTE.Size.X / 1.5), 25, CF(HITPOS) * ANGLES(RAD(0), RAD(i * 5), RAD(0)), false, 0, C3(0, 0, 0), VT(i / 3, 0, i / 3)) | |
3999 | end | |
4000 | ABSOLUTE.Transparency = 0 | |
4001 | for i = 1, 10 do | |
4002 | Swait() | |
4003 | ABSOLUTE.Size = ABSOLUTE.Size * 0.9 | |
4004 | ABSOLUTE.Transparency = ABSOLUTE.Transparency + 0.1 | |
4005 | end | |
4006 | Debris:AddItem(ABSOLUTE, 5) | |
4007 | Swait(50) | |
4008 | for i = 1, 10 do | |
4009 | Swait() | |
4010 | for e = 1, #PITS do | |
4011 | if PITS[e] ~= nil then | |
4012 | local E = PITS[e] | |
4013 | E.Transparency = E.Transparency + 0.1 | |
4014 | end | |
4015 | end | |
4016 | end | |
4017 | for e = 1, #PITS do | |
4018 | if PITS[e] ~= nil then | |
4019 | local E = PITS[e] | |
4020 | E:remove() | |
4021 | end | |
4022 | end | |
4023 | ATTACK = false | |
4024 | Rooted = false | |
4025 | end | |
4026 | end | |
4027 | end | |
4028 | ||
4029 | function Ultima_ConsummatioB() | |
4030 | local HITFLOOR, HITPOS, NORMAL = Raycast(RootPart.Position, CF(RootPart.Position, RootPart.Position + VT(0, -1, 0)).lookVector, 7, Character) | |
4031 | if HITFLOOR ~= nil then | |
4032 | do | |
4033 | local POWER = 20 | |
4034 | ATTACK = true | |
4035 | Rooted = true | |
4036 | if POWER <= 6 then | |
4037 | do | |
4038 | local CENTER = MagicRing() | |
4039 | CENTER.CFrame = CF(HITPOS + VT(0, 0.1, 0)) | |
4040 | CreateSound("424777055", CENTER, 10, 1) | |
4041 | local RAIN = {} | |
4042 | for i = 1, 65 do | |
4043 | Swait() | |
4044 | CENTER.Size = CENTER.Size + VT(POWER, 0, POWER) | |
4045 | CENTER.CFrame = CENTER.CFrame * ANGLES(RAD(0), RAD(i), RAD(0)) | |
4046 | RootJoint.C0 = Clerp(RootJoint.C0, ROOTC0 * CF(0, 0, 0 + 0.25 * COS(SINE / 12)) * ANGLES(RAD(4 + 2.5 * SIN(SINE / 12)), RAD(0), RAD(15 + 2.5 * SIN(SINE / 12))), 1 / Animation_Speed) | |
4047 | Neck.C0 = Clerp(Neck.C0, NECKC0 * CF(0, 0, 0) * ANGLES(RAD(-25 + 4.5 * SIN(SINE / 12)), RAD(25), RAD(-15 - 2.5 * SIN(SINE / 12))), 1 / Animation_Speed) | |
4048 | RightShoulder.C0 = Clerp(RightShoulder.C0, CF(1.25, 1.5 + 0.25 * COS(SINE / 12), 0) * ANGLES(RAD(170), RAD(0 - 7.5 * SIN(SINE / 12)), RAD(-12 + 7.5 * SIN(SINE / 12))) * RIGHTSHOULDERC0, 1 / Animation_Speed) | |
4049 | LeftShoulder.C0 = Clerp(LeftShoulder.C0, CF(-1.15, 0.15 + 0.05 * COS(SINE / 12), 0.5) * ANGLES(RAD(-45), RAD(0 + 2.5 * SIN(SINE / 12)), RAD(45 - 7.5 * SIN(SINE / 12))) * LEFTSHOULDERC0, 1 / Animation_Speed) | |
4050 | RightHip.C0 = Clerp(RightHip.C0, CF(1, -1, -0.01) * ANGLES(RAD(-7.5 * SIN(SINE / 12)), RAD(75), RAD(0)) * ANGLES(RAD(-8 - 2.5 * SIN(SINE / 12)), RAD(0), RAD(0)), 1 / Animation_Speed) | |
4051 | LeftHip.C0 = Clerp(LeftHip.C0, CF(-1, -0.5, -0.5) * ANGLES(RAD(-7.5 * SIN(SINE / 12)), RAD(-90), RAD(0)) * ANGLES(RAD(-8 - 2.5 * SIN(SINE / 12)), RAD(0), RAD(0)), 1 / Animation_Speed) | |
4052 | end | |
4053 | local ORB = CreatePart(3, Effects, "Neon", 0, 1, "Really red", "ORB", VT(4, 4, 4)) | |
4054 | MakeForm(ORB, "Ball") | |
4055 | CreateSound("201858045", ORB, 10, 0.5) | |
4056 | for i = 0, 5, 0.1 / Animation_Speed do | |
4057 | Swait() | |
4058 | ORB.CFrame = RootPart.CFrame * CF(0, 5 + ORB.Size.Y / 2, 0) | |
4059 | ORB.Size = ORB.Size + VT(POWER, POWER, POWER) / 10 | |
4060 | ORB.Transparency = 0 | |
4061 | local POS = HITPOS + VT(MRANDOM(-CENTER.Size.X / 3, CENTER.Size.X / 3), 0, MRANDOM(-CENTER.Size.X / 3, CENTER.Size.X / 3)) | |
4062 | local RANGE = (POS - ORB.Position).Magnitude | |
4063 | local ZAPTABLE = Zap({ | |
4064 | StartPosition = POS, | |
4065 | TargetPosition = ORB.Position, | |
4066 | Character = workspace, | |
4067 | Color = "Really red", | |
4068 | Individual = true, | |
4069 | MaxRange = RANGE, | |
4070 | SegmentLength = POWER * 2, | |
4071 | Offset = 1 | |
4072 | }) | |
4073 | Debris:AddItem(ZAPTABLE.LightningModel, 0.1) | |
4074 | RootJoint.C0 = Clerp(RootJoint.C0, ROOTC0 * CF(0, 0, 0 + 0.25 * COS(SINE / 12)) * ANGLES(RAD(4 + 2.5 * SIN(SINE / 12)), RAD(0), RAD(15 + 2.5 * SIN(SINE / 12))), 1 / Animation_Speed) | |
4075 | Neck.C0 = Clerp(Neck.C0, NECKC0 * CF(0, 0, 0) * ANGLES(RAD(-25 + 4.5 * SIN(SINE / 12)), RAD(25), RAD(-15 - 2.5 * SIN(SINE / 12))), 1 / Animation_Speed) | |
4076 | RightShoulder.C0 = Clerp(RightShoulder.C0, CF(1.25, 1.5 + 0.25 * COS(SINE / 12), 0) * ANGLES(RAD(170), RAD(0 - 7.5 * SIN(SINE / 12)), RAD(-12 + 7.5 * SIN(SINE / 12))) * RIGHTSHOULDERC0, 1 / Animation_Speed) | |
4077 | LeftShoulder.C0 = Clerp(LeftShoulder.C0, CF(-1.15, 0.15 + 0.05 * COS(SINE / 12), 0.5) * ANGLES(RAD(-45), RAD(0 + 2.5 * SIN(SINE / 12)), RAD(45 - 7.5 * SIN(SINE / 12))) * LEFTSHOULDERC0, 1 / Animation_Speed) | |
4078 | RightHip.C0 = Clerp(RightHip.C0, CF(1, -1, -0.01) * ANGLES(RAD(-7.5 * SIN(SINE / 12)), RAD(75), RAD(0)) * ANGLES(RAD(-8 - 2.5 * SIN(SINE / 12)), RAD(0), RAD(0)), 1 / Animation_Speed) | |
4079 | LeftHip.C0 = Clerp(LeftHip.C0, CF(-1, -0.5, -0.5) * ANGLES(RAD(-7.5 * SIN(SINE / 12)), RAD(-90), RAD(0)) * ANGLES(RAD(-8 - 2.5 * SIN(SINE / 12)), RAD(0), RAD(0)), 1 / Animation_Speed) | |
4080 | end | |
4081 | coroutine.resume(coroutine.create(function() | |
4082 | if POWER <= 3 then | |
4083 | local AIMPOS = Mouse.Hit.p | |
4084 | local O1 = MagicRing() | |
4085 | local O2 = MagicRing() | |
4086 | local O3 = MagicRing() | |
4087 | O1.CFrame = CF(ORB.Position, AIMPOS) * ANGLES(RAD(90), RAD(0), RAD(0)) * CF(0, -ORB.Size.X, 0) | |
4088 | O2.CFrame = CF(ORB.Position, AIMPOS) * ANGLES(RAD(90), RAD(0), RAD(0)) * CF(0, -ORB.Size.X + ORB.Size.X / 4, 0) | |
4089 | O3.CFrame = CF(ORB.Position, AIMPOS) * ANGLES(RAD(90), RAD(0), RAD(0)) * CF(0, -ORB.Size.X + ORB.Size.X / 8, 0) | |
4090 | for i = 1, 25 do | |
4091 | Swait() | |
4092 | O1.Size = O1.Size + VT(POWER, 0, POWER) | |
4093 | O2.Size = O2.Size + VT(POWER, 0, POWER) / 1.5 | |
4094 | O3.Size = O3.Size + VT(POWER, 0, POWER) / 2 | |
4095 | end | |
4096 | local DIST = (ORB.Position - AIMPOS).Magnitude | |
4097 | for i = 1, 75 do | |
4098 | Swait(3) | |
4099 | CreateRing(VT(0, 0, 0), false, 0, 45, CF(ORB.Position) * ANGLES(RAD(MRANDOM(-180, 180)), RAD(MRANDOM(-180, 180)), RAD(MRANDOM(-180, 180))), C3(1, 1, 1), VT(POWER, POWER, 0) / 5) | |
4100 | killnearest(ORB.Position, ORB.Size.X, 200) | |
4101 | local ZAPTABLE = Zap({ | |
4102 | SIZE = POWER * 2, | |
4103 | StartPosition = ORB.Position, | |
4104 | TargetPosition = AIMPOS + VT(MRANDOM(-POWER * 15, POWER * 15), 0, MRANDOM(-POWER * 15, POWER * 15)) * 2, | |
4105 | Character = Character, | |
4106 | Color = "Really red", | |
4107 | Individual = true, | |
4108 | MaxRange = POWER * 400, | |
4109 | SegmentLength = DIST / 25, | |
4110 | Offset = 3 + DIST / 350 | |
4111 | }) | |
4112 | Debris:AddItem(ZAPTABLE.LightningModel, 0.1) | |
4113 | MagicSphere(ORB.Size * 1.1, 25, CF(ZAPTABLE.RayPos), BRICKC("Really red").Color, ORB.Size / 15) | |
4114 | killnearest(ZAPTABLE.RayPos, POWER * 45, 60) | |
4115 | CreateWave(VT(ORB.Size.X, 1, ORB.Size.Z) * 5, 35, CF(ZAPTABLE.RayPos), true, 5, "Really red", -VT(ORB.Size.X / 24, 0, ORB.Size.Z / 24)) | |
4116 | end | |
4117 | local SIZE = ORB.Size | |
4118 | for i = 1, 25 do | |
4119 | Swait() | |
4120 | ORB.Size = ORB.Size - SIZE / 25 | |
4121 | O1.Size = O1.Size - VT(POWER, 0, POWER) | |
4122 | O2.Size = O2.Size - VT(POWER, 0, POWER) / 1.5 | |
4123 | O3.Size = O3.Size - VT(POWER, 0, POWER) / 2 | |
4124 | end | |
4125 | ORB:remove() | |
4126 | O1:remove() | |
4127 | O2:remove() | |
4128 | O3:remove() | |
4129 | elseif POWER > 3 or POWER == 3 then | |
4130 | local O1 = MagicRing() | |
4131 | local O2 = MagicRing() | |
4132 | local O3 = MagicRing() | |
4133 | O1.CFrame = CF(ORB.Position, Mouse.Hit.p) * ANGLES(RAD(90), RAD(0), RAD(0)) * CF(0, -ORB.Size.X, 0) | |
4134 | O2.CFrame = CF(ORB.Position, Mouse.Hit.p) * ANGLES(RAD(90), RAD(0), RAD(0)) * CF(0, -ORB.Size.X + ORB.Size.X / 4, 0) | |
4135 | O3.CFrame = CF(ORB.Position, Mouse.Hit.p) * ANGLES(RAD(90), RAD(0), RAD(0)) * CF(0, -ORB.Size.X + ORB.Size.X / 8, 0) | |
4136 | for i = 1, 25 do | |
4137 | Swait() | |
4138 | O1.CFrame = CF(ORB.Position, Mouse.Hit.p) * ANGLES(RAD(90), RAD(0), RAD(0)) * CF(0, -ORB.Size.X, 0) | |
4139 | O2.CFrame = CF(ORB.Position, Mouse.Hit.p) * ANGLES(RAD(90), RAD(0), RAD(0)) * CF(0, -ORB.Size.X + ORB.Size.X / 4, 0) | |
4140 | O3.CFrame = CF(ORB.Position, Mouse.Hit.p) * ANGLES(RAD(90), RAD(0), RAD(0)) * CF(0, -ORB.Size.X + ORB.Size.X / 8, 0) | |
4141 | O1.Size = O1.Size + VT(POWER, 0, POWER) | |
4142 | O2.Size = O2.Size + VT(POWER, 0, POWER) / 1.5 | |
4143 | O3.Size = O3.Size + VT(POWER, 0, POWER) / 2 | |
4144 | end | |
4145 | for i = 1, 75 do | |
4146 | for i = 1, 5 do | |
4147 | Swait() | |
4148 | O1.CFrame = CF(ORB.Position, Mouse.Hit.p) * ANGLES(RAD(90), RAD(0), RAD(0)) * CF(0, -ORB.Size.X, 0) | |
4149 | O2.CFrame = CF(ORB.Position, Mouse.Hit.p) * ANGLES(RAD(90), RAD(0), RAD(0)) * CF(0, -ORB.Size.X + ORB.Size.X / 4, 0) | |
4150 | O3.CFrame = CF(ORB.Position, Mouse.Hit.p) * ANGLES(RAD(90), RAD(0), RAD(0)) * CF(0, -ORB.Size.X + ORB.Size.X / 8, 0) | |
4151 | end | |
4152 | killnearest(ORB.Position, ORB.Size.X, 200) | |
4153 | CreateRing(VT(0, 0, 0), false, 0, 45, CF(ORB.Position) * ANGLES(RAD(MRANDOM(-180, 180)), RAD(MRANDOM(-180, 180)), RAD(MRANDOM(-180, 180))), C3(1, 1, 1), VT(POWER, POWER, 0) / 5) | |
4154 | local DIST = (ORB.Position - Mouse.Hit.p).Magnitude | |
4155 | local ZAPTABLE = Zap({ | |
4156 | SIZE = POWER, | |
4157 | StartPosition = ORB.Position, | |
4158 | TargetPosition = Mouse.Hit.p, | |
4159 | Character = Character, | |
4160 | Color = "Really red", | |
4161 | Individual = true, | |
4162 | MaxRange = POWER * 400, | |
4163 | SegmentLength = DIST / 25, | |
4164 | Offset = 3 + DIST / 350 | |
4165 | }) | |
4166 | Debris:AddItem(ZAPTABLE.LightningModel, 0.1) | |
4167 | MagicSphere(ORB.Size * 1.1, 25, CF(ZAPTABLE.RayPos), BRICKC("Really red").Color, ORB.Size / 15) | |
4168 | killnearest(ZAPTABLE.RayPos, POWER * 45, 60) | |
4169 | CreateWave(VT(ORB.Size.X, 1, ORB.Size.Z) * 5, 35, CF(ZAPTABLE.RayPos), true, 5, "Really red", -VT(ORB.Size.X / 24, 0, ORB.Size.Z / 24)) | |
4170 | end | |
4171 | local SIZE = ORB.Size | |
4172 | for i = 1, 25 do | |
4173 | Swait() | |
4174 | ORB.Size = ORB.Size - SIZE / 25 | |
4175 | O1.Size = O1.Size - VT(POWER, 0, POWER) | |
4176 | O2.Size = O2.Size - VT(POWER, 0, POWER) / 1.5 | |
4177 | O3.Size = O3.Size - VT(POWER, 0, POWER) / 2 | |
4178 | end | |
4179 | ORB:remove() | |
4180 | O1:remove() | |
4181 | O2:remove() | |
4182 | O3:remove() | |
4183 | end | |
4184 | coroutine.resume(coroutine.create(function() | |
4185 | for i = 1, 65 do | |
4186 | Swait() | |
4187 | CENTER.Size = CENTER.Size - VT(POWER, 0, POWER) | |
4188 | CENTER.CFrame = CENTER.CFrame * ANGLES(RAD(0), RAD(i), RAD(0)) | |
4189 | end | |
4190 | CENTER:remove() | |
4191 | end)) | |
4192 | end)) | |
4193 | end | |
4194 | elseif POWER > 6 then | |
4195 | do | |
4196 | local FINISHED = false | |
4197 | local YIN = CreatePart(3, Effects, "Neon", 0, 0, "Really black", "YIN", VT(25, 25, 25)) | |
4198 | local YAN = CreatePart(3, Effects, "Neon", 0, 0, "Really red", "YAN", VT(65, 25, 65)) | |
4199 | coroutine.resume(coroutine.create(function() | |
4200 | local LOOP = 0 | |
4201 | repeat | |
4202 | YIN.CFrame = CF(HITPOS + VT(0, 500, 0)) * ANGLES(RAD(0), RAD(LOOP), RAD(0)) * CF(0, 0, 200) | |
4203 | YAN.CFrame = CF(HITPOS + VT(0, 500, 0)) * ANGLES(RAD(0), RAD(LOOP), RAD(0)) * CF(0, 0, -200) | |
4204 | LOOP = LOOP + 5 | |
4205 | MagicSphere(VT(500, 5, 500), 65, CF(YIN.Position), BRICKC("Really red").Color, VT(-1, -0.001, -1) * 2) | |
4206 | MagicSphere(VT(500, 5, 500), 65, CF(YAN.Position), C3(0, 0, 0), VT(-1, -0.001, -1) * 2) | |
4207 | Swait() | |
4208 | until FINISHED == true | |
4209 | YIN:remove() | |
4210 | YAN:remove() | |
4211 | end)) | |
4212 | CreateSound("438666077", Effects, 10, 1) | |
4213 | for i = 0, 1, 0.1 / Animation_Speed do | |
4214 | Swait() | |
4215 | RootJoint.C0 = Clerp(RootJoint.C0, ROOTC0 * CF(0, 0, 0 + 0.25 * COS(SINE / 12)) * ANGLES(RAD(4 + 2.5 * SIN(SINE / 12)), RAD(0), RAD(15 + 2.5 * SIN(SINE / 12))), 1 / Animation_Speed) | |
4216 | Neck.C0 = Clerp(Neck.C0, NECKC0 * CF(0, 0, 0) * ANGLES(RAD(-25 + 4.5 * SIN(SINE / 12)), RAD(25), RAD(-15 - 2.5 * SIN(SINE / 12))), 1 / Animation_Speed) | |
4217 | RightShoulder.C0 = Clerp(RightShoulder.C0, CF(1.25, 0.5 + 0.25 * COS(SINE / 12), 0) * ANGLES(RAD(65), RAD(0), RAD(90 + 7.5 * SIN(SINE / 12))) * RIGHTSHOULDERC0, 1 / Animation_Speed) | |
4218 | LeftShoulder.C0 = Clerp(LeftShoulder.C0, CF(-1.25, 0.5 + 0.25 * COS(SINE / 12), 0) * ANGLES(RAD(65), RAD(0), RAD(-90 - 7.5 * SIN(SINE / 12))) * LEFTSHOULDERC0, 1 / Animation_Speed) | |
4219 | RightHip.C0 = Clerp(RightHip.C0, CF(1, -1, -0.01) * ANGLES(RAD(-7.5 * SIN(SINE / 12)), RAD(75), RAD(0)) * ANGLES(RAD(-8 - 2.5 * SIN(SINE / 12)), RAD(0), RAD(0)), 1 / Animation_Speed) | |
4220 | LeftHip.C0 = Clerp(LeftHip.C0, CF(-1, -0.5, -0.5) * ANGLES(RAD(-7.5 * SIN(SINE / 12)), RAD(-90), RAD(0)) * ANGLES(RAD(-8 - 2.5 * SIN(SINE / 12)), RAD(0), RAD(0)), 1 / Animation_Speed) | |
4221 | end | |
4222 | local ORB = CreatePart(3, Effects, "Neon", 0, 0, "Really red", "ORB", VT(6, 6, 6)) | |
4223 | MakeForm(ORB, "Ball") | |
4224 | ORB.CFrame = CF(HITPOS + VT(0, 150, 0)) | |
4225 | for i = 0, 8, 0.1 / Animation_Speed do | |
4226 | Swait() | |
4227 | if MRANDOM(1, 8) == 1 then | |
4228 | local RANGE1 = (ORB.Position - YIN.Position).Magnitude | |
4229 | local RANGE2 = (ORB.Position - YAN.Position).Magnitude | |
4230 | local ZAPTABLE1 = Zap({ | |
4231 | SIZE = POWER / 3, | |
4232 | StartPosition = YIN.Position, | |
4233 | TargetPosition = ORB.Position, | |
4234 | Character = workspace, | |
4235 | Color = "Pearl", | |
4236 | Individual = true, | |
4237 | MaxRange = RANGE1, | |
4238 | SegmentLength = 25, | |
4239 | Offset = 6 | |
4240 | }) | |
4241 | local ZAPTABLE2 = Zap({ | |
4242 | SIZE = POWER / 3, | |
4243 | StartPosition = YAN.Position, | |
4244 | TargetPosition = ORB.Position, | |
4245 | Character = workspace, | |
4246 | Color = "Really red", | |
4247 | Individual = true, | |
4248 | MaxRange = RANGE1, | |
4249 | SegmentLength = 25, | |
4250 | Offset = 6 | |
4251 | }) | |
4252 | Debris:AddItem(ZAPTABLE1.LightningModel, 0.1) | |
4253 | Debris:AddItem(ZAPTABLE2.LightningModel, 0.1) | |
4254 | end | |
4255 | ORB.Size = ORB.Size + VT(POWER, POWER, POWER) / 15 | |
4256 | RootJoint.C0 = Clerp(RootJoint.C0, ROOTC0 * CF(0, 0, 0 + 0.25 * COS(SINE / 12)) * ANGLES(RAD(4 + 2.5 * SIN(SINE / 12)), RAD(0), RAD(0)), 1 / Animation_Speed) | |
4257 | Neck.C0 = Clerp(Neck.C0, NECKC0 * CF(0, 0, 0) * ANGLES(RAD(-25 + 4.5 * SIN(SINE / 12)), RAD(25), RAD(0)), 1 / Animation_Speed) | |
4258 | RightShoulder.C0 = Clerp(RightShoulder.C0, CF(1.25, 0.5 + 0.25 * COS(SINE / 12), 0) * ANGLES(RAD(150), RAD(0), RAD(90 + 7.5 * SIN(SINE / 12))) * RIGHTSHOULDERC0, 1 / Animation_Speed) | |
4259 | LeftShoulder.C0 = Clerp(LeftShoulder.C0, CF(-1.25, 0.5 + 0.25 * COS(SINE / 12), 0) * ANGLES(RAD(150), RAD(0), RAD(-90 - 7.5 * SIN(SINE / 12))) * LEFTSHOULDERC0, 1 / Animation_Speed) | |
4260 | RightHip.C0 = Clerp(RightHip.C0, CF(1, -1, -0.01) * ANGLES(RAD(-7.5 * SIN(SINE / 12)), RAD(75), RAD(0)) * ANGLES(RAD(-8 - 2.5 * SIN(SINE / 12)), RAD(0), RAD(0)), 1 / Animation_Speed) | |
4261 | LeftHip.C0 = Clerp(LeftHip.C0, CF(-1, -0.5, -0.5) * ANGLES(RAD(-7.5 * SIN(SINE / 12)), RAD(-90), RAD(0)) * ANGLES(RAD(-8 - 2.5 * SIN(SINE / 12)), RAD(0), RAD(0)), 1 / Animation_Speed) | |
4262 | end | |
4263 | FINISHED = true | |
4264 | coroutine.resume(coroutine.create(function() | |
4265 | for i = 1, 6 do | |
4266 | for e = 1, 10 do | |
4267 | Swait() | |
4268 | Slice("Thin", ORB.Size.X / 15, 15, ORB.CFrame * ANGLES(RAD(MRANDOM(-180, 180)), RAD(MRANDOM(-180, 180)), RAD(MRANDOM(-180, 180))), "Pearl", VT(-0.01, 0, -0.01)) | |
4269 | ORB.Size = ORB.Size * 0.97 | |
4270 | killnearest(ORB.Position, ORB.Size.X * 3, 200) | |
4271 | CreateWave(VT(ORB.Size.X, 35, ORB.Size.X), 25, CF(HITPOS) * ANGLES(RAD(0), RAD(i * 5 + e * 5), RAD(0)), false, 0, C3(1, 1, 1), VT(POWER, 0, POWER)) | |
4272 | end | |
4273 | local POS = ORB.Position | |
4274 | for i = 1, 5 do | |
4275 | CreateRing(VT(0, 0, 0), false, 0, 8 * i, CF(POS) * ANGLES(RAD(MRANDOM(-180, 180)), RAD(MRANDOM(-180, 180)), RAD(MRANDOM(-180, 180))), C3(1, 1, 1), VT(POWER, POWER, 0) / 5) | |
4276 | end | |
4277 | CreateRing(VT(0, 0, 0), false, 0, 45, CF(POS) * ANGLES(RAD(90), RAD(0), RAD(0)), C3(1, 1, 1), VT(POWER, POWER, 0)) | |
4278 | for e = 1, 10 do | |
4279 | Swait() | |
4280 | if MRANDOM(1, 5) == 1 then | |
4281 | local POS = CF(ORB.Position) * ANGLES(RAD(MRANDOM(-180, 180)), RAD(MRANDOM(-180, 180)), RAD(MRANDOM(-180, 180))) * CF(0, 0, -POWER * 25).p | |
4282 | local ZAPTABLE = Zap({ | |
4283 | SIZE = POWER, | |
4284 | StartPosition = ORB.Position, | |
4285 | TargetPosition = POS, | |
4286 | Character = workspace, | |
4287 | Color = "Really red", | |
4288 | Individual = true, | |
4289 | MaxRange = POWER * 75, | |
4290 | SegmentLength = POWER * 5, | |
4291 | Offset = 3 | |
4292 | }) | |
4293 | Debris:AddItem(ZAPTABLE.LightningModel, 0.1) | |
4294 | end | |
4295 | ORB.Size = ORB.Size * 1.05 | |
4296 | killnearest(ORB.Position, ORB.Size.X * 3, 200) | |
4297 | CreateWave(VT(ORB.Size.X, 35, ORB.Size.X), 25, CF(HITPOS) * ANGLES(RAD(0), RAD(i * 5 + e * 5), RAD(0)), false, 0, C3(1, 1, 1), VT(POWER, 0, POWER)) | |
4298 | end | |
4299 | end | |
4300 | local POS = ORB.Position | |
4301 | for e = 1, 10 do | |
4302 | Swait() | |
4303 | ORB.Transparency = ORB.Transparency + 0.1 | |
4304 | end | |
4305 | ORB:remove() | |
4306 | killnearest(POS, POWER * 35, 200) | |
4307 | for i = 1, 5 do | |
4308 | CreateRing(VT(0, 0, 0), false, 0, 8 * i, CF(POS) * ANGLES(RAD(MRANDOM(-180, 180)), RAD(MRANDOM(-180, 180)), RAD(MRANDOM(-180, 180))), C3(1, 1, 1), VT(POWER, POWER, 0) / 5) | |
4309 | end | |
4310 | CreateRing(VT(0, 0, 0), false, 0, 45, CF(POS) * ANGLES(RAD(90), RAD(0), RAD(0)), C3(1, 1, 1), VT(POWER, POWER, 0)) | |
4311 | end)) | |
4312 | end | |
4313 | end | |
4314 | ATTACK = false | |
4315 | Rooted = false | |
4316 | local POWER = 1 | |
4317 | end | |
4318 | end | |
4319 | end | |
4320 | ||
4321 | function Banish_Hop() | |
4322 | ATTACK = true | |
4323 | Rooted = false | |
4324 | local O1 = CreatePart(3, Effects, "Neon", 0, 1, "Really red", "Warphole", VT(0,0,0)) | |
4325 | O1.CFrame = RootPart.CFrame*CF(0,0,-3)*ANGLES(RAD(90),RAD(0),RAD(0)) | |
4326 | local decal = Decal:Clone() | |
4327 | decal.Parent = O1 | |
4328 | decal.Face = "Top" | |
4329 | decal.Texture = "http://www.roblox.com/asset/?id=106410100" | |
4330 | local decal2 = Decal:Clone() | |
4331 | decal2.Parent = O1 | |
4332 | decal2.Face = "Bottom" | |
4333 | decal2.Texture = "http://www.roblox.com/asset/?id=106410100" | |
4334 | local O2 = CreatePart(3, Effects, "Neon", 0, 1, "Really red", "Warphole", VT(0,0,0)) | |
4335 | local POS = VT(RootPart.Position.X,Mouse.Hit.p.Y+6,RootPart.Position.Z) | |
4336 | O2.CFrame = CF(Mouse.Hit.p+VT(0,6,0),POS)*ANGLES(RAD(90),RAD(0),RAD(0)) | |
4337 | local ROOT = CreatePart(3, Effects, "Neon", 0, 1, "Really red", "Warphole", VT(0,0,0)) | |
4338 | ROOT.CFrame = CF(O2.Position,RootPart.Position) | |
4339 | local decal = Decal:Clone() | |
4340 | decal.Parent = O2 | |
4341 | decal.Face = "Top" | |
4342 | decal.Texture = "http://www.roblox.com/asset/?id=106410100" | |
4343 | local decal2 = Decal:Clone() | |
4344 | decal2.Parent = O2 | |
4345 | decal2.Face = "Bottom" | |
4346 | decal2.Texture = "http://www.roblox.com/asset/?id=106410100" | |
4347 | CreateSound("84005018", O1, 10, 0.7) | |
4348 | CreateSound("84005018", O2, 10, 0.7) | |
4349 | for i = 1, 75 do | |
4350 | Swait() | |
4351 | O1.Size = O1.Size + VT(0.1,0,0.1) | |
4352 | O1.CFrame = RootPart.CFrame*CF(0,0,-3)*ANGLES(RAD(90),RAD(i),RAD(0)) | |
4353 | O2.Size = O2.Size + VT(0.1,0,0.1) | |
4354 | O2.CFrame = O2.CFrame*ANGLES(RAD(0),RAD(i),RAD(0)) | |
4355 | RootJoint.C0 = Clerp(RootJoint.C0,ROOTC0 * CF(0, 0, 0 + 0.25 * COS(SINE / 12)) * ANGLES(RAD(4 + 2.5 * SIN(SINE / 12)), RAD(0), RAD(5 + 2.5 * SIN(SINE / 12))), 1 / Animation_Speed) | |
4356 | Neck.C0 = Clerp(Neck.C0, NECKC0 * CF(0, 0, 0 + ((1) - 1)) * ANGLES(RAD(0 + 4.5 * SIN(SINE / 12)), RAD(0), RAD(-5 - 2.5 * SIN(SINE / 12))), 1 / Animation_Speed) | |
4357 | RightShoulder.C0 = Clerp(RightShoulder.C0, CF(1.5, 0.5 + 0.25 * COS(SINE / 12), 0) * ANGLES(RAD(90), RAD(0 - 2.5 * SIN(SINE / 12)), RAD(5 + 7.5 * SIN(SINE / 12))) * RIGHTSHOULDERC0, 1 / Animation_Speed) | |
4358 | LeftShoulder.C0 = Clerp(LeftShoulder.C0, CF(-1.15, 0.15 + 0.05 * COS(SINE / 12), 0.5) * ANGLES(RAD(-45), RAD(0 + 2.5 * SIN(SINE / 12)), RAD(45 - 7.5 * SIN(SINE / 12))) * LEFTSHOULDERC0, 1 / Animation_Speed) | |
4359 | RightHip.C0 = Clerp(RightHip.C0, CF(1, -1, -0.01) * ANGLES(RAD(-2.5 * SIN(SINE / 12)), RAD(75), RAD(0)) * ANGLES(RAD(-8 - 2.5 * SIN(SINE / 12)), RAD(0), RAD(0)), 1 / Animation_Speed) | |
4360 | LeftHip.C0 = Clerp(LeftHip.C0, CF(-1, -0.5, -0.5) * ANGLES(RAD(-2.5 * SIN(SINE / 12)), RAD(-90), RAD(0)) * ANGLES(RAD(-8 - 2.5 * SIN(SINE / 12)), RAD(0), RAD(0)), 1 / Animation_Speed) | |
4361 | end | |
4362 | Rooted = true | |
4363 | UNANCHOR = false | |
4364 | RootPart.Anchored = true | |
4365 | VALUE1 = true | |
4366 | for i = 1, 15 do | |
4367 | Transparency(i/15) | |
4368 | Swait() | |
4369 | RootPart.CFrame = RootPart.CFrame*CF(0,0,-0.13) | |
4370 | RootJoint.C0 = Clerp(RootJoint.C0,ROOTC0 * CF(0, 0, 0 + 0.25 * COS(SINE / 12)) * ANGLES(RAD(16 + 2.5 * SIN(SINE / 12)), RAD(0), RAD(5 + 2.5 * SIN(SINE / 12))), 1 / Animation_Speed) | |
4371 | Neck.C0 = Clerp(Neck.C0, NECKC0 * CF(0, 0, 0 + ((1) - 1)) * ANGLES(RAD(-15 + 4.5 * SIN(SINE / 12)), RAD(0), RAD(-5 - 2.5 * SIN(SINE / 12))), 1 / Animation_Speed) | |
4372 | RightShoulder.C0 = Clerp(RightShoulder.C0, CF(1.5, 0.5 + 0.25 * COS(SINE / 12), 0) * ANGLES(RAD(-15), RAD(0 - 2.5 * SIN(SINE / 12)), RAD(5 + 7.5 * SIN(SINE / 12))) * RIGHTSHOULDERC0, 1 / Animation_Speed) | |
4373 | LeftShoulder.C0 = Clerp(LeftShoulder.C0, CF(-1.15, 0.15 + 0.05 * COS(SINE / 12), 0.5) * ANGLES(RAD(-45), RAD(0 + 2.5 * SIN(SINE / 12)), RAD(45 - 7.5 * SIN(SINE / 12))) * LEFTSHOULDERC0, 1 / Animation_Speed) | |
4374 | RightHip.C0 = Clerp(RightHip.C0, CF(1, -1, -0.01) * ANGLES(RAD(-2.5 * SIN(SINE / 12)), RAD(75), RAD(0)) * ANGLES(RAD(-8 - 2.5 * SIN(SINE / 12)), RAD(0), RAD(0)), 1 / Animation_Speed) | |
4375 | LeftHip.C0 = Clerp(LeftHip.C0, CF(-1, -0.5, -0.5) * ANGLES(RAD(-2.5 * SIN(SINE / 12)), RAD(-90), RAD(0)) * ANGLES(RAD(-8 - 2.5 * SIN(SINE / 12)), RAD(0), RAD(0)), 1 / Animation_Speed) | |
4376 | end | |
4377 | RootPart.CFrame = ROOT.CFrame | |
4378 | ROOT:remove() | |
4379 | for i = 1, 15 do | |
4380 | Transparency(1-(i/15)) | |
4381 | Swait() | |
4382 | RootPart.CFrame = RootPart.CFrame*CF(0,0,-0.5) | |
4383 | RootJoint.C0 = Clerp(RootJoint.C0,ROOTC0 * CF(0, 0, 0 + 0.25 * COS(SINE / 12)) * ANGLES(RAD(16 + 2.5 * SIN(SINE / 12)), RAD(0), RAD(5 + 2.5 * SIN(SINE / 12))), 1 / Animation_Speed) | |
4384 | Neck.C0 = Clerp(Neck.C0, NECKC0 * CF(0, 0, 0 + ((1) - 1)) * ANGLES(RAD(-15 + 4.5 * SIN(SINE / 12)), RAD(0), RAD(-5 - 2.5 * SIN(SINE / 12))), 1 / Animation_Speed) | |
4385 | RightShoulder.C0 = Clerp(RightShoulder.C0, CF(1.5, 0.5 + 0.25 * COS(SINE / 12), 0) * ANGLES(RAD(-15), RAD(0 - 2.5 * SIN(SINE / 12)), RAD(5 + 7.5 * SIN(SINE / 12))) * RIGHTSHOULDERC0, 1 / Animation_Speed) | |
4386 | LeftShoulder.C0 = Clerp(LeftShoulder.C0, CF(-1.15, 0.15 + 0.05 * COS(SINE / 12), 0.5) * ANGLES(RAD(-45), RAD(0 + 2.5 * SIN(SINE / 12)), RAD(45 - 7.5 * SIN(SINE / 12))) * LEFTSHOULDERC0, 1 / Animation_Speed) | |
4387 | RightHip.C0 = Clerp(RightHip.C0, CF(1, -1, -0.01) * ANGLES(RAD(-2.5 * SIN(SINE / 12)), RAD(75), RAD(0)) * ANGLES(RAD(-8 - 2.5 * SIN(SINE / 12)), RAD(0), RAD(0)), 1 / Animation_Speed) | |
4388 | LeftHip.C0 = Clerp(LeftHip.C0, CF(-1, -0.5, -0.5) * ANGLES(RAD(-2.5 * SIN(SINE / 12)), RAD(-90), RAD(0)) * ANGLES(RAD(-8 - 2.5 * SIN(SINE / 12)), RAD(0), RAD(0)), 1 / Animation_Speed) | |
4389 | end | |
4390 | VALUE1 = false | |
4391 | coroutine.resume(coroutine.create(function() | |
4392 | for i = 1, 75 do | |
4393 | Swait() | |
4394 | O1.Size = O1.Size - VT(0.1,0,0.1) | |
4395 | O1.CFrame = O1.CFrame*ANGLES(RAD(0),RAD(i),RAD(0)) | |
4396 | O2.Size = O2.Size - VT(0.1,0,0.1) | |
4397 | O2.CFrame = O2.CFrame*ANGLES(RAD(0),RAD(i),RAD(0)) | |
4398 | end | |
4399 | O1:remove() | |
4400 | O2:remove() | |
4401 | end)) | |
4402 | UNANCHOR = true | |
4403 | RootPart.Anchored = false | |
4404 | ATTACK = false | |
4405 | Rooted = false | |
4406 | end | |
4407 | ||
4408 | function Governor_Bomb() | |
4409 | local CENTER = CreatePart(3, Effects, "SmoothPlastic", 0, 1, C3(0.0196078431372549, 0.09803921568627451, 0.0196078431372549), "CenterPart", VT(0, 0, 0)) | |
4410 | local RAY = CreatePart(3, Effects, "Neon", 0, 1, C3(0.0196078431372549, 0.09803921568627451, 0.0196078431372549), "Laser01", VT(25, 25, 25)) | |
4411 | RAY.Color = C3(0.0196078431372549, 0.09803921568627451, 0.0196078431372549) | |
4412 | MakeForm(RAY, "Ball") | |
4413 | local ECH = Mouse.Hit.p | |
4414 | CENTER.CFrame = CF(Mouse.Hit.p) | |
4415 | RAY.CFrame = CENTER.CFrame | |
4416 | CreateSound("814168787", CENTER, 10, 0.6) | |
4417 | for i = 1, 80 do | |
4418 | Swait() | |
4419 | RAY.Size = RAY.Size * 0.98 | |
4420 | RAY.Transparency = RAY.Transparency - 0.016666666666666666 | |
4421 | end | |
4422 | killnearest(ECH, 25, 250) | |
4423 | MagicSphere(VT(1, 1, 1), 55, CF(ECH), C3(0.0196078431372549, 0.09803921568627451, 0.0196078431372549), VT(2, 2, 2)) | |
4424 | MagicSphere(VT(0, 0, 0), 45, CF(ECH), C3(0, 0, 0), VT(2, 2, 2)) | |
4425 | CreateSound("314970790", CENTER, 10, 1) | |
4426 | Debris:AddItem(CENTER, 5) | |
4427 | RAY:remove() | |
4428 | end | |
4429 | function Governor_Bomb2() | |
4430 | local CENTER = CreatePart(3, Effects, "SmoothPlastic", 0, 1, C3(0.0196078431372549, 0.09803921568627451, 0.0196078431372549), "CenterPart", VT(0, 0, 0)) | |
4431 | local RAY = CreatePart(3, Effects, "Neon", 0, 1, C3(0.0196078431372549, 0.09803921568627451, 0.0196078431372549), "Laser01", VT(25, 25, 25)) | |
4432 | RAY.Color = C3(0.96078431372549, 0.019803921568627451, 0.0196078431372549) | |
4433 | MakeForm(RAY, "Ball") | |
4434 | local ECH = Mouse.Hit.p | |
4435 | CENTER.CFrame = CF(Mouse.Hit.p) | |
4436 | RAY.CFrame = CENTER.CFrame | |
4437 | CreateSound("814168787", CENTER, 10, 0.6) | |
4438 | for i = 1, 80 do | |
4439 | Swait() | |
4440 | RAY.Size = RAY.Size * 0.98 | |
4441 | RAY.Transparency = RAY.Transparency - 0.016666666666666666 | |
4442 | end | |
4443 | killnearest(ECH, 25, 250) | |
4444 | MagicSphere(VT(1, 1, 1), 55, CF(ECH), C3(0.96078431372549, 0.019803921568627451, 0.0196078431372549), VT(2, 2, 2)) | |
4445 | MagicSphere(VT(0, 0, 0), 45, CF(ECH), C3(0, 0, 0), VT(2, 2, 2)) | |
4446 | CreateSound("314970790", CENTER, 10, 1) | |
4447 | Debris:AddItem(CENTER, 5) | |
4448 | RAY:remove() | |
4449 | end | |
4450 | function Governor_Bomb3() | |
4451 | local ABSOLUTE = CreatePart(3, Effects, "SmoothPlastic", 0, 1, C3(0.7372549019607844, 0.6078431372549019, 0.36470588235294116), "CenterPart", VT(50, 50, 50)) | |
4452 | local RAY = CreatePart(3, Effects, "Neon", 0, 1, C3(0.0196078431372549, 0.09803921568627451, 0.0196078431372549), "Laser01", VT(75, 75, 75)) | |
4453 | RAY.Color = C3(0.7372549019607844, 0.6078431372549019, 0.36470588235294116) | |
4454 | MakeForm(RAY, "Ball") | |
4455 | local ECH = Mouse.Hit.p | |
4456 | ABSOLUTE.CFrame = CF(Mouse.Hit.p) | |
4457 | local HITFLOOR, HITPOS, NORMAL = Raycast(ABSOLUTE.Position, CF(ABSOLUTE.Position, ABSOLUTE.Position + VT(0, -1, 0)).lookVector, 7 * Player_Size, Character) | |
4458 | RAY.CFrame = ABSOLUTE.CFrame | |
4459 | CreateSound("814168787", ABSOLUTE, 10, 0.6) | |
4460 | for i = 1, 80 do | |
4461 | Swait() | |
4462 | RAY.Size = RAY.Size * 0.98 | |
4463 | RAY.Transparency = RAY.Transparency - 0.016666666666666666 | |
4464 | end | |
4465 | coroutine.resume(coroutine.create(function() | |
4466 | local PITS = {} | |
4467 | CreateSound("178452217", ABSOLUTE, 10, 0.7) | |
4468 | for i = 1, 6 do | |
4469 | for i = 1, 10 do | |
4470 | Swait() | |
4471 | Slice("Thin", ABSOLUTE.Size.X / 20, 15, ABSOLUTE.CFrame * ANGLES(RAD(MRANDOM(-180, 180)), RAD(MRANDOM(-180, 180)), RAD(MRANDOM(-180, 180))), "Really white", VT(-0.01, 0, -0.01)) | |
4472 | ABSOLUTE.Size = ABSOLUTE.Size * 0.9 | |
4473 | end | |
4474 | for i = 1, 10 do | |
4475 | Swait() | |
4476 | ABSOLUTE.Size = ABSOLUTE.Size * 1.12 | |
4477 | end | |
4478 | end | |
4479 | CreateSound("215395388", ABSOLUTE, 10, 0.6) | |
4480 | CreateSound("215395388", ABSOLUTE, 10, 0.65) | |
4481 | CreateSound("215395388", ABSOLUTE, 10, 0.7) | |
4482 | for i = 1, 75 do | |
4483 | Swait() | |
4484 | local ICICLE = IT("CornerWedgePart", Effects) | |
4485 | ICICLE.Locked = true | |
4486 | ICICLE.CanCollide = false | |
4487 | ICICLE.Anchored = true | |
4488 | ICICLE.Color = C3(0.7372549019607844, 0.6078431372549019, 0.36470588235294116) | |
4489 | ICICLE.Material = "Neon" | |
4490 | ICICLE.Size = VT(i / 3, i * 2, i / 3) | |
4491 | ICICLE.CFrame = CF(HITPOS) * CF(MRANDOM(-ABSOLUTE.Size.X, ABSOLUTE.Size.X), 0, MRANDOM(-ABSOLUTE.Size.X / 1.5, ABSOLUTE.Size.X / 1.5)) * ANGLES(RAD(MRANDOM(-25, 25)), RAD(MRANDOM(-180, 180)), RAD(MRANDOM(-25, 25))) | |
4492 | table.insert(PITS, ICICLE) | |
4493 | killnearest(ICICLE.Position, ICICLE.Size.Y / 1.5, -100) | |
4494 | ABSOLUTE.Size = ABSOLUTE.Size * 1.03 | |
4495 | killnearest(ABSOLUTE.Position, ABSOLUTE.Size.X / 1.9, -100) | |
4496 | for i = 1, 3 do | |
4497 | Slice("Thin", ABSOLUTE.Size.X / 20, 5, ABSOLUTE.CFrame * ANGLES(RAD(MRANDOM(-180, 180)), RAD(MRANDOM(-180, 180)), RAD(MRANDOM(-180, 180))), "Really black", VT(-0.01, 0, -0.01)) | |
4498 | end | |
4499 | end | |
4500 | ABSOLUTE.Transparency = 0 | |
4501 | for i = 1, 10 do | |
4502 | Swait() | |
4503 | ABSOLUTE.Size = ABSOLUTE.Size * 0.9 | |
4504 | ABSOLUTE.Transparency = ABSOLUTE.Transparency + 0.1 | |
4505 | end | |
4506 | Debris:AddItem(ABSOLUTE, 5) | |
4507 | Swait(50) | |
4508 | for i = 1, 10 do | |
4509 | Swait() | |
4510 | for e = 1, #PITS do | |
4511 | if PITS[e] ~= nil then | |
4512 | local E = PITS[e] | |
4513 | E.Transparency = E.Transparency + 0.1 | |
4514 | end | |
4515 | end | |
4516 | end | |
4517 | for e = 1, #PITS do | |
4518 | if PITS[e] ~= nil then | |
4519 | local E = PITS[e] | |
4520 | E:remove() | |
4521 | end | |
4522 | end | |
4523 | end)) | |
4524 | MagicSphere(VT(1, 1, 1), 55, CF(ECH), C3(1, 1, 1), VT(2, 2, 2)) | |
4525 | MagicSphere(VT(0, 0, 0), 45, CF(ECH), C3(1, 1, 1), VT(2, 2, 2)) | |
4526 | CreateSound("314970790", ABSOLUTE, 10, 1) | |
4527 | Debris:AddItem(ABSOLUTE, 5) | |
4528 | RAY:remove() | |
4529 | end | |
4530 | function Command_Rush() | |
4531 | ATTACK = true | |
4532 | Rooted = false | |
4533 | for i = 0, 1, 0.1 / Animation_Speed do | |
4534 | Swait() | |
4535 | RootJoint.C0 = Clerp(RootJoint.C0, ROOTC0 * CF(0, 0, 0 + 0.25 * COS(SINE / 12)) * ANGLES(RAD(-15 + 2.5 * SIN(SINE / 12)), RAD(0), RAD(5 + 2.5 * SIN(SINE / 12))), 1 / Animation_Speed) | |
4536 | Neck.C0 = Clerp(Neck.C0, NECKC0 * CF(0, 0, 0) * ANGLES(RAD(15 + 4.5 * SIN(SINE / 12)), RAD(0), RAD(-5 - 2.5 * SIN(SINE / 12))), 1 / Animation_Speed) | |
4537 | RightShoulder.C0 = Clerp(RightShoulder.C0, CF(1.5, 0.5 + 0.25 * COS(SINE / 12), 0) * ANGLES(RAD(140), RAD(0 - 2.5 * SIN(SINE / 12)), RAD(25 + 7.5 * SIN(SINE / 12))) * RIGHTSHOULDERC0, 1 / Animation_Speed) | |
4538 | LeftShoulder.C0 = Clerp(LeftShoulder.C0, CF(-1.5, 0.5 + 0.25 * COS(SINE / 12), 0) * ANGLES(RAD(140), RAD(0 + 2.5 * SIN(SINE / 12)), RAD(-25 - 7.5 * SIN(SINE / 12))) * LEFTSHOULDERC0, 1 / Animation_Speed) | |
4539 | RightHip.C0 = Clerp(RightHip.C0, CF(1, -1, -0.01) * ANGLES(RAD(-2.5 * SIN(SINE / 12)), RAD(75), RAD(0)) * ANGLES(RAD(-8 - 2.5 * SIN(SINE / 12)), RAD(0), RAD(0)), 1 / Animation_Speed) | |
4540 | LeftHip.C0 = Clerp(LeftHip.C0, CF(-1, -0.5, -0.5) * ANGLES(RAD(-2.5 * SIN(SINE / 12)), RAD(-90), RAD(0)) * ANGLES(RAD(-8 - 2.5 * SIN(SINE / 12)), RAD(0), RAD(0)), 1 / Animation_Speed) | |
4541 | end | |
4542 | Rooted = true | |
4543 | local GYRO = IT("BodyGyro", RootPart) | |
4544 | GYRO.D = 100 | |
4545 | GYRO.P = 2000 | |
4546 | GYRO.MaxTorque = VT(0, 4000000, 0) | |
4547 | GYRO.cframe = CF(RootPart.Position, Mouse.Hit.p) | |
4548 | for i = 1, 15 do | |
4549 | for i = 1, 15 do | |
4550 | Swait() | |
4551 | GYRO.cframe = CF(RootPart.Position, Mouse.Hit.p) | |
4552 | RootJoint.C0 = Clerp(RootJoint.C0, ROOTC0 * CF(0, 0, 0 + 0.25 * COS(SINE / 12)) * ANGLES(RAD(-15 + 2.5 * SIN(SINE / 12)), RAD(0), RAD(5 + 2.5 * SIN(SINE / 12))), 1 / Animation_Speed) | |
4553 | Neck.C0 = Clerp(Neck.C0, NECKC0 * CF(0, 0, 0) * ANGLES(RAD(15 + 4.5 * SIN(SINE / 12)), RAD(0), RAD(-5 - 2.5 * SIN(SINE / 12))), 1 / Animation_Speed) | |
4554 | RightShoulder.C0 = Clerp(RightShoulder.C0, CF(1.5, 0.5 + 0.25 * COS(SINE / 12), 0) * ANGLES(RAD(140), RAD(0 - 2.5 * SIN(SINE / 12)), RAD(25 + 7.5 * SIN(SINE / 12))) * RIGHTSHOULDERC0, 1 / Animation_Speed) | |
4555 | LeftShoulder.C0 = Clerp(LeftShoulder.C0, CF(-1.5, 0.5 + 0.25 * COS(SINE / 12), 0) * ANGLES(RAD(140), RAD(0 + 2.5 * SIN(SINE / 12)), RAD(-25 - 7.5 * SIN(SINE / 12))) * LEFTSHOULDERC0, 1 / Animation_Speed) | |
4556 | RightHip.C0 = Clerp(RightHip.C0, CF(1, -1, -0.01) * ANGLES(RAD(-2.5 * SIN(SINE / 12)), RAD(75), RAD(0)) * ANGLES(RAD(-8 - 2.5 * SIN(SINE / 12)), RAD(0), RAD(0)), 1 / Animation_Speed) | |
4557 | LeftHip.C0 = Clerp(LeftHip.C0, CF(-1, -0.5, -0.5) * ANGLES(RAD(-2.5 * SIN(SINE / 12)), RAD(-90), RAD(0)) * ANGLES(RAD(-8 - 2.5 * SIN(SINE / 12)), RAD(0), RAD(0)), 1 / Animation_Speed) | |
4558 | end | |
4559 | coroutine.resume(coroutine.create(function() | |
4560 | local EYE = CreatePart(3, Effects, "Neon", 0, 0, "Really red", "Eyeball", VT(0, 0, 0)) | |
4561 | CreateSound("814168787", EYE, 10, 1) | |
4562 | EYE.CFrame = RootPart.CFrame * CF(MRANDOM(-15, 15), MRANDOM(8, 20), MRANDOM(-15, 15)) | |
4563 | local M = CreateMesh("SpecialMesh", EYE, "FileMesh", "82326541", "82327419", VT(0, 0, 0), VT(0, 0, 0)) | |
4564 | MagicSphere(VT(0, 0, 0), 15, CF(EYE.Position), C3(0.0196078431372549, 0.09803921568627451, 0.0196078431372549), VT(1, 1, 1)) | |
4565 | local ATTACKI = false | |
4566 | local TORS | |
4567 | for i = 1, 10 do | |
4568 | Swait() | |
4569 | M.Scale = M.Scale + VT(0.1, 0.1, 0.1) * 3 | |
4570 | EYE.CFrame = EYE.CFrame * CF(0, 0, -0.5) | |
4571 | end | |
4572 | for i = 1, 100 do | |
4573 | Swait() | |
4574 | for _, c in pairs(workspace:GetChildren()) do | |
4575 | if c.ClassName == "Model" and c ~= Character and c:FindFirstChildOfClass("Humanoid") and (c:FindFirstChild("Torso") or c:FindFirstChild("UpperTorso")) then | |
4576 | local HUMANOID = c:FindFirstChildOfClass("Humanoid") | |
4577 | if 0 < HUMANOID.Health then | |
4578 | local TORSO = c:FindFirstChild("Torso") or c:FindFirstChild("UpperTorso") | |
4579 | if (TORSO.Position - EYE.Position).Magnitude < 35 then | |
4580 | ATTACKI = true | |
4581 | TORS = TORSO | |
4582 | end | |
4583 | end | |
4584 | end | |
4585 | end | |
4586 | if ATTACKI == true then | |
4587 | break | |
4588 | end | |
4589 | EYE.CFrame = EYE.CFrame * CF(0, 0, -1) | |
4590 | end | |
4591 | if ATTACKI == false then | |
4592 | for i = 1, 10 do | |
4593 | Swait() | |
4594 | M.Scale = M.Scale - VT(0.1, 0.1, 0.1) * 3 | |
4595 | EYE.CFrame = EYE.CFrame * CF(0, 0, -0.5) | |
4596 | end | |
4597 | else | |
4598 | if TORS ~= nil then | |
4599 | CreateSound("215395388", EYE, 10, 2) | |
4600 | local DIST = (TORS.Position - EYE.Position).Magnitude | |
4601 | MagicSphere(VT(0, 0, 0), 15, CF(EYE.Position), C3(0.0196078431372549, 0.09803921568627451, 0.0196078431372549), VT(1, 1, 1)) | |
4602 | MagicSphere(VT(1, 1, DIST), 15, CF(EYE.Position, TORS.Position) * CF(0, 0, -DIST / 2), C3(0.0196078431372549, 0.09803921568627451, 0.0196078431372549), VT(0, 0, 0)) | |
4603 | MagicSphere(VT(0, 0, 0), 15, CF(TORS.Position), C3(0.0196078431372549, 0.09803921568627451, 0.0196078431372549), VT(1, 1, 1)) | |
4604 | EYE.CFrame = CF(EYE.Position, TORS.Position) | |
4605 | TORS.Parent:BreakJoints() | |
4606 | Swait(35) | |
4607 | end | |
4608 | for i = 1, 10 do | |
4609 | Swait() | |
4610 | M.Scale = M.Scale - VT(0.1, 0.1, 0.1) * 3 | |
4611 | end | |
4612 | end | |
4613 | EYE:remove() | |
4614 | end)) | |
4615 | end | |
4616 | GYRO:remove() | |
4617 | ATTACK = false | |
4618 | Rooted = false | |
4619 | end | |
4620 | function Ruler() | |
4621 | local HITFLOOR, HITPOS, NORMAL = Raycast(RootPart.Position, CF(RootPart.Position, RootPart.Position + VT(0, -1, 0)).lookVector, 7 * Player_Size, Character) | |
4622 | if HITFLOOR ~= nil then | |
4623 | do | |
4624 | local HITBODIES = {} | |
4625 | ATTACK = true | |
4626 | Rooted = true | |
4627 | local ABSOLUTE = CreatePart(3, Effects, "Neon", 0, 1, "Really red", "SuperNova", VT(0, 0, 0)) | |
4628 | ABSOLUTE.Color = C3(0.0196078431372549, 0.09803921568627451, 0.0196078431372549) | |
4629 | MakeForm(ABSOLUTE, "Ball") | |
4630 | CreateSound("814168787", ABSOLUTE, 10, 0.3) | |
4631 | for i = 0, 4, 0.1 / Animation_Speed do | |
4632 | Swait() | |
4633 | ABSOLUTE.Size = ABSOLUTE.Size + VT(0.2, 0.2, 0.2) | |
4634 | ABSOLUTE.CFrame = RootPart.CFrame * CF(0, 5 + ABSOLUTE.Size.Y / 2, 0) | |
4635 | ABSOLUTE.Transparency = ABSOLUTE.Transparency - 0.01 | |
4636 | local CHARGE = CreatePart(3, Effects, "Neon", 0, 0, "Really red", "Star", VT(1, 1, 1)) | |
4637 | MakeForm(CHARGE, "Ball") | |
4638 | CHARGE.Color = C3(0, 0, 0) | |
4639 | CHARGE.CFrame = CF(RootPart.Position) * CF(MRANDOM(-15, 15), -6, MRANDOM(-15, 15)) | |
4640 | FireArc(CHARGE, ABSOLUTE.Position, 45, 45, true) | |
4641 | RootJoint.C0 = Clerp(RootJoint.C0, ROOTC0 * CF(0, 0, 0 + 0.25 * COS(SINE / 12)) * ANGLES(RAD(4 + 2.5 * SIN(SINE / 12)), RAD(0), RAD(15 + 2.5 * SIN(SINE / 12))), 1 / Animation_Speed) | |
4642 | Neck.C0 = Clerp(Neck.C0, NECKC0 * CF(0, 0, 0) * ANGLES(RAD(-25 + 4.5 * SIN(SINE / 12)), RAD(25), RAD(-15 - 2.5 * SIN(SINE / 12))), 1 / Animation_Speed) | |
4643 | RightShoulder.C0 = Clerp(RightShoulder.C0, CF(1.25, 1.5 + 0.25 * COS(SINE / 12), 0) * ANGLES(RAD(170), RAD(0 - 7.5 * SIN(SINE / 12)), RAD(-12 + 7.5 * SIN(SINE / 12))) * RIGHTSHOULDERC0, 1 / Animation_Speed) | |
4644 | LeftShoulder.C0 = Clerp(LeftShoulder.C0, CF(-1.5, 0.5 + 0.25 * COS(SINE / 12), 0) * ANGLES(RAD(0), RAD(0 + 7.5 * SIN(SINE / 12)), RAD(-12 - 7.5 * SIN(SINE / 12))) * LEFTSHOULDERC0, 1 / Animation_Speed) | |
4645 | RightHip.C0 = Clerp(RightHip.C0, CF(1, -1, -0.01) * ANGLES(RAD(-7.5 * SIN(SINE / 12)), RAD(75), RAD(0)) * ANGLES(RAD(-8 - 2.5 * SIN(SINE / 12)), RAD(0), RAD(0)), 1 / Animation_Speed) | |
4646 | LeftHip.C0 = Clerp(LeftHip.C0, CF(-1, -0.5, -0.5) * ANGLES(RAD(-7.5 * SIN(SINE / 12)), RAD(-90), RAD(0)) * ANGLES(RAD(-8 - 2.5 * SIN(SINE / 12)), RAD(0), RAD(0)), 1 / Animation_Speed) | |
4647 | end | |
4648 | CreateSound("907333406", Head, 10, 1) | |
4649 | for i = 0, 2, 0.1 / Animation_Speed do | |
4650 | Swait() | |
4651 | RootJoint.C0 = Clerp(RootJoint.C0, ROOTC0 * CF(0, 0, 0 + 0.25 * COS(SINE / 12)) * ANGLES(RAD(4 + 2.5 * SIN(SINE / 12)), RAD(0), RAD(15 + 2.5 * SIN(SINE / 12))), 1 / Animation_Speed) | |
4652 | Neck.C0 = Clerp(Neck.C0, NECKC0 * CF(0, 0, 0) * ANGLES(RAD(-25 + 4.5 * SIN(SINE / 12)), RAD(25), RAD(-15 - 2.5 * SIN(SINE / 12))), 1 / Animation_Speed) | |
4653 | RightShoulder.C0 = Clerp(RightShoulder.C0, CF(1.25, 1.5 + 0.25 * COS(SINE / 12), 0) * ANGLES(RAD(170), RAD(0 - 7.5 * SIN(SINE / 12)), RAD(-12 + 7.5 * SIN(SINE / 12))) * RIGHTSHOULDERC0, 1 / Animation_Speed) | |
4654 | LeftShoulder.C0 = Clerp(LeftShoulder.C0, CF(-1.5, 0.5 + 0.25 * COS(SINE / 12), 0) * ANGLES(RAD(0), RAD(0 + 7.5 * SIN(SINE / 12)), RAD(-12 - 7.5 * SIN(SINE / 12))) * LEFTSHOULDERC0, 1 / Animation_Speed) | |
4655 | RightHip.C0 = Clerp(RightHip.C0, CF(1, -1, -0.01) * ANGLES(RAD(-7.5 * SIN(SINE / 12)), RAD(75), RAD(0)) * ANGLES(RAD(-8 - 2.5 * SIN(SINE / 12)), RAD(0), RAD(0)), 1 / Animation_Speed) | |
4656 | LeftHip.C0 = Clerp(LeftHip.C0, CF(-1, -0.5, -0.5) * ANGLES(RAD(-7.5 * SIN(SINE / 12)), RAD(-90), RAD(0)) * ANGLES(RAD(-8 - 2.5 * SIN(SINE / 12)), RAD(0), RAD(0)), 1 / Animation_Speed) | |
4657 | end | |
4658 | coroutine.resume(coroutine.create(function() | |
4659 | local PITS = {} | |
4660 | CreateSound("178452217", ABSOLUTE, 10, 0.7) | |
4661 | for i = 1, 6 do | |
4662 | for i = 1, 10 do | |
4663 | Swait() | |
4664 | Slice("Thin", ABSOLUTE.Size.X / 20, 15, ABSOLUTE.CFrame * ANGLES(RAD(MRANDOM(-180, 180)), RAD(MRANDOM(-180, 180)), RAD(MRANDOM(-180, 180))), "Really black", VT(-0.01, 0, -0.01)) | |
4665 | ABSOLUTE.Size = ABSOLUTE.Size * 0.9 | |
4666 | end | |
4667 | for i = 1, 10 do | |
4668 | Swait() | |
4669 | ABSOLUTE.Size = ABSOLUTE.Size * 1.12 | |
4670 | end | |
4671 | end | |
4672 | CreateSound("215395388", ABSOLUTE, 10, 0.6) | |
4673 | CreateSound("215395388", ABSOLUTE, 10, 0.65) | |
4674 | CreateSound("215395388", ABSOLUTE, 10, 0.7) | |
4675 | for i = 1, 75 do | |
4676 | Swait() | |
4677 | local ICICLE = IT("CornerWedgePart", Effects) | |
4678 | ICICLE.Locked = true | |
4679 | ICICLE.CanCollide = false | |
4680 | ICICLE.Anchored = true | |
4681 | ICICLE.Color = C3(0, 0, 0) | |
4682 | ICICLE.Material = "Neon" | |
4683 | ICICLE.Size = VT(i / 3, i * 2, i / 3) | |
4684 | ICICLE.CFrame = CF(HITPOS) * CF(MRANDOM(-ABSOLUTE.Size.X, ABSOLUTE.Size.X), 0, MRANDOM(-ABSOLUTE.Size.X / 1.5, ABSOLUTE.Size.X / 1.5)) * ANGLES(RAD(MRANDOM(-25, 25)), RAD(MRANDOM(-180, 180)), RAD(MRANDOM(-25, 25))) | |
4685 | table.insert(PITS, ICICLE) | |
4686 | killnearest(ICICLE.Position, ICICLE.Size.Y / 1.5, -100) | |
4687 | ABSOLUTE.Size = ABSOLUTE.Size * 1.03 | |
4688 | killnearest(ABSOLUTE.Position, ABSOLUTE.Size.X / 1.9, -100) | |
4689 | for i = 1, 3 do | |
4690 | Slice("Thin", ABSOLUTE.Size.X / 20, 5, ABSOLUTE.CFrame * ANGLES(RAD(MRANDOM(-180, 180)), RAD(MRANDOM(-180, 180)), RAD(MRANDOM(-180, 180))), "Really black", VT(-0.01, 0, -0.01)) | |
4691 | end | |
4692 | CreateWave(VT(ABSOLUTE.Size.X / 1.5, 35, ABSOLUTE.Size.X / 1.5), 25, CF(HITPOS) * ANGLES(RAD(0), RAD(i * 5), RAD(0)), false, 0, C3(0, 0, 0), VT(i / 3, 0, i / 3)) | |
4693 | end | |
4694 | ABSOLUTE.Transparency = 0 | |
4695 | for i = 1, 10 do | |
4696 | Swait() | |
4697 | ABSOLUTE.Size = ABSOLUTE.Size * 0.9 | |
4698 | ABSOLUTE.Transparency = ABSOLUTE.Transparency + 0.1 | |
4699 | end | |
4700 | Debris:AddItem(ABSOLUTE, 5) | |
4701 | Swait(50) | |
4702 | for i = 1, 10 do | |
4703 | Swait() | |
4704 | for e = 1, #PITS do | |
4705 | if PITS[e] ~= nil then | |
4706 | local E = PITS[e] | |
4707 | E.Transparency = E.Transparency + 0.1 | |
4708 | end | |
4709 | end | |
4710 | end | |
4711 | for e = 1, #PITS do | |
4712 | if PITS[e] ~= nil then | |
4713 | local E = PITS[e] | |
4714 | E:remove() | |
4715 | end | |
4716 | end | |
4717 | end)) | |
4718 | ATTACK = false | |
4719 | Rooted = false | |
4720 | end | |
4721 | end | |
4722 | end | |
4723 | local Decal = IT("Decal") | |
4724 | function Monarch_Hop() | |
4725 | ATTACK = true | |
4726 | Rooted = false | |
4727 | local O1 = CreatePart(3, Effects, "Neon", 0, 1, "Really red", "Warphole", VT(0, 0, 0)) | |
4728 | O1.CFrame = RootPart.CFrame * CF(0, 0, -3) * ANGLES(RAD(90), RAD(0), RAD(0)) | |
4729 | local decal = Decal:Clone() | |
4730 | decal.Parent = O1 | |
4731 | decal.Face = "Top" | |
4732 | decal.Texture = "http://www.roblox.com/asset/?id=332014171" | |
4733 | local decal2 = Decal:Clone() | |
4734 | decal2.Parent = O1 | |
4735 | decal2.Face = "Bottom" | |
4736 | decal2.Texture = "http://www.roblox.com/asset/?id=332014171" | |
4737 | local O2 = CreatePart(3, Effects, "Neon", 0, 1, "Really red", "Warphole", VT(0, 0, 0)) | |
4738 | local POS = VT(RootPart.Position.X, Mouse.Hit.p.Y + 6, RootPart.Position.Z) | |
4739 | O2.CFrame = CF(Mouse.Hit.p + VT(0, 6, 0), POS) * ANGLES(RAD(90), RAD(0), RAD(0)) | |
4740 | local ROOT = CreatePart(3, Effects, "Neon", 0, 1, "Really red", "Warphole", VT(0, 0, 0)) | |
4741 | ROOT.CFrame = CF(O2.Position, RootPart.Position) | |
4742 | local decal = Decal:Clone() | |
4743 | decal.Parent = O2 | |
4744 | decal.Face = "Top" | |
4745 | decal.Texture = "http://www.roblox.com/asset/?id=332014171" | |
4746 | local decal2 = Decal:Clone() | |
4747 | decal2.Parent = O2 | |
4748 | decal2.Face = "Bottom" | |
4749 | decal2.Texture = "http://www.roblox.com/asset/?id=332014171" | |
4750 | CreateSound("84005018", O1, 10, 0.7) | |
4751 | CreateSound("84005018", O2, 10, 0.7) | |
4752 | for i = 1, 75 do | |
4753 | Swait() | |
4754 | O1.Size = O1.Size + VT(0.1, 0, 0.1) | |
4755 | O1.CFrame = RootPart.CFrame * CF(0, 0, -3) * ANGLES(RAD(90), RAD(i), RAD(0)) | |
4756 | O2.Size = O2.Size + VT(0.1, 0, 0.1) | |
4757 | O2.CFrame = O2.CFrame * ANGLES(RAD(0), RAD(i), RAD(0)) | |
4758 | RootJoint.C0 = Clerp(RootJoint.C0, ROOTC0 * CF(0, 0, 0 + 0.25 * COS(SINE / 12)) * ANGLES(RAD(4 + 2.5 * SIN(SINE / 12)), RAD(0), RAD(5 + 2.5 * SIN(SINE / 12))), 1 / Animation_Speed) | |
4759 | Neck.C0 = Clerp(Neck.C0, NECKC0 * CF(0, 0, 0) * ANGLES(RAD(0 + 4.5 * SIN(SINE / 12)), RAD(0), RAD(-5 - 2.5 * SIN(SINE / 12))), 1 / Animation_Speed) | |
4760 | RightShoulder.C0 = Clerp(RightShoulder.C0, CF(1.5, 0.5 + 0.25 * COS(SINE / 12), 0) * ANGLES(RAD(90), RAD(0 - 2.5 * SIN(SINE / 12)), RAD(5 + 7.5 * SIN(SINE / 12))) * RIGHTSHOULDERC0, 1 / Animation_Speed) | |
4761 | LeftShoulder.C0 = Clerp(LeftShoulder.C0, CF(-1.5, 0.5 + 0.25 * COS(SINE / 12), 0) * ANGLES(RAD(90), RAD(0 + 2.5 * SIN(SINE / 12)), RAD(-5 - 7.5 * SIN(SINE / 12))) * LEFTSHOULDERC0, 1 / Animation_Speed) | |
4762 | RightHip.C0 = Clerp(RightHip.C0, CF(1, -1, -0.01) * ANGLES(RAD(-2.5 * SIN(SINE / 12)), RAD(75), RAD(0)) * ANGLES(RAD(-8 - 2.5 * SIN(SINE / 12)), RAD(0), RAD(0)), 1 / Animation_Speed) | |
4763 | LeftHip.C0 = Clerp(LeftHip.C0, CF(-1, -0.5, -0.5) * ANGLES(RAD(-2.5 * SIN(SINE / 12)), RAD(-90), RAD(0)) * ANGLES(RAD(-8 - 2.5 * SIN(SINE / 12)), RAD(0), RAD(0)), 1 / Animation_Speed) | |
4764 | end | |
4765 | Rooted = true | |
4766 | UNANCHOR = false | |
4767 | RootPart.Anchored = true | |
4768 | VALUE1 = true | |
4769 | for i = 1, 15 do | |
4770 | Transparency(i / 15) | |
4771 | Swait() | |
4772 | RootPart.CFrame = RootPart.CFrame * CF(0, 0, -0.13) | |
4773 | RootJoint.C0 = Clerp(RootJoint.C0, ROOTC0 * CF(0, 0, 0 + 0.25 * COS(SINE / 12)) * ANGLES(RAD(16 + 2.5 * SIN(SINE / 12)), RAD(0), RAD(5 + 2.5 * SIN(SINE / 12))), 1 / Animation_Speed) | |
4774 | Neck.C0 = Clerp(Neck.C0, NECKC0 * CF(0, 0, 0) * ANGLES(RAD(-15 + 4.5 * SIN(SINE / 12)), RAD(0), RAD(-5 - 2.5 * SIN(SINE / 12))), 1 / Animation_Speed) | |
4775 | RightShoulder.C0 = Clerp(RightShoulder.C0, CF(1.5, 0.5 + 0.25 * COS(SINE / 12), 0) * ANGLES(RAD(-15), RAD(0 - 2.5 * SIN(SINE / 12)), RAD(5 + 7.5 * SIN(SINE / 12))) * RIGHTSHOULDERC0, 1 / Animation_Speed) | |
4776 | LeftShoulder.C0 = Clerp(LeftShoulder.C0, CF(-1.5, 0.5 + 0.25 * COS(SINE / 12), 0) * ANGLES(RAD(-15), RAD(0 + 2.5 * SIN(SINE / 12)), RAD(-5 - 7.5 * SIN(SINE / 12))) * LEFTSHOULDERC0, 1 / Animation_Speed) | |
4777 | RightHip.C0 = Clerp(RightHip.C0, CF(1, -1, -0.01) * ANGLES(RAD(-2.5 * SIN(SINE / 12)), RAD(75), RAD(0)) * ANGLES(RAD(-8 - 2.5 * SIN(SINE / 12)), RAD(0), RAD(0)), 1 / Animation_Speed) | |
4778 | LeftHip.C0 = Clerp(LeftHip.C0, CF(-1, -0.5, -0.5) * ANGLES(RAD(-2.5 * SIN(SINE / 12)), RAD(-90), RAD(0)) * ANGLES(RAD(-8 - 2.5 * SIN(SINE / 12)), RAD(0), RAD(0)), 1 / Animation_Speed) | |
4779 | end | |
4780 | RootPart.CFrame = ROOT.CFrame | |
4781 | ROOT:remove() | |
4782 | for i = 1, 15 do | |
4783 | Transparency(1 - i / 15) | |
4784 | Swait() | |
4785 | RootPart.CFrame = RootPart.CFrame * CF(0, 0, -0.5) | |
4786 | RootJoint.C0 = Clerp(RootJoint.C0, ROOTC0 * CF(0, 0, 0 + 0.25 * COS(SINE / 12)) * ANGLES(RAD(16 + 2.5 * SIN(SINE / 12)), RAD(0), RAD(5 + 2.5 * SIN(SINE / 12))), 1 / Animation_Speed) | |
4787 | Neck.C0 = Clerp(Neck.C0, NECKC0 * CF(0, 0, 0) * ANGLES(RAD(-15 + 4.5 * SIN(SINE / 12)), RAD(0), RAD(-5 - 2.5 * SIN(SINE / 12))), 1 / Animation_Speed) | |
4788 | RightShoulder.C0 = Clerp(RightShoulder.C0, CF(1.5, 0.5 + 0.25 * COS(SINE / 12), 0) * ANGLES(RAD(-15), RAD(0 - 2.5 * SIN(SINE / 12)), RAD(5 + 7.5 * SIN(SINE / 12))) * RIGHTSHOULDERC0, 1 / Animation_Speed) | |
4789 | LeftShoulder.C0 = Clerp(LeftShoulder.C0, CF(-1.5, 0.5 + 0.25 * COS(SINE / 12), 0) * ANGLES(RAD(-15), RAD(0 + 2.5 * SIN(SINE / 12)), RAD(-5 - 7.5 * SIN(SINE / 12))) * LEFTSHOULDERC0, 1 / Animation_Speed) | |
4790 | RightHip.C0 = Clerp(RightHip.C0, CF(1, -1, -0.01) * ANGLES(RAD(-2.5 * SIN(SINE / 12)), RAD(75), RAD(0)) * ANGLES(RAD(-8 - 2.5 * SIN(SINE / 12)), RAD(0), RAD(0)), 1 / Animation_Speed) | |
4791 | LeftHip.C0 = Clerp(LeftHip.C0, CF(-1, -0.5, -0.5) * ANGLES(RAD(-2.5 * SIN(SINE / 12)), RAD(-90), RAD(0)) * ANGLES(RAD(-8 - 2.5 * SIN(SINE / 12)), RAD(0), RAD(0)), 1 / Animation_Speed) | |
4792 | end | |
4793 | VALUE1 = false | |
4794 | coroutine.resume(coroutine.create(function() | |
4795 | for i = 1, 75 do | |
4796 | Swait() | |
4797 | O1.Size = O1.Size - VT(0.1, 0, 0.1) | |
4798 | O1.CFrame = O1.CFrame * ANGLES(RAD(0), RAD(i), RAD(0)) | |
4799 | O2.Size = O2.Size - VT(0.1, 0, 0.1) | |
4800 | O2.CFrame = O2.CFrame * ANGLES(RAD(0), RAD(i), RAD(0)) | |
4801 | end | |
4802 | O1:remove() | |
4803 | O2:remove() | |
4804 | end)) | |
4805 | UNANCHOR = true | |
4806 | RootPart.Anchored = false | |
4807 | ATTACK = false | |
4808 | Rooted = false | |
4809 | end | |
4810 | ||
4811 | function R15Ragdoll(character,KeepArms) | |
4812 | character:BreakJoints() | |
4813 | coroutine.resume(coroutine.create(function() | |
4814 | recurse(character, function(_,v) | |
4815 | if v:IsA("Attachment") then | |
4816 | v.Axis = Vector3.new(0, 1, 0) | |
4817 | v.SecondaryAxis = Vector3.new(0, 0, 1) | |
4818 | v.Rotation = Vector3.new(0, 0, 0) | |
4819 | end | |
4820 | end) | |
4821 | for _,child in next,character:GetChildren() do | |
4822 | if child:IsA("Accoutrement") then | |
4823 | for _,part in next,child:GetChildren() do | |
4824 | if part:IsA("BasePart") and part.Name ~= "HumanoidRootPart" then | |
4825 | local attachment1 = part:FindFirstChildOfClass("Attachment") | |
4826 | local attachment0 = getAttachment0(character,attachment1.Name) | |
4827 | if attachment0 and attachment1 then | |
4828 | local constraint = Instance.new("HingeConstraint") | |
4829 | constraint.Attachment0 = attachment0 | |
4830 | constraint.Attachment1 = attachment1 | |
4831 | constraint.LimitsEnabled = true | |
4832 | constraint.UpperAngle = 0 | |
4833 | constraint.LowerAngle = 0 | |
4834 | constraint.Parent = character | |
4835 | end | |
4836 | ArtificialHitbox(part) | |
4837 | elseif part.Name == "HumanoidRootPart" then | |
4838 | part:remove() | |
4839 | end | |
4840 | end | |
4841 | end | |
4842 | end | |
4843 | ||
4844 | ragdollJoint(character,character.LowerTorso, character.UpperTorso, "Waist", "BallSocket", { | |
4845 | {"LimitsEnabled",true}; | |
4846 | {"UpperAngle",5}; | |
4847 | }) | |
4848 | if character:FindFirstChild("Head") then | |
4849 | ragdollJoint(character,character.UpperTorso, character.Head, "Neck", "BallSocket", { | |
4850 | {"LimitsEnabled",true}; | |
4851 | {"UpperAngle",15}; | |
4852 | }) | |
4853 | end | |
4854 | ||
4855 | local handProperties = { | |
4856 | {"LimitsEnabled", true}; | |
4857 | {"UpperAngle",0}; | |
4858 | {"LowerAngle",0}; | |
4859 | } | |
4860 | ragdollJoint(character,character.LeftLowerArm, character.LeftHand, "LeftWrist", "Hinge", handProperties) | |
4861 | ragdollJoint(character,character.RightLowerArm, character.RightHand, "RightWrist", "Hinge", handProperties) | |
4862 | ||
4863 | local shinProperties = { | |
4864 | {"LimitsEnabled", true}; | |
4865 | {"UpperAngle", 0}; | |
4866 | {"LowerAngle", -75}; | |
4867 | } | |
4868 | ragdollJoint(character,character.LeftUpperLeg, character.LeftLowerLeg, "LeftKnee", "Hinge", shinProperties) | |
4869 | ragdollJoint(character,character.RightUpperLeg, character.RightLowerLeg, "RightKnee", "Hinge", shinProperties) | |
4870 | ||
4871 | local footProperties = { | |
4872 | {"LimitsEnabled", true}; | |
4873 | {"UpperAngle", 15}; | |
4874 | {"LowerAngle", -45}; | |
4875 | } | |
4876 | ragdollJoint(character,character.LeftLowerLeg, character.LeftFoot, "LeftAnkle", "Hinge", footProperties) | |
4877 | ragdollJoint(character,character.RightLowerLeg, character.RightFoot, "RightAnkle", "Hinge", footProperties) | |
4878 | if KeepArms == true then | |
4879 | ragdollJoint(character,character.UpperTorso, character.RightUpperArm, "RightShoulder", "BallSocket") | |
4880 | ragdollJoint(character,character.RightUpperArm, character.RightLowerArm, "RightElbow", "BallSocket") | |
4881 | ragdollJoint(character,character.UpperTorso, character.LeftUpperArm, "LeftShoulder", "BallSocket") | |
4882 | ragdollJoint(character,character.LeftUpperArm, character.LeftLowerArm, "LeftElbow", "BallSocket") | |
4883 | end | |
4884 | ragdollJoint(character,character.LowerTorso, character.LeftUpperLeg, "LeftHip", "BallSocket") | |
4885 | ragdollJoint(character,character.LowerTorso, character.RightUpperLeg, "RightHip", "BallSocket") | |
4886 | Debris:AddItem(character,5) | |
4887 | end)) | |
4888 | end | |
4889 | ||
4890 | function Ragdoll(Character2,CharTorso,KeepArms) | |
4891 | coroutine.resume(coroutine.create(function() | |
4892 | Character2:BreakJoints() | |
4893 | local hum = Character2:findFirstChild("Humanoid") | |
4894 | hum:remove() | |
4895 | local function Scan(ch) | |
4896 | local e | |
4897 | for e = 1,#ch do | |
4898 | Scan(ch[e]:GetChildren()) | |
4899 | if ch[e].ClassName == "Weld" or ch[e].ClassName == "Motor6D" then | |
4900 | ch[e]:remove() | |
4901 | end | |
4902 | end | |
4903 | end | |
4904 | local NEWHUM = IT("Humanoid") | |
4905 | NEWHUM.Name = "Corpse" | |
4906 | NEWHUM.Health = 0 | |
4907 | NEWHUM.MaxHealth = 0 | |
4908 | NEWHUM.PlatformStand = true | |
4909 | NEWHUM.Parent = Character2 | |
4910 | NEWHUM.DisplayDistanceType = "None" | |
4911 | ||
4912 | local ch = Character2:GetChildren() | |
4913 | local i | |
4914 | for i = 1,#ch do | |
4915 | if ch[i].Name == "THandle1" or ch[i].Name == "THandle2" then | |
4916 | ch[i]:remove() | |
4917 | end | |
4918 | end | |
4919 | ||
4920 | local Torso2 = Character2.Torso | |
4921 | local movevector = Vector3.new() | |
4922 | ||
4923 | if Torso2 then | |
4924 | movevector = CFrame.new(CharTorso.Position,Torso2.Position).lookVector | |
4925 | local Head = Character2:FindFirstChild("Head") | |
4926 | if Head then | |
4927 | local Neck = Instance.new("Weld") | |
4928 | Neck.Name = "Neck" | |
4929 | Neck.Part0 = Torso2 | |
4930 | Neck.Part1 = Head | |
4931 | Neck.C0 = CFrame.new(0, 1.5, 0) | |
4932 | Neck.C1 = CFrame.new() | |
4933 | Neck.Parent = Torso2 | |
4934 | ||
4935 | end | |
4936 | local Limb = Character2:FindFirstChild("Right Arm") | |
4937 | if Limb and KeepArms == true then | |
4938 | ||
4939 | Limb.CFrame = Torso2.CFrame * CFrame.new(1.5, 0, 0) | |
4940 | local Joint = Instance.new("Glue") | |
4941 | Joint.Name = "RightShoulder" | |
4942 | Joint.Part0 = Torso2 | |
4943 | Joint.Part1 = Limb | |
4944 | Joint.C0 = CFrame.new(1.5, 0.5, 0, 0, 0, 1, 0, 1, 0, -1, -0, -0) | |
4945 | Joint.C1 = CFrame.new(-0, 0.5, 0, 0, 0, 1, 0, 1, 0, -1, -0, -0) | |
4946 | Joint.Parent = Torso2 | |
4947 | ||
4948 | local B = Instance.new("Part") | |
4949 | B.TopSurface = 0 | |
4950 | B.BottomSurface = 0 | |
4951 | B.formFactor = "Symmetric" | |
4952 | B.Size = Vector3.new(1, 1, 1) | |
4953 | B.Transparency = 1 | |
4954 | B.CFrame = Limb.CFrame * CFrame.new(0, -0.5, 0) | |
4955 | B.Parent = Character2 | |
4956 | local W = Instance.new("Weld") | |
4957 | W.Part0 = Limb | |
4958 | W.Part1 = B | |
4959 | W.C0 = CFrame.new(0, -0.5, 0) | |
4960 | W.Parent = Limb | |
4961 | ||
4962 | end | |
4963 | local Limb = Character2:FindFirstChild("Left Arm") | |
4964 | if Limb and KeepArms == true then | |
4965 | ||
4966 | Limb.CFrame = Torso2.CFrame * CFrame.new(-1.5, 0, 0) | |
4967 | local Joint = Instance.new("Glue") | |
4968 | Joint.Name = "LeftShoulder" | |
4969 | Joint.Part0 = Torso2 | |
4970 | Joint.Part1 = Limb | |
4971 | Joint.C0 = CFrame.new(-1.5, 0.5, 0, -0, -0, -1, 0, 1, 0, 1, 0, 0) | |
4972 | Joint.C1 = CFrame.new(0, 0.5, 0, -0, -0, -1, 0, 1, 0, 1, 0, 0) | |
4973 | Joint.Parent = Torso2 | |
4974 | ||
4975 | local B = Instance.new("Part") | |
4976 | B.TopSurface = 0 | |
4977 | B.BottomSurface = 0 | |
4978 | B.formFactor = "Symmetric" | |
4979 | B.Size = Vector3.new(1, 1, 1) | |
4980 | B.Transparency = 1 | |
4981 | B.CFrame = Limb.CFrame * CFrame.new(0, -0.5, 0) | |
4982 | B.Parent = Character2 | |
4983 | local W = Instance.new("Weld") | |
4984 | W.Part0 = Limb | |
4985 | W.Part1 = B | |
4986 | W.C0 = CFrame.new(0, -0.5, 0) | |
4987 | W.Parent = Limb | |
4988 | ||
4989 | end | |
4990 | local Limb = Character2:FindFirstChild("Right Leg") | |
4991 | if Limb then | |
4992 | ||
4993 | Limb.CFrame = Torso2.CFrame * CFrame.new(0.5, -2, 0) | |
4994 | local Joint = Instance.new("Glue") | |
4995 | Joint.Name = "RightHip" | |
4996 | Joint.Part0 = Torso2 | |
4997 | Joint.Part1 = Limb | |
4998 | Joint.C0 = CFrame.new(0.5, -1, 0, 0, 0, 1, 0, 1, 0, -1, -0, -0) | |
4999 | Joint.C1 = CFrame.new(0, 1, 0, 0, 0, 1, 0, 1, 0, -1, -0, -0) | |
5000 | Joint.Parent = Torso2 | |
5001 | ||
5002 | local B = Instance.new("Part") | |
5003 | B.TopSurface = 0 | |
5004 | B.BottomSurface = 0 | |
5005 | B.formFactor = "Symmetric" | |
5006 | B.Size = Vector3.new(1, 1, 1) | |
5007 | B.Transparency = 1 | |
5008 | B.CFrame = Limb.CFrame * CFrame.new(0, -0.5, 0) | |
5009 | B.Parent = Character2 | |
5010 | local W = Instance.new("Weld") | |
5011 | W.Part0 = Limb | |
5012 | W.Part1 = B | |
5013 | W.C0 = CFrame.new(0, -0.5, 0) | |
5014 | W.Parent = Limb | |
5015 | ||
5016 | end | |
5017 | local Limb = Character2:FindFirstChild("Left Leg") | |
5018 | if Limb then | |
5019 | ||
5020 | Limb.CFrame = Torso2.CFrame * CFrame.new(-0.5, -2, 0) | |
5021 | local Joint = Instance.new("Glue") | |
5022 | Joint.Name = "LeftHip" | |
5023 | Joint.Part0 = Torso2 | |
5024 | Joint.Part1 = Limb | |
5025 | Joint.C0 = CFrame.new(-0.5, -1, 0, -0, -0, -1, 0, 1, 0, 1, 0, 0) | |
5026 | Joint.C1 = CFrame.new(-0, 1, 0, -0, -0, -1, 0, 1, 0, 1, 0, 0) | |
5027 | Joint.Parent = Torso2 | |
5028 | ||
5029 | local B = Instance.new("Part") | |
5030 | B.TopSurface = 0 | |
5031 | B.BottomSurface = 0 | |
5032 | B.formFactor = "Symmetric" | |
5033 | B.Size = Vector3.new(1, 1, 1) | |
5034 | B.Transparency = 1 | |
5035 | B.CFrame = Limb.CFrame * CFrame.new(0, -0.5, 0) | |
5036 | B.Parent = Character2 | |
5037 | local W = Instance.new("Weld") | |
5038 | W.Part0 = Limb | |
5039 | W.Part1 = B | |
5040 | W.C0 = CFrame.new(0, -0.5, 0) | |
5041 | W.Parent = Limb | |
5042 | ||
5043 | end | |
5044 | --[ | |
5045 | local Bar = Instance.new("Part") | |
5046 | Bar.TopSurface = 0 | |
5047 | Bar.BottomSurface = 0 | |
5048 | Bar.formFactor = "Symmetric" | |
5049 | Bar.Size = Vector3.new(1, 1, 1) | |
5050 | Bar.Transparency = 1 | |
5051 | Bar.CFrame = Torso2.CFrame * CFrame.new(0, 0.5, 0) | |
5052 | Bar.Parent = Character2 | |
5053 | local Weld = Instance.new("Weld") | |
5054 | Weld.Part0 = Torso2 | |
5055 | Weld.Part1 = Bar | |
5056 | Weld.C0 = CFrame.new(0, 0.5, 0) | |
5057 | Weld.Parent = Torso2 | |
5058 | --]] | |
5059 | end | |
5060 | Character2.Parent = workspace | |
5061 | Debris:AddItem(Character2,5) | |
5062 | ||
5063 | return Character2,Torso2 | |
5064 | end)) | |
5065 | end | |
5066 | ||
5067 | function Roar() | |
5068 | ATTACK = true | |
5069 | Rooted = true | |
5070 | local VIOLENCE = 1 | |
5071 | if VIOLENCE <= 10 then | |
5072 | MagicSphere(VT(0,0,0),15,Torso.CFrame,"Lime green",VT(2,2,2)) | |
5073 | for i=0, 1, 0.1 / Animation_Speed do | |
5074 | Swait() | |
5075 | RootJoint.C0 = Clerp(RootJoint.C0,ROOTC0 * CF(0*SIZE, 0*SIZE, 0*SIZE) * ANGLES(RAD(0), RAD(0), RAD(0)), 0.15 / Animation_Speed) | |
5076 | Neck.C0 = Clerp(Neck.C0, NECKC0 * CF(0, 0, 0 + ((1*SIZE) - 1)) * ANGLES(RAD(0), RAD(0), RAD(0)), 0.15 / Animation_Speed) | |
5077 | RightShoulder.C0 = Clerp(RightShoulder.C0, CF(1.5*SIZE, 0.65*SIZE, 0*SIZE) * ANGLES(RAD(135), RAD(0), RAD(22)) * ANGLES(RAD(0), RAD(-70), RAD(0)) * RIGHTSHOULDERC0, 0.15 / Animation_Speed) | |
5078 | LeftShoulder.C0 = Clerp(LeftShoulder.C0, CF(-1.5*SIZE, 0.65*SIZE, 0*SIZE) * ANGLES(RAD(135), RAD(0), RAD(-22)) * ANGLES(RAD(0), RAD(70), RAD(0)) * LEFTSHOULDERC0, 0.15 / Animation_Speed) | |
5079 | RightHip.C0 = Clerp(RightHip.C0, CF(1*SIZE, -1*SIZE, -0.01*SIZE) * ANGLES(RAD(0), RAD(75), RAD(0)) * ANGLES(RAD(-8), RAD(0), RAD(0)), 0.15 / Animation_Speed) | |
5080 | LeftHip.C0 = Clerp(LeftHip.C0, CF(-1*SIZE, -1*SIZE, -0.01*SIZE) * ANGLES(RAD(0), RAD(-75), RAD(0)) * ANGLES(RAD(-8), RAD(0), RAD(0)), 0.15 / Animation_Speed) | |
5081 | end | |
5082 | local TAUNT = CreateSound(VOCALS_ENRAGES[MRANDOM(1,#VOCALS_ENRAGES)], Torso, 10, 1, false) | |
5083 | repeat Swait() until TAUNT.TimeLength > 0 | |
5084 | repeat | |
5085 | Swait() | |
5086 | ApplyAoE(Torso.Position,15,0,0,200,false) | |
5087 | local HITFLOOR,HITPOS = Raycast(RootPart.Position, (CF(RootPart.Position, RootPart.Position + VT(0, -1, 0))).lookVector, 4*SIZE, Character) | |
5088 | WACKYEFFECT({Time = 15, EffectType = "Wave", Size = VT(0,2,0), Size2 = VT(15,0,15), Transparency = 1, Transparency2 = 1, CFrame = CF(Head.Position) * ANGLES(RAD(MRANDOM(0,360)), RAD(MRANDOM(0,360)), RAD(MRANDOM(0,360))), MoveToPos = nil, RotationX = 0, RotationY = 5, RotationZ = 0, Material = "Neon", Color = C3(1,1,1), SoundID = nil, SoundPitch = MRANDOM(9,11)/10, SoundVolume = MRANDOM(9,11)/2}) | |
5089 | WACKYEFFECT({Time = 15, EffectType = "Wave", Size = VT(0,2,0), Size2 = VT(35,0,35), Transparency = 0.2, Transparency2 = 1, CFrame = CF(HITPOS) * ANGLES(RAD(0), RAD(MRANDOM(0,360)), RAD(0)), MoveToPos = nil, RotationX = 0, RotationY = 5, RotationZ = 0, Material = "Neon", Color = C3(1,1,1), SoundID = nil, SoundPitch = MRANDOM(9,11)/10, SoundVolume = MRANDOM(9,11)/2}) | |
5090 | TAUNT.Parent = Torso | |
5091 | Swait() | |
5092 | TAUNT.Parent = Torso | |
5093 | local CHILDREN = workspace:GetDescendants() | |
5094 | for index, CHILD in pairs(CHILDREN) do | |
5095 | if CHILD.ClassName == "Model" and CHILD ~= Character then | |
5096 | local HUM = CHILD:FindFirstChildOfClass("Humanoid") | |
5097 | if HUM then | |
5098 | local TORSO = CHILD:FindFirstChild("Torso") | |
5099 | if TORSO then | |
5100 | if (TORSO.Position - Torso.Position).Magnitude <= 25 then | |
5101 | WACKYEFFECT({Time = 45, EffectType = "Sphere", Size = VT(1,1,1), Size2 = VT(5,5,5), Transparency = 0, Transparency2 = 1, CFrame = CF(TORSO.Position), MoveToPos = nil, RotationX = 0, RotationY = 0, RotationZ = 0, Material = "Neon", Color = C3(0,1,0), SoundID = nil, SoundPitch = nil, SoundVolume = nil}) | |
5102 | TORSO:remove() | |
5103 | if CHILD:FindFirstChild("Torso") then | |
5104 | Ragdoll(CHILD,Torso,true) | |
5105 | elseif CHILD:FindFirstChild("UpperTorso") then | |
5106 | R15Ragdoll(CHILD,true) | |
5107 | end | |
5108 | end | |
5109 | end | |
5110 | end | |
5111 | end | |
5112 | end | |
5113 | RootJoint.C0 = Clerp(RootJoint.C0,ROOTC0 * CF(0*SIZE, -0.2*SIZE, -0.1*SIZE) * ANGLES(RAD(35), RAD(0), RAD(0)), 1 / Animation_Speed) | |
5114 | Torso.Neck.C0=Clerp(Torso.Neck.C0,NECKC0*ANGLES(0,math.rad(-25),0)*ANGLES(math.rad(0 - 25 * math.cos(SINE / 0.1164)),math.rad(0 - 30 * math.cos(SINE / 0.25)),math.rad(0 - 30 * math.cos(SINE / 0.465))),.1) | |
5115 | RightShoulder.C0 = Clerp(RightShoulder.C0, CF(1.5*SIZE, 0.5*SIZE, 0.1*SIZE) * ANGLES(RAD(-35), RAD(0), RAD(42)) * ANGLES(RAD(0), RAD(-70), RAD(0)) * RIGHTSHOULDERC0, 1 / Animation_Speed) | |
5116 | LeftShoulder.C0 = Clerp(LeftShoulder.C0, CF(-1.5*SIZE, 0.5*SIZE, 0.1*SIZE) * ANGLES(RAD(-35), RAD(0), RAD(-42)) * ANGLES(RAD(0), RAD(70), RAD(0)) * LEFTSHOULDERC0, 1 / Animation_Speed) | |
5117 | RightHip.C0 = Clerp(RightHip.C0, CF(1*SIZE, -1*SIZE, -0.01*SIZE) * ANGLES(RAD(25), RAD(75), RAD(0)) * ANGLES(RAD(-8), RAD(0), RAD(0)), 1 / Animation_Speed) | |
5118 | LeftHip.C0 = Clerp(LeftHip.C0, CF(-1*SIZE, -1*SIZE, -0.01*SIZE) * ANGLES(RAD(45), RAD(-75), RAD(0)) * ANGLES(RAD(-8), RAD(0), RAD(0)), 1 / Animation_Speed) | |
5119 | until TAUNT.TimePosition > TAUNT.TimeLength - 2 | |
5120 | end | |
5121 | MagicSphere(VT(0,0,0),15,Torso.CFrame,"Lime green",VT(2,2,2)) | |
5122 | ATTACK = false | |
5123 | Rooted = false | |
5124 | end | |
5125 | ||
5126 | function Blizzard() | |
5127 | local HITFLOOR, HITPOS, NORMAL = Raycast(RootPart.Position, CF(RootPart.Position, RootPart.Position + VT(0, -1, 0)).lookVector, 7 * Player_Size, Character) | |
5128 | if HITFLOOR ~= nil then | |
5129 | ATTACK = true | |
5130 | Rooted = true | |
5131 | local GYRO = IT("BodyGyro", RootPart) | |
5132 | GYRO.D = 100 | |
5133 | GYRO.P = 2000 | |
5134 | GYRO.MaxTorque = VT(0, 4000000, 0) | |
5135 | GYRO.cframe = CF(RootPart.Position, Mouse.Hit.p) | |
5136 | for i = 0, 3.5, 0.1 / Animation_Speed do | |
5137 | Swait() | |
5138 | MagicSphere(VT(0, 0, 0), 15, CF(RightArm.CFrame * CF(0, -1.2, 0).p, RightArm.CFrame * CF(MRANDOM(-5, 5), -1.2 + MRANDOM(-25, 25), MRANDOM(-5, 5)).p), C3(0, 0, 0), VT(1, 0.1, 0.1) / 2) | |
5139 | GYRO.cframe = CF(RootPart.Position, Mouse.Hit.p) | |
5140 | RootJoint.C0 = Clerp(RootJoint.C0, ROOTC0 * CF(0, 0, 0 + 0.25 * COS(SINE / 12)) * ANGLES(RAD(4 + 2.5 * SIN(SINE / 12)), RAD(0), RAD(-15 + 2.5 * SIN(SINE / 12))), 1 / Animation_Speed) | |
5141 | Neck.C0 = Clerp(Neck.C0, NECKC0 * CF(0, 0, 0) * ANGLES(RAD(0 + 4.5 * SIN(SINE / 12)), RAD(0), RAD(15 - 2.5 * SIN(SINE / 12))), 1 / Animation_Speed) | |
5142 | RightShoulder.C0 = Clerp(RightShoulder.C0, CF(1.5, 0.5 + 0.25 * COS(SINE / 12), 0) * ANGLES(RAD(-45), RAD(0 - 7.5 * SIN(SINE / 12)), RAD(32 + 7.5 * SIN(SINE / 12))) * RIGHTSHOULDERC0, 1 / Animation_Speed) | |
5143 | LeftShoulder.C0 = Clerp(LeftShoulder.C0, CF(-1.5, 0.5 + 0.25 * COS(SINE / 12), 0) * ANGLES(RAD(5), RAD(0 + 7.5 * SIN(SINE / 12)), RAD(-12 - 7.5 * SIN(SINE / 12))) * LEFTSHOULDERC0, 1 / Animation_Speed) | |
5144 | RightHip.C0 = Clerp(RightHip.C0, CF(1, -1, -0.01) * ANGLES(RAD(-7.5 * SIN(SINE / 12)), RAD(75), RAD(0)) * ANGLES(RAD(-8 - 2.5 * SIN(SINE / 12)), RAD(0), RAD(0)), 1 / Animation_Speed) | |
5145 | LeftHip.C0 = Clerp(LeftHip.C0, CF(-1, -0.5, -0.5) * ANGLES(RAD(-7.5 * SIN(SINE / 12)), RAD(-90), RAD(0)) * ANGLES(RAD(-8 - 2.5 * SIN(SINE / 12)), RAD(0), RAD(0)), 1 / Animation_Speed) | |
5146 | end | |
5147 | CreateSound("160772554", RightArm, 10, 0.7) | |
5148 | for i = 0, 0.15, 0.1 / Animation_Speed do | |
5149 | Swait() | |
5150 | MagicSphere(VT(0, 0, 0), 15, CF(RightArm.CFrame * CF(0, -1.2, 0).p, RightArm.CFrame * CF(MRANDOM(-5, 5), -1.2 + MRANDOM(-25, 25), MRANDOM(-5, 5)).p), C3(0, 0, 0), VT(1, 0.1, 0.1) / 2) | |
5151 | GYRO.cframe = CF(RootPart.Position, Mouse.Hit.p) | |
5152 | RootJoint.C0 = Clerp(RootJoint.C0, ROOTC0 * CF(0, 0, 0 + 0.25 * COS(SINE / 12)) * ANGLES(RAD(4 + 2.5 * SIN(SINE / 12)), RAD(0), RAD(85 + 2.5 * SIN(SINE / 12))), 1 / Animation_Speed) | |
5153 | Neck.C0 = Clerp(Neck.C0, NECKC0 * CF(0, 0, 0) * ANGLES(RAD(0 + 4.5 * SIN(SINE / 12)), RAD(0), RAD(-85 - 2.5 * SIN(SINE / 12))), 1 / Animation_Speed) | |
5154 | RightShoulder.C0 = Clerp(RightShoulder.C0, CF(1.5, 0.5 + 0.25 * COS(SINE / 12), 0) * ANGLES(RAD(0), RAD(0 - 7.5 * SIN(SINE / 12)), RAD(90 + 7.5 * SIN(SINE / 12))) * RIGHTSHOULDERC0, 1 / Animation_Speed) | |
5155 | LeftShoulder.C0 = Clerp(LeftShoulder.C0, CF(-1.5, 0.5 + 0.25 * COS(SINE / 12), 0) * ANGLES(RAD(5), RAD(0 + 7.5 * SIN(SINE / 12)), RAD(-12 - 7.5 * SIN(SINE / 12))) * LEFTSHOULDERC0, 1 / Animation_Speed) | |
5156 | RightHip.C0 = Clerp(RightHip.C0, CF(1, -1, -0.01) * ANGLES(RAD(-7.5 * SIN(SINE / 12)), RAD(75), RAD(0)) * ANGLES(RAD(-8 - 2.5 * SIN(SINE / 12)), RAD(0), RAD(0)), 1 / Animation_Speed) | |
5157 | LeftHip.C0 = Clerp(LeftHip.C0, CF(-1, -0.5, -0.5) * ANGLES(RAD(-7.5 * SIN(SINE / 12)), RAD(-90), RAD(0)) * ANGLES(RAD(-8 - 2.5 * SIN(SINE / 12)), RAD(0), RAD(0)), 1 / Animation_Speed) | |
5158 | end | |
5159 | coroutine.resume(coroutine.create(function() | |
5160 | local CENTER = CreatePart(3, Effects, "SmoothPlastic", 0, 1, SKILLTEXTCOLOR, "CenterPart", VT(0, 0, 0)) | |
5161 | CENTER.CFrame = RootPart.CFrame | |
5162 | for i = 1, 200 do | |
5163 | Swait() | |
5164 | CENTER.CFrame = CENTER.CFrame * CF(0, 0, -0.7) | |
5165 | for i = 1, 2 do | |
5166 | Slice("Round", 0, 45, CF(CENTER.Position + VT(0, MRANDOM(-15, 15), 0)) * ANGLES(RAD(MRANDOM(-18, 18)), RAD(MRANDOM(-180, 180)), RAD(MRANDOM(-18, 18))), "Really red", VT(0.1, 0, 0.1) * MRANDOM(5, 15) / 10) | |
5167 | end | |
5168 | killnearest(CENTER.Position, 25, 10) | |
5169 | end | |
5170 | CENTER:remove() | |
5171 | end)) | |
5172 | for i = 0, 1, 0.1 / Animation_Speed do | |
5173 | Swait() | |
5174 | RootJoint.C0 = Clerp(RootJoint.C0, ROOTC0 * CF(0, 0, 0 + 0.25 * COS(SINE / 12)) * ANGLES(RAD(4 + 2.5 * SIN(SINE / 12)), RAD(0), RAD(85 + 2.5 * SIN(SINE / 12))), 1 / Animation_Speed) | |
5175 | Neck.C0 = Clerp(Neck.C0, NECKC0 * CF(0, 0, 0) * ANGLES(RAD(0 + 4.5 * SIN(SINE / 12)), RAD(0), RAD(-85 - 2.5 * SIN(SINE / 12))), 1 / Animation_Speed) | |
5176 | RightShoulder.C0 = Clerp(RightShoulder.C0, CF(1.5, 0.5 + 0.25 * COS(SINE / 12), 0) * ANGLES(RAD(145), RAD(0 - 7.5 * SIN(SINE / 12)), RAD(-15 + 7.5 * SIN(SINE / 12))) * RIGHTSHOULDERC0, 1 / Animation_Speed) | |
5177 | LeftShoulder.C0 = Clerp(LeftShoulder.C0, CF(-1.5, 0.5 + 0.25 * COS(SINE / 12), 0) * ANGLES(RAD(-25), RAD(0 + 7.5 * SIN(SINE / 12)), RAD(-12 - 7.5 * SIN(SINE / 12))) * LEFTSHOULDERC0, 1 / Animation_Speed) | |
5178 | RightHip.C0 = Clerp(RightHip.C0, CF(1, -1, -0.01) * ANGLES(RAD(-7.5 * SIN(SINE / 12)), RAD(75), RAD(0)) * ANGLES(RAD(-8 - 2.5 * SIN(SINE / 12)), RAD(0), RAD(0)), 1 / Animation_Speed) | |
5179 | LeftHip.C0 = Clerp(LeftHip.C0, CF(-1, -0.5, -0.5) * ANGLES(RAD(-7.5 * SIN(SINE / 12)), RAD(-90), RAD(0)) * ANGLES(RAD(-8 - 2.5 * SIN(SINE / 12)), RAD(0), RAD(0)), 1 / Animation_Speed) | |
5180 | end | |
5181 | Rooted = true | |
5182 | GYRO:remove() | |
5183 | ATTACK = false | |
5184 | Rooted = false | |
5185 | end | |
5186 | end | |
5187 | ||
5188 | local INTRO = false | |
5189 | local INSTANT = false | |
5190 | ||
5191 | function Intro() | |
5192 | ATTACK = true | |
5193 | Rooted = true | |
5194 | MODE = "intro" | |
5195 | tecks2.Text = "Dominus Switcher V2" | |
5196 | coroutine.resume(coroutine.create(function() | |
5197 | wait(6) | |
5198 | BodyColor = C3(0,0,0) | |
5199 | LegColor = C3(0.03, 0, 0) | |
5200 | ArmColor = C3(0.13, 0, 0) | |
5201 | WACKYEFFECT({EffectType = "Sphere", Size = VT(1,1,1), Size2 = VT(1,1,1)*2, Transparency = 0, Transparency2 = 1, CFrame = CF(RightArm.Position), MoveToPos = nil, RotationX = 0, RotationY = 0, RotationZ = 0, Material = "Neon", Color = BodyColor, SoundID = nil, SoundPitch = MRANDOM(9,11)/10, SoundVolume = 6}) | |
5202 | ||
5203 | CreateSound(147722227, Torso, 4, 1.3, false) | |
5204 | local eff = Instance.new("ParticleEmitter",Torso) | |
5205 | eff.Texture = "rbxassetid://2273224484" | |
5206 | eff.LightEmission = 1 | |
5207 | eff.Color = ColorSequence.new(BrickColor.random().Color) | |
5208 | eff.Rate = 500000 | |
5209 | eff.Lifetime = NumberRange.new(1,3) | |
5210 | eff.Size = NumberSequence.new({NumberSequenceKeypoint.new(0,30,0),NumberSequenceKeypoint.new(0.2,5,0),NumberSequenceKeypoint.new(0.8,5,0),NumberSequenceKeypoint.new(1,0,0)}) | |
5211 | eff.Transparency = NumberSequence.new({NumberSequenceKeypoint.new(0,1,0),NumberSequenceKeypoint.new(0.1,0,0),NumberSequenceKeypoint.new(0.8,0,0),NumberSequenceKeypoint.new(1,1,0)}) | |
5212 | eff.Speed = NumberRange.new(50,500) | |
5213 | eff.Drag = 5 | |
5214 | eff.Rotation = NumberRange.new(-500,500) | |
5215 | eff.VelocitySpread = 9000 | |
5216 | eff.RotSpeed = NumberRange.new(-50,50) | |
5217 | for _, c in pairs(Character:GetChildren()) do | |
5218 | ||
5219 | if c == Head then | |
5220 | local M = CreateMesh("SpecialMesh", c, "FileMesh", "527245069", "195696364", VT(1, 1, 1) * 1.1, VT(0, 0, 0)) | |
5221 | M.Name = "Dominus" | |
5222 | if c:FindFirstChild("face") then | |
5223 | c.face:remove() | |
5224 | end | |
5225 | end | |
5226 | end | |
5227 | ||
5228 | Swait(15) | |
5229 | CreateSound(1187613212, Torso, 4, 1.3, false) | |
5230 | ||
5231 | BodyColor = C3(1,3,2) | |
5232 | LegColor = C3(0.01, 0.03, 0.02) | |
5233 | ArmColor = C3(0.12, 0.13, 0.17) | |
5234 | WACKYEFFECT({EffectType = "Sphere", Size = VT(1,1,1), Size2 = VT(1,1,1)*2, Transparency = 0, Transparency2 = 1, CFrame = CF(RightArm.Position), MoveToPos = nil, RotationX = 0, RotationY = 0, RotationZ = 0, Material = "Neon", Color = BodyColor, SoundID = nil, SoundPitch = MRANDOM(9,11)/10, SoundVolume = 6}) | |
5235 | ||
5236 | for _, c in pairs(Character:GetChildren()) do | |
5237 | if c.ClassName == "Part" then | |
5238 | c.Material = "Neon" | |
5239 | if c:FindFirstChildOfClass("ParticleEmitter") then | |
5240 | c:FindFirstChildOfClass("ParticleEmitter"):remove() | |
5241 | end | |
5242 | if c == Head then | |
5243 | local M = CreateMesh("SpecialMesh", c, "FileMesh", "527245069", "527244862", VT(1, 1, 1) * 1.1, VT(0, 0, 0)) | |
5244 | M.Name = "Dominus" | |
5245 | if c:FindFirstChild("face") then | |
5246 | c.face:remove() | |
5247 | end | |
5248 | end | |
5249 | end | |
5250 | end | |
5251 | Swait(15) | |
5252 | CreateSound(147722227, Torso, 4, 0.9, false) | |
5253 | ||
5254 | BodyColor = C3(1, 1, 1) | |
5255 | LegColor = C3(0.7372549019607844, 0.6078431372549019, 0.36470588235294116) | |
5256 | ArmColor = C3(0.9372549019607843, 0.7215686274509804, 0.2196078431372549) | |
5257 | WACKYEFFECT({EffectType = "Sphere", Size = VT(1,1,1), Size2 = VT(1,1,1)*2, Transparency = 0, Transparency2 = 1, CFrame = CF(RightArm.Position), MoveToPos = nil, RotationX = 0, RotationY = 0, RotationZ = 0, Material = "Neon", Color = BodyColor, SoundID = nil, SoundPitch = MRANDOM(9,11)/10, SoundVolume = 6}) | |
5258 | ||
5259 | for _, c in pairs(Character:GetChildren()) do | |
5260 | if c.ClassName == "Part" then | |
5261 | c.Material = "Neon" | |
5262 | if c:FindFirstChildOfClass("ParticleEmitter") then | |
5263 | c:FindFirstChildOfClass("ParticleEmitter"):remove() | |
5264 | end | |
5265 | if c == Head then | |
5266 | local M = CreateMesh("SpecialMesh", c, "FileMesh", "21057410", "1393532942", VT(1, 1, 1) * 1.1, VT(0, 0, 0)) | |
5267 | M.Name = "Dominus" | |
5268 | if c:FindFirstChild("face") then | |
5269 | c.face:remove() | |
5270 | end | |
5271 | end | |
5272 | end | |
5273 | end | |
5274 | Swait(60) | |
5275 | CreateSound(147722227, Torso, 4, 1, false) | |
5276 | ||
5277 | BodyColor = C3(0,0,0) | |
5278 | LegColor = C3(0.05,0,0) | |
5279 | ArmColor = C3(0.15,0.05,0.05) | |
5280 | WACKYEFFECT({EffectType = "Sphere", Size = VT(1,1,1), Size2 = VT(1,1,1)*2, Transparency = 0, Transparency2 = 1, CFrame = CF(RightArm.Position), MoveToPos = nil, RotationX = 0, RotationY = 0, RotationZ = 0, Material = "Neon", Color = BodyColor, SoundID = nil, SoundPitch = MRANDOM(9,11)/10, SoundVolume = 6}) | |
5281 | ||
5282 | for _, c in pairs(Character:GetChildren()) do | |
5283 | if c.ClassName == "Part" then | |
5284 | c.Material = "Neon" | |
5285 | if c:FindFirstChildOfClass("ParticleEmitter") then | |
5286 | c:FindFirstChildOfClass("ParticleEmitter"):remove() | |
5287 | end | |
5288 | if c == Head then | |
5289 | local M = CreateMesh("SpecialMesh", c, "FileMesh", "21057410", "65645429", VT(1, 1, 1) * 1.1, VT(0, 0, 0)) | |
5290 | M.Name = "Dominus" | |
5291 | if c:FindFirstChild("face") then | |
5292 | c.face:remove() | |
5293 | end | |
5294 | end | |
5295 | end | |
5296 | end | |
5297 | Swait(15) | |
5298 | CreateSound(147722227, Torso, 4, 1.3, false) | |
5299 | ||
5300 | BodyColor = C3(0,0,0) | |
5301 | LegColor = C3(0,0,0) | |
5302 | ArmColor = C3(0.05,0.05,0.05) | |
5303 | WACKYEFFECT({EffectType = "Sphere", Size = VT(1,1,1), Size2 = VT(1,1,1)*2, Transparency = 0, Transparency2 = 1, CFrame = CF(RightArm.Position), MoveToPos = nil, RotationX = 0, RotationY = 0, RotationZ = 0, Material = "Neon", Color = BodyColor, SoundID = nil, SoundPitch = MRANDOM(9,11)/10, SoundVolume = 6}) | |
5304 | ||
5305 | for _, c in pairs(Character:GetChildren()) do | |
5306 | if c.ClassName == "Part" then | |
5307 | c.Material = "Neon" | |
5308 | if c:FindFirstChildOfClass("ParticleEmitter") then | |
5309 | c:FindFirstChildOfClass("ParticleEmitter"):remove() | |
5310 | end | |
5311 | if c == Head then | |
5312 | local M = CreateMesh("SpecialMesh", c, "FileMesh", "21057410", "142151506", VT(1, 1, 1) * 1.1, VT(0, 0, 0)) | |
5313 | M.Name = "Dominus" | |
5314 | if c:FindFirstChild("face") then | |
5315 | c.face:remove() | |
5316 | end | |
5317 | end | |
5318 | end | |
5319 | end | |
5320 | Swait(15) | |
5321 | CreateSound(147722227, Torso, 4, 1.3, false) | |
5322 | ||
5323 | for _, c in pairs(Character:GetChildren()) do | |
5324 | if c.ClassName == "Part" then | |
5325 | c.Material = "Neon" | |
5326 | if c:FindFirstChildOfClass("ParticleEmitter") then | |
5327 | c:FindFirstChildOfClass("ParticleEmitter"):remove() | |
5328 | end | |
5329 | if c == Torso then | |
5330 | c.Color = C3(0,0,0) | |
5331 | elseif c == RightArm then | |
5332 | c.Color = C3(0.05,0.05,0.15) | |
5333 | elseif c == LeftArm then | |
5334 | c.Color = C3(0.05,0.05,0.15) | |
5335 | elseif c == RightLeg then | |
5336 | c.Color = C3(0,0,0.05) | |
5337 | elseif c == LeftLeg then | |
5338 | c.Color = C3(0,0,0.05) | |
5339 | elseif c == Head then | |
5340 | local M = CreateMesh("SpecialMesh", c, "FileMesh", "162384581", "162384608", VT(1,1,1)*1.1, VT(0,0,0)) | |
5341 | M.Name = "Dominus" | |
5342 | if c:FindFirstChild("face") then | |
5343 | c.face:remove() | |
5344 | ||
5345 | end | |
5346 | end | |
5347 | elseif c.ClassName == "Shirt" or c.ClassName == "Pants" or c.ClassName == "CharacterMesh" or c.ClassName == "Accessory" or c.Name == "Body Colors" then | |
5348 | c:remove() | |
5349 | end | |
5350 | end | |
5351 | ||
5352 | ||
5353 | eff.Enabled = false | |
5354 | for _, c in pairs(Character:GetChildren()) do | |
5355 | if c == Head then | |
5356 | local M = CreateMesh("SpecialMesh", c, "FileMesh", "162384581", "162384608", VT(1,1,1)*1.1, VT(0,0,0)) | |
5357 | M.Name = "Dominus" | |
5358 | end | |
5359 | end | |
5360 | end)) | |
5361 | Swait(15) | |
5362 | local BodyColor = C3(0,0,0) | |
5363 | local LegColor = C3(0,0,0.05) | |
5364 | local ArmColor = C3(0.05,0.05,0.15) | |
5365 | for _, c in pairs(Character:GetChildren()) do | |
5366 | if c.ClassName == "Part" then | |
5367 | c.Material = "Neon" | |
5368 | if c:FindFirstChildOfClass("ParticleEmitter") then | |
5369 | c:FindFirstChildOfClass("ParticleEmitter"):remove() | |
5370 | end | |
5371 | if c == Torso then | |
5372 | c.Color = C3(0,0,0) | |
5373 | elseif c == RightArm then | |
5374 | c.Color = C3(0.05,0.05,0.15) | |
5375 | elseif c == LeftArm then | |
5376 | c.Color = C3(0.05,0.05,0.15) | |
5377 | elseif c == RightLeg then | |
5378 | c.Color = C3(0,0,0.05) | |
5379 | elseif c == LeftLeg then | |
5380 | c.Color = C3(0,0,0.05) | |
5381 | elseif c == Head then | |
5382 | local M = CreateMesh("SpecialMesh", c, "FileMesh", "162384581", "162384608", VT(1,1,1)*1.1, VT(0,0,0)) | |
5383 | M.Name = "Dominus" | |
5384 | if c:FindFirstChild("face") then | |
5385 | c.face:remove() | |
5386 | ||
5387 | end | |
5388 | end | |
5389 | elseif c.ClassName == "Shirt" or c.ClassName == "Pants" or c.ClassName == "CharacterMesh" or c.ClassName == "Accessory" or c.Name == "Body Colors" then | |
5390 | c:remove() | |
5391 | end | |
5392 | end | |
5393 | repeat | |
5394 | Swait() | |
5395 | RootJoint.C0 = Clerp(RootJoint.C0, ROOTC0 * CF(0, 0, 0.5 + 0.1 * COS(SINE / 12)) * ANGLES(RAD(-3+3*COS(SINE/12)), RAD(0), RAD(9)), 1 / Animation_Speed) | |
5396 | ||
5397 | Neck.C0 = Clerp(Neck.C0, NECKC0 * CF(0, 0, 0 + ((1) - 1)) * ANGLES(RAD(-4 + 4.5 * SIN(SINE / 12)), RAD(0), RAD(-5 - 2.5 * SIN(SINE / 12))), 1 / Animation_Speed) | |
5398 | ||
5399 | RootJoint.C0 = Clerp(RootJoint.C0,ROOTC0 * CF(0, 0, 0 + 0.25 * COS(SINE / 12)) * ANGLES(RAD(4 + 2.5 * SIN(SINE / 12)), RAD(0), RAD(5 + 2.5 * SIN(SINE / 12))), 1 / Animation_Speed) | |
5400 | LeftShoulder.C0 = Clerp(LeftShoulder.C0, CF(-1.5, 0.5 + 0.1 * COS(SINE / 12), 0) * ANGLES(RAD(0), RAD(0 + 2.5 * SIN(SINE / 12)), RAD(-5 - 7.5 * SIN(SINE / 12))) * LEFTSHOULDERC0, 1 / Animation_Speed) | |
5401 | RightHip.C0 = Clerp(RightHip.C0, CF(1, -0.7 - 0.3 * COS(SINE / 12), -0.5) * ANGLES(RAD(0), RAD(90), RAD(0)) * ANGLES(RAD(-2+4*COS(SINE/12)), RAD(0), RAD(0)), 0.15 / Animation_Speed) | |
5402 | LeftHip.C0 = Clerp(LeftHip.C0, CF(-1, -0.8 - 0.3 * COS(SINE / 12), -0.01) * ANGLES(RAD(0), RAD(-90), RAD(0)) * ANGLES(RAD(-2+7*COS(SINE/12)), RAD(0), RAD(0)), 0.15 / Animation_Speed) | |
5403 | ||
5404 | until sick.TimePosition > 6 | |
5405 | repeat | |
5406 | Swait() | |
5407 | ||
5408 | ||
5409 | Neck.C0 = Clerp(Neck.C0, NECKC0 * CF(0, 0, 0 + ((1) - 1)) * ANGLES(RAD(3 + 4.5 * SIN(SINE / 12)), RAD(0), RAD(-5 - 2.5 * SIN(SINE / 12))), 1 / Animation_Speed) | |
5410 | RootJoint.C0 = Clerp(RootJoint.C0,ROOTC0 * CF(0, 0, 0 + 0.25 * COS(SINE / 12)) * ANGLES(RAD(4 + 2.5 * SIN(SINE / 12)), RAD(0), RAD(5 + 2.5 * SIN(SINE / 12))), 1 / Animation_Speed) | |
5411 | RightShoulder.C0 = Clerp(RightShoulder.C0, CF(1.5*SIZE, 0.5*SIZE, 0) * ANGLES(RAD(0), RAD(0), RAD(90)) * RIGHTSHOULDERC0, 1 / Animation_Speed) | |
5412 | ||
5413 | RightHip.C0 = Clerp(RightHip.C0, CF(1*SIZE, -1*SIZE - 0.1 * COS(SINE / 12), -0.01*SIZE) * ANGLES(RAD(0), RAD(75), RAD(0)) * ANGLES(RAD(-8), RAD(0), RAD(2.5 * COS(SINE / 12))), 0.8 / Animation_Speed) | |
5414 | LeftHip.C0 = Clerp(LeftHip.C0, CF(-1*SIZE, -1*SIZE - 0.1 * COS(SINE / 12), -0.01*SIZE) * ANGLES(RAD(0), RAD(-75), RAD(0)) * ANGLES(RAD(-8), RAD(0), RAD(0 - 2.5 * COS(SINE / 12))), 0.8 / Animation_Speed) | |
5415 | ||
5416 | ||
5417 | LeftShoulder.C0 = Clerp(LeftShoulder.C0, CF(-1.5, 0.5 + 0.1 * COS(SINE / 12), 0) * ANGLES(RAD(0), RAD(0 + 2.5 * SIN(SINE / 12)), RAD(-5 - 7.5 * SIN(SINE / 12))) * LEFTSHOULDERC0, 1 / Animation_Speed) | |
5418 | ||
5419 | ||
5420 | until sick.TimePosition > 9 | |
5421 | BodyColor = C3(0,0,0) | |
5422 | LegColor = C3(0,0,0.05) | |
5423 | ArmColor = C3(0.05,0.05,0.15) | |
5424 | for _, c in pairs(Character:GetChildren()) do | |
5425 | if c.ClassName == "Part" then | |
5426 | c.Material = "Neon" | |
5427 | if c:FindFirstChildOfClass("ParticleEmitter") then | |
5428 | c:FindFirstChildOfClass("ParticleEmitter"):remove() | |
5429 | end | |
5430 | if c == Torso then | |
5431 | c.Color = C3(0,0,0) | |
5432 | elseif c == RightArm then | |
5433 | c.Color = C3(0.05,0.05,0.15) | |
5434 | elseif c == LeftArm then | |
5435 | c.Color = C3(0.05,0.05,0.15) | |
5436 | elseif c == RightLeg then | |
5437 | c.Color = C3(0,0,0.05) | |
5438 | elseif c == LeftLeg then | |
5439 | c.Color = C3(0,0,0.05) | |
5440 | elseif c == Head then | |
5441 | local M = CreateMesh("SpecialMesh", c, "FileMesh", "162384581", "162384608", VT(1,1,1)*1.1, VT(0,0,0)) | |
5442 | M.Name = "Dominus" | |
5443 | if c:FindFirstChild("face") then | |
5444 | c.face:remove() | |
5445 | ||
5446 | end | |
5447 | end | |
5448 | elseif c.ClassName == "Shirt" or c.ClassName == "Pants" or c.ClassName == "CharacterMesh" or c.ClassName == "Accessory" or c.Name == "Body Colors" then | |
5449 | c:remove() | |
5450 | end | |
5451 | end | |
5452 | ATTACK = false | |
5453 | Rooted = false | |
5454 | MODE = "Main" | |
5455 | end | |
5456 | ||
5457 | local DAMAGEMULTIPLIER = 1 | |
5458 | ||
5459 | function ApplyDamage(Humanoid,Damage) | |
5460 | Damage = Damage * DAMAGEMULTIPLIER | |
5461 | if Humanoid.Health ~= 0 then | |
5462 | Humanoid.Health = Humanoid.Health - Damage | |
5463 | end | |
5464 | end | |
5465 | ||
5466 | function Shatter(Part) | |
5467 | if Part.Transparency < 1 then | |
5468 | local SOUNDPART = CreatePart(3, Effects, "Glass", 0, Part.Transparency + 0.1, Part.BrickColor, "OOF", VT(0,0,0)) | |
5469 | Debris:AddItem(SOUNDPART,5) | |
5470 | CreateSound("626807593", SOUNDPART, 3, MRANDOM(8,12)/10, false) | |
5471 | local SIZE = Part.Size.X + Part.Size.Y + Part.Size.Z | |
5472 | local SIZESET = SIZE/4 | |
5473 | local XOffset = Part.Size.X*1.5/SIZESET | |
5474 | local YOffset = Part.Size.Y*1.5/SIZESET | |
5475 | local ZOffset = Part.Size.Z*1.5/SIZESET | |
5476 | for x = 1, math.ceil(XOffset) do | |
5477 | for y = 1, math.ceil(YOffset) do | |
5478 | for z = 1, math.ceil(ZOffset) do | |
5479 | local SHARD = CreatePart(3, Effects, "Glass", 0, 0.15, Part.BrickColor, "Shard", VT(SIZE,SIZE,SIZE)/10, false) | |
5480 | SHARD.CanCollide = true | |
5481 | SHARD.CFrame = Part.CFrame*CF((Part.Size.X/2-Part.Size.X/4),(Part.Size.Y/2-Part.Size.Y/4),(Part.Size.Z/2-Part.Size.Z/4)) | |
5482 | SHARD.Velocity = VT(MRANDOM(-15,15),MRANDOM(-15,15),MRANDOM(-15,15))*3 | |
5483 | Debris:AddItem(SHARD,MRANDOM(10,25)/10) | |
5484 | for _, c in pairs(Part:GetChildren()) do | |
5485 | if c.ClassName == "ParticleEmitter" or c.ClassName == "PointLight" or c.ClassName == "Fire" then | |
5486 | c:Clone().Parent = SHARD | |
5487 | end | |
5488 | end | |
5489 | end | |
5490 | end | |
5491 | end | |
5492 | end | |
5493 | Part:remove() | |
5494 | end | |
5495 | ||
5496 | ||
5497 | function Kill(Victim,Fire) | |
5498 | coroutine.resume(coroutine.create(function() | |
5499 | local NIL = script.TotalNil:Clone() | |
5500 | NIL.Parent = Victim | |
5501 | NIL.Disabled = false | |
5502 | if Fire ~= true then | |
5503 | Victim:BreakJoints() | |
5504 | for _, c in pairs(Victim:GetChildren()) do | |
5505 | if c:IsA("BasePart") then | |
5506 | c.Anchored = true | |
5507 | end | |
5508 | end | |
5509 | for _, c in pairs(Victim:GetChildren()) do | |
5510 | if c:IsA("BasePart") then | |
5511 | Shatter(c) | |
5512 | end | |
5513 | end | |
5514 | else | |
5515 | Victim:BreakJoints() | |
5516 | local FIRES = {} | |
5517 | for _, e in pairs(Victim:GetDescendants()) do | |
5518 | if e:IsA("BasePart") and e.Name ~= "HumanoidRootPart" and e.Parent.ClassName ~= "Folder" then | |
5519 | e.Transparency = 1 | |
5520 | e:ClearAllChildren() | |
5521 | local FIRE = script.HellFire:Clone() | |
5522 | FIRE.Parent = e | |
5523 | FIRE.Enabled = true | |
5524 | table.insert(FIRES,FIRE) | |
5525 | elseif e.ClassName == "Decal" then | |
5526 | e:remove() | |
5527 | end | |
5528 | end | |
5529 | for i = 1, 50 do | |
5530 | Victim:BreakJoints() | |
5531 | wait() | |
5532 | end | |
5533 | for i = 1, #FIRES do | |
5534 | FIRES[i].Enabled = false | |
5535 | end | |
5536 | wait(1.1) | |
5537 | Victim:remove() | |
5538 | end | |
5539 | end)) | |
5540 | end | |
5541 | ||
5542 | function ApplyDeathAoE(POSITION,RANGE,MINDMG,MAXDMG,FLING,INSTAKILL,OPTION) | |
5543 | local CHILDREN = workspace:GetDescendants() | |
5544 | for index, CHILD in pairs(CHILDREN) do | |
5545 | if CHILD.ClassName == "Model" and CHILD ~= Character then | |
5546 | local HUM = CHILD:FindFirstChildOfClass("Humanoid") | |
5547 | if HUM then | |
5548 | local TORSO = CHILD:FindFirstChild("Torso") or CHILD:FindFirstChild("UpperTorso") | |
5549 | if TORSO then | |
5550 | if (TORSO.Position - POSITION).Magnitude <= RANGE then | |
5551 | if INSTAKILL == true then | |
5552 | CHILD:BreakJoints() | |
5553 | if OPTION ~= nil then | |
5554 | Kill(CHILD,OPTION) | |
5555 | end | |
5556 | else | |
5557 | local DMG = MRANDOM(MINDMG,MAXDMG) | |
5558 | ApplyDamage(HUM,DMG) | |
5559 | end | |
5560 | if FLING ~= 0 then | |
5561 | for _, c in pairs(CHILD:GetChildren()) do | |
5562 | if c:IsA("BasePart") then | |
5563 | local bv = Instance.new("BodyVelocity") | |
5564 | bv.maxForce = Vector3.new(1e9, 1e9, 1e9) | |
5565 | bv.velocity = CF(POSITION,TORSO.Position).lookVector*FLING | |
5566 | bv.Parent = c | |
5567 | Debris:AddItem(bv,0.05) | |
5568 | end | |
5569 | end | |
5570 | end | |
5571 | end | |
5572 | end | |
5573 | end | |
5574 | end | |
5575 | end | |
5576 | end | |
5577 | ||
5578 | function FingerMagic() | |
5579 | ATTACK = true | |
5580 | Rooted = false | |
5581 | for i=0, 0.1, 0.1 / Animation_Speed do | |
5582 | Swait() | |
5583 | RootJoint.C0 = Clerp(RootJoint.C0,ROOTC0 * CF(0, 0, 0 + 0.25 * COS(SINE / 12)) * ANGLES(RAD(4 + 2.5 * SIN(SINE / 12)), RAD(0), RAD(25 + 2.5 * SIN(SINE / 12))), 1 / Animation_Speed) | |
5584 | Neck.C0 = Clerp(Neck.C0, NECKC0 * CF(0, 0, 0 + ((1) - 1)) * ANGLES(RAD(0 + 4.5 * SIN(SINE / 12)), RAD(0), RAD(-25 - 2.5 * SIN(SINE / 12))), 1 / Animation_Speed) | |
5585 | RightShoulder.C0 = Clerp(RightShoulder.C0, CF(1.35, 0.15 + 0.25 * COS(SINE / 12), -0.3) * ANGLES(RAD(140), RAD(0 - 2.5 * SIN(SINE / 12)), RAD(5 + 7.5 * SIN(SINE / 12))) * RIGHTSHOULDERC0, 1 / Animation_Speed) | |
5586 | LeftShoulder.C0 = Clerp(LeftShoulder.C0, CF(-1.5, 0.5, -0.4) * ANGLES(RAD(5-3 * COS(SINE / 6)), RAD(0), RAD(-12)) * LEFTSHOULDERC0, 1 / Animation_Speed) | |
5587 | end | |
5588 | for i=0, 1, 0.1 / Animation_Speed do | |
5589 | Swait() | |
5590 | RootJoint.C0 = Clerp(RootJoint.C0,ROOTC0 * CF(0, 0, 0 + 0.25 * COS(SINE / 12)) * ANGLES(RAD(4 + 2.5 * SIN(SINE / 12)), RAD(0), RAD(0 + 2.5 * SIN(SINE / 12))), 1 / Animation_Speed) | |
5591 | Neck.C0 = Clerp(Neck.C0, NECKC0 * CF(0, 0, 0 + ((1) - 1)) * ANGLES(RAD(0 + 4.5 * SIN(SINE / 12)), RAD(0), RAD(0 - 2.5 * SIN(SINE / 12))), 1 / Animation_Speed) | |
5592 | RightShoulder.C0 = Clerp(RightShoulder.C0, CF(1.5, 0.5 + 0.25 * COS(SINE / 12), 0) * ANGLES(RAD(0), RAD(0 - 2.5 * SIN(SINE / 12)), RAD(15 + 7.5 * SIN(SINE / 12))) * ANGLES(RAD(0), RAD(-45), RAD(0)) * RIGHTSHOULDERC0, 1 / Animation_Speed) | |
5593 | LeftShoulder.C0 = Clerp(LeftShoulder.C0, CF(-1.25, 0.15 + 0.05 * COS(SINE / 12), -0.5) * ANGLES(RAD(160), RAD(0 + 2.5 * SIN(SINE / 12)), RAD(-15 - 7.5 * SIN(SINE / 12))) * LEFTSHOULDERC0, 1 / Animation_Speed) | |
5594 | end | |
5595 | WACKYEFFECT({Time = 25, EffectType = "Block", Size = VT(0,0,0), Size2 = VT(3,3,3), Transparency = 0, Transparency2 = 1, CFrame = LeftArm.CFrame*CF(0,-1,0), MoveToPos = nil, RotationX = 0, RotationY = 0, RotationZ = 0, Material = "Neon", Color = C3(1,0,0), SoundID = 304999618, SoundPitch = 1, SoundVolume = 1}) | |
5596 | for i = 1, 5 do | |
5597 | WACKYEFFECT({Time = 25, EffectType = "Block", Size = VT(1,1,1), Size2 = VT(0,7,0), Transparency = 0, Transparency2 = 1, CFrame = LeftArm.CFrame*CF(0,-1,0), MoveToPos = nil, RotationX = 0, RotationY = 0, RotationZ = 0, Material = "Neon", Color = C3(1,0,0), SoundID = nil, SoundPitch = 2, SoundVolume = 1}) | |
5598 | end | |
5599 | CreateSound(217767125, LeftArm, 10, 1, false) | |
5600 | coroutine.resume(coroutine.create(function() | |
5601 | local EXPLODED = false | |
5602 | for i = 1, 3 do | |
5603 | coroutine.resume(coroutine.create(function() | |
5604 | local HITFLOOR,HITPOS = Raycast(RootPart.Position, (CF(RootPart.Position, RootPart.Position + VT(0, -1, 0))).lookVector, 15, Character) | |
5605 | if HITFLOOR then | |
5606 | local CFRAME = CF(HITPOS) * ANGLES(RAD(0), RAD((360/3)*i), RAD(0)) | |
5607 | for i = 1, 35 do | |
5608 | wait() | |
5609 | for _, c in pairs(workspace:GetChildren()) do | |
5610 | if EXPLODED == false and c.ClassName == "Model" and c:FindFirstChildOfClass("Humanoid") and c ~= Character then | |
5611 | local HUM = c:FindFirstChildOfClass("Humanoid") | |
5612 | local TORSO = c:FindFirstChild("Torso") or c:FindFirstChild("UpperTorso") | |
5613 | if TORSO and HUM.Health > 0 then | |
5614 | if (TORSO.Position - CFRAME.p).Magnitude < 10 then | |
5615 | EXPLODED = true | |
5616 | coroutine.resume(coroutine.create(function() | |
5617 | for i = 1, 15 do | |
5618 | ApplyDeathAoE(CFRAME*CF(0,10,0).p,30+(i*4),0,0,-35,false) | |
5619 | wait(0.2) | |
5620 | WACKYEFFECT({Time = 35, EffectType = "Wave", Size = VT(0,0,0), Size2 = VT(15+(i*2),5,15+(i*2)), Transparency = 0, Transparency2 = 1, CFrame = CFRAME, MoveToPos = nil, RotationX = 0, RotationY = MRANDOM(-2,2)*15, RotationZ = 0, Material = "Neon", Color = BRICKC"Really red".Color, SoundID = nil, SoundPitch = 1, SoundVolume = 7}) | |
5621 | WACKYEFFECT({Time = 25, EffectType = "Block", Size = VT(15,15,15)+VT(i*2,i*2,i*2), Size2 = VT(0,0,0), Transparency = 1, Transparency2 = 0, CFrame = CFRAME*CF(0,10,0), MoveToPos = nil, RotationX = 0, RotationY = 0, RotationZ = 0, Material = "Neon", Color = C3(1,0,0), SoundID = 304999618, SoundPitch = 1, SoundVolume = 1}) | |
5622 | WACKYEFFECT({Time = 25, EffectType = "Block", Size = VT(12,12,12)+VT(i*2,i*2,i*2), Size2 = VT(0,0,0), Transparency = 1, Transparency2 = 0, CFrame = CFRAME*CF(0,10,0), MoveToPos = nil, RotationX = 0, RotationY = 0, RotationZ = 0, Material = "Neon", Color = C3(0.7,0,0), SoundID = nil, SoundPitch = 1, SoundVolume = 1}) | |
5623 | end | |
5624 | WACKYEFFECT({Time = 50, EffectType = "Block", Size = VT(15,15,15)+VT(i*2,i*2,i*2), Size2 = VT(0,0,0), Transparency = 1, Transparency2 = 0, CFrame = CFRAME*CF(0,10,0), MoveToPos = nil, RotationX = 0, RotationY = 0, RotationZ = 0, Material = "Neon", Color = C3(1,0,0), SoundID = 304999618, SoundPitch = 1, SoundVolume = 1}) | |
5625 | wait(1) | |
5626 | WACKYEFFECT({Time = 60, EffectType = "Sphere", Size = VT(0,0,0), Size2 = VT(100,100,100)*5, Transparency = 0.4, Transparency2 = 1, CFrame = CFRAME*CF(0,10,0), MoveToPos = nil, RotationX = 0, RotationY = 0, RotationZ = 0, Material = "Neon", Color = C3(0.3,0,0), SoundID = 461105534, SoundPitch = 1, SoundVolume = 10}) | |
5627 | local PART = CreatePart(3, Effects, "Neon", 0, 1, BRICKC("Pearl"), "Effect", VT(1,1,1), true) | |
5628 | PART.CFrame = CFRAME*CF(0,10,0) | |
5629 | Debris:AddItem(PART,10) | |
5630 | local PARTICLES = script.Explode:Clone() | |
5631 | PARTICLES.Parent = PART | |
5632 | PARTICLES:Emit(500) | |
5633 | ApplyDeathAoE(CFRAME*CF(0,10,0).p,45*2,0,0,350,true) | |
5634 | WACKYEFFECT({Time = 15, EffectType = "Sphere", Size = VT(0,0,0), Size2 = VT(90,90,90)*2, Transparency = 0.8, Transparency2 = 1, CFrame = CFRAME*CF(0,10,0), MoveToPos = nil, RotationX = 0, RotationY = 0, RotationZ = 0, Material = "Neon", Color = C3(1,0,0), SoundID = nil, SoundPitch = 1, SoundVolume = 3}) | |
5635 | WACKYEFFECT({EffectType = "Ring", Size = VT(00,0.01)/20, Size2 = VT(35,35,0.01), Transparency = 0.7, Transparency2 = 1, CFrame = CFRAME*CF(0,10,0)*ANGLES(RAD(0), RAD(90), RAD(0)), MoveToPos = nil, RotationX = 0, RotationY = 0, RotationZ = 0, Material = "Neon", Color = C3(0,0,0), SoundID = nil, SoundPitch = nil, SoundVolume = nil}) | |
5636 | WACKYEFFECT({EffectType = "Ring", Size = VT(00,0.01)/20, Size2 = VT(35,35,0.01), Transparency = 0.7, Transparency2 = 1, CFrame = CFRAME*CF(0,10,0)*ANGLES(RAD(90), RAD(0), RAD(0)), MoveToPos = nil, RotationX = 0, RotationY = 0, RotationZ = 0, Material = "Neon", Color = C3(0,0,0), SoundID = nil, SoundPitch = nil, SoundVolume = nil}) | |
5637 | end)) | |
5638 | end | |
5639 | end | |
5640 | end | |
5641 | end | |
5642 | if EXPLODED == true then | |
5643 | break | |
5644 | end | |
5645 | CFRAME = CFRAME * ANGLES(RAD(0), RAD(10), RAD(0)) * CF(0,0,-3) | |
5646 | WACKYEFFECT({Time = 35, EffectType = "Wave", Size = VT(10,15,10), Size2 = VT(0,35,0), Transparency = 1, Transparency2 = 0.9, CFrame = CFRAME, MoveToPos = nil, RotationX = 0, RotationY = MRANDOM(-2,2)*15, RotationZ = 0, Material = "Neon", Color = BRICKC"Really red".Color, SoundID = nil, SoundPitch = 1, SoundVolume = 7}) | |
5647 | WACKYEFFECT({Time = 35, EffectType = "Wave", Size = VT(15,15,15), Size2 = VT(0,25,0), Transparency = 1, Transparency2 = 0.6, CFrame = CFRAME, MoveToPos = nil, RotationX = 0, RotationY = MRANDOM(-2,2)*15, RotationZ = 0, Material = "Neon", Color = BRICKC"Maroon".Color, SoundID = nil, SoundPitch = 1, SoundVolume = 7}) | |
5648 | end | |
5649 | end | |
5650 | end)) | |
5651 | end | |
5652 | end)) | |
5653 | for i=0, 1, 0.1 / Animation_Speed do | |
5654 | Swait() | |
5655 | RootJoint.C0 = Clerp(RootJoint.C0,ROOTC0 * CF(0, 0, 0 + 0.25 * COS(SINE / 12)) * ANGLES(RAD(4 + 2.5 * SIN(SINE / 12)), RAD(0), RAD(0 + 2.5 * SIN(SINE / 12))), 1 / Animation_Speed) | |
5656 | Neck.C0 = Clerp(Neck.C0, NECKC0 * CF(0, 0, 0 + ((1) - 1)) * ANGLES(RAD(15 + 4.5 * SIN(SINE / 12)), RAD(0), RAD(0 - 2.5 * SIN(SINE / 12))), 1 / Animation_Speed) | |
5657 | RightShoulder.C0 = Clerp(RightShoulder.C0, CF(1.5, 0.5 + 0.25 * COS(SINE / 12), 0) * ANGLES(RAD(0), RAD(0 - 2.5 * SIN(SINE / 12)), RAD(15 + 7.5 * SIN(SINE / 12))) * ANGLES(RAD(0), RAD(-45), RAD(0)) * RIGHTSHOULDERC0, 1 / Animation_Speed) | |
5658 | LeftShoulder.C0 = Clerp(LeftShoulder.C0, CF(-1.5, 0.15 + 0.05 * COS(SINE / 12), -0.5) * ANGLES(RAD(170), RAD(0 + 2.5 * SIN(SINE / 12)), RAD(5 - 7.5 * SIN(SINE / 12))) * LEFTSHOULDERC0, 1 / Animation_Speed) | |
5659 | end | |
5660 | ATTACK = false | |
5661 | Rooted = false | |
5662 | end | |
5663 | ||
5664 | function EMOTE() | |
5665 | ATTACK = true | |
5666 | Rooted = false | |
5667 | local LOOP = 0 | |
5668 | for i=0, 0.1, 0.1 / Animation_Speed do | |
5669 | Swait() | |
5670 | RootJoint.C0 = Clerp(RootJoint.C0,ROOTC0 * CF(0, 0, 0 + 0.25 * COS(SINE / 12)) * ANGLES(RAD(4 + 2.5 * SIN(SINE / 12)), RAD(0), RAD(15 + 2.5 * SIN(SINE / 12))), 1 / Animation_Speed) | |
5671 | Neck.C0 = Clerp(Neck.C0, NECKC0 * CF(0, 0, 0 + ((1) - 1)) * ANGLES(RAD(0 + 4.5 * SIN(SINE / 12)), RAD(0), RAD(-15 - 2.5 * SIN(SINE / 12))), 1 / Animation_Speed) | |
5672 | RightShoulder.C0 = Clerp(RightShoulder.C0, CF(1.35, 0.15 + 0.25 * COS(SINE / 12), -0.3) * ANGLES(RAD(140), RAD(0 - 2.5 * SIN(SINE / 12)), RAD(5 + 7.5 * SIN(SINE / 12))) * RIGHTSHOULDERC0, 1 / Animation_Speed) | |
5673 | LeftShoulder.C0 = Clerp(LeftShoulder.C0, CF(-1.5, 0.5, -0.4) * ANGLES(RAD(5-3 * COS(SINE / 6)), RAD(0), RAD(-12)) * LEFTSHOULDERC0, 1 / Animation_Speed) | |
5674 | end | |
5675 | for i=0, 3, 0.1 / Animation_Speed do | |
5676 | Swait() | |
5677 | LOOP = LOOP + 1 | |
5678 | RootJoint.C0 = Clerp(RootJoint.C0,ROOTC0 * CF(0, 0, 0 + 0.25 * COS(SINE / 12)) * ANGLES(RAD(4 + 2.5 * SIN(SINE / 12)), RAD(0), RAD(5 + 2.5 * SIN(SINE / 12))), 1 / Animation_Speed) | |
5679 | Neck.C0 = Clerp(Neck.C0, NECKC0 * CF(0, 0, 0 + ((1) - 1)) * ANGLES(RAD(0 + 4.5 * SIN(SINE / 12)), RAD(0), RAD(-5 - 2.5 * SIN(SINE / 12))), 1 / Animation_Speed) | |
5680 | RightShoulder.C0 = Clerp(RightShoulder.C0, CF(1.35, 0.15 + 0.25 * COS(SINE / 12), -0.3) * ANGLES(RAD(140), RAD(0 - 2.5 * SIN(SINE / 12)), RAD(5 + 7.5 * SIN(SINE / 12))) * RIGHTSHOULDERC0, 1 / Animation_Speed) | |
5681 | LeftShoulder.C0 = Clerp(LeftShoulder.C0, CF(-1.5, 0.8, 0.4) * ANGLES(RAD(170), RAD(0), RAD(-25 - 25 * SIN(LOOP / 5))) * ANGLES(RAD(0), RAD(-45), RAD(0)) * LEFTSHOULDERC0, 1 / Animation_Speed) | |
5682 | end | |
5683 | for i=0, 0.1, 0.1 / Animation_Speed do | |
5684 | Swait() | |
5685 | RootJoint.C0 = Clerp(RootJoint.C0,ROOTC0 * CF(0, 0, 0 + 0.25 * COS(SINE / 12)) * ANGLES(RAD(4 + 2.5 * SIN(SINE / 12)), RAD(0), RAD(25 + 2.5 * SIN(SINE / 12))), 1 / Animation_Speed) | |
5686 | Neck.C0 = Clerp(Neck.C0, NECKC0 * CF(0, 0, 0 + ((1) - 1)) * ANGLES(RAD(0 + 4.5 * SIN(SINE / 12)), RAD(0), RAD(-25 - 2.5 * SIN(SINE / 12))), 1 / Animation_Speed) | |
5687 | RightShoulder.C0 = Clerp(RightShoulder.C0, CF(1.35, 0.15 + 0.25 * COS(SINE / 12), -0.3) * ANGLES(RAD(140), RAD(0 - 2.5 * SIN(SINE / 12)), RAD(5 + 7.5 * SIN(SINE / 12))) * RIGHTSHOULDERC0, 1 / Animation_Speed) | |
5688 | LeftShoulder.C0 = Clerp(LeftShoulder.C0, CF(-1.5, 0.5, -0.4) * ANGLES(RAD(5-3 * COS(SINE / 6)), RAD(0), RAD(-12)) * LEFTSHOULDERC0, 1 / Animation_Speed) | |
5689 | end | |
5690 | ATTACK = false | |
5691 | Rooted = false | |
5692 | end | |
5693 | ||
5694 | function Roar() | |
5695 | ATTACK = true | |
5696 | Rooted = true | |
5697 | local ROAR = CreateSound("199978176", Head, 10, 1) | |
5698 | Swait() | |
5699 | repeat | |
5700 | Swait() | |
5701 | ROAR.Parent = Head | |
5702 | RootJoint.C0 = Clerp(RootJoint.C0, ROOTC0 * CF(0, 0, 0 + 0.25 * COS(SINE / 12)) * ANGLES(RAD(-15 + 2.5 * SIN(SINE / 12)), RAD(0), RAD(0)), 1 / Animation_Speed) | |
5703 | Neck.C0 = Clerp(Neck.C0, NECKC0 * CF(0, 0, 0) * ANGLES(RAD(-25 + 4.5 * SIN(SINE / 12)), RAD(0), RAD(0)), 1 / Animation_Speed) | |
5704 | RightShoulder.C0 = Clerp(RightShoulder.C0, CF(1.5, 0.5 + 0.25 * COS(SINE / 12), 0) * ANGLES(RAD(-45), RAD(0 - 7.5 * SIN(SINE / 12)), RAD(15 + 7.5 * SIN(SINE / 12))) * RIGHTSHOULDERC0, 1 / Animation_Speed) | |
5705 | LeftShoulder.C0 = Clerp(LeftShoulder.C0, CF(-1.5, 0.5 + 0.25 * COS(SINE / 12), 0) * ANGLES(RAD(-45), RAD(0 + 7.5 * SIN(SINE / 12)), RAD(-15 - 7.5 * SIN(SINE / 12))) * LEFTSHOULDERC0, 1 / Animation_Speed) | |
5706 | RightHip.C0 = Clerp(RightHip.C0, CF(1, -1, -0.01) * ANGLES(RAD(-25 - 7.5 * SIN(SINE / 12)), RAD(75), RAD(0)) * ANGLES(RAD(-8 - 2.5 * SIN(SINE / 12)), RAD(0), RAD(0)), 1 / Animation_Speed) | |
5707 | LeftHip.C0 = Clerp(LeftHip.C0, CF(-1, -0.5, -0.5) * ANGLES(RAD(-15 - 7.5 * SIN(SINE / 12)), RAD(-90), RAD(0)) * ANGLES(RAD(-8 - 2.5 * SIN(SINE / 12)), RAD(0), RAD(0)), 1 / Animation_Speed) | |
5708 | until ROAR.Playing == false | |
5709 | ATTACK = false | |
5710 | Rooted = false | |
5711 | end | |
5712 | ||
5713 | function Minutes() | |
5714 | ATTACK = true | |
5715 | Rooted = false | |
5716 | CreateSound(159882644, Character, 10, 1, false) | |
5717 | for i=0, 3.5, 0.1 / Animation_Speed do | |
5718 | Swait() | |
5719 | RootJoint.C0 = Clerp(RootJoint.C0,ROOTC0 * CF(2 + math.cos(SINE / 70) * math.cos(SINE / 20) - 2, 0 , 5 + 1.5* Player_Size * math.cos(SINE / 20)) * ANGLES(RAD(4 + 2.5 * SIN(SINE / 12)), RAD(0), RAD(25 + 2.5 * SIN(SINE / 12))), 1 / Animation_Speed) | |
5720 | Neck.C0 = Clerp(Neck.C0, NECKC0 * CF(0, 0, 0 + ((1) - 1)) * ANGLES(RAD(0 + 4.5 * SIN(SINE / 12)), RAD(0), RAD(-25 - 2.5 * SIN(SINE / 12))), 1 / Animation_Speed) | |
5721 | RightShoulder.C0 = Clerp(RightShoulder.C0, CF(1.5, 0.5, 0) * ANGLES(RAD(90), RAD(0), RAD(0)) * RIGHTSHOULDERC0, 0.15 / Animation_Speed) | |
5722 | LeftShoulder.C0 = Clerp(LeftShoulder.C0, CF(-1.15, 0.15 + 0.05 * COS(SINE / 12), 0.5) * ANGLES(RAD(-45), RAD(0 + 2.5 * SIN(SINE / 12)), RAD(45 - 7.5 * SIN(SINE / 12))) * LEFTSHOULDERC0, 1 / Animation_Speed) | |
5723 | RightHip.C0 = Clerp(RightHip.C0, CF(1, -1, -0.01) * ANGLES(RAD(-25 - 2.5 * SIN(SINE / 12)), RAD(75), RAD(0)) * ANGLES(RAD(-8 - 5.5 * SIN(SINE / 12)), RAD(0), RAD(0)), 1 / Animation_Speed) | |
5724 | LeftHip.C0 = Clerp(LeftHip.C0, CF(-1, -0.5, -0.5) * ANGLES(RAD(-2.5 * SIN(SINE / 12)), RAD(-90), RAD(0)) * ANGLES(RAD(-8 - 2.5 * SIN(SINE / 12)), RAD(0), RAD(0)), 1 / Animation_Speed) | |
5725 | end | |
5726 | ATTACK = false | |
5727 | Rooted = false | |
5728 | end | |
5729 | ||
5730 | function TenebrisTAUNT1() | |
5731 | ATTACK = true | |
5732 | Rooted = false | |
5733 | CreateSound(865772398, Torso, 6, 1, false) | |
5734 | for i=0, 0.1, 0.1 / Animation_Speed do | |
5735 | Swait() | |
5736 | RootJoint.C0 = Clerp(RootJoint.C0, ROOTC0 * CF(0, 0, 0 + 0.25 * COS(SINE / 12)) * ANGLES(RAD(4 + 2.5 * SIN(SINE / 12)), RAD(0), RAD(0)), 1 / Animation_Speed) | |
5737 | Neck.C0 = Clerp(Neck.C0, NECKC0 * CF(0, 0, 0) * ANGLES(RAD(5 + 6.5 * SIN(SINE / 12)), RAD(0), RAD(0)), 1 / Animation_Speed) | |
5738 | RightHip.C0 = Clerp(RightHip.C0, CF(1, -1, -0.01) * ANGLES(RAD(-4.5 * SIN(SINE / 12)), RAD(75), RAD(0)) * ANGLES(RAD(-8 - 5.5 * SIN(SINE / 12)), RAD(0), RAD(0)), 1 / Animation_Speed) | |
5739 | LeftHip.C0 = Clerp(LeftHip.C0, CF(-1, -0.5, -0.5) * ANGLES(RAD(-4.5 * SIN(SINE / 12)), RAD(-90), RAD(0)) * ANGLES(RAD(-8 - 5.5 * SIN(SINE / 12)), RAD(0), RAD(0)), 1 / Animation_Speed) | |
5740 | RightShoulder.C0 = Clerp(RightShoulder.C0, CF(1.35, 0.15 + 0.25 * COS(SINE / 12), -0.3) * ANGLES(RAD(140), RAD(0 - 2.5 * SIN(SINE / 12)), RAD(5 + 7.5 * SIN(SINE / 12))) * RIGHTSHOULDERC0, 1 / Animation_Speed) | |
5741 | LeftShoulder.C0 = Clerp(LeftShoulder.C0, CF(-1.5, 0.5 + 0.25 * COS(SINE / 12), 0) * ANGLES(RAD(-45), RAD(0 + 7.5 * SIN(SINE / 12)), RAD(-15 - 7.5 * SIN(SINE / 12))) * LEFTSHOULDERC0, 1 / Animation_Speed) | |
5742 | end | |
5743 | for i=0, 1, 0.1 / Animation_Speed do | |
5744 | Swait() | |
5745 | RootJoint.C0 = Clerp(RootJoint.C0, ROOTC0 * CF(0, 0, 0 + 0.25 * COS(SINE / 12)) * ANGLES(RAD(4 + 2.5 * SIN(SINE / 12)), RAD(0), RAD(0)), 1 / Animation_Speed) | |
5746 | Neck.C0 = Clerp(Neck.C0, NECKC0 * CF(0, 0, 0) * ANGLES(RAD(5 + 6.5 * SIN(SINE / 12)), RAD(0), RAD(0)), 1 / Animation_Speed) | |
5747 | RightShoulder.C0 = Clerp(RightShoulder.C0, CF(1.35, 0.15 + 0.25 * COS(SINE / 12), -0.3) * ANGLES(RAD(140), RAD(0 - 2.5 * SIN(SINE / 12)), RAD(5 + 7.5 * SIN(SINE / 12))) * RIGHTSHOULDERC0, 1 / Animation_Speed) | |
5748 | RightHip.C0 = Clerp(RightHip.C0, CF(1, -1, -0.01) * ANGLES(RAD(-4.5 * SIN(SINE / 12)), RAD(75), RAD(0)) * ANGLES(RAD(-8 - 5.5 * SIN(SINE / 12)), RAD(0), RAD(0)), 1 / Animation_Speed) | |
5749 | LeftHip.C0 = Clerp(LeftHip.C0, CF(-1, -0.5, -0.5) * ANGLES(RAD(-4.5 * SIN(SINE / 12)), RAD(-90), RAD(0)) * ANGLES(RAD(-8 - 5.5 * SIN(SINE / 12)), RAD(0), RAD(0)), 1 / Animation_Speed) | |
5750 | LeftShoulder.C0 = Clerp(LeftShoulder.C0, CF(-1.5, 0.5 + 0.25 * COS(SINE / 12), 0) * ANGLES(RAD(-45), RAD(0 + 7.5 * SIN(SINE / 12)), RAD(-15 - 7.5 * SIN(SINE / 12))) * LEFTSHOULDERC0, 1 / Animation_Speed) | |
5751 | end | |
5752 | for i=0, 1, 0.1 / Animation_Speed do | |
5753 | Swait() | |
5754 | RootJoint.C0 = Clerp(RootJoint.C0, ROOTC0 * CF(0, 0, 0 + 0.25 * COS(SINE / 12)) * ANGLES(RAD(4 + 2.5 * SIN(SINE / 12)), RAD(0), RAD(0)), 1 / Animation_Speed) | |
5755 | Neck.C0 = Clerp(Neck.C0, NECKC0 * CF(0, 0, 0) * ANGLES(RAD(5 + 6.5 * SIN(SINE / 12)), RAD(0), RAD(0)), 1 / Animation_Speed) | |
5756 | RightShoulder.C0 = Clerp(RightShoulder.C0, CF(1.35, 0.15 + 0.25 * COS(SINE / 12), -0.3) * ANGLES(RAD(140), RAD(0 - 2.5 * SIN(SINE / 12)), RAD(5 + 7.5 * SIN(SINE / 12))) * RIGHTSHOULDERC0, 1 / Animation_Speed) | |
5757 | RightHip.C0 = Clerp(RightHip.C0, CF(1, -1, -0.01) * ANGLES(RAD(-4.5 * SIN(SINE / 12)), RAD(75), RAD(0)) * ANGLES(RAD(-8 - 5.5 * SIN(SINE / 12)), RAD(0), RAD(0)), 1 / Animation_Speed) | |
5758 | LeftHip.C0 = Clerp(LeftHip.C0, CF(-1, -0.5, -0.5) * ANGLES(RAD(-4.5 * SIN(SINE / 12)), RAD(-90), RAD(0)) * ANGLES(RAD(-8 - 5.5 * SIN(SINE / 12)), RAD(0), RAD(0)), 1 / Animation_Speed) | |
5759 | LeftShoulder.C0 = Clerp(LeftShoulder.C0, CF(-1.5, 0.5 + 0.25 * COS(SINE / 12), 0) * ANGLES(RAD(-45), RAD(0 + 7.5 * SIN(SINE / 12)), RAD(-15 - 7.5 * SIN(SINE / 12))) * LEFTSHOULDERC0, 1 / Animation_Speed) | |
5760 | end | |
5761 | ATTACK = false | |
5762 | Rooted = false | |
5763 | end | |
5764 | ||
5765 | function Roar2() | |
5766 | ATTACK = true | |
5767 | Rooted = true | |
5768 | local ROAR = CreateSound("528589078", Head, 10, 1) | |
5769 | Swait() | |
5770 | repeat | |
5771 | Swait() | |
5772 | ROAR.Parent = Head | |
5773 | RootJoint.C0 = Clerp(RootJoint.C0, ROOTC0 * CF(0, 0, 0 + 0.25 * COS(SINE / 12)) * ANGLES(RAD(-15 + 2.5 * SIN(SINE / 12)), RAD(0), RAD(0)), 1 / Animation_Speed) | |
5774 | Neck.C0 = Clerp(Neck.C0, NECKC0 * CF(0, 0, 0) * ANGLES(RAD(-25 + 4.5 * SIN(SINE / 12)), RAD(0), RAD(0)), 1 / Animation_Speed) | |
5775 | RightShoulder.C0 = Clerp(RightShoulder.C0, CF(1.5, 0.5 + 0.25 * COS(SINE / 12), 0) * ANGLES(RAD(-45), RAD(0 - 7.5 * SIN(SINE / 12)), RAD(15 + 7.5 * SIN(SINE / 12))) * RIGHTSHOULDERC0, 1 / Animation_Speed) | |
5776 | LeftShoulder.C0 = Clerp(LeftShoulder.C0, CF(-1.5, 0.5 + 0.25 * COS(SINE / 12), 0) * ANGLES(RAD(-45), RAD(0 + 7.5 * SIN(SINE / 12)), RAD(-15 - 7.5 * SIN(SINE / 12))) * LEFTSHOULDERC0, 1 / Animation_Speed) | |
5777 | RightHip.C0 = Clerp(RightHip.C0, CF(1, -1, -0.01) * ANGLES(RAD(-25 - 7.5 * SIN(SINE / 12)), RAD(75), RAD(0)) * ANGLES(RAD(-8 - 2.5 * SIN(SINE / 12)), RAD(0), RAD(0)), 1 / Animation_Speed) | |
5778 | LeftHip.C0 = Clerp(LeftHip.C0, CF(-1, -0.5, -0.5) * ANGLES(RAD(-15 - 7.5 * SIN(SINE / 12)), RAD(-90), RAD(0)) * ANGLES(RAD(-8 - 2.5 * SIN(SINE / 12)), RAD(0), RAD(0)), 1 / Animation_Speed) | |
5779 | until ROAR.Playing == false | |
5780 | ATTACK = false | |
5781 | Rooted = false | |
5782 | end | |
5783 | ||
5784 | --//=================================\\ | |
5785 | --|| ASSIGN THINGS TO KEYS | |
5786 | --\\=================================// | |
5787 | ||
5788 | function MouseDown(Mouse) | |
5789 | if ATTACK == false then | |
5790 | end | |
5791 | end | |
5792 | ||
5793 | function MouseUp(Mouse) | |
5794 | HOLD = false | |
5795 | end | |
5796 | ||
5797 | local FLIGHT = false | |
5798 | ||
5799 | function KeyDown(Key) | |
5800 | KEYHOLD = true | |
5801 | if Key == "z" and ATTACK == false then | |
5802 | if MODE == "Main" then | |
5803 | Lunar_Blast() | |
5804 | elseif MODE == "Phaedra" then | |
5805 | Dolor_Pluvia() | |
5806 | elseif MODE == "Tenebris" then | |
5807 | Dark_Blast() | |
5808 | elseif MODE == "Fugatrix" then | |
5809 | Banisher_Bullet() | |
5810 | elseif MODE == "Praefectus" then | |
5811 | Governor_Bomb() | |
5812 | elseif MODE == "Demonum" then | |
5813 | Governor_Bomb2() | |
5814 | elseif MODE == "Mortem" then | |
5815 | Dead_Bullet() | |
5816 | elseif MODE == "Ultra Phaedra" then | |
5817 | Ultimate_Z() | |
5818 | end | |
5819 | end | |
5820 | ||
5821 | if Key == "t" and ATTACK == false then | |
5822 | if MODE == "Main" then | |
5823 | CreateSound("907330011", Head, 10, 1.2) | |
5824 | elseif MODE == "Phaedra" then | |
5825 | Roar() | |
5826 | elseif MODE == "Tenebris" then | |
5827 | TenebrisTAUNT1() | |
5828 | elseif MODE == "Maris" then | |
5829 | Minutes() | |
5830 | elseif MODE == "Fugatrix" then | |
5831 | CreateSound(221057812,Torso,10,1,false) | |
5832 | elseif MODE == "Praefectus" then | |
5833 | ATTACK = true | |
5834 | CreateSound(363808674, Torso, 6, 1, false) | |
5835 | for i=0, 0.6, 0.1 / Animation_Speed do | |
5836 | Swait() | |
5837 | RootJoint.C0 = Clerp(RootJoint.C0,ROOTC0 * CF(0, 0, 0 + 0.25 * COS(SINE / 12)) * ANGLES(RAD(4 + 2.5 * SIN(SINE / 12)), RAD(0), RAD(5 + 2.5 * SIN(SINE / 12))), 1 / Animation_Speed) | |
5838 | Neck.C0 = Clerp(Neck.C0, NECKC0 * CF(0, 0, 0 + ((1.25*SIZE) - 1)) * ANGLES(RAD(35), RAD(0), RAD(0)), 1 / Animation_Speed) | |
5839 | RightShoulder.C0 = Clerp(RightShoulder.C0, CF(1.25, 0.5, -0.5) * ANGLES(RAD(100), RAD(0), RAD(-50)) * RIGHTSHOULDERC0, 1 / Animation_Speed) | |
5840 | LeftShoulder.C0 = Clerp(LeftShoulder.C0, CF(-1.25, 0.35, -0.35) * ANGLES(RAD(70), RAD(0), RAD(60)) * LEFTSHOULDERC0, 1 / Animation_Speed) | |
5841 | RightHip.C0 = Clerp(RightHip.C0, CF(1, -1, -0.01) * ANGLES(RAD(-2.5 * SIN(SINE / 12)), RAD(75), RAD(0)) * ANGLES(RAD(-8 - 2.5 * SIN(SINE / 12)), RAD(0), RAD(0)), 1 / Animation_Speed) | |
5842 | LeftHip.C0 = Clerp(LeftHip.C0, CF(-1, -0.5, -0.5) * ANGLES(RAD(-2.5 * SIN(SINE / 12)), RAD(-90), RAD(0)) * ANGLES(RAD(-8 - 2.5 * SIN(SINE / 12)), RAD(0), RAD(0)), 1 / Animation_Speed) | |
5843 | end | |
5844 | for i=0, 0.6, 0.1 / Animation_Speed do | |
5845 | Swait() | |
5846 | RootJoint.C0 = Clerp(RootJoint.C0,ROOTC0 * CF(0, 0, 0 + 0.25 * COS(SINE / 12)) * ANGLES(RAD(4 + 2.5 * SIN(SINE / 12)), RAD(0), RAD(5 + 2.5 * SIN(SINE / 12))), 1 / Animation_Speed) | |
5847 | ||
5848 | Neck.C0 = Clerp(Neck.C0, NECKC0 * CF(0, 0, 0 + ((1.25*SIZE) - 1)) * ANGLES(RAD(35), RAD(0), RAD(0)), 1 / Animation_Speed) | |
5849 | RightShoulder.C0 = Clerp(RightShoulder.C0, CF(1.25, 0.5, -0.5) * ANGLES(RAD(100), RAD(0), RAD(-90)) * RIGHTSHOULDERC0, 1 / Animation_Speed) | |
5850 | LeftShoulder.C0 = Clerp(LeftShoulder.C0, CF(-1.25, 0.35, -0.35) * ANGLES(RAD(70), RAD(0), RAD(90)) * LEFTSHOULDERC0, 1 / Animation_Speed) | |
5851 | RightHip.C0 = Clerp(RightHip.C0, CF(1, -1, -0.01) * ANGLES(RAD(-2.5 * SIN(SINE / 12)), RAD(75), RAD(0)) * ANGLES(RAD(-8 - 2.5 * SIN(SINE / 12)), RAD(0), RAD(0)), 1 / Animation_Speed) | |
5852 | LeftHip.C0 = Clerp(LeftHip.C0, CF(-1, -0.5, -0.5) * ANGLES(RAD(-2.5 * SIN(SINE / 12)), RAD(-90), RAD(0)) * ANGLES(RAD(-8 - 2.5 * SIN(SINE / 12)), RAD(0), RAD(0)), 1 / Animation_Speed) | |
5853 | end | |
5854 | ATTACK = false | |
5855 | elseif MODE == "Demonum" then | |
5856 | Roar2() | |
5857 | elseif MODE == "Mortem" then | |
5858 | EMOTE() | |
5859 | elseif MODE == "Ultra Phaedra" then | |
5860 | Roar() | |
5861 | end | |
5862 | end | |
5863 | ||
5864 | if Key == "space" then | |
5865 | Humanoid.Jump = true | |
5866 | end | |
5867 | ||
5868 | if Key == "zero" and ATTACK == false then | |
5869 | PhForm() | |
5870 | end | |
5871 | ||
5872 | if Key == "semicolon" and ATTACK == false then | |
5873 | FinalForm() | |
5874 | end | |
5875 | ||
5876 | if Key == "m" and ATTACK == false and MODE == "Phaedra" then | |
5877 | UpForm() | |
5878 | end | |
5879 | ||
5880 | if Key == "zero" and ATTACK == false and MODE == "Ultra Phaedra" then | |
5881 | UpForm() | |
5882 | end | |
5883 | ||
5884 | if Key == "m" and ATTACK == false and MODE == "Praefectus" then | |
5885 | DeForm() | |
5886 | end | |
5887 | ||
5888 | if Key == "three" and ATTACK == false and MODE == "Demonum" then | |
5889 | DeForm() | |
5890 | end | |
5891 | ||
5892 | if Key == "three" and ATTACK == false then | |
5893 | PrForm() | |
5894 | end | |
5895 | ||
5896 | if Key == "m" and ATTACK == false and MODE == "Tenebris" then | |
5897 | VeForm() | |
5898 | end | |
5899 | ||
5900 | if Key == "one" and ATTACK == false and MODE == "Venari" then | |
5901 | VeForm() | |
5902 | end | |
5903 | ||
5904 | if Key == "four" and ATTACK == false then | |
5905 | InForm() | |
5906 | end | |
5907 | ||
5908 | if Key == "x" and ATTACK == false and MODE == "Phaedra" then | |
5909 | LEVEL = 3 | |
5910 | Ultima_Consummatio() | |
5911 | LEVEL = 1 | |
5912 | end | |
5913 | ||
5914 | if Key == "m" and ATTACK == false and MODE == "Fugatrix" then | |
5915 | DeathForm() | |
5916 | end | |
5917 | ||
5918 | if Key == "two" and ATTACK == false and MODE == "Mortem" then | |
5919 | DeathForm() | |
5920 | end | |
5921 | ||
5922 | if Key == "two" and ATTACK == false then | |
5923 | BaForm() | |
5924 | end | |
5925 | ||
5926 | if Key == "one" and ATTACK == false then | |
5927 | TeForm() | |
5928 | end | |
5929 | ||
5930 | if Key == "b" and ATTACK == false then | |
5931 | if MODE == "Main" then | |
5932 | Star_Cutter() | |
5933 | elseif MODE == "Phaedra" then | |
5934 | Ignem_Aeternum() | |
5935 | elseif MODE == "Tenebris" then | |
5936 | Dark_Cutter() | |
5937 | elseif MODE == "Fugatrix" then | |
5938 | Ruler2() | |
5939 | elseif MODE == "Praefectus" then | |
5940 | Command_Rush() | |
5941 | elseif MODE == "Demonum" then | |
5942 | Blizzard() | |
5943 | elseif MODE == "Ultra Phaedra" then | |
5944 | Ultimate_B() | |
5945 | elseif MODE == "Mortem" then | |
5946 | Dead_Cutter() | |
5947 | end | |
5948 | end | |
5949 | ||
5950 | if Key == "c" and ATTACK == false then | |
5951 | if MODE == "Main" then | |
5952 | Supernova() | |
5953 | elseif MODE == "Phaedra" then | |
5954 | Ultima_Consummatio() | |
5955 | elseif MODE == "Tenebris" then | |
5956 | SupernovaThrow() | |
5957 | elseif MODE == "Fugatrix" then | |
5958 | Ultima_ConsummatioB() | |
5959 | elseif MODE == "Praefectus" then | |
5960 | Ruler() | |
5961 | elseif MODE == "Demonum" then | |
5962 | SupernovaThrow() | |
5963 | elseif MODE == "Ultra Phaedra" then | |
5964 | Governor_Bomb3() | |
5965 | elseif MODE == "Mortem" then | |
5966 | FingerMagic() | |
5967 | end | |
5968 | end | |
5969 | ||
5970 | if Key == "q" and ATTACK == false then | |
5971 | if MODE == "Main" then | |
5972 | Astral_Hop() | |
5973 | elseif MODE == "Phaedra" then | |
5974 | Hop() | |
5975 | elseif MODE == "Tenebris" then | |
5976 | Astral_Hop() | |
5977 | elseif MODE == "Venari" then | |
5978 | SummonHop() | |
5979 | elseif MODE == "Fugatrix" then | |
5980 | Banish_Hop() | |
5981 | elseif MODE == "Praefectus" then | |
5982 | Monarch_Hop() | |
5983 | elseif MODE == "Demonum" then | |
5984 | Banish_Hop() | |
5985 | elseif MODE == "Mortem" then | |
5986 | Banish_Hop() | |
5987 | elseif MODE == "Ultra Phaedra" then | |
5988 | Hop() | |
5989 | end | |
5990 | end | |
5991 | end | |
5992 | ||
5993 | function KeyUp(Key) | |
5994 | KEYHOLD = false | |
5995 | end | |
5996 | ||
5997 | Mouse.Button1Down:connect(function(NEWKEY) | |
5998 | MouseDown(NEWKEY) | |
5999 | end) | |
6000 | Mouse.Button1Up:connect(function(NEWKEY) | |
6001 | MouseUp(NEWKEY) | |
6002 | end) | |
6003 | Mouse.KeyDown:connect(function(NEWKEY) | |
6004 | KeyDown(NEWKEY) | |
6005 | end) | |
6006 | Mouse.KeyUp:connect(function(NEWKEY) | |
6007 | KeyUp(NEWKEY) | |
6008 | end) | |
6009 | ||
6010 | --//=================================\\ | |
6011 | --\\=================================// | |
6012 | ||
6013 | ||
6014 | function unanchor() | |
6015 | if UNANCHOR == true then | |
6016 | g = Character:GetChildren() | |
6017 | for i = 1, #g do | |
6018 | if g[i].ClassName == "Part" then | |
6019 | g[i].Anchored = false | |
6020 | end | |
6021 | end | |
6022 | g = Weapon:GetChildren() | |
6023 | for i = 1, #g do | |
6024 | if g[i].ClassName == "Part" then | |
6025 | g[i].Anchored = false | |
6026 | end | |
6027 | end | |
6028 | end | |
6029 | end | |
6030 | ||
6031 | ||
6032 | --//=================================\\ | |
6033 | --|| WRAP THE WHOLE SCRIPT UP | |
6034 | --\\=================================// | |
6035 | ||
6036 | function slash(bonuspeed,rotspeed,rotatingop,typeofshape,type,typeoftrans,pos,scale,value,color) | |
6037 | local type = type | |
6038 | local rotenable = rotatingop | |
6039 | local rng = Instance.new("Part", Character) | |
6040 | rng.Anchored = true | |
6041 | rng.BrickColor = color | |
6042 | rng.CanCollide = false | |
6043 | rng.FormFactor = 3 | |
6044 | rng.Name = "Ring" | |
6045 | rng.Material = "Neon" | |
6046 | rng.Size = Vector3.new(1, 1, 1) | |
6047 | rng.Transparency = 0 | |
6048 | if typeoftrans == "In" then | |
6049 | rng.Transparency = 1 | |
6050 | end | |
6051 | rng.TopSurface = 0 | |
6052 | rng.BottomSurface = 0 | |
6053 | rng.CFrame = pos | |
6054 | local rngm = Instance.new("SpecialMesh", rng) | |
6055 | rngm.MeshType = "FileMesh" | |
6056 | if typeofshape == "Normal" then | |
6057 | rngm.MeshId = "rbxassetid://662586858" | |
6058 | elseif typeofshape == "Round" then | |
6059 | rngm.MeshId = "rbxassetid://662585058" | |
6060 | end | |
6061 | rngm.Scale = scale | |
6062 | local scaler2 = 1/10 | |
6063 | if type == "Add" then | |
6064 | scaler2 = 1*value/10 | |
6065 | elseif type == "Divide" then | |
6066 | scaler2 = 1/value/10 | |
6067 | end | |
6068 | local randomrot = math.random(1,2) | |
6069 | coroutine.resume(coroutine.create(function() | |
6070 | for i = 0,10/bonuspeed,0.1 do | |
6071 | Swait() | |
6072 | if type == "Add" then | |
6073 | scaler2 = scaler2 - 0.01*value/bonuspeed/10 | |
6074 | elseif type == "Divide" then | |
6075 | scaler2 = scaler2 - 0.01/value*bonuspeed/10 | |
6076 | end | |
6077 | if rotenable == true then | |
6078 | if randomrot == 1 then | |
6079 | rng.CFrame = rng.CFrame*CFrame.Angles(0,math.rad(rotspeed*bonuspeed/2),0) | |
6080 | elseif randomrot == 2 then | |
6081 | rng.CFrame = rng.CFrame*CFrame.Angles(0,math.rad(-rotspeed*bonuspeed/2),0) | |
6082 | end | |
6083 | end | |
6084 | if typeoftrans == "Out" then | |
6085 | rng.Transparency = rng.Transparency + 0.01*bonuspeed | |
6086 | elseif typeoftrans == "In" then | |
6087 | rng.Transparency = rng.Transparency - 0.01*bonuspeed | |
6088 | end | |
6089 | rngm.Scale = rngm.Scale + Vector3.new(scaler2*bonuspeed/10, 0, scaler2*bonuspeed/10) | |
6090 | end | |
6091 | rng:Destroy() | |
6092 | end)) | |
6093 | end | |
6094 | ||
6095 | Humanoid.Changed:connect(function(Jump) | |
6096 | if Jump == "Jump" and (Disable_Jump == true) then | |
6097 | Humanoid.Jump = false | |
6098 | end | |
6099 | end) | |
6100 | ||
6101 | Humanoid.HipHeight = 2 | |
6102 | Head:ClearAllChildren() | |
6103 | ||
6104 | Speed = 35 | |
6105 | ||
6106 | local BODY = {} | |
6107 | for _, c in pairs(Character:GetDescendants()) do | |
6108 | if c:IsA("BasePart") and c.Name ~= "Handle" then | |
6109 | if c ~= RootPart and c ~= Torso and c ~= Head and c ~= RightArm and c ~= LeftArm and c ~= RightLeg and c ~= LeftLeg then | |
6110 | c.CustomPhysicalProperties = PhysicalProperties.new(0, 0, 0, 0, 0) | |
6111 | end | |
6112 | table.insert(BODY,{c,c.Parent,c.Material,c.Color,c.Transparency}) | |
6113 | elseif c:IsA("JointInstance") then | |
6114 | table.insert(BODY,{c,c.Parent,nil,nil,nil}) | |
6115 | end | |
6116 | end | |
6117 | for e = 1, #BODY do | |
6118 | if BODY[e] ~= nil then | |
6119 | local STUFF = BODY[e] | |
6120 | local PART = STUFF[1] | |
6121 | local PARENT = STUFF[2] | |
6122 | local MATERIAL = STUFF[3] | |
6123 | local COLOR = STUFF[4] | |
6124 | local TRANSPARENCY = STUFF[5] | |
6125 | if PART.ClassName == "Part" and PART ~= RootPart then | |
6126 | PART.Transparency = TRANSPARENCY | |
6127 | end | |
6128 | PART.AncestryChanged:Connect(function() | |
6129 | PART.Parent = PARENT | |
6130 | end) | |
6131 | end | |
6132 | end | |
6133 | function refit2() | |
6134 | Character.Parent = workspace | |
6135 | for e = 1, #BODY do | |
6136 | if BODY[e] ~= nil then | |
6137 | local STUFF = BODY[e] | |
6138 | local PART = STUFF[1] | |
6139 | local PARENT = STUFF[2] | |
6140 | ||
6141 | local TRANSPARENCY = STUFF[5] | |
6142 | if PART:IsA("BasePart") and PART ~= RootPart then | |
6143 | ||
6144 | PART.Transparency = TRANSPARENCY | |
6145 | end | |
6146 | if PART.Parent ~= PARENT then | |
6147 | Humanoid:remove() | |
6148 | PART.Parent = PARENT | |
6149 | Humanoid = IT("Humanoid",Character) | |
6150 | ||
6151 | end | |
6152 | end | |
6153 | end | |
6154 | end | |
6155 | ||
6156 | local EXTRATRANS = 0 | |
6157 | ||
6158 | function refit3() | |
6159 | Character.Parent = workspace | |
6160 | for e = 1, #BODY do | |
6161 | if BODY[e] ~= nil then | |
6162 | local STUFF = BODY[e] | |
6163 | local PART = STUFF[1] | |
6164 | local PARENT = STUFF[2] | |
6165 | local MATERIAL = STUFF[3] | |
6166 | local COLOR = STUFF[4] | |
6167 | local TRANSPARENCY = STUFF[5] | |
6168 | if PART:IsA("BasePart") and PART ~= RootPart then | |
6169 | PART.Transparency = TRANSPARENCY+EXTRATRANS | |
6170 | end | |
6171 | if PART.Parent ~= PARENT then | |
6172 | Humanoid:remove() | |
6173 | PART.Parent = PARENT | |
6174 | Humanoid = IT("Humanoid",Character) | |
6175 | end | |
6176 | end | |
6177 | end | |
6178 | end | |
6179 | ||
6180 | Humanoid.Died:connect(function() | |
6181 | refit3() | |
6182 | refit2() | |
6183 | end) | |
6184 | ||
6185 | ||
6186 | ||
6187 | local FOUNDFORGOTTEN = false | |
6188 | ||
6189 | for _, c in pairs(Character:GetChildren()) do | |
6190 | if c == Head then | |
6191 | local M = CreateMesh("SpecialMesh", c, "FileMesh", "162384581", "162384608", VT(1,1,1)*1.1, VT(0,0,0)) | |
6192 | M.Name = "Dominus" | |
6193 | end | |
6194 | end | |
6195 | ||
6196 | function CreateParta(parent,transparency,reflectance,material,brickcolor) | |
6197 | local p = Instance.new("Part") | |
6198 | p.TopSurface = 0 | |
6199 | p.BottomSurface = 0 | |
6200 | p.Parent = parent | |
6201 | p.Size = Vector3.new(0.1,0.1,0.1) | |
6202 | p.Transparency = transparency | |
6203 | p.Reflectance = reflectance | |
6204 | p.CanCollide = false | |
6205 | p.Locked = true | |
6206 | p.BrickColor = brickcolor | |
6207 | p.Material = material | |
6208 | return p | |
6209 | end | |
6210 | ||
6211 | function CreateWeld(parent,part0,part1,C1X,C1Y,C1Z,C1Xa,C1Ya,C1Za,C0X,C0Y,C0Z,C0Xa,C0Ya,C0Za) | |
6212 | local weld = Instance.new("Weld") | |
6213 | weld.Parent = parent | |
6214 | weld.Part0 = part0 | |
6215 | weld.Part1 = part1 | |
6216 | weld.C1 = CFrame.new(C1X,C1Y,C1Z)*CFrame.Angles(C1Xa,C1Ya,C1Za) | |
6217 | weld.C0 = CFrame.new(C0X,C0Y,C0Z)*CFrame.Angles(C0Xa,C0Ya,C0Za) | |
6218 | return weld | |
6219 | end | |
6220 | ||
6221 | local m = Instance.new("Model",Character) | |
6222 | ||
6223 | local cen = CreateParta(m,1,1,"SmoothPlastic",BrickColor.random()) | |
6224 | CreateWeld(cen,RootPart,cen,0,3,0,math.rad(0),math.rad(0),math.rad(0),0,0,0,math.rad(0),math.rad(0),math.rad(0)) | |
6225 | ||
6226 | local effar = Instance.new("ParticleEmitter",cen) | |
6227 | effar.Texture = "rbxassetid://2344870656" | |
6228 | effar.LightEmission = 1 | |
6229 | effar.Color = ColorSequence.new(Color3.new(1,0,0)) | |
6230 | effar.Rate = 50 | |
6231 | effar.Enabled = false | |
6232 | effar.EmissionDirection = "Front" | |
6233 | effar.Lifetime = NumberRange.new(1) | |
6234 | effar.Size = NumberSequence.new({NumberSequenceKeypoint.new(0,15,0),NumberSequenceKeypoint.new(0.1,5,0),NumberSequenceKeypoint.new(0.8,15,0),NumberSequenceKeypoint.new(1,40,0)}) | |
6235 | effar.Transparency = NumberSequence.new({NumberSequenceKeypoint.new(0,1,0),NumberSequenceKeypoint.new(0.8,0.5,0),NumberSequenceKeypoint.new(1,1,0)}) | |
6236 | effar.Speed = NumberRange.new(80,90) | |
6237 | effar.Acceleration = Vector3.new(0,10,0) | |
6238 | effar.Drag = 5 | |
6239 | effar.Rotation = NumberRange.new(-500,500) | |
6240 | effar.SpreadAngle = Vector2.new(0,900) | |
6241 | effar.RotSpeed = NumberRange.new(-500,500) | |
6242 | ||
6243 | while true do | |
6244 | Swait() | |
6245 | ANIMATE.Parent = nil | |
6246 | Humanoid.HipHeight = 2 | |
6247 | SINE = SINE + CHANGE | |
6248 | local TORSOVELOCITY = (RootPart.Velocity * VT(1, 0, 1)).magnitude | |
6249 | local TORSOVERTICALVELOCITY = RootPart.Velocity.y | |
6250 | local LV = Torso.CFrame:pointToObjectSpace(Torso.Velocity - Torso.Position) | |
6251 | local HITFLOOR,HITPOS,NORMAL = Raycast(RootPart.Position, (CF(RootPart.Position, RootPart.Position + VT(0, -1, 0))).lookVector, 7 * Player_Size, Character) | |
6252 | if ATTACK == false then | |
6253 | if TORSOVELOCITY < 1 and MODE == "Main" then | |
6254 | RootJoint.C0 = Clerp(RootJoint.C0,ROOTC0 * CF(0, 0, 0 + 0.25 * COS(SINE / 12)) * ANGLES(RAD(4 + 2.5 * SIN(SINE / 12)), RAD(0), RAD(5 + 2.5 * SIN(SINE / 12))), 1 / Animation_Speed) | |
6255 | Neck.C0 = Clerp(Neck.C0, NECKC0 * CF(0, 0, 0 + ((1) - 1)) * ANGLES(RAD(0 + 4.5 * SIN(SINE / 12)), RAD(0), RAD(-5 - 2.5 * SIN(SINE / 12))), 1 / Animation_Speed) | |
6256 | RightShoulder.C0 = Clerp(RightShoulder.C0, CF(1.5, 0.5 + 0.25 * COS(SINE / 12), 0) * ANGLES(RAD(0), RAD(0 - 2.5 * SIN(SINE / 12)), RAD(5 + 7.5 * SIN(SINE / 12))) * RIGHTSHOULDERC0, 1 / Animation_Speed) | |
6257 | LeftShoulder.C0 = Clerp(LeftShoulder.C0, CF(-1.5, 0.5 + 0.25 * COS(SINE / 12), 0) * ANGLES(RAD(0), RAD(0 + 2.5 * SIN(SINE / 12)), RAD(-5 - 7.5 * SIN(SINE / 12))) * LEFTSHOULDERC0, 1 / Animation_Speed) | |
6258 | RightHip.C0 = Clerp(RightHip.C0, CF(1, -1, -0.01) * ANGLES(RAD(-2.5 * SIN(SINE / 12)), RAD(75), RAD(0)) * ANGLES(RAD(-8 - 2.5 * SIN(SINE / 12)), RAD(0), RAD(0)), 1 / Animation_Speed) | |
6259 | LeftHip.C0 = Clerp(LeftHip.C0, CF(-1, -0.5, -0.5) * ANGLES(RAD(-2.5 * SIN(SINE / 12)), RAD(-90), RAD(0)) * ANGLES(RAD(-8 - 2.5 * SIN(SINE / 12)), RAD(0), RAD(0)), 1 / Animation_Speed) | |
6260 | elseif TORSOVELOCITY > 1 and MODE == "Main" then | |
6261 | RootJoint.C0 = Clerp(RootJoint.C0,ROOTC0 * CF(0, 0, 0 + 0.25 * COS(SINE / 12)) * ANGLES(RAD(25 + 2.5 * SIN(SINE / 12)), RAD(0), RAD(5 + 2.5 * SIN(SINE / 12))), 1 / Animation_Speed) | |
6262 | Neck.C0 = Clerp(Neck.C0, NECKC0 * CF(0, 0, 0 + ((1) - 1)) * ANGLES(RAD(-25 + 4.5 * SIN(SINE / 12)), RAD(0), RAD(-5 - 2.5 * SIN(SINE / 12))), 1 / Animation_Speed) | |
6263 | RightShoulder.C0 = Clerp(RightShoulder.C0, CF(1.5, 0.5 + 0.25 * COS(SINE / 12), 0) * ANGLES(RAD(-25), RAD(0 - 2.5 * SIN(SINE / 12)), RAD(15 + 7.5 * SIN(SINE / 12))) * RIGHTSHOULDERC0, 1 / Animation_Speed) | |
6264 | LeftShoulder.C0 = Clerp(LeftShoulder.C0, CF(-1.5, 0.5 + 0.25 * COS(SINE / 12), 0) * ANGLES(RAD(-25), RAD(0 + 2.5 * SIN(SINE / 12)), RAD(-15 - 7.5 * SIN(SINE / 12))) * LEFTSHOULDERC0, 1 / Animation_Speed) | |
6265 | RightHip.C0 = Clerp(RightHip.C0, CF(1, -1, -0.01) * ANGLES(RAD(-25-2.5 * SIN(SINE / 12)), RAD(75), RAD(0)) * ANGLES(RAD(-8 - 5.5 * SIN(SINE / 12)), RAD(0), RAD(0)), 1 / Animation_Speed) | |
6266 | LeftHip.C0 = Clerp(LeftHip.C0, CF(-1, -0.5, -0.5) * ANGLES(RAD(-2.5 * SIN(SINE / 12)), RAD(-90), RAD(0)) * ANGLES(RAD(-8 - 2.5 * SIN(SINE / 12)), RAD(0), RAD(0)), 1 / Animation_Speed) | |
6267 | elseif TORSOVELOCITY < 1 and MODE == "Demonum" then | |
6268 | SKILLTEXTCOLOR = C3(1, 0, 0) | |
6269 | SKILLTEXTCOLOR2 = C3(0,0,0) | |
6270 | local snap = math.random(1,2) | |
6271 | if snap == 1 then | |
6272 | SKILLTEXTCOLOR = C3(0,0,0) | |
6273 | SKILLTEXTCOLOR2 = C3(1,0,0) | |
6274 | end | |
6275 | RootJoint.C0 = Clerp(RootJoint.C0,ROOTC0 * CF(0 - 0.5 * SIN(SINE / 12), 0 + 0.25 * COS(SINE / 32), 1 + 1 * COS(SINE / 12)) * ANGLES(RAD(4 + 2.5 * SIN(SINE / 12)), RAD(0), RAD(5 + 2.5 * SIN(SINE / 24))), 1 / Animation_Speed) | |
6276 | Neck.C0 = Clerp(Neck.C0, NECKC0 * CF(0, 0, 0 + ((1) - 1)) * ANGLES(RAD(0 + 4.5 * SIN(SINE / 12)), RAD(0), RAD(-5 - 2.5 * SIN(SINE / 12))), 1 / Animation_Speed) | |
6277 | RightShoulder.C0 = Clerp(RightShoulder.C0, CF(0.9*SIZE, 0.5*SIZE + 0.05*SIZE * SIN(SINE / 12), -0.5) * ANGLES(RAD(100), RAD(0), RAD(-70)) * RIGHTSHOULDERC0, 1 / Animation_Speed) | |
6278 | LeftShoulder.C0 = Clerp(LeftShoulder.C0, CF(-0.9*SIZE, 0.25*SIZE + 0.05*SIZE * SIN(SINE / 12), -0.35) * ANGLES(RAD(70), RAD(0), RAD(80)) * LEFTSHOULDERC0, 1 / Animation_Speed) | |
6279 | RightHip.C0 = Clerp(RightHip.C0, CF(1, -1, -0.01) * ANGLES(RAD(-2.5 * SIN(SINE / 12)), RAD(75), RAD(0)) * ANGLES(RAD(-8 - 2.5 * SIN(SINE / 12)), RAD(0), RAD(0)), 1 / Animation_Speed) | |
6280 | LeftHip.C0 = Clerp(LeftHip.C0, CF(-1, -0.5, -0.5) * ANGLES(RAD(-2.5 * SIN(SINE / 12)), RAD(-90), RAD(0)) * ANGLES(RAD(-8 - 2.5 * SIN(SINE / 12)), RAD(0), RAD(0)), 1 / Animation_Speed) | |
6281 | elseif TORSOVELOCITY > 1 and MODE == "Demonum" then | |
6282 | SKILLTEXTCOLOR = C3(1, 0, 0) | |
6283 | SKILLTEXTCOLOR2 = C3(0,0,0) | |
6284 | local snap = math.random(1,2) | |
6285 | if snap == 1 then | |
6286 | SKILLTEXTCOLOR = C3(0,0,0) | |
6287 | SKILLTEXTCOLOR2 = C3(1,0,0) | |
6288 | end | |
6289 | RootJoint.C0 = Clerp(RootJoint.C0,ROOTC0 * CF(0 - 0.5 * SIN(SINE / 12), 0 + 0.25 * COS(SINE / 32), 1 + 1 * COS(SINE / 12)) * ANGLES(RAD(25 + 2.5 * SIN(SINE / 12)), RAD(0), RAD(5 + 2.5 * SIN(SINE / 24))), 1 / Animation_Speed) | |
6290 | Neck.C0 = Clerp(Neck.C0, NECKC0 * CF(0, 0, 0 + ((1) - 1)) * ANGLES(RAD(-25 + 4.5 * SIN(SINE / 12)), RAD(0), RAD(-5 - 2.5 * SIN(SINE / 12))), 1 / Animation_Speed) | |
6291 | RightShoulder.C0 = Clerp(RightShoulder.C0, CF(0.9*SIZE, 0.5*SIZE + 0.05*SIZE * SIN(SINE / 12), -0.5) * ANGLES(RAD(100), RAD(0), RAD(-70)) * RIGHTSHOULDERC0, 1 / Animation_Speed) | |
6292 | LeftShoulder.C0 = Clerp(LeftShoulder.C0, CF(-0.9*SIZE, 0.25*SIZE + 0.05*SIZE * SIN(SINE / 12), -0.35) * ANGLES(RAD(70), RAD(0), RAD(80)) * LEFTSHOULDERC0, 1 / Animation_Speed) | |
6293 | RightHip.C0 = Clerp(RightHip.C0, CF(1, -1, -0.01) * ANGLES(RAD(-25-2.5 * SIN(SINE / 12)), RAD(75), RAD(0)) * ANGLES(RAD(-8 - 5.5 * SIN(SINE / 12)), RAD(0), RAD(0)), 1 / Animation_Speed) | |
6294 | LeftHip.C0 = Clerp(LeftHip.C0, CF(-1, -0.5, -0.5) * ANGLES(RAD(-2.5 * SIN(SINE / 12)), RAD(-90), RAD(0)) * ANGLES(RAD(-8 - 2.5 * SIN(SINE / 12)), RAD(0), RAD(0)), 1 / Animation_Speed) | |
6295 | elseif TORSOVELOCITY < 1 and MODE == "Phaedra" then | |
6296 | SKILLTEXTCOLOR = C3(0.7372549019607844, 0.6078431372549019, 0.36470588235294116) | |
6297 | SKILLTEXTCOLOR2 = C3(1,1,1) | |
6298 | local snap = math.random(1,2) | |
6299 | if snap == 1 then | |
6300 | SKILLTEXTCOLOR = C3(1,1,1) | |
6301 | SKILLTEXTCOLOR2 = C3(0.7372549019607844, 0.6078431372549019, 0.36470588235294116) | |
6302 | end | |
6303 | RootJoint.C0 = Clerp(RootJoint.C0, ROOTC0 * CF(0 - 1 * SIN(SINE / 22), 0, 2 + 1.5 * COS(SINE / 22)) * ANGLES(RAD(4 + 2.5 * SIN(SINE / 12)), RAD(0), RAD(0)), 1 / Animation_Speed) | |
6304 | Neck.C0 = Clerp(Neck.C0, NECKC0 * CF(0, 0, 0) * ANGLES(RAD(5 + 6.5 * SIN(SINE / 24)), RAD(9*SIN(SINE/24)), RAD(6*SIN(SINE/24))), 1 / Animation_Speed) | |
6305 | RightShoulder.C0 = Clerp(RightShoulder.C0, CF(1.15, 0.15 + 0.1 * COS(SINE / 12), 0.5) * ANGLES(RAD(-45), RAD(0 - 2.5 * SIN(SINE / 12)), RAD(-45 + 7.5 * SIN(SINE / 12))) * RIGHTSHOULDERC0, 1 / Animation_Speed) | |
6306 | LeftShoulder.C0 = Clerp(LeftShoulder.C0, CF(-1.15, 0.15 + 0.1 * COS(SINE / 12), 0.5) * ANGLES(RAD(-45), RAD(0 + 2.5 * SIN(SINE / 12)), RAD(45 - 7.5 * SIN(SINE / 12))) * LEFTSHOULDERC0, 1 / Animation_Speed) | |
6307 | RightHip.C0 = Clerp(RightHip.C0, CF(1, -1, -0.01) * ANGLES(RAD(-4.5 * SIN(SINE / 12)), RAD(75), RAD(0)) * ANGLES(RAD(-8 - 5.5 * SIN(SINE / 12)), RAD(0), RAD(0)), 1 / Animation_Speed) | |
6308 | LeftHip.C0 = Clerp(LeftHip.C0, CF(-1, -0.5, -0.5) * ANGLES(RAD(-4.5 * SIN(SINE / 12)), RAD(-90), RAD(0)) * ANGLES(RAD(-8 - 5.5 * SIN(SINE / 12)), RAD(0), RAD(0)), 1 / Animation_Speed) | |
6309 | elseif TORSOVELOCITY > 1 and MODE == "Phaedra" then | |
6310 | SKILLTEXTCOLOR = C3(0.7372549019607844, 0.6078431372549019, 0.36470588235294116) | |
6311 | SKILLTEXTCOLOR2 = C3(1,1,1) | |
6312 | local snap = math.random(1,2) | |
6313 | if snap == 1 then | |
6314 | SKILLTEXTCOLOR2 = C3(0.7372549019607844, 0.6078431372549019, 0.36470588235294116) | |
6315 | SKILLTEXTCOLOR = C3(1,1,1) | |
6316 | end | |
6317 | RootJoint.C0 = Clerp(RootJoint.C0, ROOTC0 * CF(0 - 1 * SIN(SINE / 22), 0, 2 + 1.5 * COS(SINE / 22)) * ANGLES(RAD(25 + 2.5 * SIN(SINE / 12)), RAD(0), RAD(5 + 2.5 * SIN(SINE / 12))), 1 / Animation_Speed) | |
6318 | Neck.C0 = Clerp(Neck.C0, NECKC0 * CF(0, 0, 0) * ANGLES(RAD(-25 + 4.5 * SIN(SINE / 12)), RAD(15 * SIN(SINE / 28)), RAD(5 * SIN(SINE / 12))), 1 / Animation_Speed) | |
6319 | RightShoulder.C0 = Clerp(RightShoulder.C0, CF(1.15, 0.15 + 0.05 * COS(SINE / 12), 0.5) * ANGLES(RAD(-45), RAD(0 - 2.5 * SIN(SINE / 12)), RAD(-45 + 7.5 * SIN(SINE / 12))) * RIGHTSHOULDERC0, 1 / Animation_Speed) | |
6320 | LeftShoulder.C0 = Clerp(LeftShoulder.C0, CF(-1.15, 0.15 + 0.05 * COS(SINE / 12), 0.5) * ANGLES(RAD(-45), RAD(0 + 2.5 * SIN(SINE / 12)), RAD(45 - 7.5 * SIN(SINE / 12))) * LEFTSHOULDERC0, 1 / Animation_Speed) | |
6321 | RightHip.C0 = Clerp(RightHip.C0, CF(1, -1, -0.01) * ANGLES(RAD(-25 - 2.5 * SIN(SINE / 12)), RAD(75), RAD(0)) * ANGLES(RAD(-8 - 5.5 * SIN(SINE / 12)), RAD(0), RAD(0)), 1 / Animation_Speed) | |
6322 | LeftHip.C0 = Clerp(LeftHip.C0, CF(-1, -0.5, -0.5) * ANGLES(RAD(-2.5 * SIN(SINE / 12)), RAD(-90), RAD(0)) * ANGLES(RAD(-8 - 2.5 * SIN(SINE / 12)), RAD(0), RAD(0)), 1 / Animation_Speed) | |
6323 | elseif TORSOVELOCITY < 1 and MODE == "Tenebris" then | |
6324 | RootJoint.C0 = Clerp(RootJoint.C0, ROOTC0 * CF(0, 0, 0 + 0.25 * COS(SINE / 12)) * ANGLES(RAD(4 + 2.5 * SIN(SINE / 12)), RAD(0), RAD(0)), 1 / Animation_Speed) | |
6325 | Neck.C0 = Clerp(Neck.C0, NECKC0 * CF(0, 0, 0) * ANGLES(RAD(5 + 6.5 * SIN(SINE / 12)), RAD(0), RAD(0)), 1 / Animation_Speed) | |
6326 | RightShoulder.C0 = Clerp(RightShoulder.C0, CF(1.5, 0.5 + 0.25 * COS(SINE / 12), 0) * ANGLES(RAD(0), RAD(0 - 2.5 * SIN(SINE / 12)), RAD(5 + 7.5 * SIN(SINE / 12))) * RIGHTSHOULDERC0, 1 / Animation_Speed) | |
6327 | LeftShoulder.C0 = Clerp(LeftShoulder.C0, CF(-1.25, 0.35, -0.35) * ANGLES(RAD(70), RAD(0), RAD(90)) * LEFTSHOULDERC0, 1 / Animation_Speed) | |
6328 | RightHip.C0 = Clerp(RightHip.C0, CF(1, -1, -0.01) * ANGLES(RAD(-4.5 * SIN(SINE / 12)), RAD(75), RAD(0)) * ANGLES(RAD(-8 - 5.5 * SIN(SINE / 12)), RAD(0), RAD(0)), 1 / Animation_Speed) | |
6329 | LeftHip.C0 = Clerp(LeftHip.C0, CF(-1, -0.5, -0.5) * ANGLES(RAD(-4.5 * SIN(SINE / 12)), RAD(-90), RAD(0)) * ANGLES(RAD(-8 - 5.5 * SIN(SINE / 12)), RAD(0), RAD(0)), 1 / Animation_Speed) | |
6330 | elseif TORSOVELOCITY > 1 and MODE == "Tenebris" then | |
6331 | RootJoint.C0 = Clerp(RootJoint.C0, ROOTC0 * CF(0, 0, 0 + 0.25 * COS(SINE / 12)) * ANGLES(RAD(25 + 2.5 * SIN(SINE / 12)), RAD(0), RAD(5 + 2.5 * SIN(SINE / 12))), 1 / Animation_Speed) | |
6332 | Neck.C0 = Clerp(Neck.C0, NECKC0 * CF(0, 0, 0) * ANGLES(RAD(-25 + 4.5 * SIN(SINE / 12)), RAD(0), RAD(-5 - 2.5 * SIN(SINE / 12))), 1 / Animation_Speed) | |
6333 | RightShoulder.C0 = Clerp(RightShoulder.C0, CF(1.5, 0.5 + 0.25 * COS(SINE / 12), 0) * ANGLES(RAD(0), RAD(0 - 2.5 * SIN(SINE / 12)), RAD(5 + 7.5 * SIN(SINE / 12))) * RIGHTSHOULDERC0, 1 / Animation_Speed) | |
6334 | LeftShoulder.C0 = Clerp(LeftShoulder.C0, CF(-1.25, 0.35, -0.35) * ANGLES(RAD(70), RAD(0), RAD(90)) * LEFTSHOULDERC0, 1 / Animation_Speed) | |
6335 | RightHip.C0 = Clerp(RightHip.C0, CF(1, -1, -0.01) * ANGLES(RAD(-25 - 2.5 * SIN(SINE / 12)), RAD(75), RAD(0)) * ANGLES(RAD(-8 - 5.5 * SIN(SINE / 12)), RAD(0), RAD(0)), 1 / Animation_Speed) | |
6336 | LeftHip.C0 = Clerp(LeftHip.C0, CF(-1, -0.5, -0.5) * ANGLES(RAD(-2.5 * SIN(SINE / 12)), RAD(-90), RAD(0)) * ANGLES(RAD(-8 - 2.5 * SIN(SINE / 12)), RAD(0), RAD(0)), 1 / Animation_Speed) | |
6337 | elseif TORSOVELOCITY < 1 and MODE == "Fugatrix" then | |
6338 | RootJoint.C0 = Clerp(RootJoint.C0,ROOTC0 * CF(0, 0, 0 + 0.25 * COS(SINE / 12)) * ANGLES(RAD(4 + 2.5 * SIN(SINE / 12)), RAD(0), RAD(5 + 2.5 * SIN(SINE / 12))), 1 / Animation_Speed) | |
6339 | Neck.C0 = Clerp(Neck.C0, NECKC0 * CF(0, 0, 0 + ((1) - 1)) * ANGLES(RAD(0 + 4.5 * SIN(SINE / 12)), RAD(0), RAD(-5 - 2.5 * SIN(SINE / 12))), 1 / Animation_Speed) | |
6340 | RightShoulder.C0 = Clerp(RightShoulder.C0, CF(1.5, 0.5 + 0.25 * COS(SINE / 12), 0) * ANGLES(RAD(-45), RAD(0 - 7.5 * SIN(SINE / 12)), RAD(32 + 7.5 * SIN(SINE / 12))) * RIGHTSHOULDERC0, 1 / Animation_Speed) | |
6341 | LeftShoulder.C0 = Clerp(LeftShoulder.C0, CF(-1.15, 0.15 + 0.05 * COS(SINE / 12), 0.5) * ANGLES(RAD(-45), RAD(0 + 2.5 * SIN(SINE / 12)), RAD(45 - 7.5 * SIN(SINE / 12))) * LEFTSHOULDERC0, 1 / Animation_Speed) | |
6342 | RightHip.C0 = Clerp(RightHip.C0, CF(1, -1, -0.01) * ANGLES(RAD(-2.5 * SIN(SINE / 12)), RAD(75), RAD(0)) * ANGLES(RAD(-8 - 2.5 * SIN(SINE / 12)), RAD(0), RAD(0)), 1 / Animation_Speed) | |
6343 | LeftHip.C0 = Clerp(LeftHip.C0, CF(-1, -0.5, -0.5) * ANGLES(RAD(-2.5 * SIN(SINE / 12)), RAD(-90), RAD(0)) * ANGLES(RAD(-8 - 2.5 * SIN(SINE / 12)), RAD(0), RAD(0)), 1 / Animation_Speed) | |
6344 | elseif TORSOVELOCITY > 1 and MODE == "Fugatrix" then | |
6345 | RootJoint.C0 = Clerp(RootJoint.C0,ROOTC0 * CF(0, 0, 0 + 0.25 * COS(SINE / 12)) * ANGLES(RAD(25 + 2.5 * SIN(SINE / 12)), RAD(0), RAD(5 + 2.5 * SIN(SINE / 12))), 1 / Animation_Speed) | |
6346 | Neck.C0 = Clerp(Neck.C0, NECKC0 * CF(0, 0, 0 + ((1) - 1)) * ANGLES(RAD(-25 + 4.5 * SIN(SINE / 12)), RAD(0), RAD(-5 - 2.5 * SIN(SINE / 12))), 1 / Animation_Speed) | |
6347 | RightShoulder.C0 = Clerp(RightShoulder.C0, CF(1.5, 0.5 + 0.25 * COS(SINE / 12), 0) * ANGLES(RAD(-45), RAD(0 - 7.5 * SIN(SINE / 12)), RAD(32 + 7.5 * SIN(SINE / 12))) * RIGHTSHOULDERC0, 1 / Animation_Speed) | |
6348 | LeftShoulder.C0 = Clerp(LeftShoulder.C0, CF(-1.15, 0.15 + 0.05 * COS(SINE / 12), 0.5) * ANGLES(RAD(-45), RAD(0 + 2.5 * SIN(SINE / 12)), RAD(45 - 7.5 * SIN(SINE / 12))) * LEFTSHOULDERC0, 1 / Animation_Speed) | |
6349 | RightHip.C0 = Clerp(RightHip.C0, CF(1, -1, -0.01) * ANGLES(RAD(-25-2.5 * SIN(SINE / 12)), RAD(75), RAD(0)) * ANGLES(RAD(-8 - 5.5 * SIN(SINE / 12)), RAD(0), RAD(0)), 1 / Animation_Speed) | |
6350 | LeftHip.C0 = Clerp(LeftHip.C0, CF(-1, -0.5, -0.5) * ANGLES(RAD(-2.5 * SIN(SINE / 12)), RAD(-90), RAD(0)) * ANGLES(RAD(-8 - 2.5 * SIN(SINE / 12)), RAD(0), RAD(0)), 1 / Animation_Speed) | |
6351 | elseif TORSOVELOCITY < 1 and MODE == "Praefectus" then | |
6352 | RootJoint.C0 = Clerp(RootJoint.C0,ROOTC0 * CF(0, 0, 0 + 0.25 * COS(SINE / 12)) * ANGLES(RAD(4 + 2.5 * SIN(SINE / 12)), RAD(0), RAD(5 + 2.5 * SIN(SINE / 12))), 1 / Animation_Speed) | |
6353 | Neck.C0 = Clerp(Neck.C0, NECKC0 * CF(0, 0, 0 + ((1) - 1)) * ANGLES(RAD(0 + 4.5 * SIN(SINE / 12)), RAD(0), RAD(-5 - 2.5 * SIN(SINE / 12))), 1 / Animation_Speed) | |
6354 | if MRANDOM(1,7) == 1 then | |
6355 | Neck.C0 = Clerp(Neck.C0, NECKC0 * CF(0, 0, 0 + ((1) - 1)) * ANGLES(RAD(0 + MRANDOM(-25,25) - 4 * COS(SINE / 12)), RAD(MRANDOM(-25,25)), RAD(0)), 1.5 / Animation_Speed) | |
6356 | end | |
6357 | RightShoulder.C0 = Clerp(RightShoulder.C0, CF(1.5, 0.5 + 0.25 * COS(SINE / 12), 0) * ANGLES(RAD(140), RAD(0 - 2.5 * SIN(SINE / 12)), RAD(25 + 7.5 * SIN(SINE / 12))) * RIGHTSHOULDERC0, 1 / Animation_Speed) | |
6358 | LeftShoulder.C0 = Clerp(LeftShoulder.C0, CF(-1.5, 0.5 + 0.25 * COS(SINE / 12), 0) * ANGLES(RAD(0), RAD(0 + 2.5 * SIN(SINE / 12)), RAD(-5 - 7.5 * SIN(SINE / 12))) * LEFTSHOULDERC0, 1 / Animation_Speed) | |
6359 | RightHip.C0 = Clerp(RightHip.C0, CF(1, -1, -0.01) * ANGLES(RAD(-2.5 * SIN(SINE / 12)), RAD(75), RAD(0)) * ANGLES(RAD(-8 - 2.5 * SIN(SINE / 12)), RAD(0), RAD(0)), 1 / Animation_Speed) | |
6360 | LeftHip.C0 = Clerp(LeftHip.C0, CF(-1, -0.5, -0.5) * ANGLES(RAD(-2.5 * SIN(SINE / 12)), RAD(-90), RAD(0)) * ANGLES(RAD(-8 - 2.5 * SIN(SINE / 12)), RAD(0), RAD(0)), 1 / Animation_Speed) | |
6361 | elseif TORSOVELOCITY > 1 and MODE == "Praefectus" then | |
6362 | RootJoint.C0 = Clerp(RootJoint.C0,ROOTC0 * CF(0, 0, 0 + 0.25 * COS(SINE / 12)) * ANGLES(RAD(25 + 2.5 * SIN(SINE / 12)), RAD(0), RAD(5 + 2.5 * SIN(SINE / 12))), 1 / Animation_Speed) | |
6363 | Neck.C0 = Clerp(Neck.C0, NECKC0 * CF(0, 0, 0 + ((1) - 1)) * ANGLES(RAD(-25 + 4.5 * SIN(SINE / 12)), RAD(0), RAD(-5 - 2.5 * SIN(SINE / 12))), 1 / Animation_Speed) | |
6364 | if MRANDOM(1,7) == 1 then | |
6365 | Neck.C0 = Clerp(Neck.C0, NECKC0 * CF(0, 0, 0 + ((1) - 1)) * ANGLES(RAD(0 + MRANDOM(-25,25) - 4 * COS(SINE / 12)), RAD(MRANDOM(-25,25)), RAD(0)), 1.5 / Animation_Speed) | |
6366 | end | |
6367 | RightShoulder.C0 = Clerp(RightShoulder.C0, CF(1.5, 0.5 + 0.25 * COS(SINE / 12), 0) * ANGLES(RAD(-25), RAD(0 - 2.5 * SIN(SINE / 12)), RAD(15 + 7.5 * SIN(SINE / 12))) * RIGHTSHOULDERC0, 1 / Animation_Speed) | |
6368 | LeftShoulder.C0 = Clerp(LeftShoulder.C0, CF(-1.5, 0.5 + 0.25 * COS(SINE / 12), 0) * ANGLES(RAD(-25), RAD(0 + 2.5 * SIN(SINE / 12)), RAD(-15 - 7.5 * SIN(SINE / 12))) * LEFTSHOULDERC0, 1 / Animation_Speed) | |
6369 | RightHip.C0 = Clerp(RightHip.C0, CF(1, -1, -0.01) * ANGLES(RAD(-25-2.5 * SIN(SINE / 12)), RAD(75), RAD(0)) * ANGLES(RAD(-8 - 5.5 * SIN(SINE / 12)), RAD(0), RAD(0)), 1 / Animation_Speed) | |
6370 | LeftHip.C0 = Clerp(LeftHip.C0, CF(-1, -0.5, -0.5) * ANGLES(RAD(-2.5 * SIN(SINE / 12)), RAD(-90), RAD(0)) * ANGLES(RAD(-8 - 2.5 * SIN(SINE / 12)), RAD(0), RAD(0)), 1 / Animation_Speed) | |
6371 | elseif TORSOVELOCITY < 1 and MODE == "Venari" then | |
6372 | RootJoint.C0 = Clerp(RootJoint.C0,ROOTC0 * CF(0 - 1 * SIN(SINE / 22), 0, 1 + 0.25 * COS(SINE / 12)) * ANGLES(RAD(4 + 2.5 * SIN(SINE / 12)), RAD(0), RAD(5 + 2.5 * SIN(SINE / 12))), 1 / Animation_Speed) | |
6373 | Neck.C0 = Clerp(Neck.C0, NECKC0 * CF(0, 0, 0 + ((1) - 1)) * ANGLES(RAD(0 + 4.5 * SIN(SINE / 12)), RAD(0), RAD(-5 - 2.5 * SIN(SINE / 12))), 1 / Animation_Speed) | |
6374 | RightShoulder.C0 = Clerp(RightShoulder.C0, CF(1.15, 0.15 + 0.05 * COS(SINE / 12), 0.5) * ANGLES(RAD(-45), RAD(0 - 2.5 * SIN(SINE / 12)), RAD(-45 + 7.5 * SIN(SINE / 12))) * RIGHTSHOULDERC0, 1 / Animation_Speed) | |
6375 | LeftShoulder.C0 = Clerp(LeftShoulder.C0, CF(-1.5, 0.5 + 0.25 * COS(SINE / 12), 0) * ANGLES(RAD(0), RAD(0 + 2.5 * SIN(SINE / 12)), RAD(-5 - 7.5 * SIN(SINE / 12))) * LEFTSHOULDERC0, 1 / Animation_Speed) | |
6376 | RightHip.C0 = Clerp(RightHip.C0, CF(1, -1, -0.01) * ANGLES(RAD(-2.5 * SIN(SINE / 12)), RAD(75), RAD(0)) * ANGLES(RAD(-8 - 2.5 * SIN(SINE / 12)), RAD(0), RAD(0)), 1 / Animation_Speed) | |
6377 | LeftHip.C0 = Clerp(LeftHip.C0, CF(-1, -0.5, -0.5) * ANGLES(RAD(-2.5 * SIN(SINE / 12)), RAD(-90), RAD(0)) * ANGLES(RAD(-8 - 2.5 * SIN(SINE / 12)), RAD(0), RAD(0)), 1 / Animation_Speed) | |
6378 | elseif TORSOVELOCITY > 1 and MODE == "Venari" then | |
6379 | RootJoint.C0 = Clerp(RootJoint.C0,ROOTC0 * CF(0 - 1 * SIN(SINE / 22), 0, 1 + 0.25 * COS(SINE / 12)) * ANGLES(RAD(25 + 2.5 * SIN(SINE / 12)), RAD(0), RAD(5 + 2.5 * SIN(SINE / 12))), 1 / Animation_Speed) | |
6380 | Neck.C0 = Clerp(Neck.C0, NECKC0 * CF(0, 0, 0 + ((1) - 1)) * ANGLES(RAD(-25 + 4.5 * SIN(SINE / 12)), RAD(0), RAD(-5 - 2.5 * SIN(SINE / 12))), 1 / Animation_Speed) | |
6381 | RightShoulder.C0 = Clerp(RightShoulder.C0, CF(1.15, 0.15 + 0.05 * COS(SINE / 12), 0.5) * ANGLES(RAD(-45), RAD(0 - 2.5 * SIN(SINE / 12)), RAD(-45 + 7.5 * SIN(SINE / 12))) * RIGHTSHOULDERC0, 1 / Animation_Speed) | |
6382 | LeftShoulder.C0 = Clerp(LeftShoulder.C0, CF(-1.5, 0.5 + 0.25 * COS(SINE / 12), 0) * ANGLES(RAD(-25), RAD(0 + 2.5 * SIN(SINE / 12)), RAD(-15 - 7.5 * SIN(SINE / 12))) * LEFTSHOULDERC0, 1 / Animation_Speed) | |
6383 | RightHip.C0 = Clerp(RightHip.C0, CF(1, -1, -0.01) * ANGLES(RAD(-25-2.5 * SIN(SINE / 12)), RAD(75), RAD(0)) * ANGLES(RAD(-8 - 5.5 * SIN(SINE / 12)), RAD(0), RAD(0)), 1 / Animation_Speed) | |
6384 | LeftHip.C0 = Clerp(LeftHip.C0, CF(-1, -0.5, -0.5) * ANGLES(RAD(-2.5 * SIN(SINE / 12)), RAD(-90), RAD(0)) * ANGLES(RAD(-8 - 2.5 * SIN(SINE / 12)), RAD(0), RAD(0)), 1 / Animation_Speed) | |
6385 | elseif TORSOVELOCITY < 1 and MODE == "Ultra Phaedra" then | |
6386 | RootJoint.C0 = Clerp(RootJoint.C0, ROOTC0 * CF(0 - 1 * SIN(SINE / 22), 0, 2 + 1.5 * COS(SINE / 22)) * ANGLES(RAD(4 + 2.5 * SIN(SINE / 12)), RAD(0), RAD(0)), 1 / Animation_Speed) | |
6387 | Neck.C0 = Clerp(Neck.C0, NECKC0 * CF(0, 0, 0) * ANGLES(RAD(5 + 6.5 * SIN(SINE / 24)), RAD(9*SIN(SINE/24)), RAD(6*SIN(SINE/24))), 1 / Animation_Speed) | |
6388 | RightShoulder.C0 = Clerp(RightShoulder.C0, CF(1.15, 0.15 + 0.1 * COS(SINE / 12), 0.5) * ANGLES(RAD(-45), RAD(0 - 2.5 * SIN(SINE / 12)), RAD(-45 + 7.5 * SIN(SINE / 12))) * RIGHTSHOULDERC0, 1 / Animation_Speed) | |
6389 | LeftShoulder.C0 = Clerp(LeftShoulder.C0, CF(-1.15, 0.15 + 0.1 * COS(SINE / 12), 0.5) * ANGLES(RAD(-45), RAD(0 + 2.5 * SIN(SINE / 12)), RAD(45 - 7.5 * SIN(SINE / 12))) * LEFTSHOULDERC0, 1 / Animation_Speed) | |
6390 | RightHip.C0 = Clerp(RightHip.C0, CF(1, -1, -0.01) * ANGLES(RAD(-4.5 * SIN(SINE / 12)), RAD(75), RAD(0)) * ANGLES(RAD(-8 - 5.5 * SIN(SINE / 12)), RAD(0), RAD(0)), 1 / Animation_Speed) | |
6391 | LeftHip.C0 = Clerp(LeftHip.C0, CF(-1, -0.5, -0.5) * ANGLES(RAD(-4.5 * SIN(SINE / 12)), RAD(-90), RAD(0)) * ANGLES(RAD(-8 - 5.5 * SIN(SINE / 12)), RAD(0), RAD(0)), 1 / Animation_Speed) | |
6392 | elseif TORSOVELOCITY > 1 and MODE == "Ultra Phaedra" then | |
6393 | RootJoint.C0 = Clerp(RootJoint.C0, ROOTC0 * CF(0 - 1 * SIN(SINE / 22), 0, 2 + 1.5 * COS(SINE / 22)) * ANGLES(RAD(25 + 2.5 * SIN(SINE / 12)), RAD(0), RAD(5 + 2.5 * SIN(SINE / 12))), 1 / Animation_Speed) | |
6394 | Neck.C0 = Clerp(Neck.C0, NECKC0 * CF(0, 0, 0) * ANGLES(RAD(-25 + 4.5 * SIN(SINE / 12)), RAD(15 * SIN(SINE / 28)), RAD(5 * SIN(SINE / 12))), 1 / Animation_Speed) | |
6395 | RightShoulder.C0 = Clerp(RightShoulder.C0, CF(1.15, 0.15 + 0.05 * COS(SINE / 12), 0.5) * ANGLES(RAD(-45), RAD(0 - 2.5 * SIN(SINE / 12)), RAD(-45 + 7.5 * SIN(SINE / 12))) * RIGHTSHOULDERC0, 1 / Animation_Speed) | |
6396 | LeftShoulder.C0 = Clerp(LeftShoulder.C0, CF(-1.15, 0.15 + 0.05 * COS(SINE / 12), 0.5) * ANGLES(RAD(-45), RAD(0 + 2.5 * SIN(SINE / 12)), RAD(45 - 7.5 * SIN(SINE / 12))) * LEFTSHOULDERC0, 1 / Animation_Speed) | |
6397 | RightHip.C0 = Clerp(RightHip.C0, CF(1, -1, -0.01) * ANGLES(RAD(-25 - 2.5 * SIN(SINE / 12)), RAD(75), RAD(0)) * ANGLES(RAD(-8 - 5.5 * SIN(SINE / 12)), RAD(0), RAD(0)), 1 / Animation_Speed) | |
6398 | LeftHip.C0 = Clerp(LeftHip.C0, CF(-1, -0.5, -0.5) * ANGLES(RAD(-2.5 * SIN(SINE / 12)), RAD(-90), RAD(0)) * ANGLES(RAD(-8 - 2.5 * SIN(SINE / 12)), RAD(0), RAD(0)), 1 / Animation_Speed) | |
6399 | elseif TORSOVELOCITY < 1 and MODE == "Mortem" then | |
6400 | RootJoint.C0 = Clerp(RootJoint.C0,ROOTC0 * CF(0, 0, 0 + 0.25 * COS(SINE / 12)) * ANGLES(RAD(4 + 2.5 * SIN(SINE / 12)), RAD(0), RAD(25 + 2.5 * SIN(SINE / 12))), 1 / Animation_Speed) | |
6401 | Neck.C0 = Clerp(Neck.C0, NECKC0 * CF(0, 0, 0 + ((1) - 1)) * ANGLES(RAD(0 + 4.5 * SIN(SINE / 12)), RAD(0), RAD(-25 - 2.5 * SIN(SINE / 12))), 1 / Animation_Speed) | |
6402 | RightShoulder.C0 = Clerp(RightShoulder.C0, CF(1.35, 0.15 + 0.25 * COS(SINE / 12), -0.3) * ANGLES(RAD(140), RAD(0 - 2.5 * SIN(SINE / 12)), RAD(5 + 7.5 * SIN(SINE / 12))) * RIGHTSHOULDERC0, 1 / Animation_Speed) | |
6403 | LeftShoulder.C0 = Clerp(LeftShoulder.C0, CF(-1.5, 0.5 + 0.25 * COS(SINE / 12), 0.4) * ANGLES(RAD(-5), RAD(0 + 2.5 * SIN(SINE / 12)), RAD(-15 - 7.5 * SIN(SINE / 12))) * LEFTSHOULDERC0, 1 / Animation_Speed) | |
6404 | RightHip.C0 = Clerp(RightHip.C0, CF(1, -1, -0.01) * ANGLES(RAD(-25 - 2.5 * SIN(SINE / 12)), RAD(75), RAD(0)) * ANGLES(RAD(-8 - 5.5 * SIN(SINE / 12)), RAD(0), RAD(0)), 1 / Animation_Speed) | |
6405 | LeftHip.C0 = Clerp(LeftHip.C0, CF(-1, -0.5, -0.5) * ANGLES(RAD(-2.5 * SIN(SINE / 12)), RAD(-90), RAD(0)) * ANGLES(RAD(-8 - 2.5 * SIN(SINE / 12)), RAD(0), RAD(0)), 1 / Animation_Speed) | |
6406 | elseif TORSOVELOCITY > 1 and MODE == "Mortem" then | |
6407 | RootJoint.C0 = Clerp(RootJoint.C0,ROOTC0 * CF(0, 0, 0 + 0.25 * COS(SINE / 12)) * ANGLES(RAD(25 + 2.5 * SIN(SINE / 12)), RAD(0), RAD(15 + 2.5 * SIN(SINE / 12))), 1 / Animation_Speed) | |
6408 | Neck.C0 = Clerp(Neck.C0, NECKC0 * CF(0, 0, 0 + ((1) - 1)) * ANGLES(RAD(-25 + 4.5 * SIN(SINE / 12)), RAD(0), RAD(-15 - 2.5 * SIN(SINE / 12))), 1 / Animation_Speed) | |
6409 | RightShoulder.C0 = Clerp(RightShoulder.C0, CF(1.35, 0.15 + 0.25 * COS(SINE / 12), -0.6) * ANGLES(RAD(165), RAD(0 - 2.5 * SIN(SINE / 12)), RAD(5 + 7.5 * SIN(SINE / 12))) * RIGHTSHOULDERC0, 1 / Animation_Speed) | |
6410 | LeftShoulder.C0 = Clerp(LeftShoulder.C0, CF(-1.5, 0.5 + 0.25 * COS(SINE / 12), 0) * ANGLES(RAD(-25), RAD(0 + 2.5 * SIN(SINE / 12)), RAD(-15 - 7.5 * SIN(SINE / 12))) * LEFTSHOULDERC0, 1 / Animation_Speed) | |
6411 | RightHip.C0 = Clerp(RightHip.C0, CF(1, -1, -0.01) * ANGLES(RAD(-25 - 2.5 * SIN(SINE / 12)), RAD(75), RAD(0)) * ANGLES(RAD(-8 - 5.5 * SIN(SINE / 12)), RAD(0), RAD(0)), 1 / Animation_Speed) | |
6412 | LeftHip.C0 = Clerp(LeftHip.C0, CF(-1, -0.5, -0.5) * ANGLES(RAD(-2.5 * SIN(SINE / 12)), RAD(-90), RAD(0)) * ANGLES(RAD(-8 - 2.5 * SIN(SINE / 12)), RAD(0), RAD(0)), 1 / Animation_Speed) | |
6413 | elseif TORSOVELOCITY < 1 and MODE == "Maris" then | |
6414 | RootJoint.C0 = Clerp(RootJoint.C0,ROOTC0 * CF(2 + math.cos(SINE / 70) * math.cos(SINE / 20) - 2, 0 , 5 + 1.5* Player_Size * math.cos(SINE / 20)) * ANGLES(RAD(4 + 2.5 * SIN(SINE / 12)), RAD(0), RAD(25 + 2.5 * SIN(SINE / 12))), 1 / Animation_Speed) | |
6415 | Neck.C0 = Clerp(Neck.C0, NECKC0 * CF(0, 0, 0 + ((1) - 1)) * ANGLES(RAD(0 + 4.5 * SIN(SINE / 12)), RAD(0), RAD(-25 - 2.5 * SIN(SINE / 12))), 1 / Animation_Speed) | |
6416 | RightShoulder.C0 = Clerp(RightShoulder.C0, CF(1.15, 0.15 + 0.05 * COS(SINE / 12), 0.5) * ANGLES(RAD(-45), RAD(0 - 2.5 * SIN(SINE / 12)), RAD(-45 + 7.5 * SIN(SINE / 12))) * RIGHTSHOULDERC0, 1 / Animation_Speed) | |
6417 | LeftShoulder.C0 = Clerp(LeftShoulder.C0, CF(-1.15, 0.15 + 0.05 * COS(SINE / 12), 0.5) * ANGLES(RAD(-45), RAD(0 + 2.5 * SIN(SINE / 12)), RAD(45 - 7.5 * SIN(SINE / 12))) * LEFTSHOULDERC0, 1 / Animation_Speed) | |
6418 | RightHip.C0 = Clerp(RightHip.C0, CF(1, -1, -0.01) * ANGLES(RAD(-25 - 2.5 * SIN(SINE / 12)), RAD(75), RAD(0)) * ANGLES(RAD(-8 - 5.5 * SIN(SINE / 12)), RAD(0), RAD(0)), 1 / Animation_Speed) | |
6419 | LeftHip.C0 = Clerp(LeftHip.C0, CF(-1, -0.5, -0.5) * ANGLES(RAD(-2.5 * SIN(SINE / 12)), RAD(-90), RAD(0)) * ANGLES(RAD(-8 - 2.5 * SIN(SINE / 12)), RAD(0), RAD(0)), 1 / Animation_Speed) | |
6420 | elseif TORSOVELOCITY > 1 and MODE == "Maris" then | |
6421 | RootJoint.C0 = Clerp(RootJoint.C0,ROOTC0 * CF(2 + math.cos(SINE / 70) * math.cos(SINE / 20) - 2, 0 , 5 + 1.5* Player_Size * math.cos(SINE / 20)) * ANGLES(RAD(25 + 2.5 * SIN(SINE / 12)), RAD(0), RAD(15 + 2.5 * SIN(SINE / 12))), 1 / Animation_Speed) | |
6422 | Neck.C0 = Clerp(Neck.C0, NECKC0 * CF(0, 0, 0 + ((1) - 1)) * ANGLES(RAD(-25 + 4.5 * SIN(SINE / 12)), RAD(0), RAD(-15 - 2.5 * SIN(SINE / 12))), 1 / Animation_Speed) | |
6423 | RightShoulder.C0 = Clerp(RightShoulder.C0, CF(1.15, 0.15 + 0.05 * COS(SINE / 12), 0.5) * ANGLES(RAD(-45), RAD(0 - 2.5 * SIN(SINE / 12)), RAD(-45 + 7.5 * SIN(SINE / 12))) * RIGHTSHOULDERC0, 1 / Animation_Speed) | |
6424 | LeftShoulder.C0 = Clerp(LeftShoulder.C0, CF(-1.15, 0.15 + 0.05 * COS(SINE / 12), 0.5) * ANGLES(RAD(-45), RAD(0 + 2.5 * SIN(SINE / 12)), RAD(45 - 7.5 * SIN(SINE / 12))) * LEFTSHOULDERC0, 1 / Animation_Speed) | |
6425 | RightHip.C0 = Clerp(RightHip.C0, CF(1, -1, -0.01) * ANGLES(RAD(-25 - 2.5 * SIN(SINE / 12)), RAD(75), RAD(0)) * ANGLES(RAD(-8 - 5.5 * SIN(SINE / 12)), RAD(0), RAD(0)), 1 / Animation_Speed) | |
6426 | LeftHip.C0 = Clerp(LeftHip.C0, CF(-1, -0.5, -0.5) * ANGLES(RAD(-2.5 * SIN(SINE / 12)), RAD(-90), RAD(0)) * ANGLES(RAD(-8 - 2.5 * SIN(SINE / 12)), RAD(0), RAD(0)), 1 / Animation_Speed) | |
6427 | elseif TORSOVELOCITY < 1 and MODE == "Insaniam" then | |
6428 | RootJoint.C0 = Clerp(RootJoint.C0,ROOTC0 * CF(0, 0, 0 + 0.25 * COS(SINE / 12)) * ANGLES(RAD(25), RAD(0), RAD(0)), 0.15 / Animation_Speed) | |
6429 | Neck.C0 = Clerp(Neck.C0, NECKC0 * CF(0, 0, 0 + ((1) - 1)) * ANGLES(RAD(0 + 4.5 * SIN(SINE / 12)), RAD(0), RAD(-5 - 2.5 * SIN(SINE / 12))), 1 / Animation_Speed) | |
6430 | if MRANDOM(1,2) == 1 then | |
6431 | Neck.C0 = Clerp(Neck.C0, NECKC0 * CF(0, 0, 0 + ((1) - 1)) * ANGLES(RAD(0 + MRANDOM(-25,25) - 4 * COS(SINE / 12)), RAD(MRANDOM(-25,25)), RAD(0)), 1.5 / Animation_Speed) | |
6432 | end | |
6433 | RightShoulder.C0 = Clerp(RightShoulder.C0, CF(1.5, 0.5, 0) * ANGLES(RAD(25), RAD(0), RAD(12)) * RIGHTSHOULDERC0, 0.15 / Animation_Speed) | |
6434 | LeftShoulder.C0 = Clerp(LeftShoulder.C0, CF(-1.5, 0.5, 0) * ANGLES(RAD(25), RAD(0), RAD(-12)) * LEFTSHOULDERC0, 0.15 / Animation_Speed) | |
6435 | RightHip.C0 = Clerp(RightHip.C0, CF(1, -1, -0.01) * ANGLES(RAD(-2.5 * SIN(SINE / 12)), RAD(75), RAD(0)) * ANGLES(RAD(-8 - 2.5 * SIN(SINE / 12)), RAD(0), RAD(0)), 1 / Animation_Speed) | |
6436 | LeftHip.C0 = Clerp(LeftHip.C0, CF(-1, -0.5, -0.5) * ANGLES(RAD(-2.5 * SIN(SINE / 12)), RAD(-90), RAD(0)) * ANGLES(RAD(-8 - 2.5 * SIN(SINE / 12)), RAD(0), RAD(0)), 1 / Animation_Speed) | |
6437 | elseif TORSOVELOCITY > 1 and MODE == "Insaniam" then | |
6438 | RootJoint.C0 = Clerp(RootJoint.C0,ROOTC0 * CF(0, 0, 0 + 0.25 * COS(SINE / 12)) * ANGLES(RAD(25 + 2.5 * SIN(SINE / 12)), RAD(0), RAD(5 + 2.5 * SIN(SINE / 12))), 1 / Animation_Speed) | |
6439 | Neck.C0 = Clerp(Neck.C0, NECKC0 * CF(0, 0, 0 + ((1) - 1)) * ANGLES(RAD(0 + 4.5 * SIN(SINE / 12)), RAD(0), RAD(-5 - 2.5 * SIN(SINE / 12))), 1 / Animation_Speed) | |
6440 | if MRANDOM(1,2) == 1 then | |
6441 | Neck.C0 = Clerp(Neck.C0, NECKC0 * CF(0, 0, 0 + ((1) - 1)) * ANGLES(RAD(0 + MRANDOM(-25,25) - 4 * COS(SINE / 12)), RAD(MRANDOM(-25,25)), RAD(0)), 1.5 / Animation_Speed) | |
6442 | end | |
6443 | RightShoulder.C0 = Clerp(RightShoulder.C0, CF(1.5, 0.5 + 0.25 * COS(SINE / 12), 0) * ANGLES(RAD(-25), RAD(0 - 2.5 * SIN(SINE / 12)), RAD(15 + 7.5 * SIN(SINE / 12))) * RIGHTSHOULDERC0, 1 / Animation_Speed) | |
6444 | LeftShoulder.C0 = Clerp(LeftShoulder.C0, CF(-1.5, 0.5 + 0.25 * COS(SINE / 12), 0) * ANGLES(RAD(-25), RAD(0 + 2.5 * SIN(SINE / 12)), RAD(-15 - 7.5 * SIN(SINE / 12))) * LEFTSHOULDERC0, 1 / Animation_Speed) | |
6445 | RightHip.C0 = Clerp(RightHip.C0, CF(1, -1, -0.01) * ANGLES(RAD(-2.5 * SIN(SINE / 12)), RAD(75), RAD(0)) * ANGLES(RAD(-8 - 2.5 * SIN(SINE / 12)), RAD(0), RAD(0)), 1 / Animation_Speed) | |
6446 | LeftHip.C0 = Clerp(LeftHip.C0, CF(-1, -0.5, -0.5) * ANGLES(RAD(-2.5 * SIN(SINE / 12)), RAD(-90), RAD(0)) * ANGLES(RAD(-8 - 2.5 * SIN(SINE / 12)), RAD(0), RAD(0)), 1 / Animation_Speed) | |
6447 | end | |
6448 | end | |
6449 | ||
6450 | function sphereMK(bonuspeed,FastSpeed,type,pos,x1,y1,z1,value,color,outerpos) | |
6451 | local type = type | |
6452 | local rng = Instance.new("Part", Character) | |
6453 | rng.Anchored = true | |
6454 | if ModeOfGlitch ~= 9 then | |
6455 | rng.BrickColor = color | |
6456 | elseif ModeOfGlitch == 9 then | |
6457 | rng.Color = Color3.new(kan.PlaybackLoudness/1000,kan.PlaybackLoudness/1000,kan.PlaybackLoudness/1000) | |
6458 | end | |
6459 | rng.CanCollide = false | |
6460 | rng.FormFactor = 3 | |
6461 | rng.Name = "Ring" | |
6462 | rng.Material = "Neon" | |
6463 | rng.Size = Vector3.new(1, 1, 1) | |
6464 | rng.Transparency = 0 | |
6465 | rng.TopSurface = 0 | |
6466 | rng.BottomSurface = 0 | |
6467 | rng.CFrame = pos | |
6468 | rng.CFrame = rng.CFrame + rng.CFrame.lookVector*outerpos | |
6469 | local rngm = Instance.new("SpecialMesh", rng) | |
6470 | rngm.MeshType = "Sphere" | |
6471 | rngm.Scale = VT(x1,y1,z1) | |
6472 | if rainbowmode == true then | |
6473 | rng.Color = Color3.new(r/255,g/255,b/255) | |
6474 | end | |
6475 | if ModeOfGlitch == 9 then | |
6476 | coroutine.resume(coroutine.create(function() | |
6477 | while true do | |
6478 | Swait() | |
6479 | if rng.Parent ~= nil then | |
6480 | rng.Color = Color3.new(kan.PlaybackLoudness/1000,kan.PlaybackLoudness/1000,kan.PlaybackLoudness/1000) | |
6481 | else | |
6482 | break | |
6483 | end | |
6484 | end | |
6485 | end)) | |
6486 | end | |
6487 | local scaler2 = 1 | |
6488 | local speeder = FastSpeed | |
6489 | if type == "Add" then | |
6490 | scaler2 = 1*value | |
6491 | elseif type == "Divide" then | |
6492 | scaler2 = 1/value | |
6493 | end | |
6494 | coroutine.resume(coroutine.create(function() | |
6495 | for i = 0,10/bonuspeed,0.1 do | |
6496 | Swait() | |
6497 | if rainbowmode == true then | |
6498 | rng.Color = Color3.new(r/255,g/255,b/255) | |
6499 | end | |
6500 | if type == "Add" then | |
6501 | scaler2 = scaler2 - 0.01*value/bonuspeed | |
6502 | elseif type == "Divide" then | |
6503 | scaler2 = scaler2 - 0.01/value*bonuspeed | |
6504 | end | |
6505 | if chaosmode == true then | |
6506 | rng.BrickColor = BrickColor.random() | |
6507 | end | |
6508 | speeder = speeder - 0.01*FastSpeed*bonuspeed | |
6509 | rng.CFrame = rng.CFrame + rng.CFrame.lookVector*speeder*bonuspeed | |
6510 | rng.Transparency = rng.Transparency + 0.01*bonuspeed | |
6511 | rngm.Scale = rngm.Scale + Vector3.new(scaler2*bonuspeed, scaler2*bonuspeed, 0) | |
6512 | end | |
6513 | rng:Destroy() | |
6514 | end)) | |
6515 | end | |
6516 | ||
6517 | if MODE == "Maris" then | |
6518 | if HITFLOOR ~= nil then | |
6519 | sphereMK(2,-0.5,"Add",RootPart.CFrame*CFrame.new(math.random(-25,25),math.random(10,15),math.random(-25,25))*CFrame.Angles(math.rad(-90),math.rad(0),math.rad(0)),0.25,0.25,5,0.0075,BrickColor.new("Storm blue"),0) | |
6520 | WACKYEFFECT({EffectType = "Round Slash", Size = VT(0,0.05,0), Size2 = VT(0.25,0.08,0.25), Transparency = 0.2, Transparency2 = 1, CFrame = RootPart.CFrame*CF(0,-2.85,0) * ANGLES(RAD(0), RAD(MRANDOM(-180,180)), RAD(0)), MoveToPos = nil, RotationX = 0, RotationY = 0, RotationZ = MRANDOM(0,0.5), Material = "Neon", Color = C3(255/255,255/255,255/255), SoundID = nil, SoundPitch = nil, SoundVolume = nil}) | |
6521 | end | |
6522 | end | |
6523 | if MODE == "Ultra Phaedra" then | |
6524 | if HITFLOOR ~= nil then | |
6525 | Slice("Round", 0.75, 35, CF(HITPOS + VT(0, 0.1, 0), HITPOS + VT(0, 0.1, 0) + NORMAL) * ANGLES(RAD(90), RAD(0), RAD(0)) * ANGLES(RAD(MRANDOM(-18, 18)), RAD(MRANDOM(-180, 180)), RAD(MRANDOM(-18, 18))), "White", VT(0.001, 0, 0.001)) | |
6526 | Slice("Round", 0.75, 45, CF(HITPOS + VT(0, 0.1, 0), HITPOS + VT(0, 0.1, 0) + NORMAL) * ANGLES(RAD(90), RAD(MRANDOM(-180, 180)), RAD(0)), "Light yellow", VT(0, 0, 0)) | |
6527 | ApplyAoE(RootPart.Position, 10, 2, 5, 0, true) | |
6528 | end | |
6529 | MagicSphere(VT(1,1,1)/5,35,CF(RootPart.Position)*ANGLES(RAD(MRANDOM(-180,180)),RAD(MRANDOM(-180,180)),RAD(MRANDOM(-180,180)))*CF(0,MRANDOM(3,6),0),C3(0.7372549019607844, 0.6078431372549019, 0.36470588235294116),VT(0,0,0)) | |
6530 | Slice("Round", 0.25, 5, CF(RootPart.Position)*ANGLES(RAD(MRANDOM(-180,180)),RAD(MRANDOM(-180,180)),RAD(MRANDOM(-180,180)))*CF(0,MRANDOM(3,6),0), C3(0.7372549019607844, 0.6078431372549019, 0.36470588235294116), VT(-0.01, 0, -0.01)) | |
6531 | end | |
6532 | unanchor() | |
6533 | Humanoid.MaxHealth = "inf" | |
6534 | Humanoid.Health = "inf" | |
6535 | if Rooted == false then | |
6536 | Disable_Jump = false | |
6537 | Humanoid.WalkSpeed = Speed | |
6538 | elseif Rooted == true then | |
6539 | Disable_Jump = true | |
6540 | Humanoid.WalkSpeed = 0 | |
6541 | end | |
6542 | if MODE == "Main" then | |
6543 | tecks2.Text = "Dominus Astra" | |
6544 | SKILLTEXTCOLOR = C3(0.05,0.05,0.15) | |
6545 | SKILLTEXTCOLOR2 = C3(0,0,0) | |
6546 | local BodyColor = C3(0,0,0) | |
6547 | local LegColor = C3(0,0,0.05) | |
6548 | local ArmColor = C3(0.05,0.05,0.15) | |
6549 | end | |
6550 | for _, c in pairs(Character:GetChildren()) do | |
6551 | if c.ClassName == "Part" then | |
6552 | c.Material = "Neon" | |
6553 | for _, q in pairs(c:GetChildren()) do | |
6554 | if q.ClassName == "ParticleEmitter" and MODE ~= "Phaedra" and MODE ~= "Ultra Phaedra" and MODE ~= "Maris" then | |
6555 | q:remove() | |
6556 | elseif q.ClassName == "Fire" then | |
6557 | q:remove() | |
6558 | end | |
6559 | end | |
6560 | if c.Transparency == 0 and c:FindFirstChild("OVERLORDAURA") == nil and MODE == "Phaedra" then | |
6561 | particles(c) | |
6562 | end | |
6563 | if c.Transparency == 0 and c:FindFirstChild("OVERLORDAURA") == nil and MODE == "Ultra Phaedra" then | |
6564 | particles(c) | |
6565 | end | |
6566 | if c == Torso then | |
6567 | c.Color = BodyColor | |
6568 | elseif c == RightArm then | |
6569 | c.Color = ArmColor | |
6570 | elseif c == LeftArm then | |
6571 | c.Color = ArmColor | |
6572 | elseif c == RightLeg then | |
6573 | c.Color = LegColor | |
6574 | elseif c == LeftLeg then | |
6575 | c.Color = LegColor | |
6576 | elseif c == Head then | |
6577 | if c:FindFirstChild("face") then | |
6578 | c.face:remove() | |
6579 | end | |
6580 | end | |
6581 | elseif c.ClassName == "Shirt" or c.ClassName == "Pants" or c.ClassName == "CharacterMesh" or c.ClassName == "Accessory" then | |
6582 | c:remove() | |
6583 | end | |
6584 | end | |
6585 | if MODE == "Phaedra" or MODE == "Ultra Phaedra" then | |
6586 | weldBetween(EYE, Head) | |
6587 | weldBetween(EYE2, Head) | |
6588 | end | |
6589 | sick.Parent = Character | |
6590 | refit3() | |
6591 | refit2() | |
6592 | tecks2.TextColor3 = SKILLTEXTCOLOR | |
6593 | tecks2.TextStrokeColor3 = SKILLTEXTCOLOR2 | |
6594 | script.Parent = WEAPONGUI | |
6595 | Character.Parent = workspace | |
6596 | Humanoid.PlatformStand = false | |
6597 | Humanoid.Name = "Dominus" | |
6598 | for _, c in pairs(game.Players:GetChildren()) do | |
6599 | if c.Character ~= nil then | |
6600 | if c.Character.Parent ~= workspace and c.Character.Parent ~= nil then | |
6601 | c.Character:BreakJoints() | |
6602 | end | |
6603 | end | |
6604 | end | |
6605 | FOUNDFORGOTTEN = false | |
6606 | Humanoid.DisplayDistanceType = "None" | |
6607 | for _, c in pairs(workspace:GetChildren()) do | |
6608 | if c.ClassName == "Model" then | |
6609 | for _, q in pairs(c:GetChildren()) do | |
6610 | if q.Name == ("Forgotten Dominus") then | |
6611 | FOUNDFORGOTTEN = true | |
6612 | end | |
6613 | end | |
6614 | end | |
6615 | end | |
6616 | if FOUNDFORGOTTEN == true then | |
6617 | sick:Stop() | |
6618 | else | |
6619 | sick.Playing = true | |
6620 | end | |
6621 | if INTRO == false and INSTANT == false then | |
6622 | INTRO = true | |
6623 | coroutine.resume(coroutine.create(function() | |
6624 | sick:Play() | |
6625 | sick:Resume() | |
6626 | Intro() | |
6627 | end)) | |
6628 | end | |
6629 | if INSTANT == true then | |
6630 | if TRANSFORMED == false then | |
6631 | sick.TimePosition = 20.7 | |
6632 | sick:Play() | |
6633 | sick:Resume() | |
6634 | end | |
6635 | TRANSFORMED = true | |
6636 | end | |
6637 | if MODE == "Insaniam" then | |
6638 | for i, v in pairs(Character:GetChildren()) do | |
6639 | if v:IsA("Part") then | |
6640 | v.BrickColor = BrickColor.random() | |
6641 | end | |
6642 | end | |
6643 | BodyColor = BrickColor.random().Color | |
6644 | LegColor = BrickColor.random().Color | |
6645 | ArmColor = BrickColor.random().Color | |
6646 | SKILLTEXTCOLOR = BrickColor.random().Color | |
6647 | SKILLTEXTCOLOR2 = BrickColor.random().Color | |
6648 | end | |
6649 | for _, c in pairs(Character:GetDescendants()) do | |
6650 | if c.ClassName == "Part" and c.Name == "Eye" then | |
6651 | c.Color = C3(1,0,0) | |
6652 | c.Material = "Neon" | |
6653 | end | |
6654 | end | |
6655 | ||
6656 | if VALUE1 == false and MODE == "Main" then | |
6657 | MagicSphere(VT(1,1,1)/5,35,CF(Torso.Position)*ANGLES(RAD(MRANDOM(-180,180)),RAD(MRANDOM(-180,180)),RAD(MRANDOM(-180,180)))*CF(0,MRANDOM(3,6),0),C3(1,1,1),VT(0,0,0)) | |
6658 | end | |
6659 | end | |
6660 | ||
6661 | ||
6662 | --//=================================\\ | |
6663 | --\\=================================// | |
6664 | ||
6665 | ||
6666 | ||
6667 | ||
6668 | ||
6669 | --//====================================================\\-- | |
6670 | --|| END OF SCRIPT | |
6671 | --\\====================================================//-- |