SHOW:
|
|
- or go back to the newest paste.
1 | - | local Player = game:GetService("Players").Leftex --<=== Replace With Your Name |
1 | + | -- This script has been converted to FE by iPxter |
2 | ||
3 | ||
4 | if game:GetService("RunService"):IsClient() then error("Script must be server-side in order to work; use h/ and not hl/") end | |
5 | local Player,Mouse,mouse,UserInputService,ContextActionService = owner | |
6 | do | |
7 | print("FE Compatibility code by Mokiros | Translated to FE by iPxter") | |
8 | script.Parent = Player.Character | |
9 | ||
10 | --RemoteEvent for communicating | |
11 | local Event = Instance.new("RemoteEvent") | |
12 | Event.Name = "UserInput_Event" | |
13 | ||
14 | --Fake event to make stuff like Mouse.KeyDown work | |
15 | local function fakeEvent() | |
16 | local t = {_fakeEvent=true,Connect=function(self,f)self.Function=f end} | |
17 | t.connect = t.Connect | |
18 | return t | |
19 | end | |
20 | ||
21 | --Creating fake input objects with fake variables | |
22 | local m = {Target=nil,Hit=CFrame.new(),KeyUp=fakeEvent(),KeyDown=fakeEvent(),Button1Up=fakeEvent(),Button1Down=fakeEvent()} | |
23 | local UIS = {InputBegan=fakeEvent(),InputEnded=fakeEvent()} | |
24 | local CAS = {Actions={},BindAction=function(self,name,fun,touch,...) | |
25 | CAS.Actions[name] = fun and {Name=name,Function=fun,Keys={...}} or nil | |
26 | end} | |
27 | --Merged 2 functions into one by checking amount of arguments | |
28 | CAS.UnbindAction = CAS.BindAction | |
29 | ||
30 | --This function will trigger the events that have been :Connect()'ed | |
31 | local function te(self,ev,...) | |
32 | local t = m[ev] | |
33 | if t and t._fakeEvent and t.Function then | |
34 | t.Function(...) | |
35 | end | |
36 | end | |
37 | m.TrigEvent = te | |
38 | UIS.TrigEvent = te | |
39 | ||
40 | Event.OnServerEvent:Connect(function(plr,io) | |
41 | if plr~=Player then return end | |
42 | if io.isMouse then | |
43 | m.Target = io.Target | |
44 | m.Hit = io.Hit | |
45 | else | |
46 | local b = io.UserInputState == Enum.UserInputState.Begin | |
47 | if io.UserInputType == Enum.UserInputType.MouseButton1 then | |
48 | return m:TrigEvent(b and "Button1Down" or "Button1Up") | |
49 | end | |
50 | for _,t in pairs(CAS.Actions) do | |
51 | for _,k in pairs(t.Keys) do | |
52 | if k==io.KeyCode then | |
53 | t.Function(t.Name,io.UserInputState,io) | |
54 | end | |
55 | end | |
56 | end | |
57 | m:TrigEvent(b and "KeyDown" or "KeyUp",io.KeyCode.Name:lower()) | |
58 | UIS:TrigEvent(b and "InputBegan" or "InputEnded",io,false) | |
59 | end | |
60 | end) | |
61 | Event.Parent = NLS([==[ | |
62 | local Player = owner | |
63 | local Event = script:WaitForChild("UserInput_Event") | |
64 | ||
65 | local UIS = game:GetService("UserInputService") | |
66 | local input = function(io,a) | |
67 | if a then return end | |
68 | --Since InputObject is a client-side instance, we create and pass table instead | |
69 | Event:FireServer({KeyCode=io.KeyCode,UserInputType=io.UserInputType,UserInputState=io.UserInputState}) | |
70 | end | |
71 | UIS.InputBegan:Connect(input) | |
72 | UIS.InputEnded:Connect(input) | |
73 | ||
74 | local Mouse = Player:GetMouse() | |
75 | local h,t | |
76 | --Give the server mouse data 30 times every second, but only if the values changed | |
77 | --If player is not moving their mouse, client won't fire events | |
78 | while wait(1/30) do | |
79 | if h~=Mouse.Hit or t~=Mouse.Target then | |
80 | h,t=Mouse.Hit,Mouse.Target | |
81 | Event:FireServer({isMouse=true,Target=t,Hit=h}) | |
82 | - | Player = game:GetService("Players").GodzillaGamer2037 |
82 | + | |
83 | end]==],Player.Character) | |
84 | Mouse,mouse,UserInputService,ContextActionService = m,m,UIS,CAS | |
85 | end | |
86 | ||
87 | local Player = owner --<=== Replace With Your Name | |
88 | ||
89 | ||
90 | local Mouse,mouse,UserInputService,ContextActionService | |
91 | do | |
92 | script.Parent = Player.Character | |
93 | local CAS = {Actions={}} | |
94 | local Event = Instance.new("RemoteEvent") | |
95 | Event.Name = "UserInput_Event" | |
96 | Event.Parent = Player.Character | |
97 | local fakeEvent = function() | |
98 | local t = {_fakeEvent=true} | |
99 | t.Connect = function(self,f)self.Function=f end | |
100 | t.connect = t.Connect | |
101 | return t | |
102 | end | |
103 | local m = {Target=nil,Hit=CFrame.new(),KeyUp=fakeEvent(),KeyDown=fakeEvent(),Button1Up=fakeEvent(),Button1Down=fakeEvent()} | |
104 | local UIS = {InputBegan=fakeEvent(),InputEnded=fakeEvent()} | |
105 | function CAS:BindAction(name,fun,touch,...) | |
106 | CAS.Actions[name] = {Name=name,Function=fun,Keys={...}} | |
107 | end | |
108 | function CAS:UnbindAction(name) | |
109 | CAS.Actions[name] = nil | |
110 | end | |
111 | local function te(self,ev,...) | |
112 | local t = m[ev] | |
113 | if t and t._fakeEvent and t.Function then | |
114 | t.Function(...) | |
115 | end | |
116 | end | |
117 | m.TrigEvent = te | |
118 | UIS.TrigEvent = te | |
119 | Event.OnServerEvent:Connect(function(plr,io) | |
120 | if plr~=Player then return end | |
121 | if io.isMouse then | |
122 | m.Target = io.Target | |
123 | m.Hit = io.Hit | |
124 | elseif io.UserInputType == Enum.UserInputType.MouseButton1 then | |
125 | if io.UserInputState == Enum.UserInputState.Begin then | |
126 | m:TrigEvent("Button1Down") | |
127 | else | |
128 | m:TrigEvent("Button1Up") | |
129 | end | |
130 | else | |
131 | for n,t in pairs(CAS.Actions) do | |
132 | for _,k in pairs(t.Keys) do | |
133 | if k==io.KeyCode then | |
134 | t.Function(t.Name,io.UserInputState,io) | |
135 | end | |
136 | end | |
137 | end | |
138 | if io.UserInputState == Enum.UserInputState.Begin then | |
139 | m:TrigEvent("KeyDown",io.KeyCode.Name:lower()) | |
140 | UIS:TrigEvent("InputBegan",io,false) | |
141 | else | |
142 | m:TrigEvent("KeyUp",io.KeyCode.Name:lower()) | |
143 | UIS:TrigEvent("InputEnded",io,false) | |
144 | end | |
145 | end | |
146 | end) | |
147 | Mouse,mouse,UserInputService,ContextActionService = m,m,UIS,CAS | |
148 | end | |
149 | ||
150 | ---------Replace All "LocalPlayer" With Your Name. | |
151 | --Remove "Mouse =" or "local mouse =" at the start. | |
152 | --Replace Kermat161 At The Top Of The Script With You Name. | |
153 | -----------------------------Script In The Line's. | |
154 | ||
155 | ||
156 | ------------------------------------------------- | |
157 | ||
158 | ||
159 | ||
160 | ||
161 | --//====================================================\\-- | |
162 | --|| CREATED BY SHACKLUSTER | |
163 | --\\====================================================//-- | |
164 | ||
165 | ||
166 | ||
167 | ||
168 | Player = owner | |
169 | PlayerGui = Player.PlayerGui | |
170 | Cam = workspace.CurrentCamera | |
171 | Backpack = Player.Backpack | |
172 | Character = Player.Character | |
173 | Humanoid = Character.Humanoid | |
174 | RootPart = Character["HumanoidRootPart"] | |
175 | Torso = Character["Torso"] | |
176 | Head = Character["Head"] | |
177 | RightArm = Character["Right Arm"] | |
178 | LeftArm = Character["Left Arm"] | |
179 | RightLeg = Character["Right Leg"] | |
180 | LeftLeg = Character["Left Leg"] | |
181 | RootJoint = RootPart["RootJoint"] | |
182 | Neck = Torso["Neck"] | |
183 | RightShoulder = Torso["Right Shoulder"] | |
184 | LeftShoulder = Torso["Left Shoulder"] | |
185 | RightHip = Torso["Right Hip"] | |
186 | LeftHip = Torso["Left Hip"] | |
187 | Player:ClearCharacterAppearance() | |
188 | local sick = Instance.new("Sound",Character) | |
189 | sick.SoundId = "rbxassetid://195900687" | |
190 | sick.Looped = true | |
191 | sick.Pitch = 1 | |
192 | sick.Volume = 3 | |
193 | sick:Play() | |
194 | local firesound = Instance.new("Sound",RootPart) | |
195 | firesound.SoundId = "rbxassetid://987328482" | |
196 | firesound.Looped = true | |
197 | firesound.Pitch = 1 | |
198 | firesound.Volume = 0 | |
199 | firesound:Play() | |
200 | ||
201 | ||
202 | IT = Instance.new | |
203 | CF = CFrame.new | |
204 | VT = Vector3.new | |
205 | RAD = math.rad | |
206 | C3 = Color3.new | |
207 | UD2 = UDim2.new | |
208 | BRICKC = BrickColor.new | |
209 | ANGLES = CFrame.Angles | |
210 | EULER = CFrame.fromEulerAnglesXYZ | |
211 | COS = math.cos | |
212 | ACOS = math.acos | |
213 | SIN = math.sin | |
214 | ASIN = math.asin | |
215 | ABS = math.abs | |
216 | MRANDOM = math.random | |
217 | FLOOR = math.floor | |
218 | ||
219 | function CreateMesh(MESH, PARENT, MESHTYPE, MESHID, TEXTUREID, SCALE, OFFSET) | |
220 | local NEWMESH = IT(MESH) | |
221 | if MESH == "SpecialMesh" then | |
222 | NEWMESH.MeshType = MESHTYPE | |
223 | if MESHID ~= "nil" and MESHID ~= "" then | |
224 | NEWMESH.MeshId = "http://www.roblox.com/asset/?id="..MESHID | |
225 | end | |
226 | if TEXTUREID ~= "nil" and TEXTUREID ~= "" then | |
227 | NEWMESH.TextureId = "http://www.roblox.com/asset/?id="..TEXTUREID | |
228 | end | |
229 | end | |
230 | NEWMESH.Offset = OFFSET or VT(0, 0, 0) | |
231 | NEWMESH.Scale = SCALE | |
232 | NEWMESH.Parent = PARENT | |
233 | return NEWMESH | |
234 | end | |
235 | ||
236 | function CreatePart(FORMFACTOR, PARENT, MATERIAL, REFLECTANCE, TRANSPARENCY, BRICKCOLOR, NAME, SIZE, ANCHOR) | |
237 | local NEWPART = IT("Part") | |
238 | NEWPART.formFactor = FORMFACTOR | |
239 | NEWPART.Reflectance = REFLECTANCE | |
240 | NEWPART.Transparency = TRANSPARENCY | |
241 | NEWPART.CanCollide = false | |
242 | NEWPART.Locked = true | |
243 | NEWPART.Anchored = true | |
244 | if ANCHOR == false then | |
245 | NEWPART.Anchored = false | |
246 | end | |
247 | NEWPART.BrickColor = BRICKC(tostring(BRICKCOLOR)) | |
248 | NEWPART.Name = NAME | |
249 | NEWPART.Size = SIZE | |
250 | NEWPART.Position = Torso.Position | |
251 | NEWPART.Material = MATERIAL | |
252 | NEWPART:BreakJoints() | |
253 | NEWPART.Parent = PARENT | |
254 | return NEWPART | |
255 | end | |
256 | ||
257 | --//=================================\\ | |
258 | --|| CUSTOMIZATION | |
259 | --\\=================================// | |
260 | ||
261 | Player_Size = 1 --Size of the player. | |
262 | Animation_Speed = 3 | |
263 | Frame_Speed = 1 / 60 -- (1 / 30) OR (1 / 60) | |
264 | local MODE = "Main" | |
265 | local SIZE = 1 | |
266 | local LEVEL = 1 | |
267 | ||
268 | ||
269 | local Speed = 16 | |
270 | local Effects2 = {} | |
271 | ||
272 | --//=================================\\ | |
273 | --|| END OF CUSTOMIZATION | |
274 | --\\=================================// | |
275 | ||
276 | local function weldBetween(a, b) | |
277 | local weldd = Instance.new("ManualWeld") | |
278 | weldd.Part0 = a | |
279 | weldd.Part1 = b | |
280 | weldd.C0 = CFrame.new() | |
281 | weldd.C1 = b.CFrame:inverse() * a.CFrame | |
282 | weldd.Parent = a | |
283 | return weldd | |
284 | end | |
285 | ||
286 | --//=================================\\ | |
287 | --|| USEFUL VALUES | |
288 | --\\=================================// | |
289 | ||
290 | local ROOTC0 = CF(0, 0, 0) * ANGLES(RAD(-90), RAD(0), RAD(180)) | |
291 | local NECKC0 = CF(0, 1, 0) * ANGLES(RAD(-90), RAD(0), RAD(180)) | |
292 | local RIGHTSHOULDERC0 = CF(-0.5, 0, 0) * ANGLES(RAD(0), RAD(90), RAD(0)) | |
293 | local LEFTSHOULDERC0 = CF(0.5, 0, 0) * ANGLES(RAD(0), RAD(-90), RAD(0)) | |
294 | local CHANGEDEFENSE = 0 | |
295 | local CHANGEDAMAGE = 0 | |
296 | local CHANGEMOVEMENT = 0 | |
297 | local ANIM = "Idle" | |
298 | local ATTACK = false | |
299 | local EQUIPPED = false | |
300 | local HOLD = false | |
301 | local COMBO = 1 | |
302 | local Rooted = false | |
303 | local SINE = 0 | |
304 | local KEYHOLD = false | |
305 | local CHANGE = 2 / Animation_Speed | |
306 | local VOCALS_ENRAGES = {528589078,528589175,528589274,528589382} | |
307 | local WALKINGANIM = false | |
308 | local WALK = 0 | |
309 | local VALUE1 = false | |
310 | local VALUE2 = false | |
311 | local ROBLOXIDLEANIMATION = IT("Animation") | |
312 | ROBLOXIDLEANIMATION.Name = "Roblox Idle Animation" | |
313 | ROBLOXIDLEANIMATION.AnimationId = "http://www.roblox.com/asset/?id=180435571" | |
314 | --ROBLOXIDLEANIMATION.Parent = Humanoid | |
315 | local WEAPONGUI = IT("ScreenGui", PlayerGui) | |
316 | WEAPONGUI.Name = "Weapon GUI" | |
317 | local Effects = IT("Folder", Character) | |
318 | Effects.Name = "Effects" | |
319 | sick.Volume = 0 | |
320 | Character.Archivable = true | |
321 | local CLONE = Character:Clone() | |
322 | CLONE.Parent = nil | |
323 | Character.Archivable = false | |
324 | sick.Volume = 3 | |
325 | local ANIMATOR = Humanoid.Animator | |
326 | local ANIMATE = Character.Animate | |
327 | local HITPLAYERSOUNDS = {--[["199149137", "199149186", "199149221", "199149235", "199149269", "199149297"--]]"263032172", "263032182", "263032200", "263032221", "263032252", "263033191"} | |
328 | local HITARMORSOUNDS = {"199149321", "199149338", "199149367", "199149409", "199149452"} | |
329 | local HITWEAPONSOUNDS = {"199148971", "199149025", "199149072", "199149109", "199149119"} | |
330 | local HITBLOCKSOUNDS = {"199148933", "199148947"} | |
331 | local UNANCHOR = true | |
332 | local BodyColor = C3(0,0,0) | |
333 | local LegColor = C3(0,0,0.05) | |
334 | local ArmColor = C3(0.05,0.05,0.15) | |
335 | ||
336 | local SKILLTEXTCOLOR = C3(0.05,0.05,0.15) | |
337 | local SKILLTEXTCOLOR2 = C3(0,0,0) | |
338 | ||
339 | --//=================================\\ | |
340 | --\\=================================// | |
341 | ||
342 | ||
343 | --//=================================\\ | |
344 | --|| SAZERENOS' ARTIFICIAL HEARTBEAT | |
345 | --\\=================================// | |
346 | ||
347 | ArtificialHB = Instance.new("BindableEvent", script) | |
348 | ArtificialHB.Name = "ArtificialHB" | |
349 | ||
350 | script:WaitForChild("ArtificialHB") | |
351 | ||
352 | frame = Frame_Speed | |
353 | tf = 0 | |
354 | allowframeloss = false | |
355 | tossremainder = false | |
356 | lastframe = tick() | |
357 | script.ArtificialHB:Fire() | |
358 | ||
359 | game:GetService("RunService").Heartbeat:connect(function(s, p) | |
360 | tf = tf + s | |
361 | if tf >= frame then | |
362 | if allowframeloss then | |
363 | script.ArtificialHB:Fire() | |
364 | lastframe = tick() | |
365 | else | |
366 | for i = 1, math.floor(tf / frame) do | |
367 | script.ArtificialHB:Fire() | |
368 | end | |
369 | lastframe = tick() | |
370 | end | |
371 | if tossremainder then | |
372 | tf = 0 | |
373 | else | |
374 | tf = tf - frame * math.floor(tf / frame) | |
375 | end | |
376 | end | |
377 | end) | |
378 | ||
379 | --//=================================\\ | |
380 | --\\=================================// | |
381 | ||
382 | ||
383 | ||
384 | ||
385 | ||
386 | --//=================================\\ | |
387 | --|| SOME FUNCTIONS | |
388 | --\\=================================// | |
389 | ||
390 | function Raycast(POSITION, DIRECTION, RANGE, IGNOREDECENDANTS) | |
391 | return workspace:FindPartOnRay(Ray.new(POSITION, DIRECTION.unit * RANGE), IGNOREDECENDANTS) | |
392 | end | |
393 | ||
394 | function PositiveAngle(NUMBER) | |
395 | if NUMBER >= 0 then | |
396 | NUMBER = 0 | |
397 | end | |
398 | return NUMBER | |
399 | end | |
400 | ||
401 | function NegativeAngle(NUMBER) | |
402 | if NUMBER <= 0 then | |
403 | NUMBER = 0 | |
404 | end | |
405 | return NUMBER | |
406 | end | |
407 | ||
408 | function Swait(NUMBER) | |
409 | if NUMBER == 0 or NUMBER == nil then | |
410 | ArtificialHB.Event:wait() | |
411 | else | |
412 | for i = 1, NUMBER do | |
413 | ArtificialHB.Event:wait() | |
414 | end | |
415 | end | |
416 | end | |
417 | ||
418 | function QuaternionFromCFrame(cf) | |
419 | local mx, my, mz, m00, m01, m02, m10, m11, m12, m20, m21, m22 = cf:components() | |
420 | local trace = m00 + m11 + m22 | |
421 | if trace > 0 then | |
422 | local s = math.sqrt(1 + trace) | |
423 | local recip = 0.5 / s | |
424 | return (m21 - m12) * recip, (m02 - m20) * recip, (m10 - m01) * recip, s * 0.5 | |
425 | else | |
426 | local i = 0 | |
427 | if m11 > m00 then | |
428 | i = 1 | |
429 | end | |
430 | if m22 > (i == 0 and m00 or m11) then | |
431 | i = 2 | |
432 | end | |
433 | if i == 0 then | |
434 | local s = math.sqrt(m00 - m11 - m22 + 1) | |
435 | local recip = 0.5 / s | |
436 | return 0.5 * s, (m10 + m01) * recip, (m20 + m02) * recip, (m21 - m12) * recip | |
437 | elseif i == 1 then | |
438 | local s = math.sqrt(m11 - m22 - m00 + 1) | |
439 | local recip = 0.5 / s | |
440 | return (m01 + m10) * recip, 0.5 * s, (m21 + m12) * recip, (m02 - m20) * recip | |
441 | elseif i == 2 then | |
442 | local s = math.sqrt(m22 - m00 - m11 + 1) | |
443 | local recip = 0.5 / s return (m02 + m20) * recip, (m12 + m21) * recip, 0.5 * s, (m10 - m01) * recip | |
444 | end | |
445 | end | |
446 | end | |
447 | ||
448 | function QuaternionToCFrame(px, py, pz, x, y, z, w) | |
449 | local xs, ys, zs = x + x, y + y, z + z | |
450 | local wx, wy, wz = w * xs, w * ys, w * zs | |
451 | local xx = x * xs | |
452 | local xy = x * ys | |
453 | local xz = x * zs | |
454 | local yy = y * ys | |
455 | local yz = y * zs | |
456 | local zz = z * zs | |
457 | 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)) | |
458 | end | |
459 | ||
460 | function QuaternionSlerp(a, b, t) | |
461 | local cosTheta = a[1] * b[1] + a[2] * b[2] + a[3] * b[3] + a[4] * b[4] | |
462 | local startInterp, finishInterp; | |
463 | if cosTheta >= 0.0001 then | |
464 | if (1 - cosTheta) > 0.0001 then | |
465 | local theta = ACOS(cosTheta) | |
466 | local invSinTheta = 1 / SIN(theta) | |
467 | startInterp = SIN((1 - t) * theta) * invSinTheta | |
468 | finishInterp = SIN(t * theta) * invSinTheta | |
469 | else | |
470 | startInterp = 1 - t | |
471 | finishInterp = t | |
472 | end | |
473 | else | |
474 | if (1 + cosTheta) > 0.0001 then | |
475 | local theta = ACOS(-cosTheta) | |
476 | local invSinTheta = 1 / SIN(theta) | |
477 | startInterp = SIN((t - 1) * theta) * invSinTheta | |
478 | finishInterp = SIN(t * theta) * invSinTheta | |
479 | else | |
480 | startInterp = t - 1 | |
481 | finishInterp = t | |
482 | end | |
483 | end | |
484 | 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 | |
485 | end | |
486 | ||
487 | function Clerp(a, b, t) | |
488 | local qa = {QuaternionFromCFrame(a)} | |
489 | local qb = {QuaternionFromCFrame(b)} | |
490 | local ax, ay, az = a.x, a.y, a.z | |
491 | local bx, by, bz = b.x, b.y, b.z | |
492 | local _t = 1 - t | |
493 | return QuaternionToCFrame(_t * ax + t * bx, _t * ay + t * by, _t * az + t * bz, QuaternionSlerp(qa, qb, t)) | |
494 | end | |
495 | ||
496 | function CreateFrame(PARENT, TRANSPARENCY, BORDERSIZEPIXEL, POSITION, SIZE, COLOR, BORDERCOLOR, NAME) | |
497 | local frame = IT("Frame") | |
498 | frame.BackgroundTransparency = TRANSPARENCY | |
499 | frame.BorderSizePixel = BORDERSIZEPIXEL | |
500 | frame.Position = POSITION | |
501 | frame.Size = SIZE | |
502 | frame.BackgroundColor3 = COLOR | |
503 | frame.BorderColor3 = BORDERCOLOR | |
504 | frame.Name = NAME | |
505 | frame.Parent = PARENT | |
506 | return frame | |
507 | end | |
508 | ||
509 | function CreateLabel(PARENT, TEXT, TEXTCOLOR, TEXTFONTSIZE, TEXTFONT, TRANSPARENCY, BORDERSIZEPIXEL, STROKETRANSPARENCY, NAME) | |
510 | local label = IT("TextLabel") | |
511 | label.BackgroundTransparency = 1 | |
512 | label.Size = UD2(1, 0, 1, 0) | |
513 | label.Position = UD2(0, 0, 0, 0) | |
514 | label.TextColor3 = TEXTCOLOR | |
515 | label.TextStrokeTransparency = STROKETRANSPARENCY | |
516 | label.TextTransparency = TRANSPARENCY | |
517 | label.FontSize = TEXTFONTSIZE | |
518 | label.Font = TEXTFONT | |
519 | label.BorderSizePixel = BORDERSIZEPIXEL | |
520 | label.TextScaled = false | |
521 | label.Text = TEXT | |
522 | label.Name = NAME | |
523 | label.Parent = PARENT | |
524 | return label | |
525 | end | |
526 | ||
527 | function NoOutlines(PART) | |
528 | PART.TopSurface, PART.BottomSurface, PART.LeftSurface, PART.RightSurface, PART.FrontSurface, PART.BackSurface = 10, 10, 10, 10, 10, 10 | |
529 | end | |
530 | ||
531 | ||
532 | function CreateWeldOrSnapOrMotor(TYPE, PARENT, PART0, PART1, C0, C1) | |
533 | local NEWWELD = IT(TYPE) | |
534 | NEWWELD.Part0 = PART0 | |
535 | NEWWELD.Part1 = PART1 | |
536 | NEWWELD.C0 = C0 | |
537 | NEWWELD.C1 = C1 | |
538 | NEWWELD.Parent = PARENT | |
539 | return NEWWELD | |
540 | end | |
541 | ||
542 | function CreateSound(ID, PARENT, VOLUME, PITCH) | |
543 | local NEWSOUND = nil | |
544 | coroutine.resume(coroutine.create(function() | |
545 | NEWSOUND = IT("Sound", PARENT) | |
546 | NEWSOUND.Volume = VOLUME | |
547 | NEWSOUND.Pitch = PITCH | |
548 | NEWSOUND.SoundId = "http://www.roblox.com/asset/?id="..ID | |
549 | Swait() | |
550 | NEWSOUND:play() | |
551 | game:GetService("Debris"):AddItem(NEWSOUND, 10) | |
552 | end)) | |
553 | return NEWSOUND | |
554 | end | |
555 | ||
556 | function CFrameFromTopBack(at, top, back) | |
557 | local right = top:Cross(back) | |
558 | 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) | |
559 | end | |
560 | ||
561 | function CreateSwirl(SIZE,WAIT,CFRAME,DOESROT,ROT,COLOR,GROW) | |
562 | local wave = CreatePart(3, Effects, "Neon", 0, 0.5, BRICKC(COLOR), "Effect", VT(0,0,0)) | |
563 | wave.Color = COLOR | |
564 | local mesh = CreateMesh("SpecialMesh", wave, "FileMesh", "1051557", "", SIZE, VT(0,0,0)) | |
565 | wave.CFrame = CFRAME | |
566 | coroutine.resume(coroutine.create(function(PART) | |
567 | for i = 1, WAIT do | |
568 | Swait() | |
569 | mesh.Scale = mesh.Scale + GROW | |
570 | mesh.Offset = VT(0,0,-(mesh.Scale.X/8)) | |
571 | if DOESROT == true then | |
572 | wave.CFrame = wave.CFrame * CFrame.fromEulerAnglesXYZ(0,ROT,0) | |
573 | end | |
574 | wave.Transparency = wave.Transparency + (0.5/WAIT) | |
575 | if wave.Transparency > 0.99 then | |
576 | wave:remove() | |
577 | end | |
578 | end | |
579 | end)) | |
580 | end | |
581 | ||
582 | function MagicSphere(SIZE,WAIT,CFRAME,COLOR,GROW) | |
583 | local wave = CreatePart(3, Effects, "Neon", 0, 0, BRICKC(COLOR), "Effect", VT(1,1,1), true) | |
584 | wave.Color = COLOR | |
585 | local mesh = CreateMesh("SpecialMesh", wave, "Sphere", "", "", SIZE, VT(0,0,0)) | |
586 | wave.CFrame = CFRAME | |
587 | coroutine.resume(coroutine.create(function(PART) | |
588 | for i = 1, WAIT do | |
589 | Swait() | |
590 | mesh.Scale = mesh.Scale + GROW | |
591 | wave.Transparency = wave.Transparency + (1/WAIT) | |
592 | if wave.Transparency > 0.99 then | |
593 | wave:remove() | |
594 | end | |
595 | end | |
596 | end)) | |
597 | end | |
598 | ||
599 | function Slice(KIND,SIZE,WAIT,CFRAME,COLOR,GROW) | |
600 | local wave = CreatePart(3, Effects, "Neon", 0, 0.5, BRICKC(COLOR), "Effect", VT(1,1,1), true) | |
601 | local mesh = nil | |
602 | if KIND == "Base" then | |
603 | mesh = CreateMesh("SpecialMesh", wave, "FileMesh", "448386996", "", VT(0,SIZE/10,SIZE/10), VT(0,0,0)) | |
604 | elseif KIND == "Thin" then | |
605 | mesh = CreateMesh("SpecialMesh", wave, "FileMesh", "662586858", "", VT(SIZE/10,0,SIZE/10), VT(0,0,0)) | |
606 | elseif KIND == "Round" then | |
607 | mesh = CreateMesh("SpecialMesh", wave, "FileMesh", "662585058", "", VT(SIZE/10,0,SIZE/10), VT(0,0,0)) | |
608 | end | |
609 | wave.CFrame = CFRAME | |
610 | coroutine.resume(coroutine.create(function(PART) | |
611 | for i = 1, WAIT do | |
612 | Swait() | |
613 | mesh.Scale = mesh.Scale + GROW/10 | |
614 | wave.Transparency = wave.Transparency + (0.5/WAIT) | |
615 | if wave.Transparency > 0.99 then | |
616 | wave:remove() | |
617 | end | |
618 | end | |
619 | end)) | |
620 | end | |
621 | ||
622 | function MakeForm(PART,TYPE) | |
623 | if TYPE == "Cyl" then | |
624 | local MSH = IT("CylinderMesh",PART) | |
625 | elseif TYPE == "Ball" then | |
626 | local MSH = IT("SpecialMesh",PART) | |
627 | MSH.MeshType = "Sphere" | |
628 | elseif TYPE == "Wedge" then | |
629 | local MSH = IT("SpecialMesh",PART) | |
630 | MSH.MeshType = "Wedge" | |
631 | end | |
632 | end | |
633 | ||
634 | function CheckTableForString(Table, String) | |
635 | for i, v in pairs(Table) do | |
636 | if string.find(string.lower(String), string.lower(v)) then | |
637 | return true | |
638 | end | |
639 | end | |
640 | return false | |
641 | end | |
642 | ||
643 | Debris = game:GetService("Debris") | |
644 | ||
645 | function FireArc(Part,ToLocation,AmountOfTime,Height,DoesCourontine) | |
646 | if DoesCourontine == false then | |
647 | local Direction = CF(Part.Position,ToLocation) | |
648 | local Distance = (Part.Position - ToLocation).magnitude | |
649 | for i = 1, AmountOfTime do | |
650 | Swait() | |
651 | Part.CFrame = Direction*CF(0,(AmountOfTime/200)+((AmountOfTime/Height)-((i*2)/Height)),-Distance/AmountOfTime) | |
652 | Direction = Part.CFrame | |
653 | end | |
654 | Part:remove() | |
655 | elseif DoesCourontine == true then | |
656 | coroutine.resume(coroutine.create(function() | |
657 | local Direction = CF(Part.Position,ToLocation) | |
658 | local Distance = (Part.Position - ToLocation).magnitude | |
659 | for i = 1, AmountOfTime do | |
660 | Swait() | |
661 | Part.CFrame = Direction*CF(0,(AmountOfTime/200)+((AmountOfTime/Height)-((i*2)/Height)),-Distance/AmountOfTime) | |
662 | Direction = Part.CFrame | |
663 | end | |
664 | Part:remove() | |
665 | end)) | |
666 | end | |
667 | end | |
668 | ||
669 | function turnto(position) | |
670 | RootPart.CFrame=CFrame.new(RootPart.CFrame.p,VT(position.X,RootPart.Position.Y,position.Z)) * CFrame.new(0, 0, 0) | |
671 | end | |
672 | local naeeym2 = Instance.new("BillboardGui", Character) | |
673 | naeeym2.AlwaysOnTop = true | |
674 | naeeym2.Size = UDim2.new(5, 35, 2, 15) | |
675 | naeeym2.StudsOffset = Vector3.new(0, 3, 0) | |
676 | naeeym2.Adornee = Character.Head | |
677 | naeeym2.Name = "Name" | |
678 | local tecks2 = Instance.new("TextLabel", naeeym2) | |
679 | tecks2.BackgroundTransparency = 1 | |
680 | tecks2.TextScaled = true | |
681 | tecks2.BorderSizePixel = 0 | |
682 | tecks2.Text = "Dominus Astra" | |
683 | tecks2.Font = "Fantasy" | |
684 | tecks2.TextSize = 30 | |
685 | tecks2.TextStrokeTransparency = 0 | |
686 | tecks2.TextColor3 = Color3.new(0.05,0.05,0.15) | |
687 | tecks2.TextStrokeColor3 = Color3.new(0,0,0) | |
688 | tecks2.Size = UDim2.new(1, 0, 0.5, 0) | |
689 | tecks2.Parent = naeeym2 | |
690 | ||
691 | --//=================================\\ | |
692 | --|| WEAPON CREATION | |
693 | --\\=================================// | |
694 | ||
695 | local LMAO = IT("Model") | |
696 | LMAO.Name = "Particles" | |
697 | LMAO.Parent = nil | |
698 | local Weapon = IT("Model") | |
699 | Weapon.Name = "Adds" | |
700 | local Weapon2 = IT("Model") | |
701 | Weapon2.Name = "Adds" | |
702 | ||
703 | local EYE = CreatePart(3, Weapon2, "Neon", 0, 0, "Gold", "Eyeball", VT(0.1, 0.4, 0.1), false) | |
704 | MakeForm(EYE, "Ball") | |
705 | EYE.CFrame = Head.CFrame * CF(0.2, 0.1, -0.72) | |
706 | local EW = weldBetween(EYE, Head) | |
707 | local EYE2 = CreatePart(3, Weapon2, "Neon", 0, 0, "Gold", "Eyeball1", VT(0.4, 0.1, 0.1), false) | |
708 | MakeForm(EYE2, "Ball") | |
709 | EYE2.CFrame = Head.CFrame * CF(0.2, 0.1, -0.72) | |
710 | local EW2 = weldBetween(EYE2, Head) | |
711 | ||
712 | Weapon2.Parent = nil | |
713 | ||
714 | local Particle = IT("ParticleEmitter",nil) | |
715 | Particle.Enabled = false | |
716 | Particle.Transparency = NumberSequence.new({NumberSequenceKeypoint.new(0,1),NumberSequenceKeypoint.new(0.3,0.95),NumberSequenceKeypoint.new(1,1)}) | |
717 | Particle.LightEmission = 0.5 | |
718 | Particle.Rate = 150 | |
719 | Particle.ZOffset = 1 | |
720 | Particle.Rotation = NumberRange.new(-180, 180) | |
721 | Particle.RotSpeed = NumberRange.new(-180, 180) | |
722 | Particle.Texture = "http://www.roblox.com/asset/?id=304437537" | |
723 | Particle.Color = ColorSequence.new(C3(0.4,0,0),C3(0.4,0,0)) | |
724 | ||
725 | --ParticleEmitter({Speed = 5, Drag = 0, Size1 = 1, Size2 = 5, Lifetime1 = 1, Lifetime2 = 1.5, Parent = Torso, Emit = 100, Offset = 360, Enabled = false}) | |
726 | function ParticleEmitter(Table) | |
727 | local PRTCL = Particle:Clone() | |
728 | local Speed = Table.Speed or 5 | |
729 | local Drag = Table.Drag or 0 | |
730 | local Size1 = Table.Size1 or 1 | |
731 | local Size2 = Table.Size2 or 5 | |
732 | local Lifetime1 = Table.Lifetime1 or 1 | |
733 | local Lifetime2 = Table.Lifetime2 or 1.5 | |
734 | local Parent = Table.Parent or Torso | |
735 | local Emit = Table.Emit or 100 | |
736 | local Offset = Table.Offset or 360 | |
737 | local Acel = Table.Acel or VT(0,0,0) | |
738 | local Enabled = Table.Enabled or false | |
739 | PRTCL.Parent = Parent | |
740 | PRTCL.Size = NumberSequence.new(Size1,Size2) | |
741 | PRTCL.Lifetime = NumberRange.new(Lifetime1,Lifetime2) | |
742 | PRTCL.Speed = NumberRange.new(Speed) | |
743 | PRTCL.VelocitySpread = Offset | |
744 | PRTCL.Drag = Drag | |
745 | PRTCL.Acceleration = Acel | |
746 | if Enabled == false then | |
747 | PRTCL:Emit(Emit) | |
748 | Debris:AddItem(PRTCL,Lifetime2) | |
749 | else | |
750 | PRTCL.Enabled = true | |
751 | end | |
752 | return PRTCL | |
753 | end | |
754 | ||
755 | local Handle = CreatePart(3, Weapon, "Metal", 0, 0, "Mid gray", "Part", VT(0.2,0.6,0.2),false) | |
756 | local RightArmGrasp = CreateWeldOrSnapOrMotor("Weld", Handle, RightArm, Handle, CF(0,-1, 0) * ANGLES(RAD(90), RAD(0), RAD(0)), CF(0, 0.21, 0)) | |
757 | local Part = CreatePart(3, Weapon, "Metal", 0, 0, "Mid gray", "Part", VT(0.2,0.5,0.2),false) | |
758 | MakeForm(Part,"Wedge") | |
759 | CreateWeldOrSnapOrMotor("Weld", Handle, Handle, Part, CF(0, -0.3, 0.2) * ANGLES(RAD(0), RAD(180), RAD(0)), CF(0, 0, 0)) | |
760 | local Part = CreatePart(3, Weapon, "Metal", 0, 0, "Mid gray", "Part", VT(0.2,0.3,0.2),false) | |
761 | MakeForm(Part,"Wedge") | |
762 | CreateWeldOrSnapOrMotor("Weld", Handle, Handle, Part, CF(0, -0.4, 0) * ANGLES(RAD(0), RAD(0), RAD(180)), CF(0, 0, 0)) | |
763 | local Part = CreatePart(3, Weapon, "Metal", 0, 0, "Mid gray", "Part", VT(0.3,0.3,0.3),false) | |
764 | CreateWeldOrSnapOrMotor("Weld", Handle, Handle, Part, CF(0, -0.5, 0.2) * ANGLES(RAD(0), RAD(0), RAD(0)), CF(0, 0, 0)) | |
765 | local Part = CreatePart(3, Weapon, "Metal", 0, 0, "Mid gray", "Part", VT(0.3,0.5,0.5),false) | |
766 | CreateWeldOrSnapOrMotor("Weld", Handle, Handle, Part, CF(0, -0.6, 0.5) * ANGLES(RAD(0), RAD(0), RAD(0)), CF(0, 0, 0)) | |
767 | local Part = CreatePart(3, Weapon, "Metal", 0, 0, "Mid gray", "Part", VT(0.4,0.4,0.4),false) | |
768 | MakeForm(Part,"Cyl") | |
769 | CreateWeldOrSnapOrMotor("Weld", Handle, Handle, Part, CF(0, -0.6, 0.5) * ANGLES(RAD(90), RAD(0), RAD(0)), CF(0, 0, 0)) | |
770 | for i = 1, 8 do | |
771 | local Piece = CreatePart(3, Weapon, "Metal", 0, 0, "Mid gray", "Eye", VT(0,0.35,0.41),false) | |
772 | CreateWeldOrSnapOrMotor("Weld", Handle, Part, Piece, CF(0, 0, 0) * ANGLES(RAD(0), RAD((360/8)*i), RAD(0)), CF(0, 0, 0)) | |
773 | end | |
774 | local Part = CreatePart(3, Weapon, "Metal", 0, 0, "Mid gray", "Eye", VT(0.38,0.41,0.38),false) | |
775 | MakeForm(Part,"Cyl") | |
776 | CreateWeldOrSnapOrMotor("Weld", Handle, Handle, Part, CF(0, -0.6, 0.5) * ANGLES(RAD(90), RAD(0), RAD(0)), CF(0, 0, 0)) | |
777 | local Part = CreatePart(3, Weapon, "Metal", 0, 0, "Mid gray", "Part", VT(0.37,0.5,0.37),false) | |
778 | MakeForm(Part,"Ball") | |
779 | CreateWeldOrSnapOrMotor("Weld", Handle, Handle, Part, CF(0, -0.6, 0.3) * ANGLES(RAD(90), RAD(0), RAD(0)), CF(0, 0, 0)) | |
780 | local Part = CreatePart(3, Weapon, "Metal", 0, 0, "Mid gray", "Part", VT(0.2,0.7,0.4),false) | |
781 | MakeForm(Part,"Wedge") | |
782 | CreateWeldOrSnapOrMotor("Weld", Handle, Handle, Part, CF(0, -0.7, 0.5) * ANGLES(RAD(90), RAD(180), RAD(180)), CF(0, 0, 0)) | |
783 | local Part = CreatePart(3, Weapon, "Metal", 0, 0, "Mid gray", "Part", VT(0.3,0.4,0.2),false) | |
784 | CreateWeldOrSnapOrMotor("Weld", Handle, Handle, Part, CF(0, -0.6, 0.7) * ANGLES(RAD(0), RAD(0), RAD(0)), CF(0, 0, 0)) | |
785 | local Part = CreatePart(3, Weapon, "Metal", 0, 0, "Mid gray", "Part", VT(0.35,0.35,0.35),false) | |
786 | MakeForm(Part,"Cyl") | |
787 | CreateWeldOrSnapOrMotor("Weld", Handle, Handle, Part, CF(0, -0.6, 0.7) * ANGLES(RAD(90), RAD(0), RAD(0)), CF(0, 0, 0)) | |
788 | local Part = CreatePart(3, Weapon, "Metal", 0, 0, "Mid gray", "Part", VT(0.5,0.1,0.5),false) | |
789 | MakeForm(Part,"Cyl") | |
790 | CreateWeldOrSnapOrMotor("Weld", Handle, Handle, Part, CF(0, -0.6, 1) * ANGLES(RAD(90), RAD(0), RAD(0)), CF(0, 0, 0)) | |
791 | local Part = CreatePart(3, Weapon, "Metal", 0, 0, "Mid gray", "Part", VT(0.5,0.1,0.45),false) | |
792 | MakeForm(Part,"Cyl") | |
793 | CreateWeldOrSnapOrMotor("Weld", Handle, Handle, Part, CF(0, -0.6, 1.1) * ANGLES(RAD(90), RAD(0), RAD(0)), CF(0, 0, 0)) | |
794 | local Part = CreatePart(3, Weapon, "Metal", 0, 0, "Mid gray", "Part", VT(0.2,0.5,0.2),false) | |
795 | MakeForm(Part,"Wedge") | |
796 | CreateWeldOrSnapOrMotor("Weld", Handle, Handle, Part, CF(0, -0.55, 0.2) * ANGLES(RAD(-135), RAD(0), RAD(0)), CF(0, -0.3, 0)) | |
797 | local LASTPART = Handle | |
798 | for i = 1, 10 do | |
799 | if LASTPART == Handle then | |
800 | local Part = CreatePart(3, Weapon, "Metal", 0, 0, "Mid gray", "Part", VT(0.1,0.2,0),false) | |
801 | LASTPART = Part | |
802 | CreateWeldOrSnapOrMotor("Weld", Handle, Handle, Part, CF(0, -0.1, 0.2) * ANGLES(RAD(90), RAD(0), RAD(0)), CF(0, 0, 0)) | |
803 | else | |
804 | local Part = CreatePart(3, Weapon, "Metal", 0, 0, "Mid gray", "Part", VT(0.1,0.05,0),false) | |
805 | CreateWeldOrSnapOrMotor("Weld", Handle, LASTPART, Part, CF(0, 0.025, 0) * ANGLES(RAD(8), RAD(0), RAD(0)), CF(0, -0.025, 0)) | |
806 | LASTPART = Part | |
807 | end | |
808 | end | |
809 | ||
810 | local Barrel = CreatePart(3, Weapon, "Metal", 0, 0, "Mid gray", "Part", VT(0.15,2,0.15),false) | |
811 | MakeForm(Barrel,"Cyl") | |
812 | CreateWeldOrSnapOrMotor("Weld", Handle, Handle, Barrel, CF(0, -0.6, 1.8) * ANGLES(RAD(90), RAD(0), RAD(0)), CF(0, 0, 0)) | |
813 | local Part = CreatePart(3, Weapon, "Metal", 0, 0, "Mid gray", "Part", VT(0.25,1,0.25),false) | |
814 | MakeForm(Part,"Cyl") | |
815 | CreateWeldOrSnapOrMotor("Weld", Handle, Barrel, Part, CF(0, -0.6, 0), CF(0, 0, 0)) | |
816 | local Part = CreatePart(3, Weapon, "Metal", 0, 0, "Mid gray", "Part", VT(0,0.1,0.2),false) | |
817 | MakeForm(Part,"Wedge") | |
818 | CreateWeldOrSnapOrMotor("Weld", Handle, Barrel, Part, CF(0, 0.945, 0.1) * ANGLES(RAD(180), RAD(0), RAD(0)), CF(0, 0, 0)) | |
819 | local Hole2 = CreatePart(3, Weapon, "Metal", 0, 0, "Mid gray", "Eye", VT(0.125,0,0.125),false) | |
820 | MakeForm(Hole2,"Cyl") | |
821 | CreateWeldOrSnapOrMotor("Weld", Handle, Barrel, Hole2, CF(0, 0.98, 0), CF(0, 0, 0)) | |
822 | local Part = CreatePart(3, Weapon, "Metal", 0, 0, "Mid gray", "Part", VT(0,0,0),false) | |
823 | local GEARWELD = CreateWeldOrSnapOrMotor("Weld", Handle, Handle, Part, CF(0, -0.6, 0.7), CF(0, 0, 0)) | |
824 | CreateMesh("SpecialMesh", Part, "FileMesh", 156292343, "", VT(0.8,0.8,1.5), VT(0,0,0.2)) | |
825 | local Part = CreatePart(3, Weapon, "Metal", 0, 0.5, "Mid gray", "Eye", VT(0,0,0),false) | |
826 | local GEARWELD2 = CreateWeldOrSnapOrMotor("Weld", Handle, Handle, Part, CF(0, -0.6, 0.7), CF(0, 0, 0)) | |
827 | CreateMesh("SpecialMesh", Part, "FileMesh", 156292343, "", VT(0.9,0.9,0.3), VT(0,0,0.2)) | |
828 | coroutine.resume(coroutine.create(function() | |
829 | while wait() do | |
830 | GEARWELD.C0 = GEARWELD.C0 * ANGLES(RAD(0), RAD(0), RAD(5)) | |
831 | GEARWELD2.C0 = GEARWELD2.C0 * ANGLES(RAD(0), RAD(0), RAD(-5)) | |
832 | end | |
833 | end)) | |
834 | ||
835 | 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)}) | |
836 | --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)}) | |
837 | ||
838 | 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)}) | |
839 | --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)}) | |
840 | ||
841 | for _, c in pairs(Weapon:GetDescendants()) do | |
842 | if c.ClassName == "Part" and c.Name ~= "Eye" and c.Parent ~= Effects and c.Parent.Parent ~= Effects then | |
843 | c.Material = "Glass" | |
844 | c.Color = C3(0.15,0.05,0.05) | |
845 | elseif c.ClassName == "Part" and c.Name == "Eye" then | |
846 | c.Color = C3(1,0,0) | |
847 | c.Material = "Neon" | |
848 | end | |
849 | end | |
850 | ||
851 | local DeadEyes = IT("Model") | |
852 | DeadEyes.Name = "Adds" | |
853 | for _, c in pairs(Weapon:GetChildren()) do | |
854 | if c.ClassName == "Part" then | |
855 | c.CustomPhysicalProperties = PhysicalProperties.new(0, 0, 0, 0, 0) | |
856 | end | |
857 | end | |
858 | ||
859 | local Handle = CreatePart(3, DeadEyes, "Metal", 0, 0, "Mid gray", "Part", VT(0.2,1.2,0.2),false) | |
860 | local RightArmGrasp = CreateWeldOrSnapOrMotor("Weld", Handle, RightArm, Handle, CF(0,-0.8, 0) * ANGLES(RAD(90), RAD(0), RAD(0)), CF(0, 0.3, 0)) | |
861 | local Part = CreatePart(3, DeadEyes, "Metal", 0, 0, "Mid gray", "Part", VT(0.2,0.8,0.2),false) | |
862 | MakeForm(Part,"Wedge") | |
863 | CreateWeldOrSnapOrMotor("Weld", Handle, Handle, Part, CF(0, 0.2, 0.2) * ANGLES(RAD(0), RAD(180), RAD(0)), CF(0, 0, 0)) | |
864 | local Part = CreatePart(3, DeadEyes, "Metal", 0, 0, "Mid gray", "Part", VT(0.3,0.5,0.6),false) | |
865 | CreateWeldOrSnapOrMotor("Weld", Handle, Handle, Part, CF(0, -0.5, 0.4) * ANGLES(RAD(90), RAD(0), RAD(0)), CF(0, 0, 0)) | |
866 | local Part = CreatePart(3, DeadEyes, "Metal", 0, 0, "Mid gray", "Part", VT(0.4,0.4,0.4),false) | |
867 | MakeForm(Part,"Cyl") | |
868 | CreateWeldOrSnapOrMotor("Weld", Handle, Handle, Part, CF(0, -0.45, 0.4) * ANGLES(RAD(90), RAD(0), RAD(0)), CF(0, 0, 0)) | |
869 | for i = 1, 8 do | |
870 | local Piece = CreatePart(3, DeadEyes, "Metal", 0, 0, "Mid gray", "Eye", VT(0,0.35,0.41),false) | |
871 | CreateWeldOrSnapOrMotor("Weld", Handle, Part, Piece, CF(0, 0, 0) * ANGLES(RAD(0), RAD((360/8)*i), RAD(0)), CF(0, 0, 0)) | |
872 | end | |
873 | local Part = CreatePart(3, DeadEyes, "Metal", 0, 0, "Mid gray", "Part", VT(0.2,0.5,0.2),false) | |
874 | MakeForm(Part,"Wedge") | |
875 | CreateWeldOrSnapOrMotor("Weld", Handle, Handle, Part, CF(0, -0.55, 0.2) * ANGLES(RAD(-135), RAD(0), RAD(0)), CF(0, -0.3, 0)) | |
876 | local Part = CreatePart(3, DeadEyes, "Metal", 0, 0, "Mid gray", "Eye", VT(0.39,0.41,0.39),false) | |
877 | MakeForm(Part,"Cyl") | |
878 | CreateWeldOrSnapOrMotor("Weld", Handle, Handle, Part, CF(0, -0.45, 0.4) * ANGLES(RAD(90), RAD(0), RAD(0)), CF(0, 0, 0)) | |
879 | local Part = CreatePart(3, DeadEyes, "Metal", 0, 0, "Mid gray", "Part", VT(0.3,0.5,0.5),false) | |
880 | CreateWeldOrSnapOrMotor("Weld", Handle, Handle, Part, CF(0, -0.5, 0.2) * ANGLES(RAD(90), RAD(0), RAD(0)), CF(0, 0, 0)) | |
881 | local Part = CreatePart(3, DeadEyes, "Metal", 0, 0, "Mid gray", "Part", VT(0.3,0.4,0.5),false) | |
882 | CreateWeldOrSnapOrMotor("Weld", Handle, Handle, Part, CF(0, -0.55, 0.65) * ANGLES(RAD(90), RAD(0), RAD(0)), CF(0, 0, 0)) | |
883 | local Part = CreatePart(3, DeadEyes, "Metal", 0, 0, "Mid gray", "Part", VT(0.2,0,0.6),false) | |
884 | CreateWeldOrSnapOrMotor("Weld", Handle, Handle, Part, CF(0, 0, 0) * ANGLES(RAD(45), RAD(0), RAD(0)), CF(0, -0.2, -0.3)) | |
885 | local RightBarrel = CreatePart(3, DeadEyes, "Metal", 0, 0, "Mid gray", "Part", VT(0.28,5,0.28),false) | |
886 | MakeForm(RightBarrel,"Cyl") | |
887 | CreateWeldOrSnapOrMotor("Weld", Handle, Handle, RightBarrel, CF(0, -0.6, 0.5) * ANGLES(RAD(90), RAD(0), RAD(0)), CF(0, -2.5, 0)) | |
888 | local Part = CreatePart(3, DeadEyes, "Metal", 0, 0, "Mid gray", "Part", VT(0,0.2,0.2),false) | |
889 | MakeForm(Part,"Wedge") | |
890 | CreateWeldOrSnapOrMotor("Weld", Handle, RightBarrel, Part, CF(0, 2.415, 0.15) * ANGLES(RAD(180), RAD(0), RAD(0)), CF(0, 0, 0)) | |
891 | local RightHole = CreatePart(3, DeadEyes, "Metal", 0, 0, "Mid gray", "Eye", VT(0.2,0,0.2),false) | |
892 | MakeForm(RightHole,"Cyl") | |
893 | CreateWeldOrSnapOrMotor("Weld", Handle, RightBarrel, RightHole, CF(0, 2.5, 0), CF(0, 0, 0)) | |
894 | ||
895 | ||
896 | for _, c in pairs(DeadEyes:GetDescendants()) do | |
897 | if c.ClassName == "Part" and c.Name ~= "Eye" and c.Parent ~= Effects and c.Parent.Parent ~= Effects then | |
898 | c.Material = "Metal" | |
899 | c.Color = C3(0,0,0) | |
900 | end | |
901 | end | |
902 | ||
903 | DeadEyes.Parent = nil | |
904 | ||
905 | function Transparency(TRANS) | |
906 | for _, c in pairs(Character:GetChildren()) do | |
907 | if c.ClassName == "Part" and c ~= RootPart then | |
908 | c.Transparency = TRANS | |
909 | if c:FindFirstChildOfClass("Decal") then | |
910 | c:FindFirstChildOfClass("Decal").Transparency = TRANS | |
911 | end | |
912 | elseif c.ClassName == "Accessory" then | |
913 | c.Handle.Transparency = TRANS | |
914 | elseif c.ClassName == "Model" then | |
915 | for _, q in pairs(c:GetChildren()) do | |
916 | if q.ClassName == "Part" then | |
917 | q.Transparency = TRANS | |
918 | if q:FindFirstChildOfClass("Decal") then | |
919 | q:FindFirstChildOfClass("Decal").Transparency = TRANS | |
920 | end | |
921 | end | |
922 | end | |
923 | end | |
924 | end | |
925 | end | |
926 | ||
927 | Humanoid.Died:connect(function() | |
928 | Humanoid.Parent = nil | |
929 | Humanoid.MaxHealth = "inf" | |
930 | Humanoid.Health = "inf" | |
931 | refit3() | |
932 | refit2() | |
933 | Humanoid.Parent = Character | |
934 | CreateSound("907330011", Head, 10, 1.2) | |
935 | end) | |
936 | ||
937 | --//=================================\\ | |
938 | --|| DAMAGING | |
939 | --\\=================================// | |
940 | ||
941 | function killnearest(position,range,maxstrength) | |
942 | for i,v in ipairs(workspace:GetChildren()) do | |
943 | local body = v:GetChildren() | |
944 | for part = 1, #body do | |
945 | if((body[part].ClassName == "Part" or body[part].ClassName == "MeshPart") and v ~= Character) then | |
946 | if(body[part].Position - position).Magnitude < range then | |
947 | if v.ClassName == "Model" then | |
948 | v:BreakJoints() | |
949 | end | |
950 | --table.insert(Effects2,{body[part],"Disappear",0.02,2,2,2,2}) | |
951 | local bv = Instance.new("BodyVelocity") | |
952 | bv.maxForce = Vector3.new(1e9, 1e9, 1e9) | |
953 | bv.velocity = CF(position,body[part].Position).lookVector*maxstrength | |
954 | bv.Parent = body[part] | |
955 | Debris:AddItem(bv,0.2) | |
956 | end | |
957 | end | |
958 | end | |
959 | if v.ClassName == "Part" then | |
960 | if v.Anchored == false and (v.Position - position).Magnitude < range then | |
961 | --table.insert(Effects2,{v,"Disappear",0.02,2,2,2,2}) | |
962 | v.Velocity = CFrame.new(position,v.Position).lookVector*5*maxstrength | |
963 | end | |
964 | end | |
965 | end | |
966 | end | |
967 | ||
968 | --//=================================\\ | |
969 | --|| ATTACK FUNCTIONS AND STUFF | |
970 | --\\=================================// | |
971 | ||
972 | local TOBANISH = {} | |
973 | ||
974 | function printbye(Name) | |
975 | local MESSAGES = {"Tu, ne ipsis, ","Esses contumeliam, ","Te potest ignorare mandatum meum, ","Iam mortuus est, "} | |
976 | warn(MESSAGES[MRANDOM(1,#MESSAGES)]..Name..".") | |
977 | end | |
978 | ||
979 | workspace.ChildAdded:connect(function(instance) | |
980 | for BANISH = 1, #TOBANISH do | |
981 | if TOBANISH[BANISH] ~= nil then | |
982 | if instance.Name == TOBANISH[BANISH] then | |
983 | coroutine.resume(coroutine.create(function() | |
984 | printbye(instance.Name) | |
985 | instance:ClearAllChildren() | |
986 | Debris:AddItem(instance,0.0005) | |
987 | end)) | |
988 | end | |
989 | end | |
990 | end | |
991 | end) | |
992 | ||
993 | function Banish(Foe) | |
994 | if Foe then | |
995 | coroutine.resume(coroutine.create(function() | |
996 | --if game.Players:FindFirstChild(Foe.Name) then | |
997 | table.insert(TOBANISH,Foe.Name) | |
998 | printbye(Foe.Name) | |
999 | --end | |
1000 | Foe.Archivable = true | |
1001 | local CLONE = Foe:Clone() | |
1002 | Foe:Destroy() | |
1003 | CLONE.Parent = Effects | |
1004 | CLONE:BreakJoints() | |
1005 | local MATERIALS = {"Glass","Neon"} | |
1006 | for _, c in pairs(CLONE:GetDescendants()) do | |
1007 | if c:IsA("BasePart") then | |
1008 | if c.Name == "Torso" or c.Name == "UpperTorso" or c == CLONE.PrimaryPart then | |
1009 | CreateSound(340722848, c, 10, 1, false) | |
1010 | end | |
1011 | c.Anchored = true | |
1012 | c.Transparency = c.Transparency + 0.2 | |
1013 | c.Material = MATERIALS[MRANDOM(1,2)] | |
1014 | c.Color = C3(1,0,0) | |
1015 | if c.ClassName == "MeshPart" then | |
1016 | c.TextureID = "" | |
1017 | end | |
1018 | if c:FindFirstChildOfClass("SpecialMesh") then | |
1019 | c:FindFirstChildOfClass("SpecialMesh").TextureId = "" | |
1020 | end | |
1021 | if c:FindFirstChildOfClass("Decal") then | |
1022 | c:FindFirstChildOfClass("Decal"):remove() | |
1023 | end | |
1024 | c.Name = "Banished" | |
1025 | c.CanCollide = false | |
1026 | else | |
1027 | c:remove() | |
1028 | end | |
1029 | end | |
1030 | local A = false | |
1031 | for i = 1, 35 do | |
1032 | if A == false then | |
1033 | A = true | |
1034 | elseif A == true then | |
1035 | A = false | |
1036 | end | |
1037 | for _, c in pairs(CLONE:GetDescendants()) do | |
1038 | if c:IsA("BasePart") then | |
1039 | c.Anchored = true | |
1040 | c.Material = MATERIALS[MRANDOM(1,2)] | |
1041 | c.Transparency = c.Transparency + 0.8/35 | |
1042 | if A == false then | |
1043 | c.CFrame = c.CFrame*CF(MRANDOM(-45,45)/45,MRANDOM(-45,45)/45,MRANDOM(-45,45)/45) | |
1044 | elseif A == true then | |
1045 | c.CFrame = c.CFrame*CF(MRANDOM(-45,45)/45,MRANDOM(-45,45)/45,MRANDOM(-45,45)/45) | |
1046 | end | |
1047 | end | |
1048 | end | |
1049 | Swait() | |
1050 | end | |
1051 | CLONE:remove() | |
1052 | end)) | |
1053 | end | |
1054 | end | |
1055 | ||
1056 | function ApplyAoE(POSITION,RANGE,ISBANISH) | |
1057 | local CHILDREN = workspace:GetDescendants() | |
1058 | for index, CHILD in pairs(CHILDREN) do | |
1059 | if CHILD.ClassName == "Model" and CHILD ~= Character then | |
1060 | local HUM = CHILD:FindFirstChildOfClass("Humanoid") | |
1061 | if HUM then | |
1062 | local TORSO = CHILD:FindFirstChild("Torso") or CHILD:FindFirstChild("UpperTorso") | |
1063 | if TORSO then | |
1064 | if (TORSO.Position - POSITION).Magnitude <= RANGE then | |
1065 | if ISBANISH == true then | |
1066 | Banish(CHILD) | |
1067 | else | |
1068 | if ISBANISH == "Gravity" then | |
1069 | HUM.PlatformStand = true | |
1070 | if TORSO:FindFirstChild("V3BanishForce"..Player.Name) then | |
1071 | local grav = Instance.new("BodyPosition",TORSO) | |
1072 | grav.D = 15 | |
1073 | grav.P = 20000 | |
1074 | grav.maxForce = Vector3.new(math.huge,math.huge,math.huge) | |
1075 | grav.position = TORSO.Position | |
1076 | grav.Name = "V3BanishForce"..Player.Name | |
1077 | else | |
1078 | TORSO:FindFirstChild("V3BanishForce"..Player.Name).position = TORSO.Position+VT(0,0.3,0) | |
1079 | TORSO.RotVelocity = VT(MRANDOM(-25,25),MRANDOM(-25,25),MRANDOM(-25,25)) | |
1080 | end | |
1081 | else | |
1082 | HUM.PlatformStand = false | |
1083 | end | |
1084 | end | |
1085 | elseif ISBANISH == "Gravity" then | |
1086 | if TORSO:FindFirstChild("V3BanishForce"..Player.Name) then | |
1087 | TORSO:FindFirstChild("V3BanishForce"..Player.Name):remove() | |
1088 | HUM.PlatformStand = false | |
1089 | end | |
1090 | end | |
1091 | end | |
1092 | end | |
1093 | end | |
1094 | end | |
1095 | end | |
1096 | ||
1097 | function SpawnTrail(FROM,TO,BIG) | |
1098 | local TRAIL = CreatePart(3, Effects, "Neon", 0, 0.5, "Really red", "Trail", VT(0,0,0)) | |
1099 | MakeForm(TRAIL,"Cyl") | |
1100 | local DIST = (FROM - TO).Magnitude | |
1101 | if BIG == true then | |
1102 | TRAIL.Size = VT(5,DIST,5) | |
1103 | else | |
1104 | TRAIL.Size = VT(5,DIST,5) | |
1105 | end | |
1106 | TRAIL.CFrame = CF(FROM, TO) * CF(0, 0, -DIST/2) * ANGLES(RAD(90),RAD(0),RAD(0)) | |
1107 | coroutine.resume(coroutine.create(function() | |
1108 | for i = 1, 5 do | |
1109 | Swait() | |
1110 | TRAIL.Transparency = TRAIL.Transparency + 0.1 | |
1111 | end | |
1112 | TRAIL:remove() | |
1113 | end)) | |
1114 | end | |
1115 | ||
1116 | function CastProperRay(StartPos, EndPos, Distance, Ignore) | |
1117 | local DIRECTION = CF(StartPos,EndPos).lookVector | |
1118 | return Raycast(StartPos, DIRECTION, Distance, Ignore) | |
1119 | end | |
1120 | ||
1121 | local Decal = IT("Decal") | |
1122 | function MagicRing() | |
1123 | local O1 = CreatePart(3, Effects, "Neon", 0, 1, "Really red", "Warphole", VT(0, 0, 0)) | |
1124 | O1.CFrame = RootPart.CFrame * CF(0, 0, -3) * ANGLES(RAD(90), RAD(0), RAD(0)) | |
1125 | local decal = Decal:Clone() | |
1126 | decal.Parent = O1 | |
1127 | decal.Face = "Top" | |
1128 | decal.Texture = "http://www.roblox.com/asset/?id=917750924" | |
1129 | local decal2 = Decal:Clone() | |
1130 | decal2.Parent = O1 | |
1131 | decal2.Face = "Bottom" | |
1132 | decal2.Texture = "http://www.roblox.com/asset/?id=917750924" | |
1133 | return O1 | |
1134 | end | |
1135 | ||
1136 | local EyeSizes = { | |
1137 | NumberSequenceKeypoint.new(0, 1, 0), | |
1138 | NumberSequenceKeypoint.new(1, 0, 0) | |
1139 | } | |
1140 | local PE = Instance.new("ParticleEmitter") | |
1141 | PE.LightEmission = 0.8 | |
1142 | PE.Color = ColorSequence.new(BRICKC("Gold").Color) | |
1143 | PE.Size = NumberSequence.new(EyeSizes) | |
1144 | PE.Lifetime = NumberRange.new(0.35, 0.35, 0.35) | |
1145 | PE.Rotation = NumberRange.new(0, 360) | |
1146 | PE.Transparency = NumberSequence.new(0.9) | |
1147 | PE.Rate = 999 | |
1148 | PE.VelocitySpread = 10000 | |
1149 | PE.Acceleration = Vector3.new(0, 75, 0) | |
1150 | PE.Drag = 5 | |
1151 | PE.Speed = NumberRange.new(6, 6) | |
1152 | PE.Texture = "http://www.roblox.com/asset/?id=1351966707" | |
1153 | PE.ZOffset = -1.5 | |
1154 | PE.Name = "OVERLORDAURA" | |
1155 | ||
1156 | function particles(art) | |
1157 | PE:Clone().Parent = art | |
1158 | end | |
1159 | ||
1160 | function CheckIntangible(Hit) | |
1161 | local ProjectileNames = { | |
1162 | "Water", | |
1163 | "Arrow", | |
1164 | "Projectile", | |
1165 | "Effect", | |
1166 | "Rail", | |
1167 | "Lightning", | |
1168 | "Bullet" | |
1169 | } | |
1170 | if Hit and Hit.Parent and (not Hit.CanCollide or CheckTableForString(ProjectileNames, Hit.Name)) and not Hit.Parent:FindFirstChild("Humanoid") then | |
1171 | return true | |
1172 | end | |
1173 | return false | |
1174 | end | |
1175 | Debris = game:GetService("Debris") | |
1176 | function CastZapRay(StartPos, Vec, Length, Ignore, DelayIfHit) | |
1177 | local Ignore = type(Ignore) == "table" and Ignore or {Ignore} | |
1178 | local RayHit, RayPos, RayNormal = game:GetService("Workspace"):FindPartOnRayWithIgnoreList(Ray.new(StartPos, Vec * Length), Ignore) | |
1179 | if RayHit and CheckIntangible(RayHit) then | |
1180 | if DelayIfHit then | |
1181 | wait() | |
1182 | end | |
1183 | RayHit, RayPos, RayNormal = CastZapRay(RayPos + Vec * 0.01, Vec, Length - (StartPos - RayPos).magnitude, Ignore, DelayIfHit) | |
1184 | end | |
1185 | return RayHit, RayPos, RayNormal | |
1186 | end | |
1187 | BaseLightning = IT("Part") | |
1188 | BaseLightning.Anchored = true | |
1189 | BaseLightning.CanCollide = false | |
1190 | BaseLightning.Material = "Neon" | |
1191 | local LightningBolts = {} | |
1192 | function Zap(Table) | |
1193 | local StartPos, TargetPos, Character, Color = Table.StartPosition, Table.TargetPosition, Table.Character, Table.Color | |
1194 | local Duration = Table.Duration or 2 | |
1195 | local Offset = Table.Offset or 2 | |
1196 | local Individualize = Table.Individualize or false | |
1197 | local MaxRange = Table.MaxRange or 200 | |
1198 | local SegmentLength = Table.SegmentLength or 5 | |
1199 | local Transparency = Table.Transparency or 0 | |
1200 | local Ignore = Table.Ignore or {} | |
1201 | local SIZE = Table.SIZE or 0.3 | |
1202 | if not (StartPos and TargetPos) or not Character then | |
1203 | return | |
1204 | end | |
1205 | local LightningModel = IT("Folder", Effects) | |
1206 | LightningModel.Name = "ZAPP" | |
1207 | for i, v in pairs({Character, LightningModel}) do | |
1208 | table.insert(Ignore, v) | |
1209 | end | |
1210 | local LastPos = StartPos | |
1211 | local Direction = CFrame.new(StartPos, TargetPos).lookVector | |
1212 | local RayHit, RayPos, RayNormal = CastZapRay(StartPos, Direction, MaxRange, Ignore, false) | |
1213 | local RayLength = (StartPos - RayPos).Magnitude | |
1214 | local Struck = false | |
1215 | local TotalSegments = math.ceil(RayLength / SegmentLength) | |
1216 | Direction = CFrame.new(StartPos, RayPos).lookVector | |
1217 | local LightningBolt = IT("Model", Effects) | |
1218 | LightningBolt.Name = "Lightning" | |
1219 | if not Individualize then | |
1220 | table.insert(LightningBolts, LightningBolt) | |
1221 | end | |
1222 | LastBolt = LightningBolt | |
1223 | Debris:AddItem(LightningBolt, Duration) | |
1224 | LightningBolt.Parent = LightningModel | |
1225 | for i = 1, TotalSegments do | |
1226 | if not Struck then | |
1227 | local Entropy = Vector3.new(math.random() * Offset * 2.5 - Offset, math.random() * Offset * 2.5 - Offset, math.random() * Offset * 2.5 - Offset) | |
1228 | local NewPos = StartPos + Direction * (RayLength * (i / TotalSegments)) + Entropy | |
1229 | local SegmentVec = NewPos - LastPos | |
1230 | local RayHit, RayPos, RayNormal = CastZapRay(LastPos, SegmentVec.Unit, SegmentVec.Magnitude, {Character, LightningModel}, false) | |
1231 | local RayVec = LastPos - RayPos | |
1232 | local LightningPart = BaseLightning:Clone() | |
1233 | LightningPart.BrickColor = BrickColor.new(Color) | |
1234 | LightningPart.Transparency = Transparency | |
1235 | LightningPart.Size = Vector3.new(SIZE, SIZE, RayVec.Magnitude) | |
1236 | LightningPart.CFrame = CFrame.new(LastPos, RayPos) * CFrame.new(0, 0, -(RayVec.Magnitude / 2)) | |
1237 | table.insert(Effects2, { | |
1238 | LightningPart, | |
1239 | "Disappear", | |
1240 | 0.025, | |
1241 | 1, | |
1242 | 1, | |
1243 | 1, | |
1244 | 2 | |
1245 | }) | |
1246 | local CylinderMesh = IT("CylinderMesh", LightningPart) | |
1247 | local OrigCF = LightningPart.CFrame | |
1248 | LightningPart.Size = Vector3.new(LightningPart.Size.X, LightningPart.Size.Z, LightningPart.Size.Y) | |
1249 | LightningPart.CFrame = OrigCF * CFrame.Angles(math.pi / 2, 0, 0) | |
1250 | LightningPart.Parent = LightningBolt | |
1251 | LastPos = NewPos | |
1252 | end | |
1253 | end | |
1254 | return { | |
1255 | RayHit = RayHit, | |
1256 | RayPos = RayPos, | |
1257 | RayNormal = RayNormal, | |
1258 | LightningModel = LightningModel | |
1259 | } | |
1260 | end | |
1261 | ||
1262 | function CreateWave(SIZE, WAIT, CFRAME, DOESROT, ROT, COLOR, GROW) | |
1263 | local wave = CreatePart(3, Effects, "Neon", 0, 0.5, BRICKC(COLOR), "Effect", VT(0, 0, 0)) | |
1264 | local mesh = CreateMesh("SpecialMesh", wave, "FileMesh", "20329976", "", SIZE, VT(0, 0, -SIZE.X / 8)) | |
1265 | wave.CFrame = CFRAME | |
1266 | coroutine.resume(coroutine.create(function(PART) | |
1267 | for i = 1, WAIT do | |
1268 | Swait() | |
1269 | mesh.Scale = mesh.Scale + GROW | |
1270 | mesh.Offset = VT(0, 0, -(mesh.Scale.X / 8)) | |
1271 | if DOESROT == true then | |
1272 | wave.CFrame = wave.CFrame * CFrame.fromEulerAnglesXYZ(0, ROT, 0) | |
1273 | end | |
1274 | wave.Transparency = wave.Transparency + 0.5 / WAIT | |
1275 | if wave.Transparency > 0.99 then | |
1276 | wave:remove() | |
1277 | end | |
1278 | end | |
1279 | end)) | |
1280 | end | |
1281 | ||
1282 | function CreateRing(SIZE, DOESROT, ROT, WAIT, CFRAME, COLOR, GROW) | |
1283 | local wave = CreatePart(3, Effects, "Neon", 0, 0.5, BRICKC(COLOR), "Effect", VT(0, 0, 0)) | |
1284 | local mesh = CreateMesh("SpecialMesh", wave, "FileMesh", "559831844", "", SIZE, VT(0, 0, 0)) | |
1285 | wave.CFrame = CFRAME | |
1286 | coroutine.resume(coroutine.create(function(PART) | |
1287 | for i = 1, WAIT do | |
1288 | Swait() | |
1289 | mesh.Scale = mesh.Scale + GROW | |
1290 | if DOESROT == true then | |
1291 | wave.CFrame = wave.CFrame * CFrame.fromEulerAnglesXYZ(0, ROT, 0) | |
1292 | end | |
1293 | wave.Transparency = wave.Transparency + 0.5 / WAIT | |
1294 | if wave.Transparency > 0.99 then | |
1295 | wave:remove() | |
1296 | end | |
1297 | end | |
1298 | end)) | |
1299 | end | |
1300 | ||
1301 | function AddChildrenToTable(FROM, PARENT, DIST, TABLE) | |
1302 | for _, c in pairs(PARENT:GetChildren()) do | |
1303 | if c.ClassName == "Model" then | |
1304 | if c ~= Character and c:FindFirstChildOfClass("Humanoid") and (c:FindFirstChild("Torso") or c:FindFirstChild("UpperTorso")) then | |
1305 | local HUMANOID = c:FindFirstChildOfClass("Humanoid") | |
1306 | local TORSO = c:FindFirstChild("Torso") or c:FindFirstChild("UpperTorso") | |
1307 | if DIST > (TORSO.Position - FROM).Magnitude then | |
1308 | table.insert(TABLE, c) | |
1309 | end | |
1310 | AddChildrenToTable(FROM, c, DIST, TABLE) | |
1311 | elseif c.ClassName == "Folder" then | |
1312 | AddChildrenToTable(FROM, c, DIST, TABLE) | |
1313 | end | |
1314 | end | |
1315 | end | |
1316 | end | |
1317 | ||
1318 | local ATTACKTAUNTS = { | |
1319 | "907329893", | |
1320 | "907329532", | |
1321 | "907333294", | |
1322 | "907332856" | |
1323 | } | |
1324 | local ULTTAUNTS = { | |
1325 | "907332997", | |
1326 | "907332670", | |
1327 | "907330103" | |
1328 | } | |
1329 | ||
1330 | function Lunar_Blast() | |
1331 | local HITBODIES = {} | |
1332 | local CENTER = CreatePart(3, Effects, "SmoothPlastic", 0, 1, "Relly red", "CenterPart", VT(0,0,0)) | |
1333 | 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) | |
1334 | CENTER.CFrame = CF(ECH) | |
1335 | local RAY = CreatePart(3, Effects, "Neon", 0, 1, "Relly red", "Laser01", VT(25,99999,25)) | |
1336 | RAY.Color = C3(0.05,0.05,0.15) | |
1337 | MakeForm(RAY,"Cyl") | |
1338 | RAY.CFrame = CF(ECH) | |
1339 | for i = 1, 75 do | |
1340 | Swait() | |
1341 | RAY.Transparency = RAY.Transparency - 1/75 | |
1342 | RAY.Size = RAY.Size - VT(25/75,0,25/75) | |
1343 | 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)) | |
1344 | end | |
1345 | killnearest(ECH,25,25) | |
1346 | MagicSphere(VT(0,0,0),55,CF(ECH),C3(0.05,0.05,0.15),VT(2,2,2)) | |
1347 | for i = 1, 25 do | |
1348 | 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)) | |
1349 | end | |
1350 | CreateSound("168586621", CENTER, 10, 0.8) | |
1351 | RAY:remove() | |
1352 | Debris:AddItem(CENTER,5) | |
1353 | end | |
1354 | ||
1355 | function Star_Cutter() | |
1356 | local HITFLOOR,HITPOS,NORMAL = Raycast(RootPart.Position, (CF(RootPart.Position, RootPart.Position + VT(0, -1, 0))).lookVector, 7 * Player_Size, Character) | |
1357 | if HITFLOOR ~= nil then | |
1358 | ATTACK = true | |
1359 | Rooted = true | |
1360 | local GYRO = IT("BodyGyro",RootPart) | |
1361 | GYRO.D = 100 | |
1362 | GYRO.P = 2000 | |
1363 | GYRO.MaxTorque = VT(0,4000000,0) | |
1364 | GYRO.cframe = CF(RootPart.Position,Mouse.Hit.p) | |
1365 | CreateSound("429459101", RightArm, 10, 0.8) | |
1366 | for i=0, 3.5, 0.1 / Animation_Speed do | |
1367 | Swait() | |
1368 | GYRO.cframe = CF(RootPart.Position,Mouse.Hit.p) | |
1369 | 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)) | |
1370 | 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) | |
1371 | 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) | |
1372 | 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) | |
1373 | 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) | |
1374 | 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) | |
1375 | 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) | |
1376 | end | |
1377 | GYRO:remove() | |
1378 | for i=0, 0.15, 0.1 / Animation_Speed do | |
1379 | Swait() | |
1380 | GYRO.cframe = CF(RootPart.Position,Mouse.Hit.p) | |
1381 | 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)) | |
1382 | 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) | |
1383 | 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) | |
1384 | 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) | |
1385 | 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) | |
1386 | 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) | |
1387 | 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) | |
1388 | end | |
1389 | local BOMBSPOTS = {} | |
1390 | for i = 1, 25 do | |
1391 | local SPOT = CreatePart(3, Effects, "Neon", 0, 0, "Relly blue", "Blade", VT(8,1,8)) | |
1392 | SPOT.Color = SKILLTEXTCOLOR | |
1393 | SPOT.CFrame = RootPart.CFrame*CF((MRANDOM(-15,15)/40)*i,-5,-i*5) | |
1394 | table.insert(BOMBSPOTS,SPOT) | |
1395 | MakeForm(SPOT,"Cyl") | |
1396 | end | |
1397 | for i=0, 0.2, 0.1 / Animation_Speed do | |
1398 | Swait() | |
1399 | 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) | |
1400 | 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) | |
1401 | 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) | |
1402 | 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) | |
1403 | 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) | |
1404 | 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) | |
1405 | end | |
1406 | ATTACK = false | |
1407 | Rooted = false | |
1408 | coroutine.resume(coroutine.create(function() | |
1409 | Swait(3) | |
1410 | for i = 1, #BOMBSPOTS do | |
1411 | if BOMBSPOTS[i] ~= nil then | |
1412 | local E = BOMBSPOTS[i] | |
1413 | coroutine.resume(coroutine.create(function() | |
1414 | local BLADE = CreatePart(3, Effects, "SmoothPlastic", 0, 1, "Relly blue", "Blade", VT(0,0,0)) | |
1415 | BLADE.Color = SKILLTEXTCOLOR | |
1416 | CreateMesh("SpecialMesh", BLADE, "FileMesh", "93108071", "", VT(0.6,1,0.4)*3, VT(0,0,0)) | |
1417 | CreateSound(HITWEAPONSOUNDS[MRANDOM(1,#HITWEAPONSOUNDS)], BLADE, 4, 0.6) | |
1418 | BLADE.CFrame = E.CFrame*CF(0,-3,0)*ANGLES(RAD(MRANDOM(-15,15)),RAD(90),RAD(MRANDOM(-15,15))) | |
1419 | for i = 1, 10 do | |
1420 | Swait() | |
1421 | 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)) | |
1422 | killnearest(BLADE.Position,6,80) | |
1423 | BLADE.CFrame = BLADE.CFrame*CF(0,0.3,0) | |
1424 | BLADE.Transparency = BLADE.Transparency - 0.1 | |
1425 | end | |
1426 | Swait(45) | |
1427 | for i = 1, 100 do | |
1428 | Swait() | |
1429 | BLADE.Transparency = BLADE.Transparency + 0.01 | |
1430 | E.Transparency = E.Transparency + 0.01 | |
1431 | end | |
1432 | BLADE:remove() | |
1433 | E:remove() | |
1434 | end)) | |
1435 | end | |
1436 | end | |
1437 | end)) | |
1438 | end | |
1439 | end | |
1440 | ||
1441 | function Supernova() | |
1442 | local HITFLOOR,HITPOS,NORMAL = Raycast(RootPart.Position, (CF(RootPart.Position, RootPart.Position + VT(0, -1, 0))).lookVector, 7 * Player_Size, Character) | |
1443 | if HITFLOOR ~= nil then | |
1444 | local HITBODIES = {} | |
1445 | ATTACK = true | |
1446 | Rooted = true | |
1447 | local ABSOLUTE = CreatePart(3, Effects, "Neon", 0, 1, "Relly red", "Star", VT(0,0,0)) | |
1448 | MakeForm(ABSOLUTE,"Ball") | |
1449 | CreateSound("429459101", ABSOLUTE, 10, 1) | |
1450 | for i=0, 4, 0.1 / Animation_Speed do | |
1451 | Swait() | |
1452 | ABSOLUTE.Size = ABSOLUTE.Size + VT(0.2,0.2,0.2) | |
1453 | ABSOLUTE.CFrame = RootPart.CFrame*CF(0,5+(ABSOLUTE.Size.Y/2),0) | |
1454 | ABSOLUTE.Transparency = ABSOLUTE.Transparency - 0.01 | |
1455 | local CHARGE = CreatePart(3, Effects, "Neon", 0, 0, "Really red", "Star", VT(1,1,1)) | |
1456 | MakeForm(CHARGE,"Ball") | |
1457 | CHARGE.Color = C3(1,1,1) | |
1458 | CHARGE.CFrame = CF(RootPart.Position) * CF(MRANDOM(-15,15),-6,MRANDOM(-15,15)) | |
1459 | FireArc(CHARGE,ABSOLUTE.Position,45,45,true) | |
1460 | 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) | |
1461 | 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) | |
1462 | 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) | |
1463 | 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) | |
1464 | 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) | |
1465 | 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) | |
1466 | end | |
1467 | CreateSound("907330103", Head, 10, 1.2) | |
1468 | for i = 1, 75 do | |
1469 | Swait() | |
1470 | 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) | |
1471 | 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) | |
1472 | 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) | |
1473 | 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) | |
1474 | 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) | |
1475 | 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) | |
1476 | end | |
1477 | coroutine.resume(coroutine.create(function() | |
1478 | for i = 1, 13 do | |
1479 | for e = 1, 8 do | |
1480 | Swait() | |
1481 | 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)) | |
1482 | CreateSwirl(ABSOLUTE.Size/2,15,CF(HITPOS),true,15,BRICKC"Slime green".Color,VT(i,0.3,i)*2) | |
1483 | end | |
1484 | for i = 1, 5 do | |
1485 | 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) | |
1486 | 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)) | |
1487 | end | |
1488 | CreateSwirl(ABSOLUTE.Size/2,25,CF(ABSOLUTE.Position),true,-25,BRICKC"Relly red".Color,VT(i,i*2,i)) | |
1489 | CreateSwirl(ABSOLUTE.Size/2,55,CF(ABSOLUTE.Position),true,25,C3(0.05,0.05,0.15),VT(i,i*2,i)) | |
1490 | CreateSound("168586621", ABSOLUTE, 4, 0.8) | |
1491 | CreateSound("201858144", ABSOLUTE, 10, 0.8) | |
1492 | killnearest(ABSOLUTE.Position,i*18,i) | |
1493 | ABSOLUTE.Size = ABSOLUTE.Size*0.9 | |
1494 | MagicSphere(ABSOLUTE.Size,25,CF(ABSOLUTE.Position),BRICKC"Relly red".Color,VT(i,i,i)/1.1) | |
1495 | MagicSphere(ABSOLUTE.Size,45,CF(ABSOLUTE.Position),C3(0.05,0.05,0.15),VT(i,i,i)) | |
1496 | end | |
1497 | ABSOLUTE.Transparency = 1 | |
1498 | Debris:AddItem(ABSOLUTE,10) | |
1499 | end)) | |
1500 | ATTACK = false | |
1501 | Rooted = false | |
1502 | end | |
1503 | end | |
1504 | ||
1505 | local Decal = IT("Decal") | |
1506 | ||
1507 | function Astral_Hop() | |
1508 | ATTACK = true | |
1509 | Rooted = false | |
1510 | local O1 = CreatePart(3, Effects, "Neon", 0, 1, "Really red", "Warphole", VT(0,0,0)) | |
1511 | O1.CFrame = RootPart.CFrame*CF(0,0,-3)*ANGLES(RAD(90),RAD(0),RAD(0)) | |
1512 | local decal = Decal:Clone() | |
1513 | decal.Parent = O1 | |
1514 | decal.Face = "Top" | |
1515 | decal.Texture = "http://www.roblox.com/asset/?id=349165228" | |
1516 | local decal2 = Decal:Clone() | |
1517 | decal2.Parent = O1 | |
1518 | decal2.Face = "Bottom" | |
1519 | decal2.Texture = "http://www.roblox.com/asset/?id=349165228" | |
1520 | local O2 = CreatePart(3, Effects, "Neon", 0, 1, "Really red", "Warphole", VT(0,0,0)) | |
1521 | local POS = VT(RootPart.Position.X,Mouse.Hit.p.Y+6,RootPart.Position.Z) | |
1522 | O2.CFrame = CF(Mouse.Hit.p+VT(0,6,0),POS)*ANGLES(RAD(90),RAD(0),RAD(0)) | |
1523 | local ROOT = CreatePart(3, Effects, "Neon", 0, 1, "Really red", "Warphole", VT(0,0,0)) | |
1524 | ROOT.CFrame = CF(O2.Position,RootPart.Position) | |
1525 | local decal = Decal:Clone() | |
1526 | decal.Parent = O2 | |
1527 | decal.Face = "Top" | |
1528 | decal.Texture = "http://www.roblox.com/asset/?id=349165228" | |
1529 | local decal2 = Decal:Clone() | |
1530 | decal2.Parent = O2 | |
1531 | decal2.Face = "Bottom" | |
1532 | decal2.Texture = "http://www.roblox.com/asset/?id=349165228" | |
1533 | CreateSound("84005018", O1, 10, 0.7) | |
1534 | CreateSound("84005018", O2, 10, 0.7) | |
1535 | for i = 1, 75 do | |
1536 | Swait() | |
1537 | O1.Size = O1.Size + VT(0.1,0,0.1) | |
1538 | O1.CFrame = RootPart.CFrame*CF(0,0,-3)*ANGLES(RAD(90),RAD(i),RAD(0)) | |
1539 | O2.Size = O2.Size + VT(0.1,0,0.1) | |
1540 | O2.CFrame = O2.CFrame*ANGLES(RAD(0),RAD(i),RAD(0)) | |
1541 | 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) | |
1542 | 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) | |
1543 | 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) | |
1544 | 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) | |
1545 | 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) | |
1546 | 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) | |
1547 | end | |
1548 | Rooted = true | |
1549 | UNANCHOR = false | |
1550 | RootPart.Anchored = true | |
1551 | VALUE1 = true | |
1552 | for i = 1, 15 do | |
1553 | Transparency(i/15) | |
1554 | Swait() | |
1555 | RootPart.CFrame = RootPart.CFrame*CF(0,0,-0.13) | |
1556 | 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) | |
1557 | 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) | |
1558 | 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) | |
1559 | 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) | |
1560 | 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) | |
1561 | 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) | |
1562 | end | |
1563 | RootPart.CFrame = ROOT.CFrame | |
1564 | ROOT:remove() | |
1565 | for i = 1, 15 do | |
1566 | Transparency(1-(i/15)) | |
1567 | Swait() | |
1568 | RootPart.CFrame = RootPart.CFrame*CF(0,0,-0.5) | |
1569 | 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) | |
1570 | 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) | |
1571 | 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) | |
1572 | 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) | |
1573 | 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) | |
1574 | 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) | |
1575 | end | |
1576 | VALUE1 = false | |
1577 | coroutine.resume(coroutine.create(function() | |
1578 | for i = 1, 75 do | |
1579 | Swait() | |
1580 | O1.Size = O1.Size - VT(0.1,0,0.1) | |
1581 | O1.CFrame = O1.CFrame*ANGLES(RAD(0),RAD(i),RAD(0)) | |
1582 | O2.Size = O2.Size - VT(0.1,0,0.1) | |
1583 | O2.CFrame = O2.CFrame*ANGLES(RAD(0),RAD(i),RAD(0)) | |
1584 | end | |
1585 | O1:remove() | |
1586 | O2:remove() | |
1587 | end)) | |
1588 | UNANCHOR = true | |
1589 | RootPart.Anchored = false | |
1590 | ATTACK = false | |
1591 | Rooted = false | |
1592 | end | |
1593 | ||
1594 | function WACKYEFFECT(Table) | |
1595 | local TYPE = (Table.EffectType or "Sphere") | |
1596 | local SIZE = (Table.Size or VT(1,1,1)) | |
1597 | local ENDSIZE = (Table.Size2 or VT(0,0,0)) | |
1598 | local TRANSPARENCY = (Table.Transparency or 0) | |
1599 | local ENDTRANSPARENCY = (Table.Transparency2 or 1) | |
1600 | local CFRAME = (Table.CFrame or Torso.CFrame) | |
1601 | local MOVEDIRECTION = (Table.MoveToPos or nil) | |
1602 | local ROTATION1 = (Table.RotationX or 0) | |
1603 | local ROTATION2 = (Table.RotationY or 0) | |
1604 | local ROTATION3 = (Table.RotationZ or 0) | |
1605 | local MATERIAL = (Table.Material or "Neon") | |
1606 | local COLOR = (Table.Color or C3(1,1,1)) | |
1607 | local TIME = (Table.Time or 45) | |
1608 | local SOUNDID = (Table.SoundID or nil) | |
1609 | local SOUNDPITCH = (Table.SoundPitch or nil) | |
1610 | local SOUNDVOLUME = (Table.SoundVolume or nil) | |
1611 | coroutine.resume(coroutine.create(function() | |
1612 | local PLAYSSOUND = false | |
1613 | local SOUND = nil | |
1614 | local EFFECT = CreatePart(3, Effects, MATERIAL, 0, TRANSPARENCY, BRICKC("Pearl"), "Effect", VT(1,1,1), true) | |
1615 | if SOUNDID ~= nil and SOUNDPITCH ~= nil and SOUNDVOLUME ~= nil then | |
1616 | PLAYSSOUND = true | |
1617 | SOUND = CreateSound(SOUNDID, EFFECT, SOUNDVOLUME, SOUNDPITCH, false) | |
1618 | end | |
1619 | EFFECT.Color = COLOR | |
1620 | local MSH = nil | |
1621 | if TYPE == "Sphere" then | |
1622 | MSH = CreateMesh("SpecialMesh", EFFECT, "Sphere", "", "", SIZE, VT(0,0,0)) | |
1623 | elseif TYPE == "Block" or TYPE == "Box" then | |
1624 | MSH = IT("BlockMesh",EFFECT) | |
1625 | MSH.Scale = SIZE | |
1626 | elseif TYPE == "Wave" then | |
1627 | MSH = CreateMesh("SpecialMesh", EFFECT, "FileMesh", "20329976", "", SIZE, VT(0,0,-SIZE.X/8)) | |
1628 | elseif TYPE == "Ring" then | |
1629 | MSH = CreateMesh("SpecialMesh", EFFECT, "FileMesh", "559831844", "", VT(SIZE.X,SIZE.X,0.1), VT(0,0,0)) | |
1630 | elseif TYPE == "Slash" then | |
1631 | MSH = CreateMesh("SpecialMesh", EFFECT, "FileMesh", "662586858", "", VT(SIZE.X/10,0,SIZE.X/10), VT(0,0,0)) | |
1632 | elseif TYPE == "Round Slash" then | |
1633 | MSH = CreateMesh("SpecialMesh", EFFECT, "FileMesh", "662585058", "", VT(SIZE.X/10,0,SIZE.X/10), VT(0,0,0)) | |
1634 | elseif TYPE == "Swirl" then | |
1635 | MSH = CreateMesh("SpecialMesh", EFFECT, "FileMesh", "1051557", "", SIZE, VT(0,0,0)) | |
1636 | elseif TYPE == "Skull" then | |
1637 | MSH = CreateMesh("SpecialMesh", EFFECT, "FileMesh", "4770583", "", SIZE, VT(0,0,0)) | |
1638 | elseif TYPE == "Crystal" then | |
1639 | MSH = CreateMesh("SpecialMesh", EFFECT, "FileMesh", "9756362", "", SIZE, VT(0,0,0)) | |
1640 | end | |
1641 | if MSH ~= nil then | |
1642 | local MOVESPEED = nil | |
1643 | if MOVEDIRECTION ~= nil then | |
1644 | MOVESPEED = (CFRAME.p - MOVEDIRECTION).Magnitude/TIME | |
1645 | end | |
1646 | local GROWTH = SIZE - ENDSIZE | |
1647 | local TRANS = TRANSPARENCY - ENDTRANSPARENCY | |
1648 | if TYPE == "Block" then | |
1649 | EFFECT.CFrame = CFRAME*ANGLES(RAD(MRANDOM(0,360)),RAD(MRANDOM(0,360)),RAD(MRANDOM(0,360))) | |
1650 | else | |
1651 | EFFECT.CFrame = CFRAME | |
1652 | end | |
1653 | for LOOP = 1, TIME+1 do | |
1654 | Swait() | |
1655 | MSH.Scale = MSH.Scale - GROWTH/TIME | |
1656 | if TYPE == "Wave" then | |
1657 | MSH.Offset = VT(0,0,-MSH.Scale.X/8) | |
1658 | end | |
1659 | EFFECT.Transparency = EFFECT.Transparency - TRANS/TIME | |
1660 | if TYPE == "Block" then | |
1661 | EFFECT.CFrame = CFRAME*ANGLES(RAD(MRANDOM(0,360)),RAD(MRANDOM(0,360)),RAD(MRANDOM(0,360))) | |
1662 | else | |
1663 | EFFECT.CFrame = EFFECT.CFrame*ANGLES(RAD(ROTATION1),RAD(ROTATION2),RAD(ROTATION3)) | |
1664 | end | |
1665 | if MOVEDIRECTION ~= nil then | |
1666 | local ORI = EFFECT.Orientation | |
1667 | EFFECT.CFrame = CF(EFFECT.Position,MOVEDIRECTION)*CF(0,0,-MOVESPEED) | |
1668 | EFFECT.Orientation = ORI | |
1669 | end | |
1670 | end | |
1671 | if PLAYSSOUND == false then | |
1672 | EFFECT:remove() | |
1673 | else | |
1674 | repeat wait(1) until SOUND.Playing == false | |
1675 | EFFECT:remove() | |
1676 | end | |
1677 | else | |
1678 | if PLAYSSOUND == false then | |
1679 | EFFECT:remove() | |
1680 | else | |
1681 | repeat Swait() until SOUND.Playing == false | |
1682 | EFFECT:remove() | |
1683 | end | |
1684 | end | |
1685 | end)) | |
1686 | end | |
1687 | ||
1688 | function PhForm() | |
1689 | ATTACK = true | |
1690 | Rooted = true | |
1691 | local HITFLOOR,HITPOS = Raycast(RootPart.Position, (CF(RootPart.Position, RootPart.Position + VT(0, -1, 0))).lookVector, 25*SIZE, Character) | |
1692 | if MODE == "Main" then | |
1693 | sick.SoundId = "rbxassetid://1418800825" | |
1694 | sick.Volume = 6 | |
1695 | sick.Pitch = 1 | |
1696 | sick.TimePosition = 1 | |
1697 | for _, c in pairs(Character:GetChildren()) do | |
1698 | if c.ClassName == "Part" then | |
1699 | c.Material = "Neon" | |
1700 | if c:FindFirstChildOfClass("ParticleEmitter") then | |
1701 | c:FindFirstChildOfClass("ParticleEmitter"):remove() | |
1702 | end | |
1703 | if c == Head then | |
1704 | local M = CreateMesh("SpecialMesh", c, "FileMesh", "21057410", "1393532942", VT(1, 1, 1) * 1.1, VT(0, 0, 0)) | |
1705 | M.Name = "Dominus" | |
1706 | if c:FindFirstChild("face") then | |
1707 | c.face:remove() | |
1708 | end | |
1709 | end | |
1710 | end | |
1711 | end | |
1712 | BodyColor = C3(1, 1, 1) | |
1713 | LegColor = C3(0.7372549019607844, 0.6078431372549019, 0.36470588235294116) | |
1714 | ArmColor = C3(0.9372549019607843, 0.7215686274509804, 0.2196078431372549) | |
1715 | -- Animation -- | |
1716 | coroutine.resume(coroutine.create(function() | |
1717 | end)) | |
1718 | for i=0, 1.5, 0.1 / Animation_Speed do | |
1719 | Swait() | |
1720 | 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) | |
1721 | Neck.C0 = Clerp(Neck.C0, NECKC0 * CF(0, 0, 0 + ((1.25*SIZE) - 1)) * ANGLES(RAD(35), RAD(0), RAD(0)), 1 / Animation_Speed) | |
1722 | RightShoulder.C0 = Clerp(RightShoulder.C0, CF(1.5*SIZE, 0.5*SIZE, 0) * ANGLES(RAD(80), RAD(75), RAD(0)) * RIGHTSHOULDERC0, 1 / Animation_Speed) | |
1723 | LeftShoulder.C0 = Clerp(LeftShoulder.C0, CF(-1.5*SIZE, 0.5*SIZE, 0) * ANGLES(RAD(0), RAD(0), RAD(-25)) * LEFTSHOULDERC0, 1 / Animation_Speed) | |
1724 | 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) | |
1725 | 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) | |
1726 | end | |
1727 | MODE = "Phaedra" | |
1728 | SKILLTEXTCOLOR = C3(0.7372549019607844, 0.6078431372549019, 0.36470588235294116) | |
1729 | SKILLTEXTCOLOR2 = C3(1,1,1) | |
1730 | firesound.Volume = 6 | |
1731 | Weapon2.Parent = Character | |
1732 | for i=0, 1.5, 0.1 / Animation_Speed do | |
1733 | Swait() | |
1734 | 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) | |
1735 | ||
1736 | Neck.C0 = Clerp(Neck.C0, NECKC0 * CF(0, 0, 0 + ((1.25*SIZE) - 1)) * ANGLES(RAD(35), RAD(0), RAD(0)), 1 / Animation_Speed) | |
1737 | RightShoulder.C0 = Clerp(RightShoulder.C0, CF(1.5*SIZE, 0.5*SIZE, 0) * ANGLES(RAD(0), RAD(0), RAD(90)) * RIGHTSHOULDERC0, 1 / Animation_Speed) | |
1738 | LeftShoulder.C0 = Clerp(LeftShoulder.C0, CF(-1.5*SIZE, 0.5*SIZE, 0) * ANGLES(RAD(0), RAD(0), RAD(-25)) * LEFTSHOULDERC0, 1 / Animation_Speed) | |
1739 | 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) | |
1740 | 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) | |
1741 | end | |
1742 | Speed = 20 | |
1743 | tecks2.Text = "Dominus Phaedra" | |
1744 | elseif MODE == "Phaedra" then | |
1745 | firesound.Volume = 0 | |
1746 | Weapon2.Parent = nil | |
1747 | CreateSound(147722227, Torso, 4, 1.3, false) | |
1748 | sick.SoundId = "rbxassetid://195900687" | |
1749 | sick.Volume = 4 | |
1750 | sick.Pitch = 1 | |
1751 | sick.TimePosition = 20.7 | |
1752 | for _, c in pairs(Character:GetChildren()) do | |
1753 | if c.ClassName == "Part" then | |
1754 | c.Material = "Neon" | |
1755 | if c:FindFirstChildOfClass("ParticleEmitter") then | |
1756 | c:FindFirstChildOfClass("ParticleEmitter"):remove() | |
1757 | end | |
1758 | if c == Torso then | |
1759 | c.Color = C3(0,0,0) | |
1760 | elseif c == RightArm then | |
1761 | c.Color = C3(0.05,0.05,0.15) | |
1762 | elseif c == LeftArm then | |
1763 | c.Color = C3(0.05,0.05,0.15) | |
1764 | elseif c == RightLeg then | |
1765 | c.Color = C3(0,0,0.05) | |
1766 | elseif c == LeftLeg then | |
1767 | c.Color = C3(0,0,0.05) | |
1768 | elseif c == Head then | |
1769 | local M = CreateMesh("SpecialMesh", c, "FileMesh", "162384581", "162384608", VT(1,1,1)*1.1, VT(0,0,0)) | |
1770 | M.Name = "Dominus" | |
1771 | if c:FindFirstChild("face") then | |
1772 | c.face:remove() | |
1773 | ||
1774 | end | |
1775 | end | |
1776 | elseif c.ClassName == "Shirt" or c.ClassName == "Pants" or c.ClassName == "CharacterMesh" or c.ClassName == "Accessory" or c.Name == "Body Colors" then | |
1777 | c:remove() | |
1778 | end | |
1779 | end | |
1780 | 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}) | |
1781 | 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}) | |
1782 | Swait(15) | |
1783 | Speed = 16 | |
1784 | MODE = "Main" | |
1785 | BodyColor = C3(0,0,0) | |
1786 | LegColor = C3(0,0,0.05) | |
1787 | ArmColor = C3(0.05,0.05,0.15) | |
1788 | end | |
1789 | ATTACK = false | |
1790 | Rooted = false | |
1791 | end | |
1792 | ||
1793 | function UpForm() | |
1794 | ATTACK = true | |
1795 | Rooted = true | |
1796 | local HITFLOOR,HITPOS = Raycast(RootPart.Position, (CF(RootPart.Position, RootPart.Position + VT(0, -1, 0))).lookVector, 25*SIZE, Character) | |
1797 | if MODE == "Phaedra" then | |
1798 | ||
1799 | sick.SoundId = "rbxassetid://700037500" | |
1800 | sick.Volume = 10 | |
1801 | sick.Pitch = 1 | |
1802 | sick.TimePosition = 1 | |
1803 | for _, c in pairs(Character:GetChildren()) do | |
1804 | if c.ClassName == "Part" then | |
1805 | c.Material = "Neon" | |
1806 | if c:FindFirstChildOfClass("ParticleEmitter") then | |
1807 | c:FindFirstChildOfClass("ParticleEmitter"):remove() | |
1808 | end | |
1809 | if c == Head then | |
1810 | local M = CreateMesh("SpecialMesh", c, "FileMesh", "21057410", "1393532942", VT(1, 1, 1) * 1.1, VT(0, 0, 0)) | |
1811 | M.Name = "Dominus" | |
1812 | if c:FindFirstChild("face") then | |
1813 | c.face:remove() | |
1814 | end | |
1815 | end | |
1816 | end | |
1817 | end | |
1818 | BodyColor = C3(1, 1, 1) | |
1819 | LegColor = C3(0.7372549019607844, 0.6078431372549019, 0.36470588235294116) | |
1820 | ArmColor = C3(0.9372549019607843, 0.7215686274509804, 0.2196078431372549) | |
1821 | -- Animation -- | |
1822 | coroutine.resume(coroutine.create(function() | |
1823 | end)) | |
1824 | for i=0, 1.5, 0.1 / Animation_Speed do | |
1825 | Swait() | |
1826 | 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) | |
1827 | Neck.C0 = Clerp(Neck.C0, NECKC0 * CF(0, 0, 0 + ((1.25*SIZE) - 1)) * ANGLES(RAD(35), RAD(0), RAD(0)), 1 / Animation_Speed) | |
1828 | RightShoulder.C0 = Clerp(RightShoulder.C0, CF(1.5*SIZE, 0.5*SIZE, 0) * ANGLES(RAD(80), RAD(75), RAD(0)) * RIGHTSHOULDERC0, 1 / Animation_Speed) | |
1829 | LeftShoulder.C0 = Clerp(LeftShoulder.C0, CF(-1.5*SIZE, 0.5*SIZE, 0) * ANGLES(RAD(0), RAD(0), RAD(-25)) * LEFTSHOULDERC0, 1 / Animation_Speed) | |
1830 | 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) | |
1831 | 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) | |
1832 | end | |
1833 | MODE = "Ultra Phaedra" | |
1834 | Humanoid.HipHeight = 4 | |
1835 | SKILLTEXTCOLOR = C3(0.8, 0.6, 0.4) | |
1836 | SKILLTEXTCOLOR2 = C3(1,1,1) | |
1837 | firesound.Volume = 10 | |
1838 | firesound.Parent = Character | |
1839 | Weapon2.Parent = Character | |
1840 | for i=0, 1.5, 0.1 / Animation_Speed do | |
1841 | Swait() | |
1842 | 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) | |
1843 | ||
1844 | Neck.C0 = Clerp(Neck.C0, NECKC0 * CF(0, 0, 0 + ((1.25*SIZE) - 1)) * ANGLES(RAD(35), RAD(0), RAD(0)), 1 / Animation_Speed) | |
1845 | RightShoulder.C0 = Clerp(RightShoulder.C0, CF(1.5*SIZE, 0.5*SIZE, 0) * ANGLES(RAD(0), RAD(0), RAD(90)) * RIGHTSHOULDERC0, 1 / Animation_Speed) | |
1846 | LeftShoulder.C0 = Clerp(LeftShoulder.C0, CF(-1.5*SIZE, 0.5*SIZE, 0) * ANGLES(RAD(0), RAD(0), RAD(-25)) * LEFTSHOULDERC0, 1 / Animation_Speed) | |
1847 | 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) | |
1848 | 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) | |
1849 | end | |
1850 | Speed = 20 | |
1851 | tecks2.Text = "Ultima Dominus Phaedra" | |
1852 | elseif MODE == "Ultra Phaedra" then | |
1853 | firesound.Volume = 0 | |
1854 | firesound.Parent = RootPart | |
1855 | Humanoid.HipHeight = 2 | |
1856 | Weapon2.Parent = nil | |
1857 | CreateSound(147722227, Torso, 4, 1.3, false) | |
1858 | sick.SoundId = "rbxassetid://195900687" | |
1859 | sick.Volume = 4 | |
1860 | sick.Pitch = 1 | |
1861 | sick.TimePosition = 20.7 | |
1862 | for _, c in pairs(Character:GetChildren()) do | |
1863 | if c.ClassName == "Part" then | |
1864 | c.Material = "Neon" | |
1865 | if c:FindFirstChildOfClass("ParticleEmitter") then | |
1866 | c:FindFirstChildOfClass("ParticleEmitter"):remove() | |
1867 | end | |
1868 | if c == Torso then | |
1869 | c.Color = C3(0,0,0) | |
1870 | elseif c == RightArm then | |
1871 | c.Color = C3(0.05,0.05,0.15) | |
1872 | elseif c == LeftArm then | |
1873 | c.Color = C3(0.05,0.05,0.15) | |
1874 | elseif c == RightLeg then | |
1875 | c.Color = C3(0,0,0.05) | |
1876 | elseif c == LeftLeg then | |
1877 | c.Color = C3(0,0,0.05) | |
1878 | elseif c == Head then | |
1879 | local M = CreateMesh("SpecialMesh", c, "FileMesh", "162384581", "162384608", VT(1,1,1)*1.1, VT(0,0,0)) | |
1880 | M.Name = "Dominus" | |
1881 | if c:FindFirstChild("face") then | |
1882 | c.face:remove() | |
1883 | ||
1884 | end | |
1885 | end | |
1886 | elseif c.ClassName == "Shirt" or c.ClassName == "Pants" or c.ClassName == "CharacterMesh" or c.ClassName == "Accessory" or c.Name == "Body Colors" then | |
1887 | c:remove() | |
1888 | end | |
1889 | end | |
1890 | 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}) | |
1891 | 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}) | |
1892 | Swait(15) | |
1893 | Speed = 16 | |
1894 | MODE = "Main" | |
1895 | BodyColor = C3(0,0,0) | |
1896 | LegColor = C3(0,0,0.05) | |
1897 | ArmColor = C3(0.05,0.05,0.15) | |
1898 | end | |
1899 | ATTACK = false | |
1900 | Rooted = false | |
1901 | end | |
1902 | ||
1903 | function TeForm() | |
1904 | ATTACK = true | |
1905 | Rooted = true | |
1906 | local HITFLOOR,HITPOS = Raycast(RootPart.Position, (CF(RootPart.Position, RootPart.Position + VT(0, -1, 0))).lookVector, 25*SIZE, Character) | |
1907 | if MODE == "Main" then | |
1908 | sick.SoundId = "rbxassetid://926658175" | |
1909 | sick.Volume = 3 | |
1910 | sick.Pitch = 1 | |
1911 | sick.TimePosition = 1 | |
1912 | for _, c in pairs(Character:GetChildren()) do | |
1913 | if c.ClassName == "Part" then | |
1914 | c.Material = "Neon" | |
1915 | if c:FindFirstChildOfClass("ParticleEmitter") then | |
1916 | c:FindFirstChildOfClass("ParticleEmitter"):remove() | |
1917 | end | |
1918 | if c == Head then | |
1919 | local M = CreateMesh("SpecialMesh", c, "FileMesh", "21057410", "142151506", VT(1, 1, 1) * 1.1, VT(0, 0, 0)) | |
1920 | M.Name = "Dominus" | |
1921 | if c:FindFirstChild("face") then | |
1922 | c.face:remove() | |
1923 | end | |
1924 | end | |
1925 | end | |
1926 | end | |
1927 | BodyColor = C3(0,0,0) | |
1928 | LegColor = C3(0,0,0) | |
1929 | ArmColor = C3(0.05,0.05,0.05) | |
1930 | SKILLTEXTCOLOR = C3(0.05,0.05,0.05) | |
1931 | SKILLTEXTCOLOR2 = C3(0,0,0) | |
1932 | -- Animation -- | |
1933 | coroutine.resume(coroutine.create(function() | |
1934 | end)) | |
1935 | CreateSound(363808674, Torso, 6, 1, false) | |
1936 | for i=0, 0.6, 0.1 / Animation_Speed do | |
1937 | Swait() | |
1938 | 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) | |
1939 | Neck.C0 = Clerp(Neck.C0, NECKC0 * CF(0, 0, 0 + ((1.25*SIZE) - 1)) * ANGLES(RAD(35), RAD(0), RAD(0)), 1 / Animation_Speed) | |
1940 | RightShoulder.C0 = Clerp(RightShoulder.C0, CF(1.25, 0.5, -0.5) * ANGLES(RAD(100), RAD(0), RAD(-50)) * RIGHTSHOULDERC0, 1 / Animation_Speed) | |
1941 | LeftShoulder.C0 = Clerp(LeftShoulder.C0, CF(-1.25, 0.35, -0.35) * ANGLES(RAD(70), RAD(0), RAD(60)) * LEFTSHOULDERC0, 1 / Animation_Speed) | |
1942 | 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) | |
1943 | 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) | |
1944 | end | |
1945 | for i=0, 0.6, 0.1 / Animation_Speed do | |
1946 | Swait() | |
1947 | 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) | |
1948 | ||
1949 | Neck.C0 = Clerp(Neck.C0, NECKC0 * CF(0, 0, 0 + ((1.25*SIZE) - 1)) * ANGLES(RAD(35), RAD(0), RAD(0)), 1 / Animation_Speed) | |
1950 | RightShoulder.C0 = Clerp(RightShoulder.C0, CF(1.25, 0.5, -0.5) * ANGLES(RAD(100), RAD(0), RAD(-90)) * RIGHTSHOULDERC0, 1 / Animation_Speed) | |
1951 | LeftShoulder.C0 = Clerp(LeftShoulder.C0, CF(-1.25, 0.35, -0.35) * ANGLES(RAD(70), RAD(0), RAD(90)) * LEFTSHOULDERC0, 1 / Animation_Speed) | |
1952 | 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) | |
1953 | 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) | |
1954 | end | |
1955 | MODE = "Tenebris" | |
1956 | tecks2.Text = "Dominus Tenebris" | |
1957 | SKILLTEXTCOLOR = C3(0.05,0,0) | |
1958 | SKILLTEXTCOLOR2 = C3(0,0,0) | |
1959 | Speed = 20 | |
1960 | elseif MODE == "Tenebris" then | |
1961 | CreateSound(147722227, Torso, 4, 1.3, false) | |
1962 | sick.SoundId = "rbxassetid://195900687" | |
1963 | sick.Volume = 4 | |
1964 | sick.Pitch = 1 | |
1965 | sick.TimePosition = 20.7 | |
1966 | for _, c in pairs(Character:GetChildren()) do | |
1967 | if c.ClassName == "Part" then | |
1968 | c.Material = "Neon" | |
1969 | if c:FindFirstChildOfClass("ParticleEmitter") then | |
1970 | c:FindFirstChildOfClass("ParticleEmitter"):remove() | |
1971 | end | |
1972 | if c == Torso then | |
1973 | c.Color = C3(0,0,0) | |
1974 | elseif c == RightArm then | |
1975 | c.Color = C3(0.05,0.05,0.15) | |
1976 | elseif c == LeftArm then | |
1977 | c.Color = C3(0.05,0.05,0.15) | |
1978 | elseif c == RightLeg then | |
1979 | c.Color = C3(0,0,0.05) | |
1980 | elseif c == LeftLeg then | |
1981 | c.Color = C3(0,0,0.05) | |
1982 | elseif c == Head then | |
1983 | local M = CreateMesh("SpecialMesh", c, "FileMesh", "162384581", "162384608", VT(1,1,1)*1.1, VT(0,0,0)) | |
1984 | M.Name = "Dominus" | |
1985 | if c:FindFirstChild("face") then | |
1986 | c.face:remove() | |
1987 | ||
1988 | end | |
1989 | end | |
1990 | elseif c.ClassName == "Shirt" or c.ClassName == "Pants" or c.ClassName == "CharacterMesh" or c.ClassName == "Accessory" or c.Name == "Body Colors" then | |
1991 | c:remove() | |
1992 | end | |
1993 | end | |
1994 | 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}) | |
1995 | 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}) | |
1996 | Swait(15) | |
1997 | Speed = 16 | |
1998 | MODE = "Main" | |
1999 | BodyColor = C3(0,0,0) | |
2000 | LegColor = C3(0,0,0.05) | |
2001 | ArmColor = C3(0.05,0.05,0.15) | |
2002 | end | |
2003 | ATTACK = false | |
2004 | Rooted = false | |
2005 | end | |
2006 | ||
2007 | function TemplateTrans() | |
2008 | ATTACK = true | |
2009 | Rooted = true | |
2010 | local HITFLOOR,HITPOS = Raycast(RootPart.Position, (CF(RootPart.Position, RootPart.Position + VT(0, -1, 0))).lookVector, 25*SIZE, Character) | |
2011 | if MODE == "Main" then | |
2012 | sick.SoundId = "rbxassetid://926658175" | |
2013 | sick.Volume = 3 | |
2014 | sick.Pitch = 1 | |
2015 | sick.TimePosition = 1 | |
2016 | for _, c in pairs(Character:GetChildren()) do | |
2017 | if c.ClassName == "Part" then | |
2018 | c.Material = "Neon" | |
2019 | if c:FindFirstChildOfClass("ParticleEmitter") then | |
2020 | c:FindFirstChildOfClass("ParticleEmitter"):remove() | |
2021 | end | |
2022 | if c == Head then | |
2023 | local M = CreateMesh("SpecialMesh", c, "FileMesh", "21057410", "142151506", VT(1, 1, 1) * 1.1, VT(0, 0, 0)) | |
2024 | M.Name = "Dominus" | |
2025 | if c:FindFirstChild("face") then | |
2026 | c.face:remove() | |
2027 | end | |
2028 | end | |
2029 | end | |
2030 | end | |
2031 | BodyColor = C3(0,0,0) | |
2032 | LegColor = C3(0,0,0) | |
2033 | ArmColor = C3(0.05,0.05,0.05) | |
2034 | SKILLTEXTCOLOR = C3(0.05,0.05,0.05) | |
2035 | SKILLTEXTCOLOR2 = C3(0,0,0) | |
2036 | -- Animation -- | |
2037 | coroutine.resume(coroutine.create(function() | |
2038 | end)) | |
2039 | MODE = "Form" | |
2040 | tecks2.Text = "Dominus Form" | |
2041 | SKILLTEXTCOLOR = C3(0.05,0,0) | |
2042 | SKILLTEXTCOLOR2 = C3(0,0,0) | |
2043 | Speed = 20 | |
2044 | elseif MODE == "Form" then | |
2045 | CreateSound(147722227, Torso, 4, 1.3, false) | |
2046 | sick.SoundId = "rbxassetid://195900687" | |
2047 | sick.Volume = 4 | |
2048 | sick.Pitch = 1 | |
2049 | sick.TimePosition = 20.7 | |
2050 | for _, c in pairs(Character:GetChildren()) do | |
2051 | if c.ClassName == "Part" then | |
2052 | c.Material = "Neon" | |
2053 | if c:FindFirstChildOfClass("ParticleEmitter") then | |
2054 | c:FindFirstChildOfClass("ParticleEmitter"):remove() | |
2055 | end | |
2056 | if c == Torso then | |
2057 | c.Color = C3(0,0,0) | |
2058 | elseif c == RightArm then | |
2059 | c.Color = C3(0.05,0.05,0.15) | |
2060 | elseif c == LeftArm then | |
2061 | c.Color = C3(0.05,0.05,0.15) | |
2062 | elseif c == RightLeg then | |
2063 | c.Color = C3(0,0,0.05) | |
2064 | elseif c == LeftLeg then | |
2065 | c.Color = C3(0,0,0.05) | |
2066 | elseif c == Head then | |
2067 | local M = CreateMesh("SpecialMesh", c, "FileMesh", "162384581", "162384608", VT(1,1,1)*1.1, VT(0,0,0)) | |
2068 | M.Name = "Dominus" | |
2069 | if c:FindFirstChild("face") then | |
2070 | c.face:remove() | |
2071 | ||
2072 | end | |
2073 | end | |
2074 | elseif c.ClassName == "Shirt" or c.ClassName == "Pants" or c.ClassName == "CharacterMesh" or c.ClassName == "Accessory" or c.Name == "Body Colors" then | |
2075 | c:remove() | |
2076 | end | |
2077 | end | |
2078 | 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}) | |
2079 | 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}) | |
2080 | Swait(15) | |
2081 | Speed = 16 | |
2082 | MODE = "Main" | |
2083 | BodyColor = C3(0,0,0) | |
2084 | LegColor = C3(0,0,0.05) | |
2085 | ArmColor = C3(0.05,0.05,0.15) | |
2086 | end | |
2087 | ATTACK = false | |
2088 | Rooted = false | |
2089 | end | |
2090 | ||
2091 | function VeForm() | |
2092 | ATTACK = true | |
2093 | Rooted = true | |
2094 | local HITFLOOR,HITPOS = Raycast(RootPart.Position, (CF(RootPart.Position, RootPart.Position + VT(0, -1, 0))).lookVector, 25*SIZE, Character) | |
2095 | if MODE == "Tenebris" then | |
2096 | sick.SoundId = "rbxassetid://968448494" | |
2097 | sick.Volume = 4 | |
2098 | sick.Pitch = 1.15 | |
2099 | sick.TimePosition = 1 | |
2100 | SKILLTEXTCOLOR = C3(0.05,0.05,0.05) | |
2101 | SKILLTEXTCOLOR2 = C3(0,0,0) | |
2102 | -- Animation -- | |
2103 | coroutine.resume(coroutine.create(function() | |
2104 | end)) | |
2105 | for i=0, 0.6, 0.1 / Animation_Speed do | |
2106 | Swait() | |
2107 | 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) | |
2108 | Neck.C0 = Clerp(Neck.C0, NECKC0 * CF(0, 0, 0 + ((1.25*SIZE) - 1)) * ANGLES(RAD(35), RAD(0), RAD(0)), 1 / Animation_Speed) | |
2109 | RightShoulder.C0 = Clerp(RightShoulder.C0, CF(1.25, 0.5, -0.5) * ANGLES(RAD(100), RAD(0), RAD(-50)) * RIGHTSHOULDERC0, 1 / Animation_Speed) | |
2110 | LeftShoulder.C0 = Clerp(LeftShoulder.C0, CF(-1.25, 0.35, -0.35) * ANGLES(RAD(70), RAD(0), RAD(60)) * LEFTSHOULDERC0, 1 / Animation_Speed) | |
2111 | 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) | |
2112 | 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) | |
2113 | end | |
2114 | for _, c in pairs(Character:GetChildren()) do | |
2115 | if c.ClassName == "Part" then | |
2116 | c.Material = "Neon" | |
2117 | if c:FindFirstChildOfClass("ParticleEmitter") then | |
2118 | c:FindFirstChildOfClass("ParticleEmitter"):remove() | |
2119 | end | |
2120 | if c == Head then | |
2121 | local M = CreateMesh("SpecialMesh", c, "FileMesh", "1578505955", "1578441237", VT(1, 1, 1) * 1.1, VT(0, 0, 0)) | |
2122 | M.Name = "Dominus" | |
2123 | if c:FindFirstChild("face") then | |
2124 | c.face:remove() | |
2125 | end | |
2126 | end | |
2127 | end | |
2128 | end | |
2129 | BodyColor = C3(1,1,1) | |
2130 | LegColor = C3(0.5,0.5,0) | |
2131 | ArmColor = C3(0.75,0.75,0) | |
2132 | for i=0, 0.6, 0.1 / Animation_Speed do | |
2133 | Swait() | |
2134 | 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) | |
2135 | ||
2136 | Neck.C0 = Clerp(Neck.C0, NECKC0 * CF(0, 0, 0 + ((1.25*SIZE) - 1)) * ANGLES(RAD(35), RAD(0), RAD(0)), 1 / Animation_Speed) | |
2137 | RightShoulder.C0 = Clerp(RightShoulder.C0, CF(1.25, 0.5, -0.5) * ANGLES(RAD(100), RAD(0), RAD(-90)) * RIGHTSHOULDERC0, 1 / Animation_Speed) | |
2138 | LeftShoulder.C0 = Clerp(LeftShoulder.C0, CF(-1.25, 0.35, -0.35) * ANGLES(RAD(70), RAD(0), RAD(90)) * LEFTSHOULDERC0, 1 / Animation_Speed) | |
2139 | 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) | |
2140 | 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) | |
2141 | end | |
2142 | MODE = "Venari" | |
2143 | tecks2.Text = "Dominus Venari" | |
2144 | SKILLTEXTCOLOR = C3(5,5,0) | |
2145 | SKILLTEXTCOLOR2 = C3(0,0,0) | |
2146 | Speed = 20 | |
2147 | elseif MODE == "Venari" then | |
2148 | CreateSound(147722227, Torso, 4, 1.3, false) | |
2149 | sick.SoundId = "rbxassetid://195900687" | |
2150 | sick.Volume = 4 | |
2151 | sick.Pitch = 1 | |
2152 | sick.TimePosition = 20.7 | |
2153 | for _, c in pairs(Character:GetChildren()) do | |
2154 | if c.ClassName == "Part" then | |
2155 | c.Material = "Neon" | |
2156 | if c:FindFirstChildOfClass("ParticleEmitter") then | |
2157 | c:FindFirstChildOfClass("ParticleEmitter"):remove() | |
2158 | end | |
2159 | if c == Torso then | |
2160 | c.Color = C3(0,0,0) | |
2161 | elseif c == RightArm then | |
2162 | c.Color = C3(0.05,0.05,0.15) | |
2163 | elseif c == LeftArm then | |
2164 | c.Color = C3(0.05,0.05,0.15) | |
2165 | elseif c == RightLeg then | |
2166 | c.Color = C3(0,0,0.05) | |
2167 | elseif c == LeftLeg then | |
2168 | c.Color = C3(0,0,0.05) | |
2169 | elseif c == Head then | |
2170 | local M = CreateMesh("SpecialMesh", c, "FileMesh", "162384581", "162384608", VT(1,1,1)*1.1, VT(0,0,0)) | |
2171 | M.Name = "Dominus" | |
2172 | if c:FindFirstChild("face") then | |
2173 | c.face:remove() | |
2174 | ||
2175 | end | |
2176 | end | |
2177 | elseif c.ClassName == "Shirt" or c.ClassName == "Pants" or c.ClassName == "CharacterMesh" or c.ClassName == "Accessory" or c.Name == "Body Colors" then | |
2178 | c:remove() | |
2179 | end | |
2180 | end | |
2181 | WACKYEFFECT({Time = 50, EffectType = "Wave", Size = VT(500,0.11,500)*SIZE, Size2 = VT(0,0.11,0), Transparency = 1, Transparency2 = 0, CFrame = CF(HITPOS), MoveToPos = nil, RotationX = 0, RotationY = 15, RotationZ = 0, Material = "Neon", Color = C3(0/255, 0/255, 255/255), SoundID = nil, SoundPitch = 0.5, SoundVolume = 6}) | |
2182 | WACKYEFFECT({Time = 37.5, EffectType = "Sphere", Size = VT(0.5,0.5,0.5), Size2 = VT(75,75,75), Transparency = 0, Transparency2 = 0.5, CFrame = CF(HITPOS), MoveToPos = nil, RotationX = 0, RotationY = 0, RotationZ = 0, Material = "Neon", Color = C3(0/255, 0/255, 183/255), SoundID = nil, SoundPitch = 0.5, SoundVolume = 6}) | |
2183 | Swait(15) | |
2184 | Speed = 16 | |
2185 | MODE = "Main" | |
2186 | BodyColor = C3(0,0,0) | |
2187 | LegColor = C3(0,0,0.05) | |
2188 | ArmColor = C3(0.05,0.05,0.15) | |
2189 | end | |
2190 | ATTACK = false | |
2191 | Rooted = false | |
2192 | end | |
2193 | ||
2194 | function InForm() | |
2195 | ATTACK = true | |
2196 | Rooted = true | |
2197 | local HITFLOOR,HITPOS = Raycast(RootPart.Position, (CF(RootPart.Position, RootPart.Position + VT(0, -1, 0))).lookVector, 25*SIZE, Character) | |
2198 | if MODE == "Main" then | |
2199 | sick.SoundId = "rbxassetid://415891745" | |
2200 | sick.Volume = 4 | |
2201 | sick.Pitch = 1 | |
2202 | sick.TimePosition = 1 | |
2203 | SKILLTEXTCOLOR = C3(0.05,0.05,0.05) | |
2204 | SKILLTEXTCOLOR2 = C3(0,0,0) | |
2205 | -- Animation -- | |
2206 | for _, c in pairs(Character:GetChildren()) do | |
2207 | if c.ClassName == "Part" then | |
2208 | c.Material = "Neon" | |
2209 | if c:FindFirstChildOfClass("ParticleEmitter") then | |
2210 | c:FindFirstChildOfClass("ParticleEmitter"):remove() | |
2211 | end | |
2212 | if c == Head then | |
2213 | local M = CreateMesh("SpecialMesh", c, "FileMesh", "162384581", "", VT(1,1,1)*1.1, VT(0,0,0)) | |
2214 | M.Name = "Dominus" | |
2215 | c.Material = "Neon" | |
2216 | if c:FindFirstChild("face") then | |
2217 | c.face:remove() | |
2218 | end | |
2219 | end | |
2220 | end | |
2221 | end | |
2222 | BodyColor = BrickColor.random().Color | |
2223 | LegColor = BrickColor.random().Color | |
2224 | ArmColor = BrickColor.random().Color | |
2225 | SKILLTEXTCOLOR = BrickColor.random().Color | |
2226 | SKILLTEXTCOLOR2 = BrickColor.random().Color | |
2227 | MODE = "Insaniam" | |
2228 | tecks2.Text = "Dominus Insaniam" | |
2229 | SKILLTEXTCOLOR = C3(5,5,0) | |
2230 | SKILLTEXTCOLOR2 = C3(0,0,0) | |
2231 | Speed = 14 | |
2232 | elseif MODE == "Insaniam" then | |
2233 | CreateSound(147722227, Torso, 4, 1.3, false) | |
2234 | sick.SoundId = "rbxassetid://195900687" | |
2235 | sick.Volume = 4 | |
2236 | sick.Pitch = 1 | |
2237 | sick.TimePosition = 20.7 | |
2238 | for _, c in pairs(Character:GetChildren()) do | |
2239 | if c.ClassName == "Part" then | |
2240 | c.Material = "Neon" | |
2241 | if c:FindFirstChildOfClass("ParticleEmitter") then | |
2242 | c:FindFirstChildOfClass("ParticleEmitter"):remove() | |
2243 | end | |
2244 | if c == Torso then | |
2245 | c.Color = C3(0,0,0) | |
2246 | elseif c == RightArm then | |
2247 | c.Color = C3(0.05,0.05,0.15) | |
2248 | elseif c == LeftArm then | |
2249 | c.Color = C3(0.05,0.05,0.15) | |
2250 | elseif c == RightLeg then | |
2251 | c.Color = C3(0,0,0.05) | |
2252 | elseif c == LeftLeg then | |
2253 | c.Color = C3(0,0,0.05) | |
2254 | elseif c == Head then | |
2255 | local M = CreateMesh("SpecialMesh", c, "FileMesh", "162384581", "162384608", VT(1,1,1)*1.1, VT(0,0,0)) | |
2256 | M.Name = "Dominus" | |
2257 | c.Material = "Plastic" | |
2258 | if c:FindFirstChild("face") then | |
2259 | c.face:remove() | |
2260 | ||
2261 | end | |
2262 | end | |
2263 | elseif c.ClassName == "Shirt" or c.ClassName == "Pants" or c.ClassName == "CharacterMesh" or c.ClassName == "Accessory" or c.Name == "Body Colors" then | |
2264 | c:remove() | |
2265 | end | |
2266 | end | |
2267 | 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}) | |
2268 | 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}) | |
2269 | Swait(15) | |
2270 | Speed = 16 | |
2271 | MODE = "Main" | |
2272 | BodyColor = C3(0,0,0) | |
2273 | LegColor = C3(0,0,0.05) | |
2274 | ArmColor = C3(0.05,0.05,0.15) | |
2275 | end | |
2276 | ATTACK = false | |
2277 | Rooted = false | |
2278 | end | |
2279 | ||
2280 | function PrForm() | |
2281 | ATTACK = true | |
2282 | Rooted = true | |
2283 | local HITFLOOR,HITPOS = Raycast(RootPart.Position, (CF(RootPart.Position, RootPart.Position + VT(0, -1, 0))).lookVector, 25*SIZE, Character) | |
2284 | if MODE == "Main" then | |
2285 | sick.SoundId = "rbxassetid://859912308" | |
2286 | sick.Volume = 3 | |
2287 | sick.Pitch = 1 | |
2288 | sick.TimePosition = 1 | |
2289 | for _, c in pairs(Character:GetChildren()) do | |
2290 | if c.ClassName == "Part" then | |
2291 | c.Material = "Neon" | |
2292 | if c:FindFirstChildOfClass("ParticleEmitter") then | |
2293 | c:FindFirstChildOfClass("ParticleEmitter"):remove() | |
2294 | end | |
2295 | if c == Head then | |
2296 | local M = CreateMesh("SpecialMesh", c, "FileMesh", "527245069", "527244862", VT(1, 1, 1) * 1.1, VT(0, 0, 0)) | |
2297 | M.Name = "Dominus" | |
2298 | if c:FindFirstChild("face") then | |
2299 | c.face:remove() | |
2300 | end | |
2301 | end | |
2302 | end | |
2303 | end | |
2304 | BodyColor = C3(0,0,0) | |
2305 | LegColor = C3(0, 0.03, 0) | |
2306 | ArmColor = C3(0, 0.13, 0) | |
2307 | SKILLTEXTCOLOR = C3(0, 0.03, 0) | |
2308 | SKILLTEXTCOLOR2 = C3(0,0,0) | |
2309 | -- Animation -- | |
2310 | coroutine.resume(coroutine.create(function() | |
2311 | end)) | |
2312 | CreateSound(363808674, Torso, 6, 1, false) | |
2313 | MODE = "Praefectus" | |
2314 | tecks2.Text = "Dominus Praefectus" | |
2315 | Speed = 20 | |
2316 | elseif MODE == "Praefectus" then | |
2317 | CreateSound(147722227, Torso, 4, 1.3, false) | |
2318 | sick.SoundId = "rbxassetid://195900687" | |
2319 | sick.Volume = 4 | |
2320 | sick.Pitch = 1 | |
2321 | sick.TimePosition = 20.7 | |
2322 | for _, c in pairs(Character:GetChildren()) do | |
2323 | if c.ClassName == "Part" then | |
2324 | c.Material = "Neon" | |
2325 | if c:FindFirstChildOfClass("ParticleEmitter") then | |
2326 | c:FindFirstChildOfClass("ParticleEmitter"):remove() | |
2327 | end | |
2328 | if c == Torso then | |
2329 | c.Color = C3(0,0,0) | |
2330 | elseif c == RightArm then | |
2331 | c.Color = C3(0.05,0.05,0.15) | |
2332 | elseif c == LeftArm then | |
2333 | c.Color = C3(0.05,0.05,0.15) | |
2334 | elseif c == RightLeg then | |
2335 | c.Color = C3(0,0,0.05) | |
2336 | elseif c == LeftLeg then | |
2337 | c.Color = C3(0,0,0.05) | |
2338 | elseif c == Head then | |
2339 | local M = CreateMesh("SpecialMesh", c, "FileMesh", "162384581", "162384608", VT(1,1,1)*1.1, VT(0,0,0)) | |
2340 | M.Name = "Dominus" | |
2341 | if c:FindFirstChild("face") then | |
2342 | c.face:remove() | |
2343 | ||
2344 | end | |
2345 | end | |
2346 | elseif c.ClassName == "Shirt" or c.ClassName == "Pants" or c.ClassName == "CharacterMesh" or c.ClassName == "Accessory" or c.Name == "Body Colors" then | |
2347 | c:remove() | |
2348 | end | |
2349 | end | |
2350 | 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}) | |
2351 | 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}) | |
2352 | Swait(15) | |
2353 | Speed = 16 | |
2354 | MODE = "Main" | |
2355 | BodyColor = C3(0,0,0) | |
2356 | LegColor = C3(0,0,0.05) | |
2357 | ArmColor = C3(0.05,0.05,0.15) | |
2358 | end | |
2359 | ATTACK = false | |
2360 | Rooted = false | |
2361 | end | |
2362 | ||
2363 | function BaForm() | |
2364 | ATTACK = true | |
2365 | Rooted = true | |
2366 | local HITFLOOR,HITPOS = Raycast(RootPart.Position, (CF(RootPart.Position, RootPart.Position + VT(0, -1, 0))).lookVector, 25*SIZE, Character) | |
2367 | if MODE == "Main" then | |
2368 | sick.SoundId = "rbxassetid://1392856912" | |
2369 | sick.Volume = 10 | |
2370 | sick.Pitch = 0.97 | |
2371 | sick.TimePosition = 1 | |
2372 | for _, c in pairs(Character:GetChildren()) do | |
2373 | if c.ClassName == "Part" then | |
2374 | c.Material = "Neon" | |
2375 | if c:FindFirstChildOfClass("ParticleEmitter") then | |
2376 | c:FindFirstChildOfClass("ParticleEmitter"):remove() | |
2377 | end | |
2378 | if c == Head then | |
2379 | local M = CreateMesh("SpecialMesh", c, "FileMesh", "21057410", "65645429", VT(1, 1, 1) * 1.1, VT(0, 0, 0)) | |
2380 | M.Name = "Dominus" | |
2381 | if c:FindFirstChild("face") then | |
2382 | c.face:remove() | |
2383 | end | |
2384 | end | |
2385 | end | |
2386 | end | |
2387 | BodyColor = C3(0,0,0) | |
2388 | LegColor = C3(0.05,0,0) | |
2389 | ArmColor = C3(0.15,0.05,0.05) | |
2390 | -- Animation -- | |
2391 | coroutine.resume(coroutine.create(function() | |
2392 | end)) | |
2393 | for i=0, 2, 0.1 / Animation_Speed do | |
2394 | Swait() | |
2395 | CreateRing(VT(0,0,0.1),false,0,15,CF(HITPOS)*ANGLES(RAD(90),RAD(0),RAD(0)),"Dark red",VT(5,5,0)) | |
2396 | RootJoint.C0 = Clerp(RootJoint.C0,ROOTC0 * CF(0, 0, 0 + 0.25 * COS(SINE / 12)) * ANGLES(RAD(4 + 2.5 * SIN(SINE / 12)), RAD(0), RAD(5 + 2.5 * SIN(SINE / 12))), 1 / Animation_Speed) | |
2397 | Neck.C0 = Clerp(Neck.C0, NECKC0 * CF(0, 0, 0 + ((1.25*SIZE) - 1)) * ANGLES(RAD(35), RAD(0), RAD(0)), 1 / Animation_Speed) | |
2398 | RightShoulder.C0 = Clerp(RightShoulder.C0, CF(1.75, 0.75, -1) * ANGLES(RAD(0), RAD(0), RAD(-90)) * RIGHTSHOULDERC0, 0.15 / Animation_Speed) | |
2399 | LeftShoulder.C0 = Clerp(LeftShoulder.C0, CF(-1.15, 0.15 + 0.05 * COS(SINE / 12), 0.5) * ANGLES(RAD(-45), RAD(0 + 2.5 * SIN(SINE / 12)), RAD(45 - 7.5 * SIN(SINE / 12))) * LEFTSHOULDERC0, 1 / Animation_Speed) | |
2400 | RightHip.C0 = Clerp(RightHip.C0, CF(1, -1, -0.01) * ANGLES(RAD(-2.5 * SIN(SINE / 12)), RAD(75), RAD(0)) * ANGLES(RAD(-8 - 2.5 * SIN(SINE / 12)), RAD(0), RAD(0)), 1 / Animation_Speed) | |
2401 | LeftHip.C0 = Clerp(LeftHip.C0, CF(-1, -0.5, -0.5) * ANGLES(RAD(-2.5 * SIN(SINE / 12)), RAD(-90), RAD(0)) * ANGLES(RAD(-8 - 2.5 * SIN(SINE / 12)), RAD(0), RAD(0)), 1 / Animation_Speed) | |
2402 | end | |
2403 | Weapon.Parent = Character | |
2404 | CreateSound(633627961, Character, 5, 1, false) | |
2405 | for i=0, 1, 0.1 / Animation_Speed do | |
2406 | Swait() | |
2407 | 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) | |
2408 | Neck.C0 = Clerp(Neck.C0, NECKC0 * CF(0, 0, 0 + ((1.25*SIZE) - 1)) * ANGLES(RAD(35), RAD(0), RAD(0)), 1 / Animation_Speed) | |
2409 | 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) | |
2410 | 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) | |
2411 | 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) | |
2412 | 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) | |
2413 | end | |
2414 | MODE = "Fugatrix" | |
2415 | SKILLTEXTCOLOR = C3(0.05,0,0) | |
2416 | SKILLTEXTCOLOR2 = C3(0,0,0) | |
2417 | tecks2.Text = "Dominus Fugatrix" | |
2418 | Speed = 30 | |
2419 | elseif MODE == "Fugatrix" then | |
2420 | Weapon.Parent = nil | |
2421 | CreateSound(147722227, Torso, 4, 1.3, false) | |
2422 | sick.SoundId = "rbxassetid://195900687" | |
2423 | sick.Volume = 4 | |
2424 | sick.Pitch = 1 | |
2425 | sick.TimePosition = 20.7 | |
2426 | for _, c in pairs(Character:GetChildren()) do | |
2427 | if c.ClassName == "Part" then | |
2428 | c.Material = "Neon" | |
2429 | if c:FindFirstChildOfClass("ParticleEmitter") then | |
2430 | c:FindFirstChildOfClass("ParticleEmitter"):remove() | |
2431 | end | |
2432 | if c == Torso then | |
2433 | c.Color = C3(0,0,0) | |
2434 | elseif c == RightArm then | |
2435 | c.Color = C3(0.05,0.05,0.15) | |
2436 | elseif c == LeftArm then | |
2437 | c.Color = C3(0.05,0.05,0.15) | |
2438 | elseif c == RightLeg then | |
2439 | c.Color = C3(0,0,0.05) | |
2440 | elseif c == LeftLeg then | |
2441 | c.Color = C3(0,0,0.05) | |
2442 | elseif c == Head then | |
2443 | local M = CreateMesh("SpecialMesh", c, "FileMesh", "162384581", "162384608", VT(1,1,1)*1.1, VT(0,0,0)) | |
2444 | M.Name = "Dominus" | |
2445 | if c:FindFirstChild("face") then | |
2446 | c.face:remove() | |
2447 | ||
2448 | end | |
2449 | end | |
2450 | elseif c.ClassName == "Shirt" or c.ClassName == "Pants" or c.ClassName == "CharacterMesh" or c.ClassName == "Accessory" or c.Name == "Body Colors" then | |
2451 | c:remove() | |
2452 | end | |
2453 | end | |
2454 | 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}) | |
2455 | 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}) | |
2456 | Swait(15) | |
2457 | Speed = 16 | |
2458 | MODE = "Main" | |
2459 | BodyColor = C3(0,0,0) | |
2460 | LegColor = C3(0,0,0.05) | |
2461 | ArmColor = C3(0.05,0.05,0.15) | |
2462 | end | |
2463 | ATTACK = false | |
2464 | Rooted = false | |
2465 | end | |
2466 | ||
2467 | function DeathForm() | |
2468 | ATTACK = true | |
2469 | Rooted = true | |
2470 | local HITFLOOR,HITPOS = Raycast(RootPart.Position, (CF(RootPart.Position, RootPart.Position + VT(0, -1, 0))).lookVector, 25*SIZE, Character) | |
2471 | if MODE == "Fugatrix" then | |
2472 | sick.SoundId = "rbxassetid://2650791818" | |
2473 | sick.Volume = 10 | |
2474 | sick.Pitch = 0.97 | |
2475 | sick.TimePosition = 0 | |
2476 | -- Animation -- | |
2477 | coroutine.resume(coroutine.create(function() | |
2478 | end)) | |
2479 | for i=0, 2, 0.1 / Animation_Speed do | |
2480 | Swait() | |
2481 | CreateRing(VT(0,0,0.1),false,0,15,CF(HITPOS)*ANGLES(RAD(90),RAD(0),RAD(0)),"Maroon",VT(5,5,0)) | |
2482 | 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) | |
2483 | Neck.C0 = Clerp(Neck.C0, NECKC0 * CF(0, 0, 0 + ((1.25*SIZE) - 1)) * ANGLES(RAD(35), RAD(0), RAD(0)), 1 / Animation_Speed) | |
2484 | RightShoulder.C0 = Clerp(RightShoulder.C0, CF(1.75, 0.75, -1) * ANGLES(RAD(0), RAD(0), RAD(-90)) * RIGHTSHOULDERC0, 0.15 / Animation_Speed) | |
2485 | 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) | |
2486 | 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) | |
2487 | 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) | |
2488 | end | |
2489 | Weapon.Parent = nil | |
2490 | DeadEyes.Parent = Character | |
2491 | CreateSound(145080998, Character, 5, 1, false) | |
2492 | for _, c in pairs(Character:GetChildren()) do | |
2493 | if c.ClassName == "Part" then | |
2494 | c.Material = "Neon" | |
2495 | if c:FindFirstChildOfClass("ParticleEmitter") then | |
2496 | c:FindFirstChildOfClass("ParticleEmitter"):remove() | |
2497 | end | |
2498 | if c == Head then | |
2499 | local M = CreateMesh("SpecialMesh", c, "FileMesh", "21057410", "32571089", VT(1, 1, 1) * 1.1, VT(0, 0, 0)) | |
2500 | M.Name = "Dominus" | |
2501 | if c:FindFirstChild("face") then | |
2502 | c.face:remove() | |
2503 | end | |
2504 | end | |
2505 | end | |
2506 | end | |
2507 | BodyColor = C3(0.07,0,0) | |
2508 | LegColor = C3(0.1,0,0) | |
2509 | ArmColor = C3(1.017,0,0) | |
2510 | for i=0, 1, 0.1 / Animation_Speed do | |
2511 | Swait() | |
2512 | 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) | |
2513 | Neck.C0 = Clerp(Neck.C0, NECKC0 * CF(0, 0, 0 + ((1.25*SIZE) - 1)) * ANGLES(RAD(35), RAD(0), RAD(0)), 1 / Animation_Speed) | |
2514 | 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) | |
2515 | 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) | |
2516 | 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) | |
2517 | 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) | |
2518 | end | |
2519 | MODE = "Mortem" | |
2520 | SKILLTEXTCOLOR = C3(0.1,0,0) | |
2521 | SKILLTEXTCOLOR2 = C3(0,0,0) | |
2522 | tecks2.Text = "Dominus Mortem" | |
2523 | Speed = 30 | |
2524 | elseif MODE == "Mortem" then | |
2525 | DeadEyes.Parent = nil | |
2526 | CreateSound(147722227, Torso, 4, 1.3, false) | |
2527 | sick.SoundId = "rbxassetid://195900687" | |
2528 | sick.Volume = 4 | |
2529 | sick.Pitch = 1 | |
2530 | sick.TimePosition = 20.7 | |
2531 | for _, c in pairs(Character:GetChildren()) do | |
2532 | if c.ClassName == "Part" then | |
2533 | c.Material = "Neon" | |
2534 | if c:FindFirstChildOfClass("ParticleEmitter") then | |
2535 | c:FindFirstChildOfClass("ParticleEmitter"):remove() | |
2536 | end | |
2537 | if c == Torso then | |
2538 | c.Color = C3(0,0,0) | |
2539 | elseif c == RightArm then | |
2540 | c.Color = C3(0.05,0.05,0.15) | |
2541 | elseif c == LeftArm then | |
2542 | c.Color = C3(0.05,0.05,0.15) | |
2543 | elseif c == RightLeg then | |
2544 | c.Color = C3(0,0,0.05) | |
2545 | elseif c == LeftLeg then | |
2546 | c.Color = C3(0,0,0.05) | |
2547 | elseif c == Head then | |
2548 | local M = CreateMesh("SpecialMesh", c, "FileMesh", "162384581", "162384608", VT(1,1,1)*1.1, VT(0,0,0)) | |
2549 | M.Name = "Dominus" | |
2550 | if c:FindFirstChild("face") then | |
2551 | c.face:remove() | |
2552 | ||
2553 | end | |
2554 | end | |
2555 | elseif c.ClassName == "Shirt" or c.ClassName == "Pants" or c.ClassName == "CharacterMesh" or c.ClassName == "Accessory" or c.Name == "Body Colors" then | |
2556 | c:remove() | |
2557 | end | |
2558 | end | |
2559 | 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}) | |
2560 | 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}) | |
2561 | Swait(15) | |
2562 | Speed = 16 | |
2563 | MODE = "Main" | |
2564 | BodyColor = C3(0,0,0) | |
2565 | LegColor = C3(0,0,0.05) | |
2566 | ArmColor = C3(0.05,0.05,0.15) | |
2567 | end | |
2568 | ATTACK = false | |
2569 | Rooted = false | |
2570 | end | |
2571 | ||
2572 | function CreateParticles(art,text,accel,drag,lifetime,type,isenabledbydefault,locked) | |
2573 | local particle = nil | |
2574 | coroutine.resume(coroutine.create(function(PART) | |
2575 | particle = PE:Clone() | |
2576 | Swait() | |
2577 | particle.Rate = 999 | |
2578 | particle.Parent = art | |
2579 | particle.Acceleration = accel | |
2580 | if type == "Fire" then | |
2581 | local EyeSizes={ | |
2582 | NumberSequenceKeypoint.new(0,0.5,0.3), | |
2583 | NumberSequenceKeypoint.new(1,0.2,0.2) | |
2584 | } | |
2585 | particle.Size = NumberSequence.new(EyeSizes) | |
2586 | elseif type == "Smoke" then | |
2587 | local EyeSizes={ | |
2588 | NumberSequenceKeypoint.new(0,0.5,0), | |
2589 | NumberSequenceKeypoint.new(1,5,0.5) | |
2590 | } | |
2591 | particle.Size = NumberSequence.new(EyeSizes) | |
2592 | elseif type == "Solid" then | |
2593 | local EyeSizes={ | |
2594 | NumberSequenceKeypoint.new(0,0.5,0), | |
2595 | NumberSequenceKeypoint.new(1,0.5,0) | |
2596 | } | |
2597 | particle.Size = NumberSequence.new(EyeSizes) | |
2598 | end | |
2599 | particle.Lifetime=NumberRange.new(lifetime) | |
2600 | particle.Drag = drag | |
2601 | if locked == true then | |
2602 | particle.LockedToPart = true | |
2603 | end | |
2604 | particle.Texture = "http://www.roblox.com/asset/?id="..text | |
2605 | particle.Enabled = isenabledbydefault | |
2606 | end)) | |
2607 | return particle | |
2608 | end | |
2609 | ||
2610 | local MAGICPARTICLE = "296874871" | |
2611 | ||
2612 | local Plate = IT("Part",LMAO) | |
2613 | Plate.Size = VT(1,0.1,1) | |
2614 | Plate.Transparency = 1 | |
2615 | Plate.CanCollide = false | |
2616 | Plate.CFrame = RightArm.CFrame * CF(0,-1.1,0) | |
2617 | CreateParticles(Plate,MAGICPARTICLE,VT(0,2,0),2,2,"Fire",true,true) | |
2618 | weldBetween(RightArm,Plate) | |
2619 | Plate.Parent = nil | |
2620 | ||
2621 | local Plate = IT("Part",LMAO) | |
2622 | Plate.Size = VT(1,0.1,1) | |
2623 | Plate.Transparency = 1 | |
2624 | Plate.CanCollide = false | |
2625 | Plate.CFrame = LeftArm.CFrame * CF(0,-1.1,0) | |
2626 | CreateParticles(Plate,MAGICPARTICLE,VT(0,2,0),2,2,"Fire",true,true) | |
2627 | weldBetween(LeftArm,Plate) | |
2628 | Plate.Parent = nil | |
2629 | ||
2630 | function FinalForm() | |
2631 | ATTACK = true | |
2632 | Rooted = true | |
2633 | local HITFLOOR,HITPOS = Raycast(RootPart.Position, (CF(RootPart.Position, RootPart.Position + VT(0, -1, 0))).lookVector, 25*SIZE, Character) | |
2634 | if MODE == "Main" then | |
2635 | sick.SoundId = "rbxassetid://576172702" | |
2636 | sick.Volume = 10 | |
2637 | sick.Pitch = 0.97 | |
2638 | sick.TimePosition = 0 | |
2639 | -- Animation -- | |
2640 | coroutine.resume(coroutine.create(function() | |
2641 | end)) | |
2642 | for i=0, 2, 50 / Animation_Speed do | |
2643 | Swait() | |
2644 | Slice("Round", 0, 45, CF(RightArm.CFrame * CF(0, MRANDOM(-3, -2), 0).p) * ANGLES(RAD(0), RAD(MRANDOM(-180, 180)), RAD(0)), "Pearl", VT(0.01, 0, 0.01) * MRANDOM(2, 3)) | |
2645 | MagicSphere(VT(0, 0, 0), 15, CF(RightArm.CFrame * CF(0, -1.2, 0).p, RightArm.CFrame * CF(MRANDOM(-5, 5), -1.2 + MRANDOM(-25, 25), MRANDOM(-5, 5)).p), C3(0.5, 0.5, 1), VT(1, 0.1, 0.1)) | |
2646 | 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) | |
2647 | 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) | |
2648 | 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) | |
2649 | 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) | |
2650 | 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) | |
2651 | 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) | |
2652 | end | |
2653 | for _, c in pairs(Character:GetChildren()) do | |
2654 | if c.ClassName == "Part" then | |
2655 | c.Material = "Neon" | |
2656 | if c:FindFirstChildOfClass("ParticleEmitter") then | |
2657 | c:FindFirstChildOfClass("ParticleEmitter"):remove() | |
2658 | end | |
2659 | if c == Head then | |
2660 | local M = CreateMesh("SpecialMesh", c, "FileMesh", "21057410", "53837867", VT(1, 1, 1) * 1.1, VT(0, 0, 0)) | |
2661 | M.Name = "Dominus" | |
2662 | if c:FindFirstChild("face") then | |
2663 | c.face:remove() | |
2664 | end | |
2665 | end | |
2666 | end | |
2667 | end | |
2668 | LMAO.Parent = Character | |
2669 | BodyColor = C3(0.025,0.025,0.1) | |
2670 | LegColor = BRICKC("Storm blue").Color | |
2671 | ArmColor = C3(0.5, 0.5, 1) | |
2672 | for i = 1, 25 do | |
2673 | Swait() | |
2674 | Slice("Round", 0, 45, CF(RootPart.Position + VT(0, MRANDOM(-5, 15), 0)) * ANGLES(RAD(MRANDOM(-18, 18)), RAD(MRANDOM(-180, 180)), RAD(MRANDOM(-18, 18))), "Pearl", VT(0.1, 0, 0.1) * MRANDOM(2, 3)) | |
2675 | Slice("Thin", 0, 65, CF(RootPart.Position + VT(0, MRANDOM(-5, 15), 0)) * ANGLES(RAD(MRANDOM(-18, 18)), RAD(MRANDOM(-180, 180)), RAD(MRANDOM(-18, 18))), "Pearl", VT(0.1, 0, 0.1) * MRANDOM(2, 3)) | |
2676 | 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) | |
2677 | 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) | |
2678 | 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) | |
2679 | 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) | |
2680 | 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) | |
2681 | 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) | |
2682 | end | |
2683 | MODE = "Maris" | |
2684 | SKILLTEXTCOLOR = C3(0,0,1) | |
2685 | SKILLTEXTCOLOR2 = C3(0,0,0) | |
2686 | tecks2.Text = "Dominus Maris" | |
2687 | Speed = 80 | |
2688 | elseif MODE == "Maris" then | |
2689 | LMAO.Parent = nil | |
2690 | CreateSound(147722227, Torso, 4, 1.3, false) | |
2691 | sick.SoundId = "rbxassetid://195900687" | |
2692 | sick.Volume = 4 | |
2693 | sick.Pitch = 1 | |
2694 | sick.TimePosition = 20.7 | |
2695 | for _, c in pairs(Character:GetChildren()) do | |
2696 | if c.ClassName == "Part" then | |
2697 | c.Material = "Neon" | |
2698 | if c:FindFirstChildOfClass("ParticleEmitter") then | |
2699 | c:FindFirstChildOfClass("ParticleEmitter"):remove() | |
2700 | end | |
2701 | if c == Torso then | |
2702 | c.Color = C3(0,0,0) | |
2703 | elseif c == RightArm then | |
2704 | c.Color = C3(0.05,0.05,0.15) | |
2705 | elseif c == LeftArm then | |
2706 | c.Color = C3(0.05,0.05,0.15) | |
2707 | elseif c == RightLeg then | |
2708 | c.Color = C3(0,0,0.05) | |
2709 | elseif c == LeftLeg then | |
2710 | c.Color = C3(0,0,0.05) | |
2711 | elseif c == Head then | |
2712 | local M = CreateMesh("SpecialMesh", c, "FileMesh", "162384581", "162384608", VT(1,1,1)*1.1, VT(0,0,0)) | |
2713 | M.Name = "Dominus" | |
2714 | if c:FindFirstChild("face") then | |
2715 | c.face:remove() | |
2716 | ||
2717 | end | |
2718 | end | |
2719 | elseif c.ClassName == "Shirt" or c.ClassName == "Pants" or c.ClassName == "CharacterMesh" or c.ClassName == "Accessory" or c.Name == "Body Colors" then | |
2720 | c:remove() | |
2721 | end | |
2722 | end | |
2723 | 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}) | |
2724 | 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}) | |
2725 | Swait(15) | |
2726 | Speed = 16 | |
2727 | MODE = "Main" | |
2728 | BodyColor = C3(0,0,0) | |
2729 | LegColor = C3(0,0,0.05) | |
2730 | ArmColor = C3(0.05,0.05,0.15) | |
2731 | end | |
2732 | ATTACK = false | |
2733 | Rooted = false | |
2734 | end | |
2735 | ||
2736 | function DeForm() | |
2737 | ATTACK = true | |
2738 | Rooted = true | |
2739 | local HITFLOOR,HITPOS = Raycast(RootPart.Position, (CF(RootPart.Position, RootPart.Position + VT(0, -1, 0))).lookVector, 25*SIZE, Character) | |
2740 | if MODE == "Praefectus" then | |
2741 | sick.SoundId = "rbxassetid://1633982099" | |
2742 | sick.Volume = 10 | |
2743 | sick.Pitch = 0.97 | |
2744 | sick.TimePosition = 1 | |
2745 | for _, c in pairs(Character:GetChildren()) do | |
2746 | if c.ClassName == "Part" then | |
2747 | c.Material = "Neon" | |
2748 | if c:FindFirstChildOfClass("ParticleEmitter") then | |
2749 | c:FindFirstChildOfClass("ParticleEmitter"):remove() | |
2750 | end | |
2751 | if c == Head then | |
2752 | local M = CreateMesh("SpecialMesh", c, "FileMesh", "527245069", "1486164425", VT(1, 1, 1) * 1.1, VT(0, 0, 0)) | |
2753 | M.Name = "Dominus" | |
2754 | if c:FindFirstChild("face") then | |
2755 | c.face:remove() | |
2756 | end | |
2757 | end | |
2758 | end | |
2759 | end | |
2760 | BodyColor = C3(0,0,0) | |
2761 | LegColor = C3(0.03, 0, 0) | |
2762 | ArmColor = C3(0.13, 0, 0) | |
2763 | -- Animation -- | |
2764 | coroutine.resume(coroutine.create(function() | |
2765 | end)) | |
2766 | CreateSound(1238240145, Torso, 6, 1, false) | |
2767 | for i=0, 0.6, 0.1 / Animation_Speed do | |
2768 | Swait() | |
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(5 + 2.5 * SIN(SINE / 12))), 1 / Animation_Speed) | |
2770 | Neck.C0 = Clerp(Neck.C0, NECKC0 * CF(0, 0, 0 + ((1.25*SIZE) - 1)) * ANGLES(RAD(35), RAD(0), RAD(0)), 1 / Animation_Speed) | |
2771 | RightShoulder.C0 = Clerp(RightShoulder.C0, CF(1.25, 0.5, -0.5) * ANGLES(RAD(100), RAD(0), RAD(-50)) * RIGHTSHOULDERC0, 1 / Animation_Speed) | |
2772 | LeftShoulder.C0 = Clerp(LeftShoulder.C0, CF(-1.25, 0.35, -0.35) * ANGLES(RAD(70), RAD(0), RAD(60)) * LEFTSHOULDERC0, 1 / Animation_Speed) | |
2773 | 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) | |
2774 | 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) | |
2775 | end | |
2776 | for i=0, 0.6, 0.1 / Animation_Speed do | |
2777 | Swait() | |
2778 | 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) | |
2779 | ||
2780 | Neck.C0 = Clerp(Neck.C0, NECKC0 * CF(0, 0, 0 + ((1.25*SIZE) - 1)) * ANGLES(RAD(35), RAD(0), RAD(0)), 1 / Animation_Speed) | |
2781 | RightShoulder.C0 = Clerp(RightShoulder.C0, CF(1.25, 0.5, -0.5) * ANGLES(RAD(100), RAD(0), RAD(-90)) * RIGHTSHOULDERC0, 1 / Animation_Speed) | |
2782 | LeftShoulder.C0 = Clerp(LeftShoulder.C0, CF(-1.25, 0.35, -0.35) * ANGLES(RAD(70), RAD(0), RAD(90)) * LEFTSHOULDERC0, 1 / Animation_Speed) | |
2783 | 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) | |
2784 | 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) | |
2785 | end | |
2786 | MODE = "Demonum" | |
2787 | tecks2.Text = "Dominus Daemonium" | |
2788 | SKILLTEXTCOLOR = C3(0.03, 0, 0) | |
2789 | SKILLTEXTCOLOR2 = C3(0,0,0) | |
2790 | Speed = 30 | |
2791 | elseif MODE == "Demonum" then | |
2792 | CreateSound(147722227, Torso, 4, 1.3, false) | |
2793 | sick.SoundId = "rbxassetid://195900687" | |
2794 | sick.Volume = 4 | |
2795 | sick.Pitch = 1 | |
2796 | sick.TimePosition = 20.7 | |
2797 | for _, c in pairs(Character:GetChildren()) do | |
2798 | if c.ClassName == "Part" then | |
2799 | c.Material = "Neon" | |
2800 | if c:FindFirstChildOfClass("ParticleEmitter") then | |
2801 | c:FindFirstChildOfClass("ParticleEmitter"):remove() | |
2802 | end | |
2803 | if c == Torso then | |
2804 | c.Color = C3(0,0,0) | |
2805 | elseif c == RightArm then | |
2806 | c.Color = C3(0.05,0.05,0.15) | |
2807 | elseif c == LeftArm then | |
2808 | c.Color = C3(0.05,0.05,0.15) | |
2809 | elseif c == RightLeg then | |
2810 | c.Color = C3(0,0,0.05) | |
2811 | elseif c == LeftLeg then | |
2812 | c.Color = C3(0,0,0.05) | |
2813 | elseif c == Head then | |
2814 | local M = CreateMesh("SpecialMesh", c, "FileMesh", "162384581", "162384608", VT(1,1,1)*1.1, VT(0,0,0)) | |
2815 | M.Name = "Dominus" | |
2816 | if c:FindFirstChild("face") then | |
2817 | c.face:remove() | |
2818 | ||
2819 | end | |
2820 | end | |
2821 | elseif c.ClassName == "Shirt" or c.ClassName == "Pants" or c.ClassName == "CharacterMesh" or c.ClassName == "Accessory" or c.Name == "Body Colors" then | |
2822 | c:remove() | |
2823 | end | |
2824 | end | |
2825 | 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}) | |
2826 | 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}) | |
2827 | Swait(15) | |
2828 | Speed = 16 | |
2829 | MODE = "Main" | |
2830 | BodyColor = C3(0,0,0) | |
2831 | LegColor = C3(0,0,0.05) | |
2832 | ArmColor = C3(0.05,0.05,0.15) | |
2833 | end | |
2834 | ATTACK = false | |
2835 | Rooted = false | |
2836 | end | |
2837 | ||
2838 | function Ignem_Aeternum() | |
2839 | local HITFLOOR, HITPOS, NORMAL = Raycast(RootPart.Position, CF(RootPart.Position, RootPart.Position + VT(0, -1, 0)).lookVector, 25, Character) | |
2840 | if HITFLOOR ~= nil then | |
2841 | do | |
2842 | local POWER = LEVEL | |
2843 | ATTACK = true | |
2844 | Rooted = true | |
2845 | local CENTER = MagicRing() | |
2846 | CENTER.CFrame = CF(HITPOS + VT(0, 0.1, 0)) | |
2847 | CreateSound("424777055", CENTER, 10, 1) | |
2848 | local RAIN = {} | |
2849 | for i = 1, 55 do | |
2850 | Swait() | |
2851 | CENTER.Size = CENTER.Size + VT(POWER, 0, POWER) / 3 | |
2852 | CENTER.CFrame = CENTER.CFrame * ANGLES(RAD(0), RAD(i), RAD(0)) | |
2853 | 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) | |
2854 | 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) | |
2855 | 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) | |
2856 | 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) | |
2857 | 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) | |
2858 | 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) | |
2859 | end | |
2860 | local MAXDIST = 30 | |
2861 | local DIRECTION = CF(RootPart.Position, VT(Mouse.Hit.p.X, HITPOS.Y, Mouse.Hit.p.Z)).lookVector | |
2862 | local HITFLOOR2, HITPOS2 = Raycast(RootPart.Position, DIRECTION, MAXDIST, Character) | |
2863 | local HITFLOOR3, HITPOS3 = Raycast(HITPOS2, CF(HITPOS2 + VT(0, 1, 0), HITPOS2 + VT(0, -1, 0)).lookVector, MAXDIST, Character) | |
2864 | local ORB = CreatePart(3, Effects, "Neon", 0, 1, "Gold", "ORB", VT(4, 4, 4)) | |
2865 | MakeForm(ORB, "Ball") | |
2866 | CreateSound("201858045", ORB, 10, 0.5) | |
2867 | for i = 0, 1, 0.1 / Animation_Speed do | |
2868 | Swait() | |
2869 | ORB.CFrame = RootPart.CFrame * CF(0, 10 + POWER * 3, 0) | |
2870 | ORB.Transparency = 0 | |
2871 | ORB.Size = ORB.Size + VT(POWER, POWER, POWER) / 7 | |
2872 | local POS = HITPOS + VT(MRANDOM(-CENTER.Size.X / 3, CENTER.Size.X / 3), 0, MRANDOM(-CENTER.Size.X / 3, CENTER.Size.X / 3)) | |
2873 | local RANGE = (POS - RootPart.CFrame * CF(0, 10 + POWER * 3, 0).p).Magnitude | |
2874 | 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) | |
2875 | 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) | |
2876 | 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) | |
2877 | 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) | |
2878 | 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) | |
2879 | 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) | |
2880 | end | |
2881 | coroutine.resume(coroutine.create(function() | |
2882 | ORB.CFrame = CF(ORB.Position, HITPOS3) | |
2883 | local IMPACT = false | |
2884 | for i = 1, 400 do | |
2885 | Swait() | |
2886 | ORB.CFrame = ORB.CFrame * CF(0, 0, -1) | |
2887 | local HIT = Raycast(ORB.Position, ORB.CFrame.lookVector, ORB.Size.X / 2.2, Character) | |
2888 | if HIT ~= nil then | |
2889 | IMPACT = true | |
2890 | break | |
2891 | end | |
2892 | end | |
2893 | if IMPACT == true then | |
2894 | ORB.Transparency = 1 | |
2895 | local FRONT = ORB.CFrame * CF(0, 0, -1).p | |
2896 | ORB.CFrame = CF(ORB.Position, VT(FRONT.X, ORB.Position.Y, FRONT.Z)) | |
2897 | for i = 1, 35 do | |
2898 | ORB.CFrame = ORB.CFrame * CF(0, 0, -ORB.Size.X / 1.5) | |
2899 | MagicSphere(ORB.Size * 1.1, 25, ORB.CFrame, BRICKC("Gold").Color, -ORB.Size / 35) | |
2900 | 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)) | |
2901 | killnearest(ORB.Position, ORB.Size.X * 2, 500) | |
2902 | Swait() | |
2903 | end | |
2904 | else | |
2905 | ORB:remove() | |
2906 | end | |
2907 | end)) | |
2908 | ATTACK = false | |
2909 | Rooted = false | |
2910 | coroutine.resume(coroutine.create(function() | |
2911 | for i = 1, 55 do | |
2912 | Swait() | |
2913 | CENTER.Size = CENTER.Size - VT(POWER, 0, POWER) | |
2914 | CENTER.CFrame = CENTER.CFrame * ANGLES(RAD(0), RAD(i), RAD(0)) | |
2915 | end | |
2916 | CENTER:remove() | |
2917 | end)) | |
2918 | end | |
2919 | end | |
2920 | end | |
2921 | ||
2922 | function Dead_Cutter() | |
2923 | local HITFLOOR,HITPOS,NORMAL = Raycast(RootPart.Position, (CF(RootPart.Position, RootPart.Position + VT(0, -1, 0))).lookVector, 7 * Player_Size, Character) | |
2924 | if HITFLOOR ~= nil then | |
2925 | ATTACK = true | |
2926 | Rooted = true | |
2927 | local RAIN = {} | |
2928 | local GYRO = IT("BodyGyro",RootPart) | |
2929 | GYRO.D = 100 | |
2930 | GYRO.P = 2000 | |
2931 | GYRO.MaxTorque = VT(0,4000000,0) | |
2932 | GYRO.cframe = CF(RootPart.Position,Mouse.Hit.p) | |
2933 | CreateSound("429459101", RightArm, 10, 0.8) | |
2934 | for i=0, 3.5, 0.1 / Animation_Speed do | |
2935 | Swait() | |
2936 | GYRO.cframe = CF(RootPart.Position,Mouse.Hit.p) | |
2937 | 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)) | |
2938 | 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) | |
2939 | 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) | |
2940 | 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) | |
2941 | 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) | |
2942 | 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) | |
2943 | 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) | |
2944 | end | |
2945 | GYRO:remove() | |
2946 | for i=0, 0.15, 0.1 / Animation_Speed do | |
2947 | Swait() | |
2948 | GYRO.cframe = CF(RootPart.Position,Mouse.Hit.p) | |
2949 | 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)) | |
2950 | 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) | |
2951 | 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) | |
2952 | 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) | |
2953 | 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) | |
2954 | 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) | |
2955 | 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) | |
2956 | end | |
2957 | local BOMBSPOTS = {} | |
2958 | for i = 1, 60 do | |
2959 | local SPOT = CreatePart(3, Effects, "Neon", 0, 0, "Relly blue", "Blade", VT(30,1,30)) | |
2960 | SPOT.Color = SKILLTEXTCOLOR | |
2961 | SPOT.CFrame = RootPart.CFrame*CF((MRANDOM(-15,15)/40)*i,-5,-i*5) | |
2962 | table.insert(BOMBSPOTS,SPOT) | |
2963 | MakeForm(SPOT,"Cyl") | |
2964 | Swait() | |
2965 | for i = 1, 3 do | |
2966 | coroutine.resume(coroutine.create(function() | |
2967 | local DROP = CreatePart(3, Effects, "Neon", 0, 0, "Really red", "Raindrop", VT(2 / 2, 2 / 2, 2 * 5)) | |
2968 | DROP.CFrame = CF(SPOT.Position + VT(MRANDOM(-SPOT.Size.X / 3, SPOT.Size.X / 3), 200, MRANDOM(-SPOT.Size.X / 3, SPOT.Size.X / 3)), SPOT.Position + VT(MRANDOM(-SPOT.Size.X / 2.5, SPOT.Size.X / 2.5), 0, MRANDOM(-SPOT.Size.X / 2.5, SPOT.Size.X / 2.5))) | |
2969 | table.insert(RAIN, DROP) | |
2970 | MakeForm(DROP, "Ball") | |
2971 | local IMPACT = false | |
2972 | for i = 1, 80 do | |
2973 | Swait() | |
2974 | DROP.CFrame = DROP.CFrame * CF(0, 0, -7) | |
2975 | local HIT = Raycast(DROP.Position, DROP.CFrame.lookVector, 6, Character) | |
2976 | if HIT ~= nil then | |
2977 | IMPACT = true | |
2978 | break | |
2979 | end | |
2980 | end | |
2981 | table.remove(RAIN, 1) | |
2982 | if IMPACT == true then | |
2983 | DROP.Transparency = 1 | |
2984 | MagicSphere(VT(0, 0, 0), 25, DROP.CFrame, BRICKC("Really red").Color, VT(2, 2, 2) / 2) | |
2985 | killnearest(DROP.Position, 2 * 5, 500) | |
2986 | Debris:AddItem(DROP, 5) | |
2987 | else | |
2988 | DROP:remove() | |
2989 | end | |
2990 | end)) | |
2991 | end | |
2992 | end | |
2993 | for i=0, 0.2, 0.1 / Animation_Speed do | |
2994 | Swait() | |
2995 | 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) | |
2996 | 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) | |
2997 | 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) | |
2998 | 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) | |
2999 | 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) | |
3000 | 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) | |
3001 | end | |
3002 | ATTACK = false | |
3003 | Rooted = false | |
3004 | coroutine.resume(coroutine.create(function() | |
3005 | Swait(3) | |
3006 | for i = 1, #BOMBSPOTS do | |
3007 | if BOMBSPOTS[i] ~= nil then | |
3008 | local E = BOMBSPOTS[i] | |
3009 | coroutine.resume(coroutine.create(function() | |
3010 | for i = 1, 10 do | |
3011 | Swait() | |
3012 | end | |
3013 | Swait(45) | |
3014 | for i = 1, 100 do | |
3015 | Swait() | |
3016 | end | |
3017 | E:remove() | |
3018 | end)) | |
3019 | end | |
3020 | end | |
3021 | end)) | |
3022 | end | |
3023 | end | |
3024 | ||
3025 | ||
3026 | function Ultimate_B() | |
3027 | local HITFLOOR, HITPOS, NORMAL = Raycast(RootPart.Position, CF(RootPart.Position, RootPart.Position + VT(0, -1, 0)).lookVector, 25, Character) | |
3028 | if HITFLOOR ~= nil then | |
3029 | do | |
3030 | local POWER = 3 | |
3031 | ATTACK = true | |
3032 | Rooted = true | |
3033 | local CENTER = MagicRing() | |
3034 | CENTER.CFrame = CF(HITPOS + VT(0, 0.1, 0)) | |
3035 | CreateSound("424777055", CENTER, 10, 1) | |
3036 | local RAIN = {} | |
3037 | for i = 1, 55 do | |
3038 | Swait() | |
3039 | CENTER.Size = CENTER.Size + VT(POWER, 0, POWER) / 3 | |
3040 | CENTER.CFrame = CENTER.CFrame * ANGLES(RAD(0), RAD(i), RAD(0)) | |
3041 | 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) | |
3042 | 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) | |
3043 | 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) | |
3044 | 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) | |
3045 | 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) | |
3046 | 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) | |
3047 | end | |
3048 | local MAXDIST = 30 | |
3049 | local DIRECTION = CF(RootPart.Position, VT(Mouse.Hit.p.X, HITPOS.Y, Mouse.Hit.p.Z)).lookVector | |
3050 | local HITFLOOR2, HITPOS2 = Raycast(RootPart.Position, DIRECTION, MAXDIST, Character) | |
3051 | local HITFLOOR3, HITPOS3 = Raycast(HITPOS2, CF(HITPOS2 + VT(0, 1, 0), HITPOS2 + VT(0, -1, 0)).lookVector, MAXDIST, Character) | |
3052 | local ORB = CreatePart(3, Effects, "Neon", 0, 1, "Gold", "ORB", VT(4, 4, 4)) | |
3053 | MakeForm(ORB, "Ball") | |
3054 | CreateSound("201858045", ORB, 10, 0.5) | |
3055 | for i = 0, 1, 0.1 / Animation_Speed do | |
3056 | Swait() | |
3057 | ORB.CFrame = RootPart.CFrame * CF(0, 10 + POWER * 3, 0) | |
3058 | ORB.Transparency = 0 | |
3059 | ORB.Size = ORB.Size + VT(POWER, POWER, POWER) / 7 | |
3060 | local POS = HITPOS + VT(MRANDOM(-CENTER.Size.X / 3, CENTER.Size.X / 3), 0, MRANDOM(-CENTER.Size.X / 3, CENTER.Size.X / 3)) | |
3061 | local RANGE = (POS - RootPart.CFrame * CF(0, 10 + POWER * 3, 0).p).Magnitude | |
3062 | 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) | |
3063 | 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) | |
3064 | 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) | |
3065 | 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) | |
3066 | 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) | |
3067 | 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) | |
3068 | end | |
3069 | coroutine.resume(coroutine.create(function() | |
3070 | ORB.CFrame = CF(ORB.Position, HITPOS3) | |
3071 | local IMPACT = false | |
3072 | for i = 1, 400 do | |
3073 | Swait() | |
3074 | ORB.CFrame = ORB.CFrame * CF(0, 0, -1) | |
3075 | local HIT = Raycast(ORB.Position, ORB.CFrame.lookVector, ORB.Size.X / 2.2, Character) | |
3076 | if HIT ~= nil then | |
3077 | IMPACT = true | |
3078 | break | |
3079 | end | |
3080 | end | |
3081 | if IMPACT == true then | |
3082 | ORB.Transparency = 1 | |
3083 | local FRONT = ORB.CFrame * CF(0, 0, -1).p | |
3084 | ORB.CFrame = CF(ORB.Position, VT(FRONT.X, ORB.Position.Y, FRONT.Z)) | |
3085 | for i = 1, 35 do | |
3086 | ORB.CFrame = ORB.CFrame * CF(0, 0, -ORB.Size.X / 1.5) | |
3087 | MagicSphere(ORB.Size * 1.1, 25, ORB.CFrame, BRICKC("Gold").Color, -ORB.Size / 35) | |
3088 | 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)) | |
3089 | killnearest(ORB.Position, ORB.Size.X * 2, 500) | |
3090 | Swait() | |
3091 | end | |
3092 | else | |
3093 | ORB:remove() | |
3094 | end | |
3095 | end)) | |
3096 | for i = 1, 70 do | |
3097 | Swait() | |
3098 | coroutine.resume(coroutine.create(function() | |
3099 | local DROP = CreatePart(3, Effects, "Neon", 0, 0, "Gold", "Raindrop", VT(POWER / 2, POWER / 2, POWER * 5)) | |
3100 | DROP.CFrame = CF(ORB.Position + VT(MRANDOM(-ORB.Size.X / 3, ORB.Size.X / 3), 200, MRANDOM(-ORB.Size.X / 3, ORB.Size.X / 3)), ORB.Position + VT(MRANDOM(-ORB.Size.X / 2.5, ORB.Size.X / 2.5), 0, MRANDOM(-ORB.Size.X / 2.5, ORB.Size.X / 2.5))) | |
3101 | table.insert(RAIN, DROP) | |
3102 | particles(DROP) | |
3103 | MakeForm(DROP, "Ball") | |
3104 | local IMPACT = false | |
3105 | for i = 1, 80 do | |
3106 | Swait() | |
3107 | DROP.CFrame = DROP.CFrame * CF(0, 0, -7) | |
3108 | local HIT = Raycast(DROP.Position, DROP.CFrame.lookVector, 6, Character) | |
3109 | if HIT ~= nil then | |
3110 | IMPACT = true | |
3111 | break | |
3112 | end | |
3113 | end | |
3114 | table.remove(RAIN, 1) | |
3115 | if IMPACT == true then | |
3116 | DROP.Transparency = 1 | |
3117 | DROP.OVERLORDAURA.Enabled = false | |
3118 | MagicSphere(VT(0, 0, 0), 25, DROP.CFrame, BRICKC("Gold").Color, VT(POWER, POWER, POWER) / 2) | |
3119 | killnearest(DROP.Position, POWER * 5, 500) | |
3120 | Debris:AddItem(DROP, 5) | |
3121 | else | |
3122 | DROP:remove() | |
3123 | end | |
3124 | end)) | |
3125 | end | |
3126 | ATTACK = false | |
3127 | Rooted = false | |
3128 | coroutine.resume(coroutine.create(function() | |
3129 | for i = 1, 55 do | |
3130 | Swait() | |
3131 | CENTER.Size = CENTER.Size - VT(POWER, 0, POWER) | |
3132 | CENTER.CFrame = CENTER.CFrame * ANGLES(RAD(0), RAD(i), RAD(0)) | |
3133 | end | |
3134 | CENTER:remove() | |
3135 | end)) | |
3136 | end | |
3137 | end | |
3138 | end | |
3139 | ||
3140 | function Dolor_Pluvia() | |
3141 | local POWER = LEVEL | |
3142 | local CENTER = MagicRing() | |
3143 | CENTER.CFrame = CF(Mouse.Hit.p) | |
3144 | CreateSound("424777055", CENTER, 10, 1) | |
3145 | local RAIN = {} | |
3146 | for i = 1, 45 do | |
3147 | Swait() | |
3148 | CENTER.Size = CENTER.Size + VT(POWER, 0, POWER) | |
3149 | CENTER.CFrame = CENTER.CFrame * ANGLES(RAD(0), RAD(i), RAD(0)) | |
3150 | end | |
3151 | for i = 1, 35 do | |
3152 | Swait() | |
3153 | coroutine.resume(coroutine.create(function() | |
3154 | local DROP = CreatePart(3, Effects, "Neon", 0, 0, "Gold", "Raindrop", VT(POWER / 2, POWER / 2, POWER * 5)) | |
3155 | 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))) | |
3156 | table.insert(RAIN, DROP) | |
3157 | particles(DROP) | |
3158 | MakeForm(DROP, "Ball") | |
3159 | local IMPACT = false | |
3160 | for i = 1, 80 do | |
3161 | Swait() | |
3162 | DROP.CFrame = DROP.CFrame * CF(0, 0, -7) | |
3163 | local HIT = Raycast(DROP.Position, DROP.CFrame.lookVector, 6, Character) | |
3164 | if HIT ~= nil then | |
3165 | IMPACT = true | |
3166 | break | |
3167 | end | |
3168 | end | |
3169 | table.remove(RAIN, 1) | |
3170 | if IMPACT == true then | |
3171 | DROP.Transparency = 1 | |
3172 | DROP.OVERLORDAURA.Enabled = false | |
3173 | MagicSphere(VT(0, 0, 0), 25, DROP.CFrame, BRICKC("Gold").Color, VT(POWER, POWER, POWER) / 2) | |
3174 | killnearest(DROP.Position, POWER * 5, 500) | |
3175 | Debris:AddItem(DROP, 5) | |
3176 | else | |
3177 | DROP:remove() | |
3178 | end | |
3179 | end)) | |
3180 | end | |
3181 | repeat | |
3182 | Swait() | |
3183 | until #RAIN == 0 | |
3184 | for i = 1, 45 do | |
3185 | Swait() | |
3186 | CENTER.Size = CENTER.Size - VT(POWER, 0, POWER) | |
3187 | CENTER.CFrame = CENTER.CFrame * ANGLES(RAD(0), RAD(i), RAD(0)) | |
3188 | end | |
3189 | CENTER:remove() | |
3190 | end | |
3191 | ||
3192 | function Ultimate_Z() | |
3193 | local POWER = 5 | |
3194 | local CENTER = MagicRing() | |
3195 | CENTER.CFrame = CF(Mouse.Hit.p) | |
3196 | CreateSound("424777055", CENTER, 10, 1) | |
3197 | local RAIN = {} | |
3198 | for i = 1, 45 do | |
3199 | Swait() | |
3200 | CENTER.Size = CENTER.Size + VT(POWER, 0, POWER) | |
3201 | CENTER.CFrame = CENTER.CFrame * ANGLES(RAD(0), RAD(i), RAD(0)) | |
3202 | end | |
3203 | for i = 1, 100 do | |
3204 | Swait() | |
3205 | coroutine.resume(coroutine.create(function() | |
3206 | local DROP = CreatePart(3, Effects, "Neon", 0, 0, "Gold", "Raindrop", VT(POWER / 2, POWER / 2, POWER * 5)) | |
3207 | 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))) | |
3208 | table.insert(RAIN, DROP) | |
3209 | particles(DROP) | |
3210 | MakeForm(DROP, "Ball") | |
3211 | local IMPACT = false | |
3212 | for i = 1, 80 do | |
3213 | Swait() | |
3214 | DROP.CFrame = DROP.CFrame * CF(0, 0, -7) | |
3215 | local HIT = Raycast(DROP.Position, DROP.CFrame.lookVector, 6, Character) | |
3216 | if HIT ~= nil then | |
3217 | IMPACT = true | |
3218 | break | |
3219 | end | |
3220 | end | |
3221 | table.remove(RAIN, 1) | |
3222 | if IMPACT == true then | |
3223 | DROP.Transparency = 1 | |
3224 | DROP.OVERLORDAURA.Enabled = false | |
3225 | MagicSphere(VT(0, 0, 0), 25, DROP.CFrame, BRICKC("Gold").Color, VT(POWER, POWER, POWER) / 2) | |
3226 | killnearest(DROP.Position, POWER * 5, 500) | |
3227 | Debris:AddItem(DROP, 5) | |
3228 | else | |
3229 | DROP:remove() | |
3230 | end | |
3231 | end)) | |
3232 | end | |
3233 | repeat | |
3234 | Swait() | |
3235 | until #RAIN == 0 | |
3236 | for i = 1, 45 do | |
3237 | Swait() | |
3238 | CENTER.Size = CENTER.Size - VT(POWER, 0, POWER) | |
3239 | CENTER.CFrame = CENTER.CFrame * ANGLES(RAD(0), RAD(i), RAD(0)) | |
3240 | end | |
3241 | CENTER:remove() | |
3242 | end | |
3243 | ||
3244 | function Ultima_Consummatio() | |
3245 | local HITFLOOR, HITPOS, NORMAL = Raycast(RootPart.Position, CF(RootPart.Position, RootPart.Position + VT(0, -1, 0)).lookVector, 7, Character) | |
3246 | if HITFLOOR ~= nil then | |
3247 | do | |
3248 | local POWER = LEVEL | |
3249 | ATTACK = true | |
3250 | Rooted = true | |
3251 | if POWER <= 6 then | |
3252 | do | |
3253 | local CENTER = MagicRing() | |
3254 | CENTER.CFrame = CF(HITPOS + VT(0, 0.1, 0)) | |
3255 | CreateSound("424777055", CENTER, 10, 1) | |
3256 | local RAIN = {} | |
3257 | for i = 1, 65 do | |
3258 | Swait() | |
3259 | CENTER.Size = CENTER.Size + VT(POWER, 0, POWER) | |
3260 | CENTER.CFrame = CENTER.CFrame * ANGLES(RAD(0), RAD(i), RAD(0)) | |
3261 | 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) | |
3262 | 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) | |
3263 | 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) | |
3264 | 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) | |
3265 | 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) | |
3266 | 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) | |
3267 | end | |
3268 | local ORB = CreatePart(3, Effects, "Neon", 0, 1, "Gold", "ORB", VT(4, 4, 4)) | |
3269 | MakeForm(ORB, "Ball") | |
3270 | CreateSound("201858045", ORB, 10, 0.5) | |
3271 | for i = 0, 5, 0.1 / Animation_Speed do | |
3272 | Swait() | |
3273 | ORB.CFrame = RootPart.CFrame * CF(0, 5 + ORB.Size.Y / 2, 0) | |
3274 | ORB.Size = ORB.Size + VT(POWER, POWER, POWER) / 10 | |
3275 | ORB.Transparency = 0 | |
3276 | local POS = HITPOS + VT(MRANDOM(-CENTER.Size.X / 3, CENTER.Size.X / 3), 0, MRANDOM(-CENTER.Size.X / 3, CENTER.Size.X / 3)) | |
3277 | local RANGE = (POS - ORB.Position).Magnitude | |
3278 | local ZAPTABLE = Zap({ | |
3279 | StartPosition = POS, | |
3280 | TargetPosition = ORB.Position, | |
3281 | Character = workspace, | |
3282 | Color = "Gold", | |
3283 | Individual = true, | |
3284 | MaxRange = RANGE, | |
3285 | SegmentLength = POWER * 2, | |
3286 | Offset = 1 | |
3287 | }) | |
3288 | Debris:AddItem(ZAPTABLE.LightningModel, 0.1) | |
3289 | 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) | |
3290 | 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) | |
3291 | 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) | |
3292 | 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) | |
3293 | 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) | |
3294 | 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) | |
3295 | end | |
3296 | coroutine.resume(coroutine.create(function() | |
3297 | if POWER <= 3 then | |
3298 | local AIMPOS = Mouse.Hit.p | |
3299 | local O1 = MagicRing() | |
3300 | local O2 = MagicRing() | |
3301 | local O3 = MagicRing() | |
3302 | O1.CFrame = CF(ORB.Position, AIMPOS) * ANGLES(RAD(90), RAD(0), RAD(0)) * CF(0, -ORB.Size.X, 0) | |
3303 | O2.CFrame = CF(ORB.Position, AIMPOS) * ANGLES(RAD(90), RAD(0), RAD(0)) * CF(0, -ORB.Size.X + ORB.Size.X / 4, 0) | |
3304 | O3.CFrame = CF(ORB.Position, AIMPOS) * ANGLES(RAD(90), RAD(0), RAD(0)) * CF(0, -ORB.Size.X + ORB.Size.X / 8, 0) | |
3305 | for i = 1, 25 do | |
3306 | Swait() | |
3307 | O1.Size = O1.Size + VT(POWER, 0, POWER) | |
3308 | O2.Size = O2.Size + VT(POWER, 0, POWER) / 1.5 | |
3309 | O3.Size = O3.Size + VT(POWER, 0, POWER) / 2 | |
3310 | end | |
3311 | local DIST = (ORB.Position - AIMPOS).Magnitude | |
3312 | for i = 1, 75 do | |
3313 | Swait(3) | |
3314 | 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) | |
3315 | killnearest(ORB.Position, ORB.Size.X, 200) | |
3316 | local ZAPTABLE = Zap({ | |
3317 | SIZE = POWER * 2, | |
3318 | StartPosition = ORB.Position, | |
3319 | TargetPosition = AIMPOS + VT(MRANDOM(-POWER * 15, POWER * 15), 0, MRANDOM(-POWER * 15, POWER * 15)) * 2, | |
3320 | Character = Character, | |
3321 | Color = "Gold", | |
3322 | Individual = true, | |
3323 | MaxRange = POWER * 400, | |
3324 | SegmentLength = DIST / 25, | |
3325 | Offset = 3 + DIST / 350 | |
3326 | }) | |
3327 | Debris:AddItem(ZAPTABLE.LightningModel, 0.1) | |
3328 | MagicSphere(ORB.Size * 1.1, 25, CF(ZAPTABLE.RayPos), BRICKC("Gold").Color, ORB.Size / 15) | |
3329 | killnearest(ZAPTABLE.RayPos, POWER * 45, 60) | |
3330 | 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)) | |
3331 | end | |
3332 | local SIZE = ORB.Size | |
3333 | for i = 1, 25 do | |
3334 | Swait() | |
3335 | ORB.Size = ORB.Size - SIZE / 25 | |
3336 | O1.Size = O1.Size - VT(POWER, 0, POWER) | |
3337 | O2.Size = O2.Size - VT(POWER, 0, POWER) / 1.5 | |
3338 | O3.Size = O3.Size - VT(POWER, 0, POWER) / 2 | |
3339 | end | |
3340 | ORB:remove() | |
3341 | O1:remove() | |
3342 | O2:remove() | |
3343 | O3:remove() | |
3344 | elseif POWER > 3 then | |
3345 | local O1 = MagicRing() | |
3346 | local O2 = MagicRing() | |
3347 | local O3 = MagicRing() | |
3348 | O1.CFrame = CF(ORB.Position, Mouse.Hit.p) * ANGLES(RAD(90), RAD(0), RAD(0)) * CF(0, -ORB.Size.X, 0) | |
3349 | 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) | |
3350 | 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) | |
3351 | for i = 1, 25 do | |
3352 | Swait() | |
3353 | O1.CFrame = CF(ORB.Position, Mouse.Hit.p) * ANGLES(RAD(90), RAD(0), RAD(0)) * CF(0, -ORB.Size.X, 0) | |
3354 | 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) | |
3355 | 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) | |
3356 | O1.Size = O1.Size + VT(POWER, 0, POWER) | |
3357 | O2.Size = O2.Size + VT(POWER, 0, POWER) / 1.5 | |
3358 | O3.Size = O3.Size + VT(POWER, 0, POWER) / 2 | |
3359 | end | |
3360 | for i = 1, 75 do | |
3361 | for i = 1, 5 do | |
3362 | Swait() | |
3363 | O1.CFrame = CF(ORB.Position, Mouse.Hit.p) * ANGLES(RAD(90), RAD(0), RAD(0)) * CF(0, -ORB.Size.X, 0) | |
3364 | 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) | |
3365 | 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) | |
3366 | end | |
3367 | killnearest(ORB.Position, ORB.Size.X, 200) | |
3368 | 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) | |
3369 | local DIST = (ORB.Position - Mouse.Hit.p).Magnitude | |
3370 | local ZAPTABLE = Zap({ | |
3371 | SIZE = POWER, | |
3372 | StartPosition = ORB.Position, | |
3373 | TargetPosition = Mouse.Hit.p, | |
3374 | Character = Character, | |
3375 | Color = "Gold", | |
3376 | Individual = true, | |
3377 | MaxRange = POWER * 400, | |
3378 | SegmentLength = DIST / 25, | |
3379 | Offset = 3 + DIST / 350 | |
3380 | }) | |
3381 | Debris:AddItem(ZAPTABLE.LightningModel, 0.1) | |
3382 | MagicSphere(ORB.Size * 1.1, 25, CF(ZAPTABLE.RayPos), BRICKC("Gold").Color, ORB.Size / 15) | |
3383 | killnearest(ZAPTABLE.RayPos, POWER * 45, 60) | |
3384 | 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)) | |
3385 | end | |
3386 | local SIZE = ORB.Size | |
3387 | for i = 1, 25 do | |
3388 | Swait() | |
3389 | ORB.Size = ORB.Size - SIZE / 25 | |
3390 | O1.Size = O1.Size - VT(POWER, 0, POWER) | |
3391 | O2.Size = O2.Size - VT(POWER, 0, POWER) / 1.5 | |
3392 | O3.Size = O3.Size - VT(POWER, 0, POWER) / 2 | |
3393 | end | |
3394 | ORB:remove() | |
3395 | O1:remove() | |
3396 | O2:remove() | |
3397 | O3:remove() | |
3398 | end | |
3399 | coroutine.resume(coroutine.create(function() | |
3400 | for i = 1, 65 do | |
3401 | Swait() | |
3402 | CENTER.Size = CENTER.Size - VT(POWER, 0, POWER) | |
3403 | CENTER.CFrame = CENTER.CFrame * ANGLES(RAD(0), RAD(i), RAD(0)) | |
3404 | end | |
3405 | CENTER:remove() | |
3406 | end)) | |
3407 | end)) | |
3408 | end | |
3409 | elseif POWER > 6 then | |
3410 | do | |
3411 | local FINISHED = false | |
3412 | local YIN = CreatePart(3, Effects, "Neon", 0, 0, "Pearl", "YIN", VT(25, 25, 25)) | |
3413 | local YAN = CreatePart(3, Effects, "Neon", 0, 0, "Gold", "YAN", VT(65, 25, 65)) | |
3414 | coroutine.resume(coroutine.create(function() | |
3415 | local LOOP = 0 | |
3416 | repeat | |
3417 | YIN.CFrame = CF(HITPOS + VT(0, 500, 0)) * ANGLES(RAD(0), RAD(LOOP), RAD(0)) * CF(0, 0, 200) | |
3418 | YAN.CFrame = CF(HITPOS + VT(0, 500, 0)) * ANGLES(RAD(0), RAD(LOOP), RAD(0)) * CF(0, 0, -200) | |
3419 | LOOP = LOOP + 5 | |
3420 | MagicSphere(VT(500, 5, 500), 65, CF(YIN.Position), BRICKC("Gold").Color, VT(-1, -0.001, -1) * 2) | |
3421 | MagicSphere(VT(500, 5, 500), 65, CF(YAN.Position), C3(1, 1, 1), VT(-1, -0.001, -1) * 2) | |
3422 | Swait() | |
3423 | until FINISHED == true | |
3424 | YIN:remove() | |
3425 | YAN:remove() | |
3426 | end)) | |
3427 | CreateSound("438666077", Effects, 10, 1) | |
3428 | for i = 0, 1, 0.1 / Animation_Speed do | |
3429 | Swait() | |
3430 | 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) | |
3431 | 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) | |
3432 | 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) | |
3433 | 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) | |
3434 | 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) | |
3435 | 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) | |
3436 | end | |
3437 | local ORB = CreatePart(3, Effects, "Neon", 0, 0, "Gold", "ORB", VT(6, 6, 6)) | |
3438 | MakeForm(ORB, "Ball") | |
3439 | ORB.CFrame = CF(HITPOS + VT(0, 150, 0)) | |
3440 | for i = 0, 8, 0.1 / Animation_Speed do | |
3441 | Swait() | |
3442 | if MRANDOM(1, 8) == 1 then | |
3443 | local RANGE1 = (ORB.Position - YIN.Position).Magnitude | |
3444 | local RANGE2 = (ORB.Position - YAN.Position).Magnitude | |
3445 | local ZAPTABLE1 = Zap({ | |
3446 | SIZE = POWER / 3, | |
3447 | StartPosition = YIN.Position, | |
3448 | TargetPosition = ORB.Position, | |
3449 | Character = workspace, | |
3450 | Color = "Pearl", | |
3451 | Individual = true, | |
3452 | MaxRange = RANGE1, | |
3453 | SegmentLength = 25, | |
3454 | Offset = 6 | |
3455 | }) | |
3456 | local ZAPTABLE2 = Zap({ | |
3457 | SIZE = POWER / 3, | |
3458 | StartPosition = YAN.Position, | |
3459 | TargetPosition = ORB.Position, | |
3460 | Character = workspace, | |
3461 | Color = "Gold", | |
3462 | Individual = true, | |
3463 | MaxRange = RANGE1, | |
3464 | SegmentLength = 25, | |
3465 | Offset = 6 | |
3466 | }) | |
3467 | Debris:AddItem(ZAPTABLE1.LightningModel, 0.1) | |
3468 | Debris:AddItem(ZAPTABLE2.LightningModel, 0.1) | |
3469 | end | |
3470 | ORB.Size = ORB.Size + VT(POWER, POWER, POWER) / 15 | |
3471 | 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) | |
3472 | 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) | |
3473 | 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) | |
3474 | 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) | |
3475 | 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) | |
3476 | 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) | |
3477 | end | |
3478 | FINISHED = true | |
3479 | coroutine.resume(coroutine.create(function() | |
3480 | for i = 1, 6 do | |
3481 | for e = 1, 10 do | |
3482 | Swait() | |
3483 | 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)) | |
3484 | ORB.Size = ORB.Size * 0.97 | |
3485 | killnearest(ORB.Position, ORB.Size.X * 3, 200) | |
3486 | 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)) | |
3487 | end | |
3488 | local POS = ORB.Position | |
3489 | for i = 1, 5 do | |
3490 | 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) | |
3491 | end | |
3492 | 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)) | |
3493 | for e = 1, 10 do | |
3494 | Swait() | |
3495 | if MRANDOM(1, 5) == 1 then | |
3496 | local POS = CF(ORB.Position) * ANGLES(RAD(MRANDOM(-180, 180)), RAD(MRANDOM(-180, 180)), RAD(MRANDOM(-180, 180))) * CF(0, 0, -POWER * 25).p | |
3497 | local ZAPTABLE = Zap({ | |
3498 | SIZE = POWER, | |
3499 | StartPosition = ORB.Position, | |
3500 | TargetPosition = POS, | |
3501 | Character = workspace, | |
3502 | Color = "Gold", | |
3503 | Individual = true, | |
3504 | MaxRange = POWER * 75, | |
3505 | SegmentLength = POWER * 5, | |
3506 | Offset = 3 | |
3507 | }) | |
3508 | Debris:AddItem(ZAPTABLE.LightningModel, 0.1) | |
3509 | end | |
3510 | ORB.Size = ORB.Size * 1.05 | |
3511 | killnearest(ORB.Position, ORB.Size.X * 3, 200) | |
3512 | 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)) | |
3513 | end | |
3514 | end | |
3515 | local POS = ORB.Position | |
3516 | for e = 1, 10 do | |
3517 | Swait() | |
3518 | ORB.Transparency = ORB.Transparency + 0.1 | |
3519 | end | |
3520 | ORB:remove() | |
3521 | killnearest(POS, POWER * 35, 200) | |
3522 | for i = 1, 5 do | |
3523 | 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) | |
3524 | end | |
3525 | 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)) | |
3526 | end)) | |
3527 | end | |
3528 | end | |
3529 | ATTACK = false | |
3530 | Rooted = false | |
3531 | end | |
3532 | end | |
3533 | end | |
3534 | ||
3535 | function Hop() | |
3536 | ATTACK = true | |
3537 | Rooted = false | |
3538 | local O1 = MagicRing() | |
3539 | local O2 = MagicRing() | |
3540 | local POS = VT(RootPart.Position.X, Mouse.Hit.p.Y + 6, RootPart.Position.Z) | |
3541 | O1.CFrame = RootPart.CFrame * CF(0, 0, -3) * ANGLES(RAD(90), RAD(0), RAD(0)) | |
3542 | O2.CFrame = CF(Mouse.Hit.p + VT(0, 6, 0), POS) * ANGLES(RAD(90), RAD(0), RAD(0)) | |
3543 | local ROOT = CreatePart(3, Effects, "Neon", 0, 1, "Really red", "Warphole", VT(0, 0, 0)) | |
3544 | ROOT.CFrame = CF(O2.Position, RootPart.Position) | |
3545 | CreateSound("814168787", O1, 10, 0.7) | |
3546 | CreateSound("814168787", O2, 10, 0.7) | |
3547 | for i = 1, 75 do | |
3548 | Swait() | |
3549 | O1.Size = O1.Size + VT(0.15, 0, 0.15) | |
3550 | O1.CFrame = RootPart.CFrame * CF(0, 0, -3) * ANGLES(RAD(90), RAD(i), RAD(0)) | |
3551 | O2.Size = O2.Size + VT(0.15, 0, 0.15) | |
3552 | O2.CFrame = O2.CFrame * ANGLES(RAD(0), RAD(i), RAD(0)) | |
3553 | 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) | |
3554 | 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) | |
3555 | 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) | |
3556 | 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) | |
3557 | 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) | |
3558 | 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) | |
3559 | end | |
3560 | Rooted = true | |
3561 | UNANCHOR = false | |
3562 | RootPart.Anchored = true | |
3563 | VALUE1 = true | |
3564 | for i = 1, 15 do | |
3565 | Transparency(i / 15) | |
3566 | Swait() | |
3567 | RootPart.CFrame = RootPart.CFrame * CF(0, 0, -0.13) | |
3568 | 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) | |
3569 | 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) | |
3570 | 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) | |
3571 | 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) | |
3572 | 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) | |
3573 | 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) | |
3574 | end | |
3575 | RootPart.CFrame = ROOT.CFrame | |
3576 | ROOT:remove() | |
3577 | for i = 1, 15 do | |
3578 | Transparency(1 - i / 15) | |
3579 | Swait() | |
3580 | RootPart.CFrame = RootPart.CFrame * CF(0, 0, -0.5) | |
3581 | 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) | |
3582 | 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) | |
3583 | 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) | |
3584 | 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) | |
3585 | 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) | |
3586 | 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) | |
3587 | end | |
3588 | VALUE1 = false | |
3589 | coroutine.resume(coroutine.create(function() | |
3590 | for i = 1, 75 do | |
3591 | Swait() | |
3592 | O1.Size = O1.Size - VT(0.15, 0, 0.15) | |
3593 | O1.CFrame = O1.CFrame * ANGLES(RAD(0), RAD(i), RAD(0)) | |
3594 | O2.Size = O2.Size - VT(0.15, 0, 0.15) | |
3595 | O2.CFrame = O2.CFrame * ANGLES(RAD(0), RAD(i), RAD(0)) | |
3596 | end | |
3597 | O1:remove() | |
3598 | O2:remove() | |
3599 | end)) | |
3600 | UNANCHOR = true | |
3601 | RootPart.Anchored = false | |
3602 | ATTACK = false | |
3603 | Rooted = false | |
3604 | end | |
3605 | ||
3606 | local ATANIM = IT("Animation") | |
3607 | ATANIM.Name = "Attack Animation" | |
3608 | ATANIM.AnimationId = "http://www.roblox.com/asset/?id=74894663" | |
3609 | ||
3610 | function SummonHop() | |
3611 | local HITFLOOR, HITPOS, NORMAL = Raycast(RootPart.Position, CF(RootPart.Position, RootPart.Position + VT(0, -1, 0)).lookVector, 25, Character) | |
3612 | if HITFLOOR ~= nil then | |
3613 | ATTACK = true | |
3614 | Rooted = false | |
3615 | local O1 = MagicRing() | |
3616 | local O2 = MagicRing() | |
3617 | local POS = VT(RootPart.Position.X, Mouse.Hit.p.Y + 6, RootPart.Position.Z) | |
3618 | O1.CFrame = RootPart.CFrame * CF(0, 0, -3) * ANGLES(RAD(90), RAD(0), RAD(0)) | |
3619 | O2.CFrame = CF(Mouse.Hit.p) | |
3620 | local ROOT = CreatePart(3, Effects, "Neon", 0, 1, "Really red", "Warphole", VT(0, 0, 0)) | |
3621 | ROOT.CFrame = CF(O2.Position, RootPart.Position) | |
3622 | CreateSound("814168787", O1, 10, 0.7) | |
3623 | CreateSound("814168787", O2, 10, 0.7) | |
3624 | for i = 1, 75 do | |
3625 | Swait() | |
3626 | O1.Size = O1.Size + VT(0.15, 0, 0.15) | |
3627 | O1.CFrame = RootPart.CFrame * CF(0, 0, -3) * ANGLES(RAD(90), RAD(i), RAD(0)) | |
3628 | O2.Size = O2.Size + VT(0.15, 0, 0.15) | |
3629 | O2.CFrame = O2.CFrame * ANGLES(RAD(0), RAD(i), RAD(0)) | |
3630 | 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) | |
3631 | 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) | |
3632 | 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) | |
3633 | 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) | |
3634 | 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) | |
3635 | 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) | |
3636 | end | |
3637 | Rooted = true | |
3638 | UNANCHOR = false | |
3639 | RootPart.Anchored = true | |
3640 | VALUE1 = true | |
3641 | local RANDOMEFFECT = MRANDOM(1,1) | |
3642 | if RANDOMEFFECT == 1 then | |
3643 | for i = 1, 10 do | |
3644 | wait(0.15) | |
3645 | WACKYEFFECT({Time = 15, EffectType = "Sphere", Size = VT(0,0,0), Size2 = VT(3,8,3), Transparency = 0, Transparency2 = 1, CFrame = O2.CFrame*CF(0,0.3,0), MoveToPos = O2.Position+VT(0,6,0), RotationX = 0, RotationY = 0, RotationZ = 0, Material = "Neon", Color = C3(0,0,0), SoundID = 90655239, SoundPitch = 0.8, SoundVolume = 6}) | |
3646 | coroutine.resume(coroutine.create(function() | |
3647 | local MINION = CLONE:Clone() | |
3648 | MINION.Parent = Effects | |
3649 | MINION.Name = "Shadow" | |
3650 | MINION.HumanoidRootPart.CFrame = O2.CFrame*CF(0,5,0) * ANGLES(RAD(0), RAD(MRANDOM(0,360)), RAD(0)) | |
3651 | MINION.HumanoidRootPart.Velocity = CF(MINION.HumanoidRootPart.Position,MINION.HumanoidRootPart.CFrame*CF(0,8,-15).p).lookVector*MRANDOM(55,100) | |
3652 | for _, c in pairs(MINION:GetChildren()) do | |
3653 | if c.ClassName == "Part" then | |
3654 | c.Material = "Neon" | |
3655 | c.Color = C3(0,0,0) | |
3656 | c.Transparency = 0.25 | |
3657 | if c.Name == "Head" then | |
3658 | c:ClearAllChildren() | |
3659 | local MSH = IT("BlockMesh",c) | |
3660 | MSH.Scale = VT(0.5,1,1) | |
3661 | end | |
3662 | end | |
3663 | end | |
3664 | local TORSO = MINION.Torso | |
3665 | local HUMAN = MINION.Humanoid | |
3666 | HUMAN.WalkSpeed = 20 | |
3667 | HUMAN.MaxHealth = math.huge | |
3668 | HUMAN.Health = math.huge | |
3669 | HUMAN.DisplayDistanceType = "None" | |
3670 | HUMAN.Died:connect(function() | |
3671 | MINION:remove() | |
3672 | --CreateSound(SHOUTS[MRANDOM(1,3)], TORSO, 3, 0.5, false) | |
3673 | end) | |
3674 | wait(1) | |
3675 | local findNearestTorso = function(POS) | |
3676 | local list = game.Workspace:GetDescendants() | |
3677 | local torso = nil | |
3678 | local dist = 500 | |
3679 | local temp = nil | |
3680 | local human = nil | |
3681 | local temp2 = nil | |
3682 | for x = 1, #list do | |
3683 | temp2 = list[x] | |
3684 | if (temp2.className == "Model") and (temp2 ~= Character) and (temp2.Parent ~= Effects) then | |
3685 | temp = temp2:findFirstChild("Torso") or temp2:findFirstChild("UpperTorso") | |
3686 | human = temp2:findFirstChildOfClass("Humanoid") | |
3687 | if (temp ~= nil) and (human ~= nil) and (human.Health > 0) then | |
3688 | if (temp.Position - POS).magnitude < dist then | |
3689 | torso = temp | |
3690 | dist = (temp.Position - POS).magnitude | |
3691 | end | |
3692 | end | |
3693 | end | |
3694 | end | |
3695 | return torso, dist | |
3696 | end | |
3697 | for i = 1, 20 do | |
3698 | if HUMAN.Health == 0 then | |
3699 | break | |
3700 | end | |
3701 | wait(0.3) | |
3702 | local target,dist= findNearestTorso(TORSO.Position) | |
3703 | if target then | |
3704 | HUMAN:MoveTo(target.Position) | |
3705 | if dist < 25 then | |
3706 | CreateSound(348663022, TORSO, 10, 1, true) | |
3707 | wait(2) | |
3708 | local ANIM = HUMAN:LoadAnimation(ATANIM) | |
3709 | ANIM:Play() | |
3710 | --CreateSound(SHOUTS[MRANDOM(1,3)], TORSO, 1, 1, false) | |
3711 | killnearest(TORSO.Position,10,85) | |
3712 | WACKYEFFECT({Time = 15, EffectType = "Sphere", Size = VT(5,5,5), Size2 = VT(25,25,25), Transparency = 0, Transparency2 = 1, CFrame = TORSO.CFrame, MoveToPos = nil, RotationX = 0, RotationY = 0, RotationZ = 0, Material = "Neon", Color = SKILLTEXTCOLOR, SoundID = 201858087, SoundPitch = 0.8, SoundVolume = 10}) | |
3713 | for i = 1, 5 do | |
3714 | WACKYEFFECT({Time = 75, EffectType = "Wave", Size = VT(5,0,5)*SIZE, Size2 = VT(15,1,15), Transparency = 0.5, Transparency2 = 1, CFrame = TORSO.CFrame * ANGLES(RAD(MRANDOM(0,360)), RAD(MRANDOM(0,360)), RAD(MRANDOM(0,360))), MoveToPos = nil, RotationX = 0, RotationY = MRANDOM(-15,15)/7.5, RotationZ = 0, Material = "Neon", Color = C3(0,0,0), SoundID = nil, SoundPitch = 0.5, SoundVolume = 6}) | |
3715 | end | |
3716 | break | |
3717 | end | |
3718 | end | |
3719 | end | |
3720 | MINION:remove() | |
3721 | end)) | |
3722 | end | |
3723 | end | |
3724 | VALUE1 = false | |
3725 | coroutine.resume(coroutine.create(function() | |
3726 | for i = 1, 75 do | |
3727 | Swait() | |
3728 | O1.Size = O1.Size - VT(0.15, 0, 0.15) | |
3729 | O1.CFrame = O1.CFrame * ANGLES(RAD(0), RAD(i), RAD(0)) | |
3730 | O2.Size = O2.Size - VT(0.15, 0, 0.15) | |
3731 | O2.CFrame = O2.CFrame * ANGLES(RAD(0), RAD(i), RAD(0)) | |
3732 | end | |
3733 | O1:remove() | |
3734 | O2:remove() | |
3735 | end)) | |
3736 | UNANCHOR = true | |
3737 | RootPart.Anchored = false | |
3738 | ATTACK = false | |
3739 | Rooted = false | |
3740 | end | |
3741 | end | |
3742 | ||
3743 | function Dark_Cutter() | |
3744 | local HITFLOOR,HITPOS,NORMAL = Raycast(RootPart.Position, (CF(RootPart.Position, RootPart.Position + VT(0, -1, 0))).lookVector, 7 * Player_Size, Character) | |
3745 | if HITFLOOR ~= nil then | |
3746 | ATTACK = true | |
3747 | Rooted = true | |
3748 | local GYRO = IT("BodyGyro",RootPart) | |
3749 | GYRO.D = 100 | |
3750 | GYRO.P = 2000 | |
3751 | GYRO.MaxTorque = VT(0,4000000,0) | |
3752 | GYRO.cframe = CF(RootPart.Position,Mouse.Hit.p) | |
3753 | CreateSound("429459101", RightArm, 10, 0.8) | |
3754 | for i=0, 3.5, 0.1 / Animation_Speed do | |
3755 | Swait() | |
3756 | GYRO.cframe = CF(RootPart.Position,Mouse.Hit.p) | |
3757 | 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)) | |
3758 | 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) | |
3759 | 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) | |
3760 | 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) | |
3761 | 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) | |
3762 | 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) | |
3763 | 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) | |
3764 | end | |
3765 | GYRO:remove() | |
3766 | for i=0, 0.15, 0.1 / Animation_Speed do | |
3767 | Swait() | |
3768 | GYRO.cframe = CF(RootPart.Position,Mouse.Hit.p) | |
3769 | 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)) | |
3770 | 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) | |
3771 | 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) | |
3772 | 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) | |
3773 | 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) | |
3774 | 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) | |
3775 | 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) | |
3776 | end | |
3777 | local BOMBSPOTS = {} | |
3778 | for i = 1, 100 do | |
3779 | local SPOT = CreatePart(3, Effects, "Neon", 0, 0, "Really black", "Blade", VT(16,1,16)) | |
3780 | SPOT.CFrame = RootPart.CFrame*CF((MRANDOM(-15,15)/40)*i,-5,-i*5) | |
3781 | table.insert(BOMBSPOTS,SPOT) | |
3782 | MakeForm(SPOT,"Cyl") | |
3783 | end | |
3784 | for i=0, 0.2, 0.1 / Animation_Speed do | |
3785 | Swait() | |
3786 | 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) | |
3787 | 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) | |
3788 | 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) | |
3789 | 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) | |
3790 | 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) | |
3791 | 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) | |
3792 | end | |
3793 | ATTACK = false | |
3794 | Rooted = false | |
3795 | coroutine.resume(coroutine.create(function() | |
3796 | Swait(3) | |
3797 | for i = 1, #BOMBSPOTS do | |
3798 | if BOMBSPOTS[i] ~= nil then | |
3799 | local E = BOMBSPOTS[i] | |
3800 | coroutine.resume(coroutine.create(function() | |
3801 | local BLADE = CreatePart(3, Effects, "SmoothPlastic", 0, 1, "Really black", "Blade", VT(0,0,0)) | |
3802 | CreateMesh("SpecialMesh", BLADE, "FileMesh", "93108071", "", VT(1.2,2,0.8)*3, VT(0,0,0)) | |
3803 | CreateSound(HITWEAPONSOUNDS[MRANDOM(1,#HITWEAPONSOUNDS)], BLADE, 4, 0.6) | |
3804 | BLADE.CFrame = E.CFrame*CF(0,-3,0)*ANGLES(RAD(MRANDOM(-15,15)),RAD(90),RAD(MRANDOM(-15,15))) | |
3805 | for i = 1, 10 do | |
3806 | Swait() | |
3807 | killnearest(BLADE.Position,12,160) | |
3808 | BLADE.CFrame = BLADE.CFrame*CF(0,0.3,0) | |
3809 | BLADE.Transparency = BLADE.Transparency - 0.1 | |
3810 | end | |
3811 | Swait(45) | |
3812 | for i = 1, 100 do | |
3813 | Swait() | |
3814 | BLADE.Transparency = BLADE.Transparency + 0.01 | |
3815 | E.Transparency = E.Transparency + 0.01 | |
3816 | end | |
3817 | BLADE:remove() | |
3818 | E:remove() | |
3819 | end)) | |
3820 | end | |
3821 | end | |
3822 | end)) | |
3823 | end | |
3824 | end | |
3825 | ||
3826 | function SupernovaThrow() | |
3827 | local HITFLOOR,HITPOS,NORMAL = Raycast(RootPart.Position, (CF(RootPart.Position, RootPart.Position + VT(0, -1, 0))).lookVector, 7 * Player_Size, Character) | |
3828 | if HITFLOOR ~= nil then | |
3829 | local HITBODIES = {} | |
3830 | ATTACK = true | |
3831 | Rooted = true | |
3832 | local ABSOLUTE = CreatePart(3, Effects, "Neon", 0, 1, "Really black", "Star", VT(0,0,0)) | |
3833 | MakeForm(ABSOLUTE,"Ball") | |
3834 | CreateSound("429459101", ABSOLUTE, 10, 1) | |
3835 | for i=0, 4, 0.1 / Animation_Speed do | |
3836 | Swait() | |
3837 | ABSOLUTE.Size = ABSOLUTE.Size + VT(0.2,0.2,0.2) | |
3838 | ABSOLUTE.CFrame = RootPart.CFrame*CF(0,5+(ABSOLUTE.Size.Y/2),0) | |
3839 | ABSOLUTE.Transparency = ABSOLUTE.Transparency - 0.01 | |
3840 | 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) | |
3841 | 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) | |
3842 | 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) | |
3843 | 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) | |
3844 | 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) | |
3845 | 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) | |
3846 | end | |
3847 | CreateSound("907330103", Head, 10, 1.2) | |
3848 | for i = 1, 75 do | |
3849 | Swait() | |
3850 | 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) | |
3851 | 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) | |
3852 | 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) | |
3853 | 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) | |
3854 | 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) | |
3855 | 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) | |
3856 | end | |
3857 | coroutine.resume(coroutine.create(function() | |
3858 | ABSOLUTE.CFrame = CF(ABSOLUTE.Position, Mouse.Hit.p) | |
3859 | for i = 1, 500 do | |
3860 | Swait() | |
3861 | ABSOLUTE.CFrame = ABSOLUTE.CFrame * CF(0, 0, -2) | |
3862 | local HITFLOOR, HITPOS = Raycast(ABSOLUTE.Position, ABSOLUTE.CFrame.lookVector, 2.2, Character) | |
3863 | if HITFLOOR ~= nil then | |
3864 | break | |
3865 | end | |
3866 | end | |
3867 | for i = 1, 13 do | |
3868 | for e = 1, 8 do | |
3869 | Swait() | |
3870 | CreateSwirl(ABSOLUTE.Size/2,15,CF(HITPOS),true,15,BRICKC"Slime green".Color,VT(i,0.3,i)*2) | |
3871 | end | |
3872 | for i = 1, 5 do | |
3873 | 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) | |
3874 | 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)) | |
3875 | end | |
3876 | CreateSwirl(ABSOLUTE.Size/2,25,CF(ABSOLUTE.Position),true,-25,BRICKC"Relly red".Color,VT(i,i*2,i)) | |
3877 | CreateSwirl(ABSOLUTE.Size/2,55,CF(ABSOLUTE.Position),true,25,C3(0.05,0.05,0.05),VT(i,i*2,i)) | |
3878 | CreateSound("168586621", ABSOLUTE, 4, 0.8) | |
3879 | CreateSound("201858144", ABSOLUTE, 10, 0.8) | |
3880 | killnearest(ABSOLUTE.Position,i*18,i) | |
3881 | ABSOLUTE.Size = ABSOLUTE.Size*0.9 | |
3882 | MagicSphere(ABSOLUTE.Size,25,CF(ABSOLUTE.Position),BRICKC"Relly red".Color,VT(i,i,i)/1.1) | |
3883 | MagicSphere(ABSOLUTE.Size,45,CF(ABSOLUTE.Position),C3(0.05,0.05,0.05),VT(i,i,i)) | |
3884 | end | |
3885 | ABSOLUTE.Transparency = 1 | |
3886 | Debris:AddItem(ABSOLUTE,10) | |
3887 | end)) | |
3888 | ATTACK = false | |
3889 | Rooted = false | |
3890 | end | |
3891 | end | |
3892 | ||
3893 | function Dark_Blast() | |
3894 | local HITBODIES = {} | |
3895 | local CENTER = CreatePart(3, Effects, "SmoothPlastic", 0, 1, "Relly red", "CenterPart", VT(0,0,0)) | |
3896 | 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) | |
3897 | CENTER.CFrame = CF(ECH) | |
3898 | local RAY = CreatePart(3, Effects, "Neon", 0, 1, "Relly red", "Laser01", VT(25,99999,25)) | |
3899 | RAY.Color = C3(0.05,0.05,0.05) | |
3900 | MakeForm(RAY,"Cyl") | |
3901 | RAY.CFrame = CF(ECH) | |
3902 | for i = 1, 75 do | |
3903 | Swait() | |
3904 | RAY.Transparency = RAY.Transparency - 1/75 | |
3905 | RAY.Size = RAY.Size - VT(25/75,0,25/75) | |
3906 | end | |
3907 | killnearest(ECH,50,25) | |
3908 | MagicSphere(VT(0,0,0),55,CF(ECH),C3(0.05,0.05,0.05),VT(2,2,2)) | |
3909 | for i = 1, 50 do | |
3910 | end | |
3911 | CreateSound("1222405264", CENTER, 10, 0.8) | |
3912 | RAY:remove() | |
3913 | Debris:AddItem(CENTER,5) | |
3914 | end | |
3915 | ||
3916 | function Banisher_Bullet() | |
3917 | ATTACK = true | |
3918 | Rooted = false | |
3919 | for i=0, 0.4, 0.1 / Animation_Speed do | |
3920 | Swait() | |
3921 | turnto(Mouse.Hit.p) | |
3922 | 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) | |
3923 | 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) | |
3924 | RightShoulder.C0 = Clerp(RightShoulder.C0, CF(1.5, 0.5, 0) * ANGLES(RAD(90), RAD(0), RAD(0)) * RIGHTSHOULDERC0, 0.15 / Animation_Speed) | |
3925 | 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) | |
3926 | 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) | |
3927 | 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) | |
3928 | end | |
3929 | repeat | |
3930 | for i=0, 0.2, 0.1 / Animation_Speed do | |
3931 | Swait() | |
3932 | turnto(Mouse.Hit.p) | |
3933 | 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) | |
3934 | 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) | |
3935 | RightShoulder.C0 = Clerp(RightShoulder.C0, CF(1.5, 0.5, 0) * ANGLES(RAD(90), RAD(0), RAD(0)) * RIGHTSHOULDERC0, 0.15 / Animation_Speed) | |
3936 | 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) | |
3937 | 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) | |
3938 | 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) | |
3939 | end | |
3940 | local HIT,POS = CastProperRay(Hole2.Position, Mouse.Hit.p, 1000, Character) | |
3941 | SpawnTrail(Hole2.Position,POS) | |
3942 | if HIT ~= nil then | |
3943 | if HIT.Parent ~= workspace and HIT.Parent.ClassName ~= "Folder" then | |
3944 | Banish(HIT.Parent) | |
3945 | end | |
3946 | end | |
3947 | 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}) | |
3948 | 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}) | |
3949 | 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}) | |
3950 | 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}) | |
3951 | for i=0, 0.3, 0.1 / Animation_Speed do | |
3952 | Swait() | |
3953 | 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) | |
3954 | 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) | |
3955 | RightShoulder.C0 = Clerp(RightShoulder.C0, CF(1.5, 0.5, 0) * ANGLES(RAD(106), RAD(0), RAD(0)) * RIGHTSHOULDERC0, 0.15 / Animation_Speed) | |
3956 | 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) | |
3957 | 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) | |
3958 | 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) | |
3959 | end | |
3960 | until KEYHOLD == false | |
3961 | ATTACK = false | |
3962 | Rooted = false | |
3963 | end | |
3964 | ||
3965 | function Dead_Bullet() | |
3966 | ATTACK = true | |
3967 | Rooted = false | |
3968 | for i=0, 0.1, 0.1 / Animation_Speed do | |
3969 | Swait() | |
3970 | turnto(Mouse.Hit.p) | |
3971 | 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) | |
3972 | 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) | |
3973 | RightShoulder.C0 = Clerp(RightShoulder.C0, CF(1.5, 0.5, 0) * ANGLES(RAD(90), RAD(0), RAD(0)) * RIGHTSHOULDERC0, 0.15 / Animation_Speed) | |
3974 | 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) | |
3975 | 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) | |
3976 | 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) | |
3977 | end | |
3978 | repeat | |
3979 | for i=0, 0.1, 0.1 / Animation_Speed do | |
3980 | Swait() | |
3981 | turnto(Mouse.Hit.p) | |
3982 | 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) | |
3983 | 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) | |
3984 | RightShoulder.C0 = Clerp(RightShoulder.C0, CF(1.5, 0.5, 0) * ANGLES(RAD(90), RAD(0), RAD(0)) * RIGHTSHOULDERC0, 0.15 / Animation_Speed) | |
3985 | 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) | |
3986 | 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) | |
3987 | 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) | |
3988 | end | |
3989 | local HIT,POS = CastProperRay(RightHole.Position, Mouse.Hit.p, 1000, Character) | |
3990 | SpawnTrail(RightHole.Position,POS) | |
3991 | if HIT ~= nil then | |
3992 | if HIT.Parent ~= workspace and HIT.Parent.ClassName ~= "Folder" then | |
3993 | Banish(HIT.Parent) | |
3994 | end | |
3995 | end | |
3996 | WACKYEFFECT({Time = 25, EffectType = "Wave", Size = VT(5,5,5), Size2 = VT(5,5,5), Transparency = 0, Transparency2 = 1, CFrame = RightHole.CFrame, MoveToPos = RightHole.CFrame*CF(0,0.5,0).p, RotationX = 0, RotationY = -15, RotationZ = 0, Material = "Neon", Color = C3(1,0,0), SoundID = nil, SoundPitch = nil, SoundVolume = nil}) | |
3997 | WACKYEFFECT({Time = 25, EffectType = "Wave", Size = VT(5,5,5), Size2 = VT(5,5,5), Transparency = 0, Transparency2 = 1, CFrame = RightHole.CFrame, MoveToPos = nil, RotationX = 0, RotationY = 5, RotationZ = 0, Material = "Neon", Color = C3(1,0,0), SoundID = 145080998, SoundPitch = MRANDOM(8,11)/10, SoundVolume = 8}) | |
3998 | WACKYEFFECT({Time = 25, EffectType = "Wave", Size = VT(5,5,5), Size2 = VT(5,5,5), Transparency = 0, Transparency2 = 1, CFrame = CF(POS,RightHole.Position) * ANGLES(RAD(-90), RAD(0), RAD(0)), MoveToPos = nil, RotationX = 0, RotationY = -5, RotationZ = 0, Material = "Neon", Color = C3(1,0,0), SoundID = nil, SoundPitch = MRANDOM(8,11)/10, SoundVolume = 8}) | |
3999 | WACKYEFFECT({Time = 25, EffectType = "Wave", Size = VT(0.3,0,0.3), Size2 = VT(2,0.5,2), Transparency = 0, Transparency2 = 1, CFrame = CF(POS,RightHole.Position) * ANGLES(RAD(-90), RAD(0), RAD(0)), MoveToPos = nil, RotationX = 0, RotationY = 5, RotationZ = 0, Material = "Neon", Color = C3(1,0,0), SoundID = nil, SoundPitch = MRANDOM(8,11)/10, SoundVolume = 8}) | |
4000 | for i=0, 0.1, 0.1 / Animation_Speed do | |
4001 | Swait() | |
4002 | 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) | |
4003 | 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) | |
4004 | RightShoulder.C0 = Clerp(RightShoulder.C0, CF(1.5, 0.5, 0) * ANGLES(RAD(106), RAD(0), RAD(0)) * RIGHTSHOULDERC0, 0.15 / Animation_Speed) | |
4005 | 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) | |
4006 | 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) | |
4007 | 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) | |
4008 | end | |
4009 | until KEYHOLD == false | |
4010 | ATTACK = false | |
4011 | Rooted = false | |
4012 | end | |
4013 | ||
4014 | function Ruler2() | |
4015 | local HITFLOOR, HITPOS, NORMAL = Raycast(RootPart.Position, CF(RootPart.Position, RootPart.Position + VT(0, -1, 0)).lookVector, 7 * Player_Size, Character) | |
4016 | if HITFLOOR ~= nil then | |
4017 | do | |
4018 | local HITBODIES = {} | |
4019 | ATTACK = true | |
4020 | Rooted = true | |
4021 | local ABSOLUTE = CreatePart(3, Effects, "Neon", 0, 1, "Dark red", "SuperNova", VT(0, 0, 0)) | |
4022 | MakeForm(ABSOLUTE, "Ball") | |
4023 | CreateSound("814168787", ABSOLUTE, 10, 0.3) | |
4024 | for i = 0, 4, 0.1 / Animation_Speed do | |
4025 | Swait() | |
4026 | ABSOLUTE.Size = ABSOLUTE.Size + VT(0.2, 0.2, 0.2) | |
4027 | ABSOLUTE.CFrame = RootPart.CFrame * CF(0, 5 + ABSOLUTE.Size.Y / 2, 0) | |
4028 | ABSOLUTE.Transparency = ABSOLUTE.Transparency - 0.01 | |
4029 | local CHARGE = CreatePart(3, Effects, "Neon", 0, 0, "Really red", "Star", VT(1, 1, 1)) | |
4030 | MakeForm(CHARGE, "Ball") | |
4031 | CHARGE.Color = C3(0, 0, 0) | |
4032 | CHARGE.CFrame = CF(RootPart.Position) * CF(MRANDOM(-15, 15), -6, MRANDOM(-15, 15)) | |
4033 | FireArc(CHARGE, ABSOLUTE.Position, 45, 45, true) | |
4034 | 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) | |
4035 | 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) | |
4036 | 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) | |
4037 | 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) | |
4038 | 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) | |
4039 | 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) | |
4040 | end | |
4041 | CreateSound("907333406", Head, 10, 1) | |
4042 | for i = 0, 2, 0.1 / Animation_Speed do | |
4043 | Swait() | |
4044 | 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) | |
4045 | 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) | |
4046 | 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) | |
4047 | 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) | |
4048 | 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) | |
4049 | 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) | |
4050 | end | |
4051 | local PITS = {} | |
4052 | CreateSound("178452217", ABSOLUTE, 10, 0.7) | |
4053 | for i = 1, 6 do | |
4054 | for i = 1, 10 do | |
4055 | Swait() | |
4056 | 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)) | |
4057 | ABSOLUTE.Size = ABSOLUTE.Size * 0.9 | |
4058 | end | |
4059 | for i = 1, 10 do | |
4060 | Swait() | |
4061 | ABSOLUTE.Size = ABSOLUTE.Size * 1.12 | |
4062 | end | |
4063 | end | |
4064 | CreateSound("215395388", ABSOLUTE, 10, 0.6) | |
4065 | CreateSound("215395388", ABSOLUTE, 10, 0.65) | |
4066 | CreateSound("215395388", ABSOLUTE, 10, 0.7) | |
4067 | for i = 1, 75 do | |
4068 | Swait() | |
4069 | local ICICLE = IT("CornerWedgePart", Effects) | |
4070 | ICICLE.Locked = true | |
4071 | ICICLE.CanCollide = false | |
4072 | ICICLE.Anchored = true | |
4073 | ICICLE.Color = C3(0, 0, 0) | |
4074 | ICICLE.Material = "Neon" | |
4075 | ICICLE.Size = VT(i / 3, i * 2, i / 3) | |
4076 | 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))) | |
4077 | table.insert(PITS, ICICLE) | |
4078 | killnearest(ICICLE.Position, ICICLE.Size.Y / 1.5, -100) | |
4079 | ABSOLUTE.Size = ABSOLUTE.Size * 1.03 | |
4080 | killnearest(ABSOLUTE.Position, ABSOLUTE.Size.X / 1.9, -100) | |
4081 | for i = 1, 3 do | |
4082 | 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)) | |
4083 | end | |
4084 | 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)) | |
4085 | end | |
4086 | ABSOLUTE.Transparency = 0 | |
4087 | for i = 1, 10 do | |
4088 | Swait() | |
4089 | ABSOLUTE.Size = ABSOLUTE.Size * 0.9 | |
4090 | ABSOLUTE.Transparency = ABSOLUTE.Transparency + 0.1 | |
4091 | end | |
4092 | Debris:AddItem(ABSOLUTE, 5) | |
4093 | Swait(50) | |
4094 | for i = 1, 10 do | |
4095 | Swait() | |
4096 | for e = 1, #PITS do | |
4097 | if PITS[e] ~= nil then | |
4098 | local E = PITS[e] | |
4099 | E.Transparency = E.Transparency + 0.1 | |
4100 | end | |
4101 | end | |
4102 | end | |
4103 | for e = 1, #PITS do | |
4104 | if PITS[e] ~= nil then | |
4105 | local E = PITS[e] | |
4106 | E:remove() | |
4107 | end | |
4108 | end | |
4109 | ATTACK = false | |
4110 | Rooted = false | |
4111 | end | |
4112 | end | |
4113 | end | |
4114 | ||
4115 | function Ultima_ConsummatioB() | |
4116 | local HITFLOOR, HITPOS, NORMAL = Raycast(RootPart.Position, CF(RootPart.Position, RootPart.Position + VT(0, -1, 0)).lookVector, 7, Character) | |
4117 | if HITFLOOR ~= nil then | |
4118 | do | |
4119 | local POWER = 20 | |
4120 | ATTACK = true | |
4121 | Rooted = true | |
4122 | if POWER <= 6 then | |
4123 | do | |
4124 | local CENTER = MagicRing() | |
4125 | CENTER.CFrame = CF(HITPOS + VT(0, 0.1, 0)) | |
4126 | CreateSound("424777055", CENTER, 10, 1) | |
4127 | local RAIN = {} | |
4128 | for i = 1, 65 do | |
4129 | Swait() | |
4130 | CENTER.Size = CENTER.Size + VT(POWER, 0, POWER) | |
4131 | CENTER.CFrame = CENTER.CFrame * ANGLES(RAD(0), RAD(i), RAD(0)) | |
4132 | 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) | |
4133 | 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) | |
4134 | 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) | |
4135 | 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) | |
4136 | 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) | |
4137 | 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) | |
4138 | end | |
4139 | local ORB = CreatePart(3, Effects, "Neon", 0, 1, "Really red", "ORB", VT(4, 4, 4)) | |
4140 | MakeForm(ORB, "Ball") | |
4141 | CreateSound("201858045", ORB, 10, 0.5) | |
4142 | for i = 0, 5, 0.1 / Animation_Speed do | |
4143 | Swait() | |
4144 | ORB.CFrame = RootPart.CFrame * CF(0, 5 + ORB.Size.Y / 2, 0) | |
4145 | ORB.Size = ORB.Size + VT(POWER, POWER, POWER) / 10 | |
4146 | ORB.Transparency = 0 | |
4147 | local POS = HITPOS + VT(MRANDOM(-CENTER.Size.X / 3, CENTER.Size.X / 3), 0, MRANDOM(-CENTER.Size.X / 3, CENTER.Size.X / 3)) | |
4148 | local RANGE = (POS - ORB.Position).Magnitude | |
4149 | local ZAPTABLE = Zap({ | |
4150 | StartPosition = POS, | |
4151 | TargetPosition = ORB.Position, | |
4152 | Character = workspace, | |
4153 | Color = "Really red", | |
4154 | Individual = true, | |
4155 | MaxRange = RANGE, | |
4156 | SegmentLength = POWER * 2, | |
4157 | Offset = 1 | |
4158 | }) | |
4159 | Debris:AddItem(ZAPTABLE.LightningModel, 0.1) | |
4160 | 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) | |
4161 | 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) | |
4162 | 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) | |
4163 | 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) | |
4164 | 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) | |
4165 | 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) | |
4166 | end | |
4167 | coroutine.resume(coroutine.create(function() | |
4168 | if POWER <= 3 then | |
4169 | local AIMPOS = Mouse.Hit.p | |
4170 | local O1 = MagicRing() | |
4171 | local O2 = MagicRing() | |
4172 | local O3 = MagicRing() | |
4173 | O1.CFrame = CF(ORB.Position, AIMPOS) * ANGLES(RAD(90), RAD(0), RAD(0)) * CF(0, -ORB.Size.X, 0) | |
4174 | O2.CFrame = CF(ORB.Position, AIMPOS) * ANGLES(RAD(90), RAD(0), RAD(0)) * CF(0, -ORB.Size.X + ORB.Size.X / 4, 0) | |
4175 | O3.CFrame = CF(ORB.Position, AIMPOS) * ANGLES(RAD(90), RAD(0), RAD(0)) * CF(0, -ORB.Size.X + ORB.Size.X / 8, 0) | |
4176 | for i = 1, 25 do | |
4177 | Swait() | |
4178 | O1.Size = O1.Size + VT(POWER, 0, POWER) | |
4179 | O2.Size = O2.Size + VT(POWER, 0, POWER) / 1.5 | |
4180 | O3.Size = O3.Size + VT(POWER, 0, POWER) / 2 | |
4181 | end | |
4182 | local DIST = (ORB.Position - AIMPOS).Magnitude | |
4183 | for i = 1, 75 do | |
4184 | Swait(3) | |
4185 | 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) | |
4186 | killnearest(ORB.Position, ORB.Size.X, 200) | |
4187 | local ZAPTABLE = Zap({ | |
4188 | SIZE = POWER * 2, | |
4189 | StartPosition = ORB.Position, | |
4190 | TargetPosition = AIMPOS + VT(MRANDOM(-POWER * 15, POWER * 15), 0, MRANDOM(-POWER * 15, POWER * 15)) * 2, | |
4191 | Character = Character, | |
4192 | Color = "Really red", | |
4193 | Individual = true, | |
4194 | MaxRange = POWER * 400, | |
4195 | SegmentLength = DIST / 25, | |
4196 | Offset = 3 + DIST / 350 | |
4197 | }) | |
4198 | Debris:AddItem(ZAPTABLE.LightningModel, 0.1) | |
4199 | MagicSphere(ORB.Size * 1.1, 25, CF(ZAPTABLE.RayPos), BRICKC("Really red").Color, ORB.Size / 15) | |
4200 | killnearest(ZAPTABLE.RayPos, POWER * 45, 60) | |
4201 | 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)) | |
4202 | end | |
4203 | local SIZE = ORB.Size | |
4204 | for i = 1, 25 do | |
4205 | Swait() | |
4206 | ORB.Size = ORB.Size - SIZE / 25 | |
4207 | O1.Size = O1.Size - VT(POWER, 0, POWER) | |
4208 | O2.Size = O2.Size - VT(POWER, 0, POWER) / 1.5 | |
4209 | O3.Size = O3.Size - VT(POWER, 0, POWER) / 2 | |
4210 | end | |
4211 | ORB:remove() | |
4212 | O1:remove() | |
4213 | O2:remove() | |
4214 | O3:remove() | |
4215 | elseif POWER > 3 or POWER == 3 then | |
4216 | local O1 = MagicRing() | |
4217 | local O2 = MagicRing() | |
4218 | local O3 = MagicRing() | |
4219 | O1.CFrame = CF(ORB.Position, Mouse.Hit.p) * ANGLES(RAD(90), RAD(0), RAD(0)) * CF(0, -ORB.Size.X, 0) | |
4220 | 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) | |
4221 | 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) | |
4222 | for i = 1, 25 do | |
4223 | Swait() | |
4224 | O1.CFrame = CF(ORB.Position, Mouse.Hit.p) * ANGLES(RAD(90), RAD(0), RAD(0)) * CF(0, -ORB.Size.X, 0) | |
4225 | 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) | |
4226 | 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) | |
4227 | O1.Size = O1.Size + VT(POWER, 0, POWER) | |
4228 | O2.Size = O2.Size + VT(POWER, 0, POWER) / 1.5 | |
4229 | O3.Size = O3.Size + VT(POWER, 0, POWER) / 2 | |
4230 | end | |
4231 | for i = 1, 75 do | |
4232 | for i = 1, 5 do | |
4233 | Swait() | |
4234 | O1.CFrame = CF(ORB.Position, Mouse.Hit.p) * ANGLES(RAD(90), RAD(0), RAD(0)) * CF(0, -ORB.Size.X, 0) | |
4235 | 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) | |
4236 | 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) | |
4237 | end | |
4238 | killnearest(ORB.Position, ORB.Size.X, 200) | |
4239 | 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) | |
4240 | local DIST = (ORB.Position - Mouse.Hit.p).Magnitude | |
4241 | local ZAPTABLE = Zap({ | |
4242 | SIZE = POWER, | |
4243 | StartPosition = ORB.Position, | |
4244 | TargetPosition = Mouse.Hit.p, | |
4245 | Character = Character, | |
4246 | Color = "Really red", | |
4247 | Individual = true, | |
4248 | MaxRange = POWER * 400, | |
4249 | SegmentLength = DIST / 25, | |
4250 | Offset = 3 + DIST / 350 | |
4251 | }) | |
4252 | Debris:AddItem(ZAPTABLE.LightningModel, 0.1) | |
4253 | MagicSphere(ORB.Size * 1.1, 25, CF(ZAPTABLE.RayPos), BRICKC("Really red").Color, ORB.Size / 15) | |
4254 | killnearest(ZAPTABLE.RayPos, POWER * 45, 60) | |
4255 | 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)) | |
4256 | end | |
4257 | local SIZE = ORB.Size | |
4258 | for i = 1, 25 do | |
4259 | Swait() | |
4260 | ORB.Size = ORB.Size - SIZE / 25 | |
4261 | O1.Size = O1.Size - VT(POWER, 0, POWER) | |
4262 | O2.Size = O2.Size - VT(POWER, 0, POWER) / 1.5 | |
4263 | O3.Size = O3.Size - VT(POWER, 0, POWER) / 2 | |
4264 | end | |
4265 | ORB:remove() | |
4266 | O1:remove() | |
4267 | O2:remove() | |
4268 | O3:remove() | |
4269 | end | |
4270 | coroutine.resume(coroutine.create(function() | |
4271 | for i = 1, 65 do | |
4272 | Swait() | |
4273 | CENTER.Size = CENTER.Size - VT(POWER, 0, POWER) | |
4274 | CENTER.CFrame = CENTER.CFrame * ANGLES(RAD(0), RAD(i), RAD(0)) | |
4275 | end | |
4276 | CENTER:remove() | |
4277 | end)) | |
4278 | end)) | |
4279 | end | |
4280 | elseif POWER > 6 then | |
4281 | do | |
4282 | local FINISHED = false | |
4283 | local YIN = CreatePart(3, Effects, "Neon", 0, 0, "Really black", "YIN", VT(25, 25, 25)) | |
4284 | local YAN = CreatePart(3, Effects, "Neon", 0, 0, "Really red", "YAN", VT(65, 25, 65)) | |
4285 | coroutine.resume(coroutine.create(function() | |
4286 | local LOOP = 0 | |
4287 | repeat | |
4288 | YIN.CFrame = CF(HITPOS + VT(0, 500, 0)) * ANGLES(RAD(0), RAD(LOOP), RAD(0)) * CF(0, 0, 200) | |
4289 | YAN.CFrame = CF(HITPOS + VT(0, 500, 0)) * ANGLES(RAD(0), RAD(LOOP), RAD(0)) * CF(0, 0, -200) | |
4290 | LOOP = LOOP + 5 | |
4291 | MagicSphere(VT(500, 5, 500), 65, CF(YIN.Position), BRICKC("Really red").Color, VT(-1, -0.001, -1) * 2) | |
4292 | MagicSphere(VT(500, 5, 500), 65, CF(YAN.Position), C3(0, 0, 0), VT(-1, -0.001, -1) * 2) | |
4293 | Swait() | |
4294 | until FINISHED == true | |
4295 | YIN:remove() | |
4296 | YAN:remove() | |
4297 | end)) | |
4298 | CreateSound("438666077", Effects, 10, 1) | |
4299 | for i = 0, 1, 0.1 / Animation_Speed do | |
4300 | Swait() | |
4301 | 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) | |
4302 | 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) | |
4303 | 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) | |
4304 | 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) | |
4305 | 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) | |
4306 | 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) | |
4307 | end | |
4308 | local ORB = CreatePart(3, Effects, "Neon", 0, 0, "Really red", "ORB", VT(6, 6, 6)) | |
4309 | MakeForm(ORB, "Ball") | |
4310 | ORB.CFrame = CF(HITPOS + VT(0, 150, 0)) | |
4311 | for i = 0, 8, 0.1 / Animation_Speed do | |
4312 | Swait() | |
4313 | if MRANDOM(1, 8) == 1 then | |
4314 | local RANGE1 = (ORB.Position - YIN.Position).Magnitude | |
4315 | local RANGE2 = (ORB.Position - YAN.Position).Magnitude | |
4316 | local ZAPTABLE1 = Zap({ | |
4317 | SIZE = POWER / 3, | |
4318 | StartPosition = YIN.Position, | |
4319 | TargetPosition = ORB.Position, | |
4320 | Character = workspace, | |
4321 | Color = "Pearl", | |
4322 | Individual = true, | |
4323 | MaxRange = RANGE1, | |
4324 | SegmentLength = 25, | |
4325 | Offset = 6 | |
4326 | }) | |
4327 | local ZAPTABLE2 = Zap({ | |
4328 | SIZE = POWER / 3, | |
4329 | StartPosition = YAN.Position, | |
4330 | TargetPosition = ORB.Position, | |
4331 | Character = workspace, | |
4332 | Color = "Really red", | |
4333 | Individual = true, | |
4334 | MaxRange = RANGE1, | |
4335 | SegmentLength = 25, | |
4336 | Offset = 6 | |
4337 | }) | |
4338 | Debris:AddItem(ZAPTABLE1.LightningModel, 0.1) | |
4339 | Debris:AddItem(ZAPTABLE2.LightningModel, 0.1) | |
4340 | end | |
4341 | ORB.Size = ORB.Size + VT(POWER, POWER, POWER) / 15 | |
4342 | 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) | |
4343 | 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) | |
4344 | 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) | |
4345 | 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) | |
4346 | 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) | |
4347 | 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) | |
4348 | end | |
4349 | FINISHED = true | |
4350 | coroutine.resume(coroutine.create(function() | |
4351 | for i = 1, 6 do | |
4352 | for e = 1, 10 do | |
4353 | Swait() | |
4354 | 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)) | |
4355 | ORB.Size = ORB.Size * 0.97 | |
4356 | killnearest(ORB.Position, ORB.Size.X * 3, 200) | |
4357 | 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)) | |
4358 | end | |
4359 | local POS = ORB.Position | |
4360 | for i = 1, 5 do | |
4361 | 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) | |
4362 | end | |
4363 | 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)) | |
4364 | for e = 1, 10 do | |
4365 | Swait() | |
4366 | if MRANDOM(1, 5) == 1 then | |
4367 | local POS = CF(ORB.Position) * ANGLES(RAD(MRANDOM(-180, 180)), RAD(MRANDOM(-180, 180)), RAD(MRANDOM(-180, 180))) * CF(0, 0, -POWER * 25).p | |
4368 | local ZAPTABLE = Zap({ | |
4369 | SIZE = POWER, | |
4370 | StartPosition = ORB.Position, | |
4371 | TargetPosition = POS, | |
4372 | Character = workspace, | |
4373 | Color = "Really red", | |
4374 | Individual = true, | |
4375 | MaxRange = POWER * 75, | |
4376 | SegmentLength = POWER * 5, | |
4377 | Offset = 3 | |
4378 | }) | |
4379 | Debris:AddItem(ZAPTABLE.LightningModel, 0.1) | |
4380 | end | |
4381 | ORB.Size = ORB.Size * 1.05 | |
4382 | killnearest(ORB.Position, ORB.Size.X * 3, 200) | |
4383 | 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)) | |
4384 | end | |
4385 | end | |
4386 | local POS = ORB.Position | |
4387 | for e = 1, 10 do | |
4388 | Swait() | |
4389 | ORB.Transparency = ORB.Transparency + 0.1 | |
4390 | end | |
4391 | ORB:remove() | |
4392 | killnearest(POS, POWER * 35, 200) | |
4393 | for i = 1, 5 do | |
4394 | 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) | |
4395 | end | |
4396 | 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)) | |
4397 | end)) | |
4398 | end | |
4399 | end | |
4400 | ATTACK = false | |
4401 | Rooted = false | |
4402 | local POWER = 1 | |
4403 | end | |
4404 | end | |
4405 | end | |
4406 | ||
4407 | function Banish_Hop() | |
4408 | ATTACK = true | |
4409 | Rooted = false | |
4410 | local O1 = CreatePart(3, Effects, "Neon", 0, 1, "Really red", "Warphole", VT(0,0,0)) | |
4411 | O1.CFrame = RootPart.CFrame*CF(0,0,-3)*ANGLES(RAD(90),RAD(0),RAD(0)) | |
4412 | local decal = Decal:Clone() | |
4413 | decal.Parent = O1 | |
4414 | decal.Face = "Top" | |
4415 | decal.Texture = "http://www.roblox.com/asset/?id=106410100" | |
4416 | local decal2 = Decal:Clone() | |
4417 | decal2.Parent = O1 | |
4418 | decal2.Face = "Bottom" | |
4419 | decal2.Texture = "http://www.roblox.com/asset/?id=106410100" | |
4420 | local O2 = CreatePart(3, Effects, "Neon", 0, 1, "Really red", "Warphole", VT(0,0,0)) | |
4421 | local POS = VT(RootPart.Position.X,Mouse.Hit.p.Y+6,RootPart.Position.Z) | |
4422 | O2.CFrame = CF(Mouse.Hit.p+VT(0,6,0),POS)*ANGLES(RAD(90),RAD(0),RAD(0)) | |
4423 | local ROOT = CreatePart(3, Effects, "Neon", 0, 1, "Really red", "Warphole", VT(0,0,0)) | |
4424 | ROOT.CFrame = CF(O2.Position,RootPart.Position) | |
4425 | local decal = Decal:Clone() | |
4426 | decal.Parent = O2 | |
4427 | decal.Face = "Top" | |
4428 | decal.Texture = "http://www.roblox.com/asset/?id=106410100" | |
4429 | local decal2 = Decal:Clone() | |
4430 | decal2.Parent = O2 | |
4431 | decal2.Face = "Bottom" | |
4432 | decal2.Texture = "http://www.roblox.com/asset/?id=106410100" | |
4433 | CreateSound("84005018", O1, 10, 0.7) | |
4434 | CreateSound("84005018", O2, 10, 0.7) | |
4435 | for i = 1, 75 do | |
4436 | Swait() | |
4437 | O1.Size = O1.Size + VT(0.1,0,0.1) | |
4438 | O1.CFrame = RootPart.CFrame*CF(0,0,-3)*ANGLES(RAD(90),RAD(i),RAD(0)) | |
4439 | O2.Size = O2.Size + VT(0.1,0,0.1) | |
4440 | O2.CFrame = O2.CFrame*ANGLES(RAD(0),RAD(i),RAD(0)) | |
4441 | 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) | |
4442 | 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) | |
4443 | 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) | |
4444 | 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) | |
4445 | 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) | |
4446 | 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) | |
4447 | end | |
4448 | Rooted = true | |
4449 | UNANCHOR = false | |
4450 | RootPart.Anchored = true | |
4451 | VALUE1 = true | |
4452 | for i = 1, 15 do | |
4453 | Transparency(i/15) | |
4454 | Swait() | |
4455 | RootPart.CFrame = RootPart.CFrame*CF(0,0,-0.13) | |
4456 | 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) | |
4457 | 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) | |
4458 | 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) | |
4459 | 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) | |
4460 | 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) | |
4461 | 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) | |
4462 | end | |
4463 | RootPart.CFrame = ROOT.CFrame | |
4464 | ROOT:remove() | |
4465 | for i = 1, 15 do | |
4466 | Transparency(1-(i/15)) | |
4467 | Swait() | |
4468 | RootPart.CFrame = RootPart.CFrame*CF(0,0,-0.5) | |
4469 | 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) | |
4470 | 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) | |
4471 | 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) | |
4472 | 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) | |
4473 | 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) | |
4474 | 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) | |
4475 | end | |
4476 | VALUE1 = false | |
4477 | coroutine.resume(coroutine.create(function() | |
4478 | for i = 1, 75 do | |
4479 | Swait() | |
4480 | O1.Size = O1.Size - VT(0.1,0,0.1) | |
4481 | O1.CFrame = O1.CFrame*ANGLES(RAD(0),RAD(i),RAD(0)) | |
4482 | O2.Size = O2.Size - VT(0.1,0,0.1) | |
4483 | O2.CFrame = O2.CFrame*ANGLES(RAD(0),RAD(i),RAD(0)) | |
4484 | end | |
4485 | O1:remove() | |
4486 | O2:remove() | |
4487 | end)) | |
4488 | UNANCHOR = true | |
4489 | RootPart.Anchored = false | |
4490 | ATTACK = false | |
4491 | Rooted = false | |
4492 | end | |
4493 | ||
4494 | function Governor_Bomb() | |
4495 | local CENTER = CreatePart(3, Effects, "SmoothPlastic", 0, 1, C3(0.0196078431372549, 0.09803921568627451, 0.0196078431372549), "CenterPart", VT(0, 0, 0)) | |
4496 | local RAY = CreatePart(3, Effects, "Neon", 0, 1, C3(0.0196078431372549, 0.09803921568627451, 0.0196078431372549), "Laser01", VT(25, 25, 25)) | |
4497 | RAY.Color = C3(0.0196078431372549, 0.09803921568627451, 0.0196078431372549) | |
4498 | MakeForm(RAY, "Ball") | |
4499 | local ECH = Mouse.Hit.p | |
4500 | CENTER.CFrame = CF(Mouse.Hit.p) | |
4501 | RAY.CFrame = CENTER.CFrame | |
4502 | CreateSound("814168787", CENTER, 10, 0.6) | |
4503 | for i = 1, 80 do | |
4504 | Swait() | |
4505 | RAY.Size = RAY.Size * 0.98 | |
4506 | RAY.Transparency = RAY.Transparency - 0.016666666666666666 | |
4507 | end | |
4508 | killnearest(ECH, 25, 250) | |
4509 | MagicSphere(VT(1, 1, 1), 55, CF(ECH), C3(0.0196078431372549, 0.09803921568627451, 0.0196078431372549), VT(2, 2, 2)) | |
4510 | MagicSphere(VT(0, 0, 0), 45, CF(ECH), C3(0, 0, 0), VT(2, 2, 2)) | |
4511 | CreateSound("314970790", CENTER, 10, 1) | |
4512 | Debris:AddItem(CENTER, 5) | |
4513 | RAY:remove() | |
4514 | end | |
4515 | function Governor_Bomb2() | |
4516 | local CENTER = CreatePart(3, Effects, "SmoothPlastic", 0, 1, C3(0.0196078431372549, 0.09803921568627451, 0.0196078431372549), "CenterPart", VT(0, 0, 0)) | |
4517 | local RAY = CreatePart(3, Effects, "Neon", 0, 1, C3(0.0196078431372549, 0.09803921568627451, 0.0196078431372549), "Laser01", VT(25, 25, 25)) | |
4518 | RAY.Color = C3(0.96078431372549, 0.019803921568627451, 0.0196078431372549) | |
4519 | MakeForm(RAY, "Ball") | |
4520 | local ECH = Mouse.Hit.p | |
4521 | CENTER.CFrame = CF(Mouse.Hit.p) | |
4522 | RAY.CFrame = CENTER.CFrame | |
4523 | CreateSound("814168787", CENTER, 10, 0.6) | |
4524 | for i = 1, 80 do | |
4525 | Swait() | |
4526 | RAY.Size = RAY.Size * 0.98 | |
4527 | RAY.Transparency = RAY.Transparency - 0.016666666666666666 | |
4528 | end | |
4529 | killnearest(ECH, 25, 250) | |
4530 | MagicSphere(VT(1, 1, 1), 55, CF(ECH), C3(0.96078431372549, 0.019803921568627451, 0.0196078431372549), VT(2, 2, 2)) | |
4531 | MagicSphere(VT(0, 0, 0), 45, CF(ECH), C3(0, 0, 0), VT(2, 2, 2)) | |
4532 | CreateSound("314970790", CENTER, 10, 1) | |
4533 | Debris:AddItem(CENTER, 5) | |
4534 | RAY:remove() | |
4535 | end | |
4536 | function Governor_Bomb3() | |
4537 | local ABSOLUTE = CreatePart(3, Effects, "SmoothPlastic", 0, 1, C3(0.7372549019607844, 0.6078431372549019, 0.36470588235294116), "CenterPart", VT(50, 50, 50)) | |
4538 | local RAY = CreatePart(3, Effects, "Neon", 0, 1, C3(0.0196078431372549, 0.09803921568627451, 0.0196078431372549), "Laser01", VT(75, 75, 75)) | |
4539 | RAY.Color = C3(0.7372549019607844, 0.6078431372549019, 0.36470588235294116) | |
4540 | MakeForm(RAY, "Ball") | |
4541 | local ECH = Mouse.Hit.p | |
4542 | ABSOLUTE.CFrame = CF(Mouse.Hit.p) | |
4543 | local HITFLOOR, HITPOS, NORMAL = Raycast(ABSOLUTE.Position, CF(ABSOLUTE.Position, ABSOLUTE.Position + VT(0, -1, 0)).lookVector, 7 * Player_Size, Character) | |
4544 | RAY.CFrame = ABSOLUTE.CFrame | |
4545 | CreateSound("814168787", ABSOLUTE, 10, 0.6) | |
4546 | for i = 1, 80 do | |
4547 | Swait() | |
4548 | RAY.Size = RAY.Size * 0.98 | |
4549 | RAY.Transparency = RAY.Transparency - 0.016666666666666666 | |
4550 | end | |
4551 | coroutine.resume(coroutine.create(function() | |
4552 | local PITS = {} | |
4553 | CreateSound("178452217", ABSOLUTE, 10, 0.7) | |
4554 | for i = 1, 6 do | |
4555 | for i = 1, 10 do | |
4556 | Swait() | |
4557 | Slice("Thin", ABSOLUTE.Size.X / 20, 15, ABSOLUTE.CFrame * ANGLES(RAD(MRANDOM(-180, 180)), RAD(MRANDOM(-180, 180)), RAD(MRANDOM(-180, 180))), "Really white", VT(-0.01, 0, -0.01)) | |
4558 | ABSOLUTE.Size = ABSOLUTE.Size * 0.9 | |
4559 | end | |
4560 | for i = 1, 10 do | |
4561 | Swait() | |
4562 | ABSOLUTE.Size = ABSOLUTE.Size * 1.12 | |
4563 | end | |
4564 | end | |
4565 | CreateSound("215395388", ABSOLUTE, 10, 0.6) | |
4566 | CreateSound("215395388", ABSOLUTE, 10, 0.65) | |
4567 | CreateSound("215395388", ABSOLUTE, 10, 0.7) | |
4568 | for i = 1, 75 do | |
4569 | Swait() | |
4570 | local ICICLE = IT("CornerWedgePart", Effects) | |
4571 | ICICLE.Locked = true | |
4572 | ICICLE.CanCollide = false | |
4573 | ICICLE.Anchored = true | |
4574 | ICICLE.Color = C3(0.7372549019607844, 0.6078431372549019, 0.36470588235294116) | |
4575 | ICICLE.Material = "Neon" | |
4576 | ICICLE.Size = VT(i / 3, i * 2, i / 3) | |
4577 | 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))) | |
4578 | table.insert(PITS, ICICLE) | |
4579 | killnearest(ICICLE.Position, ICICLE.Size.Y / 1.5, -100) | |
4580 | ABSOLUTE.Size = ABSOLUTE.Size * 1.03 | |
4581 | killnearest(ABSOLUTE.Position, ABSOLUTE.Size.X / 1.9, -100) | |
4582 | for i = 1, 3 do | |
4583 | 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)) | |
4584 | end | |
4585 | end | |
4586 | ABSOLUTE.Transparency = 0 | |
4587 | for i = 1, 10 do | |
4588 | Swait() | |
4589 | ABSOLUTE.Size = ABSOLUTE.Size * 0.9 | |
4590 | ABSOLUTE.Transparency = ABSOLUTE.Transparency + 0.1 | |
4591 | end | |
4592 | Debris:AddItem(ABSOLUTE, 5) | |
4593 | Swait(50) | |
4594 | for i = 1, 10 do | |
4595 | Swait() | |
4596 | for e = 1, #PITS do | |
4597 | if PITS[e] ~= nil then | |
4598 | local E = PITS[e] | |
4599 | E.Transparency = E.Transparency + 0.1 | |
4600 | end | |
4601 | end | |
4602 | end | |
4603 | for e = 1, #PITS do | |
4604 | if PITS[e] ~= nil then | |
4605 | local E = PITS[e] | |
4606 | E:remove() | |
4607 | end | |
4608 | end | |
4609 | end)) | |
4610 | MagicSphere(VT(1, 1, 1), 55, CF(ECH), C3(1, 1, 1), VT(2, 2, 2)) | |
4611 | MagicSphere(VT(0, 0, 0), 45, CF(ECH), C3(1, 1, 1), VT(2, 2, 2)) | |
4612 | CreateSound("314970790", ABSOLUTE, 10, 1) | |
4613 | Debris:AddItem(ABSOLUTE, 5) | |
4614 | RAY:remove() | |
4615 | end | |
4616 | function Command_Rush() | |
4617 | ATTACK = true | |
4618 | Rooted = false | |
4619 | for i = 0, 1, 0.1 / Animation_Speed do | |
4620 | Swait() | |
4621 | 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) | |
4622 | 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) | |
4623 | 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) | |
4624 | 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) | |
4625 | 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) | |
4626 | 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) | |
4627 | end | |
4628 | Rooted = true | |
4629 | local GYRO = IT("BodyGyro", RootPart) | |
4630 | GYRO.D = 100 | |
4631 | GYRO.P = 2000 | |
4632 | GYRO.MaxTorque = VT(0, 4000000, 0) | |
4633 | GYRO.cframe = CF(RootPart.Position, Mouse.Hit.p) | |
4634 | for i = 1, 15 do | |
4635 | for i = 1, 15 do | |
4636 | Swait() | |
4637 | GYRO.cframe = CF(RootPart.Position, Mouse.Hit.p) | |
4638 | 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) | |
4639 | 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) | |
4640 | 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) | |
4641 | 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) | |
4642 | 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) | |
4643 | 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) | |
4644 | end | |
4645 | coroutine.resume(coroutine.create(function() | |
4646 | local EYE = CreatePart(3, Effects, "Neon", 0, 0, "Really red", "Eyeball", VT(0, 0, 0)) | |
4647 | CreateSound("814168787", EYE, 10, 1) | |
4648 | EYE.CFrame = RootPart.CFrame * CF(MRANDOM(-15, 15), MRANDOM(8, 20), MRANDOM(-15, 15)) | |
4649 | local M = CreateMesh("SpecialMesh", EYE, "FileMesh", "82326541", "82327419", VT(0, 0, 0), VT(0, 0, 0)) | |
4650 | MagicSphere(VT(0, 0, 0), 15, CF(EYE.Position), C3(0.0196078431372549, 0.09803921568627451, 0.0196078431372549), VT(1, 1, 1)) | |
4651 | local ATTACKI = false | |
4652 | local TORS | |
4653 | for i = 1, 10 do | |
4654 | Swait() | |
4655 | M.Scale = M.Scale + VT(0.1, 0.1, 0.1) * 3 | |
4656 | EYE.CFrame = EYE.CFrame * CF(0, 0, -0.5) | |
4657 | end | |
4658 | for i = 1, 100 do | |
4659 | Swait() | |
4660 | for _, c in pairs(workspace:GetChildren()) do | |
4661 | if c.ClassName == "Model" and c ~= Character and c:FindFirstChildOfClass("Humanoid") and (c:FindFirstChild("Torso") or c:FindFirstChild("UpperTorso")) then | |
4662 | local HUMANOID = c:FindFirstChildOfClass("Humanoid") | |
4663 | if 0 < HUMANOID.Health then | |
4664 | local TORSO = c:FindFirstChild("Torso") or c:FindFirstChild("UpperTorso") | |
4665 | if (TORSO.Position - EYE.Position).Magnitude < 35 then | |
4666 | ATTACKI = true | |
4667 | TORS = TORSO | |
4668 | end | |
4669 | end | |
4670 | end | |
4671 | end | |
4672 | if ATTACKI == true then | |
4673 | break | |
4674 | end | |
4675 | EYE.CFrame = EYE.CFrame * CF(0, 0, -1) | |
4676 | end | |
4677 | if ATTACKI == false then | |
4678 | for i = 1, 10 do | |
4679 | Swait() | |
4680 | M.Scale = M.Scale - VT(0.1, 0.1, 0.1) * 3 | |
4681 | EYE.CFrame = EYE.CFrame * CF(0, 0, -0.5) | |
4682 | end | |
4683 | else | |
4684 | if TORS ~= nil then | |
4685 | CreateSound("215395388", EYE, 10, 2) | |
4686 | local DIST = (TORS.Position - EYE.Position).Magnitude | |
4687 | MagicSphere(VT(0, 0, 0), 15, CF(EYE.Position), C3(0.0196078431372549, 0.09803921568627451, 0.0196078431372549), VT(1, 1, 1)) | |
4688 | 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)) | |
4689 | MagicSphere(VT(0, 0, 0), 15, CF(TORS.Position), C3(0.0196078431372549, 0.09803921568627451, 0.0196078431372549), VT(1, 1, 1)) | |
4690 | EYE.CFrame = CF(EYE.Position, TORS.Position) | |
4691 | TORS.Parent:BreakJoints() | |
4692 | Swait(35) | |
4693 | end | |
4694 | for i = 1, 10 do | |
4695 | Swait() | |
4696 | M.Scale = M.Scale - VT(0.1, 0.1, 0.1) * 3 | |
4697 | end | |
4698 | end | |
4699 | EYE:remove() | |
4700 | end)) | |
4701 | end | |
4702 | GYRO:remove() | |
4703 | ATTACK = false | |
4704 | Rooted = false | |
4705 | end | |
4706 | function Ruler() | |
4707 | local HITFLOOR, HITPOS, NORMAL = Raycast(RootPart.Position, CF(RootPart.Position, RootPart.Position + VT(0, -1, 0)).lookVector, 7 * Player_Size, Character) | |
4708 | if HITFLOOR ~= nil then | |
4709 | do | |
4710 | local HITBODIES = {} | |
4711 | ATTACK = true | |
4712 | Rooted = true | |
4713 | local ABSOLUTE = CreatePart(3, Effects, "Neon", 0, 1, "Really red", "SuperNova", VT(0, 0, 0)) | |
4714 | ABSOLUTE.Color = C3(0.0196078431372549, 0.09803921568627451, 0.0196078431372549) | |
4715 | MakeForm(ABSOLUTE, "Ball") | |
4716 | CreateSound("814168787", ABSOLUTE, 10, 0.3) | |
4717 | for i = 0, 4, 0.1 / Animation_Speed do | |
4718 | Swait() | |
4719 | ABSOLUTE.Size = ABSOLUTE.Size + VT(0.2, 0.2, 0.2) | |
4720 | ABSOLUTE.CFrame = RootPart.CFrame * CF(0, 5 + ABSOLUTE.Size.Y / 2, 0) | |
4721 | ABSOLUTE.Transparency = ABSOLUTE.Transparency - 0.01 | |
4722 | local CHARGE = CreatePart(3, Effects, "Neon", 0, 0, "Really red", "Star", VT(1, 1, 1)) | |
4723 | MakeForm(CHARGE, "Ball") | |
4724 | CHARGE.Color = C3(0, 0, 0) | |
4725 | CHARGE.CFrame = CF(RootPart.Position) * CF(MRANDOM(-15, 15), -6, MRANDOM(-15, 15)) | |
4726 | FireArc(CHARGE, ABSOLUTE.Position, 45, 45, true) | |
4727 | 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) | |
4728 | 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) | |
4729 | 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) | |
4730 | 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) | |
4731 | 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) | |
4732 | 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) | |
4733 | end | |
4734 | CreateSound("907333406", Head, 10, 1) | |
4735 | for i = 0, 2, 0.1 / Animation_Speed do | |
4736 | Swait() | |
4737 | 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) | |
4738 | 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) | |
4739 | 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) | |
4740 | 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) | |
4741 | 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) | |
4742 | 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) | |
4743 | end | |
4744 | coroutine.resume(coroutine.create(function() | |
4745 | local PITS = {} | |
4746 | CreateSound("178452217", ABSOLUTE, 10, 0.7) | |
4747 | for i = 1, 6 do | |
4748 | for i = 1, 10 do | |
4749 | Swait() | |
4750 | 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)) | |
4751 | ABSOLUTE.Size = ABSOLUTE.Size * 0.9 | |
4752 | end | |
4753 | for i = 1, 10 do | |
4754 | Swait() | |
4755 | ABSOLUTE.Size = ABSOLUTE.Size * 1.12 | |
4756 | end | |
4757 | end | |
4758 | CreateSound("215395388", ABSOLUTE, 10, 0.6) | |
4759 | CreateSound("215395388", ABSOLUTE, 10, 0.65) | |
4760 | CreateSound("215395388", ABSOLUTE, 10, 0.7) | |
4761 | for i = 1, 75 do | |
4762 | Swait() | |
4763 | local ICICLE = IT("CornerWedgePart", Effects) | |
4764 | ICICLE.Locked = true | |
4765 | ICICLE.CanCollide = false | |
4766 | ICICLE.Anchored = true | |
4767 | ICICLE.Color = C3(0, 0, 0) | |
4768 | ICICLE.Material = "Neon" | |
4769 | ICICLE.Size = VT(i / 3, i * 2, i / 3) | |
4770 | 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))) | |
4771 | table.insert(PITS, ICICLE) | |
4772 | killnearest(ICICLE.Position, ICICLE.Size.Y / 1.5, -100) | |
4773 | ABSOLUTE.Size = ABSOLUTE.Size * 1.03 | |
4774 | killnearest(ABSOLUTE.Position, ABSOLUTE.Size.X / 1.9, -100) | |
4775 | for i = 1, 3 do | |
4776 | 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)) | |
4777 | end | |
4778 | 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)) | |
4779 | end | |
4780 | ABSOLUTE.Transparency = 0 | |
4781 | for i = 1, 10 do | |
4782 | Swait() | |
4783 | ABSOLUTE.Size = ABSOLUTE.Size * 0.9 | |
4784 | ABSOLUTE.Transparency = ABSOLUTE.Transparency + 0.1 | |
4785 | end | |
4786 | Debris:AddItem(ABSOLUTE, 5) | |
4787 | Swait(50) | |
4788 | for i = 1, 10 do | |
4789 | Swait() | |
4790 | for e = 1, #PITS do | |
4791 | if PITS[e] ~= nil then | |
4792 | local E = PITS[e] | |
4793 | E.Transparency = E.Transparency + 0.1 | |
4794 | end | |
4795 | end | |
4796 | end | |
4797 | for e = 1, #PITS do | |
4798 | if PITS[e] ~= nil then | |
4799 | local E = PITS[e] | |
4800 | E:remove() | |
4801 | end | |
4802 | end | |
4803 | end)) | |
4804 | ATTACK = false | |
4805 | Rooted = false | |
4806 | end | |
4807 | end | |
4808 | end | |
4809 | local Decal = IT("Decal") | |
4810 | function Monarch_Hop() | |
4811 | ATTACK = true | |
4812 | Rooted = false | |
4813 | local O1 = CreatePart(3, Effects, "Neon", 0, 1, "Really red", "Warphole", VT(0, 0, 0)) | |
4814 | O1.CFrame = RootPart.CFrame * CF(0, 0, -3) * ANGLES(RAD(90), RAD(0), RAD(0)) | |
4815 | local decal = Decal:Clone() | |
4816 | decal.Parent = O1 | |
4817 | decal.Face = "Top" | |
4818 | decal.Texture = "http://www.roblox.com/asset/?id=332014171" | |
4819 | local decal2 = Decal:Clone() | |
4820 | decal2.Parent = O1 | |
4821 | decal2.Face = "Bottom" | |
4822 | decal2.Texture = "http://www.roblox.com/asset/?id=332014171" | |
4823 | local O2 = CreatePart(3, Effects, "Neon", 0, 1, "Really red", "Warphole", VT(0, 0, 0)) | |
4824 | local POS = VT(RootPart.Position.X, Mouse.Hit.p.Y + 6, RootPart.Position.Z) | |
4825 | O2.CFrame = CF(Mouse.Hit.p + VT(0, 6, 0), POS) * ANGLES(RAD(90), RAD(0), RAD(0)) | |
4826 | local ROOT = CreatePart(3, Effects, "Neon", 0, 1, "Really red", "Warphole", VT(0, 0, 0)) | |
4827 | ROOT.CFrame = CF(O2.Position, RootPart.Position) | |
4828 | local decal = Decal:Clone() | |
4829 | decal.Parent = O2 | |
4830 | decal.Face = "Top" | |
4831 | decal.Texture = "http://www.roblox.com/asset/?id=332014171" | |
4832 | local decal2 = Decal:Clone() | |
4833 | decal2.Parent = O2 | |
4834 | decal2.Face = "Bottom" | |
4835 | decal2.Texture = "http://www.roblox.com/asset/?id=332014171" | |
4836 | CreateSound("84005018", O1, 10, 0.7) | |
4837 | CreateSound("84005018", O2, 10, 0.7) | |
4838 | for i = 1, 75 do | |
4839 | Swait() | |
4840 | O1.Size = O1.Size + VT(0.1, 0, 0.1) | |
4841 | O1.CFrame = RootPart.CFrame * CF(0, 0, -3) * ANGLES(RAD(90), RAD(i), RAD(0)) | |
4842 | O2.Size = O2.Size + VT(0.1, 0, 0.1) | |
4843 | O2.CFrame = O2.CFrame * ANGLES(RAD(0), RAD(i), RAD(0)) | |
4844 | 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) | |
4845 | 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) | |
4846 | 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) | |
4847 | 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) | |
4848 | 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) | |
4849 | 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) | |
4850 | end | |
4851 | Rooted = true | |
4852 | UNANCHOR = false | |
4853 | RootPart.Anchored = true | |
4854 | VALUE1 = true | |
4855 | for i = 1, 15 do | |
4856 | Transparency(i / 15) | |
4857 | Swait() | |
4858 | RootPart.CFrame = RootPart.CFrame * CF(0, 0, -0.13) | |
4859 | 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) | |
4860 | 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) | |
4861 | 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) | |
4862 | 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) | |
4863 | 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) | |
4864 | 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) | |
4865 | end | |
4866 | RootPart.CFrame = ROOT.CFrame | |
4867 | ROOT:remove() | |
4868 | for i = 1, 15 do | |
4869 | Transparency(1 - i / 15) | |
4870 | Swait() | |
4871 | RootPart.CFrame = RootPart.CFrame * CF(0, 0, -0.5) | |
4872 | 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) | |
4873 | 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) | |
4874 | 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) | |
4875 | 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) | |
4876 | 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) | |
4877 | 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) | |
4878 | end | |
4879 | VALUE1 = false | |
4880 | coroutine.resume(coroutine.create(function() | |
4881 | for i = 1, 75 do | |
4882 | Swait() | |
4883 | O1.Size = O1.Size - VT(0.1, 0, 0.1) | |
4884 | O1.CFrame = O1.CFrame * ANGLES(RAD(0), RAD(i), RAD(0)) | |
4885 | O2.Size = O2.Size - VT(0.1, 0, 0.1) | |
4886 | O2.CFrame = O2.CFrame * ANGLES(RAD(0), RAD(i), RAD(0)) | |
4887 | end | |
4888 | O1:remove() | |
4889 | O2:remove() | |
4890 | end)) | |
4891 | UNANCHOR = true | |
4892 | RootPart.Anchored = false | |
4893 | ATTACK = false | |
4894 | Rooted = false | |
4895 | end | |
4896 | ||
4897 | function R15Ragdoll(character,KeepArms) | |
4898 | character:BreakJoints() | |
4899 | coroutine.resume(coroutine.create(function() | |
4900 | recurse(character, function(_,v) | |
4901 | if v:IsA("Attachment") then | |
4902 | v.Axis = Vector3.new(0, 1, 0) | |
4903 | v.SecondaryAxis = Vector3.new(0, 0, 1) | |
4904 | v.Rotation = Vector3.new(0, 0, 0) | |
4905 | end | |
4906 | end) | |
4907 | for _,child in next,character:GetChildren() do | |
4908 | if child:IsA("Accoutrement") then | |
4909 | for _,part in next,child:GetChildren() do | |
4910 | if part:IsA("BasePart") and part.Name ~= "HumanoidRootPart" then | |
4911 | local attachment1 = part:FindFirstChildOfClass("Attachment") | |
4912 | local attachment0 = getAttachment0(character,attachment1.Name) | |
4913 | if attachment0 and attachment1 then | |
4914 | local constraint = Instance.new("HingeConstraint") | |
4915 | constraint.Attachment0 = attachment0 | |
4916 | constraint.Attachment1 = attachment1 | |
4917 | constraint.LimitsEnabled = true | |
4918 | constraint.UpperAngle = 0 | |
4919 | constraint.LowerAngle = 0 | |
4920 | constraint.Parent = character | |
4921 | end | |
4922 | ArtificialHitbox(part) | |
4923 | elseif part.Name == "HumanoidRootPart" then | |
4924 | part:remove() | |
4925 | end | |
4926 | end | |
4927 | end | |
4928 | end | |
4929 | ||
4930 | ragdollJoint(character,character.LowerTorso, character.UpperTorso, "Waist", "BallSocket", { | |
4931 | {"LimitsEnabled",true}; | |
4932 | {"UpperAngle",5}; | |
4933 | }) | |
4934 | if character:FindFirstChild("Head") then | |
4935 | ragdollJoint(character,character.UpperTorso, character.Head, "Neck", "BallSocket", { | |
4936 | {"LimitsEnabled",true}; | |
4937 | {"UpperAngle",15}; | |
4938 | }) | |
4939 | end | |
4940 | ||
4941 | local handProperties = { | |
4942 | {"LimitsEnabled", true}; | |
4943 | {"UpperAngle",0}; | |
4944 | {"LowerAngle",0}; | |
4945 | } | |
4946 | ragdollJoint(character,character.LeftLowerArm, character.LeftHand, "LeftWrist", "Hinge", handProperties) | |
4947 | ragdollJoint(character,character.RightLowerArm, character.RightHand, "RightWrist", "Hinge", handProperties) | |
4948 | ||
4949 | local shinProperties = { | |
4950 | {"LimitsEnabled", true}; | |
4951 | {"UpperAngle", 0}; | |
4952 | {"LowerAngle", -75}; | |
4953 | } | |
4954 | ragdollJoint(character,character.LeftUpperLeg, character.LeftLowerLeg, "LeftKnee", "Hinge", shinProperties) | |
4955 | ragdollJoint(character,character.RightUpperLeg, character.RightLowerLeg, "RightKnee", "Hinge", shinProperties) | |
4956 | ||
4957 | local footProperties = { | |
4958 | {"LimitsEnabled", true}; | |
4959 | {"UpperAngle", 15}; | |
4960 | {"LowerAngle", -45}; | |
4961 | } | |
4962 | ragdollJoint(character,character.LeftLowerLeg, character.LeftFoot, "LeftAnkle", "Hinge", footProperties) | |
4963 | ragdollJoint(character,character.RightLowerLeg, character.RightFoot, "RightAnkle", "Hinge", footProperties) | |
4964 | if KeepArms == true then | |
4965 | ragdollJoint(character,character.UpperTorso, character.RightUpperArm, "RightShoulder", "BallSocket") | |
4966 | ragdollJoint(character,character.RightUpperArm, character.RightLowerArm, "RightElbow", "BallSocket") | |
4967 | ragdollJoint(character,character.UpperTorso, character.LeftUpperArm, "LeftShoulder", "BallSocket") | |
4968 | ragdollJoint(character,character.LeftUpperArm, character.LeftLowerArm, "LeftElbow", "BallSocket") | |
4969 | end | |
4970 | ragdollJoint(character,character.LowerTorso, character.LeftUpperLeg, "LeftHip", "BallSocket") | |
4971 | ragdollJoint(character,character.LowerTorso, character.RightUpperLeg, "RightHip", "BallSocket") | |
4972 | Debris:AddItem(character,5) | |
4973 | end)) | |
4974 | end | |
4975 | ||
4976 | function Ragdoll(Character2,CharTorso,KeepArms) | |
4977 | coroutine.resume(coroutine.create(function() | |
4978 | Character2:BreakJoints() | |
4979 | local hum = Character2:findFirstChild("Humanoid") | |
4980 | hum:remove() | |
4981 | local function Scan(ch) | |
4982 | local e | |
4983 | for e = 1,#ch do | |
4984 | Scan(ch[e]:GetChildren()) | |
4985 | if ch[e].ClassName == "Weld" or ch[e].ClassName == "Motor6D" then | |
4986 | ch[e]:remove() | |
4987 | end | |
4988 | end | |
4989 | end | |
4990 | local NEWHUM = IT("Humanoid") | |
4991 | NEWHUM.Name = "Corpse" | |
4992 | NEWHUM.Health = 0 | |
4993 | NEWHUM.MaxHealth = 0 | |
4994 | NEWHUM.PlatformStand = true | |
4995 | NEWHUM.Parent = Character2 | |
4996 | NEWHUM.DisplayDistanceType = "None" | |
4997 | ||
4998 | local ch = Character2:GetChildren() | |
4999 | local i | |
5000 | for i = 1,#ch do | |
5001 | if ch[i].Name == "THandle1" or ch[i].Name == "THandle2" then | |
5002 | ch[i]:remove() | |
5003 | end | |
5004 | end | |
5005 | ||
5006 | local Torso2 = Character2.Torso | |
5007 | local movevector = Vector3.new() | |
5008 | ||
5009 | if Torso2 then | |
5010 | movevector = CFrame.new(CharTorso.Position,Torso2.Position).lookVector | |
5011 | local Head = Character2:FindFirstChild("Head") | |
5012 | if Head then | |
5013 | local Neck = Instance.new("Weld") | |
5014 | Neck.Name = "Neck" | |
5015 | Neck.Part0 = Torso2 | |
5016 | Neck.Part1 = Head | |
5017 | Neck.C0 = CFrame.new(0, 1.5, 0) | |
5018 | Neck.C1 = CFrame.new() | |
5019 | Neck.Parent = Torso2 | |
5020 | ||
5021 | end | |
5022 | local Limb = Character2:FindFirstChild("Right Arm") | |
5023 | if Limb and KeepArms == true then | |
5024 | ||
5025 | Limb.CFrame = Torso2.CFrame * CFrame.new(1.5, 0, 0) | |
5026 | local Joint = Instance.new("Glue") | |
5027 | Joint.Name = "RightShoulder" | |
5028 | Joint.Part0 = Torso2 | |
5029 | Joint.Part1 = Limb | |
5030 | Joint.C0 = CFrame.new(1.5, 0.5, 0, 0, 0, 1, 0, 1, 0, -1, -0, -0) | |
5031 | Joint.C1 = CFrame.new(-0, 0.5, 0, 0, 0, 1, 0, 1, 0, -1, -0, -0) | |
5032 | Joint.Parent = Torso2 | |
5033 | ||
5034 | local B = Instance.new("Part") | |
5035 | B.TopSurface = 0 | |
5036 | B.BottomSurface = 0 | |
5037 | B.formFactor = "Symmetric" | |
5038 | B.Size = Vector3.new(1, 1, 1) | |
5039 | B.Transparency = 1 | |
5040 | B.CFrame = Limb.CFrame * CFrame.new(0, -0.5, 0) | |
5041 | B.Parent = Character2 | |
5042 | local W = Instance.new("Weld") | |
5043 | W.Part0 = Limb | |
5044 | W.Part1 = B | |
5045 | W.C0 = CFrame.new(0, -0.5, 0) | |
5046 | W.Parent = Limb | |
5047 | ||
5048 | end | |
5049 | local Limb = Character2:FindFirstChild("Left Arm") | |
5050 | if Limb and KeepArms == true then | |
5051 | ||
5052 | Limb.CFrame = Torso2.CFrame * CFrame.new(-1.5, 0, 0) | |
5053 | local Joint = Instance.new("Glue") | |
5054 | Joint.Name = "LeftShoulder" | |
5055 | Joint.Part0 = Torso2 | |
5056 | Joint.Part1 = Limb | |
5057 | Joint.C0 = CFrame.new(-1.5, 0.5, 0, -0, -0, -1, 0, 1, 0, 1, 0, 0) | |
5058 | Joint.C1 = CFrame.new(0, 0.5, 0, -0, -0, -1, 0, 1, 0, 1, 0, 0) | |
5059 | Joint.Parent = Torso2 | |
5060 | ||
5061 | local B = Instance.new("Part") | |
5062 | B.TopSurface = 0 | |
5063 | B.BottomSurface = 0 | |
5064 | B.formFactor = "Symmetric" | |
5065 | B.Size = Vector3.new(1, 1, 1) | |
5066 | B.Transparency = 1 | |
5067 | B.CFrame = Limb.CFrame * CFrame.new(0, -0.5, 0) | |
5068 | B.Parent = Character2 | |
5069 | local W = Instance.new("Weld") | |
5070 | W.Part0 = Limb | |
5071 | W.Part1 = B | |
5072 | W.C0 = CFrame.new(0, -0.5, 0) | |
5073 | W.Parent = Limb | |
5074 | ||
5075 | end | |
5076 | local Limb = Character2:FindFirstChild("Right Leg") | |
5077 | if Limb then | |
5078 | ||
5079 | Limb.CFrame = Torso2.CFrame * CFrame.new(0.5, -2, 0) | |
5080 | local Joint = Instance.new("Glue") | |
5081 | Joint.Name = "RightHip" | |
5082 | Joint.Part0 = Torso2 | |
5083 | Joint.Part1 = Limb | |
5084 | Joint.C0 = CFrame.new(0.5, -1, 0, 0, 0, 1, 0, 1, 0, -1, -0, -0) | |
5085 | Joint.C1 = CFrame.new(0, 1, 0, 0, 0, 1, 0, 1, 0, -1, -0, -0) | |
5086 | Joint.Parent = Torso2 | |
5087 | ||
5088 | local B = Instance.new("Part") | |
5089 | B.TopSurface = 0 | |
5090 | B.BottomSurface = 0 | |
5091 | B.formFactor = "Symmetric" | |
5092 | B.Size = Vector3.new(1, 1, 1) | |
5093 | B.Transparency = 1 | |
5094 | B.CFrame = Limb.CFrame * CFrame.new(0, -0.5, 0) | |
5095 | B.Parent = Character2 | |
5096 | local W = Instance.new("Weld") | |
5097 | W.Part0 = Limb | |
5098 | W.Part1 = B | |
5099 | W.C0 = CFrame.new(0, -0.5, 0) | |
5100 | W.Parent = Limb | |
5101 | ||
5102 | end | |
5103 | local Limb = Character2:FindFirstChild("Left Leg") | |
5104 | if Limb then | |
5105 | ||
5106 | Limb.CFrame = Torso2.CFrame * CFrame.new(-0.5, -2, 0) | |
5107 | local Joint = Instance.new("Glue") | |
5108 | Joint.Name = "LeftHip" | |
5109 | Joint.Part0 = Torso2 | |
5110 | Joint.Part1 = Limb | |
5111 | Joint.C0 = CFrame.new(-0.5, -1, 0, -0, -0, -1, 0, 1, 0, 1, 0, 0) | |
5112 | Joint.C1 = CFrame.new(-0, 1, 0, -0, -0, -1, 0, 1, 0, 1, 0, 0) | |
5113 | Joint.Parent = Torso2 | |
5114 | ||
5115 | local B = Instance.new("Part") | |
5116 | B.TopSurface = 0 | |
5117 | B.BottomSurface = 0 | |
5118 | B.formFactor = "Symmetric" | |
5119 | B.Size = Vector3.new(1, 1, 1) | |
5120 | B.Transparency = 1 | |
5121 | B.CFrame = Limb.CFrame * CFrame.new(0, -0.5, 0) | |
5122 | B.Parent = Character2 | |
5123 | local W = Instance.new("Weld") | |
5124 | W.Part0 = Limb | |
5125 | W.Part1 = B | |
5126 | W.C0 = CFrame.new(0, -0.5, 0) | |
5127 | W.Parent = Limb | |
5128 | ||
5129 | end | |
5130 | --[ | |
5131 | local Bar = Instance.new("Part") | |
5132 | Bar.TopSurface = 0 | |
5133 | Bar.BottomSurface = 0 | |
5134 | Bar.formFactor = "Symmetric" | |
5135 | Bar.Size = Vector3.new(1, 1, 1) | |
5136 | Bar.Transparency = 1 | |
5137 | Bar.CFrame = Torso2.CFrame * CFrame.new(0, 0.5, 0) | |
5138 | Bar.Parent = Character2 | |
5139 | local Weld = Instance.new("Weld") | |
5140 | Weld.Part0 = Torso2 | |
5141 | Weld.Part1 = Bar | |
5142 | Weld.C0 = CFrame.new(0, 0.5, 0) | |
5143 | Weld.Parent = Torso2 | |
5144 | --]] | |
5145 | end | |
5146 | Character2.Parent = workspace | |
5147 | Debris:AddItem(Character2,5) | |
5148 | ||
5149 | return Character2,Torso2 | |
5150 | end)) | |
5151 | end | |
5152 | ||
5153 | function Roar() | |
5154 | ATTACK = true | |
5155 | Rooted = true | |
5156 | local VIOLENCE = 1 | |
5157 | if VIOLENCE <= 10 then | |
5158 | MagicSphere(VT(0,0,0),15,Torso.CFrame,"Lime green",VT(2,2,2)) | |
5159 | for i=0, 1, 0.1 / Animation_Speed do | |
5160 | Swait() | |
5161 | RootJoint.C0 = Clerp(RootJoint.C0,ROOTC0 * CF(0*SIZE, 0*SIZE, 0*SIZE) * ANGLES(RAD(0), RAD(0), RAD(0)), 0.15 / Animation_Speed) | |
5162 | Neck.C0 = Clerp(Neck.C0, NECKC0 * CF(0, 0, 0 + ((1*SIZE) - 1)) * ANGLES(RAD(0), RAD(0), RAD(0)), 0.15 / Animation_Speed) | |
5163 | 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) | |
5164 | 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) | |
5165 | 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) | |
5166 | 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) | |
5167 | end | |
5168 | local TAUNT = CreateSound(VOCALS_ENRAGES[MRANDOM(1,#VOCALS_ENRAGES)], Torso, 10, 1, false) | |
5169 | repeat Swait() until TAUNT.TimeLength > 0 | |
5170 | repeat | |
5171 | Swait() | |
5172 | ApplyAoE(Torso.Position,15,0,0,200,false) | |
5173 | local HITFLOOR,HITPOS = Raycast(RootPart.Position, (CF(RootPart.Position, RootPart.Position + VT(0, -1, 0))).lookVector, 4*SIZE, Character) | |
5174 | 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}) | |
5175 | 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}) | |
5176 | TAUNT.Parent = Torso | |
5177 | Swait() | |
5178 | TAUNT.Parent = Torso | |
5179 | local CHILDREN = workspace:GetDescendants() | |
5180 | for index, CHILD in pairs(CHILDREN) do | |
5181 | if CHILD.ClassName == "Model" and CHILD ~= Character then | |
5182 | local HUM = CHILD:FindFirstChildOfClass("Humanoid") | |
5183 | if HUM then | |
5184 | local TORSO = CHILD:FindFirstChild("Torso") | |
5185 | if TORSO then | |
5186 | if (TORSO.Position - Torso.Position).Magnitude <= 25 then | |
5187 | 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}) | |
5188 | TORSO:remove() | |
5189 | if CHILD:FindFirstChild("Torso") then | |
5190 | Ragdoll(CHILD,Torso,true) | |
5191 | elseif CHILD:FindFirstChild("UpperTorso") then | |
5192 | R15Ragdoll(CHILD,true) | |
5193 | end | |
5194 | end | |
5195 | end | |
5196 | end | |
5197 | end | |
5198 | end | |
5199 | 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) | |
5200 | 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) | |
5201 | 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) | |
5202 | 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) | |
5203 | 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) | |
5204 | 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) | |
5205 | until TAUNT.TimePosition > TAUNT.TimeLength - 2 | |
5206 | end | |
5207 | MagicSphere(VT(0,0,0),15,Torso.CFrame,"Lime green",VT(2,2,2)) | |
5208 | ATTACK = false | |
5209 | Rooted = false | |
5210 | end | |
5211 | ||
5212 | function Blizzard() | |
5213 | local HITFLOOR, HITPOS, NORMAL = Raycast(RootPart.Position, CF(RootPart.Position, RootPart.Position + VT(0, -1, 0)).lookVector, 7 * Player_Size, Character) | |
5214 | if HITFLOOR ~= nil then | |
5215 | ATTACK = true | |
5216 | Rooted = true | |
5217 | local GYRO = IT("BodyGyro", RootPart) | |
5218 | GYRO.D = 100 | |
5219 | GYRO.P = 2000 | |
5220 | GYRO.MaxTorque = VT(0, 4000000, 0) | |
5221 | GYRO.cframe = CF(RootPart.Position, Mouse.Hit.p) | |
5222 | for i = 0, 3.5, 0.1 / Animation_Speed do | |
5223 | Swait() | |
5224 | 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) | |
5225 | GYRO.cframe = CF(RootPart.Position, Mouse.Hit.p) | |
5226 | 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) | |
5227 | 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) | |
5228 | 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) | |
5229 | 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) | |
5230 | 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) | |
5231 | 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) | |
5232 | end | |
5233 | CreateSound("160772554", RightArm, 10, 0.7) | |
5234 | for i = 0, 0.15, 0.1 / Animation_Speed do | |
5235 | Swait() | |
5236 | 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) | |
5237 | GYRO.cframe = CF(RootPart.Position, Mouse.Hit.p) | |
5238 | 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) | |
5239 | 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) | |
5240 | 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) | |
5241 | 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) | |
5242 | 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) | |
5243 | 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) | |
5244 | end | |
5245 | coroutine.resume(coroutine.create(function() | |
5246 | local CENTER = CreatePart(3, Effects, "SmoothPlastic", 0, 1, SKILLTEXTCOLOR, "CenterPart", VT(0, 0, 0)) | |
5247 | CENTER.CFrame = RootPart.CFrame | |
5248 | for i = 1, 200 do | |
5249 | Swait() | |
5250 | CENTER.CFrame = CENTER.CFrame * CF(0, 0, -0.7) | |
5251 | for i = 1, 2 do | |
5252 | 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) | |
5253 | end | |
5254 | killnearest(CENTER.Position, 25, 10) | |
5255 | end | |
5256 | CENTER:remove() | |
5257 | end)) | |
5258 | for i = 0, 1, 0.1 / Animation_Speed do | |
5259 | Swait() | |
5260 | 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) | |
5261 | 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) | |
5262 | 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) | |
5263 | 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) | |
5264 | 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) | |
5265 | 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) | |
5266 | end | |
5267 | Rooted = true | |
5268 | GYRO:remove() | |
5269 | ATTACK = false | |
5270 | Rooted = false | |
5271 | end | |
5272 | end | |
5273 | ||
5274 | local INTRO = false | |
5275 | local INSTANT = false | |
5276 | ||
5277 | function Intro() | |
5278 | ATTACK = true | |
5279 | Rooted = true | |
5280 | MODE = "intro" | |
5281 | tecks2.Text = "Dominus Switcher V2" | |
5282 | coroutine.resume(coroutine.create(function() | |
5283 | wait(6) | |
5284 | BodyColor = C3(0,0,0) | |
5285 | LegColor = C3(0.03, 0, 0) | |
5286 | ArmColor = C3(0.13, 0, 0) | |
5287 | WACKYEFFECT({EffectType = "Sphere", Size = VT(1,1,1), Size2 = VT(1,1,1)*2, Transparency = 0, Transparency2 = 1, CFrame = CF(RightArm.Position), MoveToPos = nil, RotationX = 0, RotationY = 0, RotationZ = 0, Material = "Neon", Color = BodyColor, SoundID = nil, SoundPitch = MRANDOM(9,11)/10, SoundVolume = 6}) | |
5288 | ||
5289 | CreateSound(147722227, Torso, 4, 1.3, false) | |
5290 | local eff = Instance.new("ParticleEmitter",Torso) | |
5291 | eff.Texture = "rbxassetid://2273224484" | |
5292 | eff.LightEmission = 1 | |
5293 | eff.Color = ColorSequence.new(BrickColor.random().Color) | |
5294 | eff.Rate = 500000 | |
5295 | eff.Lifetime = NumberRange.new(1,3) | |
5296 | eff.Size = NumberSequence.new({NumberSequenceKeypoint.new(0,30,0),NumberSequenceKeypoint.new(0.2,5,0),NumberSequenceKeypoint.new(0.8,5,0),NumberSequenceKeypoint.new(1,0,0)}) | |
5297 | eff.Transparency = NumberSequence.new({NumberSequenceKeypoint.new(0,1,0),NumberSequenceKeypoint.new(0.1,0,0),NumberSequenceKeypoint.new(0.8,0,0),NumberSequenceKeypoint.new(1,1,0)}) | |
5298 | eff.Speed = NumberRange.new(50,500) | |
5299 | eff.Drag = 5 | |
5300 | eff.Rotation = NumberRange.new(-500,500) | |
5301 | eff.VelocitySpread = 9000 | |
5302 | eff.RotSpeed = NumberRange.new(-50,50) | |
5303 | for _, c in pairs(Character:GetChildren()) do | |
5304 | ||
5305 | if c == Head then | |
5306 | local M = CreateMesh("SpecialMesh", c, "FileMesh", "527245069", "195696364", VT(1, 1, 1) * 1.1, VT(0, 0, 0)) | |
5307 | M.Name = "Dominus" | |
5308 | if c:FindFirstChild("face") then | |
5309 | c.face:remove() | |
5310 | end | |
5311 | end | |
5312 | end | |
5313 | ||
5314 | Swait(15) | |
5315 | CreateSound(1187613212, Torso, 4, 1.3, false) | |
5316 | ||
5317 | BodyColor = C3(1,3,2) | |
5318 | LegColor = C3(0.01, 0.03, 0.02) | |
5319 | ArmColor = C3(0.12, 0.13, 0.17) | |
5320 | WACKYEFFECT({EffectType = "Sphere", Size = VT(1,1,1), Size2 = VT(1,1,1)*2, Transparency = 0, Transparency2 = 1, CFrame = CF(RightArm.Position), MoveToPos = nil, RotationX = 0, RotationY = 0, RotationZ = 0, Material = "Neon", Color = BodyColor, SoundID = nil, SoundPitch = MRANDOM(9,11)/10, SoundVolume = 6}) | |
5321 | ||
5322 | for _, c in pairs(Character:GetChildren()) do | |
5323 | if c.ClassName == "Part" then | |
5324 | c.Material = "Neon" | |
5325 | if c:FindFirstChildOfClass("ParticleEmitter") then | |
5326 | c:FindFirstChildOfClass("ParticleEmitter"):remove() | |
5327 | end | |
5328 | if c == Head then | |
5329 | local M = CreateMesh("SpecialMesh", c, "FileMesh", "527245069", "527244862", VT(1, 1, 1) * 1.1, VT(0, 0, 0)) | |
5330 | M.Name = "Dominus" | |
5331 | if c:FindFirstChild("face") then | |
5332 | c.face:remove() | |
5333 | end | |
5334 | end | |
5335 | end | |
5336 | end | |
5337 | Swait(15) | |
5338 | CreateSound(147722227, Torso, 4, 0.9, false) | |
5339 | ||
5340 | BodyColor = C3(1, 1, 1) | |
5341 | LegColor = C3(0.7372549019607844, 0.6078431372549019, 0.36470588235294116) | |
5342 | ArmColor = C3(0.9372549019607843, 0.7215686274509804, 0.2196078431372549) | |
5343 | WACKYEFFECT({EffectType = "Sphere", Size = VT(1,1,1), Size2 = VT(1,1,1)*2, Transparency = 0, Transparency2 = 1, CFrame = CF(RightArm.Position), MoveToPos = nil, RotationX = 0, RotationY = 0, RotationZ = 0, Material = "Neon", Color = BodyColor, SoundID = nil, SoundPitch = MRANDOM(9,11)/10, SoundVolume = 6}) | |
5344 | ||
5345 | for _, c in pairs(Character:GetChildren()) do | |
5346 | if c.ClassName == "Part" then | |
5347 | c.Material = "Neon" | |
5348 | if c:FindFirstChildOfClass("ParticleEmitter") then | |
5349 | c:FindFirstChildOfClass("ParticleEmitter"):remove() | |
5350 | end | |
5351 | if c == Head then | |
5352 | local M = CreateMesh("SpecialMesh", c, "FileMesh", "21057410", "1393532942", VT(1, 1, 1) * 1.1, VT(0, 0, 0)) | |
5353 | M.Name = "Dominus" | |
5354 | if c:FindFirstChild("face") then | |
5355 | c.face:remove() | |
5356 | end | |
5357 | end | |
5358 | end | |
5359 | end | |
5360 | Swait(60) | |
5361 | CreateSound(147722227, Torso, 4, 1, false) | |
5362 | ||
5363 | BodyColor = C3(0,0,0) | |
5364 | LegColor = C3(0.05,0,0) | |
5365 | ArmColor = C3(0.15,0.05,0.05) | |
5366 | WACKYEFFECT({EffectType = "Sphere", Size = VT(1,1,1), Size2 = VT(1,1,1)*2, Transparency = 0, Transparency2 = 1, CFrame = CF(RightArm.Position), MoveToPos = nil, RotationX = 0, RotationY = 0, RotationZ = 0, Material = "Neon", Color = BodyColor, SoundID = nil, SoundPitch = MRANDOM(9,11)/10, SoundVolume = 6}) | |
5367 | ||
5368 | for _, c in pairs(Character:GetChildren()) do | |
5369 | if c.ClassName == "Part" then | |
5370 | c.Material = "Neon" | |
5371 | if c:FindFirstChildOfClass("ParticleEmitter") then | |
5372 | c:FindFirstChildOfClass("ParticleEmitter"):remove() | |
5373 | end | |
5374 | if c == Head then | |
5375 | local M = CreateMesh("SpecialMesh", c, "FileMesh", "21057410", "65645429", VT(1, 1, 1) * 1.1, VT(0, 0, 0)) | |
5376 | M.Name = "Dominus" | |
5377 | if c:FindFirstChild("face") then | |
5378 | c.face:remove() | |
5379 | end | |
5380 | end | |
5381 | end | |
5382 | end | |
5383 | Swait(15) | |
5384 | CreateSound(147722227, Torso, 4, 1.3, false) | |
5385 | ||
5386 | BodyColor = C3(0,0,0) | |
5387 | LegColor = C3(0,0,0) | |
5388 | ArmColor = C3(0.05,0.05,0.05) | |
5389 | WACKYEFFECT({EffectType = "Sphere", Size = VT(1,1,1), Size2 = VT(1,1,1)*2, Transparency = 0, Transparency2 = 1, CFrame = CF(RightArm.Position), MoveToPos = nil, RotationX = 0, RotationY = 0, RotationZ = 0, Material = "Neon", Color = BodyColor, SoundID = nil, SoundPitch = MRANDOM(9,11)/10, SoundVolume = 6}) | |
5390 | ||
5391 | for _, c in pairs(Character:GetChildren()) do | |
5392 | if c.ClassName == "Part" then | |
5393 | c.Material = "Neon" | |
5394 | if c:FindFirstChildOfClass("ParticleEmitter") then | |
5395 | c:FindFirstChildOfClass("ParticleEmitter"):remove() | |
5396 | end | |
5397 | if c == Head then | |
5398 | local M = CreateMesh("SpecialMesh", c, "FileMesh", "21057410", "142151506", VT(1, 1, 1) * 1.1, VT(0, 0, 0)) | |
5399 | M.Name = "Dominus" | |
5400 | if c:FindFirstChild("face") then | |
5401 | c.face:remove() | |
5402 | end | |
5403 | end | |
5404 | end | |
5405 | end | |
5406 | Swait(15) | |
5407 | CreateSound(147722227, Torso, 4, 1.3, false) | |
5408 | ||
5409 | for _, c in pairs(Character:GetChildren()) do | |
5410 | if c.ClassName == "Part" then | |
5411 | c.Material = "Neon" | |
5412 | if c:FindFirstChildOfClass("ParticleEmitter") then | |
5413 | c:FindFirstChildOfClass("ParticleEmitter"):remove() | |
5414 | end | |
5415 | if c == Torso then | |
5416 | c.Color = C3(0,0,0) | |
5417 | elseif c == RightArm then | |
5418 | c.Color = C3(0.05,0.05,0.15) | |
5419 | elseif c == LeftArm then | |
5420 | c.Color = C3(0.05,0.05,0.15) | |
5421 | elseif c == RightLeg then | |
5422 | c.Color = C3(0,0,0.05) | |
5423 | elseif c == LeftLeg then | |
5424 | c.Color = C3(0,0,0.05) | |
5425 | elseif c == Head then | |
5426 | local M = CreateMesh("SpecialMesh", c, "FileMesh", "162384581", "162384608", VT(1,1,1)*1.1, VT(0,0,0)) | |
5427 | M.Name = "Dominus" | |
5428 | if c:FindFirstChild("face") then | |
5429 | c.face:remove() | |
5430 | ||
5431 | end | |
5432 | end | |
5433 | elseif c.ClassName == "Shirt" or c.ClassName == "Pants" or c.ClassName == "CharacterMesh" or c.ClassName == "Accessory" or c.Name == "Body Colors" then | |
5434 | c:remove() | |
5435 | end | |
5436 | end | |
5437 | ||
5438 | ||
5439 | eff.Enabled = false | |
5440 | for _, c in pairs(Character:GetChildren()) do | |
5441 | if c == Head then | |
5442 | local M = CreateMesh("SpecialMesh", c, "FileMesh", "162384581", "162384608", VT(1,1,1)*1.1, VT(0,0,0)) | |
5443 | M.Name = "Dominus" | |
5444 | end | |
5445 | end | |
5446 | end)) | |
5447 | Swait(15) | |
5448 | local BodyColor = C3(0,0,0) | |
5449 | local LegColor = C3(0,0,0.05) | |
5450 | local ArmColor = C3(0.05,0.05,0.15) | |
5451 | for _, c in pairs(Character:GetChildren()) do | |
5452 | if c.ClassName == "Part" then | |
5453 | c.Material = "Neon" | |
5454 | if c:FindFirstChildOfClass("ParticleEmitter") then | |
5455 | c:FindFirstChildOfClass("ParticleEmitter"):remove() | |
5456 | end | |
5457 | if c == Torso then | |
5458 | c.Color = C3(0,0,0) | |
5459 | elseif c == RightArm then | |
5460 | c.Color = C3(0.05,0.05,0.15) | |
5461 | elseif c == LeftArm then | |
5462 | c.Color = C3(0.05,0.05,0.15) | |
5463 | elseif c == RightLeg then | |
5464 | c.Color = C3(0,0,0.05) | |
5465 | elseif c == LeftLeg then | |
5466 | c.Color = C3(0,0,0.05) | |
5467 | elseif c == Head then | |
5468 | local M = CreateMesh("SpecialMesh", c, "FileMesh", "162384581", "162384608", VT(1,1,1)*1.1, VT(0,0,0)) | |
5469 | M.Name = "Dominus" | |
5470 | if c:FindFirstChild("face") then | |
5471 | c.face:remove() | |
5472 | ||
5473 | end | |
5474 | end | |
5475 | elseif c.ClassName == "Shirt" or c.ClassName == "Pants" or c.ClassName == "CharacterMesh" or c.ClassName == "Accessory" or c.Name == "Body Colors" then | |
5476 | c:remove() | |
5477 | end | |
5478 | end | |
5479 | repeat | |
5480 | Swait() | |
5481 | RootJoint.C0 = Clerp(RootJoint.C0, ROOTC0 * CF(0, 0, 0.5 + 0.1 * COS(SINE / 12)) * ANGLES(RAD(-3+3*COS(SINE/12)), RAD(0), RAD(9)), 1 / Animation_Speed) | |
5482 | ||
5483 | Neck.C0 = Clerp(Neck.C0, NECKC0 * CF(0, 0, 0 + ((1) - 1)) * ANGLES(RAD(-4 + 4.5 * SIN(SINE / 12)), RAD(0), RAD(-5 - 2.5 * SIN(SINE / 12))), 1 / Animation_Speed) | |
5484 | ||
5485 | 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) | |
5486 | LeftShoulder.C0 = Clerp(LeftShoulder.C0, CF(-1.5, 0.5 + 0.1 * COS(SINE / 12), 0) * ANGLES(RAD(0), RAD(0 + 2.5 * SIN(SINE / 12)), RAD(-5 - 7.5 * SIN(SINE / 12))) * LEFTSHOULDERC0, 1 / Animation_Speed) | |
5487 | RightHip.C0 = Clerp(RightHip.C0, CF(1, -0.7 - 0.3 * COS(SINE / 12), -0.5) * ANGLES(RAD(0), RAD(90), RAD(0)) * ANGLES(RAD(-2+4*COS(SINE/12)), RAD(0), RAD(0)), 0.15 / Animation_Speed) | |
5488 | LeftHip.C0 = Clerp(LeftHip.C0, CF(-1, -0.8 - 0.3 * COS(SINE / 12), -0.01) * ANGLES(RAD(0), RAD(-90), RAD(0)) * ANGLES(RAD(-2+7*COS(SINE/12)), RAD(0), RAD(0)), 0.15 / Animation_Speed) | |
5489 | ||
5490 | until sick.TimePosition > 6 | |
5491 | repeat | |
5492 | Swait() | |
5493 | ||
5494 | ||
5495 | Neck.C0 = Clerp(Neck.C0, NECKC0 * CF(0, 0, 0 + ((1) - 1)) * ANGLES(RAD(3 + 4.5 * SIN(SINE / 12)), RAD(0), RAD(-5 - 2.5 * SIN(SINE / 12))), 1 / Animation_Speed) | |
5496 | 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) | |
5497 | RightShoulder.C0 = Clerp(RightShoulder.C0, CF(1.5*SIZE, 0.5*SIZE, 0) * ANGLES(RAD(0), RAD(0), RAD(90)) * RIGHTSHOULDERC0, 1 / Animation_Speed) | |
5498 | ||
5499 | 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) | |
5500 | 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) | |
5501 | ||
5502 | ||
5503 | LeftShoulder.C0 = Clerp(LeftShoulder.C0, CF(-1.5, 0.5 + 0.1 * COS(SINE / 12), 0) * ANGLES(RAD(0), RAD(0 + 2.5 * SIN(SINE / 12)), RAD(-5 - 7.5 * SIN(SINE / 12))) * LEFTSHOULDERC0, 1 / Animation_Speed) | |
5504 | ||
5505 | ||
5506 | until sick.TimePosition > 9 | |
5507 | BodyColor = C3(0,0,0) | |
5508 | LegColor = C3(0,0,0.05) | |
5509 | ArmColor = C3(0.05,0.05,0.15) | |
5510 | for _, c in pairs(Character:GetChildren()) do | |
5511 | if c.ClassName == "Part" then | |
5512 | c.Material = "Neon" | |
5513 | if c:FindFirstChildOfClass("ParticleEmitter") then | |
5514 | c:FindFirstChildOfClass("ParticleEmitter"):remove() | |
5515 | end | |
5516 | if c == Torso then | |
5517 | c.Color = C3(0,0,0) | |
5518 | elseif c == RightArm then | |
5519 | c.Color = C3(0.05,0.05,0.15) | |
5520 | elseif c == LeftArm then | |
5521 | c.Color = C3(0.05,0.05,0.15) | |
5522 | elseif c == RightLeg then | |
5523 | c.Color = C3(0,0,0.05) | |
5524 | elseif c == LeftLeg then | |
5525 | c.Color = C3(0,0,0.05) | |
5526 | elseif c == Head then | |
5527 | local M = CreateMesh("SpecialMesh", c, "FileMesh", "162384581", "162384608", VT(1,1,1)*1.1, VT(0,0,0)) | |
5528 | M.Name = "Dominus" | |
5529 | if c:FindFirstChild("face") then | |
5530 | c.face:remove() | |
5531 | ||
5532 | end | |
5533 | end | |
5534 | elseif c.ClassName == "Shirt" or c.ClassName == "Pants" or c.ClassName == "CharacterMesh" or c.ClassName == "Accessory" or c.Name == "Body Colors" then | |
5535 | c:remove() | |
5536 | end | |
5537 | end | |
5538 | ATTACK = false | |
5539 | Rooted = false | |
5540 | MODE = "Main" | |
5541 | end | |
5542 | ||
5543 | local DAMAGEMULTIPLIER = 1 | |
5544 | ||
5545 | function ApplyDamage(Humanoid,Damage) | |
5546 | Damage = Damage * DAMAGEMULTIPLIER | |
5547 | if Humanoid.Health ~= 0 then | |
5548 | Humanoid.Health = Humanoid.Health - Damage | |
5549 | end | |
5550 | end | |
5551 | ||
5552 | function Shatter(Part) | |
5553 | if Part.Transparency < 1 then | |
5554 | local SOUNDPART = CreatePart(3, Effects, "Glass", 0, Part.Transparency + 0.1, Part.BrickColor, "OOF", VT(0,0,0)) | |
5555 | Debris:AddItem(SOUNDPART,5) | |
5556 | CreateSound("626807593", SOUNDPART, 3, MRANDOM(8,12)/10, false) | |
5557 | local SIZE = Part.Size.X + Part.Size.Y + Part.Size.Z | |
5558 | local SIZESET = SIZE/4 | |
5559 | local XOffset = Part.Size.X*1.5/SIZESET | |
5560 | local YOffset = Part.Size.Y*1.5/SIZESET | |
5561 | local ZOffset = Part.Size.Z*1.5/SIZESET | |
5562 | for x = 1, math.ceil(XOffset) do | |
5563 | for y = 1, math.ceil(YOffset) do | |
5564 | for z = 1, math.ceil(ZOffset) do | |
5565 | local SHARD = CreatePart(3, Effects, "Glass", 0, 0.15, Part.BrickColor, "Shard", VT(SIZE,SIZE,SIZE)/10, false) | |
5566 | SHARD.CanCollide = true | |
5567 | SHARD.CFrame = Part.CFrame*CF((Part.Size.X/2-Part.Size.X/4),(Part.Size.Y/2-Part.Size.Y/4),(Part.Size.Z/2-Part.Size.Z/4)) | |
5568 | SHARD.Velocity = VT(MRANDOM(-15,15),MRANDOM(-15,15),MRANDOM(-15,15))*3 | |
5569 | Debris:AddItem(SHARD,MRANDOM(10,25)/10) | |
5570 | for _, c in pairs(Part:GetChildren()) do | |
5571 | if c.ClassName == "ParticleEmitter" or c.ClassName == "PointLight" or c.ClassName == "Fire" then | |
5572 | c:Clone().Parent = SHARD | |
5573 | end | |
5574 | end | |
5575 | end | |
5576 | end | |
5577 | end | |
5578 | end | |
5579 | Part:remove() | |
5580 | end | |
5581 | ||
5582 | ||
5583 | function Kill(Victim,Fire) | |
5584 | coroutine.resume(coroutine.create(function() | |
5585 | local NIL = script.TotalNil:Clone() | |
5586 | NIL.Parent = Victim | |
5587 | NIL.Disabled = false | |
5588 | if Fire ~= true then | |
5589 | Victim:BreakJoints() | |
5590 | for _, c in pairs(Victim:GetChildren()) do | |
5591 | if c:IsA("BasePart") then | |
5592 | c.Anchored = true | |
5593 | end | |
5594 | end | |
5595 | for _, c in pairs(Victim:GetChildren()) do | |
5596 | if c:IsA("BasePart") then | |
5597 | Shatter(c) | |
5598 | end | |
5599 | end | |
5600 | else | |
5601 | Victim:BreakJoints() | |
5602 | local FIRES = {} | |
5603 | for _, e in pairs(Victim:GetDescendants()) do | |
5604 | if e:IsA("BasePart") and e.Name ~= "HumanoidRootPart" and e.Parent.ClassName ~= "Folder" then | |
5605 | e.Transparency = 1 | |
5606 | e:ClearAllChildren() | |
5607 | local FIRE = script.HellFire:Clone() | |
5608 | FIRE.Parent = e | |
5609 | FIRE.Enabled = true | |
5610 | table.insert(FIRES,FIRE) | |
5611 | elseif e.ClassName == "Decal" then | |
5612 | e:remove() | |
5613 | end | |
5614 | end | |
5615 | for i = 1, 50 do | |
5616 | Victim:BreakJoints() | |
5617 | wait() | |
5618 | end | |
5619 | for i = 1, #FIRES do | |
5620 | FIRES[i].Enabled = false | |
5621 | end | |
5622 | wait(1.1) | |
5623 | Victim:remove() | |
5624 | end | |
5625 | end)) | |
5626 | end | |
5627 | ||
5628 | function ApplyDeathAoE(POSITION,RANGE,MINDMG,MAXDMG,FLING,INSTAKILL,OPTION) | |
5629 | local CHILDREN = workspace:GetDescendants() | |
5630 | for index, CHILD in pairs(CHILDREN) do | |
5631 | if CHILD.ClassName == "Model" and CHILD ~= Character then | |
5632 | local HUM = CHILD:FindFirstChildOfClass("Humanoid") | |
5633 | if HUM then | |
5634 | local TORSO = CHILD:FindFirstChild("Torso") or CHILD:FindFirstChild("UpperTorso") | |
5635 | if TORSO then | |
5636 | if (TORSO.Position - POSITION).Magnitude <= RANGE then | |
5637 | if INSTAKILL == true then | |
5638 | CHILD:BreakJoints() | |
5639 | if OPTION ~= nil then | |
5640 | Kill(CHILD,OPTION) | |
5641 | end | |
5642 | else | |
5643 | local DMG = MRANDOM(MINDMG,MAXDMG) | |
5644 | ApplyDamage(HUM,DMG) | |
5645 | end | |
5646 | if FLING ~= 0 then | |
5647 | for _, c in pairs(CHILD:GetChildren()) do | |
5648 | if c:IsA("BasePart") then | |
5649 | local bv = Instance.new("BodyVelocity") | |
5650 | bv.maxForce = Vector3.new(1e9, 1e9, 1e9) | |
5651 | bv.velocity = CF(POSITION,TORSO.Position).lookVector*FLING | |
5652 | bv.Parent = c | |
5653 | Debris:AddItem(bv,0.05) | |
5654 | end | |
5655 | end | |
5656 | end | |
5657 | end | |
5658 | end | |
5659 | end | |
5660 | end | |
5661 | end | |
5662 | end | |
5663 | ||
5664 | function FingerMagic() | |
5665 | ATTACK = true | |
5666 | Rooted = false | |
5667 | for i=0, 0.1, 0.1 / Animation_Speed do | |
5668 | Swait() | |
5669 | RootJoint.C0 = Clerp(RootJoint.C0,ROOTC0 * CF(0, 0, 0 + 0.25 * COS(SINE / 12)) * ANGLES(RAD(4 + 2.5 * SIN(SINE / 12)), RAD(0), RAD(25 + 2.5 * SIN(SINE / 12))), 1 / Animation_Speed) | |
5670 | Neck.C0 = Clerp(Neck.C0, NECKC0 * CF(0, 0, 0 + ((1) - 1)) * ANGLES(RAD(0 + 4.5 * SIN(SINE / 12)), RAD(0), RAD(-25 - 2.5 * SIN(SINE / 12))), 1 / Animation_Speed) | |
5671 | RightShoulder.C0 = Clerp(RightShoulder.C0, CF(1.35, 0.15 + 0.25 * COS(SINE / 12), -0.3) * ANGLES(RAD(140), RAD(0 - 2.5 * SIN(SINE / 12)), RAD(5 + 7.5 * SIN(SINE / 12))) * RIGHTSHOULDERC0, 1 / Animation_Speed) | |
5672 | LeftShoulder.C0 = Clerp(LeftShoulder.C0, CF(-1.5, 0.5, -0.4) * ANGLES(RAD(5-3 * COS(SINE / 6)), RAD(0), RAD(-12)) * LEFTSHOULDERC0, 1 / Animation_Speed) | |
5673 | end | |
5674 | for i=0, 1, 0.1 / Animation_Speed do | |
5675 | Swait() | |
5676 | RootJoint.C0 = Clerp(RootJoint.C0,ROOTC0 * CF(0, 0, 0 + 0.25 * COS(SINE / 12)) * ANGLES(RAD(4 + 2.5 * SIN(SINE / 12)), RAD(0), RAD(0 + 2.5 * SIN(SINE / 12))), 1 / Animation_Speed) | |
5677 | Neck.C0 = Clerp(Neck.C0, NECKC0 * CF(0, 0, 0 + ((1) - 1)) * ANGLES(RAD(0 + 4.5 * SIN(SINE / 12)), RAD(0), RAD(0 - 2.5 * SIN(SINE / 12))), 1 / Animation_Speed) | |
5678 | RightShoulder.C0 = Clerp(RightShoulder.C0, CF(1.5, 0.5 + 0.25 * COS(SINE / 12), 0) * ANGLES(RAD(0), RAD(0 - 2.5 * SIN(SINE / 12)), RAD(15 + 7.5 * SIN(SINE / 12))) * ANGLES(RAD(0), RAD(-45), RAD(0)) * RIGHTSHOULDERC0, 1 / Animation_Speed) | |
5679 | LeftShoulder.C0 = Clerp(LeftShoulder.C0, CF(-1.25, 0.15 + 0.05 * COS(SINE / 12), -0.5) * ANGLES(RAD(160), RAD(0 + 2.5 * SIN(SINE / 12)), RAD(-15 - 7.5 * SIN(SINE / 12))) * LEFTSHOULDERC0, 1 / Animation_Speed) | |
5680 | end | |
5681 | WACKYEFFECT({Time = 25, EffectType = "Block", Size = VT(0,0,0), Size2 = VT(3,3,3), Transparency = 0, Transparency2 = 1, CFrame = LeftArm.CFrame*CF(0,-1,0), MoveToPos = nil, RotationX = 0, RotationY = 0, RotationZ = 0, Material = "Neon", Color = C3(1,0,0), SoundID = 304999618, SoundPitch = 1, SoundVolume = 1}) | |
5682 | for i = 1, 5 do | |
5683 | WACKYEFFECT({Time = 25, EffectType = "Block", Size = VT(1,1,1), Size2 = VT(0,7,0), Transparency = 0, Transparency2 = 1, CFrame = LeftArm.CFrame*CF(0,-1,0), MoveToPos = nil, RotationX = 0, RotationY = 0, RotationZ = 0, Material = "Neon", Color = C3(1,0,0), SoundID = nil, SoundPitch = 2, SoundVolume = 1}) | |
5684 | end | |
5685 | CreateSound(217767125, LeftArm, 10, 1, false) | |
5686 | coroutine.resume(coroutine.create(function() | |
5687 | local EXPLODED = false | |
5688 | for i = 1, 3 do | |
5689 | coroutine.resume(coroutine.create(function() | |
5690 | local HITFLOOR,HITPOS = Raycast(RootPart.Position, (CF(RootPart.Position, RootPart.Position + VT(0, -1, 0))).lookVector, 15, Character) | |
5691 | if HITFLOOR then | |
5692 | local CFRAME = CF(HITPOS) * ANGLES(RAD(0), RAD((360/3)*i), RAD(0)) | |
5693 | for i = 1, 35 do | |
5694 | wait() | |
5695 | for _, c in pairs(workspace:GetChildren()) do | |
5696 | if EXPLODED == false and c.ClassName == "Model" and c:FindFirstChildOfClass("Humanoid") and c ~= Character then | |
5697 | local HUM = c:FindFirstChildOfClass("Humanoid") | |
5698 | local TORSO = c:FindFirstChild("Torso") or c:FindFirstChild("UpperTorso") | |
5699 | if TORSO and HUM.Health > 0 then | |
5700 | if (TORSO.Position - CFRAME.p).Magnitude < 10 then | |
5701 | EXPLODED = true | |
5702 | coroutine.resume(coroutine.create(function() | |
5703 | for i = 1, 15 do | |
5704 | ApplyDeathAoE(CFRAME*CF(0,10,0).p,30+(i*4),0,0,-35,false) | |
5705 | wait(0.2) | |
5706 | WACKYEFFECT({Time = 35, EffectType = "Wave", Size = VT(0,0,0), Size2 = VT(15+(i*2),5,15+(i*2)), Transparency = 0, Transparency2 = 1, CFrame = CFRAME, MoveToPos = nil, RotationX = 0, RotationY = MRANDOM(-2,2)*15, RotationZ = 0, Material = "Neon", Color = BRICKC"Really red".Color, SoundID = nil, SoundPitch = 1, SoundVolume = 7}) | |
5707 | WACKYEFFECT({Time = 25, EffectType = "Block", Size = VT(15,15,15)+VT(i*2,i*2,i*2), Size2 = VT(0,0,0), Transparency = 1, Transparency2 = 0, CFrame = CFRAME*CF(0,10,0), MoveToPos = nil, RotationX = 0, RotationY = 0, RotationZ = 0, Material = "Neon", Color = C3(1,0,0), SoundID = 304999618, SoundPitch = 1, SoundVolume = 1}) | |
5708 | WACKYEFFECT({Time = 25, EffectType = "Block", Size = VT(12,12,12)+VT(i*2,i*2,i*2), Size2 = VT(0,0,0), Transparency = 1, Transparency2 = 0, CFrame = CFRAME*CF(0,10,0), MoveToPos = nil, RotationX = 0, RotationY = 0, RotationZ = 0, Material = "Neon", Color = C3(0.7,0,0), SoundID = nil, SoundPitch = 1, SoundVolume = 1}) | |
5709 | end | |
5710 | WACKYEFFECT({Time = 50, EffectType = "Block", Size = VT(15,15,15)+VT(i*2,i*2,i*2), Size2 = VT(0,0,0), Transparency = 1, Transparency2 = 0, CFrame = CFRAME*CF(0,10,0), MoveToPos = nil, RotationX = 0, RotationY = 0, RotationZ = 0, Material = "Neon", Color = C3(1,0,0), SoundID = 304999618, SoundPitch = 1, SoundVolume = 1}) | |
5711 | wait(1) | |
5712 | WACKYEFFECT({Time = 60, EffectType = "Sphere", Size = VT(0,0,0), Size2 = VT(100,100,100)*5, Transparency = 0.4, Transparency2 = 1, CFrame = CFRAME*CF(0,10,0), MoveToPos = nil, RotationX = 0, RotationY = 0, RotationZ = 0, Material = "Neon", Color = C3(0.3,0,0), SoundID = 461105534, SoundPitch = 1, SoundVolume = 10}) | |
5713 | local PART = CreatePart(3, Effects, "Neon", 0, 1, BRICKC("Pearl"), "Effect", VT(1,1,1), true) | |
5714 | PART.CFrame = CFRAME*CF(0,10,0) | |
5715 | Debris:AddItem(PART,10) | |
5716 | local PARTICLES = script.Explode:Clone() | |
5717 | PARTICLES.Parent = PART | |
5718 | PARTICLES:Emit(500) | |
5719 | ApplyDeathAoE(CFRAME*CF(0,10,0).p,45*2,0,0,350,true) | |
5720 | WACKYEFFECT({Time = 15, EffectType = "Sphere", Size = VT(0,0,0), Size2 = VT(90,90,90)*2, Transparency = 0.8, Transparency2 = 1, CFrame = CFRAME*CF(0,10,0), MoveToPos = nil, RotationX = 0, RotationY = 0, RotationZ = 0, Material = "Neon", Color = C3(1,0,0), SoundID = nil, SoundPitch = 1, SoundVolume = 3}) | |
5721 | WACKYEFFECT({EffectType = "Ring", Size = VT(00,0.01)/20, Size2 = VT(35,35,0.01), Transparency = 0.7, Transparency2 = 1, CFrame = CFRAME*CF(0,10,0)*ANGLES(RAD(0), RAD(90), RAD(0)), MoveToPos = nil, RotationX = 0, RotationY = 0, RotationZ = 0, Material = "Neon", Color = C3(0,0,0), SoundID = nil, SoundPitch = nil, SoundVolume = nil}) | |
5722 | WACKYEFFECT({EffectType = "Ring", Size = VT(00,0.01)/20, Size2 = VT(35,35,0.01), Transparency = 0.7, Transparency2 = 1, CFrame = CFRAME*CF(0,10,0)*ANGLES(RAD(90), RAD(0), RAD(0)), MoveToPos = nil, RotationX = 0, RotationY = 0, RotationZ = 0, Material = "Neon", Color = C3(0,0,0), SoundID = nil, SoundPitch = nil, SoundVolume = nil}) | |
5723 | end)) | |
5724 | end | |
5725 | end | |
5726 | end | |
5727 | end | |
5728 | if EXPLODED == true then | |
5729 | break | |
5730 | end | |
5731 | CFRAME = CFRAME * ANGLES(RAD(0), RAD(10), RAD(0)) * CF(0,0,-3) | |
5732 | WACKYEFFECT({Time = 35, EffectType = "Wave", Size = VT(10,15,10), Size2 = VT(0,35,0), Transparency = 1, Transparency2 = 0.9, CFrame = CFRAME, MoveToPos = nil, RotationX = 0, RotationY = MRANDOM(-2,2)*15, RotationZ = 0, Material = "Neon", Color = BRICKC"Really red".Color, SoundID = nil, SoundPitch = 1, SoundVolume = 7}) | |
5733 | WACKYEFFECT({Time = 35, EffectType = "Wave", Size = VT(15,15,15), Size2 = VT(0,25,0), Transparency = 1, Transparency2 = 0.6, CFrame = CFRAME, MoveToPos = nil, RotationX = 0, RotationY = MRANDOM(-2,2)*15, RotationZ = 0, Material = "Neon", Color = BRICKC"Maroon".Color, SoundID = nil, SoundPitch = 1, SoundVolume = 7}) | |
5734 | end | |
5735 | end | |
5736 | end)) | |
5737 | end | |
5738 | end)) | |
5739 | for i=0, 1, 0.1 / Animation_Speed do | |
5740 | Swait() | |
5741 | RootJoint.C0 = Clerp(RootJoint.C0,ROOTC0 * CF(0, 0, 0 + 0.25 * COS(SINE / 12)) * ANGLES(RAD(4 + 2.5 * SIN(SINE / 12)), RAD(0), RAD(0 + 2.5 * SIN(SINE / 12))), 1 / Animation_Speed) | |
5742 | Neck.C0 = Clerp(Neck.C0, NECKC0 * CF(0, 0, 0 + ((1) - 1)) * ANGLES(RAD(15 + 4.5 * SIN(SINE / 12)), RAD(0), RAD(0 - 2.5 * SIN(SINE / 12))), 1 / Animation_Speed) | |
5743 | RightShoulder.C0 = Clerp(RightShoulder.C0, CF(1.5, 0.5 + 0.25 * COS(SINE / 12), 0) * ANGLES(RAD(0), RAD(0 - 2.5 * SIN(SINE / 12)), RAD(15 + 7.5 * SIN(SINE / 12))) * ANGLES(RAD(0), RAD(-45), RAD(0)) * RIGHTSHOULDERC0, 1 / Animation_Speed) | |
5744 | LeftShoulder.C0 = Clerp(LeftShoulder.C0, CF(-1.5, 0.15 + 0.05 * COS(SINE / 12), -0.5) * ANGLES(RAD(170), RAD(0 + 2.5 * SIN(SINE / 12)), RAD(5 - 7.5 * SIN(SINE / 12))) * LEFTSHOULDERC0, 1 / Animation_Speed) | |
5745 | end | |
5746 | ATTACK = false | |
5747 | Rooted = false | |
5748 | end | |
5749 | ||
5750 | function EMOTE() | |
5751 | ATTACK = true | |
5752 | Rooted = false | |
5753 | local LOOP = 0 | |
5754 | for i=0, 0.1, 0.1 / Animation_Speed do | |
5755 | Swait() | |
5756 | 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) | |
5757 | 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) | |
5758 | RightShoulder.C0 = Clerp(RightShoulder.C0, CF(1.35, 0.15 + 0.25 * COS(SINE / 12), -0.3) * ANGLES(RAD(140), RAD(0 - 2.5 * SIN(SINE / 12)), RAD(5 + 7.5 * SIN(SINE / 12))) * RIGHTSHOULDERC0, 1 / Animation_Speed) | |
5759 | LeftShoulder.C0 = Clerp(LeftShoulder.C0, CF(-1.5, 0.5, -0.4) * ANGLES(RAD(5-3 * COS(SINE / 6)), RAD(0), RAD(-12)) * LEFTSHOULDERC0, 1 / Animation_Speed) | |
5760 | end | |
5761 | for i=0, 3, 0.1 / Animation_Speed do | |
5762 | Swait() | |
5763 | LOOP = LOOP + 1 | |
5764 | 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) | |
5765 | 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) | |
5766 | RightShoulder.C0 = Clerp(RightShoulder.C0, CF(1.35, 0.15 + 0.25 * COS(SINE / 12), -0.3) * ANGLES(RAD(140), RAD(0 - 2.5 * SIN(SINE / 12)), RAD(5 + 7.5 * SIN(SINE / 12))) * RIGHTSHOULDERC0, 1 / Animation_Speed) | |
5767 | LeftShoulder.C0 = Clerp(LeftShoulder.C0, CF(-1.5, 0.8, 0.4) * ANGLES(RAD(170), RAD(0), RAD(-25 - 25 * SIN(LOOP / 5))) * ANGLES(RAD(0), RAD(-45), RAD(0)) * LEFTSHOULDERC0, 1 / Animation_Speed) | |
5768 | end | |
5769 | for i=0, 0.1, 0.1 / Animation_Speed do | |
5770 | Swait() | |
5771 | RootJoint.C0 = Clerp(RootJoint.C0,ROOTC0 * CF(0, 0, 0 + 0.25 * COS(SINE / 12)) * ANGLES(RAD(4 + 2.5 * SIN(SINE / 12)), RAD(0), RAD(25 + 2.5 * SIN(SINE / 12))), 1 / Animation_Speed) | |
5772 | Neck.C0 = Clerp(Neck.C0, NECKC0 * CF(0, 0, 0 + ((1) - 1)) * ANGLES(RAD(0 + 4.5 * SIN(SINE / 12)), RAD(0), RAD(-25 - 2.5 * SIN(SINE / 12))), 1 / Animation_Speed) | |
5773 | RightShoulder.C0 = Clerp(RightShoulder.C0, CF(1.35, 0.15 + 0.25 * COS(SINE / 12), -0.3) * ANGLES(RAD(140), RAD(0 - 2.5 * SIN(SINE / 12)), RAD(5 + 7.5 * SIN(SINE / 12))) * RIGHTSHOULDERC0, 1 / Animation_Speed) | |
5774 | LeftShoulder.C0 = Clerp(LeftShoulder.C0, CF(-1.5, 0.5, -0.4) * ANGLES(RAD(5-3 * COS(SINE / 6)), RAD(0), RAD(-12)) * LEFTSHOULDERC0, 1 / Animation_Speed) | |
5775 | end | |
5776 | ATTACK = false | |
5777 | Rooted = false | |
5778 | end | |
5779 | ||
5780 | function Roar() | |
5781 | ATTACK = true | |
5782 | Rooted = true | |
5783 | local ROAR = CreateSound("199978176", Head, 10, 1) | |
5784 | Swait() | |
5785 | repeat | |
5786 | Swait() | |
5787 | ROAR.Parent = Head | |
5788 | RootJoint.C0 = Clerp(RootJoint.C0, ROOTC0 * CF(0, 0, 0 + 0.25 * COS(SINE / 12)) * ANGLES(RAD(-15 + 2.5 * SIN(SINE / 12)), RAD(0), RAD(0)), 1 / Animation_Speed) | |
5789 | Neck.C0 = Clerp(Neck.C0, NECKC0 * CF(0, 0, 0) * ANGLES(RAD(-25 + 4.5 * SIN(SINE / 12)), RAD(0), RAD(0)), 1 / Animation_Speed) | |
5790 | RightShoulder.C0 = Clerp(RightShoulder.C0, CF(1.5, 0.5 + 0.25 * COS(SINE / 12), 0) * ANGLES(RAD(-45), RAD(0 - 7.5 * SIN(SINE / 12)), RAD(15 + 7.5 * SIN(SINE / 12))) * RIGHTSHOULDERC0, 1 / Animation_Speed) | |
5791 | LeftShoulder.C0 = Clerp(LeftShoulder.C0, CF(-1.5, 0.5 + 0.25 * COS(SINE / 12), 0) * ANGLES(RAD(-45), RAD(0 + 7.5 * SIN(SINE / 12)), RAD(-15 - 7.5 * SIN(SINE / 12))) * LEFTSHOULDERC0, 1 / Animation_Speed) | |
5792 | RightHip.C0 = Clerp(RightHip.C0, CF(1, -1, -0.01) * ANGLES(RAD(-25 - 7.5 * SIN(SINE / 12)), RAD(75), RAD(0)) * ANGLES(RAD(-8 - 2.5 * SIN(SINE / 12)), RAD(0), RAD(0)), 1 / Animation_Speed) | |
5793 | LeftHip.C0 = Clerp(LeftHip.C0, CF(-1, -0.5, -0.5) * ANGLES(RAD(-15 - 7.5 * SIN(SINE / 12)), RAD(-90), RAD(0)) * ANGLES(RAD(-8 - 2.5 * SIN(SINE / 12)), RAD(0), RAD(0)), 1 / Animation_Speed) | |
5794 | until ROAR.Playing == false | |
5795 | ATTACK = false | |
5796 | Rooted = false | |
5797 | end | |
5798 | ||
5799 | function Minutes() | |
5800 | ATTACK = true | |
5801 | Rooted = false | |
5802 | CreateSound(159882644, Character, 10, 1, false) | |
5803 | for i=0, 3.5, 0.1 / Animation_Speed do | |
5804 | Swait() | |
5805 | RootJoint.C0 = Clerp(RootJoint.C0,ROOTC0 * CF(2 + math.cos(SINE / 70) * math.cos(SINE / 20) - 2, 0 , 5 + 1.5* Player_Size * math.cos(SINE / 20)) * ANGLES(RAD(4 + 2.5 * SIN(SINE / 12)), RAD(0), RAD(25 + 2.5 * SIN(SINE / 12))), 1 / Animation_Speed) | |
5806 | Neck.C0 = Clerp(Neck.C0, NECKC0 * CF(0, 0, 0 + ((1) - 1)) * ANGLES(RAD(0 + 4.5 * SIN(SINE / 12)), RAD(0), RAD(-25 - 2.5 * SIN(SINE / 12))), 1 / Animation_Speed) | |
5807 | RightShoulder.C0 = Clerp(RightShoulder.C0, CF(1.5, 0.5, 0) * ANGLES(RAD(90), RAD(0), RAD(0)) * RIGHTSHOULDERC0, 0.15 / Animation_Speed) | |
5808 | 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) | |
5809 | 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) | |
5810 | 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) | |
5811 | end | |
5812 | ATTACK = false | |
5813 | Rooted = false | |
5814 | end | |
5815 | ||
5816 | function TenebrisTAUNT1() | |
5817 | ATTACK = true | |
5818 | Rooted = false | |
5819 | CreateSound(865772398, Torso, 6, 1, false) | |
5820 | for i=0, 0.1, 0.1 / Animation_Speed do | |
5821 | Swait() | |
5822 | 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) | |
5823 | 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) | |
5824 | 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) | |
5825 | 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) | |
5826 | RightShoulder.C0 = Clerp(RightShoulder.C0, CF(1.35, 0.15 + 0.25 * COS(SINE / 12), -0.3) * ANGLES(RAD(140), RAD(0 - 2.5 * SIN(SINE / 12)), RAD(5 + 7.5 * SIN(SINE / 12))) * RIGHTSHOULDERC0, 1 / Animation_Speed) | |
5827 | LeftShoulder.C0 = Clerp(LeftShoulder.C0, CF(-1.5, 0.5 + 0.25 * COS(SINE / 12), 0) * ANGLES(RAD(-45), RAD(0 + 7.5 * SIN(SINE / 12)), RAD(-15 - 7.5 * SIN(SINE / 12))) * LEFTSHOULDERC0, 1 / Animation_Speed) | |
5828 | end | |
5829 | for i=0, 1, 0.1 / Animation_Speed do | |
5830 | Swait() | |
5831 | 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) | |
5832 | 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) | |
5833 | RightShoulder.C0 = Clerp(RightShoulder.C0, CF(1.35, 0.15 + 0.25 * COS(SINE / 12), -0.3) * ANGLES(RAD(140), RAD(0 - 2.5 * SIN(SINE / 12)), RAD(5 + 7.5 * SIN(SINE / 12))) * RIGHTSHOULDERC0, 1 / Animation_Speed) | |
5834 | 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) | |
5835 | 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) | |
5836 | LeftShoulder.C0 = Clerp(LeftShoulder.C0, CF(-1.5, 0.5 + 0.25 * COS(SINE / 12), 0) * ANGLES(RAD(-45), RAD(0 + 7.5 * SIN(SINE / 12)), RAD(-15 - 7.5 * SIN(SINE / 12))) * LEFTSHOULDERC0, 1 / Animation_Speed) | |
5837 | end | |
5838 | for i=0, 1, 0.1 / Animation_Speed do | |
5839 | Swait() | |
5840 | 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) | |
5841 | 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) | |
5842 | RightShoulder.C0 = Clerp(RightShoulder.C0, CF(1.35, 0.15 + 0.25 * COS(SINE / 12), -0.3) * ANGLES(RAD(140), RAD(0 - 2.5 * SIN(SINE / 12)), RAD(5 + 7.5 * SIN(SINE / 12))) * RIGHTSHOULDERC0, 1 / Animation_Speed) | |
5843 | 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) | |
5844 | 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) | |
5845 | LeftShoulder.C0 = Clerp(LeftShoulder.C0, CF(-1.5, 0.5 + 0.25 * COS(SINE / 12), 0) * ANGLES(RAD(-45), RAD(0 + 7.5 * SIN(SINE / 12)), RAD(-15 - 7.5 * SIN(SINE / 12))) * LEFTSHOULDERC0, 1 / Animation_Speed) | |
5846 | end | |
5847 | ATTACK = false | |
5848 | Rooted = false | |
5849 | end | |
5850 | ||
5851 | function Roar2() | |
5852 | ATTACK = true | |
5853 | Rooted = true | |
5854 | local ROAR = CreateSound("528589078", Head, 10, 1) | |
5855 | Swait() | |
5856 | repeat | |
5857 | Swait() | |
5858 | ROAR.Parent = Head | |
5859 | RootJoint.C0 = Clerp(RootJoint.C0, ROOTC0 * CF(0, 0, 0 + 0.25 * COS(SINE / 12)) * ANGLES(RAD(-15 + 2.5 * SIN(SINE / 12)), RAD(0), RAD(0)), 1 / Animation_Speed) | |
5860 | Neck.C0 = Clerp(Neck.C0, NECKC0 * CF(0, 0, 0) * ANGLES(RAD(-25 + 4.5 * SIN(SINE / 12)), RAD(0), RAD(0)), 1 / Animation_Speed) | |
5861 | RightShoulder.C0 = Clerp(RightShoulder.C0, CF(1.5, 0.5 + 0.25 * COS(SINE / 12), 0) * ANGLES(RAD(-45), RAD(0 - 7.5 * SIN(SINE / 12)), RAD(15 + 7.5 * SIN(SINE / 12))) * RIGHTSHOULDERC0, 1 / Animation_Speed) | |
5862 | LeftShoulder.C0 = Clerp(LeftShoulder.C0, CF(-1.5, 0.5 + 0.25 * COS(SINE / 12), 0) * ANGLES(RAD(-45), RAD(0 + 7.5 * SIN(SINE / 12)), RAD(-15 - 7.5 * SIN(SINE / 12))) * LEFTSHOULDERC0, 1 / Animation_Speed) | |
5863 | RightHip.C0 = Clerp(RightHip.C0, CF(1, -1, -0.01) * ANGLES(RAD(-25 - 7.5 * SIN(SINE / 12)), RAD(75), RAD(0)) * ANGLES(RAD(-8 - 2.5 * SIN(SINE / 12)), RAD(0), RAD(0)), 1 / Animation_Speed) | |
5864 | LeftHip.C0 = Clerp(LeftHip.C0, CF(-1, -0.5, -0.5) * ANGLES(RAD(-15 - 7.5 * SIN(SINE / 12)), RAD(-90), RAD(0)) * ANGLES(RAD(-8 - 2.5 * SIN(SINE / 12)), RAD(0), RAD(0)), 1 / Animation_Speed) | |
5865 | until ROAR.Playing == false | |
5866 | ATTACK = false | |
5867 | Rooted = false | |
5868 | end | |
5869 | ||
5870 | --//=================================\\ | |
5871 | --|| ASSIGN THINGS TO KEYS | |
5872 | --\\=================================// | |
5873 | ||
5874 | function MouseDown(Mouse) | |
5875 | if ATTACK == false then | |
5876 | end | |
5877 | end | |
5878 | ||
5879 | function MouseUp(Mouse) | |
5880 | HOLD = false | |
5881 | end | |
5882 | ||
5883 | local FLIGHT = false | |
5884 | ||
5885 | function KeyDown(Key) | |
5886 | KEYHOLD = true | |
5887 | if Key == "z" and ATTACK == false then | |
5888 | if MODE == "Main" then | |
5889 | Lunar_Blast() | |
5890 | elseif MODE == "Phaedra" then | |
5891 | Dolor_Pluvia() | |
5892 | elseif MODE == "Tenebris" then | |
5893 | Dark_Blast() | |
5894 | elseif MODE == "Fugatrix" then | |
5895 | Banisher_Bullet() | |
5896 | elseif MODE == "Praefectus" then | |
5897 | Governor_Bomb() | |
5898 | elseif MODE == "Demonum" then | |
5899 | Governor_Bomb2() | |
5900 | elseif MODE == "Mortem" then | |
5901 | Dead_Bullet() | |
5902 | elseif MODE == "Ultra Phaedra" then | |
5903 | Ultimate_Z() | |
5904 | end | |
5905 | end | |
5906 | ||
5907 | if Key == "t" and ATTACK == false then | |
5908 | if MODE == "Main" then | |
5909 | CreateSound("907330011", Head, 10, 1.2) | |
5910 | elseif MODE == "Phaedra" then | |
5911 | Roar() | |
5912 | elseif MODE == "Tenebris" then | |
5913 | TenebrisTAUNT1() | |
5914 | elseif MODE == "Maris" then | |
5915 | Minutes() | |
5916 | elseif MODE == "Fugatrix" then | |
5917 | CreateSound(221057812,Torso,10,1,false) | |
5918 | elseif MODE == "Praefectus" then | |
5919 | ATTACK = true | |
5920 | CreateSound(363808674, Torso, 6, 1, false) | |
5921 | for i=0, 0.6, 0.1 / Animation_Speed do | |
5922 | Swait() | |
5923 | 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) | |
5924 | Neck.C0 = Clerp(Neck.C0, NECKC0 * CF(0, 0, 0 + ((1.25*SIZE) - 1)) * ANGLES(RAD(35), RAD(0), RAD(0)), 1 / Animation_Speed) | |
5925 | RightShoulder.C0 = Clerp(RightShoulder.C0, CF(1.25, 0.5, -0.5) * ANGLES(RAD(100), RAD(0), RAD(-50)) * RIGHTSHOULDERC0, 1 / Animation_Speed) | |
5926 | LeftShoulder.C0 = Clerp(LeftShoulder.C0, CF(-1.25, 0.35, -0.35) * ANGLES(RAD(70), RAD(0), RAD(60)) * LEFTSHOULDERC0, 1 / Animation_Speed) | |
5927 | 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) | |
5928 | 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) | |
5929 | end | |
5930 | for i=0, 0.6, 0.1 / Animation_Speed do | |
5931 | Swait() | |
5932 | 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) | |
5933 | ||
5934 | Neck.C0 = Clerp(Neck.C0, NECKC0 * CF(0, 0, 0 + ((1.25*SIZE) - 1)) * ANGLES(RAD(35), RAD(0), RAD(0)), 1 / Animation_Speed) | |
5935 | RightShoulder.C0 = Clerp(RightShoulder.C0, CF(1.25, 0.5, -0.5) * ANGLES(RAD(100), RAD(0), RAD(-90)) * RIGHTSHOULDERC0, 1 / Animation_Speed) | |
5936 | LeftShoulder.C0 = Clerp(LeftShoulder.C0, CF(-1.25, 0.35, -0.35) * ANGLES(RAD(70), RAD(0), RAD(90)) * LEFTSHOULDERC0, 1 / Animation_Speed) | |
5937 | 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) | |
5938 | 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) | |
5939 | end | |
5940 | ATTACK = false | |
5941 | elseif MODE == "Demonum" then | |
5942 | Roar2() | |
5943 | elseif MODE == "Mortem" then | |
5944 | EMOTE() | |
5945 | elseif MODE == "Ultra Phaedra" then | |
5946 | Roar() | |
5947 | end | |
5948 | end | |
5949 | ||
5950 | if Key == "space" then | |
5951 | Humanoid.Jump = true | |
5952 | end | |
5953 | ||
5954 | if Key == "zero" and ATTACK == false then | |
5955 | PhForm() | |
5956 | end | |
5957 | ||
5958 | if Key == "semicolon" and ATTACK == false then | |
5959 | FinalForm() | |
5960 | end | |
5961 | ||
5962 | if Key == "m" and ATTACK == false and MODE == "Phaedra" then | |
5963 | UpForm() | |
5964 | end | |
5965 | ||
5966 | if Key == "zero" and ATTACK == false and MODE == "Ultra Phaedra" then | |
5967 | UpForm() | |
5968 | end | |
5969 | ||
5970 | if Key == "m" and ATTACK == false and MODE == "Praefectus" then | |
5971 | DeForm() | |
5972 | end | |
5973 | ||
5974 | if Key == "three" and ATTACK == false and MODE == "Demonum" then | |
5975 | DeForm() | |
5976 | end | |
5977 | ||
5978 | if Key == "three" and ATTACK == false then | |
5979 | PrForm() | |
5980 | end | |
5981 | ||
5982 | if Key == "m" and ATTACK == false and MODE == "Tenebris" then | |
5983 | VeForm() | |
5984 | end | |
5985 | ||
5986 | if Key == "one" and ATTACK == false and MODE == "Venari" then | |
5987 | VeForm() | |
5988 | end | |
5989 | ||
5990 | if Key == "four" and ATTACK == false then | |
5991 | InForm() | |
5992 | end | |
5993 | ||
5994 | if Key == "x" and ATTACK == false and MODE == "Phaedra" then | |
5995 | LEVEL = 3 | |
5996 | Ultima_Consummatio() | |
5997 | LEVEL = 1 | |
5998 | end | |
5999 | ||
6000 | if Key == "m" and ATTACK == false and MODE == "Fugatrix" then | |
6001 | DeathForm() | |
6002 | end | |
6003 | ||
6004 | if Key == "two" and ATTACK == false and MODE == "Mortem" then | |
6005 | DeathForm() | |
6006 | end | |
6007 | ||
6008 | if Key == "two" and ATTACK == false then | |
6009 | BaForm() | |
6010 | end | |
6011 | ||
6012 | if Key == "one" and ATTACK == false then | |
6013 | TeForm() | |
6014 | end | |
6015 | ||
6016 | if Key == "b" and ATTACK == false then | |
6017 | if MODE == "Main" then | |
6018 | Star_Cutter() | |
6019 | elseif MODE == "Phaedra" then | |
6020 | Ignem_Aeternum() | |
6021 | elseif MODE == "Tenebris" then | |
6022 | Dark_Cutter() | |
6023 | elseif MODE == "Fugatrix" then | |
6024 | Ruler2() | |
6025 | elseif MODE == "Praefectus" then | |
6026 | Command_Rush() | |
6027 | elseif MODE == "Demonum" then | |
6028 | Blizzard() | |
6029 | elseif MODE == "Ultra Phaedra" then | |
6030 | Ultimate_B() | |
6031 | elseif MODE == "Mortem" then | |
6032 | Dead_Cutter() | |
6033 | end | |
6034 | end | |
6035 | ||
6036 | if Key == "c" and ATTACK == false then | |
6037 | if MODE == "Main" then | |
6038 | Supernova() | |
6039 | elseif MODE == "Phaedra" then | |
6040 | Ultima_Consummatio() | |
6041 | elseif MODE == "Tenebris" then | |
6042 | SupernovaThrow() | |
6043 | elseif MODE == "Fugatrix" then | |
6044 | Ultima_ConsummatioB() | |
6045 | elseif MODE == "Praefectus" then | |
6046 | Ruler() | |
6047 | elseif MODE == "Demonum" then | |
6048 | SupernovaThrow() | |
6049 | elseif MODE == "Ultra Phaedra" then | |
6050 | Governor_Bomb3() | |
6051 | elseif MODE == "Mortem" then | |
6052 | FingerMagic() | |
6053 | end | |
6054 | end | |
6055 | ||
6056 | if Key == "q" and ATTACK == false then | |
6057 | if MODE == "Main" then | |
6058 | Astral_Hop() | |
6059 | elseif MODE == "Phaedra" then | |
6060 | Hop() | |
6061 | elseif MODE == "Tenebris" then | |
6062 | Astral_Hop() | |
6063 | elseif MODE == "Venari" then | |
6064 | SummonHop() | |
6065 | elseif MODE == "Fugatrix" then | |
6066 | Banish_Hop() | |
6067 | elseif MODE == "Praefectus" then | |
6068 | Monarch_Hop() | |
6069 | elseif MODE == "Demonum" then | |
6070 | Banish_Hop() | |
6071 | elseif MODE == "Mortem" then | |
6072 | Banish_Hop() | |
6073 | elseif MODE == "Ultra Phaedra" then | |
6074 | Hop() | |
6075 | end | |
6076 | end | |
6077 | end | |
6078 | ||
6079 | function KeyUp(Key) | |
6080 | KEYHOLD = false | |
6081 | end | |
6082 | ||
6083 | Mouse.Button1Down:connect(function(NEWKEY) | |
6084 | MouseDown(NEWKEY) | |
6085 | end) | |
6086 | Mouse.Button1Up:connect(function(NEWKEY) | |
6087 | MouseUp(NEWKEY) | |
6088 | end) | |
6089 | Mouse.KeyDown:connect(function(NEWKEY) | |
6090 | KeyDown(NEWKEY) | |
6091 | end) | |
6092 | Mouse.KeyUp:connect(function(NEWKEY) | |
6093 | KeyUp(NEWKEY) | |
6094 | end) | |
6095 | ||
6096 | --//=================================\\ | |
6097 | --\\=================================// | |
6098 | ||
6099 | ||
6100 | function unanchor() | |
6101 | if UNANCHOR == true then | |
6102 | g = Character:GetChildren() | |
6103 | for i = 1, #g do | |
6104 | if g[i].ClassName == "Part" then | |
6105 | g[i].Anchored = false | |
6106 | end | |
6107 | end | |
6108 | g = Weapon:GetChildren() | |
6109 | for i = 1, #g do | |
6110 | if g[i].ClassName == "Part" then | |
6111 | g[i].Anchored = false | |
6112 | end | |
6113 | end | |
6114 | end | |
6115 | end | |
6116 | ||
6117 | ||
6118 | --//=================================\\ | |
6119 | --|| WRAP THE WHOLE SCRIPT UP | |
6120 | --\\=================================// | |
6121 | ||
6122 | function slash(bonuspeed,rotspeed,rotatingop,typeofshape,type,typeoftrans,pos,scale,value,color) | |
6123 | local type = type | |
6124 | local rotenable = rotatingop | |
6125 | local rng = Instance.new("Part", Character) | |
6126 | rng.Anchored = true | |
6127 | rng.BrickColor = color | |
6128 | rng.CanCollide = false | |
6129 | rng.FormFactor = 3 | |
6130 | rng.Name = "Ring" | |
6131 | rng.Material = "Neon" | |
6132 | rng.Size = Vector3.new(1, 1, 1) | |
6133 | rng.Transparency = 0 | |
6134 | if typeoftrans == "In" then | |
6135 | rng.Transparency = 1 | |
6136 | end | |
6137 | rng.TopSurface = 0 | |
6138 | rng.BottomSurface = 0 | |
6139 | rng.CFrame = pos | |
6140 | local rngm = Instance.new("SpecialMesh", rng) | |
6141 | rngm.MeshType = "FileMesh" | |
6142 | if typeofshape == "Normal" then | |
6143 | rngm.MeshId = "rbxassetid://662586858" | |
6144 | elseif typeofshape == "Round" then | |
6145 | rngm.MeshId = "rbxassetid://662585058" | |
6146 | end | |
6147 | rngm.Scale = scale | |
6148 | local scaler2 = 1/10 | |
6149 | if type == "Add" then | |
6150 | scaler2 = 1*value/10 | |
6151 | elseif type == "Divide" then | |
6152 | scaler2 = 1/value/10 | |
6153 | end | |
6154 | local randomrot = math.random(1,2) | |
6155 | coroutine.resume(coroutine.create(function() | |
6156 | for i = 0,10/bonuspeed,0.1 do | |
6157 | Swait() | |
6158 | if type == "Add" then | |
6159 | scaler2 = scaler2 - 0.01*value/bonuspeed/10 | |
6160 | elseif type == "Divide" then | |
6161 | scaler2 = scaler2 - 0.01/value*bonuspeed/10 | |
6162 | end | |
6163 | if rotenable == true then | |
6164 | if randomrot == 1 then | |
6165 | rng.CFrame = rng.CFrame*CFrame.Angles(0,math.rad(rotspeed*bonuspeed/2),0) | |
6166 | elseif randomrot == 2 then | |
6167 | rng.CFrame = rng.CFrame*CFrame.Angles(0,math.rad(-rotspeed*bonuspeed/2),0) | |
6168 | end | |
6169 | end | |
6170 | if typeoftrans == "Out" then | |
6171 | rng.Transparency = rng.Transparency + 0.01*bonuspeed | |
6172 | elseif typeoftrans == "In" then | |
6173 | rng.Transparency = rng.Transparency - 0.01*bonuspeed | |
6174 | end | |
6175 | rngm.Scale = rngm.Scale + Vector3.new(scaler2*bonuspeed/10, 0, scaler2*bonuspeed/10) | |
6176 | end | |
6177 | rng:Destroy() | |
6178 | end)) | |
6179 | end | |
6180 | ||
6181 | Humanoid.Changed:connect(function(Jump) | |
6182 | if Jump == "Jump" and (Disable_Jump == true) then | |
6183 | Humanoid.Jump = false | |
6184 | end | |
6185 | end) | |
6186 | ||
6187 | Humanoid.HipHeight = 2 | |
6188 | Head:ClearAllChildren() | |
6189 | ||
6190 | Speed = 35 | |
6191 | ||
6192 | local BODY = {} | |
6193 | for _, c in pairs(Character:GetDescendants()) do | |
6194 | if c:IsA("BasePart") and c.Name ~= "Handle" then | |
6195 | if c ~= RootPart and c ~= Torso and c ~= Head and c ~= RightArm and c ~= LeftArm and c ~= RightLeg and c ~= LeftLeg then | |
6196 | c.CustomPhysicalProperties = PhysicalProperties.new(0, 0, 0, 0, 0) | |
6197 | end | |
6198 | table.insert(BODY,{c,c.Parent,c.Material,c.Color,c.Transparency}) | |
6199 | elseif c:IsA("JointInstance") then | |
6200 | table.insert(BODY,{c,c.Parent,nil,nil,nil}) | |
6201 | end | |
6202 | end | |
6203 | for e = 1, #BODY do | |
6204 | if BODY[e] ~= nil then | |
6205 | local STUFF = BODY[e] | |
6206 | local PART = STUFF[1] | |
6207 | local PARENT = STUFF[2] | |
6208 | local MATERIAL = STUFF[3] | |
6209 | local COLOR = STUFF[4] | |
6210 | local TRANSPARENCY = STUFF[5] | |
6211 | if PART.ClassName == "Part" and PART ~= RootPart then | |
6212 | PART.Transparency = TRANSPARENCY | |
6213 | end | |
6214 | PART.AncestryChanged:Connect(function() | |
6215 | PART.Parent = PARENT | |
6216 | end) | |
6217 | end | |
6218 | end | |
6219 | function refit2() | |
6220 | Character.Parent = workspace | |
6221 | for e = 1, #BODY do | |
6222 | if BODY[e] ~= nil then | |
6223 | local STUFF = BODY[e] | |
6224 | local PART = STUFF[1] | |
6225 | local PARENT = STUFF[2] | |
6226 | ||
6227 | local TRANSPARENCY = STUFF[5] | |
6228 | if PART:IsA("BasePart") and PART ~= RootPart then | |
6229 | ||
6230 | PART.Transparency = TRANSPARENCY | |
6231 | end | |
6232 | if PART.Parent ~= PARENT then | |
6233 | Humanoid:remove() | |
6234 | PART.Parent = PARENT | |
6235 | Humanoid = IT("Humanoid",Character) | |
6236 | ||
6237 | end | |
6238 | end | |
6239 | end | |
6240 | end | |
6241 | ||
6242 | local EXTRATRANS = 0 | |
6243 | ||
6244 | function refit3() | |
6245 | Character.Parent = workspace | |
6246 | for e = 1, #BODY do | |
6247 | if BODY[e] ~= nil then | |
6248 | local STUFF = BODY[e] | |
6249 | local PART = STUFF[1] | |
6250 | local PARENT = STUFF[2] | |
6251 | local MATERIAL = STUFF[3] | |
6252 | local COLOR = STUFF[4] | |
6253 | local TRANSPARENCY = STUFF[5] | |
6254 | if PART:IsA("BasePart") and PART ~= RootPart then | |
6255 | PART.Transparency = TRANSPARENCY+EXTRATRANS | |
6256 | end | |
6257 | if PART.Parent ~= PARENT then | |
6258 | Humanoid:remove() | |
6259 | PART.Parent = PARENT | |
6260 | Humanoid = IT("Humanoid",Character) | |
6261 | end | |
6262 | end | |
6263 | end | |
6264 | end | |
6265 | ||
6266 | Humanoid.Died:connect(function() | |
6267 | refit3() | |
6268 | refit2() | |
6269 | end) | |
6270 | ||
6271 | ||
6272 | ||
6273 | local FOUNDFORGOTTEN = false | |
6274 | ||
6275 | for _, c in pairs(Character:GetChildren()) do | |
6276 | if c == Head then | |
6277 | local M = CreateMesh("SpecialMesh", c, "FileMesh", "162384581", "162384608", VT(1,1,1)*1.1, VT(0,0,0)) | |
6278 | M.Name = "Dominus" | |
6279 | end | |
6280 | end | |
6281 | ||
6282 | function CreateParta(parent,transparency,reflectance,material,brickcolor) | |
6283 | local p = Instance.new("Part") | |
6284 | p.TopSurface = 0 | |
6285 | p.BottomSurface = 0 | |
6286 | p.Parent = parent | |
6287 | p.Size = Vector3.new(0.1,0.1,0.1) | |
6288 | p.Transparency = transparency | |
6289 | p.Reflectance = reflectance | |
6290 | p.CanCollide = false | |
6291 | p.Locked = true | |
6292 | p.BrickColor = brickcolor | |
6293 | p.Material = material | |
6294 | return p | |
6295 | end | |
6296 | ||
6297 | function CreateWeld(parent,part0,part1,C1X,C1Y,C1Z,C1Xa,C1Ya,C1Za,C0X,C0Y,C0Z,C0Xa,C0Ya,C0Za) | |
6298 | local weld = Instance.new("Weld") | |
6299 | weld.Parent = parent | |
6300 | weld.Part0 = part0 | |
6301 | weld.Part1 = part1 | |
6302 | weld.C1 = CFrame.new(C1X,C1Y,C1Z)*CFrame.Angles(C1Xa,C1Ya,C1Za) | |
6303 | weld.C0 = CFrame.new(C0X,C0Y,C0Z)*CFrame.Angles(C0Xa,C0Ya,C0Za) | |
6304 | return weld | |
6305 | end | |
6306 | ||
6307 | local m = Instance.new("Model",Character) | |
6308 | ||
6309 | local cen = CreateParta(m,1,1,"SmoothPlastic",BrickColor.random()) | |
6310 | CreateWeld(cen,RootPart,cen,0,3,0,math.rad(0),math.rad(0),math.rad(0),0,0,0,math.rad(0),math.rad(0),math.rad(0)) | |
6311 | ||
6312 | local effar = Instance.new("ParticleEmitter",cen) | |
6313 | effar.Texture = "rbxassetid://2344870656" | |
6314 | effar.LightEmission = 1 | |
6315 | effar.Color = ColorSequence.new(Color3.new(1,0,0)) | |
6316 | effar.Rate = 50 | |
6317 | effar.Enabled = false | |
6318 | effar.EmissionDirection = "Front" | |
6319 | effar.Lifetime = NumberRange.new(1) | |
6320 | effar.Size = NumberSequence.new({NumberSequenceKeypoint.new(0,15,0),NumberSequenceKeypoint.new(0.1,5,0),NumberSequenceKeypoint.new(0.8,15,0),NumberSequenceKeypoint.new(1,40,0)}) | |
6321 | effar.Transparency = NumberSequence.new({NumberSequenceKeypoint.new(0,1,0),NumberSequenceKeypoint.new(0.8,0.5,0),NumberSequenceKeypoint.new(1,1,0)}) | |
6322 | effar.Speed = NumberRange.new(80,90) | |
6323 | effar.Acceleration = Vector3.new(0,10,0) | |
6324 | effar.Drag = 5 | |
6325 | effar.Rotation = NumberRange.new(-500,500) | |
6326 | effar.SpreadAngle = Vector2.new(0,900) | |
6327 | effar.RotSpeed = NumberRange.new(-500,500) | |
6328 | ||
6329 | while true do | |
6330 | Swait() | |
6331 | ANIMATE.Parent = nil | |
6332 | Humanoid.HipHeight = 2 | |
6333 | SINE = SINE + CHANGE | |
6334 | local TORSOVELOCITY = (RootPart.Velocity * VT(1, 0, 1)).magnitude | |
6335 | local TORSOVERTICALVELOCITY = RootPart.Velocity.y | |
6336 | local LV = Torso.CFrame:pointToObjectSpace(Torso.Velocity - Torso.Position) | |
6337 | local HITFLOOR,HITPOS,NORMAL = Raycast(RootPart.Position, (CF(RootPart.Position, RootPart.Position + VT(0, -1, 0))).lookVector, 7 * Player_Size, Character) | |
6338 | if ATTACK == false then | |
6339 | if TORSOVELOCITY < 1 and MODE == "Main" then | |
6340 | 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) | |
6341 | 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) | |
6342 | 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) | |
6343 | 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) | |
6344 | 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) | |
6345 | 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) | |
6346 | elseif TORSOVELOCITY > 1 and MODE == "Main" then | |
6347 | 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) | |
6348 | 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) | |
6349 | 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) | |
6350 | 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) | |
6351 | 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) | |
6352 | 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) | |
6353 | elseif TORSOVELOCITY < 1 and MODE == "Demonum" then | |
6354 | SKILLTEXTCOLOR = C3(1, 0, 0) | |
6355 | SKILLTEXTCOLOR2 = C3(0,0,0) | |
6356 | local snap = math.random(1,2) | |
6357 | if snap == 1 then | |
6358 | SKILLTEXTCOLOR = C3(0,0,0) | |
6359 | SKILLTEXTCOLOR2 = C3(1,0,0) | |
6360 | end | |
6361 | RootJoint.C0 = Clerp(RootJoint.C0,ROOTC0 * CF(0 - 0.5 * SIN(SINE / 12), 0 + 0.25 * COS(SINE / 32), 1 + 1 * COS(SINE / 12)) * ANGLES(RAD(4 + 2.5 * SIN(SINE / 12)), RAD(0), RAD(5 + 2.5 * SIN(SINE / 24))), 1 / Animation_Speed) | |
6362 | 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) | |
6363 | 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) | |
6364 | 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) | |
6365 | 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) | |
6366 | 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) | |
6367 | elseif TORSOVELOCITY > 1 and MODE == "Demonum" then | |
6368 | SKILLTEXTCOLOR = C3(1, 0, 0) | |
6369 | SKILLTEXTCOLOR2 = C3(0,0,0) | |
6370 | local snap = math.random(1,2) | |
6371 | if snap == 1 then | |
6372 | SKILLTEXTCOLOR = C3(0,0,0) | |
6373 | SKILLTEXTCOLOR2 = C3(1,0,0) | |
6374 | end | |
6375 | RootJoint.C0 = Clerp(RootJoint.C0,ROOTC0 * CF(0 - 0.5 * SIN(SINE / 12), 0 + 0.25 * COS(SINE / 32), 1 + 1 * COS(SINE / 12)) * ANGLES(RAD(25 + 2.5 * SIN(SINE / 12)), RAD(0), RAD(5 + 2.5 * SIN(SINE / 24))), 1 / Animation_Speed) | |
6376 | 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) | |
6377 | 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) | |
6378 | 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) | |
6379 | 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) | |
6380 | 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) | |
6381 | elseif TORSOVELOCITY < 1 and MODE == "Phaedra" then | |
6382 | SKILLTEXTCOLOR = C3(0.7372549019607844, 0.6078431372549019, 0.36470588235294116) | |
6383 | SKILLTEXTCOLOR2 = C3(1,1,1) | |
6384 | local snap = math.random(1,2) | |
6385 | if snap == 1 then | |
6386 | SKILLTEXTCOLOR = C3(1,1,1) | |
6387 | SKILLTEXTCOLOR2 = C3(0.7372549019607844, 0.6078431372549019, 0.36470588235294116) | |
6388 | end | |
6389 | RootJoint.C0 = Clerp(RootJoint.C0, ROOTC0 * CF(0 - 1 * SIN(SINE / 22), 0, 2 + 1.5 * COS(SINE / 22)) * ANGLES(RAD(4 + 2.5 * SIN(SINE / 12)), RAD(0), RAD(0)), 1 / Animation_Speed) | |
6390 | Neck.C0 = Clerp(Neck.C0, NECKC0 * CF(0, 0, 0) * ANGLES(RAD(5 + 6.5 * SIN(SINE / 24)), RAD(9*SIN(SINE/24)), RAD(6*SIN(SINE/24))), 1 / Animation_Speed) | |
6391 | RightShoulder.C0 = Clerp(RightShoulder.C0, CF(1.15, 0.15 + 0.1 * COS(SINE / 12), 0.5) * ANGLES(RAD(-45), RAD(0 - 2.5 * SIN(SINE / 12)), RAD(-45 + 7.5 * SIN(SINE / 12))) * RIGHTSHOULDERC0, 1 / Animation_Speed) | |
6392 | LeftShoulder.C0 = Clerp(LeftShoulder.C0, CF(-1.15, 0.15 + 0.1 * COS(SINE / 12), 0.5) * ANGLES(RAD(-45), RAD(0 + 2.5 * SIN(SINE / 12)), RAD(45 - 7.5 * SIN(SINE / 12))) * LEFTSHOULDERC0, 1 / Animation_Speed) | |
6393 | 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) | |
6394 | 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) | |
6395 | elseif TORSOVELOCITY > 1 and MODE == "Phaedra" then | |
6396 | SKILLTEXTCOLOR = C3(0.7372549019607844, 0.6078431372549019, 0.36470588235294116) | |
6397 | SKILLTEXTCOLOR2 = C3(1,1,1) | |
6398 | local snap = math.random(1,2) | |
6399 | if snap == 1 then | |
6400 | SKILLTEXTCOLOR2 = C3(0.7372549019607844, 0.6078431372549019, 0.36470588235294116) | |
6401 | SKILLTEXTCOLOR = C3(1,1,1) | |
6402 | end | |
6403 | RootJoint.C0 = Clerp(RootJoint.C0, ROOTC0 * CF(0 - 1 * SIN(SINE / 22), 0, 2 + 1.5 * COS(SINE / 22)) * ANGLES(RAD(25 + 2.5 * SIN(SINE / 12)), RAD(0), RAD(5 + 2.5 * SIN(SINE / 12))), 1 / Animation_Speed) | |
6404 | Neck.C0 = Clerp(Neck.C0, NECKC0 * CF(0, 0, 0) * ANGLES(RAD(-25 + 4.5 * SIN(SINE / 12)), RAD(15 * SIN(SINE / 28)), RAD(5 * SIN(SINE / 12))), 1 / Animation_Speed) | |
6405 | 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) | |
6406 | 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) | |
6407 | 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) | |
6408 | 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) | |
6409 | elseif TORSOVELOCITY < 1 and MODE == "Tenebris" then | |
6410 | 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) | |
6411 | 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) | |
6412 | 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) | |
6413 | LeftShoulder.C0 = Clerp(LeftShoulder.C0, CF(-1.25, 0.35, -0.35) * ANGLES(RAD(70), RAD(0), RAD(90)) * LEFTSHOULDERC0, 1 / Animation_Speed) | |
6414 | 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) | |
6415 | 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) | |
6416 | elseif TORSOVELOCITY > 1 and MODE == "Tenebris" then | |
6417 | 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) | |
6418 | 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) | |
6419 | 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) | |
6420 | LeftShoulder.C0 = Clerp(LeftShoulder.C0, CF(-1.25, 0.35, -0.35) * ANGLES(RAD(70), RAD(0), RAD(90)) * LEFTSHOULDERC0, 1 / Animation_Speed) | |
6421 | 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) | |
6422 | 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) | |
6423 | elseif TORSOVELOCITY < 1 and MODE == "Fugatrix" then | |
6424 | 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) | |
6425 | 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) | |
6426 | 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) | |
6427 | 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) | |
6428 | 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) | |
6429 | 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) | |
6430 | elseif TORSOVELOCITY > 1 and MODE == "Fugatrix" then | |
6431 | 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) | |
6432 | 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) | |
6433 | 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) | |
6434 | 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) | |
6435 | 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) | |
6436 | LeftHip.C0 = Clerp(LeftHip.C0, CF(-1, -0.5, -0.5) * ANGLES(RAD(-2.5 * SIN(SINE / 12)), RAD(-90), RAD(0)) * ANGLES(RAD(-8 - 2.5 * SIN(SINE / 12)), RAD(0), RAD(0)), 1 / Animation_Speed) | |
6437 | elseif TORSOVELOCITY < 1 and MODE == "Praefectus" then | |
6438 | 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) | |
6439 | Neck.C0 = Clerp(Neck.C0, NECKC0 * CF(0, 0, 0 + ((1) - 1)) * ANGLES(RAD(0 + 4.5 * SIN(SINE / 12)), RAD(0), RAD(-5 - 2.5 * SIN(SINE / 12))), 1 / Animation_Speed) | |
6440 | if MRANDOM(1,7) == 1 then | |
6441 | Neck.C0 = Clerp(Neck.C0, NECKC0 * CF(0, 0, 0 + ((1) - 1)) * ANGLES(RAD(0 + MRANDOM(-25,25) - 4 * COS(SINE / 12)), RAD(MRANDOM(-25,25)), RAD(0)), 1.5 / Animation_Speed) | |
6442 | end | |
6443 | RightShoulder.C0 = Clerp(RightShoulder.C0, CF(1.5, 0.5 + 0.25 * COS(SINE / 12), 0) * ANGLES(RAD(140), RAD(0 - 2.5 * SIN(SINE / 12)), RAD(25 + 7.5 * SIN(SINE / 12))) * RIGHTSHOULDERC0, 1 / Animation_Speed) | |
6444 | LeftShoulder.C0 = Clerp(LeftShoulder.C0, CF(-1.5, 0.5 + 0.25 * COS(SINE / 12), 0) * ANGLES(RAD(0), RAD(0 + 2.5 * SIN(SINE / 12)), RAD(-5 - 7.5 * SIN(SINE / 12))) * LEFTSHOULDERC0, 1 / Animation_Speed) | |
6445 | RightHip.C0 = Clerp(RightHip.C0, CF(1, -1, -0.01) * ANGLES(RAD(-2.5 * SIN(SINE / 12)), RAD(75), RAD(0)) * ANGLES(RAD(-8 - 2.5 * SIN(SINE / 12)), RAD(0), RAD(0)), 1 / Animation_Speed) | |
6446 | LeftHip.C0 = Clerp(LeftHip.C0, CF(-1, -0.5, -0.5) * ANGLES(RAD(-2.5 * SIN(SINE / 12)), RAD(-90), RAD(0)) * ANGLES(RAD(-8 - 2.5 * SIN(SINE / 12)), RAD(0), RAD(0)), 1 / Animation_Speed) | |
6447 | elseif TORSOVELOCITY > 1 and MODE == "Praefectus" then | |
6448 | 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) | |
6449 | 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) | |
6450 | - | function sphereMK(bonuspeed,FastSpeed,type,pos,x1,y1,z1,value,color,outerpos) |
6450 | + | |
6451 | 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) | |
6452 | end | |
6453 | 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) | |
6454 | - | if ModeOfGlitch ~= 9 then |
6454 | + | |
6455 | 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) | |
6456 | - | elseif ModeOfGlitch == 9 then |
6456 | + | |
6457 | elseif TORSOVELOCITY < 1 and MODE == "Venari" then | |
6458 | RootJoint.C0 = Clerp(RootJoint.C0,ROOTC0 * CF(0 - 1 * SIN(SINE / 22), 0, 1 + 0.25 * COS(SINE / 12)) * ANGLES(RAD(4 + 2.5 * SIN(SINE / 12)), RAD(0), RAD(5 + 2.5 * SIN(SINE / 12))), 1 / Animation_Speed) | |
6459 | 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) | |
6460 | 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) | |
6461 | 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) | |
6462 | 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) | |
6463 | 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) | |
6464 | elseif TORSOVELOCITY > 1 and MODE == "Venari" then | |
6465 | RootJoint.C0 = Clerp(RootJoint.C0,ROOTC0 * CF(0 - 1 * SIN(SINE / 22), 0, 1 + 0.25 * COS(SINE / 12)) * ANGLES(RAD(25 + 2.5 * SIN(SINE / 12)), RAD(0), RAD(5 + 2.5 * SIN(SINE / 12))), 1 / Animation_Speed) | |
6466 | 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) | |
6467 | 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) | |
6468 | - | rng.CFrame = rng.CFrame + rng.CFrame.lookVector*outerpos |
6468 | + | |
6469 | 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) | |
6470 | - | rngm.MeshType = "Sphere" |
6470 | + | |
6471 | - | rngm.Scale = VT(x1,y1,z1) |
6471 | + | |
6472 | RootJoint.C0 = Clerp(RootJoint.C0, ROOTC0 * CF(0 - 1 * SIN(SINE / 22), 0, 2 + 1.5 * COS(SINE / 22)) * ANGLES(RAD(4 + 2.5 * SIN(SINE / 12)), RAD(0), RAD(0)), 1 / Animation_Speed) | |
6473 | Neck.C0 = Clerp(Neck.C0, NECKC0 * CF(0, 0, 0) * ANGLES(RAD(5 + 6.5 * SIN(SINE / 24)), RAD(9*SIN(SINE/24)), RAD(6*SIN(SINE/24))), 1 / Animation_Speed) | |
6474 | RightShoulder.C0 = Clerp(RightShoulder.C0, CF(1.15, 0.15 + 0.1 * COS(SINE / 12), 0.5) * ANGLES(RAD(-45), RAD(0 - 2.5 * SIN(SINE / 12)), RAD(-45 + 7.5 * SIN(SINE / 12))) * RIGHTSHOULDERC0, 1 / Animation_Speed) | |
6475 | LeftShoulder.C0 = Clerp(LeftShoulder.C0, CF(-1.15, 0.15 + 0.1 * COS(SINE / 12), 0.5) * ANGLES(RAD(-45), RAD(0 + 2.5 * SIN(SINE / 12)), RAD(45 - 7.5 * SIN(SINE / 12))) * LEFTSHOULDERC0, 1 / Animation_Speed) | |
6476 | 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) | |
6477 | 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) | |
6478 | elseif TORSOVELOCITY > 1 and MODE == "Ultra Phaedra" then | |
6479 | RootJoint.C0 = Clerp(RootJoint.C0, ROOTC0 * CF(0 - 1 * SIN(SINE / 22), 0, 2 + 1.5 * COS(SINE / 22)) * ANGLES(RAD(25 + 2.5 * SIN(SINE / 12)), RAD(0), RAD(5 + 2.5 * SIN(SINE / 12))), 1 / Animation_Speed) | |
6480 | Neck.C0 = Clerp(Neck.C0, NECKC0 * CF(0, 0, 0) * ANGLES(RAD(-25 + 4.5 * SIN(SINE / 12)), RAD(15 * SIN(SINE / 28)), RAD(5 * SIN(SINE / 12))), 1 / Animation_Speed) | |
6481 | 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) | |
6482 | 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) | |
6483 | 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) | |
6484 | 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) | |
6485 | elseif TORSOVELOCITY < 1 and MODE == "Mortem" then | |
6486 | RootJoint.C0 = Clerp(RootJoint.C0,ROOTC0 * CF(0, 0, 0 + 0.25 * COS(SINE / 12)) * ANGLES(RAD(4 + 2.5 * SIN(SINE / 12)), RAD(0), RAD(25 + 2.5 * SIN(SINE / 12))), 1 / Animation_Speed) | |
6487 | Neck.C0 = Clerp(Neck.C0, NECKC0 * CF(0, 0, 0 + ((1) - 1)) * ANGLES(RAD(0 + 4.5 * SIN(SINE / 12)), RAD(0), RAD(-25 - 2.5 * SIN(SINE / 12))), 1 / Animation_Speed) | |
6488 | RightShoulder.C0 = Clerp(RightShoulder.C0, CF(1.35, 0.15 + 0.25 * COS(SINE / 12), -0.3) * ANGLES(RAD(140), RAD(0 - 2.5 * SIN(SINE / 12)), RAD(5 + 7.5 * SIN(SINE / 12))) * RIGHTSHOULDERC0, 1 / Animation_Speed) | |
6489 | LeftShoulder.C0 = Clerp(LeftShoulder.C0, CF(-1.5, 0.5 + 0.25 * COS(SINE / 12), 0.4) * ANGLES(RAD(-5), RAD(0 + 2.5 * SIN(SINE / 12)), RAD(-15 - 7.5 * SIN(SINE / 12))) * LEFTSHOULDERC0, 1 / Animation_Speed) | |
6490 | 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) | |
6491 | 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) | |
6492 | elseif TORSOVELOCITY > 1 and MODE == "Mortem" then | |
6493 | RootJoint.C0 = Clerp(RootJoint.C0,ROOTC0 * CF(0, 0, 0 + 0.25 * COS(SINE / 12)) * ANGLES(RAD(25 + 2.5 * SIN(SINE / 12)), RAD(0), RAD(15 + 2.5 * SIN(SINE / 12))), 1 / Animation_Speed) | |
6494 | Neck.C0 = Clerp(Neck.C0, NECKC0 * CF(0, 0, 0 + ((1) - 1)) * ANGLES(RAD(-25 + 4.5 * SIN(SINE / 12)), RAD(0), RAD(-15 - 2.5 * SIN(SINE / 12))), 1 / Animation_Speed) | |
6495 | RightShoulder.C0 = Clerp(RightShoulder.C0, CF(1.35, 0.15 + 0.25 * COS(SINE / 12), -0.6) * ANGLES(RAD(165), RAD(0 - 2.5 * SIN(SINE / 12)), RAD(5 + 7.5 * SIN(SINE / 12))) * RIGHTSHOULDERC0, 1 / Animation_Speed) | |
6496 | 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) | |
6497 | 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) | |
6498 | 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) | |
6499 | elseif TORSOVELOCITY < 1 and MODE == "Maris" then | |
6500 | RootJoint.C0 = Clerp(RootJoint.C0,ROOTC0 * CF(2 + math.cos(SINE / 70) * math.cos(SINE / 20) - 2, 0 , 5 + 1.5* Player_Size * math.cos(SINE / 20)) * ANGLES(RAD(4 + 2.5 * SIN(SINE / 12)), RAD(0), RAD(25 + 2.5 * SIN(SINE / 12))), 1 / Animation_Speed) | |
6501 | Neck.C0 = Clerp(Neck.C0, NECKC0 * CF(0, 0, 0 + ((1) - 1)) * ANGLES(RAD(0 + 4.5 * SIN(SINE / 12)), RAD(0), RAD(-25 - 2.5 * SIN(SINE / 12))), 1 / Animation_Speed) | |
6502 | 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) | |
6503 | 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) | |
6504 | 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) | |
6505 | 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) | |
6506 | elseif TORSOVELOCITY > 1 and MODE == "Maris" then | |
6507 | RootJoint.C0 = Clerp(RootJoint.C0,ROOTC0 * CF(2 + math.cos(SINE / 70) * math.cos(SINE / 20) - 2, 0 , 5 + 1.5* Player_Size * math.cos(SINE / 20)) * ANGLES(RAD(25 + 2.5 * SIN(SINE / 12)), RAD(0), RAD(15 + 2.5 * SIN(SINE / 12))), 1 / Animation_Speed) | |
6508 | Neck.C0 = Clerp(Neck.C0, NECKC0 * CF(0, 0, 0 + ((1) - 1)) * ANGLES(RAD(-25 + 4.5 * SIN(SINE / 12)), RAD(0), RAD(-15 - 2.5 * SIN(SINE / 12))), 1 / Animation_Speed) | |
6509 | 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) | |
6510 | 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) | |
6511 | 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) | |
6512 | 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) | |
6513 | elseif TORSOVELOCITY < 1 and MODE == "Insaniam" then | |
6514 | RootJoint.C0 = Clerp(RootJoint.C0,ROOTC0 * CF(0, 0, 0 + 0.25 * COS(SINE / 12)) * ANGLES(RAD(25), RAD(0), RAD(0)), 0.15 / Animation_Speed) | |
6515 | 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) | |
6516 | if MRANDOM(1,2) == 1 then | |
6517 | - | if MODE == "Maris" then |
6517 | + | |
6518 | - | if HITFLOOR ~= nil then |
6518 | + | |
6519 | - | sphereMK(2,-0.5,"Add",RootPart.CFrame*CFrame.new(math.random(-25,25),math.random(10,15),math.random(-25,25))*CFrame.Angles(math.rad(-90),math.rad(0),math.rad(0)),0.25,0.25,5,0.0075,BrickColor.new("Storm blue"),0) |
6519 | + | |
6520 | - | WACKYEFFECT({EffectType = "Round Slash", Size = VT(0,0.05,0), Size2 = VT(0.25,0.08,0.25), Transparency = 0.2, Transparency2 = 1, CFrame = RootPart.CFrame*CF(0,-2.85,0) * ANGLES(RAD(0), RAD(MRANDOM(-180,180)), RAD(0)), MoveToPos = nil, RotationX = 0, RotationY = 0, RotationZ = MRANDOM(0,0.5), Material = "Neon", Color = C3(255/255,255/255,255/255), SoundID = nil, SoundPitch = nil, SoundVolume = nil}) |
6520 | + | |
6521 | 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) | |
6522 | 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) | |
6523 | elseif TORSOVELOCITY > 1 and MODE == "Insaniam" then | |
6524 | 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) | |
6525 | 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) | |
6526 | if MRANDOM(1,2) == 1 then | |
6527 | 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) | |
6528 | end | |
6529 | 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) | |
6530 | 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) | |
6531 | 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) | |
6532 | 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) | |
6533 | end | |
6534 | end | |
6535 | ||
6536 | ||
6537 | if ModeOfGlitch == 9 then | |
6538 | coroutine.resume(coroutine.create(function() | |
6539 | while true do | |
6540 | Swait() | |
6541 | if rng.Parent ~= nil then | |
6542 | rng.Color = Color3.new(kan.PlaybackLoudness/1000,kan.PlaybackLoudness/1000,kan.PlaybackLoudness/1000) | |
6543 | else | |
6544 | break | |
6545 | end | |
6546 | end | |
6547 | end)) | |
6548 | end | |
6549 | local scaler2 = 1 | |
6550 | local speeder = FastSpeed | |
6551 | if type == "Add" then | |
6552 | scaler2 = 1*value | |
6553 | elseif type == "Divide" then | |
6554 | scaler2 = 1/value | |
6555 | end | |
6556 | coroutine.resume(coroutine.create(function() | |
6557 | for i = 0,10/bonuspeed,0.1 do | |
6558 | Swait() | |
6559 | if rainbowmode == true then | |
6560 | rng.Color = Color3.new(r/255,g/255,b/255) | |
6561 | end | |
6562 | if type == "Add" then | |
6563 | scaler2 = scaler2 - 0.01*value/bonuspeed | |
6564 | elseif type == "Divide" then | |
6565 | scaler2 = scaler2 - 0.01/value*bonuspeed | |
6566 | end | |
6567 | if chaosmode == true then | |
6568 | rng.BrickColor = BrickColor.random() | |
6569 | end | |
6570 | speeder = speeder - 0.01*FastSpeed*bonuspeed | |
6571 | rng.CFrame = rng.CFrame + rng.CFrame.lookVector*speeder*bonuspeed | |
6572 | rng.Transparency = rng.Transparency + 0.01*bonuspeed | |
6573 | rngm.Scale = rngm.Scale + Vector3.new(scaler2*bonuspeed, scaler2*bonuspeed, 0) | |
6574 | end | |
6575 | rng:Destroy() | |
6576 | end)) | |
6577 | ||
6578 | ||
6579 | if MODE == "Maris" then | |
6580 | if HITFLOOR ~= nil then | |
6581 | ||
6582 | if MODE == "Ultra Phaedra" then | |
6583 | if HITFLOOR ~= nil then | |
6584 | Slice("Round", 0.75, 35, CF(HITPOS + VT(0, 0.1, 0), HITPOS + VT(0, 0.1, 0) + NORMAL) * ANGLES(RAD(90), RAD(0), RAD(0)) * ANGLES(RAD(MRANDOM(-18, 18)), RAD(MRANDOM(-180, 180)), RAD(MRANDOM(-18, 18))), "White", VT(0.001, 0, 0.001)) | |
6585 | Slice("Round", 0.75, 45, CF(HITPOS + VT(0, 0.1, 0), HITPOS + VT(0, 0.1, 0) + NORMAL) * ANGLES(RAD(90), RAD(MRANDOM(-180, 180)), RAD(0)), "Light yellow", VT(0, 0, 0)) | |
6586 | ApplyAoE(RootPart.Position, 10, 2, 5, 0, true) | |
6587 | end | |
6588 | MagicSphere(VT(1,1,1)/5,35,CF(RootPart.Position)*ANGLES(RAD(MRANDOM(-180,180)),RAD(MRANDOM(-180,180)),RAD(MRANDOM(-180,180)))*CF(0,MRANDOM(3,6),0),C3(0.7372549019607844, 0.6078431372549019, 0.36470588235294116),VT(0,0,0)) | |
6589 | Slice("Round", 0.25, 5, CF(RootPart.Position)*ANGLES(RAD(MRANDOM(-180,180)),RAD(MRANDOM(-180,180)),RAD(MRANDOM(-180,180)))*CF(0,MRANDOM(3,6),0), C3(0.7372549019607844, 0.6078431372549019, 0.36470588235294116), VT(-0.01, 0, -0.01)) | |
6590 | end | |
6591 | unanchor() | |
6592 | Humanoid.MaxHealth = "inf" | |
6593 | Humanoid.Health = "inf" | |
6594 | if Rooted == false then | |
6595 | Disable_Jump = false | |
6596 | Humanoid.WalkSpeed = Speed | |
6597 | elseif Rooted == true then | |
6598 | Disable_Jump = true | |
6599 | Humanoid.WalkSpeed = 0 | |
6600 | end | |
6601 | if MODE == "Main" then | |
6602 | tecks2.Text = "Dominus Astra" | |
6603 | SKILLTEXTCOLOR = C3(0.05,0.05,0.15) | |
6604 | SKILLTEXTCOLOR2 = C3(0,0,0) | |
6605 | local BodyColor = C3(0,0,0) | |
6606 | local LegColor = C3(0,0,0.05) | |
6607 | local ArmColor = C3(0.05,0.05,0.15) | |
6608 | end | |
6609 | for _, c in pairs(Character:GetChildren()) do | |
6610 | if c.ClassName == "Part" then | |
6611 | c.Material = "Neon" | |
6612 | for _, q in pairs(c:GetChildren()) do | |
6613 | if q.ClassName == "ParticleEmitter" and MODE ~= "Phaedra" and MODE ~= "Ultra Phaedra" and MODE ~= "Maris" then | |
6614 | q:remove() | |
6615 | elseif q.ClassName == "Fire" then | |
6616 | q:remove() | |
6617 | end | |
6618 | end | |
6619 | if c.Transparency == 0 and c:FindFirstChild("OVERLORDAURA") == nil and MODE == "Phaedra" then | |
6620 | particles(c) | |
6621 | end | |
6622 | if c.Transparency == 0 and c:FindFirstChild("OVERLORDAURA") == nil and MODE == "Ultra Phaedra" then | |
6623 | particles(c) | |
6624 | end | |
6625 | if c == Torso then | |
6626 | c.Color = BodyColor | |
6627 | elseif c == RightArm then | |
6628 | c.Color = ArmColor | |
6629 | elseif c == LeftArm then | |
6630 | c.Color = ArmColor | |
6631 | elseif c == RightLeg then | |
6632 | c.Color = LegColor | |
6633 | elseif c == LeftLeg then | |
6634 | c.Color = LegColor | |
6635 | elseif c == Head then | |
6636 | if c:FindFirstChild("face") then | |
6637 | c.face:remove() | |
6638 | end | |
6639 | end | |
6640 | elseif c.ClassName == "Shirt" or c.ClassName == "Pants" or c.ClassName == "CharacterMesh" or c.ClassName == "Accessory" then | |
6641 | c:remove() | |
6642 | end | |
6643 | end | |
6644 | if MODE == "Phaedra" or MODE == "Ultra Phaedra" then | |
6645 | weldBetween(EYE, Head) | |
6646 | weldBetween(EYE2, Head) | |
6647 | end | |
6648 | sick.Parent = Character | |
6649 | refit3() | |
6650 | refit2() | |
6651 | tecks2.TextColor3 = SKILLTEXTCOLOR | |
6652 | tecks2.TextStrokeColor3 = SKILLTEXTCOLOR2 | |
6653 | script.Parent = WEAPONGUI | |
6654 | Character.Parent = workspace | |
6655 | Humanoid.PlatformStand = false | |
6656 | Humanoid.Name = "Dominus" | |
6657 | for _, c in pairs(game.Players:GetChildren()) do | |
6658 | if c.Character ~= nil then | |
6659 | if c.Character.Parent ~= workspace and c.Character.Parent ~= nil then | |
6660 | c.Character:BreakJoints() | |
6661 | end | |
6662 | end | |
6663 | end | |
6664 | FOUNDFORGOTTEN = false | |
6665 | Humanoid.DisplayDistanceType = "None" | |
6666 | for _, c in pairs(workspace:GetChildren()) do | |
6667 | if c.ClassName == "Model" then | |
6668 | for _, q in pairs(c:GetChildren()) do | |
6669 | if q.Name == ("Forgotten Dominus") then | |
6670 | FOUNDFORGOTTEN = true | |
6671 | end | |
6672 | end | |
6673 | end | |
6674 | end | |
6675 | if FOUNDFORGOTTEN == true then | |
6676 | sick:Stop() | |
6677 | else | |
6678 | sick.Playing = true | |
6679 | end | |
6680 | if INTRO == false and INSTANT == false then | |
6681 | INTRO = true | |
6682 | coroutine.resume(coroutine.create(function() | |
6683 | sick:Play() | |
6684 | sick:Resume() | |
6685 | Intro() | |
6686 | end)) | |
6687 | end | |
6688 | if INSTANT == true then | |
6689 | if TRANSFORMED == false then | |
6690 | sick.TimePosition = 20.7 | |
6691 | sick:Play() | |
6692 | sick:Resume() | |
6693 | end | |
6694 | TRANSFORMED = true | |
6695 | end | |
6696 | if MODE == "Insaniam" then | |
6697 | for i, v in pairs(Character:GetChildren()) do | |
6698 | if v:IsA("Part") then | |
6699 | v.BrickColor = BrickColor.random() | |
6700 | end | |
6701 | end | |
6702 | BodyColor = BrickColor.random().Color | |
6703 | LegColor = BrickColor.random().Color | |
6704 | ArmColor = BrickColor.random().Color | |
6705 | SKILLTEXTCOLOR = BrickColor.random().Color | |
6706 | SKILLTEXTCOLOR2 = BrickColor.random().Color | |
6707 | end | |
6708 | for _, c in pairs(Character:GetDescendants()) do | |
6709 | if c.ClassName == "Part" and c.Name == "Eye" then | |
6710 | c.Color = C3(1,0,0) | |
6711 | c.Material = "Neon" | |
6712 | end | |
6713 | end | |
6714 | ||
6715 | if VALUE1 == false and MODE == "Main" then | |
6716 | 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)) | |
6717 | ||
6718 | end | |
6719 | ||
6720 | ||
6721 | --//=================================\\ | |
6722 | --\\=================================// | |
6723 | ||
6724 | ||
6725 | ||
6726 | ||
6727 | ||
6728 | --//====================================================\\-- | |
6729 | --|| END OF SCRIPT | |
6730 | --\\====================================================//-- |