SHOW:
|
|
- or go back to the newest paste.
1 | - | --fixed by allahuahkbar |
1 | + | --fixed by allahuahkbar(No, you didn't fix shit. I did.) |
2 | --made by shackluster | |
3 | ||
4 | --// \\-- | |
5 | - | --|| MADE BY SHACKLUSTER ||-- |
5 | + | --|| MADE BY SHACKLUSTER ||-- |
6 | - | --|| FIXED BY ALLAHUAHKBAR ||-- |
6 | + | --|| FIXED BY SONICRIXLP ||-- |
7 | - | --|| ARCHANGEL ||-- |
7 | + | --|| ARCHANGEL ||-- |
8 | --\\ //-- | |
9 | ||
10 | --Converted with ttyyuu12345's model to script plugin v4 | |
11 | function sandbox(var,func) | |
12 | local env = getfenv(func) | |
13 | local newenv = setmetatable({},{ | |
14 | __index = function(self,k) | |
15 | if k=="script" then | |
16 | return var | |
17 | else | |
18 | return env[k] | |
19 | end | |
20 | end, | |
21 | }) | |
22 | setfenv(func,newenv) | |
23 | return func | |
24 | end | |
25 | function NS(...) | |
26 | local tab = {...} | |
27 | local fat = {} | |
28 | for i = 1, #tab do | |
29 | local v = tab[i] | |
30 | table.insert(fat,NumberSequenceKeypoint.new(v[1],v[2])) | |
31 | end | |
32 | return NumberSequence.new(fat); | |
33 | end | |
34 | ||
35 | cors = {} | |
36 | mas = Instance.new("Model",game:GetService("Lighting")) | |
37 | ParticleEmitter0 = Instance.new("ParticleEmitter") | |
38 | ParticleEmitter1 = Instance.new("ParticleEmitter") | |
39 | ParticleEmitter2 = Instance.new("ParticleEmitter") | |
40 | ParticleEmitter0.Name = "Flames" | |
41 | ParticleEmitter0.Parent = mas | |
42 | ParticleEmitter0.Speed = NumberRange.new(0, 15) | |
43 | ParticleEmitter0.Rotation = NumberRange.new(0, 360) | |
44 | ParticleEmitter0.Enabled = false | |
45 | ParticleEmitter0.LightEmission = 1 | |
46 | ParticleEmitter0.LightInfluence = 1 | |
47 | ParticleEmitter0.Transparency = NumberSequence.new(1,0) | |
48 | ParticleEmitter0.ZOffset = 1 | |
49 | ParticleEmitter0.Size = NumberSequence.new(10,0) | |
50 | ParticleEmitter0.EmissionDirection = Enum.NormalId.Back | |
51 | ParticleEmitter0.Lifetime = NumberRange.new(0, 2) | |
52 | ParticleEmitter0.Rate = 9999 | |
53 | ParticleEmitter0.RotSpeed = NumberRange.new(-25, 25) | |
54 | ParticleEmitter0.SpreadAngle = Vector2.new(25, 25) | |
55 | ParticleEmitter0.VelocitySpread = 25 | |
56 | ParticleEmitter0.Texture = "rbxasset://textures/particles/sparkles_main.dds" | |
57 | ParticleEmitter1.Name = "Death" | |
58 | ParticleEmitter1.Parent = mas | |
59 | ParticleEmitter1.Rotation = NumberRange.new(0, 360) | |
60 | ParticleEmitter1.Enabled = false | |
61 | ParticleEmitter1.LightEmission = 0.75 | |
62 | ParticleEmitter1.Texture = "rbxasset://textures/particles/sparkles_main.dds" | |
63 | ParticleEmitter1.Transparency = NS({0,0.47540986537933},{.168,0.37704920768738},{.457,0.25683063268661},{.803,0.4426229596138},{.948,0.62841534614563},{1,1}) | |
64 | ParticleEmitter1.ZOffset = 0.5 | |
65 | ParticleEmitter1.Size = NS({0,1},{.656,1.8032789230347},{.843,1.4207655191422},{1,0}) | |
66 | ParticleEmitter1.Acceleration = Vector3.new(0, 35, 0) | |
67 | ParticleEmitter1.Drag = 5 | |
68 | ParticleEmitter1.EmissionDirection = Enum.NormalId.Right | |
69 | ParticleEmitter1.Lifetime = NumberRange.new(0, 1) | |
70 | ParticleEmitter1.Rate = 999 | |
71 | ParticleEmitter1.RotSpeed = NumberRange.new(-56, 56) | |
72 | ParticleEmitter1.SpreadAngle = Vector2.new(360, 360) | |
73 | ParticleEmitter1.VelocitySpread = 360 | |
74 | ParticleEmitter2.Name = "Wing" | |
75 | ParticleEmitter2.Parent = mas | |
76 | ParticleEmitter2.Rotation = NumberRange.new(0, 360) | |
77 | ParticleEmitter2.Enabled = false | |
78 | ParticleEmitter2.LightEmission = 1 | |
79 | ParticleEmitter2.Texture = "rbxasset://textures/particles/explosion01_implosion_main.dds" | |
80 | ParticleEmitter2.Size = NS({0,0.05464494228363},{.193,1.0382515192032},{.352,1.3661205768585},{1,0}) | |
81 | ParticleEmitter2.Acceleration = Vector3.new(0, -7, 15) | |
82 | ParticleEmitter2.Lifetime = NumberRange.new(0.80000001192093, 0.80000001192093) | |
83 | ParticleEmitter2.LockedToPart = true | |
84 | ParticleEmitter2.Rate = 300 | |
85 | ||
86 | for i,v in pairs(mas:GetChildren()) do | |
87 | v.Parent = script | |
88 | pcall(function() v:MakeJoints() end) | |
89 | end | |
90 | mas:Destroy() | |
91 | for i,v in pairs(cors) do | |
92 | spawn(function() | |
93 | pcall(v) | |
94 | end) | |
95 | end | |
96 | ||
97 | ||
98 | New = function(Object, Parent, Name, Data) | |
99 | local Object = Instance.new(Object) | |
100 | for Index, Value in pairs(Data or {}) do | |
101 | Object[Index] = Value | |
102 | end | |
103 | Object.Parent = Parent | |
104 | Object.Name = Name | |
105 | return Object | |
106 | end | |
107 | ||
108 | ||
109 | ||
110 | ||
111 | wait(0.2) | |
112 | Player = game:GetService("Players").LocalPlayer | |
113 | PlayerGui = Player.PlayerGui | |
114 | Cam = workspace.CurrentCamera | |
115 | Backpack = Player.Backpack | |
116 | Character = Player.Character | |
117 | Humanoid = Character.Humanoid | |
118 | for _, v in next, Humanoid:GetPlayingAnimationTracks() do | |
119 | v:Stop() | |
120 | end | |
121 | Mouse = Player:GetMouse() | |
122 | RootPart = Character.HumanoidRootPart | |
123 | Torso = Character.Torso | |
124 | Head = Character.Head | |
125 | RightArm = Character["Right Arm"] | |
126 | LeftArm = Character["Left Arm"] | |
127 | RightLeg = Character["Right Leg"] | |
128 | LeftLeg = Character["Left Leg"] | |
129 | RootJoint = RootPart.RootJoint | |
130 | Neck = Torso.Neck | |
131 | RightShoulder = Torso["Right Shoulder"] | |
132 | LeftShoulder = Torso["Left Shoulder"] | |
133 | RightHip = Torso["Right Hip"] | |
134 | LeftHip = Torso["Left Hip"] | |
135 | local sick = Instance.new("Sound", Character) | |
136 | wait(1) | |
137 | IT = Instance.new | |
138 | CF = CFrame.new | |
139 | VT = Vector3.new | |
140 | RAD = math.rad | |
141 | C3 = Color3.new | |
142 | UD2 = UDim2.new | |
143 | BRICKC = BrickColor.new | |
144 | ANGLES = CFrame.Angles | |
145 | EULER = CFrame.fromEulerAnglesXYZ | |
146 | COS = math.cos | |
147 | ACOS = math.acos | |
148 | SIN = math.sin | |
149 | ASIN = math.asin | |
150 | ABS = math.abs | |
151 | MRANDOM = math.random | |
152 | FLOOR = math.floor | |
153 | Animation_Speed = 3 | |
154 | Frame_Speed = 0.016666666666666666 | |
155 | local Speed = 70 | |
156 | local ROOTC0 = CF(0, 0, 0) * ANGLES(RAD(-90), RAD(0), RAD(180)) | |
157 | local NECKC0 = CF(0, 1, 0) * ANGLES(RAD(-90), RAD(0), RAD(180)) | |
158 | local RIGHTSHOULDERC0 = CF(-0.5, 0, 0) * ANGLES(RAD(0), RAD(90), RAD(0)) | |
159 | local LEFTSHOULDERC0 = CF(0.5, 0, 0) * ANGLES(RAD(0), RAD(-90), RAD(0)) | |
160 | local DAMAGEMULTIPLIER = 1 | |
161 | local ANIM = "Idle" | |
162 | local ATTACK = false | |
163 | local EQUIPPED = false | |
164 | local HOLD = false | |
165 | local COMBO = 1 | |
166 | local Rooted = false | |
167 | local SINE = 0 | |
168 | local KEYHOLD = false | |
169 | local CHANGE = 2 / Animation_Speed | |
170 | local WALKINGANIM = false | |
171 | local VALUE1 = false | |
172 | local VALUE2 = false | |
173 | local ROBLOXIDLEANIMATION = IT("Animation") | |
174 | ROBLOXIDLEANIMATION.Name = "Roblox Idle Animation" | |
175 | ROBLOXIDLEANIMATION.AnimationId = "http://www.roblox.com/asset/?id=180435571" | |
176 | local WEAPONGUI = IT("ScreenGui", PlayerGui) | |
177 | WEAPONGUI.Name = "Weapon GUI" | |
178 | local Effects = IT("Folder", Character) | |
179 | Effects.Name = "Effects" | |
180 | local ANIMATOR = Humanoid.Animator | |
181 | local ANIMATE = Character.Animate | |
182 | local UNANCHOR = true | |
183 | ArtificialHB = Instance.new("BindableEvent", script) | |
184 | ArtificialHB.Name = "ArtificialHB" | |
185 | script:WaitForChild("ArtificialHB") | |
186 | frame = Frame_Speed | |
187 | tf = 0 | |
188 | allowframeloss = false | |
189 | tossremainder = false | |
190 | lastframe = tick() | |
191 | script.ArtificialHB:Fire() | |
192 | game:GetService("RunService").Heartbeat:connect(function(s, p) | |
193 | tf = tf + s | |
194 | if tf >= frame then | |
195 | if allowframeloss then | |
196 | script.ArtificialHB:Fire() | |
197 | lastframe = tick() | |
198 | else | |
199 | for i = 1, math.floor(tf / frame) do | |
200 | script.ArtificialHB:Fire() | |
201 | end | |
202 | lastframe = tick() | |
203 | end | |
204 | if tossremainder then | |
205 | tf = 0 | |
206 | else | |
207 | tf = tf - frame * math.floor(tf / frame) | |
208 | end | |
209 | end | |
210 | end) | |
211 | shirt = Instance.new("Shirt", Character) | |
212 | - | shirt = Instance.new("Shirt", char) |
212 | + | |
213 | pants = Instance.new("Pants", Character) | |
214 | - | pants = Instance.new("Pants", char) |
214 | + | |
215 | Character.Shirt.ShirtTemplate = "http://www.roblox.com/asset/?id=276792537" | |
216 | - | char.Shirt.ShirtTemplate = "http://www.roblox.com/asset/?id=276792537" |
216 | + | Character.Pants.PantsTemplate = "http://www.roblox.com/asset/?id=276792689" |
217 | - | char.Pants.PantsTemplate = "http://www.roblox.com/asset/?id=276792689" |
217 | + | |
218 | local BC = Character["Body Colors"] | |
219 | - | local BC = char["Body Colors"] |
219 | + | |
220 | BC.LeftArmColor = BrickColor.new("Smoky grey") | |
221 | BC.LeftLegColor = BrickColor.new("Smoky grey") | |
222 | BC.RightArmColor = BrickColor.new("Smoky grey") | |
223 | BC.RightLegColor = BrickColor.new("Smoky grey") | |
224 | BC.TorsoColor = BrickColor.new("Smoky grey") | |
225 | ||
226 | function Raycast(POSITION, DIRECTION, RANGE, IGNOREDECENDANTS) | |
227 | return workspace:FindPartOnRay(Ray.new(POSITION, DIRECTION.unit * RANGE), IGNOREDECENDANTS) | |
228 | end | |
229 | function PositiveAngle(NUMBER) | |
230 | if NUMBER >= 0 then | |
231 | NUMBER = 0 | |
232 | end | |
233 | return NUMBER | |
234 | end | |
235 | function NegativeAngle(NUMBER) | |
236 | if NUMBER <= 0 then | |
237 | NUMBER = 0 | |
238 | end | |
239 | return NUMBER | |
240 | end | |
241 | function Swait(NUMBER) | |
242 | if NUMBER == 0 or NUMBER == nil then | |
243 | ArtificialHB.Event:wait() | |
244 | else | |
245 | for i = 1, NUMBER do | |
246 | ArtificialHB.Event:wait() | |
247 | end | |
248 | end | |
249 | end | |
250 | function CreateMesh(MESH, PARENT, MESHTYPE, MESHID, TEXTUREID, SCALE, OFFSET) | |
251 | local NEWMESH = IT(MESH) | |
252 | if MESH == "SpecialMesh" then | |
253 | NEWMESH.MeshType = MESHTYPE | |
254 | if MESHID ~= "nil" and MESHID ~= "" then | |
255 | NEWMESH.MeshId = "http://www.roblox.com/asset/?id=" .. MESHID | |
256 | end | |
257 | if TEXTUREID ~= "nil" and TEXTUREID ~= "" then | |
258 | NEWMESH.TextureId = "http://www.roblox.com/asset/?id=" .. TEXTUREID | |
259 | end | |
260 | end | |
261 | NEWMESH.Offset = OFFSET or VT(0, 0, 0) | |
262 | NEWMESH.Scale = SCALE | |
263 | NEWMESH.Parent = PARENT | |
264 | return NEWMESH | |
265 | end | |
266 | function CreatePart(FORMFACTOR, PARENT, MATERIAL, REFLECTANCE, TRANSPARENCY, BRICKCOLOR, NAME, SIZE, ANCHOR) | |
267 | local NEWPART = IT("Part") | |
268 | NEWPART.formFactor = FORMFACTOR | |
269 | NEWPART.Reflectance = REFLECTANCE | |
270 | NEWPART.Transparency = TRANSPARENCY | |
271 | NEWPART.CanCollide = false | |
272 | NEWPART.Locked = true | |
273 | NEWPART.Anchored = true | |
274 | if ANCHOR == false then | |
275 | NEWPART.Anchored = false | |
276 | end | |
277 | NEWPART.BrickColor = BRICKC(tostring(BRICKCOLOR)) | |
278 | NEWPART.Name = NAME | |
279 | NEWPART.Size = SIZE | |
280 | NEWPART.Position = Torso.Position | |
281 | NEWPART.Material = MATERIAL | |
282 | NEWPART:BreakJoints() | |
283 | NEWPART.Parent = PARENT | |
284 | return NEWPART | |
285 | end | |
286 | local weldBetween = function(a, b) | |
287 | local weldd = Instance.new("ManualWeld") | |
288 | weldd.Part0 = a | |
289 | weldd.Part1 = b | |
290 | weldd.C0 = CFrame.new() | |
291 | weldd.C1 = b.CFrame:inverse() * a.CFrame | |
292 | weldd.Parent = a | |
293 | return weldd | |
294 | end | |
295 | function QuaternionFromCFrame(cf) | |
296 | local mx, my, mz, m00, m01, m02, m10, m11, m12, m20, m21, m22 = cf:components() | |
297 | local trace = m00 + m11 + m22 | |
298 | if trace > 0 then | |
299 | local s = math.sqrt(1 + trace) | |
300 | local recip = 0.5 / s | |
301 | return (m21 - m12) * recip, (m02 - m20) * recip, (m10 - m01) * recip, s * 0.5 | |
302 | else | |
303 | local i = 0 | |
304 | if m00 < m11 then | |
305 | i = 1 | |
306 | end | |
307 | if m22 > (i == 0 and m00 or m11) then | |
308 | i = 2 | |
309 | end | |
310 | if i == 0 then | |
311 | local s = math.sqrt(m00 - m11 - m22 + 1) | |
312 | local recip = 0.5 / s | |
313 | return 0.5 * s, (m10 + m01) * recip, (m20 + m02) * recip, (m21 - m12) * recip | |
314 | elseif i == 1 then | |
315 | local s = math.sqrt(m11 - m22 - m00 + 1) | |
316 | local recip = 0.5 / s | |
317 | return (m01 + m10) * recip, 0.5 * s, (m21 + m12) * recip, (m02 - m20) * recip | |
318 | elseif i == 2 then | |
319 | local s = math.sqrt(m22 - m00 - m11 + 1) | |
320 | local recip = 0.5 / s | |
321 | return (m02 + m20) * recip, (m12 + m21) * recip, 0.5 * s, (m10 - m01) * recip | |
322 | end | |
323 | end | |
324 | end | |
325 | function QuaternionToCFrame(px, py, pz, x, y, z, w) | |
326 | local xs, ys, zs = x + x, y + y, z + z | |
327 | local wx, wy, wz = w * xs, w * ys, w * zs | |
328 | local xx = x * xs | |
329 | local xy = x * ys | |
330 | local xz = x * zs | |
331 | local yy = y * ys | |
332 | local yz = y * zs | |
333 | local zz = z * zs | |
334 | 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)) | |
335 | end | |
336 | function QuaternionSlerp(a, b, t) | |
337 | local cosTheta = a[1] * b[1] + a[2] * b[2] + a[3] * b[3] + a[4] * b[4] | |
338 | local startInterp, finishInterp | |
339 | if cosTheta >= 1.0E-4 then | |
340 | if 1 - cosTheta > 1.0E-4 then | |
341 | local theta = ACOS(cosTheta) | |
342 | local invSinTheta = 1 / SIN(theta) | |
343 | startInterp = SIN((1 - t) * theta) * invSinTheta | |
344 | finishInterp = SIN(t * theta) * invSinTheta | |
345 | else | |
346 | startInterp = 1 - t | |
347 | finishInterp = t | |
348 | end | |
349 | elseif 1 + cosTheta > 1.0E-4 then | |
350 | local theta = ACOS(-cosTheta) | |
351 | local invSinTheta = 1 / SIN(theta) | |
352 | startInterp = SIN((t - 1) * theta) * invSinTheta | |
353 | finishInterp = SIN(t * theta) * invSinTheta | |
354 | else | |
355 | startInterp = t - 1 | |
356 | finishInterp = t | |
357 | end | |
358 | 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 | |
359 | end | |
360 | function Clerp(a, b, t) | |
361 | local qa = { | |
362 | QuaternionFromCFrame(a) | |
363 | } | |
364 | local qb = { | |
365 | QuaternionFromCFrame(b) | |
366 | } | |
367 | local ax, ay, az = a.x, a.y, a.z | |
368 | local bx, by, bz = b.x, b.y, b.z | |
369 | local _t = 1 - t | |
370 | return QuaternionToCFrame(_t * ax + t * bx, _t * ay + t * by, _t * az + t * bz, QuaternionSlerp(qa, qb, t)) | |
371 | end | |
372 | function CreateFrame(PARENT, TRANSPARENCY, BORDERSIZEPIXEL, POSITION, SIZE, COLOR, BORDERCOLOR, NAME) | |
373 | local frame = IT("Frame") | |
374 | frame.BackgroundTransparency = TRANSPARENCY | |
375 | frame.BorderSizePixel = BORDERSIZEPIXEL | |
376 | frame.Position = POSITION | |
377 | frame.Size = SIZE | |
378 | frame.BackgroundColor3 = COLOR | |
379 | frame.BorderColor3 = BORDERCOLOR | |
380 | frame.Name = NAME | |
381 | frame.Parent = PARENT | |
382 | return frame | |
383 | end | |
384 | function CreateLabel(PARENT, TEXT, TEXTCOLOR, TEXTFONTSIZE, TEXTFONT, TRANSPARENCY, BORDERSIZEPIXEL, STROKETRANSPARENCY, NAME) | |
385 | local label = IT("TextLabel") | |
386 | label.BackgroundTransparency = 1 | |
387 | label.Size = UD2(1, 0, 1, 0) | |
388 | label.Position = UD2(0, 0, 0, 0) | |
389 | label.TextColor3 = TEXTCOLOR | |
390 | label.TextStrokeTransparency = STROKETRANSPARENCY | |
391 | label.TextTransparency = TRANSPARENCY | |
392 | label.FontSize = TEXTFONTSIZE | |
393 | label.Font = TEXTFONT | |
394 | label.BorderSizePixel = BORDERSIZEPIXEL | |
395 | label.TextScaled = false | |
396 | label.Text = TEXT | |
397 | label.Name = NAME | |
398 | label.Parent = PARENT | |
399 | return label | |
400 | end | |
401 | function NoOutlines(PART) | |
402 | PART.TopSurface, PART.BottomSurface, PART.LeftSurface, PART.RightSurface, PART.FrontSurface, PART.BackSurface = 10, 10, 10, 10, 10, 10 | |
403 | end | |
404 | function CreateWeldOrSnapOrMotor(TYPE, PARENT, PART0, PART1, C0, C1) | |
405 | local NEWWELD = IT(TYPE) | |
406 | NEWWELD.Part0 = PART0 | |
407 | NEWWELD.Part1 = PART1 | |
408 | NEWWELD.C0 = C0 | |
409 | NEWWELD.C1 = C1 | |
410 | NEWWELD.Parent = PARENT | |
411 | return NEWWELD | |
412 | end | |
413 | local S = IT("Sound") | |
414 | function CreateSound(ID, PARENT, VOLUME, PITCH, DOESLOOP) | |
415 | local NEWSOUND | |
416 | coroutine.resume(coroutine.create(function() | |
417 | NEWSOUND = S:Clone() | |
418 | NEWSOUND.Parent = PARENT | |
419 | NEWSOUND.EmitterSize = VOLUME * 3 | |
420 | NEWSOUND.Volume = VOLUME | |
421 | NEWSOUND.Pitch = PITCH | |
422 | NEWSOUND.SoundId = "http://www.roblox.com/asset/?id=" .. ID | |
423 | NEWSOUND:play() | |
424 | if DOESLOOP == true then | |
425 | NEWSOUND.Looped = true | |
426 | else | |
427 | repeat | |
428 | wait(1) | |
429 | until NEWSOUND.Playing == false | |
430 | NEWSOUND:remove() | |
431 | end | |
432 | end)) | |
433 | return NEWSOUND | |
434 | end | |
435 | function CFrameFromTopBack(at, top, back) | |
436 | local right = top:Cross(back) | |
437 | 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) | |
438 | end | |
439 | function WACKYEFFECT(Table) | |
440 | local TYPE = Table.EffectType or "Sphere" | |
441 | local SIZE = Table.Size or VT(1, 1, 1) | |
442 | local ENDSIZE = Table.Size2 or VT(0, 0, 0) | |
443 | local TRANSPARENCY = Table.Transparency or 0 | |
444 | local ENDTRANSPARENCY = Table.Transparency2 or 1 | |
445 | local CFRAME = Table.CFrame or Torso.CFrame | |
446 | local MOVEDIRECTION = Table.MoveToPos or nil | |
447 | local ROTATION1 = Table.RotationX or 0 | |
448 | local ROTATION2 = Table.RotationY or 0 | |
449 | local ROTATION3 = Table.RotationZ or 0 | |
450 | local MATERIAL = Table.Material or "Neon" | |
451 | local COLOR = Table.Color or C3(1, 1, 1) | |
452 | local TIME = Table.Time or 45 | |
453 | local SOUNDID = Table.SoundID or nil | |
454 | local SOUNDPITCH = Table.SoundPitch or nil | |
455 | local SOUNDVOLUME = Table.SoundVolume or nil | |
456 | coroutine.resume(coroutine.create(function() | |
457 | local PLAYSSOUND = false | |
458 | local SOUND | |
459 | local EFFECT = CreatePart(3, Effects, MATERIAL, 0, TRANSPARENCY, BRICKC("Pearl"), "Effect", VT(1, 1, 1), true) | |
460 | if SOUNDID ~= nil and SOUNDPITCH ~= nil and SOUNDVOLUME ~= nil then | |
461 | PLAYSSOUND = true | |
462 | SOUND = CreateSound(SOUNDID, EFFECT, SOUNDVOLUME, SOUNDPITCH, false) | |
463 | end | |
464 | EFFECT.Color = COLOR | |
465 | local MSH | |
466 | if TYPE == "Sphere" then | |
467 | MSH = CreateMesh("SpecialMesh", EFFECT, "Sphere", "", "", SIZE, VT(0, 0, 0)) | |
468 | elseif TYPE == "Block" then | |
469 | MSH = IT("BlockMesh", EFFECT) | |
470 | MSH.Scale = VT(SIZE.X, SIZE.X, SIZE.X) | |
471 | elseif TYPE == "Wave" then | |
472 | MSH = CreateMesh("SpecialMesh", EFFECT, "FileMesh", "20329976", "", SIZE, VT(0, 0, -SIZE.X / 8)) | |
473 | elseif TYPE == "Ring" then | |
474 | MSH = CreateMesh("SpecialMesh", EFFECT, "FileMesh", "559831844", "", VT(SIZE.X, SIZE.X, 0.1), VT(0, 0, 0)) | |
475 | elseif TYPE == "Slash" then | |
476 | MSH = CreateMesh("SpecialMesh", EFFECT, "FileMesh", "662586858", "", VT(SIZE.X / 10, 0, SIZE.X / 10), VT(0, 0, 0)) | |
477 | elseif TYPE == "Round Slash" then | |
478 | MSH = CreateMesh("SpecialMesh", EFFECT, "FileMesh", "662585058", "", VT(SIZE.X / 10, 0, SIZE.X / 10), VT(0, 0, 0)) | |
479 | elseif TYPE == "Swirl" then | |
480 | MSH = CreateMesh("SpecialMesh", EFFECT, "FileMesh", "1051557", "", SIZE, VT(0, 0, 0)) | |
481 | elseif TYPE == "Skull" then | |
482 | MSH = CreateMesh("SpecialMesh", EFFECT, "FileMesh", "4770583", "", SIZE, VT(0, 0, 0)) | |
483 | elseif TYPE == "Crystal" then | |
484 | MSH = CreateMesh("SpecialMesh", EFFECT, "FileMesh", "9756362", "", SIZE, VT(0, 0, 0)) | |
485 | end | |
486 | if MSH ~= nil then | |
487 | local MOVESPEED | |
488 | if MOVEDIRECTION ~= nil then | |
489 | MOVESPEED = (CFRAME.p - MOVEDIRECTION).Magnitude / TIME | |
490 | end | |
491 | local GROWTH = SIZE - ENDSIZE | |
492 | local TRANS = TRANSPARENCY - ENDTRANSPARENCY | |
493 | if TYPE == "Block" then | |
494 | EFFECT.CFrame = CFRAME * ANGLES(RAD(MRANDOM(0, 360)), RAD(MRANDOM(0, 360)), RAD(MRANDOM(0, 360))) | |
495 | else | |
496 | EFFECT.CFrame = CFRAME | |
497 | end | |
498 | for LOOP = 1, TIME + 1 do | |
499 | Swait() | |
500 | MSH.Scale = MSH.Scale - GROWTH / TIME | |
501 | if TYPE == "Wave" then | |
502 | MSH.Offset = VT(0, 0, -MSH.Scale.X / 8) | |
503 | end | |
504 | EFFECT.Transparency = EFFECT.Transparency - TRANS / TIME | |
505 | if TYPE == "Block" then | |
506 | EFFECT.CFrame = CFRAME * ANGLES(RAD(MRANDOM(0, 360)), RAD(MRANDOM(0, 360)), RAD(MRANDOM(0, 360))) | |
507 | else | |
508 | EFFECT.CFrame = EFFECT.CFrame * ANGLES(RAD(ROTATION1), RAD(ROTATION2), RAD(ROTATION3)) | |
509 | end | |
510 | if MOVEDIRECTION ~= nil then | |
511 | local ORI = EFFECT.Orientation | |
512 | EFFECT.CFrame = CF(EFFECT.Position, MOVEDIRECTION) * CF(0, 0, -MOVESPEED) | |
513 | EFFECT.Orientation = ORI | |
514 | end | |
515 | end | |
516 | if PLAYSSOUND == false then | |
517 | EFFECT:remove() | |
518 | else | |
519 | repeat | |
520 | Swait() | |
521 | until SOUND.Playing == false | |
522 | EFFECT:remove() | |
523 | end | |
524 | elseif PLAYSSOUND == false then | |
525 | EFFECT:remove() | |
526 | else | |
527 | repeat | |
528 | Swait() | |
529 | until SOUND.Playing == false | |
530 | EFFECT:remove() | |
531 | end | |
532 | end)) | |
533 | end | |
534 | function MakeForm(PART, TYPE) | |
535 | if TYPE == "Cyl" then | |
536 | local MSH = IT("CylinderMesh", PART) | |
537 | elseif TYPE == "Ball" then | |
538 | local MSH = IT("SpecialMesh", PART) | |
539 | MSH.MeshType = "Sphere" | |
540 | elseif TYPE == "Wedge" then | |
541 | local MSH = IT("SpecialMesh", PART) | |
542 | MSH.MeshType = "Wedge" | |
543 | end | |
544 | end | |
545 | Debris = game:GetService("Debris") | |
546 | function CastProperRay(StartPos, EndPos, Distance, Ignore) | |
547 | local DIRECTION = CF(StartPos, EndPos).lookVector | |
548 | return Raycast(StartPos, DIRECTION, Distance, Ignore) | |
549 | end | |
550 | function turnto(position) | |
551 | RootPart.CFrame = CFrame.new(RootPart.CFrame.p, VT(position.X, RootPart.Position.Y, position.Z)) * CFrame.new(0, 0, 0) | |
552 | end | |
553 | local DECAL = IT("Decal") | |
554 | function MakeRing() | |
555 | local RING = CreatePart(3, Effects, "Neon", 0, 1, BRICKC("Pearl"), "MagicRing", VT(0, 0, 0), true) | |
556 | local MSH = IT("BlockMesh", RING) | |
557 | local TOP = DECAL:Clone() | |
558 | local BOTTOM = DECAL:Clone() | |
559 | TOP.Parent = RING | |
560 | BOTTOM.Parent = RING | |
561 | TOP.Face = "Top" | |
562 | BOTTOM.Face = "Bottom" | |
563 | TOP.Texture = "http://www.roblox.com/asset/?id=127817121" | |
564 | BOTTOM.Texture = "http://www.roblox.com/asset/?id=127817121" | |
565 | local function REMOVE() | |
566 | coroutine.resume(coroutine.create(function() | |
567 | local SIZE = MSH.Scale.X | |
568 | for i = 1, 35 do | |
569 | Swait() | |
570 | MSH.Scale = MSH.Scale - VT(SIZE, 0, SIZE) / 60 | |
571 | TOP.Transparency = TOP.Transparency + 0.02857142857142857 | |
572 | BOTTOM.Transparency = BOTTOM.Transparency + 0.02857142857142857 | |
573 | RING.CFrame = RING.CFrame * ANGLES(RAD(0), RAD(-5), RAD(0)) | |
574 | end | |
575 | RING:remove() | |
576 | end)) | |
577 | end | |
578 | return RING, MSH, REMOVE | |
579 | end | |
580 | function SHAKECAM(POSITION, RANGE, INTENSITY, TIME) | |
581 | local TORSO = Torso | |
582 | local HUM = Humanoid | |
583 | if TORSO and RANGE >= (TORSO.Position - POSITION).Magnitude then | |
584 | coroutine.wrap(function() | |
585 | VT = Vector3.new | |
586 | MRANDOM = math.random | |
587 | local A = TIME | |
588 | local B = INTENSITY | |
589 | local C = true | |
590 | local HUMANOID = Humanoid | |
591 | local TIMER = A or 35 | |
592 | local SHAKE = B or 5 | |
593 | local FADE = C or true | |
594 | if HUMANOID then | |
595 | local FADER = SHAKE / TIMER | |
596 | for i = 1, TIMER do | |
597 | wait() | |
598 | HUMANOID.CameraOffset = VT(MRANDOM(-(SHAKE - FADER * i), SHAKE - FADER * i) / 10, MRANDOM(-(SHAKE - FADER * i), SHAKE - FADER * i) / 10, MRANDOM(-(SHAKE - FADER * i), SHAKE - FADER * i) / 10) | |
599 | end | |
600 | HUMANOID.CameraOffset = VT(0, 0, 0) | |
601 | end | |
602 | ||
603 | end)() | |
604 | end | |
605 | end | |
606 | ||
607 | local SKILLTEXTCOLOR = C3(0, 0, 0) | |
608 | local SKILLFONT = "SciFi" | |
609 | local SKILLTEXTSIZE = 7 | |
610 | local WING = Instance.new("Attachment") | |
611 | local WING1 = WING:Clone() | |
612 | local WING2 = WING:Clone() | |
613 | WING1.Parent = Torso | |
614 | WING2.Parent = Torso | |
615 | WING1.Position = VT(-1, 0.6, 1) | |
616 | WING2.Position = VT(1, 0.6, 1) | |
617 | WING1.Orientation = VT(0, 0, 0) | |
618 | WING2.Orientation = VT(0, 0, 0) | |
619 | local WINGS = {} | |
620 | for i = 1, 5 do | |
621 | local PARTICLES = script.Wing:Clone() | |
622 | PARTICLES.Parent = WING1 | |
623 | PARTICLES.Enabled = true | |
624 | PARTICLES.Acceleration = VT(-i * 10, -5 - i * 1.5, 15) | |
625 | table.insert(WINGS, { | |
626 | PARTICLES, | |
627 | VT(-i * 30, 0, 25) | |
628 | }) | |
629 | end | |
630 | for i = 1, 5 do | |
631 | local PARTICLES = script.Wing:Clone() | |
632 | PARTICLES.Parent = WING2 | |
633 | PARTICLES.Enabled = true | |
634 | PARTICLES.Acceleration = VT(i * 10, -5 - i * 1.5, 15) | |
635 | table.insert(WINGS, { | |
636 | PARTICLES, | |
637 | VT(i * 30, 0, 25) | |
638 | }) | |
639 | end | |
640 | ||
641 | Base = New("Part",Head,"Base",{BrickColor = BrickColor.new("Institutional white"),Material = Enum.Material.SmoothPlastic,Transparency = 1,Transparency = 1,Size = Vector3.new(2, 1, 1),CFrame = CFrame.new(4.56395578, 30.9732971, 96.5572357, -1, 0, -3.7252903e-09, 0, 1, 0, -3.7252903e-09, 0, -1.00000012),CanCollide = false,BottomSurface = Enum.SurfaceType.Smooth,TopSurface = Enum.SurfaceType.Smooth,Color = Color3.new(0,0,0),}) | |
642 | Mesh = New("SpecialMesh",Base,"Mesh",{Scale = Vector3.new(1,1,1),}) | |
643 | Hood = New("Part",Head,"Hood",{Size = Vector3.new(2.04900002, 2.18899989, 1.97500002),CFrame = CFrame.new(4.59299994, 31.1469994, 96.4520035, -0.99907124, -0.00109502568, 0.043075189, -0.00244226633, 0.999509037, -0.0312363114, -0.0430198386, -0.0313125029, -0.998583436),BottomSurface = Enum.SurfaceType.Smooth,TopSurface = Enum.SurfaceType.Smooth,}) | |
644 | Mesh = New("SpecialMesh",Hood,"Mesh",{MeshId = "rbxassetid://93129244",TextureId = "rbxassetid://94020325",MeshType = Enum.MeshType.FileMesh,}) | |
645 | mot = New("Motor",Hood,"mot",{Part0 = Hood,Part1 = Base,C0 = CFrame.new(0, 0, 0, -0.99907124, -0.00244226633, -0.0430198386, -0.00109502568, 0.999509037, -0.0313125029, 0.043075189, -0.0312363114, -0.998583436),C1 = CFrame.new(-0.0290441513, 0.17370224, 0.105232239, -1, 0, 0, 0, 1, 0, 0, 0, -1),}) | |
646 | ||
647 | CreateWeldOrSnapOrMotor('Weld', Head, Head, Base, CF(), CF()) | |
648 | ||
649 | Head.Color = C3(0,0,0) | |
650 | ||
651 | local DParticles = script.Death | |
652 | DParticles:remove() | |
653 | DParticles.Name = "ArchangelDeathParticles" | |
654 | local BODY = {} | |
655 | for _, c in pairs(Character:GetDescendants()) do | |
656 | if c:IsA("BasePart") and c.Name ~= "Handle" then | |
657 | if c ~= RootPart and c ~= Torso and c ~= Head and c ~= RightArm and c ~= LeftArm and c ~= RightLeg and c ~= LeftLeg then | |
658 | c.CustomPhysicalProperties = PhysicalProperties.new(0, 0, 0, 0, 0) | |
659 | end | |
660 | table.insert(BODY, { | |
661 | c, | |
662 | c.Parent, | |
663 | c.Material, | |
664 | c.Color, | |
665 | c.Transparency | |
666 | }) | |
667 | elseif c:IsA("JointInstance") then | |
668 | table.insert(BODY, { | |
669 | c, | |
670 | c.Parent, | |
671 | nil, | |
672 | nil, | |
673 | nil | |
674 | }) | |
675 | end | |
676 | end | |
677 | for e = 1, #BODY do | |
678 | if BODY[e] ~= nil then | |
679 | do | |
680 | local STUFF = BODY[e] | |
681 | local PART = STUFF[1] | |
682 | local PARENT = STUFF[2] | |
683 | local MATERIAL = STUFF[3] | |
684 | local COLOR = STUFF[4] | |
685 | local TRANSPARENCY = STUFF[5] | |
686 | if PART.ClassName == "Part" and PART ~= RootPart then | |
687 | PART.Material = MATERIAL | |
688 | PART.Color = COLOR | |
689 | PART.Transparency = TRANSPARENCY | |
690 | end | |
691 | PART.AncestryChanged:Connect(function() | |
692 | PART.Parent = PARENT | |
693 | end) | |
694 | end | |
695 | end | |
696 | end | |
697 | function refit() | |
698 | Character.Parent = workspace | |
699 | for e = 1, #BODY do | |
700 | if BODY[e] ~= nil then | |
701 | local STUFF = BODY[e] | |
702 | local PART = STUFF[1] | |
703 | local PARENT = STUFF[2] | |
704 | local MATERIAL = STUFF[3] | |
705 | local COLOR = STUFF[4] | |
706 | local TRANSPARENCY = STUFF[5] | |
707 | if PART:IsA("BasePart") and PART ~= RootPart then | |
708 | PART.Material = MATERIAL | |
709 | PART.Color = COLOR | |
710 | PART.Transparency = TRANSPARENCY | |
711 | end | |
712 | if PART.Parent ~= PARENT then | |
713 | Humanoid:remove() | |
714 | PART.Parent = PARENT | |
715 | Humanoid = IT("Humanoid", Character) | |
716 | end | |
717 | end | |
718 | end | |
719 | end | |
720 | Humanoid.Died:connect(function() | |
721 | refit() | |
722 | end) | |
723 | ||
724 | ||
725 | local SKILLTEXTCOLOR = C3(1, 1, 1) | |
726 | local SKILLFONT = "Fantasy" | |
727 | local SKILLTEXTSIZE = 3 | |
728 | local ATTACKS = { | |
729 | "Z - Holy Smite", | |
730 | "B - Divine Ravage", | |
731 | "C - Divine Earthquake", | |
732 | "V - Beam of Light", | |
733 | "X - Divine Nova" | |
734 | } | |
735 | for i = 1, #ATTACKS do | |
736 | local SKILLFRAME = CreateFrame(WEAPONGUI, 1, 2, UD2(0.74, 0, 0.97 - 0.02 * i, 0), UD2(0.26, 0, 0.07, 0), C3(0, 0, 0), C3(0, 0, 0), "Skill Frame") | |
737 | local SKILLTEXT = CreateLabel(SKILLFRAME, "[" .. ATTACKS[i] .. "]", SKILLTEXTCOLOR, SKILLTEXTSIZE, SKILLFONT, 0, 2, 0, "Skill text") | |
738 | SKILLTEXT.TextXAlignment = "Right" | |
739 | end | |
740 | ||
741 | function ApplyAoE(POSITION, RANGE) | |
742 | local PARTS = {} | |
743 | for index, CHILD in pairs(workspace:GetDescendants()) do | |
744 | if CHILD.ClassName == "Model" and CHILD ~= Character then | |
745 | local HUM = CHILD:FindFirstChildOfClass("Humanoid") | |
746 | if HUM then | |
747 | local TORSO = CHILD:FindFirstChild("Torso") or CHILD:FindFirstChild("UpperTorso") | |
748 | if TORSO and HUM.Health > 0 and RANGE >= (TORSO.Position - POSITION).Magnitude then | |
749 | CHILD:BreakJoints() | |
750 | for index, PART in pairs(CHILD:GetChildren()) do | |
751 | if PART:IsA("BasePart") and PART.Name ~= "HumanoidRootPart" then | |
752 | local P = DParticles:Clone() | |
753 | P.Parent = PART | |
754 | P.Enabled = true | |
755 | P.Color = ColorSequence.new(PART.Color, C3(1, 1, 1)) | |
756 | PART.Anchored = true | |
757 | table.insert(PARTS, {PART, P}) | |
758 | end | |
759 | end | |
760 | end | |
761 | end | |
762 | elseif CHILD:IsA("BasePart") and CHILD.Parent.Parent ~= Character and CHILD.Parent:FindFirstChildOfClass("Humanoid") == nil and CHILD:FindFirstChild("ewdfrfgrwefd") == nil and CHILD.Size.Magnitude < RANGE * 2 and CHILD.Size.Magnitude < 200 and RANGE > (CHILD.Position - POSITION).Magnitude then | |
763 | local FOLDER = IT("Folder", CHILD) | |
764 | FOLDER.Name = "ewdfrfgrwefd" | |
765 | local P = DParticles:Clone() | |
766 | P.Parent = CHILD | |
767 | P.Enabled = true | |
768 | CHILD:BreakJoints() | |
769 | CHILD.CanCollide = false | |
770 | CHILD.Anchored = true | |
771 | P.Rate = math.ceil(CHILD.Size.Magnitude / 2) | |
772 | P.Color = ColorSequence.new(CHILD.Color, C3(1, 1, 1)) | |
773 | table.insert(PARTS, {CHILD, P}) | |
774 | end | |
775 | end | |
776 | coroutine.resume(coroutine.create(function() | |
777 | if #PARTS > 0 then | |
778 | for i = 1, 85 do | |
779 | Swait() | |
780 | for E = 1, #PARTS do | |
781 | local F = PARTS[E] | |
782 | local A = F[1] | |
783 | local B = F[2] | |
784 | A.Transparency = A.Transparency + 0.011764705882352941 | |
785 | B.Rate = math.ceil(B.Rate * 1.2) | |
786 | for index, E in pairs(A:GetChildren()) do | |
787 | if E:IsA("Decal") or E:IsA("Texture") then | |
788 | E.Transparency = E.Transparency + 0.011764705882352941 | |
789 | elseif E:IsA("JointInstance") then | |
790 | E:remove() | |
791 | elseif E:IsA("Light") or E:IsA("ParticleEmitter") and E ~= B and E.Name ~= "ArchangelDeathParticles" or E:IsA("Fire") or E:IsA("Sparkles") or E:IsA("Smoke") then | |
792 | E.Enabled = false | |
793 | end | |
794 | end | |
795 | end | |
796 | end | |
797 | for E = 1, #PARTS do | |
798 | local F = PARTS[E] | |
799 | local A = F[1] | |
800 | local B = F[2] | |
801 | B.Enabled = false | |
802 | Debris:AddItem(A, 3) | |
803 | end | |
804 | end | |
805 | end)) | |
806 | end | |
807 | function Smite() | |
808 | local RING, MESH, DELET = MakeRing() | |
809 | local POS = Mouse.Hit.p | |
810 | RING.CFrame = CF(Mouse.Hit.p + VT(MRANDOM(-25, 25), 200, MRANDOM(-25, 25)), Mouse.Hit.p) * ANGLES(RAD(90), RAD(0), RAD(0)) | |
811 | for i = 1, 45 do | |
812 | Swait() | |
813 | MESH.Scale = MESH.Scale + VT(12, 0, 12) | |
814 | RING.CFrame = RING.CFrame * ANGLES(RAD(0), RAD(5), RAD(0)) | |
815 | end | |
816 | local HITFLOOR, HITPOS = Raycast(RING.Position, CF(RING.Position, RING.CFrame * CF(0, -1, 0).p).lookVector, 500, Character) | |
817 | if HITFLOOR then | |
818 | local BEAM = CreatePart(3, Effects, "Neon", 0, 0, BRICKC("Pearl"), "Beam", VT(0, 0, 0), true) | |
819 | MakeForm(BEAM, "Cyl") | |
820 | local DIST = (RING.Position - HITPOS).Magnitude | |
821 | BEAM.Size = VT(0, DIST, 0) | |
822 | BEAM.CFrame = CF(RING.Position, HITPOS) * CF(0, 0, -DIST / 2) * ANGLES(RAD(90), RAD(0), RAD(0)) | |
823 | for i = 1, 5 do | |
824 | WACKYEFFECT({ | |
825 | EffectType = "Wave", | |
826 | Size = VT(25, 0, 25), | |
827 | Size2 = VT(40, 0, 40) + VT(i * 6, i / 5, i * 6), | |
828 | Transparency = 0, | |
829 | Transparency2 = 1, | |
830 | CFrame = CF(HITPOS) * ANGLES(RAD(0), RAD(72 * i), RAD(0)), | |
831 | MoveToPos = nil, | |
832 | RotationX = 0, | |
833 | RotationY = 3, | |
834 | RotationZ = 0, | |
835 | Material = "Neon", | |
836 | Color = C3(1, 1, 1), | |
837 | SoundID = nil, | |
838 | SoundPitch = nil, | |
839 | SoundVolume = nil | |
840 | }) | |
841 | WACKYEFFECT({ | |
842 | EffectType = "Round Slash", | |
843 | Size = VT(3, 0, 3) / 13, | |
844 | Size2 = (VT(3, 0, 3) + VT(i, 0, i)) / 5, | |
845 | Transparency = 0, | |
846 | Transparency2 = 1, | |
847 | CFrame = CF(HITPOS) * ANGLES(RAD(0), RAD(MRANDOM(0, 360)), RAD(0)) * ANGLES(RAD(MRANDOM(-35, 35)), RAD(0), RAD(MRANDOM(-35, 35))), | |
848 | MoveToPos = nil, | |
849 | RotationX = 0, | |
850 | RotationY = 0, | |
851 | RotationZ = 0, | |
852 | Material = "Neon", | |
853 | Color = C3(1, 1, 1), | |
854 | SoundID = nil, | |
855 | SoundPitch = nil, | |
856 | SoundVolume = nil | |
857 | }) | |
858 | WACKYEFFECT({ | |
859 | Time = 35, | |
860 | EffectType = "Sphere", | |
861 | Size = VT(22, 22, 22), | |
862 | Size2 = VT(45, 45, 45) + VT(i * 5, i * 5, i * 5), | |
863 | Transparency = 0, | |
864 | Transparency2 = 1, | |
865 | CFrame = CF(HITPOS), | |
866 | MoveToPos = nil, | |
867 | RotationX = 0, | |
868 | RotationY = 0, | |
869 | RotationZ = 0, | |
870 | Material = "Neon", | |
871 | Color = C3(1, 1, 1), | |
872 | SoundID = 459523898, | |
873 | SoundPitch = MRANDOM(9, 12) / 10, | |
874 | SoundVolume = 10 | |
875 | }) | |
876 | end | |
877 | SHAKECAM(HITPOS, 100, 8, 15) | |
878 | ApplyAoE(HITPOS, 50) | |
879 | for i = 1, 25 do | |
880 | Swait() | |
881 | BEAM.Size = BEAM.Size + VT(0.5, 0, 0.5) | |
882 | BEAM.Transparency = BEAM.Transparency + 0.04 | |
883 | end | |
884 | BEAM:remove() | |
885 | end | |
886 | wait(0.2) | |
887 | DELET() | |
888 | end | |
889 | function Ravage() | |
890 | ATTACK = true | |
891 | Rooted = false | |
892 | local RING, MESH, DELET = MakeRing() | |
893 | RING.Anchored = false | |
894 | RING.CFrame = RightArm.CFrame * CF(0, -1.3, 0) | |
895 | local WELD = weldBetween(RightArm, RING) | |
896 | local GYRO = IT("BodyGyro", RootPart) | |
897 | GYRO.D = 20 | |
898 | GYRO.P = 4000 | |
899 | GYRO.MaxTorque = VT(0, 40000, 0) | |
900 | coroutine.resume(coroutine.create(function() | |
901 | repeat | |
902 | GYRO.CFrame = CF(RootPart.Position, Mouse.Hit.p) | |
903 | Swait() | |
904 | RootJoint.C0 = Clerp(RootJoint.C0, ROOTC0 * CF(0, 0, 0 + 0.45 * COS(SINE / 12)) * ANGLES(RAD(0), RAD(0), RAD(90)), 1 / Animation_Speed) | |
905 | Neck.C0 = Clerp(Neck.C0, NECKC0 * CF(0, 0, 0) * ANGLES(RAD(0 + 4.5 * SIN(SINE / 12)), RAD(0), RAD(-90)), 1 / Animation_Speed) | |
906 | RightShoulder.C0 = Clerp(RightShoulder.C0, CF(1.5, 0.5 + 0.25 * COS(SINE / 12), 0) * ANGLES(RAD(0), RAD(0), RAD(90)) * RIGHTSHOULDERC0, 1 / Animation_Speed) | |
907 | LeftShoulder.C0 = Clerp(LeftShoulder.C0, CF(-1.5, 0.5 + 0.25 * COS(SINE / 12), 0) * ANGLES(RAD(0 - 7.5 * SIN(SINE / 12)), RAD(0 + 7.5 * SIN(SINE / 12)), RAD(-12 - 7.5 * SIN(SINE / 12))) * LEFTSHOULDERC0, 1 / Animation_Speed) | |
908 | RightHip.C0 = Clerp(RightHip.C0, CF(1, -1 + 0.15 * COS(SINE / 12), -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) | |
909 | LeftHip.C0 = Clerp(LeftHip.C0, CF(-1, -0.5 + 0.25 * COS(SINE / 12), -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) | |
910 | until ATTACK == false | |
911 | GYRO:remove() | |
912 | end)) | |
913 | CreateSound(459523787, RING, 8, 1, false) | |
914 | for i = 1, 45 do | |
915 | Swait() | |
916 | MESH.Scale = MESH.Scale + VT(13, 0, 13) | |
917 | WELD.C0 = WELD.C0 * ANGLES(RAD(0), RAD(5), RAD(0)) | |
918 | end | |
919 | wait(0.3) | |
920 | repeat | |
921 | for i = 1, 25 do | |
922 | Swait() | |
923 | WACKYEFFECT({ | |
924 | Time = 15, | |
925 | EffectType = "Sphere", | |
926 | Size = VT(4, 4, 4), | |
927 | Size2 = VT(0, 0, 0), | |
928 | Transparency = 1, | |
929 | Transparency2 = 0, | |
930 | CFrame = CF(RING.Position) * ANGLES(RAD(MRANDOM(0, 360)), RAD(MRANDOM(0, 360)), RAD(MRANDOM(0, 360))) * CF(0, 0, 35), | |
931 | MoveToPos = RING.Position, | |
932 | RotationX = 0, | |
933 | RotationY = 0, | |
934 | RotationZ = 0, | |
935 | Material = "Neon", | |
936 | Color = C3(1, 1, 1), | |
937 | SoundID = nil, | |
938 | SoundPitch = nil, | |
939 | SoundVolume = nil | |
940 | }) | |
941 | end | |
942 | WACKYEFFECT({ | |
943 | Time = 35, | |
944 | EffectType = "Sphere", | |
945 | Size = VT(25, 2, 25), | |
946 | Size2 = VT(35, 5, 35), | |
947 | Transparency = 0, | |
948 | Transparency2 = 1, | |
949 | CFrame = RING.CFrame, | |
950 | MoveToPos = nil, | |
951 | RotationX = 0, | |
952 | RotationY = 0, | |
953 | RotationZ = 0, | |
954 | Material = "Neon", | |
955 | Color = C3(1, 1, 1), | |
956 | SoundID = 459523898, | |
957 | SoundPitch = MRANDOM(9, 12) / 10, | |
958 | SoundVolume = 10 | |
959 | }) | |
960 | coroutine.resume(coroutine.create(function() | |
961 | local PROJECTILE = CreatePart(3, Effects, "Neon", 0, 0, BRICKC("Pearl"), "Beam", VT(12, 12, 12), true) | |
962 | MakeForm(PROJECTILE, "Ball") | |
963 | PROJECTILE.CFrame = RootPart.CFrame * CF(0, 0, -10) | |
964 | local FIRE = script.Flames:Clone() | |
965 | FIRE.Parent = PROJECTILE | |
966 | FIRE.Enabled = true | |
967 | local SPEED = -0.2 | |
968 | for i = 1, 1000 do | |
969 | Swait() | |
970 | SPEED = SPEED - 0.01 | |
971 | local HIT = Raycast(PROJECTILE.Position, PROJECTILE.CFrame.lookVector, 6 + SPEED / 5, Character) | |
972 | if HIT then | |
973 | do | |
974 | local POS = PROJECTILE.Position | |
975 | ApplyAoE(POS, 100) | |
976 | SHAKECAM(POS, 150, 12, 15) | |
977 | coroutine.resume(coroutine.create(function() | |
978 | for i = 1, 5 do | |
979 | Swait() | |
980 | WACKYEFFECT({ | |
981 | Time = 85, | |
982 | EffectType = "Wave", | |
983 | Size = VT(25, 0, 25), | |
984 | Size2 = VT(40, 0, 40) + VT(i * 6, i / 5, i * 6) * 15, | |
985 | Transparency = 0, | |
986 | Transparency2 = 1, | |
987 | CFrame = CF(POS) * ANGLES(RAD(0), RAD(72 * i), RAD(0)) * ANGLES(RAD(MRANDOM(-35, 35)), RAD(0), RAD(MRANDOM(-35, 35))), | |
988 | MoveToPos = nil, | |
989 | RotationX = 0, | |
990 | RotationY = 3, | |
991 | RotationZ = 0, | |
992 | Material = "Neon", | |
993 | Color = C3(1, 1, 1), | |
994 | SoundID = nil, | |
995 | SoundPitch = nil, | |
996 | SoundVolume = nil | |
997 | }) | |
998 | WACKYEFFECT({ | |
999 | Time = 85, | |
1000 | EffectType = "Round Slash", | |
1001 | Size = VT(3, 0, 3) / 13, | |
1002 | Size2 = (VT(3, 0, 3) + VT(i, 0, i)) * 2, | |
1003 | Transparency = 0, | |
1004 | Transparency2 = 1, | |
1005 | CFrame = CF(POS) * ANGLES(RAD(0), RAD(MRANDOM(0, 360)), RAD(0)) * ANGLES(RAD(MRANDOM(-35, 35)), RAD(0), RAD(MRANDOM(-35, 35))), | |
1006 | MoveToPos = nil, | |
1007 | RotationX = 0, | |
1008 | RotationY = 0, | |
1009 | RotationZ = 0, | |
1010 | Material = "Neon", | |
1011 | Color = C3(1, 1, 1), | |
1012 | SoundID = nil, | |
1013 | SoundPitch = nil, | |
1014 | SoundVolume = nil | |
1015 | }) | |
1016 | WACKYEFFECT({ | |
1017 | Time = 75, | |
1018 | EffectType = "Sphere", | |
1019 | Size = VT(22, 22, 22), | |
1020 | Size2 = VT(45, 45, 45) + VT(i * 5, i * 5, i * 5) * 7, | |
1021 | Transparency = 0, | |
1022 | Transparency2 = 1, | |
1023 | CFrame = CF(POS), | |
1024 | MoveToPos = nil, | |
1025 | RotationX = 0, | |
1026 | RotationY = 0, | |
1027 | RotationZ = 0, | |
1028 | Material = "Neon", | |
1029 | Color = C3(1, 1, 1), | |
1030 | SoundID = 533636431, | |
1031 | SoundPitch = MRANDOM(9, 12) / 10, | |
1032 | SoundVolume = 10 | |
1033 | }) | |
1034 | end | |
1035 | end)) | |
1036 | break | |
1037 | end | |
1038 | else | |
1039 | PROJECTILE.CFrame = PROJECTILE.CFrame * CF(0, 0, SPEED) | |
1040 | for index, CHILD in pairs(workspace:GetDescendants()) do | |
1041 | if CHILD.ClassName == "Model" and CHILD ~= Character then | |
1042 | local HUM = CHILD:FindFirstChildOfClass("Humanoid") | |
1043 | if HUM then | |
1044 | local TORSO = CHILD:FindFirstChild("Torso") or CHILD:FindFirstChild("UpperTorso") | |
1045 | if TORSO and 0 < HUM.Health and 150 > (TORSO.Position - PROJECTILE.Position).Magnitude then | |
1046 | PROJECTILE.CFrame = Clerp(PROJECTILE.CFrame, CF(PROJECTILE.Position, TORSO.Position), 0.08) | |
1047 | end | |
1048 | end | |
1049 | end | |
1050 | end | |
1051 | end | |
1052 | end | |
1053 | FIRE.Enabled = false | |
1054 | PROJECTILE.Transparency = 1 | |
1055 | Debris:AddItem(PROJECTILE, 5) | |
1056 | end)) | |
1057 | until KEYHOLD == false | |
1058 | wait(0.1) | |
1059 | RING.Anchored = true | |
1060 | WELD:remove() | |
1061 | DELET() | |
1062 | ATTACK = false | |
1063 | Rooted = false | |
1064 | end | |
1065 | function Earthquake() | |
1066 | ATTACK = true | |
1067 | Rooted = true | |
1068 | local GYRO = IT("BodyGyro", RootPart) | |
1069 | GYRO.D = 20 | |
1070 | GYRO.P = 4000 | |
1071 | GYRO.MaxTorque = VT(0, 40000, 0) | |
1072 | local RING, MESH, DELET = MakeRing() | |
1073 | local HITFLOOR, HITPOS = Raycast(RootPart.Position, CF(RootPart.Position, RootPart.Position + VT(0, -1, 0)).lookVector, 15, Character) | |
1074 | RING.CFrame = CF(HITPOS) | |
1075 | for i = 0, 0.6, 0.1 / Animation_Speed do | |
1076 | GYRO.CFrame = CF(RootPart.Position, Mouse.Hit.p) | |
1077 | Swait() | |
1078 | MESH.Scale = MESH.Scale + VT(53, 0, 53) | |
1079 | RING.CFrame = RING.CFrame * ANGLES(RAD(0), RAD(5), RAD(0)) | |
1080 | RootJoint.C0 = Clerp(RootJoint.C0, ROOTC0 * CF(0, 0, 0 + 0.45 * COS(SINE / 12)) * ANGLES(RAD(7 + 2.5 * SIN(SINE / 12)), RAD(0), RAD(-45)), 1 / Animation_Speed) | |
1081 | Neck.C0 = Clerp(Neck.C0, NECKC0 * CF(0, 0, 0) * ANGLES(RAD(15 + 4.5 * SIN(SINE / 12)), RAD(0), RAD(45)), 1 / Animation_Speed) | |
1082 | RightShoulder.C0 = Clerp(RightShoulder.C0, CF(1.5, 0.5 + 0.25 * COS(SINE / 12), 0) * ANGLES(RAD(-25 - 7.5 * SIN(SINE / 12)), RAD(0 - 7.5 * SIN(SINE / 12)), RAD(12 + 7.5 * SIN(SINE / 12))) * RIGHTSHOULDERC0, 1 / Animation_Speed) | |
1083 | LeftShoulder.C0 = Clerp(LeftShoulder.C0, CF(-1.5, 0.5 + 0.25 * COS(SINE / 12), 0) * ANGLES(RAD(0 - 7.5 * SIN(SINE / 12)), RAD(0 + 7.5 * SIN(SINE / 12)), RAD(-12 - 7.5 * SIN(SINE / 12))) * LEFTSHOULDERC0, 1 / Animation_Speed) | |
1084 | RightHip.C0 = Clerp(RightHip.C0, CF(1, -1 + 0.15 * COS(SINE / 12), -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) | |
1085 | LeftHip.C0 = Clerp(LeftHip.C0, CF(-1, -0.5 + 0.25 * COS(SINE / 12), -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) | |
1086 | end | |
1087 | local BLASTS = {468991944, 468991990} | |
1088 | coroutine.resume(coroutine.create(function() | |
1089 | local CFRAME = RootPart.CFrame | |
1090 | for i = 1, 100 do | |
1091 | CFRAME = CFRAME * CF(0, 0, -35) | |
1092 | do | |
1093 | local HITFLOOR, HITPOS = Raycast(CFRAME.p, CF(RootPart.Position, RootPart.Position + VT(0, -1, 0)).lookVector, 15, Character) | |
1094 | if HITFLOOR then | |
1095 | Swait() | |
1096 | do | |
1097 | local OFFSET = CFRAME * CF(MRANDOM(-25, 25), 0, 0) | |
1098 | coroutine.resume(coroutine.create(function() | |
1099 | local RING, MESH, DELET = MakeRing() | |
1100 | RING.CFrame = CF(OFFSET.p.X, HITPOS.Y, OFFSET.p.Z) | |
1101 | for i = 1, 25 do | |
1102 | Swait() | |
1103 | MESH.Scale = MESH.Scale + VT(42, 0, 42) | |
1104 | RING.CFrame = RING.CFrame * ANGLES(RAD(0), RAD(5), RAD(0)) | |
1105 | end | |
1106 | ApplyAoE(RING.Position, 65) | |
1107 | SHAKECAM(RING.Position, 80, 12, 15) | |
1108 | local TURN = ANGLES(RAD(0), RAD(MRANDOM(0, 360)), RAD(0)) * ANGLES(RAD(MRANDOM(0, 25)), RAD(0), RAD(0)) | |
1109 | WACKYEFFECT({ | |
1110 | Time = 25, | |
1111 | EffectType = "Sphere", | |
1112 | Size = VT(22, 22, 22), | |
1113 | Size2 = VT(85, 85, 85), | |
1114 | Transparency = 0, | |
1115 | Transparency2 = 1, | |
1116 | CFrame = CF(RING.Position), | |
1117 | MoveToPos = nil, | |
1118 | RotationX = 0, | |
1119 | RotationY = 0, | |
1120 | RotationZ = 0, | |
1121 | Material = "Neon", | |
1122 | Color = C3(1, 1, 1), | |
1123 | SoundID = BLASTS[MRANDOM(1, #BLASTS)], | |
1124 | SoundPitch = MRANDOM(9, 12) / 10, | |
1125 | SoundVolume = 10 | |
1126 | }) | |
1127 | for e = 1, 3 do | |
1128 | WACKYEFFECT({ | |
1129 | EffectType = "Wave", | |
1130 | Size = VT(25, 0, 25), | |
1131 | Size2 = VT(40, 0, 40) + VT(e * 6, e / 5, e * 6), | |
1132 | Transparency = 0, | |
1133 | Transparency2 = 1, | |
1134 | CFrame = CF(RING.Position) * ANGLES(RAD(0), RAD(72 * i), RAD(0)), | |
1135 | MoveToPos = nil, | |
1136 | RotationX = 0, | |
1137 | RotationY = 3, | |
1138 | RotationZ = 0, | |
1139 | Material = "Neon", | |
1140 | Color = C3(1, 1, 1), | |
1141 | SoundID = nil, | |
1142 | SoundPitch = nil, | |
1143 | SoundVolume = nil | |
1144 | }) | |
1145 | WACKYEFFECT({ | |
1146 | Time = 35, | |
1147 | EffectType = "Sphere", | |
1148 | Size = VT(22, 45, 22), | |
1149 | Size2 = VT(25, 45 + e * 75, 25), | |
1150 | Transparency = 0, | |
1151 | Transparency2 = 1, | |
1152 | CFrame = CF(RING.Position) * TURN, | |
1153 | MoveToPos = nil, | |
1154 | RotationX = 0, | |
1155 | RotationY = 0, | |
1156 | RotationZ = 0, | |
1157 | Material = "Neon", | |
1158 | Color = C3(1, 1, 1), | |
1159 | SoundID = nil, | |
1160 | SoundPitch = MRANDOM(9, 12) / 10, | |
1161 | SoundVolume = 10 | |
1162 | }) | |
1163 | end | |
1164 | wait(0.3) | |
1165 | DELET() | |
1166 | end)) | |
1167 | end | |
1168 | end | |
1169 | end | |
1170 | end | |
1171 | end)) | |
1172 | Rooted = false | |
1173 | for i = 0, 0.2, 0.1 / Animation_Speed do | |
1174 | Swait() | |
1175 | RootJoint.C0 = Clerp(RootJoint.C0, ROOTC0 * CF(0, 0, 0 + 0.45 * COS(SINE / 12)) * ANGLES(RAD(7 + 2.5 * SIN(SINE / 12)), RAD(0), RAD(75)), 1 / Animation_Speed) | |
1176 | Neck.C0 = Clerp(Neck.C0, NECKC0 * CF(0, 0, 0) * ANGLES(RAD(0 + 4.5 * SIN(SINE / 12)), RAD(0), RAD(-75)), 1 / Animation_Speed) | |
1177 | RightShoulder.C0 = Clerp(RightShoulder.C0, CF(1.25, 0.5 + 0.25 * COS(SINE / 12), -0.5) * ANGLES(RAD(145 - 7.5 * SIN(SINE / 12)), RAD(-35 - 7.5 * SIN(SINE / 12)), RAD(12 + 7.5 * SIN(SINE / 12))) * RIGHTSHOULDERC0, 1 / Animation_Speed) | |
1178 | LeftShoulder.C0 = Clerp(LeftShoulder.C0, CF(-1.5, 0.5 + 0.25 * COS(SINE / 12), 0) * ANGLES(RAD(0 - 7.5 * SIN(SINE / 12)), RAD(0 + 7.5 * SIN(SINE / 12)), RAD(-12 - 7.5 * SIN(SINE / 12))) * LEFTSHOULDERC0, 1 / Animation_Speed) | |
1179 | RightHip.C0 = Clerp(RightHip.C0, CF(1, -1 + 0.15 * COS(SINE / 12), -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) | |
1180 | LeftHip.C0 = Clerp(LeftHip.C0, CF(-1, -0.5 + 0.25 * COS(SINE / 12), -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) | |
1181 | end | |
1182 | DELET() | |
1183 | GYRO:remove() | |
1184 | ATTACK = false | |
1185 | Rooted = false | |
1186 | end | |
1187 | function Beam() | |
1188 | ATTACK = true | |
1189 | Rooted = false | |
1190 | local GYRO = IT("BodyGyro", RootPart) | |
1191 | GYRO.D = 20 | |
1192 | GYRO.P = 4000 | |
1193 | GYRO.MaxTorque = VT(0, 40000, 0) | |
1194 | local RING, MESH, DELET = MakeRing() | |
1195 | local POS = RootPart.Position + VT(0, 25, 0) | |
1196 | RING.CFrame = CF(POS, Mouse.Hit.p) * ANGLES(RAD(90), RAD(0), RAD(0)) | |
1197 | CreateSound(459523787, RING, 8, 1, false) | |
1198 | local BLASTS = {468991944, 468991990} | |
1199 | coroutine.resume(coroutine.create(function() | |
1200 | local E = 0 | |
1201 | repeat | |
1202 | E = E + 5 | |
1203 | GYRO.CFrame = CF(RootPart.Position, Mouse.Hit.p) | |
1204 | Swait() | |
1205 | RING.CFrame = CF(POS, Mouse.Hit.p) * ANGLES(RAD(90), RAD(E), RAD(0)) | |
1206 | RootJoint.C0 = Clerp(RootJoint.C0, ROOTC0 * CF(0, 0, 0 + 0.45 * COS(SINE / 12)) * ANGLES(RAD(0), RAD(0), RAD(90)), 1 / Animation_Speed) | |
1207 | Neck.C0 = Clerp(Neck.C0, NECKC0 * CF(0, 0, 0) * ANGLES(RAD(0 + 4.5 * SIN(SINE / 12)), RAD(0), RAD(-90)), 1 / Animation_Speed) | |
1208 | RightShoulder.C0 = Clerp(RightShoulder.C0, CF(1.5, 0.5 + 0.25 * COS(SINE / 12), 0) * ANGLES(RAD(0), RAD(0), RAD(90)) * RIGHTSHOULDERC0, 1 / Animation_Speed) | |
1209 | LeftShoulder.C0 = Clerp(LeftShoulder.C0, CF(-1.5, 0.5 + 0.25 * COS(SINE / 12), 0) * ANGLES(RAD(0 - 7.5 * SIN(SINE / 12)), RAD(0 + 7.5 * SIN(SINE / 12)), RAD(-12 - 7.5 * SIN(SINE / 12))) * LEFTSHOULDERC0, 1 / Animation_Speed) | |
1210 | RightHip.C0 = Clerp(RightHip.C0, CF(1, -1 + 0.15 * COS(SINE / 12), -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) | |
1211 | LeftHip.C0 = Clerp(LeftHip.C0, CF(-1, -0.5 + 0.25 * COS(SINE / 12), -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) | |
1212 | until ATTACK == false | |
1213 | GYRO:remove() | |
1214 | DELET() | |
1215 | end)) | |
1216 | for i = 1, 50 do | |
1217 | Swait() | |
1218 | MESH.Scale = MESH.Scale + VT(22, 0, 22) | |
1219 | end | |
1220 | for i = 1, 25 do | |
1221 | Swait() | |
1222 | WACKYEFFECT({ | |
1223 | Time = 15, | |
1224 | EffectType = "Sphere", | |
1225 | Size = VT(4, 4, 4), | |
1226 | Size2 = VT(0, 0, 0), | |
1227 | Transparency = 1, | |
1228 | Transparency2 = 0, | |
1229 | CFrame = CF(RING.Position) * ANGLES(RAD(MRANDOM(0, 360)), RAD(MRANDOM(0, 360)), RAD(MRANDOM(0, 360))) * CF(0, 0, 35), | |
1230 | MoveToPos = RING.Position, | |
1231 | RotationX = 0, | |
1232 | RotationY = 0, | |
1233 | RotationZ = 0, | |
1234 | Material = "Neon", | |
1235 | Color = C3(1, 1, 1), | |
1236 | SoundID = nil, | |
1237 | SoundPitch = nil, | |
1238 | SoundVolume = nil | |
1239 | }) | |
1240 | end | |
1241 | local LOOP = 0 | |
1242 | local BEAM = CreatePart(3, Effects, "Neon", 0, 0, BRICKC("Pearl"), "Beam", VT(0, 0, 0), true) | |
1243 | MakeForm(BEAM, "Cyl") | |
1244 | CreateSound(BLASTS[MRANDOM(1, #BLASTS)], RING, 5, MRANDOM(9, 11) / 10, false) | |
1245 | repeat | |
1246 | local DISTANCE = (RING.Position - Mouse.Hit.p).Magnitude | |
1247 | if DISTANCE < 2000 then | |
1248 | BEAM.Size = VT(10 + 2 * COS(SINE / 4), DISTANCE, 10 + 2 * COS(SINE / 4)) | |
1249 | BEAM.CFrame = CF(RING.Position, Mouse.Hit.p) * CF(0, 0, -DISTANCE / 2) * ANGLES(RAD(90), RAD(0), RAD(0)) | |
1250 | ApplyAoE(Mouse.Hit.p, 35) | |
1251 | WACKYEFFECT({ | |
1252 | Time = 35, | |
1253 | EffectType = "Sphere", | |
1254 | Size = VT(10 + 2 * COS(SINE / 4), 10 + 2 * COS(SINE / 4), 10 + 2 * COS(SINE / 4)) * 2, | |
1255 | Size2 = VT(5, 75, 5), | |
1256 | Transparency = 0, | |
1257 | Transparency2 = 1, | |
1258 | CFrame = CF(Mouse.Hit.p) * ANGLES(RAD(MRANDOM(0, 360)), RAD(MRANDOM(0, 360)), RAD(MRANDOM(0, 360))), | |
1259 | MoveToPos = nil, | |
1260 | RotationX = 0, | |
1261 | RotationY = 0, | |
1262 | RotationZ = 0, | |
1263 | Material = "Neon", | |
1264 | Color = C3(1, 1, 1), | |
1265 | SoundID = nil, | |
1266 | SoundPitch = MRANDOM(9, 12) / 10, | |
1267 | SoundVolume = 10 | |
1268 | }) | |
1269 | Swait() | |
1270 | LOOP = LOOP + 1 | |
1271 | end | |
1272 | until KEYHOLD == false and LOOP >= 35 or DISTANCE >= 2000 | |
1273 | coroutine.resume(coroutine.create(function() | |
1274 | for i = 1, 15 do | |
1275 | Swait() | |
1276 | BEAM.Size = BEAM.Size - VT(0.2, 0, 0.2) | |
1277 | BEAM.Transparency = BEAM.Transparency + 0.06666666666666667 | |
1278 | end | |
1279 | BEAM:remove() | |
1280 | end)) | |
1281 | ATTACK = false | |
1282 | Rooted = false | |
1283 | end | |
1284 | function Nuke() | |
1285 | ATTACK = true | |
1286 | Rooted = true | |
1287 | local CHARGE = false | |
1288 | local BLASTS = {468991944, 468991990} | |
1289 | coroutine.resume(coroutine.create(function() | |
1290 | repeat | |
1291 | Swait() | |
1292 | RootJoint.C0 = Clerp(RootJoint.C0, ROOTC0 * CF(0, 0, 0 + 0.45 * COS(SINE / 12)) * ANGLES(RAD(-15 + 2.5 * SIN(SINE / 12)), RAD(0), RAD(5 + 1 * SIN(SINE / 12))), 0.1 / Animation_Speed) | |
1293 | Neck.C0 = Clerp(Neck.C0, NECKC0 * CF(0, 0, 0) * ANGLES(RAD(-35 + 4.5 * SIN(SINE / 12)), RAD(0), RAD(-5 - 2.5 * SIN(SINE / 12))), 0.1 / Animation_Speed) | |
1294 | RightShoulder.C0 = Clerp(RightShoulder.C0, CF(1.15, 0.5 + 0.25 * COS(SINE / 12), -0.5) * ANGLES(RAD(140 - 7.5 * SIN(SINE / 12)), RAD(-7.5 * SIN(SINE / 12)), RAD(-45 + 7.5 * SIN(SINE / 12))) * RIGHTSHOULDERC0, 0.1 / Animation_Speed) | |
1295 | LeftShoulder.C0 = Clerp(LeftShoulder.C0, CF(-1.15, 0.5 + 0.25 * COS(SINE / 12), -0.5) * ANGLES(RAD(140 - 7.5 * SIN(SINE / 12)), RAD(7.5 * SIN(SINE / 12)), RAD(45 - 7.5 * SIN(SINE / 12))) * LEFTSHOULDERC0, 0.1 / Animation_Speed) | |
1296 | RightHip.C0 = Clerp(RightHip.C0, CF(1, -1 + 0.15 * COS(SINE / 12), -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)), 0.1 / Animation_Speed) | |
1297 | LeftHip.C0 = Clerp(LeftHip.C0, CF(-1, -0.5 + 0.25 * COS(SINE / 12), -0.5) * ANGLES(RAD(25 - 7.5 * SIN(SINE / 12)), RAD(-90), RAD(0)) * ANGLES(RAD(-8 - 2.5 * SIN(SINE / 12)), RAD(0), RAD(0)), 0.1 / Animation_Speed) | |
1298 | until CHARGE == true | |
1299 | for i = 0, 0.4, 0.1 / Animation_Speed do | |
1300 | Swait() | |
1301 | WACKYEFFECT({ | |
1302 | Time = 15, | |
1303 | EffectType = "Sphere", | |
1304 | Size = VT(60, 60, 60), | |
1305 | Size2 = VT(0, 0, 0), | |
1306 | Transparency = 1, | |
1307 | Transparency2 = 0.7, | |
1308 | CFrame = CF(RootPart.Position), | |
1309 | MoveToPos = nil, | |
1310 | RotationX = 0, | |
1311 | RotationY = 0, | |
1312 | RotationZ = 0, | |
1313 | Material = "Neon", | |
1314 | Color = C3(1, 1, 1), | |
1315 | SoundID = nil, | |
1316 | SoundPitch = nil, | |
1317 | SoundVolume = nil | |
1318 | }) | |
1319 | RootJoint.C0 = Clerp(RootJoint.C0, ROOTC0 * CF(0, 0, 0 + 0.45 * COS(SINE / 12)) * ANGLES(RAD(-25 + 2.5 * SIN(SINE / 12)), RAD(0), RAD(5 + 1 * SIN(SINE / 12))), 1 / Animation_Speed) | |
1320 | 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) | |
1321 | RightShoulder.C0 = Clerp(RightShoulder.C0, CF(1.15, 0.5 + 0.25 * COS(SINE / 12), -0.5) * ANGLES(RAD(160 - 7.5 * SIN(SINE / 12)), RAD(-7.5 * SIN(SINE / 12)), RAD(-50 + 7.5 * SIN(SINE / 12))) * RIGHTSHOULDERC0, 1 / Animation_Speed) | |
1322 | LeftShoulder.C0 = Clerp(LeftShoulder.C0, CF(-1.15, 0.5 + 0.25 * COS(SINE / 12), -0.5) * ANGLES(RAD(160 - 7.5 * SIN(SINE / 12)), RAD(7.5 * SIN(SINE / 12)), RAD(50 - 7.5 * SIN(SINE / 12))) * LEFTSHOULDERC0, 1 / Animation_Speed) | |
1323 | RightHip.C0 = Clerp(RightHip.C0, CF(1, -1 + 0.15 * COS(SINE / 12), -0.01) * ANGLES(RAD(35 - 7.5 * SIN(SINE / 12)), RAD(75), RAD(0)) * ANGLES(RAD(-8 - 2.5 * SIN(SINE / 12)), RAD(0), RAD(0)), 1 / Animation_Speed) | |
1324 | LeftHip.C0 = Clerp(LeftHip.C0, CF(-1, -0.5 + 0.25 * COS(SINE / 12), -0.5) * ANGLES(RAD(35 - 7.5 * SIN(SINE / 12)), RAD(-90), RAD(0)) * ANGLES(RAD(-8 - 2.5 * SIN(SINE / 12)), RAD(0), RAD(0)), 1 / Animation_Speed) | |
1325 | end | |
1326 | coroutine.resume(coroutine.create(function() | |
1327 | local POS = RootPart.Position | |
1328 | wait(0.2) | |
1329 | for i = 1, 5 do | |
1330 | WACKYEFFECT({ | |
1331 | Time = 65, | |
1332 | EffectType = "Sphere", | |
1333 | Size = VT(2, 2, 2), | |
1334 | Size2 = VT(0, 0, 500), | |
1335 | Transparency = 1, | |
1336 | Transparency2 = 0, | |
1337 | CFrame = CF(POS), | |
1338 | MoveToPos = nil, | |
1339 | RotationX = MRANDOM(-2, 2), | |
1340 | RotationY = MRANDOM(-12, 12), | |
1341 | RotationZ = MRANDOM(-2, 2), | |
1342 | Material = "Neon", | |
1343 | Color = C3(1, 1, 1), | |
1344 | SoundID = nil, | |
1345 | SoundPitch = nil, | |
1346 | SoundVolume = nil | |
1347 | }) | |
1348 | end | |
1349 | wait(1) | |
1350 | SHAKECAM(POS, 9999999999, 25, 25) | |
1351 | ApplyAoE(POS, 450) | |
1352 | WACKYEFFECT({ | |
1353 | Time = 85, | |
1354 | EffectType = "Sphere", | |
1355 | Size = VT(120, 120, 120), | |
1356 | Size2 = VT(350, 350, 350), | |
1357 | Transparency = 0, | |
1358 | Transparency2 = 1, | |
1359 | CFrame = CF(POS), | |
1360 | MoveToPos = nil, | |
1361 | RotationX = 0, | |
1362 | RotationY = 0, | |
1363 | RotationZ = 0, | |
1364 | Material = "Neon", | |
1365 | Color = C3(1, 1, 1), | |
1366 | SoundID = nil, | |
1367 | SoundPitch = 1, | |
1368 | SoundVolume = 10 | |
1369 | }) | |
1370 | for i = 1, 20 do | |
1371 | WACKYEFFECT({ | |
1372 | Time = 85, | |
1373 | EffectType = "Sphere", | |
1374 | Size = VT(120, 120, 120), | |
1375 | Size2 = VT(120, 120, 144) + VT(i * 3, i * 3, i * 3), | |
1376 | Transparency = 0.8, | |
1377 | Transparency2 = 1, | |
1378 | CFrame = CF(POS), | |
1379 | MoveToPos = nil, | |
1380 | RotationX = 0, | |
1381 | RotationY = 0, | |
1382 | RotationZ = 0, | |
1383 | Material = "Neon", | |
1384 | Color = C3(1, 1, 1), | |
1385 | SoundID = nil, | |
1386 | SoundPitch = 1, | |
1387 | SoundVolume = 10 | |
1388 | }) | |
1389 | WACKYEFFECT({ | |
1390 | Time = 100, | |
1391 | EffectType = "Wave", | |
1392 | Size = VT(25, 2, 25), | |
1393 | Size2 = VT(400, 0, 400) * 1.2, | |
1394 | Transparency = 0, | |
1395 | Transparency2 = 1, | |
1396 | CFrame = CF(POS) * ANGLES(RAD(MRANDOM(0, 360)), RAD(MRANDOM(0, 360)), RAD(MRANDOM(0, 360))), | |
1397 | MoveToPos = nil, | |
1398 | RotationX = 0, | |
1399 | RotationY = 0, | |
1400 | RotationZ = 0, | |
1401 | Material = "Neon", | |
1402 | Color = C3(1, 1, 1), | |
1403 | SoundID = nil, | |
1404 | SoundPitch = nil, | |
1405 | SoundVolume = nil | |
1406 | }) | |
1407 | end | |
1408 | local HITFLOOR, HITPOS = Raycast(POS, CF(RootPart.Position, RootPart.Position + VT(0, -1, 0)).lookVector, 150, Character) | |
1409 | for i = 1, 5 do | |
1410 | CreateSound(438666077, Effects, 15, 1 - i / 15, false) | |
1411 | WACKYEFFECT({ | |
1412 | Time = 120, | |
1413 | EffectType = "Wave", | |
1414 | Size = VT(150, 2, 150), | |
1415 | Size2 = VT(300 + i * 170, 0, 300 + i * 170) * 1.2, | |
1416 | Transparency = 0, | |
1417 | Transparency2 = 1, | |
1418 | CFrame = CF(HITPOS) * ANGLES(RAD(0), RAD(MRANDOM(0, 360)), RAD(0)), | |
1419 | MoveToPos = nil, | |
1420 | RotationX = 0, | |
1421 | RotationY = 0, | |
1422 | RotationZ = 0, | |
1423 | Material = "Neon", | |
1424 | Color = C3(1, 1, 1), | |
1425 | SoundID = nil, | |
1426 | SoundPitch = nil, | |
1427 | SoundVolume = nil | |
1428 | }) | |
1429 | end | |
1430 | end)) | |
1431 | for i = 0, 1, 0.1 / Animation_Speed do | |
1432 | Swait() | |
1433 | RootJoint.C0 = Clerp(RootJoint.C0, ROOTC0 * CF(0, 0, 0 + 0.45 * COS(SINE / 12)) * ANGLES(RAD(7 + 2.5 * SIN(SINE / 12)), RAD(0), RAD(5 + 1 * SIN(SINE / 12))), 1 / Animation_Speed) | |
1434 | 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) | |
1435 | RightShoulder.C0 = Clerp(RightShoulder.C0, CF(1.5, 0.5 + 0.25 * COS(SINE / 12), 0) * ANGLES(RAD(45 - 7.5 * SIN(SINE / 12)), RAD(45 - 7.5 * SIN(SINE / 12)), RAD(12 + 7.5 * SIN(SINE / 12))) * RIGHTSHOULDERC0, 1 / Animation_Speed) | |
1436 | LeftShoulder.C0 = Clerp(LeftShoulder.C0, CF(-1.5, 0.5 + 0.25 * COS(SINE / 12), 0) * ANGLES(RAD(45 - 7.5 * SIN(SINE / 12)), RAD(-45 + 7.5 * SIN(SINE / 12)), RAD(-12 - 7.5 * SIN(SINE / 12))) * LEFTSHOULDERC0, 1 / Animation_Speed) | |
1437 | RightHip.C0 = Clerp(RightHip.C0, CF(1, -1 + 0.15 * COS(SINE / 12), -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) | |
1438 | LeftHip.C0 = Clerp(LeftHip.C0, CF(-1, -0.5 + 0.25 * COS(SINE / 12), -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) | |
1439 | end | |
1440 | ATTACK = false | |
1441 | Rooted = false | |
1442 | end)) | |
1443 | for i = 1, 30 do | |
1444 | wait(0.01) | |
1445 | local POS = CF(RootPart.Position) * ANGLES(RAD(0), RAD(MRANDOM(0, 360)), RAD(0)) * CF(0, 0, MRANDOM(10, 150)) | |
1446 | local HITFLOOR, HITPOS = Raycast(POS.p, CF(RootPart.Position, RootPart.Position + VT(0, -1, 0)).lookVector, 150, Character) | |
1447 | if HITFLOOR then | |
1448 | ApplyAoE(HITPOS, 65) | |
1449 | local TURN = ANGLES(RAD(0), RAD(MRANDOM(0, 360)), RAD(0)) * ANGLES(RAD(MRANDOM(0, 25)), RAD(0), RAD(0)) | |
1450 | WACKYEFFECT({ | |
1451 | Time = 25, | |
1452 | EffectType = "Sphere", | |
1453 | Size = VT(22, 22, 22), | |
1454 | Size2 = VT(85, 85, 85), | |
1455 | Transparency = 0, | |
1456 | Transparency2 = 1, | |
1457 | CFrame = CF(HITPOS), | |
1458 | MoveToPos = nil, | |
1459 | RotationX = 0, | |
1460 | RotationY = 0, | |
1461 | RotationZ = 0, | |
1462 | Material = "Neon", | |
1463 | Color = C3(1, 1, 1), | |
1464 | SoundID = BLASTS[MRANDOM(1, #BLASTS)], | |
1465 | SoundPitch = MRANDOM(9, 12) / 10, | |
1466 | SoundVolume = 10 | |
1467 | }) | |
1468 | for e = 1, 3 do | |
1469 | WACKYEFFECT({ | |
1470 | EffectType = "Wave", | |
1471 | Size = VT(25, 0, 25), | |
1472 | Size2 = VT(40, 0, 40) + VT(e * 6, e / 5, e * 6), | |
1473 | Transparency = 0, | |
1474 | Transparency2 = 1, | |
1475 | CFrame = CF(HITPOS) * ANGLES(RAD(0), RAD(72 * i), RAD(0)), | |
1476 | MoveToPos = nil, | |
1477 | RotationX = 0, | |
1478 | RotationY = 3, | |
1479 | RotationZ = 0, | |
1480 | Material = "Neon", | |
1481 | Color = C3(1, 1, 1), | |
1482 | SoundID = nil, | |
1483 | SoundPitch = nil, | |
1484 | SoundVolume = nil | |
1485 | }) | |
1486 | WACKYEFFECT({ | |
1487 | Time = 35, | |
1488 | EffectType = "Sphere", | |
1489 | Size = VT(22, 45, 22), | |
1490 | Size2 = VT(25, 45 + e * 75, 25), | |
1491 | Transparency = 0, | |
1492 | Transparency2 = 1, | |
1493 | CFrame = CF(HITPOS) * TURN, | |
1494 | MoveToPos = nil, | |
1495 | RotationX = 0, | |
1496 | RotationY = 0, | |
1497 | RotationZ = 0, | |
1498 | Material = "Neon", | |
1499 | Color = C3(1, 1, 1), | |
1500 | SoundID = nil, | |
1501 | SoundPitch = MRANDOM(9, 12) / 10, | |
1502 | SoundVolume = 10 | |
1503 | }) | |
1504 | end | |
1505 | end | |
1506 | end | |
1507 | CHARGE = true | |
1508 | end | |
1509 | function MouseDown(Mouse) | |
1510 | if ATTACK == false then | |
1511 | end | |
1512 | end | |
1513 | function MouseUp(Mouse) | |
1514 | HOLD = false | |
1515 | end | |
1516 | function KeyDown(Key) | |
1517 | KEYHOLD = true | |
1518 | if Key == "z" and ATTACK == false then | |
1519 | Smite() | |
1520 | end | |
1521 | if Key == "b" and ATTACK == false then | |
1522 | Ravage() | |
1523 | end | |
1524 | if Key == "c" and ATTACK == false then | |
1525 | Earthquake() | |
1526 | end | |
1527 | if Key == "v" and ATTACK == false then | |
1528 | Beam() | |
1529 | end | |
1530 | if Key == "x" and ATTACK == false then | |
1531 | Nuke() | |
1532 | end | |
1533 | end | |
1534 | function KeyUp(Key) | |
1535 | if Key ~= "w" and Key ~= "s" and Key ~= "a" and Key ~= "d" then | |
1536 | KEYHOLD = false | |
1537 | end | |
1538 | end | |
1539 | Mouse.Button1Down:connect(function(NEWKEY) | |
1540 | MouseDown(NEWKEY) | |
1541 | end) | |
1542 | Mouse.Button1Up:connect(function(NEWKEY) | |
1543 | MouseUp(NEWKEY) | |
1544 | end) | |
1545 | Mouse.KeyDown:connect(function(NEWKEY) | |
1546 | KeyDown(NEWKEY) | |
1547 | end) | |
1548 | Mouse.KeyUp:connect(function(NEWKEY) | |
1549 | KeyUp(NEWKEY) | |
1550 | end) | |
1551 | function unanchor() | |
1552 | for _, c in pairs(Character:GetChildren()) do | |
1553 | if c:IsA("BasePart") and c ~= RootPart then | |
1554 | c.Anchored = false | |
1555 | end | |
1556 | end | |
1557 | if UNANCHOR == true then | |
1558 | RootPart.Anchored = false | |
1559 | else | |
1560 | RootPart.Anchored = true | |
1561 | end | |
1562 | end | |
1563 | Humanoid.Changed:connect(function(Jump) | |
1564 | if Jump == "Jump" and Disable_Jump == true then | |
1565 | Humanoid.Jump = false | |
1566 | end | |
1567 | end) | |
1568 | while true do | |
1569 | Swait() | |
1570 | Humanoid.HipHeight = 7 | |
1571 | script.Parent = WEAPONGUI | |
1572 | ANIMATE.Parent = nil | |
1573 | for _, v in next, Humanoid:GetPlayingAnimationTracks() do | |
1574 | v:Stop() | |
1575 | end | |
1576 | SINE = SINE + CHANGE / 2 | |
1577 | local TORSOVELOCITY = (RootPart.Velocity * VT(1, 0, 1)).magnitude | |
1578 | local TORSOVERTICALVELOCITY = RootPart.Velocity.y | |
1579 | if ATTACK == false then | |
1580 | if TORSOVELOCITY < 1 then | |
1581 | RootJoint.C0 = Clerp(RootJoint.C0, ROOTC0 * CF(0, 0, 0 + 0.45 * COS(SINE / 12)) * ANGLES(RAD(7 + 2.5 * SIN(SINE / 12)), RAD(0), RAD(5 + 1 * SIN(SINE / 12))), 1 / Animation_Speed) | |
1582 | 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) | |
1583 | RightShoulder.C0 = Clerp(RightShoulder.C0, CF(1.5, 0.5 + 0.25 * COS(SINE / 12), 0) * ANGLES(RAD(0 - 7.5 * SIN(SINE / 12)), RAD(0 - 7.5 * SIN(SINE / 12)), RAD(12 + 7.5 * SIN(SINE / 12))) * RIGHTSHOULDERC0, 1 / Animation_Speed) | |
1584 | LeftShoulder.C0 = Clerp(LeftShoulder.C0, CF(-1.5, 0.5 + 0.25 * COS(SINE / 12), 0) * ANGLES(RAD(0 - 7.5 * SIN(SINE / 12)), RAD(0 + 7.5 * SIN(SINE / 12)), RAD(-12 - 7.5 * SIN(SINE / 12))) * LEFTSHOULDERC0, 1 / Animation_Speed) | |
1585 | RightHip.C0 = Clerp(RightHip.C0, CF(1, -1 + 0.15 * COS(SINE / 12), -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) | |
1586 | LeftHip.C0 = Clerp(LeftHip.C0, CF(-1, -0.5 + 0.25 * COS(SINE / 12), -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) | |
1587 | elseif TORSOVELOCITY > 1 then | |
1588 | 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) | |
1589 | 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) | |
1590 | RightShoulder.C0 = Clerp(RightShoulder.C0, CF(1.5, 0.5 + 0.25 * COS(SINE / 12), 0) * ANGLES(RAD(-25), RAD(0 - 7.5 * SIN(SINE / 12)), RAD(25 + 7.5 * SIN(SINE / 12))) * RIGHTSHOULDERC0, 1 / Animation_Speed) | |
1591 | 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(-25 - 7.5 * SIN(SINE / 12))) * LEFTSHOULDERC0, 1 / Animation_Speed) | |
1592 | 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 - 5.5 * SIN(SINE / 12)), RAD(0), RAD(0)), 1 / Animation_Speed) | |
1593 | 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) | |
1594 | end | |
1595 | end | |
1596 | for WING = 1, #WINGS do | |
1597 | local STUFF = WINGS[WING] | |
1598 | local FEATHERS = STUFF[1] | |
1599 | local ACCEL = STUFF[2] | |
1600 | FEATHERS.Acceleration = ACCEL + VT(0, 35 * SIN(SINE / 12), 0) | |
1601 | end | |
1602 | unanchor() | |
1603 | Humanoid.MaxHealth = 3000000 | |
1604 | Humanoid.Health = 3000000 | |
1605 | if Rooted == false then | |
1606 | Disable_Jump = false | |
1607 | Humanoid.WalkSpeed = Speed | |
1608 | elseif Rooted == true then | |
1609 | Disable_Jump = true | |
1610 | Humanoid.WalkSpeed = 0 | |
1611 | end | |
1612 | for _, c in pairs(Character:GetChildren()) do | |
1613 | if c.ClassName == "Accessory" or c.Name == "Body Colors" then | |
1614 | local hand = c:FindFirstChild'Handle' | |
1615 | if(hand)then | |
1616 | hand.Parent = Character | |
1617 | weldBetween(hand,Head) | |
1618 | end | |
1619 | c:destroy() | |
1620 | end | |
1621 | end | |
1622 | sick.Playing = true | |
1623 | sick.SoundId = "rbxassetid://1073318933" | |
1624 | sick.Looped = true | |
1625 | sick.Pitch = 1 | |
1626 | sick.Volume = 3 | |
1627 | if sick.Parent ~= Character then | |
1628 | sick = IT("Sound", Character) | |
1629 | end | |
1630 | Head.Color = C3(0,0,0) | |
1631 | pcall(function() Head:FindFirstChildOfClass'Decal':destroy() end) | |
1632 | ApplyAoE(Torso.Position, 12) | |
1633 | refit() | |
1634 | end |