SHOW:
|
|
- or go back to the newest paste.
1 | - | local Player = game:GetService("Players").SincereProdeadZ |
1 | + | local Player = game:GetService("Players").TameDoNotClick |
2 | ||
3 | local Mouse,mouse,UserInputService,ContextActionService | |
4 | do | |
5 | script.Parent = Player.Character | |
6 | local CAS = {Actions={}} | |
7 | local Event = Instance.new("RemoteEvent") | |
8 | Event.Name = "UserInput_Event" | |
9 | Event.Parent = Player.Character | |
10 | local fakeEvent = function() | |
11 | local t = {_fakeEvent=true} | |
12 | t.Connect = function(self,f)self.Function=f end | |
13 | t.connect = t.Connect | |
14 | return t | |
15 | end | |
16 | local m = {Target=nil,Hit=CFrame.new(),KeyUp=fakeEvent(),KeyDown=fakeEvent(),Button1Up=fakeEvent(),Button1Down=fakeEvent()} | |
17 | local UIS = {InputBegan=fakeEvent(),InputEnded=fakeEvent()} | |
18 | function CAS:BindAction(name,fun,touch,...) | |
19 | CAS.Actions[name] = {Name=name,Function=fun,Keys={...}} | |
20 | end | |
21 | function CAS:UnbindAction(name) | |
22 | CAS.Actions[name] = nil | |
23 | end | |
24 | local function te(self,ev,...) | |
25 | local t = m[ev] | |
26 | if t and t._fakeEvent and t.Function then | |
27 | t.Function(...) | |
28 | end | |
29 | end | |
30 | m.TrigEvent = te | |
31 | UIS.TrigEvent = te | |
32 | Event.OnServerEvent:Connect(function(plr,io) | |
33 | if plr~=Player then return end | |
34 | if io.isMouse then | |
35 | m.Target = io.Target | |
36 | m.Hit = io.Hit | |
37 | elseif io.UserInputType == Enum.UserInputType.MouseButton1 then | |
38 | if io.UserInputState == Enum.UserInputState.Begin then | |
39 | m:TrigEvent("Button1Down") | |
40 | else | |
41 | m:TrigEvent("Button1Up") | |
42 | end | |
43 | else | |
44 | for n,t in pairs(CAS.Actions) do | |
45 | for _,k in pairs(t.Keys) do | |
46 | if k==io.KeyCode then | |
47 | t.Function(t.Name,io.UserInputState,io) | |
48 | end | |
49 | end | |
50 | end | |
51 | if io.UserInputState == Enum.UserInputState.Begin then | |
52 | m:TrigEvent("KeyDown",io.KeyCode.Name:lower()) | |
53 | UIS:TrigEvent("InputBegan",io,false) | |
54 | else | |
55 | m:TrigEvent("KeyUp",io.KeyCode.Name:lower()) | |
56 | UIS:TrigEvent("InputEnded",io,false) | |
57 | end | |
58 | end | |
59 | end) | |
60 | Mouse,mouse,UserInputService,ContextActionService = m,m,UIS,CAS | |
61 | end | |
62 | ||
63 | --//====================================================\\-- | |
64 | --|| CREATED BY SHACKLUSTER | |
65 | --\\====================================================//-- | |
66 | ||
67 | ||
68 | ||
69 | wait(0.2) | |
70 | ||
71 | ||
72 | ||
73 | - | Player = game:GetService("Players").SincereProdeadZ |
73 | + | Player = game:GetService("Players").TameDoNotClick |
74 | PlayerGui = Player.PlayerGui | |
75 | Cam = workspace.CurrentCamera | |
76 | Backpack = Player.Backpack | |
77 | Character = Player.Character | |
78 | Humanoid = Character.Humanoid | |
79 | RootPart = Character["HumanoidRootPart"] | |
80 | Torso = Character["Torso"] | |
81 | Head = Character["Head"] | |
82 | RightArm = Character["Right Arm"] | |
83 | LeftArm = Character["Left Arm"] | |
84 | RightLeg = Character["Right Leg"] | |
85 | LeftLeg = Character["Left Leg"] | |
86 | RootJoint = RootPart["RootJoint"] | |
87 | Neck = Torso["Neck"] | |
88 | RightShoulder = Torso["Right Shoulder"] | |
89 | LeftShoulder = Torso["Left Shoulder"] | |
90 | RightHip = Torso["Right Hip"] | |
91 | LeftHip = Torso["Left Hip"] | |
92 | local sick = Instance.new("Sound",Character) | |
93 | sick.SoundId = "rbxassetid://195900687" | |
94 | sick.Looped = true | |
95 | sick.Pitch = 1 | |
96 | sick.Volume = 3 | |
97 | sick:Play() | |
98 | local firesound = Instance.new("Sound",RootPart) | |
99 | firesound.SoundId = "rbxassetid://2256356766" | |
100 | firesound.Looped = true | |
101 | firesound.Pitch = 1 | |
102 | firesound.Volume = 0 | |
103 | firesound:Play() | |
104 | ||
105 | ||
106 | IT = Instance.new | |
107 | CF = CFrame.new | |
108 | VT = Vector3.new | |
109 | RAD = math.rad | |
110 | C3 = Color3.new | |
111 | UD2 = UDim2.new | |
112 | BRICKC = BrickColor.new | |
113 | ANGLES = CFrame.Angles | |
114 | EULER = CFrame.fromEulerAnglesXYZ | |
115 | COS = math.cos | |
116 | ACOS = math.acos | |
117 | SIN = math.sin | |
118 | ASIN = math.asin | |
119 | ABS = math.abs | |
120 | MRANDOM = math.random | |
121 | FLOOR = math.floor | |
122 | ||
123 | function CreateMesh(MESH, PARENT, MESHTYPE, MESHID, TEXTUREID, SCALE, OFFSET) | |
124 | local NEWMESH = IT(MESH) | |
125 | if MESH == "SpecialMesh" then | |
126 | NEWMESH.MeshType = MESHTYPE | |
127 | if MESHID ~= "nil" and MESHID ~= "" then | |
128 | NEWMESH.MeshId = "http://www.roblox.com/asset/?id="..MESHID | |
129 | end | |
130 | if TEXTUREID ~= "nil" and TEXTUREID ~= "" then | |
131 | NEWMESH.TextureId = "http://www.roblox.com/asset/?id="..TEXTUREID | |
132 | end | |
133 | end | |
134 | NEWMESH.Offset = OFFSET or VT(0, 0, 0) | |
135 | NEWMESH.Scale = SCALE | |
136 | NEWMESH.Parent = PARENT | |
137 | return NEWMESH | |
138 | end | |
139 | ||
140 | function CreatePart(FORMFACTOR, PARENT, MATERIAL, REFLECTANCE, TRANSPARENCY, BRICKCOLOR, NAME, SIZE, ANCHOR) | |
141 | local NEWPART = IT("Part") | |
142 | NEWPART.formFactor = FORMFACTOR | |
143 | NEWPART.Reflectance = REFLECTANCE | |
144 | NEWPART.Transparency = TRANSPARENCY | |
145 | NEWPART.CanCollide = false | |
146 | NEWPART.Locked = true | |
147 | NEWPART.Anchored = true | |
148 | if ANCHOR == false then | |
149 | NEWPART.Anchored = false | |
150 | end | |
151 | NEWPART.BrickColor = BRICKC(tostring(BRICKCOLOR)) | |
152 | NEWPART.Name = NAME | |
153 | NEWPART.Size = SIZE | |
154 | NEWPART.Position = Torso.Position | |
155 | NEWPART.Material = MATERIAL | |
156 | NEWPART:BreakJoints() | |
157 | NEWPART.Parent = PARENT | |
158 | return NEWPART | |
159 | end | |
160 | ||
161 | --//=================================\\ | |
162 | --|| CUSTOMIZATION | |
163 | --\\=================================// | |
164 | ||
165 | Player_Size = 1 --Size of the player. | |
166 | Animation_Speed = 3 | |
167 | Frame_Speed = 1 / 60 -- (1 / 30) OR (1 / 60) | |
168 | local MODE = "Main" | |
169 | local SIZE = 1 | |
170 | local LEVEL = 1 | |
171 | ||
172 | ||
173 | local Speed = 16 | |
174 | local Effects2 = {} | |
175 | ||
176 | --//=================================\\ | |
177 | --|| END OF CUSTOMIZATION | |
178 | --\\=================================// | |
179 | ||
180 | local function weldBetween(a, b) | |
181 | local weldd = Instance.new("ManualWeld") | |
182 | weldd.Part0 = a | |
183 | weldd.Part1 = b | |
184 | weldd.C0 = CFrame.new() | |
185 | weldd.C1 = b.CFrame:inverse() * a.CFrame | |
186 | weldd.Parent = a | |
187 | return weldd | |
188 | end | |
189 | ||
190 | --//=================================\\ | |
191 | --|| USEFUL VALUES | |
192 | --\\=================================// | |
193 | ||
194 | local ROOTC0 = CF(0, 0, 0) * ANGLES(RAD(-90), RAD(0), RAD(180)) | |
195 | local NECKC0 = CF(0, 1, 0) * ANGLES(RAD(-90), RAD(0), RAD(180)) | |
196 | local RIGHTSHOULDERC0 = CF(-0.5, 0, 0) * ANGLES(RAD(0), RAD(90), RAD(0)) | |
197 | local LEFTSHOULDERC0 = CF(0.5, 0, 0) * ANGLES(RAD(0), RAD(-90), RAD(0)) | |
198 | local CHANGEDEFENSE = 0 | |
199 | local CHANGEDAMAGE = 0 | |
200 | local CHANGEMOVEMENT = 0 | |
201 | local ANIM = "Idle" | |
202 | local ATTACK = false | |
203 | local EQUIPPED = false | |
204 | local HOLD = false | |
205 | local COMBO = 1 | |
206 | local Rooted = false | |
207 | local SINE = 0 | |
208 | local KEYHOLD = false | |
209 | local CHANGE = 2 / Animation_Speed | |
210 | local VOCALS_ENRAGES = {528589078,528589175,528589274,528589382} | |
211 | local WALKINGANIM = false | |
212 | local WALK = 0 | |
213 | local VALUE1 = false | |
214 | local VALUE2 = false | |
215 | local ROBLOXIDLEANIMATION = IT("Animation") | |
216 | ROBLOXIDLEANIMATION.Name = "Roblox Idle Animation" | |
217 | ROBLOXIDLEANIMATION.AnimationId = "http://www.roblox.com/asset/?id=180435571" | |
218 | --ROBLOXIDLEANIMATION.Parent = Humanoid | |
219 | local WEAPONGUI = IT("ScreenGui", PlayerGui) | |
220 | WEAPONGUI.Name = "Weapon GUI" | |
221 | local Effects = IT("Folder", Character) | |
222 | Effects.Name = "Effects" | |
223 | local ANIMATOR = Humanoid.Animator | |
224 | local ANIMATE = Character.Animate | |
225 | local HITPLAYERSOUNDS = {--[["199149137", "199149186", "199149221", "199149235", "199149269", "199149297"--]]"263032172", "263032182", "263032200", "263032221", "263032252", "263033191"} | |
226 | local HITARMORSOUNDS = {"199149321", "199149338", "199149367", "199149409", "199149452"} | |
227 | local HITWEAPONSOUNDS = {"199148971", "199149025", "199149072", "199149109", "199149119"} | |
228 | local HITBLOCKSOUNDS = {"199148933", "199148947"} | |
229 | local UNANCHOR = true | |
230 | local BodyColor = C3(0,0,0) | |
231 | local LegColor = C3(0,0,0.05) | |
232 | local ArmColor = C3(0.05,0.05,0.15) | |
233 | ||
234 | local SKILLTEXTCOLOR = C3(0.05,0.05,0.15) | |
235 | local SKILLTEXTCOLOR2 = C3(0,0,0) | |
236 | ||
237 | --//=================================\\ | |
238 | --\\=================================// | |
239 | ||
240 | ||
241 | --//=================================\\ | |
242 | --|| SAZERENOS' ARTIFICIAL HEARTBEAT | |
243 | --\\=================================// | |
244 | ||
245 | ArtificialHB = Instance.new("BindableEvent", script) | |
246 | ArtificialHB.Name = "ArtificialHB" | |
247 | ||
248 | script:WaitForChild("ArtificialHB") | |
249 | ||
250 | frame = Frame_Speed | |
251 | tf = 0 | |
252 | allowframeloss = false | |
253 | tossremainder = false | |
254 | lastframe = tick() | |
255 | script.ArtificialHB:Fire() | |
256 | ||
257 | game:GetService("RunService").Heartbeat:connect(function(s, p) | |
258 | tf = tf + s | |
259 | if tf >= frame then | |
260 | if allowframeloss then | |
261 | script.ArtificialHB:Fire() | |
262 | lastframe = tick() | |
263 | else | |
264 | for i = 1, math.floor(tf / frame) do | |
265 | script.ArtificialHB:Fire() | |
266 | end | |
267 | lastframe = tick() | |
268 | end | |
269 | if tossremainder then | |
270 | tf = 0 | |
271 | else | |
272 | tf = tf - frame * math.floor(tf / frame) | |
273 | end | |
274 | end | |
275 | end) | |
276 | ||
277 | --//=================================\\ | |
278 | --\\=================================// | |
279 | ||
280 | ||
281 | ||
282 | ||
283 | ||
284 | --//=================================\\ | |
285 | --|| SOME FUNCTIONS | |
286 | --\\=================================// | |
287 | ||
288 | function Raycast(POSITION, DIRECTION, RANGE, IGNOREDECENDANTS) | |
289 | return workspace:FindPartOnRay(Ray.new(POSITION, DIRECTION.unit * RANGE), IGNOREDECENDANTS) | |
290 | end | |
291 | ||
292 | function PositiveAngle(NUMBER) | |
293 | if NUMBER >= 0 then | |
294 | NUMBER = 0 | |
295 | end | |
296 | return NUMBER | |
297 | end | |
298 | ||
299 | function NegativeAngle(NUMBER) | |
300 | if NUMBER <= 0 then | |
301 | NUMBER = 0 | |
302 | end | |
303 | return NUMBER | |
304 | end | |
305 | ||
306 | function Swait(NUMBER) | |
307 | if NUMBER == 0 or NUMBER == nil then | |
308 | ArtificialHB.Event:wait() | |
309 | else | |
310 | for i = 1, NUMBER do | |
311 | ArtificialHB.Event:wait() | |
312 | end | |
313 | end | |
314 | end | |
315 | ||
316 | function QuaternionFromCFrame(cf) | |
317 | local mx, my, mz, m00, m01, m02, m10, m11, m12, m20, m21, m22 = cf:components() | |
318 | local trace = m00 + m11 + m22 | |
319 | if trace > 0 then | |
320 | local s = math.sqrt(1 + trace) | |
321 | local recip = 0.5 / s | |
322 | return (m21 - m12) * recip, (m02 - m20) * recip, (m10 - m01) * recip, s * 0.5 | |
323 | else | |
324 | local i = 0 | |
325 | if m11 > m00 then | |
326 | i = 1 | |
327 | end | |
328 | if m22 > (i == 0 and m00 or m11) then | |
329 | i = 2 | |
330 | end | |
331 | if i == 0 then | |
332 | local s = math.sqrt(m00 - m11 - m22 + 1) | |
333 | local recip = 0.5 / s | |
334 | return 0.5 * s, (m10 + m01) * recip, (m20 + m02) * recip, (m21 - m12) * recip | |
335 | elseif i == 1 then | |
336 | local s = math.sqrt(m11 - m22 - m00 + 1) | |
337 | local recip = 0.5 / s | |
338 | return (m01 + m10) * recip, 0.5 * s, (m21 + m12) * recip, (m02 - m20) * recip | |
339 | elseif i == 2 then | |
340 | local s = math.sqrt(m22 - m00 - m11 + 1) | |
341 | local recip = 0.5 / s return (m02 + m20) * recip, (m12 + m21) * recip, 0.5 * s, (m10 - m01) * recip | |
342 | end | |
343 | end | |
344 | end | |
345 | ||
346 | function QuaternionToCFrame(px, py, pz, x, y, z, w) | |
347 | local xs, ys, zs = x + x, y + y, z + z | |
348 | local wx, wy, wz = w * xs, w * ys, w * zs | |
349 | local xx = x * xs | |
350 | local xy = x * ys | |
351 | local xz = x * zs | |
352 | local yy = y * ys | |
353 | local yz = y * zs | |
354 | local zz = z * zs | |
355 | 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)) | |
356 | end | |
357 | ||
358 | function QuaternionSlerp(a, b, t) | |
359 | local cosTheta = a[1] * b[1] + a[2] * b[2] + a[3] * b[3] + a[4] * b[4] | |
360 | local startInterp, finishInterp; | |
361 | if cosTheta >= 0.0001 then | |
362 | if (1 - cosTheta) > 0.0001 then | |
363 | local theta = ACOS(cosTheta) | |
364 | local invSinTheta = 1 / SIN(theta) | |
365 | startInterp = SIN((1 - t) * theta) * invSinTheta | |
366 | finishInterp = SIN(t * theta) * invSinTheta | |
367 | else | |
368 | startInterp = 1 - t | |
369 | finishInterp = t | |
370 | end | |
371 | else | |
372 | if (1 + cosTheta) > 0.0001 then | |
373 | local theta = ACOS(-cosTheta) | |
374 | local invSinTheta = 1 / SIN(theta) | |
375 | startInterp = SIN((t - 1) * theta) * invSinTheta | |
376 | finishInterp = SIN(t * theta) * invSinTheta | |
377 | else | |
378 | startInterp = t - 1 | |
379 | finishInterp = t | |
380 | end | |
381 | end | |
382 | 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 | |
383 | end | |
384 | ||
385 | function Clerp(a, b, t) | |
386 | local qa = {QuaternionFromCFrame(a)} | |
387 | local qb = {QuaternionFromCFrame(b)} | |
388 | local ax, ay, az = a.x, a.y, a.z | |
389 | local bx, by, bz = b.x, b.y, b.z | |
390 | local _t = 1 - t | |
391 | return QuaternionToCFrame(_t * ax + t * bx, _t * ay + t * by, _t * az + t * bz, QuaternionSlerp(qa, qb, t)) | |
392 | end | |
393 | ||
394 | function CreateFrame(PARENT, TRANSPARENCY, BORDERSIZEPIXEL, POSITION, SIZE, COLOR, BORDERCOLOR, NAME) | |
395 | local frame = IT("Frame") | |
396 | frame.BackgroundTransparency = TRANSPARENCY | |
397 | frame.BorderSizePixel = BORDERSIZEPIXEL | |
398 | frame.Position = POSITION | |
399 | frame.Size = SIZE | |
400 | frame.BackgroundColor3 = COLOR | |
401 | frame.BorderColor3 = BORDERCOLOR | |
402 | frame.Name = NAME | |
403 | frame.Parent = PARENT | |
404 | return frame | |
405 | end | |
406 | ||
407 | function CreateLabel(PARENT, TEXT, TEXTCOLOR, TEXTFONTSIZE, TEXTFONT, TRANSPARENCY, BORDERSIZEPIXEL, STROKETRANSPARENCY, NAME) | |
408 | local label = IT("TextLabel") | |
409 | label.BackgroundTransparency = 1 | |
410 | label.Size = UD2(1, 0, 1, 0) | |
411 | label.Position = UD2(0, 0, 0, 0) | |
412 | label.TextColor3 = TEXTCOLOR | |
413 | label.TextStrokeTransparency = STROKETRANSPARENCY | |
414 | label.TextTransparency = TRANSPARENCY | |
415 | label.FontSize = TEXTFONTSIZE | |
416 | label.Font = TEXTFONT | |
417 | label.BorderSizePixel = BORDERSIZEPIXEL | |
418 | label.TextScaled = false | |
419 | label.Text = TEXT | |
420 | label.Name = NAME | |
421 | label.Parent = PARENT | |
422 | return label | |
423 | end | |
424 | ||
425 | function NoOutlines(PART) | |
426 | PART.TopSurface, PART.BottomSurface, PART.LeftSurface, PART.RightSurface, PART.FrontSurface, PART.BackSurface = 10, 10, 10, 10, 10, 10 | |
427 | end | |
428 | ||
429 | ||
430 | function CreateWeldOrSnapOrMotor(TYPE, PARENT, PART0, PART1, C0, C1) | |
431 | local NEWWELD = IT(TYPE) | |
432 | NEWWELD.Part0 = PART0 | |
433 | NEWWELD.Part1 = PART1 | |
434 | NEWWELD.C0 = C0 | |
435 | NEWWELD.C1 = C1 | |
436 | NEWWELD.Parent = PARENT | |
437 | return NEWWELD | |
438 | end | |
439 | ||
440 | function CreateSound(ID, PARENT, VOLUME, PITCH) | |
441 | local NEWSOUND = nil | |
442 | coroutine.resume(coroutine.create(function() | |
443 | NEWSOUND = IT("Sound", PARENT) | |
444 | NEWSOUND.Volume = VOLUME | |
445 | NEWSOUND.Pitch = PITCH | |
446 | NEWSOUND.SoundId = "http://www.roblox.com/asset/?id="..ID | |
447 | Swait() | |
448 | NEWSOUND:play() | |
449 | game:GetService("Debris"):AddItem(NEWSOUND, 10) | |
450 | end)) | |
451 | return NEWSOUND | |
452 | end | |
453 | ||
454 | function CFrameFromTopBack(at, top, back) | |
455 | local right = top:Cross(back) | |
456 | 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) | |
457 | end | |
458 | ||
459 | function CreateSwirl(SIZE,WAIT,CFRAME,DOESROT,ROT,COLOR,GROW) | |
460 | local wave = CreatePart(3, Effects, "Neon", 0, 0.5, BRICKC(COLOR), "Effect", VT(0,0,0)) | |
461 | wave.Color = COLOR | |
462 | local mesh = CreateMesh("SpecialMesh", wave, "FileMesh", "1051557", "", SIZE, VT(0,0,0)) | |
463 | wave.CFrame = CFRAME | |
464 | coroutine.resume(coroutine.create(function(PART) | |
465 | for i = 1, WAIT do | |
466 | Swait() | |
467 | mesh.Scale = mesh.Scale + GROW | |
468 | mesh.Offset = VT(0,0,-(mesh.Scale.X/8)) | |
469 | if DOESROT == true then | |
470 | wave.CFrame = wave.CFrame * CFrame.fromEulerAnglesXYZ(0,ROT,0) | |
471 | end | |
472 | wave.Transparency = wave.Transparency + (0.5/WAIT) | |
473 | if wave.Transparency > 0.99 then | |
474 | wave:remove() | |
475 | end | |
476 | end | |
477 | end)) | |
478 | end | |
479 | ||
480 | function MagicSphere(SIZE,WAIT,CFRAME,COLOR,GROW) | |
481 | local wave = CreatePart(3, Effects, "Neon", 0, 0, BRICKC(COLOR), "Effect", VT(1,1,1), true) | |
482 | wave.Color = COLOR | |
483 | local mesh = CreateMesh("SpecialMesh", wave, "Sphere", "", "", SIZE, VT(0,0,0)) | |
484 | wave.CFrame = CFRAME | |
485 | coroutine.resume(coroutine.create(function(PART) | |
486 | for i = 1, WAIT do | |
487 | Swait() | |
488 | mesh.Scale = mesh.Scale + GROW | |
489 | wave.Transparency = wave.Transparency + (1/WAIT) | |
490 | if wave.Transparency > 0.99 then | |
491 | wave:remove() | |
492 | end | |
493 | end | |
494 | end)) | |
495 | end | |
496 | ||
497 | function Slice(KIND,SIZE,WAIT,CFRAME,COLOR,GROW) | |
498 | local wave = CreatePart(3, Effects, "Neon", 0, 0.5, BRICKC(COLOR), "Effect", VT(1,1,1), true) | |
499 | local mesh = nil | |
500 | if KIND == "Base" then | |
501 | mesh = CreateMesh("SpecialMesh", wave, "FileMesh", "448386996", "", VT(0,SIZE/10,SIZE/10), VT(0,0,0)) | |
502 | elseif KIND == "Thin" then | |
503 | mesh = CreateMesh("SpecialMesh", wave, "FileMesh", "662586858", "", VT(SIZE/10,0,SIZE/10), VT(0,0,0)) | |
504 | elseif KIND == "Round" then | |
505 | mesh = CreateMesh("SpecialMesh", wave, "FileMesh", "662585058", "", VT(SIZE/10,0,SIZE/10), VT(0,0,0)) | |
506 | end | |
507 | wave.CFrame = CFRAME | |
508 | coroutine.resume(coroutine.create(function(PART) | |
509 | for i = 1, WAIT do | |
510 | Swait() | |
511 | mesh.Scale = mesh.Scale + GROW/10 | |
512 | wave.Transparency = wave.Transparency + (0.5/WAIT) | |
513 | if wave.Transparency > 0.99 then | |
514 | wave:remove() | |
515 | end | |
516 | end | |
517 | end)) | |
518 | end | |
519 | ||
520 | function MakeForm(PART,TYPE) | |
521 | if TYPE == "Cyl" then | |
522 | local MSH = IT("CylinderMesh",PART) | |
523 | elseif TYPE == "Ball" then | |
524 | local MSH = IT("SpecialMesh",PART) | |
525 | MSH.MeshType = "Sphere" | |
526 | elseif TYPE == "Wedge" then | |
527 | local MSH = IT("SpecialMesh",PART) | |
528 | MSH.MeshType = "Wedge" | |
529 | end | |
530 | end | |
531 | ||
532 | function CheckTableForString(Table, String) | |
533 | for i, v in pairs(Table) do | |
534 | if string.find(string.lower(String), string.lower(v)) then | |
535 | return true | |
536 | end | |
537 | end | |
538 | return false | |
539 | end | |
540 | ||
541 | function CheckIntangible(Hit) | |
542 | local ProjectileNames = {"Water", "Arrow", "Projectile", "Effect", "Rail", "Lightning", "Bullet"} | |
543 | if Hit and Hit.Parent then | |
544 | if ((not Hit.CanCollide or CheckTableForString(ProjectileNames, Hit.Name)) and not Hit.Parent:FindFirstChild("Humanoid")) then | |
545 | return true | |
546 | end | |
547 | end | |
548 | return false | |
549 | end | |
550 | ||
551 | Debris = game:GetService("Debris") | |
552 | ||
553 | function CastZapRay(StartPos, Vec, Length, Ignore, DelayIfHit) | |
554 | local Direction = CFrame.new(StartPos, Vec).lookVector | |
555 | local Ignore = ((type(Ignore) == "table" and Ignore) or {Ignore}) | |
556 | local RayHit, RayPos, RayNormal = game:GetService("Workspace"):FindPartOnRayWithIgnoreList(Ray.new(StartPos, Direction * Length), Ignore) | |
557 | if RayHit and CheckIntangible(RayHit) then | |
558 | if DelayIfHit then | |
559 | wait() | |
560 | end | |
561 | RayHit, RayPos, RayNormal = CastZapRay((RayPos + (Vec * 0.01)), Vec, (Length - ((StartPos - RayPos).magnitude)), Ignore, DelayIfHit) | |
562 | end | |
563 | return RayHit, RayPos, RayNormal | |
564 | end | |
565 | ||
566 | function FireArc(Part,ToLocation,AmountOfTime,Height,DoesCourontine) | |
567 | if DoesCourontine == false then | |
568 | local Direction = CF(Part.Position,ToLocation) | |
569 | local Distance = (Part.Position - ToLocation).magnitude | |
570 | for i = 1, AmountOfTime do | |
571 | Swait() | |
572 | Part.CFrame = Direction*CF(0,(AmountOfTime/200)+((AmountOfTime/Height)-((i*2)/Height)),-Distance/AmountOfTime) | |
573 | Direction = Part.CFrame | |
574 | end | |
575 | Part:remove() | |
576 | elseif DoesCourontine == true then | |
577 | coroutine.resume(coroutine.create(function() | |
578 | local Direction = CF(Part.Position,ToLocation) | |
579 | local Distance = (Part.Position - ToLocation).magnitude | |
580 | for i = 1, AmountOfTime do | |
581 | Swait() | |
582 | Part.CFrame = Direction*CF(0,(AmountOfTime/200)+((AmountOfTime/Height)-((i*2)/Height)),-Distance/AmountOfTime) | |
583 | Direction = Part.CFrame | |
584 | end | |
585 | Part:remove() | |
586 | end)) | |
587 | end | |
588 | end | |
589 | ||
590 | function turnto(position) | |
591 | RootPart.CFrame=CFrame.new(RootPart.CFrame.p,VT(position.X,RootPart.Position.Y,position.Z)) * CFrame.new(0, 0, 0) | |
592 | end | |
593 | local naeeym2 = Instance.new("BillboardGui", Character) | |
594 | naeeym2.AlwaysOnTop = true | |
595 | naeeym2.Size = UDim2.new(5, 35, 2, 15) | |
596 | naeeym2.StudsOffset = Vector3.new(0, 3, 0) | |
597 | naeeym2.Adornee = Character.Head | |
598 | naeeym2.Name = "Name" | |
599 | local tecks2 = Instance.new("TextLabel", naeeym2) | |
600 | tecks2.BackgroundTransparency = 1 | |
601 | tecks2.TextScaled = true | |
602 | tecks2.BorderSizePixel = 0 | |
603 | tecks2.Text = "Dominus Astra" | |
604 | tecks2.Font = "Fantasy" | |
605 | tecks2.TextSize = 30 | |
606 | tecks2.TextStrokeTransparency = 0 | |
607 | tecks2.TextColor3 = Color3.new(0.05,0.05,0.15) | |
608 | tecks2.TextStrokeColor3 = Color3.new(0,0,0) | |
609 | tecks2.Size = UDim2.new(1, 0, 0.5, 0) | |
610 | tecks2.Parent = naeeym2 | |
611 | ||
612 | --//=================================\\ | |
613 | --|| WEAPON CREATION | |
614 | --\\=================================// | |
615 | ||
616 | local Weapon = IT("Model") | |
617 | Weapon.Name = "Adds" | |
618 | local Weapon2 = IT("Model") | |
619 | Weapon2.Name = "Adds" | |
620 | ||
621 | local EYE = CreatePart(3, Weapon2, "Neon", 0, 0, "Gold", "Eyeball", VT(0.1, 0.4, 0.1), false) | |
622 | MakeForm(EYE, "Ball") | |
623 | EYE.CFrame = Head.CFrame * CF(0.2, 0.1, -0.72) | |
624 | local EW = weldBetween(EYE, Head) | |
625 | local EYE2 = CreatePart(3, Weapon2, "Neon", 0, 0, "Gold", "Eyeball1", VT(0.4, 0.1, 0.1), false) | |
626 | MakeForm(EYE2, "Ball") | |
627 | EYE2.CFrame = Head.CFrame * CF(0.2, 0.1, -0.72) | |
628 | local EW2 = weldBetween(EYE2, Head) | |
629 | ||
630 | Weapon2.Parent = nil | |
631 | ||
632 | local Particle = IT("ParticleEmitter",nil) | |
633 | Particle.Enabled = false | |
634 | Particle.Transparency = NumberSequence.new({NumberSequenceKeypoint.new(0,1),NumberSequenceKeypoint.new(0.3,0.95),NumberSequenceKeypoint.new(1,1)}) | |
635 | Particle.LightEmission = 0.5 | |
636 | Particle.Rate = 150 | |
637 | Particle.ZOffset = 1 | |
638 | Particle.Rotation = NumberRange.new(-180, 180) | |
639 | Particle.RotSpeed = NumberRange.new(-180, 180) | |
640 | Particle.Texture = "http://www.roblox.com/asset/?id=304437537" | |
641 | Particle.Color = ColorSequence.new(C3(0.4,0,0),C3(0.4,0,0)) | |
642 | ||
643 | --ParticleEmitter({Speed = 5, Drag = 0, Size1 = 1, Size2 = 5, Lifetime1 = 1, Lifetime2 = 1.5, Parent = Torso, Emit = 100, Offset = 360, Enabled = false}) | |
644 | function ParticleEmitter(Table) | |
645 | local PRTCL = Particle:Clone() | |
646 | local Speed = Table.Speed or 5 | |
647 | local Drag = Table.Drag or 0 | |
648 | local Size1 = Table.Size1 or 1 | |
649 | local Size2 = Table.Size2 or 5 | |
650 | local Lifetime1 = Table.Lifetime1 or 1 | |
651 | local Lifetime2 = Table.Lifetime2 or 1.5 | |
652 | local Parent = Table.Parent or Torso | |
653 | local Emit = Table.Emit or 100 | |
654 | local Offset = Table.Offset or 360 | |
655 | local Acel = Table.Acel or VT(0,0,0) | |
656 | local Enabled = Table.Enabled or false | |
657 | PRTCL.Parent = Parent | |
658 | PRTCL.Size = NumberSequence.new(Size1,Size2) | |
659 | PRTCL.Lifetime = NumberRange.new(Lifetime1,Lifetime2) | |
660 | PRTCL.Speed = NumberRange.new(Speed) | |
661 | PRTCL.VelocitySpread = Offset | |
662 | PRTCL.Drag = Drag | |
663 | PRTCL.Acceleration = Acel | |
664 | if Enabled == false then | |
665 | PRTCL:Emit(Emit) | |
666 | Debris:AddItem(PRTCL,Lifetime2) | |
667 | else | |
668 | PRTCL.Enabled = true | |
669 | end | |
670 | return PRTCL | |
671 | end | |
672 | ||
673 | local Handle = CreatePart(3, Weapon, "Metal", 0, 0, "Mid gray", "Part", VT(0.2,0.6,0.2),false) | |
674 | local RightArmGrasp = CreateWeldOrSnapOrMotor("Weld", Handle, RightArm, Handle, CF(0,-1, 0) * ANGLES(RAD(90), RAD(0), RAD(0)), CF(0, 0.21, 0)) | |
675 | local Part = CreatePart(3, Weapon, "Metal", 0, 0, "Mid gray", "Part", VT(0.2,0.5,0.2),false) | |
676 | MakeForm(Part,"Wedge") | |
677 | CreateWeldOrSnapOrMotor("Weld", Handle, Handle, Part, CF(0, -0.3, 0.2) * ANGLES(RAD(0), RAD(180), RAD(0)), CF(0, 0, 0)) | |
678 | local Part = CreatePart(3, Weapon, "Metal", 0, 0, "Mid gray", "Part", VT(0.2,0.3,0.2),false) | |
679 | MakeForm(Part,"Wedge") | |
680 | CreateWeldOrSnapOrMotor("Weld", Handle, Handle, Part, CF(0, -0.4, 0) * ANGLES(RAD(0), RAD(0), RAD(180)), CF(0, 0, 0)) | |
681 | local Part = CreatePart(3, Weapon, "Metal", 0, 0, "Mid gray", "Part", VT(0.3,0.3,0.3),false) | |
682 | CreateWeldOrSnapOrMotor("Weld", Handle, Handle, Part, CF(0, -0.5, 0.2) * ANGLES(RAD(0), RAD(0), RAD(0)), CF(0, 0, 0)) | |
683 | local Part = CreatePart(3, Weapon, "Metal", 0, 0, "Mid gray", "Part", VT(0.3,0.5,0.5),false) | |
684 | CreateWeldOrSnapOrMotor("Weld", Handle, Handle, Part, CF(0, -0.6, 0.5) * ANGLES(RAD(0), RAD(0), RAD(0)), CF(0, 0, 0)) | |
685 | local Part = CreatePart(3, Weapon, "Metal", 0, 0, "Mid gray", "Part", VT(0.4,0.4,0.4),false) | |
686 | MakeForm(Part,"Cyl") | |
687 | CreateWeldOrSnapOrMotor("Weld", Handle, Handle, Part, CF(0, -0.6, 0.5) * ANGLES(RAD(90), RAD(0), RAD(0)), CF(0, 0, 0)) | |
688 | for i = 1, 8 do | |
689 | local Piece = CreatePart(3, Weapon, "Metal", 0, 0, "Mid gray", "Eye", VT(0,0.35,0.41),false) | |
690 | CreateWeldOrSnapOrMotor("Weld", Handle, Part, Piece, CF(0, 0, 0) * ANGLES(RAD(0), RAD((360/8)*i), RAD(0)), CF(0, 0, 0)) | |
691 | end | |
692 | local Part = CreatePart(3, Weapon, "Metal", 0, 0, "Mid gray", "Eye", VT(0.38,0.41,0.38),false) | |
693 | MakeForm(Part,"Cyl") | |
694 | CreateWeldOrSnapOrMotor("Weld", Handle, Handle, Part, CF(0, -0.6, 0.5) * ANGLES(RAD(90), RAD(0), RAD(0)), CF(0, 0, 0)) | |
695 | local Part = CreatePart(3, Weapon, "Metal", 0, 0, "Mid gray", "Part", VT(0.37,0.5,0.37),false) | |
696 | MakeForm(Part,"Ball") | |
697 | CreateWeldOrSnapOrMotor("Weld", Handle, Handle, Part, CF(0, -0.6, 0.3) * ANGLES(RAD(90), RAD(0), RAD(0)), CF(0, 0, 0)) | |
698 | local Part = CreatePart(3, Weapon, "Metal", 0, 0, "Mid gray", "Part", VT(0.2,0.7,0.4),false) | |
699 | MakeForm(Part,"Wedge") | |
700 | CreateWeldOrSnapOrMotor("Weld", Handle, Handle, Part, CF(0, -0.7, 0.5) * ANGLES(RAD(90), RAD(180), RAD(180)), CF(0, 0, 0)) | |
701 | local Part = CreatePart(3, Weapon, "Metal", 0, 0, "Mid gray", "Part", VT(0.3,0.4,0.2),false) | |
702 | CreateWeldOrSnapOrMotor("Weld", Handle, Handle, Part, CF(0, -0.6, 0.7) * ANGLES(RAD(0), RAD(0), RAD(0)), CF(0, 0, 0)) | |
703 | local Part = CreatePart(3, Weapon, "Metal", 0, 0, "Mid gray", "Part", VT(0.35,0.35,0.35),false) | |
704 | MakeForm(Part,"Cyl") | |
705 | CreateWeldOrSnapOrMotor("Weld", Handle, Handle, Part, CF(0, -0.6, 0.7) * ANGLES(RAD(90), RAD(0), RAD(0)), CF(0, 0, 0)) | |
706 | local Part = CreatePart(3, Weapon, "Metal", 0, 0, "Mid gray", "Part", VT(0.5,0.1,0.5),false) | |
707 | MakeForm(Part,"Cyl") | |
708 | CreateWeldOrSnapOrMotor("Weld", Handle, Handle, Part, CF(0, -0.6, 1) * ANGLES(RAD(90), RAD(0), RAD(0)), CF(0, 0, 0)) | |
709 | local Part = CreatePart(3, Weapon, "Metal", 0, 0, "Mid gray", "Part", VT(0.5,0.1,0.45),false) | |
710 | MakeForm(Part,"Cyl") | |
711 | CreateWeldOrSnapOrMotor("Weld", Handle, Handle, Part, CF(0, -0.6, 1.1) * ANGLES(RAD(90), RAD(0), RAD(0)), CF(0, 0, 0)) | |
712 | local Part = CreatePart(3, Weapon, "Metal", 0, 0, "Mid gray", "Part", VT(0.2,0.5,0.2),false) | |
713 | MakeForm(Part,"Wedge") | |
714 | CreateWeldOrSnapOrMotor("Weld", Handle, Handle, Part, CF(0, -0.55, 0.2) * ANGLES(RAD(-135), RAD(0), RAD(0)), CF(0, -0.3, 0)) | |
715 | local LASTPART = Handle | |
716 | for i = 1, 10 do | |
717 | if LASTPART == Handle then | |
718 | local Part = CreatePart(3, Weapon, "Metal", 0, 0, "Mid gray", "Part", VT(0.1,0.2,0),false) | |
719 | LASTPART = Part | |
720 | CreateWeldOrSnapOrMotor("Weld", Handle, Handle, Part, CF(0, -0.1, 0.2) * ANGLES(RAD(90), RAD(0), RAD(0)), CF(0, 0, 0)) | |
721 | else | |
722 | local Part = CreatePart(3, Weapon, "Metal", 0, 0, "Mid gray", "Part", VT(0.1,0.05,0),false) | |
723 | CreateWeldOrSnapOrMotor("Weld", Handle, LASTPART, Part, CF(0, 0.025, 0) * ANGLES(RAD(8), RAD(0), RAD(0)), CF(0, -0.025, 0)) | |
724 | LASTPART = Part | |
725 | end | |
726 | end | |
727 | ||
728 | local Barrel = CreatePart(3, Weapon, "Metal", 0, 0, "Mid gray", "Part", VT(0.15,2,0.15),false) | |
729 | MakeForm(Barrel,"Cyl") | |
730 | CreateWeldOrSnapOrMotor("Weld", Handle, Handle, Barrel, CF(0, -0.6, 1.8) * ANGLES(RAD(90), RAD(0), RAD(0)), CF(0, 0, 0)) | |
731 | local Part = CreatePart(3, Weapon, "Metal", 0, 0, "Mid gray", "Part", VT(0.25,1,0.25),false) | |
732 | MakeForm(Part,"Cyl") | |
733 | CreateWeldOrSnapOrMotor("Weld", Handle, Barrel, Part, CF(0, -0.6, 0), CF(0, 0, 0)) | |
734 | local Part = CreatePart(3, Weapon, "Metal", 0, 0, "Mid gray", "Part", VT(0,0.1,0.2),false) | |
735 | MakeForm(Part,"Wedge") | |
736 | CreateWeldOrSnapOrMotor("Weld", Handle, Barrel, Part, CF(0, 0.945, 0.1) * ANGLES(RAD(180), RAD(0), RAD(0)), CF(0, 0, 0)) | |
737 | local Hole2 = CreatePart(3, Weapon, "Metal", 0, 0, "Mid gray", "Eye", VT(0.125,0,0.125),false) | |
738 | MakeForm(Hole2,"Cyl") | |
739 | CreateWeldOrSnapOrMotor("Weld", Handle, Barrel, Hole2, CF(0, 0.98, 0), CF(0, 0, 0)) | |
740 | local Part = CreatePart(3, Weapon, "Metal", 0, 0, "Mid gray", "Part", VT(0,0,0),false) | |
741 | local GEARWELD = CreateWeldOrSnapOrMotor("Weld", Handle, Handle, Part, CF(0, -0.6, 0.7), CF(0, 0, 0)) | |
742 | CreateMesh("SpecialMesh", Part, "FileMesh", 156292343, "", VT(0.8,0.8,1.5), VT(0,0,0.2)) | |
743 | local Part = CreatePart(3, Weapon, "Metal", 0, 0.5, "Mid gray", "Eye", VT(0,0,0),false) | |
744 | local GEARWELD2 = CreateWeldOrSnapOrMotor("Weld", Handle, Handle, Part, CF(0, -0.6, 0.7), CF(0, 0, 0)) | |
745 | CreateMesh("SpecialMesh", Part, "FileMesh", 156292343, "", VT(0.9,0.9,0.3), VT(0,0,0.2)) | |
746 | coroutine.resume(coroutine.create(function() | |
747 | while wait() do | |
748 | GEARWELD.C0 = GEARWELD.C0 * ANGLES(RAD(0), RAD(0), RAD(5)) | |
749 | GEARWELD2.C0 = GEARWELD2.C0 * ANGLES(RAD(0), RAD(0), RAD(-5)) | |
750 | end | |
751 | end)) | |
752 | ||
753 | 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)}) | |
754 | --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)}) | |
755 | ||
756 | 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)}) | |
757 | --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)}) | |
758 | ||
759 | for _, c in pairs(Weapon:GetDescendants()) do | |
760 | if c.ClassName == "Part" and c.Name ~= "Eye" and c.Parent ~= Effects and c.Parent.Parent ~= Effects then | |
761 | c.Material = "Glass" | |
762 | c.Color = C3(0.15,0.05,0.05) | |
763 | elseif c.ClassName == "Part" and c.Name == "Eye" then | |
764 | c.Color = C3(1,0,0) | |
765 | c.Material = "Neon" | |
766 | end | |
767 | end | |
768 | ||
769 | Weapon.Parent = nil | |
770 | for _, c in pairs(Weapon:GetChildren()) do | |
771 | if c.ClassName == "Part" then | |
772 | c.CustomPhysicalProperties = PhysicalProperties.new(0, 0, 0, 0, 0) | |
773 | end | |
774 | end | |
775 | ||
776 | function Transparency(TRANS) | |
777 | for _, c in pairs(Character:GetChildren()) do | |
778 | if c.ClassName == "Part" and c ~= RootPart then | |
779 | c.Transparency = TRANS | |
780 | if c:FindFirstChildOfClass("Decal") then | |
781 | c:FindFirstChildOfClass("Decal").Transparency = TRANS | |
782 | end | |
783 | elseif c.ClassName == "Accessory" then | |
784 | c.Handle.Transparency = TRANS | |
785 | elseif c.ClassName == "Model" then | |
786 | for _, q in pairs(c:GetChildren()) do | |
787 | if q.ClassName == "Part" then | |
788 | q.Transparency = TRANS | |
789 | if q:FindFirstChildOfClass("Decal") then | |
790 | q:FindFirstChildOfClass("Decal").Transparency = TRANS | |
791 | end | |
792 | end | |
793 | end | |
794 | end | |
795 | end | |
796 | end | |
797 | ||
798 | Humanoid.Died:connect(function() | |
799 | Humanoid.Parent = nil | |
800 | Humanoid.MaxHealth = "inf" | |
801 | Humanoid.Health = "inf" | |
802 | refit() | |
803 | Humanoid.Parent = Character | |
804 | CreateSound("907330011", Head, 10, 1.2) | |
805 | end) | |
806 | ||
807 | --//=================================\\ | |
808 | --|| DAMAGING | |
809 | --\\=================================// | |
810 | ||
811 | function killnearest(position,range,maxstrength) | |
812 | for i,v in ipairs(workspace:GetChildren()) do | |
813 | local body = v:GetChildren() | |
814 | for part = 1, #body do | |
815 | if((body[part].ClassName == "Part" or body[part].ClassName == "MeshPart") and v ~= Character) then | |
816 | if(body[part].Position - position).Magnitude < range then | |
817 | if v.ClassName == "Model" then | |
818 | v:BreakJoints() | |
819 | end | |
820 | --table.insert(Effects2,{body[part],"Disappear",0.02,2,2,2,2}) | |
821 | local bv = Instance.new("BodyVelocity") | |
822 | bv.maxForce = Vector3.new(1e9, 1e9, 1e9) | |
823 | bv.velocity = CF(position,body[part].Position).lookVector*maxstrength | |
824 | bv.Parent = body[part] | |
825 | Debris:AddItem(bv,0.2) | |
826 | end | |
827 | end | |
828 | end | |
829 | if v.ClassName == "Part" then | |
830 | if v.Anchored == false and (v.Position - position).Magnitude < range then | |
831 | --table.insert(Effects2,{v,"Disappear",0.02,2,2,2,2}) | |
832 | v.Velocity = CFrame.new(position,v.Position).lookVector*5*maxstrength | |
833 | end | |
834 | end | |
835 | end | |
836 | end | |
837 | ||
838 | --//=================================\\ | |
839 | --|| ATTACK FUNCTIONS AND STUFF | |
840 | --\\=================================// | |
841 | ||
842 | local TOBANISH = {} | |
843 | ||
844 | function printbye(Name) | |
845 | local MESSAGES = {"Tu, ne ipsis, ","Esses contumeliam, ","Te potest ignorare mandatum meum, ","Iam mortuus est, "} | |
846 | warn(MESSAGES[MRANDOM(1,#MESSAGES)]..Name..".") | |
847 | end | |
848 | ||
849 | workspace.ChildAdded:connect(function(instance) | |
850 | for BANISH = 1, #TOBANISH do | |
851 | if TOBANISH[BANISH] ~= nil then | |
852 | if instance.Name == TOBANISH[BANISH] then | |
853 | coroutine.resume(coroutine.create(function() | |
854 | printbye(instance.Name) | |
855 | instance:ClearAllChildren() | |
856 | Debris:AddItem(instance,0.0005) | |
857 | end)) | |
858 | end | |
859 | end | |
860 | end | |
861 | end) | |
862 | ||
863 | function Banish(Foe) | |
864 | if Foe then | |
865 | coroutine.resume(coroutine.create(function() | |
866 | --if game.Players:FindFirstChild(Foe.Name) then | |
867 | table.insert(TOBANISH,Foe.Name) | |
868 | printbye(Foe.Name) | |
869 | --end | |
870 | Foe.Archivable = true | |
871 | local CLONE = Foe:Clone() | |
872 | Foe:Destroy() | |
873 | CLONE.Parent = Effects | |
874 | CLONE:BreakJoints() | |
875 | local MATERIALS = {"Glass","Neon"} | |
876 | for _, c in pairs(CLONE:GetDescendants()) do | |
877 | if c:IsA("BasePart") then | |
878 | if c.Name == "Torso" or c.Name == "UpperTorso" or c == CLONE.PrimaryPart then | |
879 | CreateSound(340722848, c, 10, 1, false) | |
880 | end | |
881 | c.Anchored = true | |
882 | c.Transparency = c.Transparency + 0.2 | |
883 | c.Material = MATERIALS[MRANDOM(1,2)] | |
884 | c.Color = C3(1,0,0) | |
885 | if c.ClassName == "MeshPart" then | |
886 | c.TextureID = "" | |
887 | end | |
888 | if c:FindFirstChildOfClass("SpecialMesh") then | |
889 | c:FindFirstChildOfClass("SpecialMesh").TextureId = "" | |
890 | end | |
891 | if c:FindFirstChildOfClass("Decal") then | |
892 | c:FindFirstChildOfClass("Decal"):remove() | |
893 | end | |
894 | c.Name = "Banished" | |
895 | c.CanCollide = false | |
896 | else | |
897 | c:remove() | |
898 | end | |
899 | end | |
900 | local A = false | |
901 | for i = 1, 35 do | |
902 | if A == false then | |
903 | A = true | |
904 | elseif A == true then | |
905 | A = false | |
906 | end | |
907 | for _, c in pairs(CLONE:GetDescendants()) do | |
908 | if c:IsA("BasePart") then | |
909 | c.Anchored = true | |
910 | c.Material = MATERIALS[MRANDOM(1,2)] | |
911 | c.Transparency = c.Transparency + 0.8/35 | |
912 | if A == false then | |
913 | c.CFrame = c.CFrame*CF(MRANDOM(-45,45)/45,MRANDOM(-45,45)/45,MRANDOM(-45,45)/45) | |
914 | elseif A == true then | |
915 | c.CFrame = c.CFrame*CF(MRANDOM(-45,45)/45,MRANDOM(-45,45)/45,MRANDOM(-45,45)/45) | |
916 | end | |
917 | end | |
918 | end | |
919 | Swait() | |
920 | end | |
921 | CLONE:remove() | |
922 | end)) | |
923 | end | |
924 | end | |
925 | ||
926 | function ApplyAoE(POSITION,RANGE,ISBANISH) | |
927 | local CHILDREN = workspace:GetDescendants() | |
928 | for index, CHILD in pairs(CHILDREN) do | |
929 | if CHILD.ClassName == "Model" and CHILD ~= Character then | |
930 | local HUM = CHILD:FindFirstChildOfClass("Humanoid") | |
931 | if HUM then | |
932 | local TORSO = CHILD:FindFirstChild("Torso") or CHILD:FindFirstChild("UpperTorso") | |
933 | if TORSO then | |
934 | if (TORSO.Position - POSITION).Magnitude <= RANGE then | |
935 | if ISBANISH == true then | |
936 | Banish(CHILD) | |
937 | else | |
938 | if ISBANISH == "Gravity" then | |
939 | HUM.PlatformStand = true | |
940 | if TORSO:FindFirstChild("V3BanishForce"..Player.Name) then | |
941 | local grav = Instance.new("BodyPosition",TORSO) | |
942 | grav.D = 15 | |
943 | grav.P = 20000 | |
944 | grav.maxForce = Vector3.new(math.huge,math.huge,math.huge) | |
945 | grav.position = TORSO.Position | |
946 | grav.Name = "V3BanishForce"..Player.Name | |
947 | else | |
948 | TORSO:FindFirstChild("V3BanishForce"..Player.Name).position = TORSO.Position+VT(0,0.3,0) | |
949 | TORSO.RotVelocity = VT(MRANDOM(-25,25),MRANDOM(-25,25),MRANDOM(-25,25)) | |
950 | end | |
951 | else | |
952 | HUM.PlatformStand = false | |
953 | end | |
954 | end | |
955 | elseif ISBANISH == "Gravity" then | |
956 | if TORSO:FindFirstChild("V3BanishForce"..Player.Name) then | |
957 | TORSO:FindFirstChild("V3BanishForce"..Player.Name):remove() | |
958 | HUM.PlatformStand = false | |
959 | end | |
960 | end | |
961 | end | |
962 | end | |
963 | end | |
964 | end | |
965 | end | |
966 | ||
967 | function SpawnTrail(FROM,TO,BIG) | |
968 | local TRAIL = CreatePart(3, Effects, "Neon", 0, 0.5, "Really red", "Trail", VT(0,0,0)) | |
969 | MakeForm(TRAIL,"Cyl") | |
970 | local DIST = (FROM - TO).Magnitude | |
971 | if BIG == true then | |
972 | TRAIL.Size = VT(5,DIST,5) | |
973 | else | |
974 | TRAIL.Size = VT(5,DIST,5) | |
975 | end | |
976 | TRAIL.CFrame = CF(FROM, TO) * CF(0, 0, -DIST/2) * ANGLES(RAD(90),RAD(0),RAD(0)) | |
977 | coroutine.resume(coroutine.create(function() | |
978 | for i = 1, 5 do | |
979 | Swait() | |
980 | TRAIL.Transparency = TRAIL.Transparency + 0.1 | |
981 | end | |
982 | TRAIL:remove() | |
983 | end)) | |
984 | end | |
985 | ||
986 | function CastProperRay(StartPos, EndPos, Distance, Ignore) | |
987 | local DIRECTION = CF(StartPos,EndPos).lookVector | |
988 | return Raycast(StartPos, DIRECTION, Distance, Ignore) | |
989 | end | |
990 | ||
991 | local Decal = IT("Decal") | |
992 | function MagicRing() | |
993 | local O1 = CreatePart(3, Effects, "Neon", 0, 1, "Really red", "Warphole", VT(0, 0, 0)) | |
994 | O1.CFrame = RootPart.CFrame * CF(0, 0, -3) * ANGLES(RAD(90), RAD(0), RAD(0)) | |
995 | local decal = Decal:Clone() | |
996 | decal.Parent = O1 | |
997 | decal.Face = "Top" | |
998 | decal.Texture = "http://www.roblox.com/asset/?id=917750924" | |
999 | local decal2 = Decal:Clone() | |
1000 | decal2.Parent = O1 | |
1001 | decal2.Face = "Bottom" | |
1002 | decal2.Texture = "http://www.roblox.com/asset/?id=917750924" | |
1003 | return O1 | |
1004 | end | |
1005 | ||
1006 | local EyeSizes = { | |
1007 | NumberSequenceKeypoint.new(0, 1, 0), | |
1008 | NumberSequenceKeypoint.new(1, 0, 0) | |
1009 | } | |
1010 | local PE = Instance.new("ParticleEmitter") | |
1011 | PE.LightEmission = 0.8 | |
1012 | PE.Color = ColorSequence.new(BRICKC("Gold").Color) | |
1013 | PE.Size = NumberSequence.new(EyeSizes) | |
1014 | PE.Lifetime = NumberRange.new(0.35, 0.35, 0.35) | |
1015 | PE.Rotation = NumberRange.new(0, 360) | |
1016 | PE.Transparency = NumberSequence.new(0.9) | |
1017 | PE.Rate = 999 | |
1018 | PE.VelocitySpread = 10000 | |
1019 | PE.Acceleration = Vector3.new(0, 75, 0) | |
1020 | PE.Drag = 5 | |
1021 | PE.Speed = NumberRange.new(6, 6) | |
1022 | PE.Texture = "http://www.roblox.com/asset/?id=1351966707" | |
1023 | PE.ZOffset = -1.5 | |
1024 | PE.Name = "OVERLORDAURA" | |
1025 | ||
1026 | function particles(art) | |
1027 | PE:Clone().Parent = art | |
1028 | end | |
1029 | ||
1030 | BaseLightning = IT("Part") | |
1031 | BaseLightning.Anchored = true | |
1032 | BaseLightning.CanCollide = false | |
1033 | BaseLightning.Material = "Neon" | |
1034 | local LightningBolts = {} | |
1035 | function Zap(Table) | |
1036 | local StartPos, TargetPos, Character, Color = Table.StartPosition, Table.TargetPosition, Table.Character, Table.Color | |
1037 | local Duration = Table.Duration or 2 | |
1038 | local Offset = Table.Offset or 2 | |
1039 | local Individualize = Table.Individualize or false | |
1040 | local MaxRange = Table.MaxRange or 200 | |
1041 | local SegmentLength = Table.SegmentLength or 5 | |
1042 | local Transparency = Table.Transparency or 0 | |
1043 | local Ignore = Table.Ignore or {} | |
1044 | local SIZE = Table.SIZE or 0.3 | |
1045 | if not (StartPos and TargetPos) or not Character then | |
1046 | return | |
1047 | end | |
1048 | local LightningModel = IT("Folder", Effects) | |
1049 | LightningModel.Name = "ZAPP" | |
1050 | for i, v in pairs({Character, LightningModel}) do | |
1051 | table.insert(Ignore, v) | |
1052 | end | |
1053 | local LastPos = StartPos | |
1054 | local Direction = CFrame.new(StartPos, TargetPos).lookVector | |
1055 | local RayHit, RayPos, RayNormal = CastZapRay(StartPos, Direction, MaxRange, Ignore, false) | |
1056 | local RayLength = (StartPos - RayPos).Magnitude | |
1057 | local Struck = false | |
1058 | local TotalSegments = math.ceil(RayLength / SegmentLength) | |
1059 | Direction = CFrame.new(StartPos, RayPos).lookVector | |
1060 | local LightningBolt = IT("Model", Effects) | |
1061 | LightningBolt.Name = "Lightning" | |
1062 | if not Individualize then | |
1063 | table.insert(LightningBolts, LightningBolt) | |
1064 | end | |
1065 | LastBolt = LightningBolt | |
1066 | Debris:AddItem(LightningBolt, Duration) | |
1067 | LightningBolt.Parent = LightningModel | |
1068 | for i = 1, TotalSegments do | |
1069 | if not Struck then | |
1070 | local Entropy = Vector3.new(math.random() * Offset * 2.5 - Offset, math.random() * Offset * 2.5 - Offset, math.random() * Offset * 2.5 - Offset) | |
1071 | local NewPos = StartPos + Direction * (RayLength * (i / TotalSegments)) + Entropy | |
1072 | local SegmentVec = NewPos - LastPos | |
1073 | local RayHit, RayPos, RayNormal = CastZapRay(LastPos, SegmentVec.Unit, SegmentVec.Magnitude, {Character, LightningModel}, false) | |
1074 | local RayVec = LastPos - RayPos | |
1075 | local LightningPart = BaseLightning:Clone() | |
1076 | LightningPart.BrickColor = BrickColor.new(Color) | |
1077 | LightningPart.Transparency = Transparency | |
1078 | LightningPart.Size = Vector3.new(SIZE, SIZE, RayVec.Magnitude) | |
1079 | LightningPart.CFrame = CFrame.new(LastPos, RayPos) * CFrame.new(0, 0, -(RayVec.Magnitude / 2)) | |
1080 | table.insert(Effects2, { | |
1081 | LightningPart, | |
1082 | "Disappear", | |
1083 | 0.025, | |
1084 | 1, | |
1085 | 1, | |
1086 | 1, | |
1087 | 2 | |
1088 | }) | |
1089 | local CylinderMesh = IT("CylinderMesh", LightningPart) | |
1090 | local OrigCF = LightningPart.CFrame | |
1091 | LightningPart.Size = Vector3.new(LightningPart.Size.X, LightningPart.Size.Z, LightningPart.Size.Y) | |
1092 | LightningPart.CFrame = OrigCF * CFrame.Angles(math.pi / 2, 0, 0) | |
1093 | LightningPart.Parent = LightningBolt | |
1094 | LastPos = NewPos | |
1095 | end | |
1096 | end | |
1097 | return { | |
1098 | RayHit = RayHit, | |
1099 | RayPos = RayPos, | |
1100 | RayNormal = RayNormal, | |
1101 | LightningModel = LightningModel | |
1102 | } | |
1103 | end | |
1104 | ||
1105 | function CreateWave(SIZE, WAIT, CFRAME, DOESROT, ROT, COLOR, GROW) | |
1106 | local wave = CreatePart(3, Effects, "Neon", 0, 0.5, BRICKC(COLOR), "Effect", VT(0, 0, 0)) | |
1107 | local mesh = CreateMesh("SpecialMesh", wave, "FileMesh", "20329976", "", SIZE, VT(0, 0, -SIZE.X / 8)) | |
1108 | wave.CFrame = CFRAME | |
1109 | coroutine.resume(coroutine.create(function(PART) | |
1110 | for i = 1, WAIT do | |
1111 | Swait() | |
1112 | mesh.Scale = mesh.Scale + GROW | |
1113 | mesh.Offset = VT(0, 0, -(mesh.Scale.X / 8)) | |
1114 | if DOESROT == true then | |
1115 | wave.CFrame = wave.CFrame * CFrame.fromEulerAnglesXYZ(0, ROT, 0) | |
1116 | end | |
1117 | wave.Transparency = wave.Transparency + 0.5 / WAIT | |
1118 | if wave.Transparency > 0.99 then | |
1119 | wave:remove() | |
1120 | end | |
1121 | end | |
1122 | end)) | |
1123 | end | |
1124 | ||
1125 | function CreateRing(SIZE, DOESROT, ROT, WAIT, CFRAME, COLOR, GROW) | |
1126 | local wave = CreatePart(3, Effects, "Neon", 0, 0.5, BRICKC(COLOR), "Effect", VT(0, 0, 0)) | |
1127 | local mesh = CreateMesh("SpecialMesh", wave, "FileMesh", "559831844", "", SIZE, VT(0, 0, 0)) | |
1128 | wave.CFrame = CFRAME | |
1129 | coroutine.resume(coroutine.create(function(PART) | |
1130 | for i = 1, WAIT do | |
1131 | Swait() | |
1132 | mesh.Scale = mesh.Scale + GROW | |
1133 | if DOESROT == true then | |
1134 | wave.CFrame = wave.CFrame * CFrame.fromEulerAnglesXYZ(0, ROT, 0) | |
1135 | end | |
1136 | wave.Transparency = wave.Transparency + 0.5 / WAIT | |
1137 | if wave.Transparency > 0.99 then | |
1138 | wave:remove() | |
1139 | end | |
1140 | end | |
1141 | end)) | |
1142 | end | |
1143 | ||
1144 | function AddChildrenToTable(FROM, PARENT, DIST, TABLE) | |
1145 | for _, c in pairs(PARENT:GetChildren()) do | |
1146 | if c.ClassName == "Model" then | |
1147 | if c ~= Character and c:FindFirstChildOfClass("Humanoid") and (c:FindFirstChild("Torso") or c:FindFirstChild("UpperTorso")) then | |
1148 | local HUMANOID = c:FindFirstChildOfClass("Humanoid") | |
1149 | local TORSO = c:FindFirstChild("Torso") or c:FindFirstChild("UpperTorso") | |
1150 | if DIST > (TORSO.Position - FROM).Magnitude then | |
1151 | table.insert(TABLE, c) | |
1152 | end | |
1153 | AddChildrenToTable(FROM, c, DIST, TABLE) | |
1154 | elseif c.ClassName == "Folder" then | |
1155 | AddChildrenToTable(FROM, c, DIST, TABLE) | |
1156 | end | |
1157 | end | |
1158 | end | |
1159 | end | |
1160 | ||
1161 | local ATTACKTAUNTS = { | |
1162 | "907329893", | |
1163 | "907329532", | |
1164 | "907333294", | |
1165 | "907332856" | |
1166 | } | |
1167 | local ULTTAUNTS = { | |
1168 | "907332997", | |
1169 | "907332670", | |
1170 | "907330103" | |
1171 | } | |
1172 | ||
1173 | function Lunar_Blast() | |
1174 | local HITBODIES = {} | |
1175 | local CENTER = CreatePart(3, Effects, "SmoothPlastic", 0, 1, "Relly red", "CenterPart", VT(0,0,0)) | |
1176 | 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) | |
1177 | CENTER.CFrame = CF(ECH) | |
1178 | local RAY = CreatePart(3, Effects, "Neon", 0, 1, "Relly red", "Laser01", VT(25,99999,25)) | |
1179 | RAY.Color = C3(0.05,0.05,0.15) | |
1180 | MakeForm(RAY,"Cyl") | |
1181 | RAY.CFrame = CF(ECH) | |
1182 | for i = 1, 75 do | |
1183 | Swait() | |
1184 | RAY.Transparency = RAY.Transparency - 1/75 | |
1185 | RAY.Size = RAY.Size - VT(25/75,0,25/75) | |
1186 | 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)) | |
1187 | end | |
1188 | killnearest(ECH,25,25) | |
1189 | MagicSphere(VT(0,0,0),55,CF(ECH),C3(0.05,0.05,0.15),VT(2,2,2)) | |
1190 | for i = 1, 25 do | |
1191 | 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)) | |
1192 | end | |
1193 | CreateSound("168586621", CENTER, 10, 0.8) | |
1194 | RAY:remove() | |
1195 | Debris:AddItem(CENTER,5) | |
1196 | end | |
1197 | ||
1198 | function Star_Cutter() | |
1199 | local HITFLOOR,HITPOS,NORMAL = Raycast(RootPart.Position, (CF(RootPart.Position, RootPart.Position + VT(0, -1, 0))).lookVector, 7 * Player_Size, Character) | |
1200 | if HITFLOOR ~= nil then | |
1201 | ATTACK = true | |
1202 | Rooted = true | |
1203 | local GYRO = IT("BodyGyro",RootPart) | |
1204 | GYRO.D = 100 | |
1205 | GYRO.P = 2000 | |
1206 | GYRO.MaxTorque = VT(0,4000000,0) | |
1207 | GYRO.cframe = CF(RootPart.Position,Mouse.Hit.p) | |
1208 | CreateSound("429459101", RightArm, 10, 0.8) | |
1209 | for i=0, 3.5, 0.1 / Animation_Speed do | |
1210 | Swait() | |
1211 | GYRO.cframe = CF(RootPart.Position,Mouse.Hit.p) | |
1212 | 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)) | |
1213 | 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) | |
1214 | 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) | |
1215 | 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) | |
1216 | 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) | |
1217 | 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) | |
1218 | 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) | |
1219 | end | |
1220 | GYRO:remove() | |
1221 | for i=0, 0.15, 0.1 / Animation_Speed do | |
1222 | Swait() | |
1223 | GYRO.cframe = CF(RootPart.Position,Mouse.Hit.p) | |
1224 | 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)) | |
1225 | 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) | |
1226 | 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) | |
1227 | 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) | |
1228 | 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) | |
1229 | 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) | |
1230 | 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) | |
1231 | end | |
1232 | local BOMBSPOTS = {} | |
1233 | for i = 1, 25 do | |
1234 | local SPOT = CreatePart(3, Effects, "Neon", 0, 0, "Relly blue", "Blade", VT(8,1,8)) | |
1235 | SPOT.Color = SKILLTEXTCOLOR | |
1236 | SPOT.CFrame = RootPart.CFrame*CF((MRANDOM(-15,15)/40)*i,-5,-i*5) | |
1237 | table.insert(BOMBSPOTS,SPOT) | |
1238 | MakeForm(SPOT,"Cyl") | |
1239 | end | |
1240 | for i=0, 0.2, 0.1 / Animation_Speed do | |
1241 | Swait() | |
1242 | 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) | |
1243 | 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) | |
1244 | 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) | |
1245 | 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) | |
1246 | 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) | |
1247 | 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) | |
1248 | end | |
1249 | ATTACK = false | |
1250 | Rooted = false | |
1251 | coroutine.resume(coroutine.create(function() | |
1252 | Swait(3) | |
1253 | for i = 1, #BOMBSPOTS do | |
1254 | if BOMBSPOTS[i] ~= nil then | |
1255 | local E = BOMBSPOTS[i] | |
1256 | coroutine.resume(coroutine.create(function() | |
1257 | local BLADE = CreatePart(3, Effects, "SmoothPlastic", 0, 1, "Relly blue", "Blade", VT(0,0,0)) | |
1258 | BLADE.Color = SKILLTEXTCOLOR | |
1259 | CreateMesh("SpecialMesh", BLADE, "FileMesh", "93108071", "", VT(0.6,1,0.4)*3, VT(0,0,0)) | |
1260 | CreateSound(HITWEAPONSOUNDS[MRANDOM(1,#HITWEAPONSOUNDS)], BLADE, 4, 0.6) | |
1261 | BLADE.CFrame = E.CFrame*CF(0,-3,0)*ANGLES(RAD(MRANDOM(-15,15)),RAD(90),RAD(MRANDOM(-15,15))) | |
1262 | for i = 1, 10 do | |
1263 | Swait() | |
1264 | 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)) | |
1265 | killnearest(BLADE.Position,6,80) | |
1266 | BLADE.CFrame = BLADE.CFrame*CF(0,0.3,0) | |
1267 | BLADE.Transparency = BLADE.Transparency - 0.1 | |
1268 | end | |
1269 | Swait(45) | |
1270 | for i = 1, 100 do | |
1271 | Swait() | |
1272 | BLADE.Transparency = BLADE.Transparency + 0.01 | |
1273 | E.Transparency = E.Transparency + 0.01 | |
1274 | end | |
1275 | BLADE:remove() | |
1276 | E:remove() | |
1277 | end)) | |
1278 | end | |
1279 | end | |
1280 | end)) | |
1281 | end | |
1282 | end | |
1283 | ||
1284 | function Supernova() | |
1285 | local HITFLOOR,HITPOS,NORMAL = Raycast(RootPart.Position, (CF(RootPart.Position, RootPart.Position + VT(0, -1, 0))).lookVector, 7 * Player_Size, Character) | |
1286 | if HITFLOOR ~= nil then | |
1287 | local HITBODIES = {} | |
1288 | ATTACK = true | |
1289 | Rooted = true | |
1290 | local ABSOLUTE = CreatePart(3, Effects, "Neon", 0, 1, "Relly red", "Star", VT(0,0,0)) | |
1291 | MakeForm(ABSOLUTE,"Ball") | |
1292 | CreateSound("429459101", ABSOLUTE, 10, 1) | |
1293 | for i=0, 4, 0.1 / Animation_Speed do | |
1294 | Swait() | |
1295 | ABSOLUTE.Size = ABSOLUTE.Size + VT(0.2,0.2,0.2) | |
1296 | ABSOLUTE.CFrame = RootPart.CFrame*CF(0,5+(ABSOLUTE.Size.Y/2),0) | |
1297 | ABSOLUTE.Transparency = ABSOLUTE.Transparency - 0.01 | |
1298 | local CHARGE = CreatePart(3, Effects, "Neon", 0, 0, "Really red", "Star", VT(1,1,1)) | |
1299 | MakeForm(CHARGE,"Ball") | |
1300 | CHARGE.Color = C3(1,1,1) | |
1301 | CHARGE.CFrame = CF(RootPart.Position) * CF(MRANDOM(-15,15),-6,MRANDOM(-15,15)) | |
1302 | FireArc(CHARGE,ABSOLUTE.Position,45,45,true) | |
1303 | 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) | |
1304 | 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) | |
1305 | 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) | |
1306 | 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) | |
1307 | 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) | |
1308 | 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) | |
1309 | end | |
1310 | CreateSound("907330103", Head, 10, 1.2) | |
1311 | for i = 1, 75 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(15 + 2.5 * SIN(SINE / 12))), 1 / Animation_Speed) | |
1314 | 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) | |
1315 | 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) | |
1316 | 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) | |
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 | coroutine.resume(coroutine.create(function() | |
1321 | for i = 1, 13 do | |
1322 | for e = 1, 8 do | |
1323 | Swait() | |
1324 | 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)) | |
1325 | CreateSwirl(ABSOLUTE.Size/2,15,CF(HITPOS),true,15,BRICKC"Slime green".Color,VT(i,0.3,i)*2) | |
1326 | end | |
1327 | for i = 1, 5 do | |
1328 | 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) | |
1329 | 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)) | |
1330 | end | |
1331 | CreateSwirl(ABSOLUTE.Size/2,25,CF(ABSOLUTE.Position),true,-25,BRICKC"Relly red".Color,VT(i,i*2,i)) | |
1332 | CreateSwirl(ABSOLUTE.Size/2,55,CF(ABSOLUTE.Position),true,25,C3(0.05,0.05,0.15),VT(i,i*2,i)) | |
1333 | CreateSound("168586621", ABSOLUTE, 4, 0.8) | |
1334 | CreateSound("201858144", ABSOLUTE, 10, 0.8) | |
1335 | killnearest(ABSOLUTE.Position,i*18,i) | |
1336 | ABSOLUTE.Size = ABSOLUTE.Size*0.9 | |
1337 | MagicSphere(ABSOLUTE.Size,25,CF(ABSOLUTE.Position),BRICKC"Relly red".Color,VT(i,i,i)/1.1) | |
1338 | MagicSphere(ABSOLUTE.Size,45,CF(ABSOLUTE.Position),C3(0.05,0.05,0.15),VT(i,i,i)) | |
1339 | end | |
1340 | ABSOLUTE.Transparency = 1 | |
1341 | Debris:AddItem(ABSOLUTE,10) | |
1342 | end)) | |
1343 | ATTACK = false | |
1344 | Rooted = false | |
1345 | end | |
1346 | end | |
1347 | ||
1348 | local Decal = IT("Decal") | |
1349 | ||
1350 | function Astral_Hop() | |
1351 | ATTACK = true | |
1352 | Rooted = false | |
1353 | local O1 = CreatePart(3, Effects, "Neon", 0, 1, "Really red", "Warphole", VT(0,0,0)) | |
1354 | O1.CFrame = RootPart.CFrame*CF(0,0,-3)*ANGLES(RAD(90),RAD(0),RAD(0)) | |
1355 | local decal = Decal:Clone() | |
1356 | decal.Parent = O1 | |
1357 | decal.Face = "Top" | |
1358 | decal.Texture = "http://www.roblox.com/asset/?id=349165228" | |
1359 | local decal2 = Decal:Clone() | |
1360 | decal2.Parent = O1 | |
1361 | decal2.Face = "Bottom" | |
1362 | decal2.Texture = "http://www.roblox.com/asset/?id=349165228" | |
1363 | local O2 = CreatePart(3, Effects, "Neon", 0, 1, "Really red", "Warphole", VT(0,0,0)) | |
1364 | local POS = VT(RootPart.Position.X,Mouse.Hit.p.Y+6,RootPart.Position.Z) | |
1365 | O2.CFrame = CF(Mouse.Hit.p+VT(0,6,0),POS)*ANGLES(RAD(90),RAD(0),RAD(0)) | |
1366 | local ROOT = CreatePart(3, Effects, "Neon", 0, 1, "Really red", "Warphole", VT(0,0,0)) | |
1367 | ROOT.CFrame = CF(O2.Position,RootPart.Position) | |
1368 | local decal = Decal:Clone() | |
1369 | decal.Parent = O2 | |
1370 | decal.Face = "Top" | |
1371 | decal.Texture = "http://www.roblox.com/asset/?id=349165228" | |
1372 | local decal2 = Decal:Clone() | |
1373 | decal2.Parent = O2 | |
1374 | decal2.Face = "Bottom" | |
1375 | decal2.Texture = "http://www.roblox.com/asset/?id=349165228" | |
1376 | CreateSound("84005018", O1, 10, 0.7) | |
1377 | CreateSound("84005018", O2, 10, 0.7) | |
1378 | for i = 1, 75 do | |
1379 | Swait() | |
1380 | O1.Size = O1.Size + VT(0.1,0,0.1) | |
1381 | O1.CFrame = RootPart.CFrame*CF(0,0,-3)*ANGLES(RAD(90),RAD(i),RAD(0)) | |
1382 | O2.Size = O2.Size + VT(0.1,0,0.1) | |
1383 | O2.CFrame = O2.CFrame*ANGLES(RAD(0),RAD(i),RAD(0)) | |
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(5 + 2.5 * SIN(SINE / 12))), 1 / Animation_Speed) | |
1385 | 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) | |
1386 | 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) | |
1387 | 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) | |
1388 | 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) | |
1389 | 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) | |
1390 | end | |
1391 | Rooted = true | |
1392 | UNANCHOR = false | |
1393 | RootPart.Anchored = true | |
1394 | VALUE1 = true | |
1395 | for i = 1, 15 do | |
1396 | Transparency(i/15) | |
1397 | Swait() | |
1398 | RootPart.CFrame = RootPart.CFrame*CF(0,0,-0.13) | |
1399 | 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) | |
1400 | 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) | |
1401 | 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) | |
1402 | 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) | |
1403 | 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) | |
1404 | 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) | |
1405 | end | |
1406 | RootPart.CFrame = ROOT.CFrame | |
1407 | ROOT:remove() | |
1408 | for i = 1, 15 do | |
1409 | Transparency(1-(i/15)) | |
1410 | Swait() | |
1411 | RootPart.CFrame = RootPart.CFrame*CF(0,0,-0.5) | |
1412 | 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) | |
1413 | 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) | |
1414 | 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) | |
1415 | 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) | |
1416 | 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) | |
1417 | 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) | |
1418 | end | |
1419 | VALUE1 = false | |
1420 | coroutine.resume(coroutine.create(function() | |
1421 | for i = 1, 75 do | |
1422 | Swait() | |
1423 | O1.Size = O1.Size - VT(0.1,0,0.1) | |
1424 | O1.CFrame = O1.CFrame*ANGLES(RAD(0),RAD(i),RAD(0)) | |
1425 | O2.Size = O2.Size - VT(0.1,0,0.1) | |
1426 | O2.CFrame = O2.CFrame*ANGLES(RAD(0),RAD(i),RAD(0)) | |
1427 | end | |
1428 | O1:remove() | |
1429 | O2:remove() | |
1430 | end)) | |
1431 | UNANCHOR = true | |
1432 | RootPart.Anchored = false | |
1433 | ATTACK = false | |
1434 | Rooted = false | |
1435 | end | |
1436 | ||
1437 | function WACKYEFFECT(Table) | |
1438 | local TYPE = (Table.EffectType or "Sphere") | |
1439 | local SIZE = (Table.Size or VT(1,1,1)) | |
1440 | local ENDSIZE = (Table.Size2 or VT(0,0,0)) | |
1441 | local TRANSPARENCY = (Table.Transparency or 0) | |
1442 | local ENDTRANSPARENCY = (Table.Transparency2 or 1) | |
1443 | local CFRAME = (Table.CFrame or Torso.CFrame) | |
1444 | local MOVEDIRECTION = (Table.MoveToPos or nil) | |
1445 | local ROTATION1 = (Table.RotationX or 0) | |
1446 | local ROTATION2 = (Table.RotationY or 0) | |
1447 | local ROTATION3 = (Table.RotationZ or 0) | |
1448 | local MATERIAL = (Table.Material or "Neon") | |
1449 | local COLOR = (Table.Color or C3(1,1,1)) | |
1450 | local TIME = (Table.Time or 45) | |
1451 | local SOUNDID = (Table.SoundID or nil) | |
1452 | local SOUNDPITCH = (Table.SoundPitch or nil) | |
1453 | local SOUNDVOLUME = (Table.SoundVolume or nil) | |
1454 | coroutine.resume(coroutine.create(function() | |
1455 | local PLAYSSOUND = false | |
1456 | local SOUND = nil | |
1457 | local EFFECT = CreatePart(3, Effects, MATERIAL, 0, TRANSPARENCY, BRICKC("Pearl"), "Effect", VT(1,1,1), true) | |
1458 | if SOUNDID ~= nil and SOUNDPITCH ~= nil and SOUNDVOLUME ~= nil then | |
1459 | PLAYSSOUND = true | |
1460 | SOUND = CreateSound(SOUNDID, EFFECT, SOUNDVOLUME, SOUNDPITCH, false) | |
1461 | end | |
1462 | EFFECT.Color = COLOR | |
1463 | local MSH = nil | |
1464 | if TYPE == "Sphere" then | |
1465 | MSH = CreateMesh("SpecialMesh", EFFECT, "Sphere", "", "", SIZE, VT(0,0,0)) | |
1466 | elseif TYPE == "Block" or TYPE == "Box" then | |
1467 | MSH = IT("BlockMesh",EFFECT) | |
1468 | MSH.Scale = SIZE | |
1469 | elseif TYPE == "Wave" then | |
1470 | MSH = CreateMesh("SpecialMesh", EFFECT, "FileMesh", "20329976", "", SIZE, VT(0,0,-SIZE.X/8)) | |
1471 | elseif TYPE == "Ring" then | |
1472 | MSH = CreateMesh("SpecialMesh", EFFECT, "FileMesh", "559831844", "", VT(SIZE.X,SIZE.X,0.1), VT(0,0,0)) | |
1473 | elseif TYPE == "Slash" then | |
1474 | MSH = CreateMesh("SpecialMesh", EFFECT, "FileMesh", "662586858", "", VT(SIZE.X/10,0,SIZE.X/10), VT(0,0,0)) | |
1475 | elseif TYPE == "Round Slash" then | |
1476 | MSH = CreateMesh("SpecialMesh", EFFECT, "FileMesh", "662585058", "", VT(SIZE.X/10,0,SIZE.X/10), VT(0,0,0)) | |
1477 | elseif TYPE == "Swirl" then | |
1478 | MSH = CreateMesh("SpecialMesh", EFFECT, "FileMesh", "1051557", "", SIZE, VT(0,0,0)) | |
1479 | elseif TYPE == "Skull" then | |
1480 | MSH = CreateMesh("SpecialMesh", EFFECT, "FileMesh", "4770583", "", SIZE, VT(0,0,0)) | |
1481 | elseif TYPE == "Crystal" then | |
1482 | MSH = CreateMesh("SpecialMesh", EFFECT, "FileMesh", "9756362", "", SIZE, VT(0,0,0)) | |
1483 | end | |
1484 | if MSH ~= nil then | |
1485 | local MOVESPEED = nil | |
1486 | if MOVEDIRECTION ~= nil then | |
1487 | MOVESPEED = (CFRAME.p - MOVEDIRECTION).Magnitude/TIME | |
1488 | end | |
1489 | local GROWTH = SIZE - ENDSIZE | |
1490 | local TRANS = TRANSPARENCY - ENDTRANSPARENCY | |
1491 | if TYPE == "Block" then | |
1492 | EFFECT.CFrame = CFRAME*ANGLES(RAD(MRANDOM(0,360)),RAD(MRANDOM(0,360)),RAD(MRANDOM(0,360))) | |
1493 | else | |
1494 | EFFECT.CFrame = CFRAME | |
1495 | end | |
1496 | for LOOP = 1, TIME+1 do | |
1497 | Swait() | |
1498 | MSH.Scale = MSH.Scale - GROWTH/TIME | |
1499 | if TYPE == "Wave" then | |
1500 | MSH.Offset = VT(0,0,-MSH.Scale.X/8) | |
1501 | end | |
1502 | EFFECT.Transparency = EFFECT.Transparency - TRANS/TIME | |
1503 | if TYPE == "Block" then | |
1504 | EFFECT.CFrame = CFRAME*ANGLES(RAD(MRANDOM(0,360)),RAD(MRANDOM(0,360)),RAD(MRANDOM(0,360))) | |
1505 | else | |
1506 | EFFECT.CFrame = EFFECT.CFrame*ANGLES(RAD(ROTATION1),RAD(ROTATION2),RAD(ROTATION3)) | |
1507 | end | |
1508 | if MOVEDIRECTION ~= nil then | |
1509 | local ORI = EFFECT.Orientation | |
1510 | EFFECT.CFrame = CF(EFFECT.Position,MOVEDIRECTION)*CF(0,0,-MOVESPEED) | |
1511 | EFFECT.Orientation = ORI | |
1512 | end | |
1513 | end | |
1514 | if PLAYSSOUND == false then | |
1515 | EFFECT:remove() | |
1516 | else | |
1517 | repeat wait(1) until SOUND.Playing == false | |
1518 | EFFECT:remove() | |
1519 | end | |
1520 | else | |
1521 | if PLAYSSOUND == false then | |
1522 | EFFECT:remove() | |
1523 | else | |
1524 | repeat Swait() until SOUND.Playing == false | |
1525 | EFFECT:remove() | |
1526 | end | |
1527 | end | |
1528 | end)) | |
1529 | end | |
1530 | ||
1531 | function PhForm() | |
1532 | ATTACK = true | |
1533 | Rooted = true | |
1534 | local HITFLOOR,HITPOS = Raycast(RootPart.Position, (CF(RootPart.Position, RootPart.Position + VT(0, -1, 0))).lookVector, 25*SIZE, Character) | |
1535 | if MODE == "Main" then | |
1536 | sick.SoundId = "rbxassetid://1418800825" | |
1537 | sick.Volume = 3 | |
1538 | sick.Pitch = 1 | |
1539 | sick.TimePosition = 1 | |
1540 | for _, c in pairs(Character:GetChildren()) do | |
1541 | if c.ClassName == "Part" then | |
1542 | c.Material = "Neon" | |
1543 | if c:FindFirstChildOfClass("ParticleEmitter") then | |
1544 | c:FindFirstChildOfClass("ParticleEmitter"):remove() | |
1545 | end | |
1546 | if c == Head then | |
1547 | local M = CreateMesh("SpecialMesh", c, "FileMesh", "21057410", "1393532942", VT(1, 1, 1) * 1.1, VT(0, 0, 0)) | |
1548 | M.Name = "Dominus" | |
1549 | if c:FindFirstChild("face") then | |
1550 | c.face:remove() | |
1551 | end | |
1552 | end | |
1553 | end | |
1554 | end | |
1555 | BodyColor = C3(1, 1, 1) | |
1556 | LegColor = C3(0.7372549019607844, 0.6078431372549019, 0.36470588235294116) | |
1557 | ArmColor = C3(0.9372549019607843, 0.7215686274509804, 0.2196078431372549) | |
1558 | -- Animation -- | |
1559 | coroutine.resume(coroutine.create(function() | |
1560 | end)) | |
1561 | for i=0, 1.5, 0.1 / Animation_Speed do | |
1562 | Swait() | |
1563 | 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) | |
1564 | Neck.C0 = Clerp(Neck.C0, NECKC0 * CF(0, 0, 0 + ((1.25*SIZE) - 1)) * ANGLES(RAD(35), RAD(0), RAD(0)), 1 / Animation_Speed) | |
1565 | RightShoulder.C0 = Clerp(RightShoulder.C0, CF(1.5*SIZE, 0.5*SIZE, 0) * ANGLES(RAD(80), RAD(75), RAD(0)) * RIGHTSHOULDERC0, 1 / Animation_Speed) | |
1566 | LeftShoulder.C0 = Clerp(LeftShoulder.C0, CF(-1.5*SIZE, 0.5*SIZE, 0) * ANGLES(RAD(0), RAD(0), RAD(-25)) * LEFTSHOULDERC0, 1 / Animation_Speed) | |
1567 | 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) | |
1568 | 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) | |
1569 | end | |
1570 | MODE = "Phaedra" | |
1571 | SKILLTEXTCOLOR = C3(0.7372549019607844, 0.6078431372549019, 0.36470588235294116) | |
1572 | SKILLTEXTCOLOR2 = C3(1,1,1) | |
1573 | firesound.Volume = 2 | |
1574 | Weapon2.Parent = Character | |
1575 | for i=0, 1.5, 0.1 / Animation_Speed do | |
1576 | Swait() | |
1577 | 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) | |
1578 | ||
1579 | Neck.C0 = Clerp(Neck.C0, NECKC0 * CF(0, 0, 0 + ((1.25*SIZE) - 1)) * ANGLES(RAD(35), RAD(0), RAD(0)), 1 / Animation_Speed) | |
1580 | RightShoulder.C0 = Clerp(RightShoulder.C0, CF(1.5*SIZE, 0.5*SIZE, 0) * ANGLES(RAD(0), RAD(0), RAD(90)) * RIGHTSHOULDERC0, 1 / Animation_Speed) | |
1581 | LeftShoulder.C0 = Clerp(LeftShoulder.C0, CF(-1.5*SIZE, 0.5*SIZE, 0) * ANGLES(RAD(0), RAD(0), RAD(-25)) * LEFTSHOULDERC0, 1 / Animation_Speed) | |
1582 | 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) | |
1583 | 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) | |
1584 | end | |
1585 | Speed = 20 | |
1586 | tecks2.Text = "Dominus Phaedra" | |
1587 | elseif MODE == "Phaedra" then | |
1588 | firesound.Volume = 0 | |
1589 | Weapon2.Parent = nil | |
1590 | CreateSound(147722227, Torso, 4, 1.3, false) | |
1591 | sick.SoundId = "rbxassetid://195900687" | |
1592 | sick.Volume = 4 | |
1593 | sick.Pitch = 1 | |
1594 | sick.TimePosition = 20.7 | |
1595 | for _, c in pairs(Character:GetChildren()) do | |
1596 | if c.ClassName == "Part" then | |
1597 | c.Material = "Neon" | |
1598 | if c:FindFirstChildOfClass("ParticleEmitter") then | |
1599 | c:FindFirstChildOfClass("ParticleEmitter"):remove() | |
1600 | end | |
1601 | if c == Torso then | |
1602 | c.Color = C3(0,0,0) | |
1603 | elseif c == RightArm then | |
1604 | c.Color = C3(0.05,0.05,0.15) | |
1605 | elseif c == LeftArm then | |
1606 | c.Color = C3(0.05,0.05,0.15) | |
1607 | elseif c == RightLeg then | |
1608 | c.Color = C3(0,0,0.05) | |
1609 | elseif c == LeftLeg then | |
1610 | c.Color = C3(0,0,0.05) | |
1611 | elseif c == Head then | |
1612 | local M = CreateMesh("SpecialMesh", c, "FileMesh", "162384581", "162384608", VT(1,1,1)*1.1, VT(0,0,0)) | |
1613 | M.Name = "Dominus" | |
1614 | if c:FindFirstChild("face") then | |
1615 | c.face:remove() | |
1616 | ||
1617 | end | |
1618 | end | |
1619 | elseif c.ClassName == "Shirt" or c.ClassName == "Pants" or c.ClassName == "CharacterMesh" or c.ClassName == "Accessory" or c.Name == "Body Colors" then | |
1620 | c:remove() | |
1621 | end | |
1622 | end | |
1623 | 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}) | |
1624 | 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}) | |
1625 | Swait(15) | |
1626 | Speed = 16 | |
1627 | MODE = "Main" | |
1628 | BodyColor = C3(0,0,0) | |
1629 | LegColor = C3(0,0,0.05) | |
1630 | ArmColor = C3(0.05,0.05,0.15) | |
1631 | end | |
1632 | ATTACK = false | |
1633 | Rooted = false | |
1634 | end | |
1635 | ||
1636 | function TeForm() | |
1637 | ATTACK = true | |
1638 | Rooted = true | |
1639 | local HITFLOOR,HITPOS = Raycast(RootPart.Position, (CF(RootPart.Position, RootPart.Position + VT(0, -1, 0))).lookVector, 25*SIZE, Character) | |
1640 | if MODE == "Main" then | |
1641 | sick.SoundId = "rbxassetid://926658175" | |
1642 | sick.Volume = 3 | |
1643 | sick.Pitch = 1 | |
1644 | sick.TimePosition = 1 | |
1645 | for _, c in pairs(Character:GetChildren()) do | |
1646 | if c.ClassName == "Part" then | |
1647 | c.Material = "Neon" | |
1648 | if c:FindFirstChildOfClass("ParticleEmitter") then | |
1649 | c:FindFirstChildOfClass("ParticleEmitter"):remove() | |
1650 | end | |
1651 | if c == Head then | |
1652 | local M = CreateMesh("SpecialMesh", c, "FileMesh", "21057410", "142151506", VT(1, 1, 1) * 1.1, VT(0, 0, 0)) | |
1653 | M.Name = "Dominus" | |
1654 | if c:FindFirstChild("face") then | |
1655 | c.face:remove() | |
1656 | end | |
1657 | end | |
1658 | end | |
1659 | end | |
1660 | BodyColor = C3(0,0,0) | |
1661 | LegColor = C3(0,0,0) | |
1662 | ArmColor = C3(0.05,0.05,0.05) | |
1663 | SKILLTEXTCOLOR = C3(0.05,0.05,0.05) | |
1664 | SKILLTEXTCOLOR2 = C3(0,0,0) | |
1665 | -- Animation -- | |
1666 | coroutine.resume(coroutine.create(function() | |
1667 | end)) | |
1668 | CreateSound(363808674, Torso, 6, 1, false) | |
1669 | for i=0, 0.6, 0.1 / Animation_Speed do | |
1670 | Swait() | |
1671 | 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) | |
1672 | Neck.C0 = Clerp(Neck.C0, NECKC0 * CF(0, 0, 0 + ((1.25*SIZE) - 1)) * ANGLES(RAD(35), RAD(0), RAD(0)), 1 / Animation_Speed) | |
1673 | RightShoulder.C0 = Clerp(RightShoulder.C0, CF(1.25, 0.5, -0.5) * ANGLES(RAD(100), RAD(0), RAD(-50)) * RIGHTSHOULDERC0, 1 / Animation_Speed) | |
1674 | LeftShoulder.C0 = Clerp(LeftShoulder.C0, CF(-1.25, 0.35, -0.35) * ANGLES(RAD(70), RAD(0), RAD(60)) * LEFTSHOULDERC0, 1 / Animation_Speed) | |
1675 | 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) | |
1676 | 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) | |
1677 | end | |
1678 | for i=0, 0.6, 0.1 / Animation_Speed do | |
1679 | Swait() | |
1680 | 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) | |
1681 | ||
1682 | Neck.C0 = Clerp(Neck.C0, NECKC0 * CF(0, 0, 0 + ((1.25*SIZE) - 1)) * ANGLES(RAD(35), RAD(0), RAD(0)), 1 / Animation_Speed) | |
1683 | RightShoulder.C0 = Clerp(RightShoulder.C0, CF(1.25, 0.5, -0.5) * ANGLES(RAD(100), RAD(0), RAD(-90)) * RIGHTSHOULDERC0, 1 / Animation_Speed) | |
1684 | LeftShoulder.C0 = Clerp(LeftShoulder.C0, CF(-1.25, 0.35, -0.35) * ANGLES(RAD(70), RAD(0), RAD(90)) * LEFTSHOULDERC0, 1 / Animation_Speed) | |
1685 | 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) | |
1686 | 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) | |
1687 | end | |
1688 | MODE = "Tenebris" | |
1689 | tecks2.Text = "Dominus Tenebris" | |
1690 | SKILLTEXTCOLOR = C3(0.05,0,0) | |
1691 | SKILLTEXTCOLOR2 = C3(0,0,0) | |
1692 | Speed = 20 | |
1693 | elseif MODE == "Tenebris" then | |
1694 | CreateSound(147722227, Torso, 4, 1.3, false) | |
1695 | sick.SoundId = "rbxassetid://195900687" | |
1696 | sick.Volume = 4 | |
1697 | sick.Pitch = 1 | |
1698 | sick.TimePosition = 20.7 | |
1699 | for _, c in pairs(Character:GetChildren()) do | |
1700 | if c.ClassName == "Part" then | |
1701 | c.Material = "Neon" | |
1702 | if c:FindFirstChildOfClass("ParticleEmitter") then | |
1703 | c:FindFirstChildOfClass("ParticleEmitter"):remove() | |
1704 | end | |
1705 | if c == Torso then | |
1706 | c.Color = C3(0,0,0) | |
1707 | elseif c == RightArm then | |
1708 | c.Color = C3(0.05,0.05,0.15) | |
1709 | elseif c == LeftArm then | |
1710 | c.Color = C3(0.05,0.05,0.15) | |
1711 | elseif c == RightLeg then | |
1712 | c.Color = C3(0,0,0.05) | |
1713 | elseif c == LeftLeg then | |
1714 | c.Color = C3(0,0,0.05) | |
1715 | elseif c == Head then | |
1716 | local M = CreateMesh("SpecialMesh", c, "FileMesh", "162384581", "162384608", VT(1,1,1)*1.1, VT(0,0,0)) | |
1717 | M.Name = "Dominus" | |
1718 | if c:FindFirstChild("face") then | |
1719 | c.face:remove() | |
1720 | ||
1721 | end | |
1722 | end | |
1723 | elseif c.ClassName == "Shirt" or c.ClassName == "Pants" or c.ClassName == "CharacterMesh" or c.ClassName == "Accessory" or c.Name == "Body Colors" then | |
1724 | c:remove() | |
1725 | end | |
1726 | end | |
1727 | 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}) | |
1728 | 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}) | |
1729 | Swait(15) | |
1730 | Speed = 16 | |
1731 | MODE = "Main" | |
1732 | BodyColor = C3(0,0,0) | |
1733 | LegColor = C3(0,0,0.05) | |
1734 | ArmColor = C3(0.05,0.05,0.15) | |
1735 | end | |
1736 | ATTACK = false | |
1737 | Rooted = false | |
1738 | end | |
1739 | ||
1740 | function PrForm() | |
1741 | ATTACK = true | |
1742 | Rooted = true | |
1743 | local HITFLOOR,HITPOS = Raycast(RootPart.Position, (CF(RootPart.Position, RootPart.Position + VT(0, -1, 0))).lookVector, 25*SIZE, Character) | |
1744 | if MODE == "Main" then | |
1745 | sick.SoundId = "rbxassetid://859912308" | |
1746 | sick.Volume = 3 | |
1747 | sick.Pitch = 1 | |
1748 | sick.TimePosition = 1 | |
1749 | for _, c in pairs(Character:GetChildren()) do | |
1750 | if c.ClassName == "Part" then | |
1751 | c.Material = "Neon" | |
1752 | if c:FindFirstChildOfClass("ParticleEmitter") then | |
1753 | c:FindFirstChildOfClass("ParticleEmitter"):remove() | |
1754 | end | |
1755 | if c == Head then | |
1756 | local M = CreateMesh("SpecialMesh", c, "FileMesh", "527245069", "527244862", VT(1, 1, 1) * 1.1, VT(0, 0, 0)) | |
1757 | M.Name = "Dominus" | |
1758 | if c:FindFirstChild("face") then | |
1759 | c.face:remove() | |
1760 | end | |
1761 | end | |
1762 | end | |
1763 | end | |
1764 | BodyColor = C3(0,0,0) | |
1765 | LegColor = C3(0, 0.03, 0) | |
1766 | ArmColor = C3(0, 0.13, 0) | |
1767 | SKILLTEXTCOLOR = C3(0, 0.03, 0) | |
1768 | SKILLTEXTCOLOR2 = C3(0,0,0) | |
1769 | -- Animation -- | |
1770 | coroutine.resume(coroutine.create(function() | |
1771 | end)) | |
1772 | CreateSound(363808674, Torso, 6, 1, false) | |
1773 | MODE = "Praefectus" | |
1774 | tecks2.Text = "Dominus Praefectus" | |
1775 | Speed = 20 | |
1776 | elseif MODE == "Praefectus" then | |
1777 | CreateSound(147722227, Torso, 4, 1.3, false) | |
1778 | sick.SoundId = "rbxassetid://195900687" | |
1779 | sick.Volume = 4 | |
1780 | sick.Pitch = 1 | |
1781 | sick.TimePosition = 20.7 | |
1782 | for _, c in pairs(Character:GetChildren()) do | |
1783 | if c.ClassName == "Part" then | |
1784 | c.Material = "Neon" | |
1785 | if c:FindFirstChildOfClass("ParticleEmitter") then | |
1786 | c:FindFirstChildOfClass("ParticleEmitter"):remove() | |
1787 | end | |
1788 | if c == Torso then | |
1789 | c.Color = C3(0,0,0) | |
1790 | elseif c == RightArm then | |
1791 | c.Color = C3(0.05,0.05,0.15) | |
1792 | elseif c == LeftArm then | |
1793 | c.Color = C3(0.05,0.05,0.15) | |
1794 | elseif c == RightLeg then | |
1795 | c.Color = C3(0,0,0.05) | |
1796 | elseif c == LeftLeg then | |
1797 | c.Color = C3(0,0,0.05) | |
1798 | elseif c == Head then | |
1799 | local M = CreateMesh("SpecialMesh", c, "FileMesh", "162384581", "162384608", VT(1,1,1)*1.1, VT(0,0,0)) | |
1800 | M.Name = "Dominus" | |
1801 | if c:FindFirstChild("face") then | |
1802 | c.face:remove() | |
1803 | ||
1804 | end | |
1805 | end | |
1806 | elseif c.ClassName == "Shirt" or c.ClassName == "Pants" or c.ClassName == "CharacterMesh" or c.ClassName == "Accessory" or c.Name == "Body Colors" then | |
1807 | c:remove() | |
1808 | end | |
1809 | end | |
1810 | 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}) | |
1811 | 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}) | |
1812 | Swait(15) | |
1813 | Speed = 16 | |
1814 | MODE = "Main" | |
1815 | BodyColor = C3(0,0,0) | |
1816 | LegColor = C3(0,0,0.05) | |
1817 | ArmColor = C3(0.05,0.05,0.15) | |
1818 | end | |
1819 | ATTACK = false | |
1820 | Rooted = false | |
1821 | end | |
1822 | ||
1823 | function BaForm() | |
1824 | ATTACK = true | |
1825 | Rooted = true | |
1826 | local HITFLOOR,HITPOS = Raycast(RootPart.Position, (CF(RootPart.Position, RootPart.Position + VT(0, -1, 0))).lookVector, 25*SIZE, Character) | |
1827 | if MODE == "Main" then | |
1828 | sick.SoundId = "rbxassetid://1392856912" | |
1829 | sick.Volume = 10 | |
1830 | sick.Pitch = 0.97 | |
1831 | sick.TimePosition = 1 | |
1832 | for _, c in pairs(Character:GetChildren()) do | |
1833 | if c.ClassName == "Part" then | |
1834 | c.Material = "Neon" | |
1835 | if c:FindFirstChildOfClass("ParticleEmitter") then | |
1836 | c:FindFirstChildOfClass("ParticleEmitter"):remove() | |
1837 | end | |
1838 | if c == Head then | |
1839 | local M = CreateMesh("SpecialMesh", c, "FileMesh", "21057410", "65645429", VT(1, 1, 1) * 1.1, VT(0, 0, 0)) | |
1840 | M.Name = "Dominus" | |
1841 | if c:FindFirstChild("face") then | |
1842 | c.face:remove() | |
1843 | end | |
1844 | end | |
1845 | end | |
1846 | end | |
1847 | BodyColor = C3(0,0,0) | |
1848 | LegColor = C3(0.05,0,0) | |
1849 | ArmColor = C3(0.15,0.05,0.05) | |
1850 | -- Animation -- | |
1851 | coroutine.resume(coroutine.create(function() | |
1852 | end)) | |
1853 | for i=0, 2, 0.1 / Animation_Speed do | |
1854 | Swait() | |
1855 | CreateRing(VT(0,0,0.1),false,0,15,CF(HITPOS)*ANGLES(RAD(90),RAD(0),RAD(0)),"Dark red",VT(5,5,0)) | |
1856 | 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) | |
1857 | Neck.C0 = Clerp(Neck.C0, NECKC0 * CF(0, 0, 0 + ((1.25*SIZE) - 1)) * ANGLES(RAD(35), RAD(0), RAD(0)), 1 / Animation_Speed) | |
1858 | RightShoulder.C0 = Clerp(RightShoulder.C0, CF(1.75, 0.75, -1) * ANGLES(RAD(0), RAD(0), RAD(-90)) * RIGHTSHOULDERC0, 0.15 / Animation_Speed) | |
1859 | 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) | |
1860 | 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) | |
1861 | 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) | |
1862 | end | |
1863 | Weapon.Parent = Character | |
1864 | CreateSound(633627961, Character, 5, 1, false) | |
1865 | for i=0, 1, 0.1 / Animation_Speed do | |
1866 | Swait() | |
1867 | 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) | |
1868 | Neck.C0 = Clerp(Neck.C0, NECKC0 * CF(0, 0, 0 + ((1.25*SIZE) - 1)) * ANGLES(RAD(35), RAD(0), RAD(0)), 1 / Animation_Speed) | |
1869 | 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) | |
1870 | 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) | |
1871 | 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) | |
1872 | 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) | |
1873 | end | |
1874 | MODE = "Fugatrix" | |
1875 | SKILLTEXTCOLOR = C3(0.05,0,0) | |
1876 | SKILLTEXTCOLOR2 = C3(0,0,0) | |
1877 | tecks2.Text = "Dominus Fugatrix" | |
1878 | Speed = 30 | |
1879 | elseif MODE == "Fugatrix" then | |
1880 | Weapon.Parent = nil | |
1881 | CreateSound(147722227, Torso, 4, 1.3, false) | |
1882 | sick.SoundId = "rbxassetid://195900687" | |
1883 | sick.Volume = 4 | |
1884 | sick.Pitch = 1 | |
1885 | sick.TimePosition = 20.7 | |
1886 | for _, c in pairs(Character:GetChildren()) do | |
1887 | if c.ClassName == "Part" then | |
1888 | c.Material = "Neon" | |
1889 | if c:FindFirstChildOfClass("ParticleEmitter") then | |
1890 | c:FindFirstChildOfClass("ParticleEmitter"):remove() | |
1891 | end | |
1892 | if c == Torso then | |
1893 | c.Color = C3(0,0,0) | |
1894 | elseif c == RightArm then | |
1895 | c.Color = C3(0.05,0.05,0.15) | |
1896 | elseif c == LeftArm then | |
1897 | c.Color = C3(0.05,0.05,0.15) | |
1898 | elseif c == RightLeg then | |
1899 | c.Color = C3(0,0,0.05) | |
1900 | elseif c == LeftLeg then | |
1901 | c.Color = C3(0,0,0.05) | |
1902 | elseif c == Head then | |
1903 | local M = CreateMesh("SpecialMesh", c, "FileMesh", "162384581", "162384608", VT(1,1,1)*1.1, VT(0,0,0)) | |
1904 | M.Name = "Dominus" | |
1905 | if c:FindFirstChild("face") then | |
1906 | c.face:remove() | |
1907 | ||
1908 | end | |
1909 | end | |
1910 | elseif c.ClassName == "Shirt" or c.ClassName == "Pants" or c.ClassName == "CharacterMesh" or c.ClassName == "Accessory" or c.Name == "Body Colors" then | |
1911 | c:remove() | |
1912 | end | |
1913 | end | |
1914 | 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}) | |
1915 | 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}) | |
1916 | Swait(15) | |
1917 | Speed = 16 | |
1918 | MODE = "Main" | |
1919 | BodyColor = C3(0,0,0) | |
1920 | LegColor = C3(0,0,0.05) | |
1921 | ArmColor = C3(0.05,0.05,0.15) | |
1922 | end | |
1923 | ATTACK = false | |
1924 | Rooted = false | |
1925 | end | |
1926 | ||
1927 | function DeForm() | |
1928 | ATTACK = true | |
1929 | Rooted = true | |
1930 | local HITFLOOR,HITPOS = Raycast(RootPart.Position, (CF(RootPart.Position, RootPart.Position + VT(0, -1, 0))).lookVector, 25*SIZE, Character) | |
1931 | if MODE == "Main" then | |
1932 | sick.SoundId = "rbxassetid://1633982099" | |
1933 | sick.Volume = 10 | |
1934 | sick.Pitch = 0.97 | |
1935 | sick.TimePosition = 1 | |
1936 | for _, c in pairs(Character:GetChildren()) do | |
1937 | if c.ClassName == "Part" then | |
1938 | c.Material = "Neon" | |
1939 | if c:FindFirstChildOfClass("ParticleEmitter") then | |
1940 | c:FindFirstChildOfClass("ParticleEmitter"):remove() | |
1941 | end | |
1942 | if c == Head then | |
1943 | local M = CreateMesh("SpecialMesh", c, "FileMesh", "527245069", "1486164425", VT(1, 1, 1) * 1.1, VT(0, 0, 0)) | |
1944 | M.Name = "Dominus" | |
1945 | if c:FindFirstChild("face") then | |
1946 | c.face:remove() | |
1947 | end | |
1948 | end | |
1949 | end | |
1950 | end | |
1951 | BodyColor = C3(0,0,0) | |
1952 | LegColor = C3(0.03, 0, 0) | |
1953 | ArmColor = C3(0.13, 0, 0) | |
1954 | -- Animation -- | |
1955 | coroutine.resume(coroutine.create(function() | |
1956 | end)) | |
1957 | CreateSound(1238240145, Torso, 6, 1, false) | |
1958 | for i=0, 0.6, 0.1 / Animation_Speed do | |
1959 | Swait() | |
1960 | 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) | |
1961 | Neck.C0 = Clerp(Neck.C0, NECKC0 * CF(0, 0, 0 + ((1.25*SIZE) - 1)) * ANGLES(RAD(35), RAD(0), RAD(0)), 1 / Animation_Speed) | |
1962 | RightShoulder.C0 = Clerp(RightShoulder.C0, CF(1.25, 0.5, -0.5) * ANGLES(RAD(100), RAD(0), RAD(-50)) * RIGHTSHOULDERC0, 1 / Animation_Speed) | |
1963 | LeftShoulder.C0 = Clerp(LeftShoulder.C0, CF(-1.25, 0.35, -0.35) * ANGLES(RAD(70), RAD(0), RAD(60)) * LEFTSHOULDERC0, 1 / Animation_Speed) | |
1964 | 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) | |
1965 | 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) | |
1966 | end | |
1967 | for i=0, 0.6, 0.1 / Animation_Speed do | |
1968 | Swait() | |
1969 | 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) | |
1970 | ||
1971 | Neck.C0 = Clerp(Neck.C0, NECKC0 * CF(0, 0, 0 + ((1.25*SIZE) - 1)) * ANGLES(RAD(35), RAD(0), RAD(0)), 1 / Animation_Speed) | |
1972 | RightShoulder.C0 = Clerp(RightShoulder.C0, CF(1.25, 0.5, -0.5) * ANGLES(RAD(100), RAD(0), RAD(-90)) * RIGHTSHOULDERC0, 1 / Animation_Speed) | |
1973 | LeftShoulder.C0 = Clerp(LeftShoulder.C0, CF(-1.25, 0.35, -0.35) * ANGLES(RAD(70), RAD(0), RAD(90)) * LEFTSHOULDERC0, 1 / Animation_Speed) | |
1974 | 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) | |
1975 | 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) | |
1976 | end | |
1977 | MODE = "Demonum" | |
1978 | tecks2.Text = "Dominus Daemonium" | |
1979 | SKILLTEXTCOLOR = C3(0.03, 0, 0) | |
1980 | SKILLTEXTCOLOR2 = C3(0,0,0) | |
1981 | Speed = 30 | |
1982 | elseif MODE == "Demonum" then | |
1983 | CreateSound(147722227, Torso, 4, 1.3, false) | |
1984 | sick.SoundId = "rbxassetid://195900687" | |
1985 | sick.Volume = 4 | |
1986 | sick.Pitch = 1 | |
1987 | sick.TimePosition = 20.7 | |
1988 | for _, c in pairs(Character:GetChildren()) do | |
1989 | if c.ClassName == "Part" then | |
1990 | c.Material = "Neon" | |
1991 | if c:FindFirstChildOfClass("ParticleEmitter") then | |
1992 | c:FindFirstChildOfClass("ParticleEmitter"):remove() | |
1993 | end | |
1994 | if c == Torso then | |
1995 | c.Color = C3(0,0,0) | |
1996 | elseif c == RightArm then | |
1997 | c.Color = C3(0.05,0.05,0.15) | |
1998 | elseif c == LeftArm then | |
1999 | c.Color = C3(0.05,0.05,0.15) | |
2000 | elseif c == RightLeg then | |
2001 | c.Color = C3(0,0,0.05) | |
2002 | elseif c == LeftLeg then | |
2003 | c.Color = C3(0,0,0.05) | |
2004 | elseif c == Head then | |
2005 | local M = CreateMesh("SpecialMesh", c, "FileMesh", "162384581", "162384608", VT(1,1,1)*1.1, VT(0,0,0)) | |
2006 | M.Name = "Dominus" | |
2007 | if c:FindFirstChild("face") then | |
2008 | c.face:remove() | |
2009 | ||
2010 | end | |
2011 | end | |
2012 | elseif c.ClassName == "Shirt" or c.ClassName == "Pants" or c.ClassName == "CharacterMesh" or c.ClassName == "Accessory" or c.Name == "Body Colors" then | |
2013 | c:remove() | |
2014 | end | |
2015 | end | |
2016 | 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}) | |
2017 | 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}) | |
2018 | Swait(15) | |
2019 | Speed = 16 | |
2020 | MODE = "Main" | |
2021 | BodyColor = C3(0,0,0) | |
2022 | LegColor = C3(0,0,0.05) | |
2023 | ArmColor = C3(0.05,0.05,0.15) | |
2024 | end | |
2025 | ATTACK = false | |
2026 | Rooted = false | |
2027 | end | |
2028 | ||
2029 | function Ignem_Aeternum() | |
2030 | local HITFLOOR, HITPOS, NORMAL = Raycast(RootPart.Position, CF(RootPart.Position, RootPart.Position + VT(0, -1, 0)).lookVector, 25, Character) | |
2031 | if HITFLOOR ~= nil then | |
2032 | do | |
2033 | local POWER = LEVEL | |
2034 | ATTACK = true | |
2035 | Rooted = true | |
2036 | local CENTER = MagicRing() | |
2037 | CENTER.CFrame = CF(HITPOS + VT(0, 0.1, 0)) | |
2038 | CreateSound("424777055", CENTER, 10, 1) | |
2039 | local RAIN = {} | |
2040 | for i = 1, 55 do | |
2041 | Swait() | |
2042 | CENTER.Size = CENTER.Size + VT(POWER, 0, POWER) / 3 | |
2043 | CENTER.CFrame = CENTER.CFrame * ANGLES(RAD(0), RAD(i), RAD(0)) | |
2044 | 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) | |
2045 | 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) | |
2046 | 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) | |
2047 | 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) | |
2048 | 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) | |
2049 | 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) | |
2050 | end | |
2051 | local MAXDIST = 30 | |
2052 | local DIRECTION = CF(RootPart.Position, VT(Mouse.Hit.p.X, HITPOS.Y, Mouse.Hit.p.Z)).lookVector | |
2053 | local HITFLOOR2, HITPOS2 = Raycast(RootPart.Position, DIRECTION, MAXDIST, Character) | |
2054 | local HITFLOOR3, HITPOS3 = Raycast(HITPOS2, CF(HITPOS2 + VT(0, 1, 0), HITPOS2 + VT(0, -1, 0)).lookVector, MAXDIST, Character) | |
2055 | local ORB = CreatePart(3, Effects, "Neon", 0, 1, "Gold", "ORB", VT(4, 4, 4)) | |
2056 | MakeForm(ORB, "Ball") | |
2057 | CreateSound("201858045", ORB, 10, 0.5) | |
2058 | for i = 0, 1, 0.1 / Animation_Speed do | |
2059 | Swait() | |
2060 | ORB.CFrame = RootPart.CFrame * CF(0, 10 + POWER * 3, 0) | |
2061 | ORB.Transparency = 0 | |
2062 | ORB.Size = ORB.Size + VT(POWER, POWER, POWER) / 7 | |
2063 | local POS = HITPOS + VT(MRANDOM(-CENTER.Size.X / 3, CENTER.Size.X / 3), 0, MRANDOM(-CENTER.Size.X / 3, CENTER.Size.X / 3)) | |
2064 | local RANGE = (POS - RootPart.CFrame * CF(0, 10 + POWER * 3, 0).p).Magnitude | |
2065 | 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) | |
2066 | 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) | |
2067 | 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) | |
2068 | 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) | |
2069 | 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) | |
2070 | 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) | |
2071 | end | |
2072 | coroutine.resume(coroutine.create(function() | |
2073 | ORB.CFrame = CF(ORB.Position, HITPOS3) | |
2074 | local IMPACT = false | |
2075 | for i = 1, 400 do | |
2076 | Swait() | |
2077 | ORB.CFrame = ORB.CFrame * CF(0, 0, -1) | |
2078 | local HIT = Raycast(ORB.Position, ORB.CFrame.lookVector, ORB.Size.X / 2.2, Character) | |
2079 | if HIT ~= nil then | |
2080 | IMPACT = true | |
2081 | break | |
2082 | end | |
2083 | end | |
2084 | if IMPACT == true then | |
2085 | ORB.Transparency = 1 | |
2086 | local FRONT = ORB.CFrame * CF(0, 0, -1).p | |
2087 | ORB.CFrame = CF(ORB.Position, VT(FRONT.X, ORB.Position.Y, FRONT.Z)) | |
2088 | for i = 1, 35 do | |
2089 | ORB.CFrame = ORB.CFrame * CF(0, 0, -ORB.Size.X / 1.5) | |
2090 | MagicSphere(ORB.Size * 1.1, 25, ORB.CFrame, BRICKC("Gold").Color, -ORB.Size / 35) | |
2091 | 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)) | |
2092 | killnearest(ORB.Position, ORB.Size.X * 2, 500) | |
2093 | Swait() | |
2094 | end | |
2095 | else | |
2096 | ORB:remove() | |
2097 | end | |
2098 | end)) | |
2099 | ATTACK = false | |
2100 | Rooted = false | |
2101 | coroutine.resume(coroutine.create(function() | |
2102 | for i = 1, 55 do | |
2103 | Swait() | |
2104 | CENTER.Size = CENTER.Size - VT(POWER, 0, POWER) | |
2105 | CENTER.CFrame = CENTER.CFrame * ANGLES(RAD(0), RAD(i), RAD(0)) | |
2106 | end | |
2107 | CENTER:remove() | |
2108 | end)) | |
2109 | end | |
2110 | end | |
2111 | end | |
2112 | ||
2113 | function Dolor_Pluvia() | |
2114 | local POWER = LEVEL | |
2115 | local CENTER = MagicRing() | |
2116 | CENTER.CFrame = CF(Mouse.Hit.p) | |
2117 | CreateSound("424777055", CENTER, 10, 1) | |
2118 | local RAIN = {} | |
2119 | for i = 1, 45 do | |
2120 | Swait() | |
2121 | CENTER.Size = CENTER.Size + VT(POWER, 0, POWER) | |
2122 | CENTER.CFrame = CENTER.CFrame * ANGLES(RAD(0), RAD(i), RAD(0)) | |
2123 | end | |
2124 | for i = 1, 35 do | |
2125 | Swait() | |
2126 | coroutine.resume(coroutine.create(function() | |
2127 | local DROP = CreatePart(3, Effects, "Neon", 0, 0, "Gold", "Raindrop", VT(POWER / 2, POWER / 2, POWER * 5)) | |
2128 | 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))) | |
2129 | table.insert(RAIN, DROP) | |
2130 | particles(DROP) | |
2131 | MakeForm(DROP, "Ball") | |
2132 | local IMPACT = false | |
2133 | for i = 1, 80 do | |
2134 | Swait() | |
2135 | DROP.CFrame = DROP.CFrame * CF(0, 0, -7) | |
2136 | local HIT = Raycast(DROP.Position, DROP.CFrame.lookVector, 6, Character) | |
2137 | if HIT ~= nil then | |
2138 | IMPACT = true | |
2139 | break | |
2140 | end | |
2141 | end | |
2142 | table.remove(RAIN, 1) | |
2143 | if IMPACT == true then | |
2144 | DROP.Transparency = 1 | |
2145 | DROP.OVERLORDAURA.Enabled = false | |
2146 | MagicSphere(VT(0, 0, 0), 25, DROP.CFrame, BRICKC("Gold").Color, VT(POWER, POWER, POWER) / 2) | |
2147 | killnearest(DROP.Position, POWER * 5, 500) | |
2148 | Debris:AddItem(DROP, 5) | |
2149 | else | |
2150 | DROP:remove() | |
2151 | end | |
2152 | end)) | |
2153 | end | |
2154 | repeat | |
2155 | Swait() | |
2156 | until #RAIN == 0 | |
2157 | for i = 1, 45 do | |
2158 | Swait() | |
2159 | CENTER.Size = CENTER.Size - VT(POWER, 0, POWER) | |
2160 | CENTER.CFrame = CENTER.CFrame * ANGLES(RAD(0), RAD(i), RAD(0)) | |
2161 | end | |
2162 | CENTER:remove() | |
2163 | end | |
2164 | ||
2165 | function Ultima_Consummatio() | |
2166 | local HITFLOOR, HITPOS, NORMAL = Raycast(RootPart.Position, CF(RootPart.Position, RootPart.Position + VT(0, -1, 0)).lookVector, 7, Character) | |
2167 | if HITFLOOR ~= nil then | |
2168 | do | |
2169 | local POWER = LEVEL | |
2170 | ATTACK = true | |
2171 | Rooted = true | |
2172 | if POWER <= 6 then | |
2173 | do | |
2174 | local CENTER = MagicRing() | |
2175 | CENTER.CFrame = CF(HITPOS + VT(0, 0.1, 0)) | |
2176 | CreateSound("424777055", CENTER, 10, 1) | |
2177 | local RAIN = {} | |
2178 | for i = 1, 65 do | |
2179 | Swait() | |
2180 | CENTER.Size = CENTER.Size + VT(POWER, 0, POWER) | |
2181 | CENTER.CFrame = CENTER.CFrame * ANGLES(RAD(0), RAD(i), RAD(0)) | |
2182 | 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) | |
2183 | 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) | |
2184 | 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) | |
2185 | 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) | |
2186 | 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) | |
2187 | 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) | |
2188 | end | |
2189 | local ORB = CreatePart(3, Effects, "Neon", 0, 1, "Gold", "ORB", VT(4, 4, 4)) | |
2190 | MakeForm(ORB, "Ball") | |
2191 | CreateSound("201858045", ORB, 10, 0.5) | |
2192 | for i = 0, 5, 0.1 / Animation_Speed do | |
2193 | Swait() | |
2194 | ORB.CFrame = RootPart.CFrame * CF(0, 5 + ORB.Size.Y / 2, 0) | |
2195 | ORB.Size = ORB.Size + VT(POWER, POWER, POWER) / 10 | |
2196 | ORB.Transparency = 0 | |
2197 | local POS = HITPOS + VT(MRANDOM(-CENTER.Size.X / 3, CENTER.Size.X / 3), 0, MRANDOM(-CENTER.Size.X / 3, CENTER.Size.X / 3)) | |
2198 | local RANGE = (POS - ORB.Position).Magnitude | |
2199 | local ZAPTABLE = Zap({ | |
2200 | StartPosition = POS, | |
2201 | TargetPosition = ORB.Position, | |
2202 | Character = workspace, | |
2203 | Color = "Gold", | |
2204 | Individual = true, | |
2205 | MaxRange = RANGE, | |
2206 | SegmentLength = POWER * 2, | |
2207 | Offset = 1 | |
2208 | }) | |
2209 | Debris:AddItem(ZAPTABLE.LightningModel, 0.1) | |
2210 | 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) | |
2211 | 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) | |
2212 | 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) | |
2213 | 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) | |
2214 | 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) | |
2215 | 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) | |
2216 | end | |
2217 | coroutine.resume(coroutine.create(function() | |
2218 | if POWER <= 3 then | |
2219 | local AIMPOS = Mouse.Hit.p | |
2220 | local O1 = MagicRing() | |
2221 | local O2 = MagicRing() | |
2222 | local O3 = MagicRing() | |
2223 | O1.CFrame = CF(ORB.Position, AIMPOS) * ANGLES(RAD(90), RAD(0), RAD(0)) * CF(0, -ORB.Size.X, 0) | |
2224 | O2.CFrame = CF(ORB.Position, AIMPOS) * ANGLES(RAD(90), RAD(0), RAD(0)) * CF(0, -ORB.Size.X + ORB.Size.X / 4, 0) | |
2225 | O3.CFrame = CF(ORB.Position, AIMPOS) * ANGLES(RAD(90), RAD(0), RAD(0)) * CF(0, -ORB.Size.X + ORB.Size.X / 8, 0) | |
2226 | for i = 1, 25 do | |
2227 | Swait() | |
2228 | O1.Size = O1.Size + VT(POWER, 0, POWER) | |
2229 | O2.Size = O2.Size + VT(POWER, 0, POWER) / 1.5 | |
2230 | O3.Size = O3.Size + VT(POWER, 0, POWER) / 2 | |
2231 | end | |
2232 | local DIST = (ORB.Position - AIMPOS).Magnitude | |
2233 | for i = 1, 75 do | |
2234 | Swait(3) | |
2235 | 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) | |
2236 | killnearest(ORB.Position, ORB.Size.X, 200) | |
2237 | local ZAPTABLE = Zap({ | |
2238 | SIZE = POWER * 2, | |
2239 | StartPosition = ORB.Position, | |
2240 | TargetPosition = AIMPOS + VT(MRANDOM(-POWER * 15, POWER * 15), 0, MRANDOM(-POWER * 15, POWER * 15)) * 2, | |
2241 | Character = Character, | |
2242 | Color = "Gold", | |
2243 | Individual = true, | |
2244 | MaxRange = POWER * 400, | |
2245 | SegmentLength = DIST / 25, | |
2246 | Offset = 3 + DIST / 350 | |
2247 | }) | |
2248 | Debris:AddItem(ZAPTABLE.LightningModel, 0.1) | |
2249 | MagicSphere(ORB.Size * 1.1, 25, CF(ZAPTABLE.RayPos), BRICKC("Gold").Color, ORB.Size / 15) | |
2250 | killnearest(ZAPTABLE.RayPos, POWER * 45, 60) | |
2251 | 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)) | |
2252 | end | |
2253 | local SIZE = ORB.Size | |
2254 | for i = 1, 25 do | |
2255 | Swait() | |
2256 | ORB.Size = ORB.Size - SIZE / 25 | |
2257 | O1.Size = O1.Size - VT(POWER, 0, POWER) | |
2258 | O2.Size = O2.Size - VT(POWER, 0, POWER) / 1.5 | |
2259 | O3.Size = O3.Size - VT(POWER, 0, POWER) / 2 | |
2260 | end | |
2261 | ORB:remove() | |
2262 | O1:remove() | |
2263 | O2:remove() | |
2264 | O3:remove() | |
2265 | elseif POWER > 3 then | |
2266 | local O1 = MagicRing() | |
2267 | local O2 = MagicRing() | |
2268 | local O3 = MagicRing() | |
2269 | O1.CFrame = CF(ORB.Position, Mouse.Hit.p) * ANGLES(RAD(90), RAD(0), RAD(0)) * CF(0, -ORB.Size.X, 0) | |
2270 | 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) | |
2271 | 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) | |
2272 | for i = 1, 25 do | |
2273 | Swait() | |
2274 | O1.CFrame = CF(ORB.Position, Mouse.Hit.p) * ANGLES(RAD(90), RAD(0), RAD(0)) * CF(0, -ORB.Size.X, 0) | |
2275 | 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) | |
2276 | 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) | |
2277 | O1.Size = O1.Size + VT(POWER, 0, POWER) | |
2278 | O2.Size = O2.Size + VT(POWER, 0, POWER) / 1.5 | |
2279 | O3.Size = O3.Size + VT(POWER, 0, POWER) / 2 | |
2280 | end | |
2281 | for i = 1, 75 do | |
2282 | for i = 1, 5 do | |
2283 | Swait() | |
2284 | O1.CFrame = CF(ORB.Position, Mouse.Hit.p) * ANGLES(RAD(90), RAD(0), RAD(0)) * CF(0, -ORB.Size.X, 0) | |
2285 | 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) | |
2286 | 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) | |
2287 | end | |
2288 | killnearest(ORB.Position, ORB.Size.X, 200) | |
2289 | 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) | |
2290 | local DIST = (ORB.Position - Mouse.Hit.p).Magnitude | |
2291 | local ZAPTABLE = Zap({ | |
2292 | SIZE = POWER, | |
2293 | StartPosition = ORB.Position, | |
2294 | TargetPosition = Mouse.Hit.p, | |
2295 | Character = Character, | |
2296 | Color = "Gold", | |
2297 | Individual = true, | |
2298 | MaxRange = POWER * 400, | |
2299 | SegmentLength = DIST / 25, | |
2300 | Offset = 3 + DIST / 350 | |
2301 | }) | |
2302 | Debris:AddItem(ZAPTABLE.LightningModel, 0.1) | |
2303 | MagicSphere(ORB.Size * 1.1, 25, CF(ZAPTABLE.RayPos), BRICKC("Gold").Color, ORB.Size / 15) | |
2304 | killnearest(ZAPTABLE.RayPos, POWER * 45, 60) | |
2305 | 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)) | |
2306 | end | |
2307 | local SIZE = ORB.Size | |
2308 | for i = 1, 25 do | |
2309 | Swait() | |
2310 | ORB.Size = ORB.Size - SIZE / 25 | |
2311 | O1.Size = O1.Size - VT(POWER, 0, POWER) | |
2312 | O2.Size = O2.Size - VT(POWER, 0, POWER) / 1.5 | |
2313 | O3.Size = O3.Size - VT(POWER, 0, POWER) / 2 | |
2314 | end | |
2315 | ORB:remove() | |
2316 | O1:remove() | |
2317 | O2:remove() | |
2318 | O3:remove() | |
2319 | end | |
2320 | coroutine.resume(coroutine.create(function() | |
2321 | for i = 1, 65 do | |
2322 | Swait() | |
2323 | CENTER.Size = CENTER.Size - VT(POWER, 0, POWER) | |
2324 | CENTER.CFrame = CENTER.CFrame * ANGLES(RAD(0), RAD(i), RAD(0)) | |
2325 | end | |
2326 | CENTER:remove() | |
2327 | end)) | |
2328 | end)) | |
2329 | end | |
2330 | elseif POWER > 6 then | |
2331 | do | |
2332 | local FINISHED = false | |
2333 | local YIN = CreatePart(3, Effects, "Neon", 0, 0, "Pearl", "YIN", VT(25, 25, 25)) | |
2334 | local YAN = CreatePart(3, Effects, "Neon", 0, 0, "Gold", "YAN", VT(65, 25, 65)) | |
2335 | coroutine.resume(coroutine.create(function() | |
2336 | local LOOP = 0 | |
2337 | repeat | |
2338 | YIN.CFrame = CF(HITPOS + VT(0, 500, 0)) * ANGLES(RAD(0), RAD(LOOP), RAD(0)) * CF(0, 0, 200) | |
2339 | YAN.CFrame = CF(HITPOS + VT(0, 500, 0)) * ANGLES(RAD(0), RAD(LOOP), RAD(0)) * CF(0, 0, -200) | |
2340 | LOOP = LOOP + 5 | |
2341 | MagicSphere(VT(500, 5, 500), 65, CF(YIN.Position), BRICKC("Gold").Color, VT(-1, -0.001, -1) * 2) | |
2342 | MagicSphere(VT(500, 5, 500), 65, CF(YAN.Position), C3(1, 1, 1), VT(-1, -0.001, -1) * 2) | |
2343 | Swait() | |
2344 | until FINISHED == true | |
2345 | YIN:remove() | |
2346 | YAN:remove() | |
2347 | end)) | |
2348 | CreateSound("438666077", Effects, 10, 1) | |
2349 | for i = 0, 1, 0.1 / Animation_Speed do | |
2350 | Swait() | |
2351 | 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) | |
2352 | 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) | |
2353 | 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) | |
2354 | 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) | |
2355 | 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) | |
2356 | 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) | |
2357 | end | |
2358 | local ORB = CreatePart(3, Effects, "Neon", 0, 0, "Gold", "ORB", VT(6, 6, 6)) | |
2359 | MakeForm(ORB, "Ball") | |
2360 | ORB.CFrame = CF(HITPOS + VT(0, 150, 0)) | |
2361 | for i = 0, 8, 0.1 / Animation_Speed do | |
2362 | Swait() | |
2363 | if MRANDOM(1, 8) == 1 then | |
2364 | local RANGE1 = (ORB.Position - YIN.Position).Magnitude | |
2365 | local RANGE2 = (ORB.Position - YAN.Position).Magnitude | |
2366 | local ZAPTABLE1 = Zap({ | |
2367 | SIZE = POWER / 3, | |
2368 | StartPosition = YIN.Position, | |
2369 | TargetPosition = ORB.Position, | |
2370 | Character = workspace, | |
2371 | Color = "Pearl", | |
2372 | Individual = true, | |
2373 | MaxRange = RANGE1, | |
2374 | SegmentLength = 25, | |
2375 | Offset = 6 | |
2376 | }) | |
2377 | local ZAPTABLE2 = Zap({ | |
2378 | SIZE = POWER / 3, | |
2379 | StartPosition = YAN.Position, | |
2380 | TargetPosition = ORB.Position, | |
2381 | Character = workspace, | |
2382 | Color = "Gold", | |
2383 | Individual = true, | |
2384 | MaxRange = RANGE1, | |
2385 | SegmentLength = 25, | |
2386 | Offset = 6 | |
2387 | }) | |
2388 | Debris:AddItem(ZAPTABLE1.LightningModel, 0.1) | |
2389 | Debris:AddItem(ZAPTABLE2.LightningModel, 0.1) | |
2390 | end | |
2391 | ORB.Size = ORB.Size + VT(POWER, POWER, POWER) / 15 | |
2392 | 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) | |
2393 | 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) | |
2394 | 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) | |
2395 | 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) | |
2396 | 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) | |
2397 | 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) | |
2398 | end | |
2399 | FINISHED = true | |
2400 | coroutine.resume(coroutine.create(function() | |
2401 | for i = 1, 6 do | |
2402 | for e = 1, 10 do | |
2403 | Swait() | |
2404 | 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)) | |
2405 | ORB.Size = ORB.Size * 0.97 | |
2406 | killnearest(ORB.Position, ORB.Size.X * 3, 200) | |
2407 | 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)) | |
2408 | end | |
2409 | local POS = ORB.Position | |
2410 | for i = 1, 5 do | |
2411 | 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) | |
2412 | end | |
2413 | 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)) | |
2414 | for e = 1, 10 do | |
2415 | Swait() | |
2416 | if MRANDOM(1, 5) == 1 then | |
2417 | local POS = CF(ORB.Position) * ANGLES(RAD(MRANDOM(-180, 180)), RAD(MRANDOM(-180, 180)), RAD(MRANDOM(-180, 180))) * CF(0, 0, -POWER * 25).p | |
2418 | local ZAPTABLE = Zap({ | |
2419 | SIZE = POWER, | |
2420 | StartPosition = ORB.Position, | |
2421 | TargetPosition = POS, | |
2422 | Character = workspace, | |
2423 | Color = "Gold", | |
2424 | Individual = true, | |
2425 | MaxRange = POWER * 75, | |
2426 | SegmentLength = POWER * 5, | |
2427 | Offset = 3 | |
2428 | }) | |
2429 | Debris:AddItem(ZAPTABLE.LightningModel, 0.1) | |
2430 | end | |
2431 | ORB.Size = ORB.Size * 1.05 | |
2432 | killnearest(ORB.Position, ORB.Size.X * 3, 200) | |
2433 | 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)) | |
2434 | end | |
2435 | end | |
2436 | local POS = ORB.Position | |
2437 | for e = 1, 10 do | |
2438 | Swait() | |
2439 | ORB.Transparency = ORB.Transparency + 0.1 | |
2440 | end | |
2441 | ORB:remove() | |
2442 | killnearest(POS, POWER * 35, 200) | |
2443 | for i = 1, 5 do | |
2444 | 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) | |
2445 | end | |
2446 | 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)) | |
2447 | end)) | |
2448 | end | |
2449 | end | |
2450 | ATTACK = false | |
2451 | Rooted = false | |
2452 | end | |
2453 | end | |
2454 | end | |
2455 | ||
2456 | function Hop() | |
2457 | ATTACK = true | |
2458 | Rooted = false | |
2459 | local O1 = MagicRing() | |
2460 | local O2 = MagicRing() | |
2461 | local POS = VT(RootPart.Position.X, Mouse.Hit.p.Y + 6, RootPart.Position.Z) | |
2462 | O1.CFrame = RootPart.CFrame * CF(0, 0, -3) * ANGLES(RAD(90), RAD(0), RAD(0)) | |
2463 | O2.CFrame = CF(Mouse.Hit.p + VT(0, 6, 0), POS) * ANGLES(RAD(90), RAD(0), RAD(0)) | |
2464 | local ROOT = CreatePart(3, Effects, "Neon", 0, 1, "Really red", "Warphole", VT(0, 0, 0)) | |
2465 | ROOT.CFrame = CF(O2.Position, RootPart.Position) | |
2466 | CreateSound("814168787", O1, 10, 0.7) | |
2467 | CreateSound("814168787", O2, 10, 0.7) | |
2468 | for i = 1, 75 do | |
2469 | Swait() | |
2470 | O1.Size = O1.Size + VT(0.15, 0, 0.15) | |
2471 | O1.CFrame = RootPart.CFrame * CF(0, 0, -3) * ANGLES(RAD(90), RAD(i), RAD(0)) | |
2472 | O2.Size = O2.Size + VT(0.15, 0, 0.15) | |
2473 | O2.CFrame = O2.CFrame * ANGLES(RAD(0), RAD(i), RAD(0)) | |
2474 | 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) | |
2475 | 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) | |
2476 | 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) | |
2477 | 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) | |
2478 | 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) | |
2479 | 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) | |
2480 | end | |
2481 | Rooted = true | |
2482 | UNANCHOR = false | |
2483 | RootPart.Anchored = true | |
2484 | VALUE1 = true | |
2485 | for i = 1, 15 do | |
2486 | Transparency(i / 15) | |
2487 | Swait() | |
2488 | RootPart.CFrame = RootPart.CFrame * CF(0, 0, -0.13) | |
2489 | 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) | |
2490 | 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) | |
2491 | 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) | |
2492 | 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) | |
2493 | 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) | |
2494 | 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) | |
2495 | end | |
2496 | RootPart.CFrame = ROOT.CFrame | |
2497 | ROOT:remove() | |
2498 | for i = 1, 15 do | |
2499 | Transparency(1 - i / 15) | |
2500 | Swait() | |
2501 | RootPart.CFrame = RootPart.CFrame * CF(0, 0, -0.5) | |
2502 | 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) | |
2503 | 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) | |
2504 | 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) | |
2505 | 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) | |
2506 | 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) | |
2507 | 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) | |
2508 | end | |
2509 | VALUE1 = false | |
2510 | coroutine.resume(coroutine.create(function() | |
2511 | for i = 1, 75 do | |
2512 | Swait() | |
2513 | O1.Size = O1.Size - VT(0.15, 0, 0.15) | |
2514 | O1.CFrame = O1.CFrame * ANGLES(RAD(0), RAD(i), RAD(0)) | |
2515 | O2.Size = O2.Size - VT(0.15, 0, 0.15) | |
2516 | O2.CFrame = O2.CFrame * ANGLES(RAD(0), RAD(i), RAD(0)) | |
2517 | end | |
2518 | O1:remove() | |
2519 | O2:remove() | |
2520 | end)) | |
2521 | UNANCHOR = true | |
2522 | RootPart.Anchored = false | |
2523 | ATTACK = false | |
2524 | Rooted = false | |
2525 | end | |
2526 | ||
2527 | function Dark_Cutter() | |
2528 | local HITFLOOR,HITPOS,NORMAL = Raycast(RootPart.Position, (CF(RootPart.Position, RootPart.Position + VT(0, -1, 0))).lookVector, 7 * Player_Size, Character) | |
2529 | if HITFLOOR ~= nil then | |
2530 | ATTACK = true | |
2531 | Rooted = true | |
2532 | local GYRO = IT("BodyGyro",RootPart) | |
2533 | GYRO.D = 100 | |
2534 | GYRO.P = 2000 | |
2535 | GYRO.MaxTorque = VT(0,4000000,0) | |
2536 | GYRO.cframe = CF(RootPart.Position,Mouse.Hit.p) | |
2537 | CreateSound("429459101", RightArm, 10, 0.8) | |
2538 | for i=0, 3.5, 0.1 / Animation_Speed do | |
2539 | Swait() | |
2540 | GYRO.cframe = CF(RootPart.Position,Mouse.Hit.p) | |
2541 | 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)) | |
2542 | 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) | |
2543 | 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) | |
2544 | 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) | |
2545 | 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) | |
2546 | 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) | |
2547 | 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) | |
2548 | end | |
2549 | GYRO:remove() | |
2550 | for i=0, 0.15, 0.1 / Animation_Speed do | |
2551 | Swait() | |
2552 | GYRO.cframe = CF(RootPart.Position,Mouse.Hit.p) | |
2553 | 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)) | |
2554 | 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) | |
2555 | 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) | |
2556 | 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) | |
2557 | 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) | |
2558 | 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) | |
2559 | 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) | |
2560 | end | |
2561 | local BOMBSPOTS = {} | |
2562 | for i = 1, 100 do | |
2563 | local SPOT = CreatePart(3, Effects, "Neon", 0, 0, "Really black", "Blade", VT(16,1,16)) | |
2564 | SPOT.CFrame = RootPart.CFrame*CF((MRANDOM(-15,15)/40)*i,-5,-i*5) | |
2565 | table.insert(BOMBSPOTS,SPOT) | |
2566 | MakeForm(SPOT,"Cyl") | |
2567 | end | |
2568 | for i=0, 0.2, 0.1 / Animation_Speed do | |
2569 | Swait() | |
2570 | 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) | |
2571 | 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) | |
2572 | 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) | |
2573 | 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) | |
2574 | 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) | |
2575 | 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) | |
2576 | end | |
2577 | ATTACK = false | |
2578 | Rooted = false | |
2579 | coroutine.resume(coroutine.create(function() | |
2580 | Swait(3) | |
2581 | for i = 1, #BOMBSPOTS do | |
2582 | if BOMBSPOTS[i] ~= nil then | |
2583 | local E = BOMBSPOTS[i] | |
2584 | coroutine.resume(coroutine.create(function() | |
2585 | local BLADE = CreatePart(3, Effects, "SmoothPlastic", 0, 1, "Really black", "Blade", VT(0,0,0)) | |
2586 | CreateMesh("SpecialMesh", BLADE, "FileMesh", "93108071", "", VT(1.2,2,0.8)*3, VT(0,0,0)) | |
2587 | CreateSound(HITWEAPONSOUNDS[MRANDOM(1,#HITWEAPONSOUNDS)], BLADE, 4, 0.6) | |
2588 | BLADE.CFrame = E.CFrame*CF(0,-3,0)*ANGLES(RAD(MRANDOM(-15,15)),RAD(90),RAD(MRANDOM(-15,15))) | |
2589 | for i = 1, 10 do | |
2590 | Swait() | |
2591 | killnearest(BLADE.Position,12,160) | |
2592 | BLADE.CFrame = BLADE.CFrame*CF(0,0.3,0) | |
2593 | BLADE.Transparency = BLADE.Transparency - 0.1 | |
2594 | end | |
2595 | Swait(45) | |
2596 | for i = 1, 100 do | |
2597 | Swait() | |
2598 | BLADE.Transparency = BLADE.Transparency + 0.01 | |
2599 | E.Transparency = E.Transparency + 0.01 | |
2600 | end | |
2601 | BLADE:remove() | |
2602 | E:remove() | |
2603 | end)) | |
2604 | end | |
2605 | end | |
2606 | end)) | |
2607 | end | |
2608 | end | |
2609 | ||
2610 | function SupernovaThrow() | |
2611 | local HITFLOOR,HITPOS,NORMAL = Raycast(RootPart.Position, (CF(RootPart.Position, RootPart.Position + VT(0, -1, 0))).lookVector, 7 * Player_Size, Character) | |
2612 | if HITFLOOR ~= nil then | |
2613 | local HITBODIES = {} | |
2614 | ATTACK = true | |
2615 | Rooted = true | |
2616 | local ABSOLUTE = CreatePart(3, Effects, "Neon", 0, 1, "Relly red", "Star", VT(0,0,0)) | |
2617 | MakeForm(ABSOLUTE,"Ball") | |
2618 | CreateSound("429459101", ABSOLUTE, 10, 1) | |
2619 | for i=0, 4, 0.1 / Animation_Speed do | |
2620 | Swait() | |
2621 | ABSOLUTE.Size = ABSOLUTE.Size + VT(0.2,0.2,0.2) | |
2622 | ABSOLUTE.CFrame = RootPart.CFrame*CF(0,5+(ABSOLUTE.Size.Y/2),0) | |
2623 | ABSOLUTE.Transparency = ABSOLUTE.Transparency - 0.01 | |
2624 | 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) | |
2625 | 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) | |
2626 | 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) | |
2627 | 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) | |
2628 | 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) | |
2629 | 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) | |
2630 | end | |
2631 | CreateSound("907330103", Head, 10, 1.2) | |
2632 | for i = 1, 75 do | |
2633 | Swait() | |
2634 | 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) | |
2635 | 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) | |
2636 | 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) | |
2637 | 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) | |
2638 | 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) | |
2639 | 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) | |
2640 | end | |
2641 | coroutine.resume(coroutine.create(function() | |
2642 | ABSOLUTE.CFrame = CF(ABSOLUTE.Position, Mouse.Hit.p) | |
2643 | for i = 1, 500 do | |
2644 | Swait() | |
2645 | ABSOLUTE.CFrame = ABSOLUTE.CFrame * CF(0, 0, -2) | |
2646 | local HITFLOOR, HITPOS = Raycast(ABSOLUTE.Position, ABSOLUTE.CFrame.lookVector, 2.2, Character) | |
2647 | if HITFLOOR ~= nil then | |
2648 | break | |
2649 | end | |
2650 | end | |
2651 | for i = 1, 13 do | |
2652 | for e = 1, 8 do | |
2653 | Swait() | |
2654 | CreateSwirl(ABSOLUTE.Size/2,15,CF(HITPOS),true,15,BRICKC"Slime green".Color,VT(i,0.3,i)*2) | |
2655 | end | |
2656 | for i = 1, 5 do | |
2657 | 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) | |
2658 | 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)) | |
2659 | end | |
2660 | CreateSwirl(ABSOLUTE.Size/2,25,CF(ABSOLUTE.Position),true,-25,BRICKC"Relly red".Color,VT(i,i*2,i)) | |
2661 | CreateSwirl(ABSOLUTE.Size/2,55,CF(ABSOLUTE.Position),true,25,C3(0.05,0.05,0.05),VT(i,i*2,i)) | |
2662 | CreateSound("168586621", ABSOLUTE, 4, 0.8) | |
2663 | CreateSound("201858144", ABSOLUTE, 10, 0.8) | |
2664 | killnearest(ABSOLUTE.Position,i*18,i) | |
2665 | ABSOLUTE.Size = ABSOLUTE.Size*0.9 | |
2666 | MagicSphere(ABSOLUTE.Size,25,CF(ABSOLUTE.Position),BRICKC"Relly red".Color,VT(i,i,i)/1.1) | |
2667 | MagicSphere(ABSOLUTE.Size,45,CF(ABSOLUTE.Position),C3(0.05,0.05,0.05),VT(i,i,i)) | |
2668 | end | |
2669 | ABSOLUTE.Transparency = 1 | |
2670 | Debris:AddItem(ABSOLUTE,10) | |
2671 | end)) | |
2672 | ATTACK = false | |
2673 | Rooted = false | |
2674 | end | |
2675 | end | |
2676 | ||
2677 | function Dark_Blast() | |
2678 | local HITBODIES = {} | |
2679 | local CENTER = CreatePart(3, Effects, "SmoothPlastic", 0, 1, "Relly red", "CenterPart", VT(0,0,0)) | |
2680 | 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) | |
2681 | CENTER.CFrame = CF(ECH) | |
2682 | local RAY = CreatePart(3, Effects, "Neon", 0, 1, "Relly red", "Laser01", VT(25,99999,25)) | |
2683 | RAY.Color = C3(0.05,0.05,0.05) | |
2684 | MakeForm(RAY,"Cyl") | |
2685 | RAY.CFrame = CF(ECH) | |
2686 | for i = 1, 75 do | |
2687 | Swait() | |
2688 | RAY.Transparency = RAY.Transparency - 1/75 | |
2689 | RAY.Size = RAY.Size - VT(25/75,0,25/75) | |
2690 | end | |
2691 | killnearest(ECH,50,25) | |
2692 | MagicSphere(VT(0,0,0),55,CF(ECH),C3(0.05,0.05,0.05),VT(2,2,2)) | |
2693 | for i = 1, 50 do | |
2694 | end | |
2695 | CreateSound("1222405264", CENTER, 10, 0.8) | |
2696 | RAY:remove() | |
2697 | Debris:AddItem(CENTER,5) | |
2698 | end | |
2699 | ||
2700 | function Banisher_Bullet() | |
2701 | ATTACK = true | |
2702 | Rooted = false | |
2703 | for i=0, 0.4, 0.1 / Animation_Speed do | |
2704 | Swait() | |
2705 | turnto(Mouse.Hit.p) | |
2706 | 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) | |
2707 | 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) | |
2708 | RightShoulder.C0 = Clerp(RightShoulder.C0, CF(1.5, 0.5, 0) * ANGLES(RAD(90), RAD(0), RAD(0)) * RIGHTSHOULDERC0, 0.15 / Animation_Speed) | |
2709 | 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) | |
2710 | 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) | |
2711 | 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) | |
2712 | end | |
2713 | repeat | |
2714 | for i=0, 0.2, 0.1 / Animation_Speed do | |
2715 | Swait() | |
2716 | turnto(Mouse.Hit.p) | |
2717 | 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) | |
2718 | 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) | |
2719 | RightShoulder.C0 = Clerp(RightShoulder.C0, CF(1.5, 0.5, 0) * ANGLES(RAD(90), RAD(0), RAD(0)) * RIGHTSHOULDERC0, 0.15 / Animation_Speed) | |
2720 | 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) | |
2721 | 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) | |
2722 | 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) | |
2723 | end | |
2724 | local HIT,POS = CastProperRay(Hole2.Position, Mouse.Hit.p, 1000, Character) | |
2725 | SpawnTrail(Hole2.Position,POS) | |
2726 | if HIT ~= nil then | |
2727 | if HIT.Parent ~= workspace and HIT.Parent.ClassName ~= "Folder" then | |
2728 | Banish(HIT.Parent) | |
2729 | end | |
2730 | end | |
2731 | 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}) | |
2732 | 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}) | |
2733 | 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}) | |
2734 | 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}) | |
2735 | for i=0, 0.3, 0.1 / Animation_Speed do | |
2736 | Swait() | |
2737 | 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) | |
2738 | 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) | |
2739 | RightShoulder.C0 = Clerp(RightShoulder.C0, CF(1.5, 0.5, 0) * ANGLES(RAD(106), RAD(0), RAD(0)) * RIGHTSHOULDERC0, 0.15 / Animation_Speed) | |
2740 | 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) | |
2741 | 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) | |
2742 | 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) | |
2743 | end | |
2744 | until KEYHOLD == false | |
2745 | ATTACK = false | |
2746 | Rooted = false | |
2747 | end | |
2748 | ||
2749 | function Ruler2() | |
2750 | local HITFLOOR, HITPOS, NORMAL = Raycast(RootPart.Position, CF(RootPart.Position, RootPart.Position + VT(0, -1, 0)).lookVector, 7 * Player_Size, Character) | |
2751 | if HITFLOOR ~= nil then | |
2752 | do | |
2753 | local HITBODIES = {} | |
2754 | ATTACK = true | |
2755 | Rooted = true | |
2756 | local ABSOLUTE = CreatePart(3, Effects, "Neon", 0, 1, "Dark red", "SuperNova", VT(0, 0, 0)) | |
2757 | MakeForm(ABSOLUTE, "Ball") | |
2758 | CreateSound("814168787", ABSOLUTE, 10, 0.3) | |
2759 | for i = 0, 4, 0.1 / Animation_Speed do | |
2760 | Swait() | |
2761 | ABSOLUTE.Size = ABSOLUTE.Size + VT(0.2, 0.2, 0.2) | |
2762 | ABSOLUTE.CFrame = RootPart.CFrame * CF(0, 5 + ABSOLUTE.Size.Y / 2, 0) | |
2763 | ABSOLUTE.Transparency = ABSOLUTE.Transparency - 0.01 | |
2764 | local CHARGE = CreatePart(3, Effects, "Neon", 0, 0, "Really red", "Star", VT(1, 1, 1)) | |
2765 | MakeForm(CHARGE, "Ball") | |
2766 | CHARGE.Color = C3(0, 0, 0) | |
2767 | CHARGE.CFrame = CF(RootPart.Position) * CF(MRANDOM(-15, 15), -6, MRANDOM(-15, 15)) | |
2768 | FireArc(CHARGE, ABSOLUTE.Position, 45, 45, true) | |
2769 | 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) | |
2770 | 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) | |
2771 | 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) | |
2772 | 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) | |
2773 | 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) | |
2774 | 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) | |
2775 | end | |
2776 | CreateSound("907333406", Head, 10, 1) | |
2777 | for i = 0, 2, 0.1 / Animation_Speed do | |
2778 | Swait() | |
2779 | 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) | |
2780 | 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) | |
2781 | 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) | |
2782 | 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) | |
2783 | 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) | |
2784 | 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) | |
2785 | end | |
2786 | local PITS = {} | |
2787 | CreateSound("178452217", ABSOLUTE, 10, 0.7) | |
2788 | for i = 1, 6 do | |
2789 | for i = 1, 10 do | |
2790 | Swait() | |
2791 | 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)) | |
2792 | ABSOLUTE.Size = ABSOLUTE.Size * 0.9 | |
2793 | end | |
2794 | for i = 1, 10 do | |
2795 | Swait() | |
2796 | ABSOLUTE.Size = ABSOLUTE.Size * 1.12 | |
2797 | end | |
2798 | end | |
2799 | CreateSound("215395388", ABSOLUTE, 10, 0.6) | |
2800 | CreateSound("215395388", ABSOLUTE, 10, 0.65) | |
2801 | CreateSound("215395388", ABSOLUTE, 10, 0.7) | |
2802 | for i = 1, 75 do | |
2803 | Swait() | |
2804 | local ICICLE = IT("CornerWedgePart", Effects) | |
2805 | ICICLE.Locked = true | |
2806 | ICICLE.CanCollide = false | |
2807 | ICICLE.Anchored = true | |
2808 | ICICLE.Color = C3(0, 0, 0) | |
2809 | ICICLE.Material = "Neon" | |
2810 | ICICLE.Size = VT(i / 3, i * 2, i / 3) | |
2811 | 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))) | |
2812 | table.insert(PITS, ICICLE) | |
2813 | killnearest(ICICLE.Position, ICICLE.Size.Y / 1.5, -100) | |
2814 | ABSOLUTE.Size = ABSOLUTE.Size * 1.03 | |
2815 | killnearest(ABSOLUTE.Position, ABSOLUTE.Size.X / 1.9, -100) | |
2816 | for i = 1, 3 do | |
2817 | 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)) | |
2818 | end | |
2819 | 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)) | |
2820 | end | |
2821 | ABSOLUTE.Transparency = 0 | |
2822 | for i = 1, 10 do | |
2823 | Swait() | |
2824 | ABSOLUTE.Size = ABSOLUTE.Size * 0.9 | |
2825 | ABSOLUTE.Transparency = ABSOLUTE.Transparency + 0.1 | |
2826 | end | |
2827 | Debris:AddItem(ABSOLUTE, 5) | |
2828 | Swait(50) | |
2829 | for i = 1, 10 do | |
2830 | Swait() | |
2831 | for e = 1, #PITS do | |
2832 | if PITS[e] ~= nil then | |
2833 | local E = PITS[e] | |
2834 | E.Transparency = E.Transparency + 0.1 | |
2835 | end | |
2836 | end | |
2837 | end | |
2838 | for e = 1, #PITS do | |
2839 | if PITS[e] ~= nil then | |
2840 | local E = PITS[e] | |
2841 | E:remove() | |
2842 | end | |
2843 | end | |
2844 | ATTACK = false | |
2845 | Rooted = false | |
2846 | end | |
2847 | end | |
2848 | end | |
2849 | ||
2850 | function Ultima_ConsummatioB() | |
2851 | local HITFLOOR, HITPOS, NORMAL = Raycast(RootPart.Position, CF(RootPart.Position, RootPart.Position + VT(0, -1, 0)).lookVector, 7, Character) | |
2852 | if HITFLOOR ~= nil then | |
2853 | do | |
2854 | local POWER = 20 | |
2855 | ATTACK = true | |
2856 | Rooted = true | |
2857 | if POWER <= 6 then | |
2858 | do | |
2859 | local CENTER = MagicRing() | |
2860 | CENTER.CFrame = CF(HITPOS + VT(0, 0.1, 0)) | |
2861 | CreateSound("424777055", CENTER, 10, 1) | |
2862 | local RAIN = {} | |
2863 | for i = 1, 65 do | |
2864 | Swait() | |
2865 | CENTER.Size = CENTER.Size + VT(POWER, 0, POWER) | |
2866 | CENTER.CFrame = CENTER.CFrame * ANGLES(RAD(0), RAD(i), RAD(0)) | |
2867 | 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) | |
2868 | 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) | |
2869 | 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) | |
2870 | 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) | |
2871 | 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) | |
2872 | 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) | |
2873 | end | |
2874 | local ORB = CreatePart(3, Effects, "Neon", 0, 1, "Really red", "ORB", VT(4, 4, 4)) | |
2875 | MakeForm(ORB, "Ball") | |
2876 | CreateSound("201858045", ORB, 10, 0.5) | |
2877 | for i = 0, 5, 0.1 / Animation_Speed do | |
2878 | Swait() | |
2879 | ORB.CFrame = RootPart.CFrame * CF(0, 5 + ORB.Size.Y / 2, 0) | |
2880 | ORB.Size = ORB.Size + VT(POWER, POWER, POWER) / 10 | |
2881 | ORB.Transparency = 0 | |
2882 | local POS = HITPOS + VT(MRANDOM(-CENTER.Size.X / 3, CENTER.Size.X / 3), 0, MRANDOM(-CENTER.Size.X / 3, CENTER.Size.X / 3)) | |
2883 | local RANGE = (POS - ORB.Position).Magnitude | |
2884 | local ZAPTABLE = Zap({ | |
2885 | StartPosition = POS, | |
2886 | TargetPosition = ORB.Position, | |
2887 | Character = workspace, | |
2888 | Color = "Really red", | |
2889 | Individual = true, | |
2890 | MaxRange = RANGE, | |
2891 | SegmentLength = POWER * 2, | |
2892 | Offset = 1 | |
2893 | }) | |
2894 | Debris:AddItem(ZAPTABLE.LightningModel, 0.1) | |
2895 | 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) | |
2896 | 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) | |
2897 | 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) | |
2898 | 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) | |
2899 | 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) | |
2900 | 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) | |
2901 | end | |
2902 | coroutine.resume(coroutine.create(function() | |
2903 | if POWER <= 3 then | |
2904 | local AIMPOS = Mouse.Hit.p | |
2905 | local O1 = MagicRing() | |
2906 | local O2 = MagicRing() | |
2907 | local O3 = MagicRing() | |
2908 | O1.CFrame = CF(ORB.Position, AIMPOS) * ANGLES(RAD(90), RAD(0), RAD(0)) * CF(0, -ORB.Size.X, 0) | |
2909 | O2.CFrame = CF(ORB.Position, AIMPOS) * ANGLES(RAD(90), RAD(0), RAD(0)) * CF(0, -ORB.Size.X + ORB.Size.X / 4, 0) | |
2910 | O3.CFrame = CF(ORB.Position, AIMPOS) * ANGLES(RAD(90), RAD(0), RAD(0)) * CF(0, -ORB.Size.X + ORB.Size.X / 8, 0) | |
2911 | for i = 1, 25 do | |
2912 | Swait() | |
2913 | O1.Size = O1.Size + VT(POWER, 0, POWER) | |
2914 | O2.Size = O2.Size + VT(POWER, 0, POWER) / 1.5 | |
2915 | O3.Size = O3.Size + VT(POWER, 0, POWER) / 2 | |
2916 | end | |
2917 | local DIST = (ORB.Position - AIMPOS).Magnitude | |
2918 | for i = 1, 75 do | |
2919 | Swait(3) | |
2920 | 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) | |
2921 | killnearest(ORB.Position, ORB.Size.X, 200) | |
2922 | local ZAPTABLE = Zap({ | |
2923 | SIZE = POWER * 2, | |
2924 | StartPosition = ORB.Position, | |
2925 | TargetPosition = AIMPOS + VT(MRANDOM(-POWER * 15, POWER * 15), 0, MRANDOM(-POWER * 15, POWER * 15)) * 2, | |
2926 | Character = Character, | |
2927 | Color = "Really red", | |
2928 | Individual = true, | |
2929 | MaxRange = POWER * 400, | |
2930 | SegmentLength = DIST / 25, | |
2931 | Offset = 3 + DIST / 350 | |
2932 | }) | |
2933 | Debris:AddItem(ZAPTABLE.LightningModel, 0.1) | |
2934 | MagicSphere(ORB.Size * 1.1, 25, CF(ZAPTABLE.RayPos), BRICKC("Really red").Color, ORB.Size / 15) | |
2935 | killnearest(ZAPTABLE.RayPos, POWER * 45, 60) | |
2936 | 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)) | |
2937 | end | |
2938 | local SIZE = ORB.Size | |
2939 | for i = 1, 25 do | |
2940 | Swait() | |
2941 | ORB.Size = ORB.Size - SIZE / 25 | |
2942 | O1.Size = O1.Size - VT(POWER, 0, POWER) | |
2943 | O2.Size = O2.Size - VT(POWER, 0, POWER) / 1.5 | |
2944 | O3.Size = O3.Size - VT(POWER, 0, POWER) / 2 | |
2945 | end | |
2946 | ORB:remove() | |
2947 | O1:remove() | |
2948 | O2:remove() | |
2949 | O3:remove() | |
2950 | elseif POWER > 3 then | |
2951 | local O1 = MagicRing() | |
2952 | local O2 = MagicRing() | |
2953 | local O3 = MagicRing() | |
2954 | O1.CFrame = CF(ORB.Position, Mouse.Hit.p) * ANGLES(RAD(90), RAD(0), RAD(0)) * CF(0, -ORB.Size.X, 0) | |
2955 | 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) | |
2956 | 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) | |
2957 | for i = 1, 25 do | |
2958 | Swait() | |
2959 | O1.CFrame = CF(ORB.Position, Mouse.Hit.p) * ANGLES(RAD(90), RAD(0), RAD(0)) * CF(0, -ORB.Size.X, 0) | |
2960 | 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) | |
2961 | 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) | |
2962 | O1.Size = O1.Size + VT(POWER, 0, POWER) | |
2963 | O2.Size = O2.Size + VT(POWER, 0, POWER) / 1.5 | |
2964 | O3.Size = O3.Size + VT(POWER, 0, POWER) / 2 | |
2965 | end | |
2966 | for i = 1, 75 do | |
2967 | for i = 1, 5 do | |
2968 | Swait() | |
2969 | O1.CFrame = CF(ORB.Position, Mouse.Hit.p) * ANGLES(RAD(90), RAD(0), RAD(0)) * CF(0, -ORB.Size.X, 0) | |
2970 | 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) | |
2971 | 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) | |
2972 | end | |
2973 | killnearest(ORB.Position, ORB.Size.X, 200) | |
2974 | 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) | |
2975 | local DIST = (ORB.Position - Mouse.Hit.p).Magnitude | |
2976 | local ZAPTABLE = Zap({ | |
2977 | SIZE = POWER, | |
2978 | StartPosition = ORB.Position, | |
2979 | TargetPosition = Mouse.Hit.p, | |
2980 | Character = Character, | |
2981 | Color = "Really red", | |
2982 | Individual = true, | |
2983 | MaxRange = POWER * 400, | |
2984 | SegmentLength = DIST / 25, | |
2985 | Offset = 3 + DIST / 350 | |
2986 | }) | |
2987 | Debris:AddItem(ZAPTABLE.LightningModel, 0.1) | |
2988 | MagicSphere(ORB.Size * 1.1, 25, CF(ZAPTABLE.RayPos), BRICKC("Really red").Color, ORB.Size / 15) | |
2989 | killnearest(ZAPTABLE.RayPos, POWER * 45, 60) | |
2990 | 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)) | |
2991 | end | |
2992 | local SIZE = ORB.Size | |
2993 | for i = 1, 25 do | |
2994 | Swait() | |
2995 | ORB.Size = ORB.Size - SIZE / 25 | |
2996 | O1.Size = O1.Size - VT(POWER, 0, POWER) | |
2997 | O2.Size = O2.Size - VT(POWER, 0, POWER) / 1.5 | |
2998 | O3.Size = O3.Size - VT(POWER, 0, POWER) / 2 | |
2999 | end | |
3000 | ORB:remove() | |
3001 | O1:remove() | |
3002 | O2:remove() | |
3003 | O3:remove() | |
3004 | end | |
3005 | coroutine.resume(coroutine.create(function() | |
3006 | for i = 1, 65 do | |
3007 | Swait() | |
3008 | CENTER.Size = CENTER.Size - VT(POWER, 0, POWER) | |
3009 | CENTER.CFrame = CENTER.CFrame * ANGLES(RAD(0), RAD(i), RAD(0)) | |
3010 | end | |
3011 | CENTER:remove() | |
3012 | end)) | |
3013 | end)) | |
3014 | end | |
3015 | elseif POWER > 6 then | |
3016 | do | |
3017 | local FINISHED = false | |
3018 | local YIN = CreatePart(3, Effects, "Neon", 0, 0, "Really black", "YIN", VT(25, 25, 25)) | |
3019 | local YAN = CreatePart(3, Effects, "Neon", 0, 0, "Really red", "YAN", VT(65, 25, 65)) | |
3020 | coroutine.resume(coroutine.create(function() | |
3021 | local LOOP = 0 | |
3022 | repeat | |
3023 | YIN.CFrame = CF(HITPOS + VT(0, 500, 0)) * ANGLES(RAD(0), RAD(LOOP), RAD(0)) * CF(0, 0, 200) | |
3024 | YAN.CFrame = CF(HITPOS + VT(0, 500, 0)) * ANGLES(RAD(0), RAD(LOOP), RAD(0)) * CF(0, 0, -200) | |
3025 | LOOP = LOOP + 5 | |
3026 | MagicSphere(VT(500, 5, 500), 65, CF(YIN.Position), BRICKC("Really red").Color, VT(-1, -0.001, -1) * 2) | |
3027 | MagicSphere(VT(500, 5, 500), 65, CF(YAN.Position), C3(0, 0, 0), VT(-1, -0.001, -1) * 2) | |
3028 | Swait() | |
3029 | until FINISHED == true | |
3030 | YIN:remove() | |
3031 | YAN:remove() | |
3032 | end)) | |
3033 | CreateSound("438666077", Effects, 10, 1) | |
3034 | for i = 0, 1, 0.1 / Animation_Speed do | |
3035 | Swait() | |
3036 | 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) | |
3037 | 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) | |
3038 | 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) | |
3039 | 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) | |
3040 | 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) | |
3041 | 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) | |
3042 | end | |
3043 | local ORB = CreatePart(3, Effects, "Neon", 0, 0, "Really red", "ORB", VT(6, 6, 6)) | |
3044 | MakeForm(ORB, "Ball") | |
3045 | ORB.CFrame = CF(HITPOS + VT(0, 150, 0)) | |
3046 | for i = 0, 8, 0.1 / Animation_Speed do | |
3047 | Swait() | |
3048 | if MRANDOM(1, 8) == 1 then | |
3049 | local RANGE1 = (ORB.Position - YIN.Position).Magnitude | |
3050 | local RANGE2 = (ORB.Position - YAN.Position).Magnitude | |
3051 | local ZAPTABLE1 = Zap({ | |
3052 | SIZE = POWER / 3, | |
3053 | StartPosition = YIN.Position, | |
3054 | TargetPosition = ORB.Position, | |
3055 | Character = workspace, | |
3056 | Color = "Pearl", | |
3057 | Individual = true, | |
3058 | MaxRange = RANGE1, | |
3059 | SegmentLength = 25, | |
3060 | Offset = 6 | |
3061 | }) | |
3062 | local ZAPTABLE2 = Zap({ | |
3063 | SIZE = POWER / 3, | |
3064 | StartPosition = YAN.Position, | |
3065 | TargetPosition = ORB.Position, | |
3066 | Character = workspace, | |
3067 | Color = "Really red", | |
3068 | Individual = true, | |
3069 | MaxRange = RANGE1, | |
3070 | SegmentLength = 25, | |
3071 | Offset = 6 | |
3072 | }) | |
3073 | Debris:AddItem(ZAPTABLE1.LightningModel, 0.1) | |
3074 | Debris:AddItem(ZAPTABLE2.LightningModel, 0.1) | |
3075 | end | |
3076 | ORB.Size = ORB.Size + VT(POWER, POWER, POWER) / 15 | |
3077 | 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) | |
3078 | 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) | |
3079 | 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) | |
3080 | 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) | |
3081 | 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) | |
3082 | 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) | |
3083 | end | |
3084 | FINISHED = true | |
3085 | coroutine.resume(coroutine.create(function() | |
3086 | for i = 1, 6 do | |
3087 | for e = 1, 10 do | |
3088 | Swait() | |
3089 | 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)) | |
3090 | ORB.Size = ORB.Size * 0.97 | |
3091 | killnearest(ORB.Position, ORB.Size.X * 3, 200) | |
3092 | 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)) | |
3093 | end | |
3094 | local POS = ORB.Position | |
3095 | for i = 1, 5 do | |
3096 | 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) | |
3097 | end | |
3098 | 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)) | |
3099 | for e = 1, 10 do | |
3100 | Swait() | |
3101 | if MRANDOM(1, 5) == 1 then | |
3102 | local POS = CF(ORB.Position) * ANGLES(RAD(MRANDOM(-180, 180)), RAD(MRANDOM(-180, 180)), RAD(MRANDOM(-180, 180))) * CF(0, 0, -POWER * 25).p | |
3103 | local ZAPTABLE = Zap({ | |
3104 | SIZE = POWER, | |
3105 | StartPosition = ORB.Position, | |
3106 | TargetPosition = POS, | |
3107 | Character = workspace, | |
3108 | Color = "Really red", | |
3109 | Individual = true, | |
3110 | MaxRange = POWER * 75, | |
3111 | SegmentLength = POWER * 5, | |
3112 | Offset = 3 | |
3113 | }) | |
3114 | Debris:AddItem(ZAPTABLE.LightningModel, 0.1) | |
3115 | end | |
3116 | ORB.Size = ORB.Size * 1.05 | |
3117 | killnearest(ORB.Position, ORB.Size.X * 3, 200) | |
3118 | 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)) | |
3119 | end | |
3120 | end | |
3121 | local POS = ORB.Position | |
3122 | for e = 1, 10 do | |
3123 | Swait() | |
3124 | ORB.Transparency = ORB.Transparency + 0.1 | |
3125 | end | |
3126 | ORB:remove() | |
3127 | killnearest(POS, POWER * 35, 200) | |
3128 | for i = 1, 5 do | |
3129 | 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) | |
3130 | end | |
3131 | 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)) | |
3132 | end)) | |
3133 | end | |
3134 | end | |
3135 | ATTACK = false | |
3136 | Rooted = false | |
3137 | local POWER = 1 | |
3138 | end | |
3139 | end | |
3140 | end | |
3141 | ||
3142 | function Banish_Hop() | |
3143 | ATTACK = true | |
3144 | Rooted = false | |
3145 | local O1 = CreatePart(3, Effects, "Neon", 0, 1, "Really red", "Warphole", VT(0,0,0)) | |
3146 | O1.CFrame = RootPart.CFrame*CF(0,0,-3)*ANGLES(RAD(90),RAD(0),RAD(0)) | |
3147 | local decal = Decal:Clone() | |
3148 | decal.Parent = O1 | |
3149 | decal.Face = "Top" | |
3150 | decal.Texture = "http://www.roblox.com/asset/?id=106410100" | |
3151 | local decal2 = Decal:Clone() | |
3152 | decal2.Parent = O1 | |
3153 | decal2.Face = "Bottom" | |
3154 | decal2.Texture = "http://www.roblox.com/asset/?id=106410100" | |
3155 | local O2 = CreatePart(3, Effects, "Neon", 0, 1, "Really red", "Warphole", VT(0,0,0)) | |
3156 | local POS = VT(RootPart.Position.X,Mouse.Hit.p.Y+6,RootPart.Position.Z) | |
3157 | O2.CFrame = CF(Mouse.Hit.p+VT(0,6,0),POS)*ANGLES(RAD(90),RAD(0),RAD(0)) | |
3158 | local ROOT = CreatePart(3, Effects, "Neon", 0, 1, "Really red", "Warphole", VT(0,0,0)) | |
3159 | ROOT.CFrame = CF(O2.Position,RootPart.Position) | |
3160 | local decal = Decal:Clone() | |
3161 | decal.Parent = O2 | |
3162 | decal.Face = "Top" | |
3163 | decal.Texture = "http://www.roblox.com/asset/?id=106410100" | |
3164 | local decal2 = Decal:Clone() | |
3165 | decal2.Parent = O2 | |
3166 | decal2.Face = "Bottom" | |
3167 | decal2.Texture = "http://www.roblox.com/asset/?id=106410100" | |
3168 | CreateSound("84005018", O1, 10, 0.7) | |
3169 | CreateSound("84005018", O2, 10, 0.7) | |
3170 | for i = 1, 75 do | |
3171 | Swait() | |
3172 | O1.Size = O1.Size + VT(0.1,0,0.1) | |
3173 | O1.CFrame = RootPart.CFrame*CF(0,0,-3)*ANGLES(RAD(90),RAD(i),RAD(0)) | |
3174 | O2.Size = O2.Size + VT(0.1,0,0.1) | |
3175 | O2.CFrame = O2.CFrame*ANGLES(RAD(0),RAD(i),RAD(0)) | |
3176 | 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) | |
3177 | 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) | |
3178 | 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) | |
3179 | 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) | |
3180 | 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) | |
3181 | 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) | |
3182 | end | |
3183 | Rooted = true | |
3184 | UNANCHOR = false | |
3185 | RootPart.Anchored = true | |
3186 | VALUE1 = true | |
3187 | for i = 1, 15 do | |
3188 | Transparency(i/15) | |
3189 | Swait() | |
3190 | RootPart.CFrame = RootPart.CFrame*CF(0,0,-0.13) | |
3191 | 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) | |
3192 | 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) | |
3193 | 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) | |
3194 | 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) | |
3195 | 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) | |
3196 | 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) | |
3197 | end | |
3198 | RootPart.CFrame = ROOT.CFrame | |
3199 | ROOT:remove() | |
3200 | for i = 1, 15 do | |
3201 | Transparency(1-(i/15)) | |
3202 | Swait() | |
3203 | RootPart.CFrame = RootPart.CFrame*CF(0,0,-0.5) | |
3204 | 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) | |
3205 | 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) | |
3206 | 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) | |
3207 | 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) | |
3208 | 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) | |
3209 | 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) | |
3210 | end | |
3211 | VALUE1 = false | |
3212 | coroutine.resume(coroutine.create(function() | |
3213 | for i = 1, 75 do | |
3214 | Swait() | |
3215 | O1.Size = O1.Size - VT(0.1,0,0.1) | |
3216 | O1.CFrame = O1.CFrame*ANGLES(RAD(0),RAD(i),RAD(0)) | |
3217 | O2.Size = O2.Size - VT(0.1,0,0.1) | |
3218 | O2.CFrame = O2.CFrame*ANGLES(RAD(0),RAD(i),RAD(0)) | |
3219 | end | |
3220 | O1:remove() | |
3221 | O2:remove() | |
3222 | end)) | |
3223 | UNANCHOR = true | |
3224 | RootPart.Anchored = false | |
3225 | ATTACK = false | |
3226 | Rooted = false | |
3227 | end | |
3228 | ||
3229 | function Governor_Bomb() | |
3230 | local CENTER = CreatePart(3, Effects, "SmoothPlastic", 0, 1, C3(0.0196078431372549, 0.09803921568627451, 0.0196078431372549), "CenterPart", VT(0, 0, 0)) | |
3231 | local RAY = CreatePart(3, Effects, "Neon", 0, 1, C3(0.0196078431372549, 0.09803921568627451, 0.0196078431372549), "Laser01", VT(25, 25, 25)) | |
3232 | RAY.Color = C3(0.0196078431372549, 0.09803921568627451, 0.0196078431372549) | |
3233 | MakeForm(RAY, "Ball") | |
3234 | local ECH = Mouse.Hit.p | |
3235 | CENTER.CFrame = CF(Mouse.Hit.p) | |
3236 | RAY.CFrame = CENTER.CFrame | |
3237 | CreateSound("814168787", CENTER, 10, 0.6) | |
3238 | for i = 1, 80 do | |
3239 | Swait() | |
3240 | RAY.Size = RAY.Size * 0.98 | |
3241 | RAY.Transparency = RAY.Transparency - 0.016666666666666666 | |
3242 | end | |
3243 | killnearest(ECH, 25, 250) | |
3244 | MagicSphere(VT(1, 1, 1), 55, CF(ECH), C3(0.0196078431372549, 0.09803921568627451, 0.0196078431372549), VT(2, 2, 2)) | |
3245 | MagicSphere(VT(0, 0, 0), 45, CF(ECH), C3(0, 0, 0), VT(2, 2, 2)) | |
3246 | CreateSound("314970790", CENTER, 10, 1) | |
3247 | Debris:AddItem(CENTER, 5) | |
3248 | RAY:remove() | |
3249 | end | |
3250 | function Governor_Bomb2() | |
3251 | local CENTER = CreatePart(3, Effects, "SmoothPlastic", 0, 1, C3(0.0196078431372549, 0.09803921568627451, 0.0196078431372549), "CenterPart", VT(0, 0, 0)) | |
3252 | local RAY = CreatePart(3, Effects, "Neon", 0, 1, C3(0.0196078431372549, 0.09803921568627451, 0.0196078431372549), "Laser01", VT(25, 25, 25)) | |
3253 | RAY.Color = C3(0.96078431372549, 0.019803921568627451, 0.0196078431372549) | |
3254 | MakeForm(RAY, "Ball") | |
3255 | local ECH = Mouse.Hit.p | |
3256 | CENTER.CFrame = CF(Mouse.Hit.p) | |
3257 | RAY.CFrame = CENTER.CFrame | |
3258 | CreateSound("814168787", CENTER, 10, 0.6) | |
3259 | for i = 1, 80 do | |
3260 | Swait() | |
3261 | RAY.Size = RAY.Size * 0.98 | |
3262 | RAY.Transparency = RAY.Transparency - 0.016666666666666666 | |
3263 | end | |
3264 | killnearest(ECH, 25, 250) | |
3265 | MagicSphere(VT(1, 1, 1), 55, CF(ECH), C3(0.96078431372549, 0.019803921568627451, 0.0196078431372549), VT(2, 2, 2)) | |
3266 | MagicSphere(VT(0, 0, 0), 45, CF(ECH), C3(0, 0, 0), VT(2, 2, 2)) | |
3267 | CreateSound("314970790", CENTER, 10, 1) | |
3268 | Debris:AddItem(CENTER, 5) | |
3269 | RAY:remove() | |
3270 | end | |
3271 | function Command_Rush() | |
3272 | ATTACK = true | |
3273 | Rooted = false | |
3274 | for i = 0, 1, 0.1 / Animation_Speed do | |
3275 | Swait() | |
3276 | 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) | |
3277 | 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) | |
3278 | 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) | |
3279 | 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) | |
3280 | 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) | |
3281 | 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) | |
3282 | end | |
3283 | Rooted = true | |
3284 | local GYRO = IT("BodyGyro", RootPart) | |
3285 | GYRO.D = 100 | |
3286 | GYRO.P = 2000 | |
3287 | GYRO.MaxTorque = VT(0, 4000000, 0) | |
3288 | GYRO.cframe = CF(RootPart.Position, Mouse.Hit.p) | |
3289 | for i = 1, 15 do | |
3290 | for i = 1, 15 do | |
3291 | Swait() | |
3292 | GYRO.cframe = CF(RootPart.Position, Mouse.Hit.p) | |
3293 | 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) | |
3294 | 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) | |
3295 | 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) | |
3296 | 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) | |
3297 | 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) | |
3298 | 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) | |
3299 | end | |
3300 | coroutine.resume(coroutine.create(function() | |
3301 | local EYE = CreatePart(3, Effects, "Neon", 0, 0, "Really red", "Eyeball", VT(0, 0, 0)) | |
3302 | CreateSound("814168787", EYE, 10, 1) | |
3303 | EYE.CFrame = RootPart.CFrame * CF(MRANDOM(-15, 15), MRANDOM(8, 20), MRANDOM(-15, 15)) | |
3304 | local M = CreateMesh("SpecialMesh", EYE, "FileMesh", "82326541", "82327419", VT(0, 0, 0), VT(0, 0, 0)) | |
3305 | MagicSphere(VT(0, 0, 0), 15, CF(EYE.Position), C3(0.0196078431372549, 0.09803921568627451, 0.0196078431372549), VT(1, 1, 1)) | |
3306 | local ATTACKI = false | |
3307 | local TORS | |
3308 | for i = 1, 10 do | |
3309 | Swait() | |
3310 | M.Scale = M.Scale + VT(0.1, 0.1, 0.1) * 3 | |
3311 | EYE.CFrame = EYE.CFrame * CF(0, 0, -0.5) | |
3312 | end | |
3313 | for i = 1, 100 do | |
3314 | Swait() | |
3315 | for _, c in pairs(workspace:GetChildren()) do | |
3316 | if c.ClassName == "Model" and c ~= Character and c:FindFirstChildOfClass("Humanoid") and (c:FindFirstChild("Torso") or c:FindFirstChild("UpperTorso")) then | |
3317 | local HUMANOID = c:FindFirstChildOfClass("Humanoid") | |
3318 | if 0 < HUMANOID.Health then | |
3319 | local TORSO = c:FindFirstChild("Torso") or c:FindFirstChild("UpperTorso") | |
3320 | if (TORSO.Position - EYE.Position).Magnitude < 35 then | |
3321 | ATTACKI = true | |
3322 | TORS = TORSO | |
3323 | end | |
3324 | end | |
3325 | end | |
3326 | end | |
3327 | if ATTACKI == true then | |
3328 | break | |
3329 | end | |
3330 | EYE.CFrame = EYE.CFrame * CF(0, 0, -1) | |
3331 | end | |
3332 | if ATTACKI == false then | |
3333 | for i = 1, 10 do | |
3334 | Swait() | |
3335 | M.Scale = M.Scale - VT(0.1, 0.1, 0.1) * 3 | |
3336 | EYE.CFrame = EYE.CFrame * CF(0, 0, -0.5) | |
3337 | end | |
3338 | else | |
3339 | if TORS ~= nil then | |
3340 | CreateSound("215395388", EYE, 10, 2) | |
3341 | local DIST = (TORS.Position - EYE.Position).Magnitude | |
3342 | MagicSphere(VT(0, 0, 0), 15, CF(EYE.Position), C3(0.0196078431372549, 0.09803921568627451, 0.0196078431372549), VT(1, 1, 1)) | |
3343 | 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)) | |
3344 | MagicSphere(VT(0, 0, 0), 15, CF(TORS.Position), C3(0.0196078431372549, 0.09803921568627451, 0.0196078431372549), VT(1, 1, 1)) | |
3345 | EYE.CFrame = CF(EYE.Position, TORS.Position) | |
3346 | TORS.Parent:BreakJoints() | |
3347 | Swait(35) | |
3348 | end | |
3349 | for i = 1, 10 do | |
3350 | Swait() | |
3351 | M.Scale = M.Scale - VT(0.1, 0.1, 0.1) * 3 | |
3352 | end | |
3353 | end | |
3354 | EYE:remove() | |
3355 | end)) | |
3356 | end | |
3357 | GYRO:remove() | |
3358 | ATTACK = false | |
3359 | Rooted = false | |
3360 | end | |
3361 | function Ruler() | |
3362 | local HITFLOOR, HITPOS, NORMAL = Raycast(RootPart.Position, CF(RootPart.Position, RootPart.Position + VT(0, -1, 0)).lookVector, 7 * Player_Size, Character) | |
3363 | if HITFLOOR ~= nil then | |
3364 | do | |
3365 | local HITBODIES = {} | |
3366 | ATTACK = true | |
3367 | Rooted = true | |
3368 | local ABSOLUTE = CreatePart(3, Effects, "Neon", 0, 1, "Really red", "SuperNova", VT(0, 0, 0)) | |
3369 | ABSOLUTE.Color = C3(0.0196078431372549, 0.09803921568627451, 0.0196078431372549) | |
3370 | MakeForm(ABSOLUTE, "Ball") | |
3371 | CreateSound("814168787", ABSOLUTE, 10, 0.3) | |
3372 | for i = 0, 4, 0.1 / Animation_Speed do | |
3373 | Swait() | |
3374 | ABSOLUTE.Size = ABSOLUTE.Size + VT(0.2, 0.2, 0.2) | |
3375 | ABSOLUTE.CFrame = RootPart.CFrame * CF(0, 5 + ABSOLUTE.Size.Y / 2, 0) | |
3376 | ABSOLUTE.Transparency = ABSOLUTE.Transparency - 0.01 | |
3377 | local CHARGE = CreatePart(3, Effects, "Neon", 0, 0, "Really red", "Star", VT(1, 1, 1)) | |
3378 | MakeForm(CHARGE, "Ball") | |
3379 | CHARGE.Color = C3(0, 0, 0) | |
3380 | CHARGE.CFrame = CF(RootPart.Position) * CF(MRANDOM(-15, 15), -6, MRANDOM(-15, 15)) | |
3381 | FireArc(CHARGE, ABSOLUTE.Position, 45, 45, true) | |
3382 | 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) | |
3383 | 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) | |
3384 | 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) | |
3385 | 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) | |
3386 | 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) | |
3387 | 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) | |
3388 | end | |
3389 | CreateSound("907333406", Head, 10, 1) | |
3390 | for i = 0, 2, 0.1 / Animation_Speed do | |
3391 | Swait() | |
3392 | 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) | |
3393 | 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) | |
3394 | 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) | |
3395 | 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) | |
3396 | 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) | |
3397 | 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) | |
3398 | end | |
3399 | coroutine.resume(coroutine.create(function() | |
3400 | local PITS = {} | |
3401 | CreateSound("178452217", ABSOLUTE, 10, 0.7) | |
3402 | for i = 1, 6 do | |
3403 | for i = 1, 10 do | |
3404 | Swait() | |
3405 | 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)) | |
3406 | ABSOLUTE.Size = ABSOLUTE.Size * 0.9 | |
3407 | end | |
3408 | for i = 1, 10 do | |
3409 | Swait() | |
3410 | ABSOLUTE.Size = ABSOLUTE.Size * 1.12 | |
3411 | end | |
3412 | end | |
3413 | CreateSound("215395388", ABSOLUTE, 10, 0.6) | |
3414 | CreateSound("215395388", ABSOLUTE, 10, 0.65) | |
3415 | CreateSound("215395388", ABSOLUTE, 10, 0.7) | |
3416 | for i = 1, 75 do | |
3417 | Swait() | |
3418 | local ICICLE = IT("CornerWedgePart", Effects) | |
3419 | ICICLE.Locked = true | |
3420 | ICICLE.CanCollide = false | |
3421 | ICICLE.Anchored = true | |
3422 | ICICLE.Color = C3(0, 0, 0) | |
3423 | ICICLE.Material = "Neon" | |
3424 | ICICLE.Size = VT(i / 3, i * 2, i / 3) | |
3425 | 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))) | |
3426 | table.insert(PITS, ICICLE) | |
3427 | killnearest(ICICLE.Position, ICICLE.Size.Y / 1.5, -100) | |
3428 | ABSOLUTE.Size = ABSOLUTE.Size * 1.03 | |
3429 | killnearest(ABSOLUTE.Position, ABSOLUTE.Size.X / 1.9, -100) | |
3430 | for i = 1, 3 do | |
3431 | 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)) | |
3432 | end | |
3433 | 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)) | |
3434 | end | |
3435 | ABSOLUTE.Transparency = 0 | |
3436 | for i = 1, 10 do | |
3437 | Swait() | |
3438 | ABSOLUTE.Size = ABSOLUTE.Size * 0.9 | |
3439 | ABSOLUTE.Transparency = ABSOLUTE.Transparency + 0.1 | |
3440 | end | |
3441 | Debris:AddItem(ABSOLUTE, 5) | |
3442 | Swait(50) | |
3443 | for i = 1, 10 do | |
3444 | Swait() | |
3445 | for e = 1, #PITS do | |
3446 | if PITS[e] ~= nil then | |
3447 | local E = PITS[e] | |
3448 | E.Transparency = E.Transparency + 0.1 | |
3449 | end | |
3450 | end | |
3451 | end | |
3452 | for e = 1, #PITS do | |
3453 | if PITS[e] ~= nil then | |
3454 | local E = PITS[e] | |
3455 | E:remove() | |
3456 | end | |
3457 | end | |
3458 | end)) | |
3459 | ATTACK = false | |
3460 | Rooted = false | |
3461 | end | |
3462 | end | |
3463 | end | |
3464 | local Decal = IT("Decal") | |
3465 | function Monarch_Hop() | |
3466 | ATTACK = true | |
3467 | Rooted = false | |
3468 | local O1 = CreatePart(3, Effects, "Neon", 0, 1, "Really red", "Warphole", VT(0, 0, 0)) | |
3469 | O1.CFrame = RootPart.CFrame * CF(0, 0, -3) * ANGLES(RAD(90), RAD(0), RAD(0)) | |
3470 | local decal = Decal:Clone() | |
3471 | decal.Parent = O1 | |
3472 | decal.Face = "Top" | |
3473 | decal.Texture = "http://www.roblox.com/asset/?id=332014171" | |
3474 | local decal2 = Decal:Clone() | |
3475 | decal2.Parent = O1 | |
3476 | decal2.Face = "Bottom" | |
3477 | decal2.Texture = "http://www.roblox.com/asset/?id=332014171" | |
3478 | local O2 = CreatePart(3, Effects, "Neon", 0, 1, "Really red", "Warphole", VT(0, 0, 0)) | |
3479 | local POS = VT(RootPart.Position.X, Mouse.Hit.p.Y + 6, RootPart.Position.Z) | |
3480 | O2.CFrame = CF(Mouse.Hit.p + VT(0, 6, 0), POS) * ANGLES(RAD(90), RAD(0), RAD(0)) | |
3481 | local ROOT = CreatePart(3, Effects, "Neon", 0, 1, "Really red", "Warphole", VT(0, 0, 0)) | |
3482 | ROOT.CFrame = CF(O2.Position, RootPart.Position) | |
3483 | local decal = Decal:Clone() | |
3484 | decal.Parent = O2 | |
3485 | decal.Face = "Top" | |
3486 | decal.Texture = "http://www.roblox.com/asset/?id=332014171" | |
3487 | local decal2 = Decal:Clone() | |
3488 | decal2.Parent = O2 | |
3489 | decal2.Face = "Bottom" | |
3490 | decal2.Texture = "http://www.roblox.com/asset/?id=332014171" | |
3491 | CreateSound("84005018", O1, 10, 0.7) | |
3492 | CreateSound("84005018", O2, 10, 0.7) | |
3493 | for i = 1, 75 do | |
3494 | Swait() | |
3495 | O1.Size = O1.Size + VT(0.1, 0, 0.1) | |
3496 | O1.CFrame = RootPart.CFrame * CF(0, 0, -3) * ANGLES(RAD(90), RAD(i), RAD(0)) | |
3497 | O2.Size = O2.Size + VT(0.1, 0, 0.1) | |
3498 | O2.CFrame = O2.CFrame * ANGLES(RAD(0), RAD(i), RAD(0)) | |
3499 | 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) | |
3500 | 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) | |
3501 | 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) | |
3502 | 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) | |
3503 | 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) | |
3504 | 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) | |
3505 | end | |
3506 | Rooted = true | |
3507 | UNANCHOR = false | |
3508 | RootPart.Anchored = true | |
3509 | VALUE1 = true | |
3510 | for i = 1, 15 do | |
3511 | Transparency(i / 15) | |
3512 | Swait() | |
3513 | RootPart.CFrame = RootPart.CFrame * CF(0, 0, -0.13) | |
3514 | 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) | |
3515 | 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) | |
3516 | 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) | |
3517 | 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) | |
3518 | 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) | |
3519 | 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) | |
3520 | end | |
3521 | RootPart.CFrame = ROOT.CFrame | |
3522 | ROOT:remove() | |
3523 | for i = 1, 15 do | |
3524 | Transparency(1 - i / 15) | |
3525 | Swait() | |
3526 | RootPart.CFrame = RootPart.CFrame * CF(0, 0, -0.5) | |
3527 | 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) | |
3528 | 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) | |
3529 | 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) | |
3530 | 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) | |
3531 | 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) | |
3532 | 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) | |
3533 | end | |
3534 | VALUE1 = false | |
3535 | coroutine.resume(coroutine.create(function() | |
3536 | for i = 1, 75 do | |
3537 | Swait() | |
3538 | O1.Size = O1.Size - VT(0.1, 0, 0.1) | |
3539 | O1.CFrame = O1.CFrame * ANGLES(RAD(0), RAD(i), RAD(0)) | |
3540 | O2.Size = O2.Size - VT(0.1, 0, 0.1) | |
3541 | O2.CFrame = O2.CFrame * ANGLES(RAD(0), RAD(i), RAD(0)) | |
3542 | end | |
3543 | O1:remove() | |
3544 | O2:remove() | |
3545 | end)) | |
3546 | UNANCHOR = true | |
3547 | RootPart.Anchored = false | |
3548 | ATTACK = false | |
3549 | Rooted = false | |
3550 | end | |
3551 | ||
3552 | function R15Ragdoll(character,KeepArms) | |
3553 | character:BreakJoints() | |
3554 | coroutine.resume(coroutine.create(function() | |
3555 | recurse(character, function(_,v) | |
3556 | if v:IsA("Attachment") then | |
3557 | v.Axis = Vector3.new(0, 1, 0) | |
3558 | v.SecondaryAxis = Vector3.new(0, 0, 1) | |
3559 | v.Rotation = Vector3.new(0, 0, 0) | |
3560 | end | |
3561 | end) | |
3562 | for _,child in next,character:GetChildren() do | |
3563 | if child:IsA("Accoutrement") then | |
3564 | for _,part in next,child:GetChildren() do | |
3565 | if part:IsA("BasePart") and part.Name ~= "HumanoidRootPart" then | |
3566 | local attachment1 = part:FindFirstChildOfClass("Attachment") | |
3567 | local attachment0 = getAttachment0(character,attachment1.Name) | |
3568 | if attachment0 and attachment1 then | |
3569 | local constraint = Instance.new("HingeConstraint") | |
3570 | constraint.Attachment0 = attachment0 | |
3571 | constraint.Attachment1 = attachment1 | |
3572 | constraint.LimitsEnabled = true | |
3573 | constraint.UpperAngle = 0 | |
3574 | constraint.LowerAngle = 0 | |
3575 | constraint.Parent = character | |
3576 | end | |
3577 | ArtificialHitbox(part) | |
3578 | elseif part.Name == "HumanoidRootPart" then | |
3579 | part:remove() | |
3580 | end | |
3581 | end | |
3582 | end | |
3583 | end | |
3584 | ||
3585 | ragdollJoint(character,character.LowerTorso, character.UpperTorso, "Waist", "BallSocket", { | |
3586 | {"LimitsEnabled",true}; | |
3587 | {"UpperAngle",5}; | |
3588 | }) | |
3589 | if character:FindFirstChild("Head") then | |
3590 | ragdollJoint(character,character.UpperTorso, character.Head, "Neck", "BallSocket", { | |
3591 | {"LimitsEnabled",true}; | |
3592 | {"UpperAngle",15}; | |
3593 | }) | |
3594 | end | |
3595 | ||
3596 | local handProperties = { | |
3597 | {"LimitsEnabled", true}; | |
3598 | {"UpperAngle",0}; | |
3599 | {"LowerAngle",0}; | |
3600 | } | |
3601 | ragdollJoint(character,character.LeftLowerArm, character.LeftHand, "LeftWrist", "Hinge", handProperties) | |
3602 | ragdollJoint(character,character.RightLowerArm, character.RightHand, "RightWrist", "Hinge", handProperties) | |
3603 | ||
3604 | local shinProperties = { | |
3605 | {"LimitsEnabled", true}; | |
3606 | {"UpperAngle", 0}; | |
3607 | {"LowerAngle", -75}; | |
3608 | } | |
3609 | ragdollJoint(character,character.LeftUpperLeg, character.LeftLowerLeg, "LeftKnee", "Hinge", shinProperties) | |
3610 | ragdollJoint(character,character.RightUpperLeg, character.RightLowerLeg, "RightKnee", "Hinge", shinProperties) | |
3611 | ||
3612 | local footProperties = { | |
3613 | {"LimitsEnabled", true}; | |
3614 | {"UpperAngle", 15}; | |
3615 | {"LowerAngle", -45}; | |
3616 | } | |
3617 | ragdollJoint(character,character.LeftLowerLeg, character.LeftFoot, "LeftAnkle", "Hinge", footProperties) | |
3618 | ragdollJoint(character,character.RightLowerLeg, character.RightFoot, "RightAnkle", "Hinge", footProperties) | |
3619 | if KeepArms == true then | |
3620 | ragdollJoint(character,character.UpperTorso, character.RightUpperArm, "RightShoulder", "BallSocket") | |
3621 | ragdollJoint(character,character.RightUpperArm, character.RightLowerArm, "RightElbow", "BallSocket") | |
3622 | ragdollJoint(character,character.UpperTorso, character.LeftUpperArm, "LeftShoulder", "BallSocket") | |
3623 | ragdollJoint(character,character.LeftUpperArm, character.LeftLowerArm, "LeftElbow", "BallSocket") | |
3624 | end | |
3625 | ragdollJoint(character,character.LowerTorso, character.LeftUpperLeg, "LeftHip", "BallSocket") | |
3626 | ragdollJoint(character,character.LowerTorso, character.RightUpperLeg, "RightHip", "BallSocket") | |
3627 | Debris:AddItem(character,5) | |
3628 | end)) | |
3629 | end | |
3630 | ||
3631 | function Ragdoll(Character2,CharTorso,KeepArms) | |
3632 | coroutine.resume(coroutine.create(function() | |
3633 | Character2:BreakJoints() | |
3634 | local hum = Character2:findFirstChild("Humanoid") | |
3635 | hum:remove() | |
3636 | local function Scan(ch) | |
3637 | local e | |
3638 | for e = 1,#ch do | |
3639 | Scan(ch[e]:GetChildren()) | |
3640 | if ch[e].ClassName == "Weld" or ch[e].ClassName == "Motor6D" then | |
3641 | ch[e]:remove() | |
3642 | end | |
3643 | end | |
3644 | end | |
3645 | local NEWHUM = IT("Humanoid") | |
3646 | NEWHUM.Name = "Corpse" | |
3647 | NEWHUM.Health = 0 | |
3648 | NEWHUM.MaxHealth = 0 | |
3649 | NEWHUM.PlatformStand = true | |
3650 | NEWHUM.Parent = Character2 | |
3651 | NEWHUM.DisplayDistanceType = "None" | |
3652 | ||
3653 | local ch = Character2:GetChildren() | |
3654 | local i | |
3655 | for i = 1,#ch do | |
3656 | if ch[i].Name == "THandle1" or ch[i].Name == "THandle2" then | |
3657 | ch[i]:remove() | |
3658 | end | |
3659 | end | |
3660 | ||
3661 | local Torso2 = Character2.Torso | |
3662 | local movevector = Vector3.new() | |
3663 | ||
3664 | if Torso2 then | |
3665 | movevector = CFrame.new(CharTorso.Position,Torso2.Position).lookVector | |
3666 | local Head = Character2:FindFirstChild("Head") | |
3667 | if Head then | |
3668 | local Neck = Instance.new("Weld") | |
3669 | Neck.Name = "Neck" | |
3670 | Neck.Part0 = Torso2 | |
3671 | Neck.Part1 = Head | |
3672 | Neck.C0 = CFrame.new(0, 1.5, 0) | |
3673 | Neck.C1 = CFrame.new() | |
3674 | Neck.Parent = Torso2 | |
3675 | ||
3676 | end | |
3677 | local Limb = Character2:FindFirstChild("Right Arm") | |
3678 | if Limb and KeepArms == true then | |
3679 | ||
3680 | Limb.CFrame = Torso2.CFrame * CFrame.new(1.5, 0, 0) | |
3681 | local Joint = Instance.new("Glue") | |
3682 | Joint.Name = "RightShoulder" | |
3683 | Joint.Part0 = Torso2 | |
3684 | Joint.Part1 = Limb | |
3685 | Joint.C0 = CFrame.new(1.5, 0.5, 0, 0, 0, 1, 0, 1, 0, -1, -0, -0) | |
3686 | Joint.C1 = CFrame.new(-0, 0.5, 0, 0, 0, 1, 0, 1, 0, -1, -0, -0) | |
3687 | Joint.Parent = Torso2 | |
3688 | ||
3689 | local B = Instance.new("Part") | |
3690 | B.TopSurface = 0 | |
3691 | B.BottomSurface = 0 | |
3692 | B.formFactor = "Symmetric" | |
3693 | B.Size = Vector3.new(1, 1, 1) | |
3694 | B.Transparency = 1 | |
3695 | B.CFrame = Limb.CFrame * CFrame.new(0, -0.5, 0) | |
3696 | B.Parent = Character2 | |
3697 | local W = Instance.new("Weld") | |
3698 | W.Part0 = Limb | |
3699 | W.Part1 = B | |
3700 | W.C0 = CFrame.new(0, -0.5, 0) | |
3701 | W.Parent = Limb | |
3702 | ||
3703 | end | |
3704 | local Limb = Character2:FindFirstChild("Left Arm") | |
3705 | if Limb and KeepArms == true then | |
3706 | ||
3707 | Limb.CFrame = Torso2.CFrame * CFrame.new(-1.5, 0, 0) | |
3708 | local Joint = Instance.new("Glue") | |
3709 | Joint.Name = "LeftShoulder" | |
3710 | Joint.Part0 = Torso2 | |
3711 | Joint.Part1 = Limb | |
3712 | Joint.C0 = CFrame.new(-1.5, 0.5, 0, -0, -0, -1, 0, 1, 0, 1, 0, 0) | |
3713 | Joint.C1 = CFrame.new(0, 0.5, 0, -0, -0, -1, 0, 1, 0, 1, 0, 0) | |
3714 | Joint.Parent = Torso2 | |
3715 | ||
3716 | local B = Instance.new("Part") | |
3717 | B.TopSurface = 0 | |
3718 | B.BottomSurface = 0 | |
3719 | B.formFactor = "Symmetric" | |
3720 | B.Size = Vector3.new(1, 1, 1) | |
3721 | B.Transparency = 1 | |
3722 | B.CFrame = Limb.CFrame * CFrame.new(0, -0.5, 0) | |
3723 | B.Parent = Character2 | |
3724 | local W = Instance.new("Weld") | |
3725 | W.Part0 = Limb | |
3726 | W.Part1 = B | |
3727 | W.C0 = CFrame.new(0, -0.5, 0) | |
3728 | W.Parent = Limb | |
3729 | ||
3730 | end | |
3731 | local Limb = Character2:FindFirstChild("Right Leg") | |
3732 | if Limb then | |
3733 | ||
3734 | Limb.CFrame = Torso2.CFrame * CFrame.new(0.5, -2, 0) | |
3735 | local Joint = Instance.new("Glue") | |
3736 | Joint.Name = "RightHip" | |
3737 | Joint.Part0 = Torso2 | |
3738 | Joint.Part1 = Limb | |
3739 | Joint.C0 = CFrame.new(0.5, -1, 0, 0, 0, 1, 0, 1, 0, -1, -0, -0) | |
3740 | Joint.C1 = CFrame.new(0, 1, 0, 0, 0, 1, 0, 1, 0, -1, -0, -0) | |
3741 | Joint.Parent = Torso2 | |
3742 | ||
3743 | local B = Instance.new("Part") | |
3744 | B.TopSurface = 0 | |
3745 | B.BottomSurface = 0 | |
3746 | B.formFactor = "Symmetric" | |
3747 | B.Size = Vector3.new(1, 1, 1) | |
3748 | B.Transparency = 1 | |
3749 | B.CFrame = Limb.CFrame * CFrame.new(0, -0.5, 0) | |
3750 | B.Parent = Character2 | |
3751 | local W = Instance.new("Weld") | |
3752 | W.Part0 = Limb | |
3753 | W.Part1 = B | |
3754 | W.C0 = CFrame.new(0, -0.5, 0) | |
3755 | W.Parent = Limb | |
3756 | ||
3757 | end | |
3758 | local Limb = Character2:FindFirstChild("Left Leg") | |
3759 | if Limb then | |
3760 | ||
3761 | Limb.CFrame = Torso2.CFrame * CFrame.new(-0.5, -2, 0) | |
3762 | local Joint = Instance.new("Glue") | |
3763 | Joint.Name = "LeftHip" | |
3764 | Joint.Part0 = Torso2 | |
3765 | Joint.Part1 = Limb | |
3766 | Joint.C0 = CFrame.new(-0.5, -1, 0, -0, -0, -1, 0, 1, 0, 1, 0, 0) | |
3767 | Joint.C1 = CFrame.new(-0, 1, 0, -0, -0, -1, 0, 1, 0, 1, 0, 0) | |
3768 | Joint.Parent = Torso2 | |
3769 | ||
3770 | local B = Instance.new("Part") | |
3771 | B.TopSurface = 0 | |
3772 | B.BottomSurface = 0 | |
3773 | B.formFactor = "Symmetric" | |
3774 | B.Size = Vector3.new(1, 1, 1) | |
3775 | B.Transparency = 1 | |
3776 | B.CFrame = Limb.CFrame * CFrame.new(0, -0.5, 0) | |
3777 | B.Parent = Character2 | |
3778 | local W = Instance.new("Weld") | |
3779 | W.Part0 = Limb | |
3780 | W.Part1 = B | |
3781 | W.C0 = CFrame.new(0, -0.5, 0) | |
3782 | W.Parent = Limb | |
3783 | ||
3784 | end | |
3785 | --[ | |
3786 | local Bar = Instance.new("Part") | |
3787 | Bar.TopSurface = 0 | |
3788 | Bar.BottomSurface = 0 | |
3789 | Bar.formFactor = "Symmetric" | |
3790 | Bar.Size = Vector3.new(1, 1, 1) | |
3791 | Bar.Transparency = 1 | |
3792 | Bar.CFrame = Torso2.CFrame * CFrame.new(0, 0.5, 0) | |
3793 | Bar.Parent = Character2 | |
3794 | local Weld = Instance.new("Weld") | |
3795 | Weld.Part0 = Torso2 | |
3796 | Weld.Part1 = Bar | |
3797 | Weld.C0 = CFrame.new(0, 0.5, 0) | |
3798 | Weld.Parent = Torso2 | |
3799 | --]] | |
3800 | end | |
3801 | Character2.Parent = workspace | |
3802 | Debris:AddItem(Character2,5) | |
3803 | ||
3804 | return Character2,Torso2 | |
3805 | end)) | |
3806 | end | |
3807 | ||
3808 | function Roar() | |
3809 | ATTACK = true | |
3810 | Rooted = true | |
3811 | local VIOLENCE = 1 | |
3812 | if VIOLENCE <= 10 then | |
3813 | MagicSphere(VT(0,0,0),15,Torso.CFrame,"Lime green",VT(2,2,2)) | |
3814 | for i=0, 1, 0.1 / Animation_Speed do | |
3815 | Swait() | |
3816 | RootJoint.C0 = Clerp(RootJoint.C0,ROOTC0 * CF(0*SIZE, 0*SIZE, 0*SIZE) * ANGLES(RAD(0), RAD(0), RAD(0)), 0.15 / Animation_Speed) | |
3817 | Neck.C0 = Clerp(Neck.C0, NECKC0 * CF(0, 0, 0 + ((1*SIZE) - 1)) * ANGLES(RAD(0), RAD(0), RAD(0)), 0.15 / Animation_Speed) | |
3818 | 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) | |
3819 | 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) | |
3820 | 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) | |
3821 | 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) | |
3822 | end | |
3823 | local TAUNT = CreateSound(VOCALS_ENRAGES[MRANDOM(1,#VOCALS_ENRAGES)], Torso, 10, 1, false) | |
3824 | repeat Swait() until TAUNT.TimeLength > 0 | |
3825 | repeat | |
3826 | Swait() | |
3827 | ApplyAoE(Torso.Position,15,0,0,200,false) | |
3828 | local HITFLOOR,HITPOS = Raycast(RootPart.Position, (CF(RootPart.Position, RootPart.Position + VT(0, -1, 0))).lookVector, 4*SIZE, Character) | |
3829 | 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}) | |
3830 | 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}) | |
3831 | TAUNT.Parent = Torso | |
3832 | Swait() | |
3833 | TAUNT.Parent = Torso | |
3834 | local CHILDREN = workspace:GetDescendants() | |
3835 | for index, CHILD in pairs(CHILDREN) do | |
3836 | if CHILD.ClassName == "Model" and CHILD ~= Character then | |
3837 | local HUM = CHILD:FindFirstChildOfClass("Humanoid") | |
3838 | if HUM then | |
3839 | local TORSO = CHILD:FindFirstChild("Torso") | |
3840 | if TORSO then | |
3841 | if (TORSO.Position - Torso.Position).Magnitude <= 25 then | |
3842 | 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}) | |
3843 | TORSO:remove() | |
3844 | if CHILD:FindFirstChild("Torso") then | |
3845 | Ragdoll(CHILD,Torso,true) | |
3846 | elseif CHILD:FindFirstChild("UpperTorso") then | |
3847 | R15Ragdoll(CHILD,true) | |
3848 | end | |
3849 | end | |
3850 | end | |
3851 | end | |
3852 | end | |
3853 | end | |
3854 | 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) | |
3855 | 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) | |
3856 | 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) | |
3857 | 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) | |
3858 | 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) | |
3859 | 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) | |
3860 | until TAUNT.TimePosition > TAUNT.TimeLength - 2 | |
3861 | end | |
3862 | MagicSphere(VT(0,0,0),15,Torso.CFrame,"Lime green",VT(2,2,2)) | |
3863 | ATTACK = false | |
3864 | Rooted = false | |
3865 | end | |
3866 | ||
3867 | function Blizzard() | |
3868 | local HITFLOOR, HITPOS, NORMAL = Raycast(RootPart.Position, CF(RootPart.Position, RootPart.Position + VT(0, -1, 0)).lookVector, 7 * Player_Size, Character) | |
3869 | if HITFLOOR ~= nil then | |
3870 | ATTACK = true | |
3871 | Rooted = true | |
3872 | local GYRO = IT("BodyGyro", RootPart) | |
3873 | GYRO.D = 100 | |
3874 | GYRO.P = 2000 | |
3875 | GYRO.MaxTorque = VT(0, 4000000, 0) | |
3876 | GYRO.cframe = CF(RootPart.Position, Mouse.Hit.p) | |
3877 | for i = 0, 3.5, 0.1 / Animation_Speed do | |
3878 | Swait() | |
3879 | 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) | |
3880 | GYRO.cframe = CF(RootPart.Position, Mouse.Hit.p) | |
3881 | 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) | |
3882 | 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) | |
3883 | 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) | |
3884 | 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) | |
3885 | 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) | |
3886 | 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) | |
3887 | end | |
3888 | CreateSound("160772554", RightArm, 10, 0.7) | |
3889 | for i = 0, 0.15, 0.1 / Animation_Speed do | |
3890 | Swait() | |
3891 | 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) | |
3892 | GYRO.cframe = CF(RootPart.Position, Mouse.Hit.p) | |
3893 | 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) | |
3894 | 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) | |
3895 | 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) | |
3896 | 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) | |
3897 | 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) | |
3898 | 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) | |
3899 | end | |
3900 | coroutine.resume(coroutine.create(function() | |
3901 | local CENTER = CreatePart(3, Effects, "SmoothPlastic", 0, 1, SKILLTEXTCOLOR, "CenterPart", VT(0, 0, 0)) | |
3902 | CENTER.CFrame = RootPart.CFrame | |
3903 | for i = 1, 200 do | |
3904 | Swait() | |
3905 | CENTER.CFrame = CENTER.CFrame * CF(0, 0, -0.7) | |
3906 | for i = 1, 2 do | |
3907 | 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) | |
3908 | end | |
3909 | killnearest(CENTER.Position, 25, 10) | |
3910 | end | |
3911 | CENTER:remove() | |
3912 | end)) | |
3913 | for i = 0, 1, 0.1 / Animation_Speed do | |
3914 | Swait() | |
3915 | 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) | |
3916 | 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) | |
3917 | 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) | |
3918 | 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) | |
3919 | 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) | |
3920 | 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) | |
3921 | end | |
3922 | Rooted = true | |
3923 | GYRO:remove() | |
3924 | ATTACK = false | |
3925 | Rooted = false | |
3926 | end | |
3927 | end | |
3928 | ||
3929 | local Intro = false | |
3930 | local INSTANT = false | |
3931 | ||
3932 | function Intro() | |
3933 | ATTACK = true | |
3934 | Rooted = true | |
3935 | coroutine.resume(coroutine.create(function() | |
3936 | wait(7) | |
3937 | BodyColor = C3(0,0,0) | |
3938 | LegColor = C3(0.03, 0, 0) | |
3939 | ArmColor = C3(0.13, 0, 0) | |
3940 | for _, c in pairs(Character:GetChildren()) do | |
3941 | if c.ClassName == "Part" then | |
3942 | c.Material = "Neon" | |
3943 | if c:FindFirstChildOfClass("ParticleEmitter") then | |
3944 | c:FindFirstChildOfClass("ParticleEmitter"):remove() | |
3945 | end | |
3946 | if c == Head then | |
3947 | local M = CreateMesh("SpecialMesh", c, "FileMesh", "527245069", "1486164425", VT(1, 1, 1) * 1.1, VT(0, 0, 0)) | |
3948 | M.Name = "Dominus" | |
3949 | if c:FindFirstChild("face") then | |
3950 | c.face:remove() | |
3951 | end | |
3952 | end | |
3953 | end | |
3954 | end | |
3955 | Swait(30) | |
3956 | BodyColor = C3(0,0,0) | |
3957 | LegColor = C3(0, 0.03, 0) | |
3958 | ArmColor = C3(0, 0.13, 0) | |
3959 | for _, c in pairs(Character:GetChildren()) do | |
3960 | if c.ClassName == "Part" then | |
3961 | c.Material = "Neon" | |
3962 | if c:FindFirstChildOfClass("ParticleEmitter") then | |
3963 | c:FindFirstChildOfClass("ParticleEmitter"):remove() | |
3964 | end | |
3965 | if c == Head then | |
3966 | local M = CreateMesh("SpecialMesh", c, "FileMesh", "527245069", "527244862", VT(1, 1, 1) * 1.1, VT(0, 0, 0)) | |
3967 | M.Name = "Dominus" | |
3968 | if c:FindFirstChild("face") then | |
3969 | c.face:remove() | |
3970 | end | |
3971 | end | |
3972 | end | |
3973 | end | |
3974 | Swait(30) | |
3975 | BodyColor = C3(1, 1, 1) | |
3976 | LegColor = C3(0.7372549019607844, 0.6078431372549019, 0.36470588235294116) | |
3977 | ArmColor = C3(0.9372549019607843, 0.7215686274509804, 0.2196078431372549) | |
3978 | for _, c in pairs(Character:GetChildren()) do | |
3979 | if c.ClassName == "Part" then | |
3980 | c.Material = "Neon" | |
3981 | if c:FindFirstChildOfClass("ParticleEmitter") then | |
3982 | c:FindFirstChildOfClass("ParticleEmitter"):remove() | |
3983 | end | |
3984 | if c == Head then | |
3985 | local M = CreateMesh("SpecialMesh", c, "FileMesh", "21057410", "1393532942", VT(1, 1, 1) * 1.1, VT(0, 0, 0)) | |
3986 | M.Name = "Dominus" | |
3987 | if c:FindFirstChild("face") then | |
3988 | c.face:remove() | |
3989 | end | |
3990 | end | |
3991 | end | |
3992 | end | |
3993 | Swait(30) | |
3994 | BodyColor = C3(0,0,0) | |
3995 | LegColor = C3(0.05,0,0) | |
3996 | ArmColor = C3(0.15,0.05,0.05) | |
3997 | for _, c in pairs(Character:GetChildren()) do | |
3998 | if c.ClassName == "Part" then | |
3999 | c.Material = "Neon" | |
4000 | if c:FindFirstChildOfClass("ParticleEmitter") then | |
4001 | c:FindFirstChildOfClass("ParticleEmitter"):remove() | |
4002 | end | |
4003 | if c == Head then | |
4004 | local M = CreateMesh("SpecialMesh", c, "FileMesh", "21057410", "65645429", VT(1, 1, 1) * 1.1, VT(0, 0, 0)) | |
4005 | M.Name = "Dominus" | |
4006 | if c:FindFirstChild("face") then | |
4007 | c.face:remove() | |
4008 | end | |
4009 | end | |
4010 | end | |
4011 | end | |
4012 | Swait(30) | |
4013 | BodyColor = C3(0,0,0) | |
4014 | LegColor = C3(0,0,0) | |
4015 | ArmColor = C3(0.05,0.05,0.05) | |
4016 | for _, c in pairs(Character:GetChildren()) do | |
4017 | if c.ClassName == "Part" then | |
4018 | c.Material = "Neon" | |
4019 | if c:FindFirstChildOfClass("ParticleEmitter") then | |
4020 | c:FindFirstChildOfClass("ParticleEmitter"):remove() | |
4021 | end | |
4022 | if c == Head then | |
4023 | local M = CreateMesh("SpecialMesh", c, "FileMesh", "21057410", "142151506", VT(1, 1, 1) * 1.1, VT(0, 0, 0)) | |
4024 | M.Name = "Dominus" | |
4025 | if c:FindFirstChild("face") then | |
4026 | c.face:remove() | |
4027 | end | |
4028 | end | |
4029 | end | |
4030 | end | |
4031 | Swait(30) | |
4032 | BodyColor = C3(0,0,0) | |
4033 | LegColor = C3(0,0,0.05) | |
4034 | ArmColor = C3(0.05,0.05,0.15) | |
4035 | for _, c in pairs(Character:GetChildren()) do | |
4036 | if c == Head then | |
4037 | local M = CreateMesh("SpecialMesh", c, "FileMesh", "162384581", "162384608", VT(1,1,1)*1.1, VT(0,0,0)) | |
4038 | M.Name = "Dominus" | |
4039 | end | |
4040 | end | |
4041 | end)) | |
4042 | repeat | |
4043 | Swait() | |
4044 | Neck.C0 = Clerp(Neck.C0, NECKC0 * CF(0, 0, 0 + ((1*SIZE) - 1)) * ANGLES(RAD(15 - 2.5 * SIN(SINE / 12)), RAD(0), RAD(0)), 0.15 / Animation_Speed) | |
4045 | 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) | |
4046 | 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) | |
4047 | 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) | |
4048 | 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) | |
4049 | 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) | |
4050 | until sick.TimePosition > 14 | |
4051 | repeat | |
4052 | Swait() | |
4053 | 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) | |
4054 | Neck.C0 = Clerp(Neck.C0, NECKC0 * CF(0 * SIZE, 0 * SIZE, 0 + ((1 * SIZE) - 1)) * ANGLES(RAD(0), RAD(0), RAD(0)), 0.2 / Animation_Speed) | |
4055 | 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) | |
4056 | 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) | |
4057 | RightHip.C0 = Clerp(RightHip.C0, CF(1 * SIZE, -0.3 * SIZE, -1 * SIZE) * ANGLES(RAD(0), RAD(90), RAD(0)) * ANGLES(RAD(0), RAD(0), RAD(-20)), 0.2 / Animation_Speed/8) | |
4058 | LeftHip.C0 = Clerp(LeftHip.C0, CF(-1 * SIZE, -0.3 * SIZE, 0 * SIZE) * ANGLES(RAD(0), RAD(5), RAD(0)) * ANGLES(RAD(45), RAD(0), RAD(10)), 0.2 / Animation_Speed/8) | |
4059 | until sick.TimePosition > 16 | |
4060 | repeat | |
4061 | Swait() | |
4062 | 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) | |
4063 | Neck.C0 = Clerp(Neck.C0, NECKC0 * CF(0 * SIZE, 0 * SIZE, 0 + ((1 * SIZE) - 1)) * ANGLES(RAD(0), RAD(0), RAD(0)), 0.2 / Animation_Speed) | |
4064 | 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) | |
4065 | 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) | |
4066 | RightHip.C0 = Clerp(RightHip.C0, CF(1 * SIZE, -0.3 * SIZE, -1 * SIZE) * ANGLES(RAD(0), RAD(90), RAD(0)) * ANGLES(RAD(0), RAD(0), RAD(-20)), 0.2 / Animation_Speed) | |
4067 | LeftHip.C0 = Clerp(LeftHip.C0, CF(-1 * SIZE, -0.3 * SIZE, 0 * SIZE) * ANGLES(RAD(0), RAD(5), RAD(0)) * ANGLES(RAD(45), RAD(0), RAD(10)), 0.2 / Animation_Speed) | |
4068 | until sick.TimePosition > 22 | |
4069 | ATTACK = false | |
4070 | Rooted = false | |
4071 | end | |
4072 | ||
4073 | --//=================================\\ | |
4074 | --|| ASSIGN THINGS TO KEYS | |
4075 | --\\=================================// | |
4076 | ||
4077 | function MouseDown(Mouse) | |
4078 | if ATTACK == false then | |
4079 | end | |
4080 | end | |
4081 | ||
4082 | function MouseUp(Mouse) | |
4083 | HOLD = false | |
4084 | end | |
4085 | ||
4086 | function KeyDown(Key) | |
4087 | KEYHOLD = true | |
4088 | if Key == "z" and ATTACK == false then | |
4089 | if MODE == "Main" then | |
4090 | Lunar_Blast() | |
4091 | elseif MODE == "Phaedra" then | |
4092 | Dolor_Pluvia() | |
4093 | elseif MODE == "Tenebris" then | |
4094 | Dark_Blast() | |
4095 | elseif MODE == "Fugatrix" then | |
4096 | Banisher_Bullet() | |
4097 | elseif MODE == "Praefectus" then | |
4098 | Governor_Bomb() | |
4099 | elseif MODE == "Demonum" then | |
4100 | Governor_Bomb2() | |
4101 | end | |
4102 | end | |
4103 | ||
4104 | if Key == "f" and ATTACK == false then | |
4105 | PhForm() | |
4106 | end | |
4107 | ||
4108 | if Key == "u" and ATTACK == false then | |
4109 | DeForm() | |
4110 | end | |
4111 | ||
4112 | if Key == "y" and ATTACK == false then | |
4113 | PrForm() | |
4114 | end | |
4115 | ||
4116 | if Key == "r" and ATTACK == false then | |
4117 | BaForm() | |
4118 | end | |
4119 | ||
4120 | if Key == "e" and ATTACK == false then | |
4121 | TeForm() | |
4122 | end | |
4123 | ||
4124 | if Key == "b" and ATTACK == false then | |
4125 | if MODE == "Main" then | |
4126 | Star_Cutter() | |
4127 | elseif MODE == "Phaedra" then | |
4128 | Ignem_Aeternum() | |
4129 | elseif MODE == "Tenebris" then | |
4130 | Dark_Cutter() | |
4131 | elseif MODE == "Fugatrix" then | |
4132 | Ruler2() | |
4133 | elseif MODE == "Praefectus" then | |
4134 | Command_Rush() | |
4135 | elseif MODE == "Demonum" then | |
4136 | Blizzard() | |
4137 | end | |
4138 | end | |
4139 | ||
4140 | if Key == "c" and ATTACK == false then | |
4141 | if MODE == "Main" then | |
4142 | Supernova() | |
4143 | elseif MODE == "Phaedra" then | |
4144 | Ultima_Consummatio() | |
4145 | elseif MODE == "Tenebris" then | |
4146 | SupernovaThrow() | |
4147 | elseif MODE == "Fugatrix" then | |
4148 | Ultima_ConsummatioB() | |
4149 | elseif MODE == "Praefectus" then | |
4150 | Ruler() | |
4151 | elseif MODE == "Demonum" then | |
4152 | SupernovaThrow() | |
4153 | end | |
4154 | end | |
4155 | ||
4156 | if Key == "q" and ATTACK == false then | |
4157 | if MODE == "Main" then | |
4158 | Astral_Hop() | |
4159 | elseif MODE == "Phaedra" then | |
4160 | Hop() | |
4161 | elseif MODE == "Tenebris" then | |
4162 | Astral_Hop() | |
4163 | elseif MODE == "Fugatrix" then | |
4164 | Banish_Hop() | |
4165 | elseif MODE == "Praefectus" then | |
4166 | Monarch_Hop() | |
4167 | elseif MODE == "Demonum" then | |
4168 | Banish_Hop() | |
4169 | end | |
4170 | end | |
4171 | end | |
4172 | ||
4173 | function KeyUp(Key) | |
4174 | KEYHOLD = false | |
4175 | end | |
4176 | ||
4177 | Mouse.Button1Down:connect(function(NEWKEY) | |
4178 | MouseDown(NEWKEY) | |
4179 | end) | |
4180 | Mouse.Button1Up:connect(function(NEWKEY) | |
4181 | MouseUp(NEWKEY) | |
4182 | end) | |
4183 | Mouse.KeyDown:connect(function(NEWKEY) | |
4184 | KeyDown(NEWKEY) | |
4185 | end) | |
4186 | Mouse.KeyUp:connect(function(NEWKEY) | |
4187 | KeyUp(NEWKEY) | |
4188 | end) | |
4189 | ||
4190 | --//=================================\\ | |
4191 | --\\=================================// | |
4192 | ||
4193 | ||
4194 | function unanchor() | |
4195 | if UNANCHOR == true then | |
4196 | g = Character:GetChildren() | |
4197 | for i = 1, #g do | |
4198 | if g[i].ClassName == "Part" then | |
4199 | g[i].Anchored = false | |
4200 | end | |
4201 | end | |
4202 | g = Weapon:GetChildren() | |
4203 | for i = 1, #g do | |
4204 | if g[i].ClassName == "Part" then | |
4205 | g[i].Anchored = false | |
4206 | end | |
4207 | end | |
4208 | end | |
4209 | end | |
4210 | ||
4211 | ||
4212 | --//=================================\\ | |
4213 | --|| WRAP THE WHOLE SCRIPT UP | |
4214 | --\\=================================// | |
4215 | ||
4216 | Humanoid.Changed:connect(function(Jump) | |
4217 | if Jump == "Jump" and (Disable_Jump == true) then | |
4218 | Humanoid.Jump = false | |
4219 | end | |
4220 | end) | |
4221 | ||
4222 | Humanoid.HipHeight = 2 | |
4223 | Head:ClearAllChildren() | |
4224 | local FF = IT("ForceField",Character) | |
4225 | FF.Visible = false | |
4226 | Speed = 35 | |
4227 | ||
4228 | function refit() | |
4229 | RootJoint.Parent = RootPart | |
4230 | Neck.Parent = Torso | |
4231 | RightShoulder.Parent = Torso | |
4232 | LeftShoulder.Parent = Torso | |
4233 | RightHip.Parent = Torso | |
4234 | LeftHip.Parent = Torso | |
4235 | RootPart.Parent = Character | |
4236 | LeftArm.Parent = Character | |
4237 | RightArm.Parent = Character | |
4238 | RightLeg.Parent = Character | |
4239 | LeftLeg.Parent = Character | |
4240 | Torso.Parent = Character | |
4241 | Head.Parent = Character | |
4242 | end | |
4243 | ||
4244 | local FOUNDFORGOTTEN = false | |
4245 | ||
4246 | for _, c in pairs(Character:GetChildren()) do | |
4247 | if c == Head then | |
4248 | local M = CreateMesh("SpecialMesh", c, "FileMesh", "162384581", "162384608", VT(1,1,1)*1.1, VT(0,0,0)) | |
4249 | M.Name = "Dominus" | |
4250 | end | |
4251 | end | |
4252 | ||
4253 | while true do | |
4254 | Swait() | |
4255 | ANIMATE.Parent = nil | |
4256 | local IDLEANIMATION = Humanoid:LoadAnimation(ROBLOXIDLEANIMATION) | |
4257 | IDLEANIMATION:Play() | |
4258 | SINE = SINE + CHANGE | |
4259 | local TORSOVELOCITY = (RootPart.Velocity * VT(1, 0, 1)).magnitude | |
4260 | local TORSOVERTICALVELOCITY = RootPart.Velocity.y | |
4261 | local LV = Torso.CFrame:pointToObjectSpace(Torso.Velocity - Torso.Position) | |
4262 | local HITFLOOR,HITPOS,NORMAL = Raycast(RootPart.Position, (CF(RootPart.Position, RootPart.Position + VT(0, -1, 0))).lookVector, 7 * Player_Size, Character) | |
4263 | if ATTACK == false then | |
4264 | if TORSOVELOCITY < 1 and MODE == "Main" then | |
4265 | 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) | |
4266 | 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) | |
4267 | 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) | |
4268 | 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) | |
4269 | 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) | |
4270 | 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) | |
4271 | elseif TORSOVELOCITY > 1 and MODE == "Main" then | |
4272 | 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) | |
4273 | 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) | |
4274 | 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) | |
4275 | 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) | |
4276 | 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) | |
4277 | 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) | |
4278 | elseif TORSOVELOCITY < 1 and MODE == "Demonum" then | |
4279 | SKILLTEXTCOLOR = C3(1, 0, 0) | |
4280 | SKILLTEXTCOLOR2 = C3(0,0,0) | |
4281 | local snap = math.random(1,2) | |
4282 | if snap == 1 then | |
4283 | SKILLTEXTCOLOR = C3(0,0,0) | |
4284 | SKILLTEXTCOLOR2 = C3(1,0,0) | |
4285 | end | |
4286 | 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) | |
4287 | 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) | |
4288 | 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) | |
4289 | 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) | |
4290 | 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) | |
4291 | 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) | |
4292 | elseif TORSOVELOCITY > 1 and MODE == "Demonum" then | |
4293 | SKILLTEXTCOLOR = C3(1, 0, 0) | |
4294 | SKILLTEXTCOLOR2 = C3(0,0,0) | |
4295 | local snap = math.random(1,2) | |
4296 | if snap == 1 then | |
4297 | SKILLTEXTCOLOR = C3(0,0,0) | |
4298 | SKILLTEXTCOLOR2 = C3(1,0,0) | |
4299 | end | |
4300 | 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) | |
4301 | 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) | |
4302 | 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) | |
4303 | 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) | |
4304 | 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) | |
4305 | 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) | |
4306 | elseif TORSOVELOCITY < 1 and MODE == "Phaedra" then | |
4307 | SKILLTEXTCOLOR = C3(0.7372549019607844, 0.6078431372549019, 0.36470588235294116) | |
4308 | SKILLTEXTCOLOR2 = C3(1,1,1) | |
4309 | local snap = math.random(1,2) | |
4310 | if snap == 1 then | |
4311 | SKILLTEXTCOLOR = C3(1,1,1) | |
4312 | SKILLTEXTCOLOR2 = C3(0.7372549019607844, 0.6078431372549019, 0.36470588235294116) | |
4313 | end | |
4314 | 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) | |
4315 | 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) | |
4316 | 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) | |
4317 | 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) | |
4318 | 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) | |
4319 | 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) | |
4320 | elseif TORSOVELOCITY > 1 and MODE == "Phaedra" then | |
4321 | SKILLTEXTCOLOR = C3(0.7372549019607844, 0.6078431372549019, 0.36470588235294116) | |
4322 | SKILLTEXTCOLOR2 = C3(1,1,1) | |
4323 | local snap = math.random(1,2) | |
4324 | if snap == 1 then | |
4325 | SKILLTEXTCOLOR2 = C3(0.7372549019607844, 0.6078431372549019, 0.36470588235294116) | |
4326 | SKILLTEXTCOLOR = C3(1,1,1) | |
4327 | end | |
4328 | 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) | |
4329 | 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) | |
4330 | 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) | |
4331 | 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) | |
4332 | 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) | |
4333 | 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) | |
4334 | elseif TORSOVELOCITY < 1 and MODE == "Tenebris" then | |
4335 | 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) | |
4336 | 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) | |
4337 | 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) | |
4338 | LeftShoulder.C0 = Clerp(LeftShoulder.C0, CF(-1.25, 0.35, -0.35) * ANGLES(RAD(70), RAD(0), RAD(90)) * LEFTSHOULDERC0, 1 / Animation_Speed) | |
4339 | 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) | |
4340 | 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) | |
4341 | elseif TORSOVELOCITY > 1 and MODE == "Tenebris" then | |
4342 | 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) | |
4343 | 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) | |
4344 | 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) | |
4345 | LeftShoulder.C0 = Clerp(LeftShoulder.C0, CF(-1.25, 0.35, -0.35) * ANGLES(RAD(70), RAD(0), RAD(90)) * LEFTSHOULDERC0, 1 / Animation_Speed) | |
4346 | 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) | |
4347 | 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) | |
4348 | elseif TORSOVELOCITY < 1 and MODE == "Fugatrix" then | |
4349 | 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) | |
4350 | 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) | |
4351 | 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) | |
4352 | 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) | |
4353 | 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) | |
4354 | 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) | |
4355 | elseif TORSOVELOCITY > 1 and MODE == "Fugatrix" then | |
4356 | 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) | |
4357 | 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) | |
4358 | 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) | |
4359 | 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) | |
4360 | 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) | |
4361 | 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) | |
4362 | elseif TORSOVELOCITY < 1 and MODE == "Praefectus" then | |
4363 | 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) | |
4364 | 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) | |
4365 | if MRANDOM(1,7) == 1 then | |
4366 | 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) | |
4367 | end | |
4368 | 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) | |
4369 | 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) | |
4370 | 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) | |
4371 | 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) | |
4372 | elseif TORSOVELOCITY > 1 and MODE == "Praefectus" then | |
4373 | 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) | |
4374 | 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) | |
4375 | if MRANDOM(1,7) == 1 then | |
4376 | 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) | |
4377 | end | |
4378 | 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) | |
4379 | 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) | |
4380 | 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) | |
4381 | 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) | |
4382 | end | |
4383 | end | |
4384 | unanchor() | |
4385 | Humanoid.MaxHealth = "inf" | |
4386 | Humanoid.Health = "inf" | |
4387 | if Rooted == false then | |
4388 | Disable_Jump = false | |
4389 | Humanoid.WalkSpeed = Speed | |
4390 | elseif Rooted == true then | |
4391 | Disable_Jump = true | |
4392 | Humanoid.WalkSpeed = 0 | |
4393 | end | |
4394 | if MODE == "Main" then | |
4395 | tecks2.Text = "Dominus Astra" | |
4396 | SKILLTEXTCOLOR = C3(0.05,0.05,0.15) | |
4397 | SKILLTEXTCOLOR2 = C3(0,0,0) | |
4398 | end | |
4399 | for _, c in pairs(Character:GetChildren()) do | |
4400 | if c.ClassName == "Part" then | |
4401 | c.Material = "Neon" | |
4402 | for _, q in pairs(c:GetChildren()) do | |
4403 | if q.ClassName == "ParticleEmitter" and MODE ~= "Phaedra" then | |
4404 | q:remove() | |
4405 | elseif q.ClassName == "Fire" then | |
4406 | q:remove() | |
4407 | end | |
4408 | end | |
4409 | if c.Transparency == 0 and c:FindFirstChild("OVERLORDAURA") == nil and MODE == "Phaedra" then | |
4410 | particles(c) | |
4411 | end | |
4412 | if c == Torso then | |
4413 | c.Color = BodyColor | |
4414 | elseif c == RightArm then | |
4415 | c.Color = ArmColor | |
4416 | elseif c == LeftArm then | |
4417 | c.Color = ArmColor | |
4418 | elseif c == RightLeg then | |
4419 | c.Color = LegColor | |
4420 | elseif c == LeftLeg then | |
4421 | c.Color = LegColor | |
4422 | elseif c == Head then | |
4423 | if c:FindFirstChild("face") then | |
4424 | c.face:remove() | |
4425 | end | |
4426 | end | |
4427 | elseif c.ClassName == "Shirt" or c.ClassName == "Pants" or c.ClassName == "CharacterMesh" or c.ClassName == "Accessory" or c.Name == "Body Colors" then | |
4428 | c:remove() | |
4429 | end | |
4430 | end | |
4431 | FF.Parent = Character | |
4432 | sick.Parent = Character | |
4433 | refit() | |
4434 | tecks2.TextColor3 = SKILLTEXTCOLOR | |
4435 | tecks2.TextStrokeColor3 = SKILLTEXTCOLOR2 | |
4436 | script.Parent = WEAPONGUI | |
4437 | Character.Parent = workspace | |
4438 | Humanoid.PlatformStand = false | |
4439 | Humanoid.Name = "Dominus" | |
4440 | for _, c in pairs(game.Players:GetChildren()) do | |
4441 | if c.Character ~= nil then | |
4442 | if c.Character.Parent ~= workspace and c.Character.Parent ~= nil then | |
4443 | c.Character:BreakJoints() | |
4444 | end | |
4445 | end | |
4446 | end | |
4447 | FOUNDFORGOTTEN = false | |
4448 | Humanoid.DisplayDistanceType = "None" | |
4449 | for _, c in pairs(workspace:GetChildren()) do | |
4450 | if c.ClassName == "Model" then | |
4451 | for _, q in pairs(c:GetChildren()) do | |
4452 | if q.Name == ("Forgotten Dominus") then | |
4453 | FOUNDFORGOTTEN = true | |
4454 | end | |
4455 | end | |
4456 | end | |
4457 | end | |
4458 | if FOUNDFORGOTTEN == true then | |
4459 | sick:Stop() | |
4460 | else | |
4461 | sick.Playing = true | |
4462 | end | |
4463 | if INTRO == false and INSTANT == false then | |
4464 | INTRO = true | |
4465 | coroutine.resume(coroutine.create(function() | |
4466 | sick:Play() | |
4467 | sick:Resume() | |
4468 | Intro() | |
4469 | end)) | |
4470 | end | |
4471 | if INSTANT == true then | |
4472 | if TRANSFORMED == false then | |
4473 | sick.TimePosition = 20.7 | |
4474 | sick:Play() | |
4475 | sick:Resume() | |
4476 | end | |
4477 | TRANSFORMED = true | |
4478 | end | |
4479 | if VALUE1 == false and MODE == "Main" then | |
4480 | 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)) | |
4481 | end | |
4482 | end | |
4483 | ||
4484 | --//=================================\\ | |
4485 | --\\=================================// | |
4486 | ||
4487 | ||
4488 | ||
4489 | ||
4490 | ||
4491 | --//====================================================\\-- | |
4492 | --|| END OF SCRIPT | |
4493 | --\\====================================================//-- |