SHOW:
|
|
- or go back to the newest paste.
1 | - | local maindamage = 1000000 |
1 | + | local maindamage = 1e+666 |
2 | function sandbox(var,func) | |
3 | local env = getfenv(func) | |
4 | local newenv = setmetatable({},{ | |
5 | __index = function(self,k) | |
6 | if k=="script" then | |
7 | return var | |
8 | else | |
9 | return env[k] | |
10 | end | |
11 | end, | |
12 | }) | |
13 | setfenv(func,newenv) | |
14 | return func | |
15 | end | |
16 | cors = {} | |
17 | mas = Instance.new("Model",game:GetService("Lighting")) | |
18 | LocalScript0 = Instance.new("LocalScript") | |
19 | ParticleEmitter1 = Instance.new("ParticleEmitter") | |
20 | ParticleEmitter2 = Instance.new("ParticleEmitter") | |
21 | ParticleEmitter3 = Instance.new("ParticleEmitter") | |
22 | ParticleEmitter4 = Instance.new("ParticleEmitter") | |
23 | ParticleEmitter5 = Instance.new("ParticleEmitter") | |
24 | ParticleEmitter6 = Instance.new("ParticleEmitter") | |
25 | ParticleEmitter7 = Instance.new("ParticleEmitter") | |
26 | ParticleEmitter8 = Instance.new("ParticleEmitter") | |
27 | LocalScript9 = Instance.new("LocalScript") | |
28 | NumberValue10 = Instance.new("NumberValue") | |
29 | NumberValue11 = Instance.new("NumberValue") | |
30 | BoolValue12 = Instance.new("BoolValue") | |
31 | ParticleEmitter13 = Instance.new("ParticleEmitter") | |
32 | ParticleEmitter14 = Instance.new("ParticleEmitter") | |
33 | ParticleEmitter15 = Instance.new("ParticleEmitter") | |
34 | ParticleEmitter16 = Instance.new("ParticleEmitter") | |
35 | ParticleEmitter17 = Instance.new("ParticleEmitter") | |
36 | ParticleEmitter18 = Instance.new("ParticleEmitter") | |
37 | ParticleEmitter19 = Instance.new("ParticleEmitter") | |
38 | ParticleEmitter20 = Instance.new("ParticleEmitter") | |
39 | ParticleEmitter21 = Instance.new("ParticleEmitter") | |
40 | ParticleEmitter22 = Instance.new("ParticleEmitter") | |
41 | LocalScript0.Name = "WarPheonix" | |
42 | LocalScript0.Parent = mas | |
43 | table.insert(cors,sandbox(LocalScript0,function() | |
44 | ||
45 | wait(0.2) | |
46 | Player = game:GetService("Players").LocalPlayer | |
47 | PlayerGui = Player.PlayerGui | |
48 | Cam = workspace.CurrentCamera | |
49 | Backpack = Player.Backpack | |
50 | Character = Player.Character | |
51 | Humanoid = Character.Humanoid | |
52 | Mouse = Player:GetMouse() | |
53 | RootPart = Character.HumanoidRootPart | |
54 | Torso = Character.Torso | |
55 | Head = Character.Head | |
56 | RightArm = Character["Right Arm"] | |
57 | LeftArm = Character["Left Arm"] | |
58 | RightLeg = Character["Right Leg"] | |
59 | LeftLeg = Character["Left Leg"] | |
60 | RootJoint = RootPart.RootJoint | |
61 | Neck = Torso.Neck | |
62 | RightShoulder = Torso["Right Shoulder"] | |
63 | LeftShoulder = Torso["Left Shoulder"] | |
64 | RightHip = Torso["Right Hip"] | |
65 | LeftHip = Torso["Left Hip"] | |
66 | local sick = Instance.new("Sound", Character) | |
67 | - | sick.SoundId = "rbxassetid://1604456093" |
67 | + | sick.SoundId = "rbxassetid://493290941" |
68 | sick.Looped = true | |
69 | --Variables-- | |
70 | local Brick = game.Players.LocalPlayer.Character['Head'] | |
71 | local Brick = game.Players.LocalPlayer.Character['Torso'] | |
72 | local Brick = game.Players.LocalPlayer.Character['Right Arm'] | |
73 | local Brick = game.Players.LocalPlayer.Character['Left Arm'] | |
74 | local Brick = game.Players.LocalPlayer.Character['Right Leg'] | |
75 | local Brick = game.Players.LocalPlayer.Character['Left Leg'] | |
76 | --End-- | |
77 | ||
78 | --Code-- | |
79 | local function onTouched(Part) | |
80 | local h = Part.Parent:findFirstChild("Head") | |
81 | if (h ~= nil) then | |
82 | local Parent = Part.Parent | |
83 | Parent.Head:remove() | |
84 | killsky.Parent = game.Lighting | |
85 | game.Lighting.FogEnd = 0 | |
86 | voidacitybase.Transparency = 1 | |
87 | wait(0.5) | |
88 | killsky.Parent = game.Players | |
89 | game.Lighting.FogEnd = 10000 | |
90 | voidacitybase.Transparency = 0 | |
91 | end | |
92 | end | |
93 | ||
94 | Brick.Touched:connect(onTouched) | |
95 | --kill thing. | |
96 | ||
97 | IT = Instance.new | |
98 | CF = CFrame.new | |
99 | VT = Vector3.new | |
100 | RAD = math.rad | |
101 | C3 = Color3.new | |
102 | UD2 = UDim2.new | |
103 | BRICKC = BrickColor.new | |
104 | ANGLES = CFrame.Angles | |
105 | EULER = CFrame.fromEulerAnglesXYZ | |
106 | COS = math.cos | |
107 | ACOS = math.acos | |
108 | SIN = math.sin | |
109 | ASIN = math.asin | |
110 | - | tecks2.Text = "The Zenith Phoenix" |
110 | + | |
111 | MRANDOM = math.random | |
112 | FLOOR = math.floor | |
113 | ||
114 | - | tecks2.TextColor3 = Color3.new(148,0,211) |
114 | + | |
115 | - | tecks2.TextStrokeColor3 = Color3.new(0/255, 255/255, 255/255) |
115 | + | |
116 | vest:Destroy() | |
117 | end | |
118 | local vest = Character:FindFirstChild("Shorts") | |
119 | if vest then | |
120 | vest:Destroy() | |
121 | end | |
122 | local vest = Character:FindFirstChild("Shaggy") | |
123 | if vest then | |
124 | vest:Destroy() | |
125 | end | |
126 | ||
127 | local naeeym2 = Instance.new("BillboardGui",Character) | |
128 | naeeym2.AlwaysOnTop = true | |
129 | naeeym2.Size = UDim2.new(5,35,2,35) | |
130 | - | tecks3.Text = "Phoenix" |
130 | + | |
131 | naeeym2.Adornee = Character.Head | |
132 | naeeym2.Name = "Name" | |
133 | naeeym2.MaxDistance = 200 | |
134 | local tecks2 = Instance.new("TextLabel",naeeym2) | |
135 | tecks2.BackgroundTransparency = 1 | |
136 | tecks2.TextScaled = true | |
137 | tecks2.BorderSizePixel = 0 | |
138 | tecks2.Text = "Phoenix Magic Wielder" | |
139 | tecks2.Font = "Fantasy" | |
140 | tecks2.TextSize = 48 | |
141 | tecks2.TextStrokeTransparency = 0 | |
142 | tecks2.TextColor3 = Color3.new(255,255,255) | |
143 | tecks2.TextStrokeColor3 = Color3.new(188/255, 155/255, 93/255) | |
144 | tecks2.Size = UDim2.new(1,0,0.5,0) | |
145 | tecks2.Parent = naeeym2 | |
146 | ||
147 | local naeeym3 = Instance.new("BillboardGui",Character) | |
148 | naeeym3.AlwaysOnTop = true | |
149 | naeeym3.Size = UDim2.new(5,35,2,35) | |
150 | naeeym3.StudsOffset = Vector3.new(0,3,0) | |
151 | naeeym3.Adornee = Character.Head | |
152 | naeeym3.Name = "Name" | |
153 | naeeym3.MaxDistance = 200 | |
154 | local tecks3 = Instance.new("TextLabel",naeeym2) | |
155 | tecks3.BackgroundTransparency = 1 | |
156 | tecks3.TextScaled = true | |
157 | tecks3.BorderSizePixel = 0 | |
158 | tecks3.Text = "The man who gave away his Humanity" | |
159 | tecks3.Font = "Fantasy" | |
160 | tecks3.TextSize = 32 | |
161 | tecks3.TextStrokeTransparency = 1 | |
162 | tecks3.TextColor3 = Color3.new(125/255,125/255,125/255) | |
163 | tecks3.TextStrokeColor3 = Color3.new(125/255,125/255,125/255) | |
164 | tecks3.Size = UDim2.new(1,0,0.5,0) | |
165 | tecks3.Parent = naeeym3 | |
166 | ||
167 | ||
168 | Animation_Speed = 3 | |
169 | Frame_Speed = 0.016666666666666666 | |
170 | local Speed = 16 | |
171 | local ROOTC0 = CF(0, 0, 0) * ANGLES(RAD(-90), RAD(0), RAD(180)) | |
172 | local NECKC0 = CF(0, 1, 0) * ANGLES(RAD(-90), RAD(0), RAD(180)) | |
173 | local RIGHTSHOULDERC0 = CF(-0.5, 0, 0) * ANGLES(RAD(0), RAD(90), RAD(0)) | |
174 | local LEFTSHOULDERC0 = CF(0.5, 0, 0) * ANGLES(RAD(0), RAD(-90), RAD(0)) | |
175 | local DAMAGEMULTIPLIER = 1 | |
176 | - | local PHEONIXCOLOR = C3(0,255,255) |
176 | + | |
177 | local ATTACK = false | |
178 | local EQUIPPED = false | |
179 | local HOLD = false | |
180 | local COMBO = 1 | |
181 | local Rooted = false | |
182 | local SINE = 0 | |
183 | local KEYHOLD = false | |
184 | local CHANGE = 2 / Animation_Speed | |
185 | local WALKINGANIM = false | |
186 | local VALUE1 = false | |
187 | local VALUE2 = false | |
188 | local ROBLOXIDLEANIMATION = IT("Animation") | |
189 | ROBLOXIDLEANIMATION.Name = "Roblox Idle Animation" | |
190 | ROBLOXIDLEANIMATION.AnimationId = "http://www.roblox.com/asset/?id=180435571" | |
191 | local WEAPONGUI = IT("ScreenGui", PlayerGui) | |
192 | WEAPONGUI.Name = "Weapon GUI" | |
193 | local Effects = IT("Folder", Character) | |
194 | Effects.Name = "Effects" | |
195 | local ANIMATOR = Humanoid.Animator | |
196 | local ANIMATE = Character.Animate | |
197 | local UNANCHOR = true | |
198 | local FLIGHT = false | |
199 | local BODYPOS, GYRO, FLIGHTRING | |
200 | local PARTICLES = false | |
201 | local WINGS = false | |
202 | local APPLYGYRO = true | |
203 | local DIRECTTURN = false | |
204 | local PHEONIXCOLOR = C3(0.9, 0.9, 0.9) | |
205 | ArtificialHB = Instance.new("BindableEvent", script) | |
206 | ArtificialHB.Name = "ArtificialHB" | |
207 | script:WaitForChild("ArtificialHB") | |
208 | frame = Frame_Speed | |
209 | tf = 0 | |
210 | allowframeloss = false | |
211 | tossremainder = false | |
212 | lastframe = tick() | |
213 | script.ArtificialHB:Fire() | |
214 | game:GetService("RunService").Heartbeat:connect(function(s, p) | |
215 | tf = tf + s | |
216 | if tf >= frame then | |
217 | if allowframeloss then | |
218 | script.ArtificialHB:Fire() | |
219 | lastframe = tick() | |
220 | else | |
221 | for i = 1, math.floor(tf / frame) do | |
222 | script.ArtificialHB:Fire() | |
223 | end | |
224 | lastframe = tick() | |
225 | end | |
226 | if tossremainder then | |
227 | tf = 0 | |
228 | else | |
229 | tf = tf - frame * math.floor(tf / frame) | |
230 | end | |
231 | end | |
232 | end) | |
233 | function Raycast(POSITION, DIRECTION, RANGE, IGNOREDECENDANTS) | |
234 | return workspace:FindPartOnRay(Ray.new(POSITION, DIRECTION.unit * RANGE), IGNOREDECENDANTS) | |
235 | end | |
236 | function PositiveAngle(NUMBER) | |
237 | if NUMBER >= 0 then | |
238 | NUMBER = 0 | |
239 | end | |
240 | return NUMBER | |
241 | end | |
242 | function NegativeAngle(NUMBER) | |
243 | if NUMBER <= 0 then | |
244 | NUMBER = 0 | |
245 | end | |
246 | return NUMBER | |
247 | end | |
248 | function Swait(NUMBER) | |
249 | if NUMBER == 0 or NUMBER == nil then | |
250 | ArtificialHB.Event:wait() | |
251 | else | |
252 | for i = 1, NUMBER do | |
253 | ArtificialHB.Event:wait() | |
254 | end | |
255 | end | |
256 | end | |
257 | function CreateMesh(MESH, PARENT, MESHTYPE, MESHID, TEXTUREID, SCALE, OFFSET) | |
258 | local NEWMESH = IT(MESH) | |
259 | if MESH == "SpecialMesh" then | |
260 | NEWMESH.MeshType = MESHTYPE | |
261 | if MESHID ~= "nil" and MESHID ~= "" then | |
262 | NEWMESH.MeshId = "http://www.roblox.com/asset/?id=" .. MESHID | |
263 | end | |
264 | if TEXTUREID ~= "nil" and TEXTUREID ~= "" then | |
265 | NEWMESH.TextureId = "http://www.roblox.com/asset/?id=" .. TEXTUREID | |
266 | end | |
267 | end | |
268 | NEWMESH.Offset = OFFSET or VT(0, 0, 0) | |
269 | NEWMESH.Scale = SCALE | |
270 | NEWMESH.Parent = PARENT | |
271 | return NEWMESH | |
272 | end | |
273 | function CreatePart(FORMFACTOR, PARENT, MATERIAL, REFLECTANCE, TRANSPARENCY, BRICKCOLOR, NAME, SIZE, ANCHOR) | |
274 | local NEWPART = IT("Part") | |
275 | NEWPART.formFactor = FORMFACTOR | |
276 | NEWPART.Reflectance = REFLECTANCE | |
277 | NEWPART.Transparency = TRANSPARENCY | |
278 | NEWPART.CanCollide = false | |
279 | NEWPART.Locked = true | |
280 | NEWPART.Anchored = true | |
281 | if ANCHOR == false then | |
282 | NEWPART.Anchored = false | |
283 | end | |
284 | NEWPART.BrickColor = BRICKC(tostring(BRICKCOLOR)) | |
285 | NEWPART.Name = NAME | |
286 | NEWPART.Size = SIZE | |
287 | NEWPART.Position = Torso.Position | |
288 | NEWPART.Material = MATERIAL | |
289 | NEWPART:BreakJoints() | |
290 | NEWPART.Parent = PARENT | |
291 | return NEWPART | |
292 | end | |
293 | local weldBetween = function(a, b) | |
294 | local weldd = Instance.new("ManualWeld") | |
295 | weldd.Part0 = a | |
296 | weldd.Part1 = b | |
297 | weldd.C0 = CFrame.new() | |
298 | weldd.C1 = b.CFrame:inverse() * a.CFrame | |
299 | weldd.Parent = a | |
300 | return weldd | |
301 | end | |
302 | function QuaternionFromCFrame(cf) | |
303 | local mx, my, mz, m00, m01, m02, m10, m11, m12, m20, m21, m22 = cf:components() | |
304 | local trace = m00 + m11 + m22 | |
305 | if trace > 0 then | |
306 | local s = math.sqrt(1 + trace) | |
307 | local recip = 0.5 / s | |
308 | return (m21 - m12) * recip, (m02 - m20) * recip, (m10 - m01) * recip, s * 0.5 | |
309 | else | |
310 | local i = 0 | |
311 | if m00 < m11 then | |
312 | i = 1 | |
313 | end | |
314 | if m22 > (i == 0 and m00 or m11) then | |
315 | i = 2 | |
316 | end | |
317 | if i == 0 then | |
318 | local s = math.sqrt(m00 - m11 - m22 + 1) | |
319 | local recip = 0.5 / s | |
320 | return 0.5 * s, (m10 + m01) * recip, (m20 + m02) * recip, (m21 - m12) * recip | |
321 | elseif i == 1 then | |
322 | local s = math.sqrt(m11 - m22 - m00 + 1) | |
323 | local recip = 0.5 / s | |
324 | return (m01 + m10) * recip, 0.5 * s, (m21 + m12) * recip, (m02 - m20) * recip | |
325 | elseif i == 2 then | |
326 | local s = math.sqrt(m22 - m00 - m11 + 1) | |
327 | local recip = 0.5 / s | |
328 | return (m02 + m20) * recip, (m12 + m21) * recip, 0.5 * s, (m10 - m01) * recip | |
329 | end | |
330 | end | |
331 | end | |
332 | function QuaternionToCFrame(px, py, pz, x, y, z, w) | |
333 | local xs, ys, zs = x + x, y + y, z + z | |
334 | local wx, wy, wz = w * xs, w * ys, w * zs | |
335 | local xx = x * xs | |
336 | local xy = x * ys | |
337 | local xz = x * zs | |
338 | local yy = y * ys | |
339 | local yz = y * zs | |
340 | local zz = z * zs | |
341 | 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)) | |
342 | end | |
343 | function QuaternionSlerp(a, b, t) | |
344 | local cosTheta = a[1] * b[1] + a[2] * b[2] + a[3] * b[3] + a[4] * b[4] | |
345 | local startInterp, finishInterp | |
346 | if cosTheta >= 1.0E-4 then | |
347 | if 1 - cosTheta > 1.0E-4 then | |
348 | local theta = ACOS(cosTheta) | |
349 | local invSinTheta = 1 / SIN(theta) | |
350 | startInterp = SIN((1 - t) * theta) * invSinTheta | |
351 | finishInterp = SIN(t * theta) * invSinTheta | |
352 | else | |
353 | startInterp = 1 - t | |
354 | finishInterp = t | |
355 | end | |
356 | elseif 1 + cosTheta > 1.0E-4 then | |
357 | local theta = ACOS(-cosTheta) | |
358 | local invSinTheta = 1 / SIN(theta) | |
359 | startInterp = SIN((t - 1) * theta) * invSinTheta | |
360 | finishInterp = SIN(t * theta) * invSinTheta | |
361 | else | |
362 | startInterp = t - 1 | |
363 | finishInterp = t | |
364 | end | |
365 | 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 | |
366 | end | |
367 | function Clerp(a, b, t) | |
368 | local qa = { | |
369 | QuaternionFromCFrame(a) | |
370 | } | |
371 | local qb = { | |
372 | QuaternionFromCFrame(b) | |
373 | } | |
374 | local ax, ay, az = a.x, a.y, a.z | |
375 | local bx, by, bz = b.x, b.y, b.z | |
376 | local _t = 1 - t | |
377 | return QuaternionToCFrame(_t * ax + t * bx, _t * ay + t * by, _t * az + t * bz, QuaternionSlerp(qa, qb, t)) | |
378 | end | |
379 | function CreateFrame(PARENT, TRANSPARENCY, BORDERSIZEPIXEL, POSITION, SIZE, COLOR, BORDERCOLOR, NAME) | |
380 | local frame = IT("Frame") | |
381 | frame.BackgroundTransparency = TRANSPARENCY | |
382 | frame.BorderSizePixel = BORDERSIZEPIXEL | |
383 | frame.Position = POSITION | |
384 | frame.Size = SIZE | |
385 | frame.BackgroundColor3 = COLOR | |
386 | frame.BorderColor3 = BORDERCOLOR | |
387 | frame.Name = NAME | |
388 | frame.Parent = PARENT | |
389 | return frame | |
390 | end | |
391 | function CreateLabel(PARENT, TEXT, TEXTCOLOR, TEXTFONTSIZE, TEXTFONT, TRANSPARENCY, BORDERSIZEPIXEL, STROKETRANSPARENCY, NAME) | |
392 | local label = IT("TextLabel") | |
393 | label.BackgroundTransparency = 1 | |
394 | label.Size = UD2(1, 0, 1, 0) | |
395 | label.Position = UD2(0, 0, 0, 0) | |
396 | label.TextColor3 = TEXTCOLOR | |
397 | label.TextStrokeTransparency = STROKETRANSPARENCY | |
398 | label.TextTransparency = TRANSPARENCY | |
399 | label.FontSize = TEXTFONTSIZE | |
400 | label.Font = TEXTFONT | |
401 | label.BorderSizePixel = BORDERSIZEPIXEL | |
402 | label.TextScaled = false | |
403 | label.Text = TEXT | |
404 | label.Name = NAME | |
405 | label.Parent = PARENT | |
406 | return label | |
407 | end | |
408 | function NoOutlines(PART) | |
409 | PART.TopSurface, PART.BottomSurface, PART.LeftSurface, PART.RightSurface, PART.FrontSurface, PART.BackSurface = 10, 10, 10, 10, 10, 10 | |
410 | end | |
411 | function CreateWeldOrSnapOrMotor(TYPE, PARENT, PART0, PART1, C0, C1) | |
412 | local NEWWELD = IT(TYPE) | |
413 | NEWWELD.Part0 = PART0 | |
414 | NEWWELD.Part1 = PART1 | |
415 | NEWWELD.C0 = C0 | |
416 | NEWWELD.C1 = C1 | |
417 | NEWWELD.Parent = PARENT | |
418 | return NEWWELD | |
419 | end | |
420 | local S = IT("Sound") | |
421 | function CreateSound(ID, PARENT, VOLUME, PITCH, DOESLOOP) | |
422 | local NEWSOUND | |
423 | coroutine.resume(coroutine.create(function() | |
424 | NEWSOUND = S:Clone() | |
425 | NEWSOUND.Parent = PARENT | |
426 | NEWSOUND.Volume = VOLUME | |
427 | NEWSOUND.Pitch = PITCH | |
428 | NEWSOUND.SoundId = "http://www.roblox.com/asset/?id=" .. ID | |
429 | NEWSOUND:play() | |
430 | if DOESLOOP == true then | |
431 | NEWSOUND.Looped = true | |
432 | else | |
433 | repeat | |
434 | wait(1) | |
435 | until NEWSOUND.Playing == false | |
436 | NEWSOUND:remove() | |
437 | end | |
438 | end)) | |
439 | return NEWSOUND | |
440 | end | |
441 | function CFrameFromTopBack(at, top, back) | |
442 | local right = top:Cross(back) | |
443 | 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) | |
444 | end | |
445 | function WACKYEFFECT(Table) | |
446 | local TYPE = Table.EffectType or "Sphere" | |
447 | local SIZE = Table.Size or VT(1, 1, 1) | |
448 | local ENDSIZE = Table.Size2 or VT(0, 0, 0) | |
449 | local TRANSPARENCY = Table.Transparency or 0 | |
450 | local ENDTRANSPARENCY = Table.Transparency2 or 1 | |
451 | local CFRAME = Table.CFrame or Torso.CFrame | |
452 | local MOVEDIRECTION = Table.MoveToPos or nil | |
453 | local ROTATION1 = Table.RotationX or 0 | |
454 | local ROTATION2 = Table.RotationY or 0 | |
455 | local ROTATION3 = Table.RotationZ or 0 | |
456 | local MATERIAL = Table.Material or "Neon" | |
457 | local COLOR = Table.Color or C3(1, 1, 1) | |
458 | local TIME = Table.Time or 45 | |
459 | local SOUNDID = Table.SoundID or nil | |
460 | local SOUNDPITCH = Table.SoundPitch or nil | |
461 | local SOUNDVOLUME = Table.SoundVolume or nil | |
462 | coroutine.resume(coroutine.create(function() | |
463 | local PLAYSSOUND = false | |
464 | local SOUND | |
465 | local EFFECT = CreatePart(3, Effects, MATERIAL, 0, TRANSPARENCY, BRICKC("Pearl"), "Effect", VT(1, 1, 1), true) | |
466 | if SOUNDID ~= nil and SOUNDPITCH ~= nil and SOUNDVOLUME ~= nil then | |
467 | PLAYSSOUND = true | |
468 | SOUND = CreateSound(SOUNDID, EFFECT, SOUNDVOLUME, SOUNDPITCH, false) | |
469 | end | |
470 | EFFECT.Color = COLOR | |
471 | local MSH | |
472 | if TYPE == "Sphere" then | |
473 | MSH = CreateMesh("SpecialMesh", EFFECT, "Sphere", "", "", SIZE, VT(0, 0, 0)) | |
474 | elseif TYPE == "Block" then | |
475 | MSH = IT("BlockMesh", EFFECT) | |
476 | MSH.Scale = VT(SIZE.X, SIZE.X, SIZE.X) | |
477 | elseif TYPE == "Wave" then | |
478 | MSH = CreateMesh("SpecialMesh", EFFECT, "FileMesh", "20329976", "", SIZE, VT(0, 0, -SIZE.X / 8)) | |
479 | elseif TYPE == "Ring" then | |
480 | MSH = CreateMesh("SpecialMesh", EFFECT, "FileMesh", "559831844", "", VT(SIZE.X, SIZE.X, 0.1), VT(0, 0, 0)) | |
481 | elseif TYPE == "Slash" then | |
482 | MSH = CreateMesh("SpecialMesh", EFFECT, "FileMesh", "662586858", "", VT(SIZE.X / 10, 0, SIZE.X / 10), VT(0, 0, 0)) | |
483 | elseif TYPE == "Round Slash" then | |
484 | MSH = CreateMesh("SpecialMesh", EFFECT, "FileMesh", "662585058", "", VT(SIZE.X / 10, 0, SIZE.X / 10), VT(0, 0, 0)) | |
485 | elseif TYPE == "Swirl" then | |
486 | MSH = CreateMesh("SpecialMesh", EFFECT, "FileMesh", "1051557", "", SIZE, VT(0, 0, 0)) | |
487 | elseif TYPE == "Skull" then | |
488 | MSH = CreateMesh("SpecialMesh", EFFECT, "FileMesh", "4770583", "", SIZE, VT(0, 0, 0)) | |
489 | elseif TYPE == "Crystal" then | |
490 | MSH = CreateMesh("SpecialMesh", EFFECT, "FileMesh", "9756362", "", SIZE, VT(0, 0, 0)) | |
491 | end | |
492 | if MSH ~= nil then | |
493 | local MOVESPEED | |
494 | if MOVEDIRECTION ~= nil then | |
495 | MOVESPEED = (CFRAME.p - MOVEDIRECTION).Magnitude / TIME | |
496 | end | |
497 | local GROWTH = SIZE - ENDSIZE | |
498 | local TRANS = TRANSPARENCY - ENDTRANSPARENCY | |
499 | if TYPE == "Block" then | |
500 | EFFECT.CFrame = CFRAME * ANGLES(RAD(MRANDOM(0, 360)), RAD(MRANDOM(0, 360)), RAD(MRANDOM(0, 360))) | |
501 | else | |
502 | EFFECT.CFrame = CFRAME | |
503 | end | |
504 | for LOOP = 1, TIME + 1 do | |
505 | Swait() | |
506 | MSH.Scale = MSH.Scale - GROWTH / TIME | |
507 | if TYPE == "Wave" then | |
508 | MSH.Offset = VT(0, 0, -MSH.Scale.X / 8) | |
509 | end | |
510 | EFFECT.Transparency = EFFECT.Transparency - TRANS / TIME | |
511 | if TYPE == "Block" then | |
512 | EFFECT.CFrame = CFRAME * ANGLES(RAD(MRANDOM(0, 360)), RAD(MRANDOM(0, 360)), RAD(MRANDOM(0, 360))) | |
513 | else | |
514 | EFFECT.CFrame = EFFECT.CFrame * ANGLES(RAD(ROTATION1), RAD(ROTATION2), RAD(ROTATION3)) | |
515 | end | |
516 | if MOVEDIRECTION ~= nil then | |
517 | local ORI = EFFECT.Orientation | |
518 | EFFECT.CFrame = CF(EFFECT.Position, MOVEDIRECTION) * CF(0, 0, -MOVESPEED) | |
519 | EFFECT.Orientation = ORI | |
520 | end | |
521 | end | |
522 | if PLAYSSOUND == false then | |
523 | EFFECT:remove() | |
524 | else | |
525 | repeat | |
526 | Swait() | |
527 | until SOUND.Playing == false | |
528 | EFFECT:remove() | |
529 | end | |
530 | elseif PLAYSSOUND == false then | |
531 | EFFECT:remove() | |
532 | else | |
533 | repeat | |
534 | Swait() | |
535 | until SOUND.Playing == false | |
536 | EFFECT:remove() | |
537 | end | |
538 | end)) | |
539 | end | |
540 | function MakeForm(PART, TYPE) | |
541 | if TYPE == "Cyl" then | |
542 | local MSH = IT("CylinderMesh", PART) | |
543 | elseif TYPE == "Ball" then | |
544 | local MSH = IT("SpecialMesh", PART) | |
545 | MSH.MeshType = "Sphere" | |
546 | elseif TYPE == "Wedge" then | |
547 | local MSH = IT("SpecialMesh", PART) | |
548 | MSH.MeshType = "Wedge" | |
549 | end | |
550 | end | |
551 | Debris = game:GetService("Debris") | |
552 | function CastProperRay(StartPos, EndPos, Distance, Ignore) | |
553 | local DIRECTION = CF(StartPos, EndPos).lookVector | |
554 | return Raycast(StartPos, DIRECTION, Distance, Ignore) | |
555 | end | |
556 | - | T.Color = ColorSequence.new(BRICKC("Bright orange").Color) |
556 | + | |
557 | RootPart.CFrame = CFrame.new(RootPart.CFrame.p, VT(position.X, RootPart.Position.Y, position.Z)) * CFrame.new(0, 0, 0) | |
558 | - | LIGHT.Color = BRICKC("Bright orange").Color |
558 | + | |
559 | local DECAL = IT("Decal", nil) | |
560 | function MagicRing(PART, CFRAME, VARIANT) | |
561 | if VARIANT == "Pheonix" or VARIANT == "Sun" or VARIANT == "Fire" then | |
562 | - | T.Color = ColorSequence.new(BRICKC("Bright orange").Color) |
562 | + | |
563 | local WELD = CreateWeldOrSnapOrMotor("Weld", PART, PART, RING, CFRAME, CF(0, 0, 0)) | |
564 | local MESH = IT("BlockMesh", RING) | |
565 | local BOTTOMTEXTURE = DECAL:Clone() | |
566 | BOTTOMTEXTURE.Parent = RING | |
567 | BOTTOMTEXTURE.Face = "Bottom" | |
568 | BOTTOMTEXTURE.Name = "BottomTexture" | |
569 | local TOPTEXTURE = DECAL:Clone() | |
570 | TOPTEXTURE.Parent = RING | |
571 | TOPTEXTURE.Face = "Top" | |
572 | TOPTEXTURE.Name = "TopTexture" | |
573 | local T = script.RingEmit:Clone() | |
574 | T.Parent = RING | |
575 | local LIGHT = IT("PointLight", RING) | |
576 | if VARIANT == "Pheonix" then | |
577 | BOTTOMTEXTURE.Texture = "http://www.roblox.com/asset/?id=1617574752" | |
578 | TOPTEXTURE.Texture = "http://www.roblox.com/asset/?id=1617575377" | |
579 | T.Color = ColorSequence.new(PHEONIXCOLOR) | |
580 | CreateSound(462809305, RING, 5, 1, false) | |
581 | elseif VARIANT == "Sun" then | |
582 | BOTTOMTEXTURE.Texture = "http://www.roblox.com/asset/?id=1217786509" | |
583 | TOPTEXTURE.Texture = "http://www.roblox.com/asset/?id=1217788749" | |
584 | T.Color = ColorSequence.new(BRICKC("Teal").Color) | |
585 | CreateSound(462809305, RING, 5, 1, false) | |
586 | LIGHT.Color = BRICKC("Black").Color | |
587 | elseif VARIANT == "Fire" then | |
588 | BOTTOMTEXTURE.Texture = "http://www.roblox.com/asset/?id=1222222911" | |
589 | TOPTEXTURE.Texture = "http://www.roblox.com/asset/?id=1222223218" | |
590 | T.Color = ColorSequence.new(BRICKC("Teal").Color) | |
591 | CreateSound(343211019, RING, 5, 1, false) | |
592 | LIGHT.Color = C3(1, 0.3333333333333333, 0) | |
593 | end | |
594 | T.LightEmission = 1 | |
595 | T:Emit(5) | |
596 | Debris:AddItem(T, 5) | |
597 | return RING, WELD, MESH | |
598 | end | |
599 | end | |
600 | function AddChildrenToTable(FROM, PARENT, DIST, TABLE) | |
601 | for _, c in pairs(PARENT:GetDescendants()) do | |
602 | if c.ClassName == "Model" and c ~= Character and c:FindFirstChildOfClass("Humanoid") and (c:FindFirstChild("Torso") or c:FindFirstChild("UpperTorso")) then | |
603 | local HUMANOID = c:FindFirstChildOfClass("Humanoid") | |
604 | local TORSO = c:FindFirstChild("Torso") or c:FindFirstChild("UpperTorso") | |
605 | if DIST > (TORSO.Position - FROM).Magnitude then | |
606 | table.insert(TABLE, c) | |
607 | end | |
608 | end | |
609 | end | |
610 | end | |
611 | local BACKATTACHMENT1 = IT("Attachment", Torso) | |
612 | BACKATTACHMENT1.Position = VT(0.5, 0.5, 0.75) | |
613 | local BACKATTACHMENT2 = IT("Attachment", Torso) | |
614 | BACKATTACHMENT2.Position = VT(-0.5, 0.5, 0.75) | |
615 | local WINGS1 = script.Wing1 | |
616 | WINGS1.EmissionDirection="Right" | |
617 | WINGS1.Size=NumberSequence.new(2) | |
618 | local WINGS1B = script.Wing1B | |
619 | WINGS1B.EmissionDirection="Right" | |
620 | WINGS1B.Size=NumberSequence.new(2) | |
621 | local WINGS2 = script.Wing2 | |
622 | WINGS2.EmissionDirection="Left" | |
623 | WINGS2.Size=NumberSequence.new(2) | |
624 | local WINGS2B = script.Wing2B | |
625 | WINGS2B.EmissionDirection="Left" | |
626 | WINGS2B.Size=NumberSequence.new(2) | |
627 | WINGS1.Parent = BACKATTACHMENT1 | |
628 | WINGS1.LockedToPart=true | |
629 | WINGS1B.Parent = BACKATTACHMENT1 | |
630 | WINGS1B.LockedToPart=true | |
631 | WINGS2.Parent = BACKATTACHMENT2 | |
632 | WINGS2.LockedToPart=true | |
633 | WINGS2B.Parent = BACKATTACHMENT2 | |
634 | WINGS2B.LockedToPart=true | |
635 | local FACEATTACHMENT = IT("Attachment", Head) | |
636 | FACEATTACHMENT.Position = VT(0.167, 0.272, -0.5) | |
637 | FACEATTACHMENT.Orientation = VT(0, 35, 0) | |
638 | local EYE = script.Eye1 | |
639 | EYE.LockedToPart=true | |
640 | EYE.Parent = FACEATTACHMENT | |
641 | local EYE2 = script.Eye2 | |
642 | EYE2.Parent = FACEATTACHMENT | |
643 | EYE2.LockedToPart=true | |
644 | local TRAIL1 = script.PheonixTrail:Clone() | |
645 | TRAIL1.LockedToPart=true | |
646 | TRAIL1.Size=NumberSequence.new(.01) | |
647 | TRAIL1.Parent = BACKATTACHMENT1 | |
648 | local TRAIL2 = script.PheonixTrail:Clone() | |
649 | TRAIL2.LockedToPart=true | |
650 | TRAIL2.Parent = BACKATTACHMENT2 | |
651 | TRAIL2.Size=NumberSequence.new(.01) | |
652 | local LIGHT = IT("PointLight", FACEATTACHMENT) | |
653 | LIGHT.Enabled = false | |
654 | LIGHT.Brightness = 5 | |
655 | LIGHT.Range = 6 | |
656 | Humanoid.Died:connect(function() | |
657 | ATTACK = true | |
658 | end) | |
659 | function ApplyDamage(Humanoid, Damage, TorsoPart, Time, AfterBurn, Variant) | |
660 | local defence = Instance.new("BoolValue", Humanoid.Parent) | |
661 | defence.Name = "HitBy" .. Player.Name | |
662 | game:GetService("Debris"):AddItem(defence, 0.001) | |
663 | Damage = Damage * DAMAGEMULTIPLIER | |
664 | if Humanoid.Health ~= 0 then | |
665 | local CritChance = MRANDOM(1, 100) | |
666 | if Damage > Humanoid.Health then | |
667 | Damage = math.ceil(Humanoid.Health) | |
668 | if Damage == 0 then | |
669 | Damage = 0.1 | |
670 | end | |
671 | end | |
672 | Humanoid.Health = Humanoid.Health - maindamage | |
673 | if AfterBurn == true then | |
674 | Afterburn(Humanoid, Time, Damage / 5, Variant) | |
675 | end | |
676 | end | |
677 | end | |
678 | function Afterburn(Human, Time, Damage, Variant) | |
679 | coroutine.resume(coroutine.create(function() | |
680 | if Human and (Human.Parent:FindFirstChild("Torso") or Human.Parent:FindFirstChild("UpperTorso")) then | |
681 | local Torso = Human.Parent:FindFirstChild("Torso") or Human.Parent:FindFirstChild("UpperTorso") | |
682 | local FIRE | |
683 | if Variant == "Pheonix" then | |
684 | FIRE = script.PheonixBurn:Clone() | |
685 | FIRE.Parent = Torso | |
686 | FIRE.Enabled = true | |
687 | elseif Variant == "Sun" then | |
688 | FIRE = script.SunBurn:Clone() | |
689 | FIRE.Parent = Torso | |
690 | FIRE.Enabled = true | |
691 | elseif Variant == "Fire" then | |
692 | FIRE = script.Burn:Clone() | |
693 | FIRE.Parent = Torso | |
694 | FIRE.Enabled = true | |
695 | end | |
696 | for i = 1, Time do | |
697 | wait(0.5) | |
698 | Human.Health = Human.Health - Damage | |
699 | end | |
700 | wait(0.25) | |
701 | FIRE.Enabled = false | |
702 | Debris:AddItem(FIRE, 1.5) | |
703 | end | |
704 | end)) | |
705 | end | |
706 | function ApplyAoE(POSITION, RANGE, MINDMG, MAXDMG, FLING, AFTERBURN, TIME, VARIANT, DOESCAMSHAKE, CAMVALUES) | |
707 | local CHILDREN = workspace:GetChildren() | |
708 | for index, CHILD in pairs(CHILDREN) do | |
709 | if CHILD.ClassName == "Model" and CHILD ~= Character then | |
710 | local HUM = CHILD:FindFirstChildOfClass("Humanoid") | |
711 | if HUM then | |
712 | local TORSO = CHILD:FindFirstChild("Torso") or CHILD:FindFirstChild("UpperTorso") | |
713 | if TORSO and RANGE >= (TORSO.Position - POSITION).Magnitude then | |
714 | local DMG = MRANDOM(MINDMG, MAXDMG) | |
715 | ApplyDamage(HUM, DMG, TORSO, TIME, AFTERBURN, VARIANT) | |
716 | if HUM.MaxHealth == math.huge then | |
717 | CHILD:BreakJoints() | |
718 | end | |
719 | if DOESCAMSHAKE == true then | |
720 | local CAMSHAKER = script.CamShake:Clone() | |
721 | CAMSHAKER.Shake.Value = CAMVALUES.SHAKE | |
722 | CAMSHAKER.Timer.Value = CAMVALUES.TIMER | |
723 | CAMSHAKER.DoesFade.Value = CAMVALUES.DOESFADE | |
724 | CAMSHAKER.Parent = CHILD | |
725 | CAMSHAKER.Disabled = false | |
726 | end | |
727 | if FLING > 0 then | |
728 | for _, c in pairs(CHILD:GetChildren()) do | |
729 | if c:IsA("BasePart") then | |
730 | local bv = Instance.new("BodyVelocity") | |
731 | bv.maxForce = Vector3.new(1000000000, 1000000000, 1000000000) | |
732 | bv.velocity = CF(POSITION, TORSO.Position).lookVector * FLING | |
733 | bv.Parent = c | |
734 | Debris:AddItem(bv, 0.05) | |
735 | end | |
736 | end | |
737 | end | |
738 | end | |
739 | end | |
740 | end | |
741 | - | local FIREBALL = CreatePart(3, Effects, "Neon", 0, 1, "Teal", "Fire", VT(3, 3, 3)) |
741 | + | |
742 | end | |
743 | function ShootingStar() | |
744 | ATTACK = true | |
745 | Rooted = false | |
746 | local GYRO = IT("BodyGyro", RootPart) | |
747 | GYRO.D = 20 | |
748 | GYRO.P = 4000 | |
749 | GYRO.MaxTorque = VT(0, 40000, 0) | |
750 | local RING, WELD, MESH = MagicRing(RightArm, CF(0, -1.2, 0), "Sun") | |
751 | coroutine.resume(coroutine.create(function() | |
752 | for i = 1, 35 do | |
753 | Swait() | |
754 | MESH.Scale = MESH.Scale + VT(2.6, 0, 2.6) | |
755 | end | |
756 | end)) | |
757 | for i = 0, 1.8, 0.1 / Animation_Speed do | |
758 | GYRO.CFrame = CF(RootPart.Position, Mouse.Hit.p) | |
759 | Swait() | |
760 | RootJoint.C0 = Clerp(RootJoint.C0, ROOTC0 * CF(0, 0, 0) * ANGLES(RAD(0), RAD(0), RAD(74)), 2 / Animation_Speed) | |
761 | Neck.C0 = Clerp(Neck.C0, NECKC0 * CF(0, 0, 0) * ANGLES(RAD(20), RAD(0), RAD(-74)), 1 / Animation_Speed) | |
762 | RightShoulder.C0 = Clerp(RightShoulder.C0, CF(1.25, 0.5, -0.3) * ANGLES(RAD(90), RAD(0), RAD(74)) * RIGHTSHOULDERC0, 1 / Animation_Speed) | |
763 | LeftShoulder.C0 = Clerp(LeftShoulder.C0, CF(-1.45, 0.1, -0.3) * ANGLES(RAD(0), RAD(45), RAD(0)) * ANGLES(RAD(165), RAD(0), RAD(0)) * LEFTSHOULDERC0, 1 / Animation_Speed) | |
764 | RightHip.C0 = Clerp(RightHip.C0, CF(1, -1, -0.01) * ANGLES(RAD(0), RAD(65), RAD(0)) * ANGLES(RAD(-8), RAD(0), RAD(0)), 0.15 / Animation_Speed) | |
765 | LeftHip.C0 = Clerp(LeftHip.C0, CF(-1, -1, -0.01) * ANGLES(RAD(0), RAD(-90), RAD(0)) * ANGLES(RAD(-8), RAD(0), RAD(0)), 0.15 / Animation_Speed) | |
766 | end | |
767 | coroutine.resume(coroutine.create(function() | |
768 | local POSITION = Mouse.Hit.p | |
769 | local FIREBALL = CreatePart(3, Effects, "Neon", 0, 1, "New Yeller", "Fire", VT(3, 3, 3)) | |
770 | FIREBALL.CFrame = RightArm.CFrame * CF(0, -3, 0) | |
771 | local FIRE = script.SunFireball:Clone() | |
772 | FIRE.Parent = FIREBALL | |
773 | FIRE.Enabled = true | |
774 | local EXPLOSION = script.SunExplosion:Clone() | |
775 | EXPLOSION.Parent = FIREBALL | |
776 | CreateSound(463598785, FIREBALL, 5, 1, false) | |
777 | local DISTANCE = (RootPart.Position - POSITION).Magnitude | |
778 | local FRAME = CF(VT(POSITION.X + MRANDOM(-45, 45) / 3, RootPart.Position.Y, POSITION.Z + MRANDOM(-45, 45) / 3), RootPart.Position + VT(0, 145, 0)) * CF(0, 0, -DISTANCE / 2) | |
779 | for i = 1, 75 do | |
780 | Swait() | |
781 | - | Color = C3(148,0,211), |
781 | + | |
782 | end | |
783 | FIREBALL.CFrame = CF(FIREBALL.Position, POSITION) | |
784 | for i = 1, 300 do | |
785 | Swait() | |
786 | FIREBALL.CFrame = FIREBALL.CFrame * CF(0, 0, -4) | |
787 | local HITFLOOR, HITPOS = Raycast(FIREBALL.Position, FIREBALL.CFrame.lookVector, 4.2, Character) | |
788 | if HITFLOOR ~= nil then | |
789 | FIRE.Enabled = false | |
790 | EXPLOSION:Emit(500) | |
791 | CreateSound(416328540, FIREBALL, 5, 1, false) | |
792 | ApplyAoE(FIREBALL.Position, 75, 25, 35, 65, true, MRANDOM(5, 15), "Sun", true, { | |
793 | SHAKE = 1, | |
794 | TIMER = 6, | |
795 | DOESFADE = true | |
796 | }) | |
797 | WACKYEFFECT({ | |
798 | EffectType = "Sphere", | |
799 | Size = VT(0, 0, 0), | |
800 | Size2 = VT(150, 150, 150), | |
801 | Transparency = 0, | |
802 | Transparency2 = 1, | |
803 | CFrame = CF(FIREBALL.Position), | |
804 | MoveToPos = nil, | |
805 | RotationX = 0, | |
806 | RotationY = 0, | |
807 | RotationZ = 0, | |
808 | Material = "Neon", | |
809 | Color = C3(1, 0.6666666666666666, 0), | |
810 | SoundID = nil, | |
811 | SoundPitch = nil, | |
812 | SoundVolume = nil | |
813 | }) | |
814 | wait(5) | |
815 | break | |
816 | end | |
817 | end | |
818 | FIREBALL:remove() | |
819 | end)) | |
820 | GYRO:remove() | |
821 | RING.Anchored = true | |
822 | WELD:remove() | |
823 | coroutine.resume(coroutine.create(function() | |
824 | for i = 1, 35 do | |
825 | Swait() | |
826 | MESH.Scale = MESH.Scale - VT(2.6, 0, 2.6) | |
827 | end | |
828 | RING:remove() | |
829 | end)) | |
830 | ATTACK = false | |
831 | Rooted = false | |
832 | end | |
833 | function PheonixRage() | |
834 | ATTACK = true | |
835 | Rooted = true | |
836 | local A = false | |
837 | local B = false | |
838 | local RING, WELD, MESH = MagicRing(RootPart, CF(0, -3, 0), "Pheonix") | |
839 | WELD:remove() | |
840 | RING.Anchored = true | |
841 | coroutine.resume(coroutine.create(function() | |
842 | for i = 1, 45 do | |
843 | Swait() | |
844 | MESH.Scale = MESH.Scale + VT(15, 0, 15) | |
845 | end | |
846 | end)) | |
847 | coroutine.resume(coroutine.create(function() | |
848 | repeat | |
849 | Swait() | |
850 | RootJoint.C0 = Clerp(RootJoint.C0, ROOTC0 * CF(0, 0, 0 + 0.05 * COS(SINE / 12)) * ANGLES(RAD(0), RAD(0), RAD(0)), 1 / Animation_Speed) | |
851 | Neck.C0 = Clerp(Neck.C0, NECKC0 * CF(0, 0, 0) * ANGLES(RAD(15 - 2.5 * SIN(SINE / 12)), RAD(0), RAD(0)), 1 / Animation_Speed) | |
852 | RightShoulder.C0 = Clerp(RightShoulder.C0, CF(1.15, 0.5, -0.5) * ANGLES(RAD(15), RAD(0), RAD(-90)) * RIGHTSHOULDERC0, 1 / Animation_Speed) | |
853 | LeftShoulder.C0 = Clerp(LeftShoulder.C0, CF(-1.15, 0.25, -0.5) * ANGLES(RAD(-15), RAD(0), RAD(90)) * LEFTSHOULDERC0, 1 / Animation_Speed) | |
854 | RightHip.C0 = Clerp(RightHip.C0, CF(1, -1 - 0.05 * COS(SINE / 12), -0.01) * ANGLES(RAD(0), RAD(70), RAD(0)) * ANGLES(RAD(-8), RAD(0), RAD(0)), 1 / Animation_Speed) | |
855 | LeftHip.C0 = Clerp(LeftHip.C0, CF(-1, -1 - 0.05 * COS(SINE / 12), -0.01) * ANGLES(RAD(0), RAD(-70), RAD(0)) * ANGLES(RAD(-8), RAD(0), RAD(0)), 1 / Animation_Speed) | |
856 | until A == true | |
857 | repeat | |
858 | Swait() | |
859 | RootJoint.C0 = Clerp(RootJoint.C0, ROOTC0 * CF(0, 0, 0 + 0.05 * COS(SINE / 12)) * ANGLES(RAD(-25), RAD(0), RAD(0)), 1 / Animation_Speed) | |
860 | Neck.C0 = Clerp(Neck.C0, NECKC0 * CF(0, 0, 0) * ANGLES(RAD(0 - 2.5 * SIN(SINE / 12)), RAD(0), RAD(0)), 1 / Animation_Speed) | |
861 | RightShoulder.C0 = Clerp(RightShoulder.C0, CF(1.5, 0.5, 0) * ANGLES(RAD(0), RAD(0), RAD(45)) * RIGHTSHOULDERC0, 1 / Animation_Speed) | |
862 | LeftShoulder.C0 = Clerp(LeftShoulder.C0, CF(-1.5, 0.5, 0) * ANGLES(RAD(0), RAD(0), RAD(-45)) * LEFTSHOULDERC0, 1 / Animation_Speed) | |
863 | RightHip.C0 = Clerp(RightHip.C0, CF(1, -1 - 0.05 * COS(SINE / 12), -0.01) * ANGLES(RAD(-35), RAD(80), RAD(0)) * ANGLES(RAD(-8), RAD(0), RAD(0)), 1 / Animation_Speed) | |
864 | LeftHip.C0 = Clerp(LeftHip.C0, CF(-1, -1 - 0.05 * COS(SINE / 12), -0.01) * ANGLES(RAD(-35), RAD(-80), RAD(0)) * ANGLES(RAD(-8), RAD(0), RAD(0)), 1 / Animation_Speed) | |
865 | until B == true | |
866 | for i = 1, 45 do | |
867 | Swait() | |
868 | MESH.Scale = MESH.Scale - VT(15, 0, 15) | |
869 | end | |
870 | RING:remove() | |
871 | end)) | |
872 | wait(1) | |
873 | for i = 1, 4 do | |
874 | WACKYEFFECT({ | |
875 | EffectType = "Sphere", | |
876 | Size = VT(45, 45, 45), | |
877 | Size2 = VT(0, 0, 0), | |
878 | Transparency = 1, | |
879 | Transparency2 = 0.8, | |
880 | CFrame = CF(Torso.Position), | |
881 | MoveToPos = nil, | |
882 | RotationX = 0, | |
883 | RotationY = 0, | |
884 | - | Color = C3(148,0,211), |
884 | + | |
885 | Material = "Neon", | |
886 | Color = PHEONIXCOLOR, | |
887 | SoundID = nil, | |
888 | SoundPitch = nil, | |
889 | SoundVolume = nil | |
890 | }) | |
891 | wait(0.5) | |
892 | end | |
893 | A = true | |
894 | ApplyAoE(Torso.Position, 80, 45, 50, 35, true, MRANDOM(12, 16), "Pheonix", true, { | |
895 | SHAKE = 2, | |
896 | TIMER = 25, | |
897 | DOESFADE = true | |
898 | }) | |
899 | WACKYEFFECT({ | |
900 | Time = 60, | |
901 | EffectType = "Sphere", | |
902 | Size = VT(40, 40, 40), | |
903 | Size2 = VT(140, 140, 140), | |
904 | Transparency = 0, | |
905 | Transparency2 = 1, | |
906 | CFrame = CF(Torso.Position), | |
907 | MoveToPos = nil, | |
908 | RotationX = 0, | |
909 | RotationY = 0, | |
910 | RotationZ = 0, | |
911 | Material = "Neon", | |
912 | Color = C3(1, 0.6666666666666666, 0), | |
913 | SoundID = nil, | |
914 | SoundPitch = nil, | |
915 | SoundVolume = nil | |
916 | }) | |
917 | WACKYEFFECT({ | |
918 | Time = 60, | |
919 | EffectType = "Sphere", | |
920 | Size = VT(50, 50, 50), | |
921 | Size2 = VT(150, 150, 150), | |
922 | Transparency = 0.5, | |
923 | Transparency2 = 1, | |
924 | CFrame = CF(Torso.Position), | |
925 | MoveToPos = nil, | |
926 | RotationX = 0, | |
927 | RotationY = 0, | |
928 | RotationZ = 0, | |
929 | Material = "Neon", | |
930 | Color = PHEONIXCOLOR, | |
931 | SoundID = 462692971, | |
932 | SoundPitch = 0.8, | |
933 | SoundVolume = 6 | |
934 | }) | |
935 | local EXPLOSION = script.PheonixExplosion1:Clone() | |
936 | EXPLOSION.Parent = Torso | |
937 | EXPLOSION.Enabled = true | |
938 | local EXPLOSION2 = script.PheonixExplosion2:Clone() | |
939 | EXPLOSION2.Parent = Torso | |
940 | EXPLOSION2.Enabled = true | |
941 | wait(0.3) | |
942 | EXPLOSION.Enabled = false | |
943 | EXPLOSION2.Enabled = false | |
944 | Debris:AddItem(EXPLOSION, 5) | |
945 | Debris:AddItem(EXPLOSION2, 5) | |
946 | wait(1) | |
947 | B = true | |
948 | ATTACK = false | |
949 | Rooted = false | |
950 | end | |
951 | function Breath() | |
952 | ATTACK = true | |
953 | local POSITION = IT("BodyPosition", RootPart) | |
954 | POSITION.Position = RootPart.CFrame * CF(0, 35, 35).p | |
955 | POSITION.D = 1250 | |
956 | POSITION.P = 40000 | |
957 | POSITION.maxForce = Vector3.new(math.huge, math.huge, math.huge) | |
958 | WINGS = true | |
959 | local RING, WELD, MESH = MagicRing(Torso, CF(0, 0.5, 0.6) * ANGLES(RAD(-90), RAD(0), RAD(0)), "Pheonix") | |
960 | coroutine.resume(coroutine.create(function() | |
961 | for i = 1, 20 do | |
962 | Swait() | |
963 | MESH.Scale = MESH.Scale + VT(4, 0, 4) | |
964 | end | |
965 | end)) | |
966 | for i = 1, 25 do | |
967 | Swait() | |
968 | RootJoint.C0 = Clerp(RootJoint.C0, ROOTC0 * CF(0, 0, 0) * ANGLES(RAD(-14.4 * i), RAD(0), RAD(0)), 1 / Animation_Speed) | |
969 | Neck.C0 = Clerp(Neck.C0, NECKC0 * CF(0, 0, 0) * ANGLES(RAD(-20), RAD(0), RAD(0)), 0.2 / Animation_Speed) | |
970 | RightShoulder.C0 = Clerp(RightShoulder.C0, CF(1.25, 0.5, -1) * ANGLES(RAD(0), RAD(0), RAD(-90)) * RIGHTSHOULDERC0, 0.2 / Animation_Speed) | |
971 | LeftShoulder.C0 = Clerp(LeftShoulder.C0, CF(-1.25, 0.5, -1) * ANGLES(RAD(0), RAD(0), RAD(90)) * LEFTSHOULDERC0, 0.2 / Animation_Speed) | |
972 | RightHip.C0 = Clerp(RightHip.C0, CF(1, 0, -0.5) * ANGLES(RAD(0), RAD(90), RAD(0)) * ANGLES(RAD(-5), RAD(0), RAD(-20)), 0.2 / Animation_Speed) | |
973 | LeftHip.C0 = Clerp(LeftHip.C0, CF(-1, 0, -0.5) * ANGLES(RAD(0), RAD(-90), RAD(0)) * ANGLES(RAD(-5), RAD(0), RAD(20)), 0.2 / Animation_Speed) | |
974 | end | |
975 | local GYRO = IT("BodyGyro", RootPart) | |
976 | GYRO.D = 20 | |
977 | - | local FIREBALL = CreatePart(3, Effects, "Neon", 0, 1, "Teal", "Flight", VT(5, 5, 5)) |
977 | + | |
978 | GYRO.MaxTorque = VT(0, 40000, 0) | |
979 | coroutine.resume(coroutine.create(function() | |
980 | repeat | |
981 | Swait() | |
982 | GYRO.CFrame = CF(RootPart.Position, Mouse.Hit.p) | |
983 | RootJoint.C0 = Clerp(RootJoint.C0, ROOTC0 * CF(0, 0, 0 + 1 * SIN(SINE / 24)) * ANGLES(RAD(0), RAD(0), RAD(24)), 2 / Animation_Speed) | |
984 | Neck.C0 = Clerp(Neck.C0, NECKC0 * CF(0, 0, 0) * ANGLES(RAD(20), RAD(0), RAD(-24)), 1 / Animation_Speed) | |
985 | RightShoulder.C0 = Clerp(RightShoulder.C0, CF(1.25, 0.5, -0.3) * ANGLES(RAD(90), RAD(0), RAD(24)) * RIGHTSHOULDERC0, 1 / Animation_Speed) | |
986 | LeftShoulder.C0 = Clerp(LeftShoulder.C0, CF(-1.45, 0.1, -0.3) * ANGLES(RAD(0), RAD(45), RAD(0)) * ANGLES(RAD(165), RAD(0), RAD(0)) * LEFTSHOULDERC0, 1 / Animation_Speed) | |
987 | RightHip.C0 = Clerp(RightHip.C0, CF(1, -0.5, -0.5) * ANGLES(RAD(0), RAD(75), RAD(0)) * ANGLES(RAD(0), RAD(0), RAD(0)), 1 / Animation_Speed) | |
988 | LeftHip.C0 = Clerp(LeftHip.C0, CF(-1, -1, 0) * ANGLES(RAD(0), RAD(-90), RAD(0)) * ANGLES(RAD(0), RAD(0), RAD(0)), 1 / Animation_Speed) | |
989 | until ATTACK == false | |
990 | POSITION:remove() | |
991 | GYRO:remove() | |
992 | for i = 1, 20 do | |
993 | Swait() | |
994 | MESH.Scale = MESH.Scale - VT(4, 0, 4) | |
995 | end | |
996 | RING:remove() | |
997 | end)) | |
998 | local RING, WELD, MESH = MagicRing(RightArm, CF(0, -1.2, 0) * ANGLES(RAD(0), RAD(180), RAD(0)), "Pheonix") | |
999 | for i = 1, 35 do | |
1000 | Swait() | |
1001 | MESH.Scale = MESH.Scale + VT(2.6, 0, 2.6) | |
1002 | end | |
1003 | wait(0.3) | |
1004 | coroutine.resume(coroutine.create(function() | |
1005 | local FIREBALL = CreatePart(3, Effects, "Neon", 0, 1, "Cyan", "Flight", VT(5, 5, 5)) | |
1006 | FIREBALL.CFrame = CF(RING.Position, Mouse.Hit.p) | |
1007 | local PARTICLES1 = script.PheonixFireball1:Clone() | |
1008 | PARTICLES1.Parent = FIREBALL | |
1009 | - | Color = C3(148,0,211), |
1009 | + | |
1010 | local PARTICLES2 = script.PheonixFireball2:Clone() | |
1011 | PARTICLES2.Parent = FIREBALL | |
1012 | PARTICLES2.Enabled = true | |
1013 | CreateSound(463593339, FIREBALL, 6, 1, false) | |
1014 | for i = 1, 250 do | |
1015 | Swait() | |
1016 | local HIT, HITPOS = Raycast(FIREBALL.Position, FIREBALL.CFrame.lookVector, 2.5, Character) | |
1017 | FIREBALL.CFrame = FIREBALL.CFrame * CF(0, 0, -2) | |
1018 | if HIT then | |
1019 | ApplyAoE(FIREBALL.Position, 50, 45, 50, 35, true, MRANDOM(12, 16), "Pheonix", true, { | |
1020 | SHAKE = 2, | |
1021 | TIMER = 25, | |
1022 | DOESFADE = true | |
1023 | }) | |
1024 | WACKYEFFECT({ | |
1025 | Time = 60, | |
1026 | EffectType = "Sphere", | |
1027 | Size = VT(0, 0, 0), | |
1028 | Size2 = VT(100, 100, 100), | |
1029 | Transparency = 0, | |
1030 | Transparency2 = 1, | |
1031 | CFrame = CF(FIREBALL.Position), | |
1032 | MoveToPos = nil, | |
1033 | RotationX = 0, | |
1034 | RotationY = 0, | |
1035 | RotationZ = 0, | |
1036 | Material = "Neon", | |
1037 | Color = C3(1, 0.6666666666666666, 0), | |
1038 | SoundID = nil, | |
1039 | SoundPitch = nil, | |
1040 | SoundVolume = nil | |
1041 | }) | |
1042 | WACKYEFFECT({ | |
1043 | Time = 60, | |
1044 | EffectType = "Sphere", | |
1045 | Size = VT(0, 0, 0), | |
1046 | Size2 = VT(120, 120, 120), | |
1047 | Transparency = 0.5, | |
1048 | Transparency2 = 1, | |
1049 | CFrame = CF(FIREBALL.Position), | |
1050 | MoveToPos = nil, | |
1051 | RotationX = 0, | |
1052 | RotationY = 0, | |
1053 | RotationZ = 0, | |
1054 | Material = "Neon", | |
1055 | Color = PHEONIXCOLOR, | |
1056 | SoundID = 462692971, | |
1057 | SoundPitch = 1, | |
1058 | SoundVolume = 6 | |
1059 | }) | |
1060 | PARTICLES1.Enabled = false | |
1061 | PARTICLES2.Enabled = false | |
1062 | local EXPLOSION = script.PheonixExplosion1:Clone() | |
1063 | EXPLOSION.Parent = FIREBALL | |
1064 | EXPLOSION.Enabled = true | |
1065 | local EXPLOSION2 = script.PheonixExplosion2:Clone() | |
1066 | EXPLOSION2.Parent = FIREBALL | |
1067 | EXPLOSION2.Enabled = true | |
1068 | wait(0.3) | |
1069 | EXPLOSION.Enabled = false | |
1070 | EXPLOSION2.Enabled = false | |
1071 | break | |
1072 | end | |
1073 | end | |
1074 | PARTICLES1.Enabled = false | |
1075 | PARTICLES2.Enabled = false | |
1076 | Debris:AddItem(FIREBALL, 7) | |
1077 | end)) | |
1078 | wait(0.3) | |
1079 | coroutine.resume(coroutine.create(function() | |
1080 | - | local FIREBALL = CreatePart(3, Effects, "Neon", 0, 1, "Teal", "Fire", VT(3, 3, 3)) |
1080 | + | |
1081 | RING.Anchored = true | |
1082 | for i = 1, 35 do | |
1083 | Swait() | |
1084 | MESH.Scale = MESH.Scale - VT(2.6, 0, 2.6) | |
1085 | end | |
1086 | RING:remove() | |
1087 | end)) | |
1088 | WINGS = false | |
1089 | ATTACK = false | |
1090 | end | |
1091 | function ThreeShootingStars() | |
1092 | ATTACK = true | |
1093 | Rooted = false | |
1094 | local POS1, POS2, POS3 | |
1095 | local RING, WELD, MESH = MagicRing(RightArm, CF(0, -1.2, 0), "Sun") | |
1096 | coroutine.resume(coroutine.create(function() | |
1097 | for i = 1, 35 do | |
1098 | Swait() | |
1099 | MESH.Scale = MESH.Scale + VT(2.6, 0, 2.6) | |
1100 | end | |
1101 | end)) | |
1102 | coroutine.resume(coroutine.create(function() | |
1103 | repeat | |
1104 | Swait() | |
1105 | if POS1 then | |
1106 | coroutine.resume(coroutine.create(function() | |
1107 | local POSITION = POS1 | |
1108 | local FIREBALL = CreatePart(3, Effects, "Neon", 0, 1, "New Yeller", "Fire", VT(3, 3, 3)) | |
1109 | FIREBALL.CFrame = RightArm.CFrame * CF(0, -3, 0) | |
1110 | local FIRE = script.SunFireball:Clone() | |
1111 | FIRE.Parent = FIREBALL | |
1112 | FIRE.Enabled = true | |
1113 | local EXPLOSION = script.SunExplosion:Clone() | |
1114 | EXPLOSION.Parent = FIREBALL | |
1115 | CreateSound(463598785, FIREBALL, 5, 1, false) | |
1116 | local DISTANCE = (RootPart.Position - POSITION).Magnitude | |
1117 | local FRAME = CF(VT(POSITION.X + MRANDOM(-45, 45) / 3, RootPart.Position.Y, POSITION.Z + MRANDOM(-45, 45) / 3), RootPart.Position + VT(0, 45, 0)) * CF(0, 0, -DISTANCE / 2) | |
1118 | for i = 1, 75 do | |
1119 | Swait() | |
1120 | - | Color = C3(148,0,211), |
1120 | + | |
1121 | end | |
1122 | FIREBALL.CFrame = CF(FIREBALL.Position, POSITION) | |
1123 | for i = 1, 300 do | |
1124 | Swait() | |
1125 | FIREBALL.CFrame = FIREBALL.CFrame * CF(0, 0, -4) | |
1126 | local HITFLOOR, HITPOS = Raycast(FIREBALL.Position, FIREBALL.CFrame.lookVector, 4.2, Character) | |
1127 | if HITFLOOR ~= nil then | |
1128 | FIRE.Enabled = false | |
1129 | EXPLOSION:Emit(500) | |
1130 | CreateSound(416328540, FIREBALL, 5, 1, false) | |
1131 | ApplyAoE(FIREBALL.Position, 75, 25, 35, 65, true, MRANDOM(5, 15), "Sun", true, { | |
1132 | SHAKE = 1, | |
1133 | TIMER = 6, | |
1134 | DOESFADE = true | |
1135 | }) | |
1136 | - | local FIREBALL = CreatePart(3, Effects, "Neon", 0, 1, "Teal", "Fire", VT(3, 3, 3)) |
1136 | + | |
1137 | EffectType = "Sphere", | |
1138 | Size = VT(0, 0, 0), | |
1139 | Size2 = VT(150, 150, 150), | |
1140 | Transparency = 0, | |
1141 | Transparency2 = 1, | |
1142 | CFrame = CF(FIREBALL.Position), | |
1143 | MoveToPos = nil, | |
1144 | RotationX = 0, | |
1145 | RotationY = 0, | |
1146 | RotationZ = 0, | |
1147 | Material = "Neon", | |
1148 | Color = C3(1, 0.6666666666666666, 0), | |
1149 | SoundID = nil, | |
1150 | SoundPitch = nil, | |
1151 | SoundVolume = nil | |
1152 | }) | |
1153 | wait(5) | |
1154 | break | |
1155 | end | |
1156 | end | |
1157 | FIREBALL:remove() | |
1158 | end)) | |
1159 | POS1 = nil | |
1160 | end | |
1161 | if POS2 then | |
1162 | coroutine.resume(coroutine.create(function() | |
1163 | local POSITION = POS2 | |
1164 | local FIREBALL = CreatePart(3, Effects, "Neon", 0, 1, "New Yeller", "Fire", VT(3, 3, 3)) | |
1165 | FIREBALL.CFrame = RightArm.CFrame * CF(0, -3, 0) | |
1166 | local FIRE = script.SunFireball:Clone() | |
1167 | FIRE.Parent = FIREBALL | |
1168 | FIRE.Enabled = true | |
1169 | local EXPLOSION = script.SunExplosion:Clone() | |
1170 | EXPLOSION.Parent = FIREBALL | |
1171 | CreateSound(463598785, FIREBALL, 5, 1, false) | |
1172 | local DISTANCE = (RootPart.Position - POSITION).Magnitude | |
1173 | local FRAME = CF(VT(POSITION.X + MRANDOM(-45, 45) / 3, RootPart.Position.Y, POSITION.Z + MRANDOM(-45, 45) / 3), RootPart.Position + VT(0, 45, 0)) * CF(0, 0, -DISTANCE / 2) | |
1174 | for i = 1, 75 do | |
1175 | Swait() | |
1176 | - | Color = C3(148,0,211), |
1176 | + | |
1177 | end | |
1178 | FIREBALL.CFrame = CF(FIREBALL.Position, POSITION) | |
1179 | for i = 1, 300 do | |
1180 | Swait() | |
1181 | FIREBALL.CFrame = FIREBALL.CFrame * CF(0, 0, -4) | |
1182 | local HITFLOOR, HITPOS = Raycast(FIREBALL.Position, FIREBALL.CFrame.lookVector, 4.2, Character) | |
1183 | if HITFLOOR ~= nil then | |
1184 | FIRE.Enabled = false | |
1185 | EXPLOSION:Emit(500) | |
1186 | CreateSound(416328540, FIREBALL, 5, 1, false) | |
1187 | ApplyAoE(FIREBALL.Position, 75, 25, 35, 65, true, MRANDOM(5, 15), "Sun", true, { | |
1188 | SHAKE = 1, | |
1189 | TIMER = 6, | |
1190 | DOESFADE = true | |
1191 | }) | |
1192 | - | local FIREBALL = CreatePart(3, Effects, "Neon", 0, 1, "Teal", "Fire", VT(3, 3, 3)) |
1192 | + | |
1193 | EffectType = "Sphere", | |
1194 | Size = VT(0, 0, 0), | |
1195 | Size2 = VT(150, 150, 150), | |
1196 | Transparency = 0, | |
1197 | Transparency2 = 1, | |
1198 | CFrame = CF(FIREBALL.Position), | |
1199 | MoveToPos = nil, | |
1200 | RotationX = 0, | |
1201 | RotationY = 0, | |
1202 | RotationZ = 0, | |
1203 | Material = "Neon", | |
1204 | Color = C3(1, 0.6666666666666666, 0), | |
1205 | SoundID = nil, | |
1206 | SoundPitch = nil, | |
1207 | SoundVolume = nil | |
1208 | }) | |
1209 | wait(5) | |
1210 | break | |
1211 | end | |
1212 | end | |
1213 | FIREBALL:remove() | |
1214 | end)) | |
1215 | POS2 = nil | |
1216 | end | |
1217 | if POS3 then | |
1218 | coroutine.resume(coroutine.create(function() | |
1219 | local POSITION = POS3 | |
1220 | local FIREBALL = CreatePart(3, Effects, "Neon", 0, 1, "New Yeller", "Fire", VT(3, 3, 3)) | |
1221 | FIREBALL.CFrame = RightArm.CFrame * CF(0, -3, 0) | |
1222 | local FIRE = script.SunFireball:Clone() | |
1223 | FIRE.Parent = FIREBALL | |
1224 | FIRE.Enabled = true | |
1225 | local EXPLOSION = script.SunExplosion:Clone() | |
1226 | EXPLOSION.Parent = FIREBALL | |
1227 | CreateSound(463598785, FIREBALL, 5, 1, false) | |
1228 | local DISTANCE = (RootPart.Position - POSITION).Magnitude | |
1229 | local FRAME = CF(VT(POSITION.X + MRANDOM(-45, 45) / 3, RootPart.Position.Y, POSITION.Z + MRANDOM(-45, 45) / 3), RootPart.Position + VT(0, 45, 0)) * CF(0, 0, -DISTANCE / 2) | |
1230 | for i = 1, 75 do | |
1231 | Swait() | |
1232 | - | Color = C3(148,0,211), |
1232 | + | |
1233 | end | |
1234 | FIREBALL.CFrame = CF(FIREBALL.Position, POSITION) | |
1235 | for i = 1, 300 do | |
1236 | Swait() | |
1237 | FIREBALL.CFrame = FIREBALL.CFrame * CF(0, 0, -4) | |
1238 | local HITFLOOR, HITPOS = Raycast(FIREBALL.Position, FIREBALL.CFrame.lookVector, 4.2, Character) | |
1239 | if HITFLOOR ~= nil then | |
1240 | FIRE.Enabled = false | |
1241 | EXPLOSION:Emit(500) | |
1242 | CreateSound(416328540, FIREBALL, 5, 1, false) | |
1243 | ApplyAoE(FIREBALL.Position, 75, 25, 35, 65, true, MRANDOM(5, 15), "Sun", true, { | |
1244 | SHAKE = 1, | |
1245 | TIMER = 6, | |
1246 | DOESFADE = true | |
1247 | }) | |
1248 | WACKYEFFECT({ | |
1249 | EffectType = "Sphere", | |
1250 | Size = VT(0, 0, 0), | |
1251 | Size2 = VT(150, 150, 150), | |
1252 | Transparency = 0, | |
1253 | Transparency2 = 1, | |
1254 | CFrame = CF(FIREBALL.Position), | |
1255 | MoveToPos = nil, | |
1256 | RotationX = 0, | |
1257 | RotationY = 0, | |
1258 | RotationZ = 0, | |
1259 | Material = "Neon", | |
1260 | Color = C3(1, 0.6666666666666666, 0), | |
1261 | SoundID = nil, | |
1262 | SoundPitch = nil, | |
1263 | SoundVolume = nil | |
1264 | }) | |
1265 | wait(5) | |
1266 | break | |
1267 | end | |
1268 | end | |
1269 | FIREBALL:remove() | |
1270 | end)) | |
1271 | POS3 = nil | |
1272 | end | |
1273 | RootJoint.C0 = Clerp(RootJoint.C0, ROOTC0 * CF(0, 0, 0 + 1 * SIN(SINE / 24)) * ANGLES(RAD(0), RAD(0), RAD(74)), 2 / Animation_Speed) | |
1274 | Neck.C0 = Clerp(Neck.C0, NECKC0 * CF(0, 0, 0) * ANGLES(RAD(20), RAD(0), RAD(-74)), 1 / Animation_Speed) | |
1275 | RightShoulder.C0 = Clerp(RightShoulder.C0, CF(1.25, 0.5, -0.3) * ANGLES(RAD(90), RAD(0), RAD(74)) * RIGHTSHOULDERC0, 1 / Animation_Speed) | |
1276 | LeftShoulder.C0 = Clerp(LeftShoulder.C0, CF(-1.45, 0.1, -0.3) * ANGLES(RAD(0), RAD(45), RAD(0)) * ANGLES(RAD(165), RAD(0), RAD(0)) * LEFTSHOULDERC0, 1 / Animation_Speed) | |
1277 | RightHip.C0 = Clerp(RightHip.C0, CF(1, -0.5, -0.5) * ANGLES(RAD(0), RAD(75), RAD(0)) * ANGLES(RAD(0), RAD(0), RAD(0)), 1 / Animation_Speed) | |
1278 | LeftHip.C0 = Clerp(LeftHip.C0, CF(-1, -1, 0) * ANGLES(RAD(0), RAD(-90), RAD(0)) * ANGLES(RAD(0), RAD(0), RAD(0)), 1 / Animation_Speed) | |
1279 | until ATTACK == false | |
1280 | end)) | |
1281 | wait(0.4) | |
1282 | POS1 = Mouse.Hit.p | |
1283 | wait(0.5) | |
1284 | POS2 = Mouse.Hit.p | |
1285 | wait(0.6) | |
1286 | POS3 = Mouse.Hit.p | |
1287 | wait(0.3) | |
1288 | RING.Anchored = true | |
1289 | WELD:remove() | |
1290 | coroutine.resume(coroutine.create(function() | |
1291 | for i = 1, 35 do | |
1292 | Swait() | |
1293 | MESH.Scale = MESH.Scale - VT(2.6, 0, 2.6) | |
1294 | - | local WIND = CreatePart(3, Effects, "Neon", 0, 1, "Teal", "Flight", VT(0, 0, 0)) |
1294 | + | |
1295 | RING:remove() | |
1296 | end)) | |
1297 | ATTACK = false | |
1298 | Rooted = false | |
1299 | end | |
1300 | function PheonixFlare() | |
1301 | ATTACK = true | |
1302 | Rooted = false | |
1303 | PARTICLES = true | |
1304 | coroutine.resume(coroutine.create(function() | |
1305 | repeat | |
1306 | Swait() | |
1307 | RootJoint.C0 = Clerp(RootJoint.C0, ROOTC0 * CF(0, 0, 0 + 1 * SIN(SINE / 24)) * ANGLES(RAD(0), RAD(0), RAD(0)), 2 / Animation_Speed) | |
1308 | Neck.C0 = Clerp(Neck.C0, NECKC0 * CF(0, 0, 0) * ANGLES(RAD(20), RAD(0), RAD(0)), 1 / Animation_Speed) | |
1309 | RightShoulder.C0 = Clerp(RightShoulder.C0, CF(1.5, 0.5, 0) * ANGLES(RAD(0), RAD(-15), RAD(25)) * RIGHTSHOULDERC0, 1 / Animation_Speed) | |
1310 | LeftShoulder.C0 = Clerp(LeftShoulder.C0, CF(-1.5, 0.5, 0) * ANGLES(RAD(0), RAD(15), RAD(-25)) * LEFTSHOULDERC0, 1 / Animation_Speed) | |
1311 | RightHip.C0 = Clerp(RightHip.C0, CF(1, -0.5, -0.5) * ANGLES(RAD(0), RAD(75), RAD(0)) * ANGLES(RAD(0), RAD(0), RAD(0)), 1 / Animation_Speed) | |
1312 | LeftHip.C0 = Clerp(LeftHip.C0, CF(-1, -1, 0) * ANGLES(RAD(0), RAD(-90), RAD(0)) * ANGLES(RAD(0), RAD(0), RAD(0)), 1 / Animation_Speed) | |
1313 | until ATTACK == false | |
1314 | end)) | |
1315 | CreateSound(462676772, Torso, 7, 1, false) | |
1316 | WINGS1.Acceleration = VT(9, 0, -12) | |
1317 | WINGS1B.Acceleration = VT(9, 0, -12) | |
1318 | WINGS2.Acceleration = VT(-9, 0, -12) | |
1319 | WINGS2B.Acceleration = VT(-9, 0, -12) | |
1320 | wait(0.25) | |
1321 | coroutine.resume(coroutine.create(function() | |
1322 | local WIND = CreatePart(3, Effects, "Neon", 0, 1, "Cyan", "Flight", VT(0, 0, 0)) | |
1323 | WIND.CFrame = CF(RootPart.Position, Mouse.Hit.p) | |
1324 | - | Color = C3(148,0,211), |
1324 | + | |
1325 | PARTICLES.Parent = WIND | |
1326 | PARTICLES.Enabled = true | |
1327 | CreateSound(376218535, WIND, 6, 1, false) | |
1328 | for i = 1, 250 do | |
1329 | Swait() | |
1330 | local HIT, HITPOS = Raycast(WIND.Position, WIND.CFrame.lookVector, 3, Character) | |
1331 | WIND.CFrame = WIND.CFrame * CF(0, 0, -2) | |
1332 | if HIT then | |
1333 | ApplyAoE(WIND.Position, 45, 10, 30, 135, false, MRANDOM(12, 16), "Nul", true, { | |
1334 | SHAKE = 3, | |
1335 | TIMER = 7, | |
1336 | DOESFADE = true | |
1337 | }) | |
1338 | CreateSound(260430117, WIND, 3, 1, false) | |
1339 | WACKYEFFECT({ | |
1340 | Time = 25, | |
1341 | EffectType = "Wave", | |
1342 | - | Color = C3(148,0,211), |
1342 | + | |
1343 | Size2 = VT(60, 8, 60), | |
1344 | Transparency = 0.9, | |
1345 | Transparency2 = 1, | |
1346 | CFrame = WIND.CFrame * ANGLES(RAD(90), RAD(0), RAD(0)) * ANGLES(RAD(0), RAD(45), RAD(0)), | |
1347 | MoveToPos = nil, | |
1348 | RotationX = 0, | |
1349 | RotationY = 0, | |
1350 | RotationZ = 0, | |
1351 | Material = "Neon", | |
1352 | Color = C3(0.8, 0.8, 0.8), | |
1353 | SoundID = nil, | |
1354 | SoundPitch = nil, | |
1355 | SoundVolume = nil | |
1356 | }) | |
1357 | WACKYEFFECT({ | |
1358 | Time = 25, | |
1359 | EffectType = "Wave", | |
1360 | Size = VT(20, 0, 20), | |
1361 | - | local FIREBALL = CreatePart(3, Effects, "Neon", 0, 1, "Teal", "Flight", VT(5, 5, 5)) |
1361 | + | |
1362 | Transparency = 0.9, | |
1363 | Transparency2 = 1, | |
1364 | CFrame = WIND.CFrame * ANGLES(RAD(90), RAD(0), RAD(0)), | |
1365 | MoveToPos = nil, | |
1366 | RotationX = 0, | |
1367 | RotationY = 0, | |
1368 | RotationZ = 0, | |
1369 | Material = "Neon", | |
1370 | Color = C3(0.8, 0.8, 0.8), | |
1371 | SoundID = nil, | |
1372 | SoundPitch = nil, | |
1373 | SoundVolume = nil | |
1374 | }) | |
1375 | break | |
1376 | end | |
1377 | end | |
1378 | PARTICLES.Enabled = false | |
1379 | Debris:AddItem(WIND, 7) | |
1380 | end)) | |
1381 | wait(1) | |
1382 | CreateSound(462676772, Torso, 7, 1, false) | |
1383 | WINGS1.Acceleration = VT(9, 1, 4) | |
1384 | WINGS1B.Acceleration = VT(9, 1, 4) | |
1385 | WINGS2.Acceleration = VT(-9, 1, 4) | |
1386 | WINGS2B.Acceleration = VT(-9, 1, 4) | |
1387 | wait(0.25) | |
1388 | coroutine.resume(coroutine.create(function() | |
1389 | local FIREBALL = CreatePart(3, Effects, "Neon", 0, 1, "Cyan", "Flight", VT(5, 5, 5)) | |
1390 | FIREBALL.CFrame = CF(RootPart.Position, Mouse.Hit.p) | |
1391 | local PARTICLES1 = script.PheonixFireball1:Clone() | |
1392 | PARTICLES1.Parent = FIREBALL | |
1393 | - | Color = C3(148,0,211), |
1393 | + | |
1394 | local PARTICLES2 = script.PheonixFireball2:Clone() | |
1395 | PARTICLES2.Parent = FIREBALL | |
1396 | PARTICLES2.Enabled = true | |
1397 | CreateSound(463593339, FIREBALL, 6, 1, false) | |
1398 | for i = 1, 250 do | |
1399 | Swait() | |
1400 | local HIT, HITPOS = Raycast(FIREBALL.Position, FIREBALL.CFrame.lookVector, 2.5, Character) | |
1401 | FIREBALL.CFrame = FIREBALL.CFrame * CF(0, 0, -2) | |
1402 | if HIT then | |
1403 | ApplyAoE(FIREBALL.Position, 70, 45, 50, 35, true, MRANDOM(12, 16), "Pheonix", true, { | |
1404 | SHAKE = 2, | |
1405 | TIMER = 25, | |
1406 | DOESFADE = true | |
1407 | }) | |
1408 | WACKYEFFECT({ | |
1409 | Time = 60, | |
1410 | EffectType = "Sphere", | |
1411 | Size = VT(0, 0, 0), | |
1412 | Size2 = VT(120, 120, 120), | |
1413 | Transparency = 0, | |
1414 | Transparency2 = 1, | |
1415 | CFrame = CF(FIREBALL.Position), | |
1416 | MoveToPos = nil, | |
1417 | RotationX = 0, | |
1418 | RotationY = 0, | |
1419 | RotationZ = 0, | |
1420 | Material = "Neon", | |
1421 | Color = C3(1, 0.6666666666666666, 0), | |
1422 | SoundID = nil, | |
1423 | SoundPitch = nil, | |
1424 | SoundVolume = nil | |
1425 | }) | |
1426 | WACKYEFFECT({ | |
1427 | Time = 60, | |
1428 | EffectType = "Sphere", | |
1429 | Size = VT(0, 0, 0), | |
1430 | Size2 = VT(140, 140, 140), | |
1431 | Transparency = 0.5, | |
1432 | Transparency2 = 1, | |
1433 | CFrame = CF(FIREBALL.Position), | |
1434 | MoveToPos = nil, | |
1435 | RotationX = 0, | |
1436 | RotationY = 0, | |
1437 | RotationZ = 0, | |
1438 | Material = "Neon", | |
1439 | Color = PHEONIXCOLOR, | |
1440 | SoundID = 462692971, | |
1441 | SoundPitch = 1, | |
1442 | SoundVolume = 6 | |
1443 | }) | |
1444 | PARTICLES1.Enabled = false | |
1445 | PARTICLES2.Enabled = false | |
1446 | local EXPLOSION = script.PheonixExplosion1:Clone() | |
1447 | EXPLOSION.Parent = FIREBALL | |
1448 | EXPLOSION.Enabled = true | |
1449 | local EXPLOSION2 = script.PheonixExplosion2:Clone() | |
1450 | EXPLOSION2.Parent = FIREBALL | |
1451 | EXPLOSION2.Enabled = true | |
1452 | wait(0.3) | |
1453 | EXPLOSION.Enabled = false | |
1454 | EXPLOSION2.Enabled = false | |
1455 | break | |
1456 | end | |
1457 | end | |
1458 | PARTICLES1.Enabled = false | |
1459 | PARTICLES2.Enabled = false | |
1460 | Debris:AddItem(FIREBALL, 7) | |
1461 | end)) | |
1462 | wait(0.5) | |
1463 | PARTICLES = false | |
1464 | ATTACK = false | |
1465 | Rooted = false | |
1466 | end | |
1467 | function PheonixFireballs() | |
1468 | ATTACK = true | |
1469 | - | local FIREBALL = CreatePart(3, Effects, "Neon", 0, 1, "Teal", "Flight", VT(2, 2, 2)) |
1469 | + | |
1470 | DIRECTTURN = true | |
1471 | coroutine.resume(coroutine.create(function() | |
1472 | repeat | |
1473 | Swait() | |
1474 | RootJoint.C0 = Clerp(RootJoint.C0, ROOTC0 * CF(0, 0, 0 + 1 * SIN(SINE / 24)) * ANGLES(RAD(0), RAD(0), RAD(24)), 2 / Animation_Speed) | |
1475 | Neck.C0 = Clerp(Neck.C0, NECKC0 * CF(0, 0, 0) * ANGLES(RAD(20), RAD(0), RAD(-24)), 1 / Animation_Speed) | |
1476 | RightShoulder.C0 = Clerp(RightShoulder.C0, CF(1.25, 0.5, -0.3) * ANGLES(RAD(90), RAD(0), RAD(24)) * RIGHTSHOULDERC0, 1 / Animation_Speed) | |
1477 | LeftShoulder.C0 = Clerp(LeftShoulder.C0, CF(-1.45, 0.1, -0.3) * ANGLES(RAD(0), RAD(45), RAD(0)) * ANGLES(RAD(165), RAD(0), RAD(0)) * LEFTSHOULDERC0, 1 / Animation_Speed) | |
1478 | RightHip.C0 = Clerp(RightHip.C0, CF(1, -0.5, -0.5) * ANGLES(RAD(0), RAD(75), RAD(0)) * ANGLES(RAD(0), RAD(0), RAD(0)), 1 / Animation_Speed) | |
1479 | LeftHip.C0 = Clerp(LeftHip.C0, CF(-1, -1, 0) * ANGLES(RAD(0), RAD(-90), RAD(0)) * ANGLES(RAD(0), RAD(0), RAD(0)), 1 / Animation_Speed) | |
1480 | until ATTACK == false | |
1481 | end)) | |
1482 | local RING1, WELD1, MESH1 = MagicRing(RightArm, CF(0, -1.2, 0) * ANGLES(RAD(0), RAD(180), RAD(0)), "Pheonix") | |
1483 | local RING2, WELD2, MESH2 = MagicRing(RightArm, CF(0, -1.6, 0) * ANGLES(RAD(0), RAD(180), RAD(0)), "Pheonix") | |
1484 | for i = 1, 35 do | |
1485 | Swait() | |
1486 | MESH1.Scale = MESH1.Scale + VT(6, 0, 6) | |
1487 | MESH2.Scale = MESH2.Scale + VT(3, 0, 3) | |
1488 | end | |
1489 | repeat | |
1490 | wait() | |
1491 | POWER = POWER + 1 | |
1492 | until KEYHOLD == false | |
1493 | if POWER <= 30 then | |
1494 | for i = 1, 15 do | |
1495 | wait(0.1) | |
1496 | coroutine.resume(coroutine.create(function() | |
1497 | local FIREBALL = CreatePart(3, Effects, "Neon", 0, 1, "Cyan", "Flight", VT(2, 2, 2)) | |
1498 | FIREBALL.CFrame = CF(RootPart.Position, Mouse.Hit.p) | |
1499 | local PARTICLES1 = script.PheonixFireball1:Clone() | |
1500 | PARTICLES1.Parent = FIREBALL | |
1501 | PARTICLES1.Enabled = true | |
1502 | local PARTICLES2 = script.PheonixFireball2:Clone() | |
1503 | - | Color = C3(148,0,211), |
1503 | + | |
1504 | PARTICLES2.Enabled = true | |
1505 | PARTICLES1.Size = NumberSequence.new(3, 0) | |
1506 | PARTICLES2.Size = NumberSequence.new(3, 0) | |
1507 | CreateSound(463593339, FIREBALL, 6, 1, false) | |
1508 | for i = 1, 250 do | |
1509 | Swait() | |
1510 | local HIT, HITPOS = Raycast(FIREBALL.Position, FIREBALL.CFrame.lookVector, 4.5, Character) | |
1511 | FIREBALL.CFrame = FIREBALL.CFrame * CF(0, 0, -4) | |
1512 | if HIT then | |
1513 | ApplyAoE(FIREBALL.Position, 25, 5, 15, 5, true, MRANDOM(5, 6), "Pheonix", true, { | |
1514 | SHAKE = 2, | |
1515 | TIMER = 25, | |
1516 | DOESFADE = true | |
1517 | }) | |
1518 | WACKYEFFECT({ | |
1519 | Time = 60, | |
1520 | EffectType = "Sphere", | |
1521 | Size = VT(0, 0, 0), | |
1522 | Size2 = VT(50, 50, 50), | |
1523 | Transparency = 0, | |
1524 | Transparency2 = 1, | |
1525 | CFrame = CF(FIREBALL.Position), | |
1526 | MoveToPos = nil, | |
1527 | RotationX = 0, | |
1528 | RotationY = 0, | |
1529 | RotationZ = 0, | |
1530 | Material = "Neon", | |
1531 | Color = C3(1, 0.6666666666666666, 0), | |
1532 | SoundID = nil, | |
1533 | SoundPitch = nil, | |
1534 | SoundVolume = nil | |
1535 | }) | |
1536 | WACKYEFFECT({ | |
1537 | Time = 60, | |
1538 | EffectType = "Sphere", | |
1539 | Size = VT(0, 0, 0), | |
1540 | Size2 = VT(60, 60, 60), | |
1541 | Transparency = 0.5, | |
1542 | Transparency2 = 1, | |
1543 | CFrame = CF(FIREBALL.Position), | |
1544 | MoveToPos = nil, | |
1545 | RotationX = 0, | |
1546 | RotationY = 0, | |
1547 | RotationZ = 0, | |
1548 | Material = "Neon", | |
1549 | Color = PHEONIXCOLOR, | |
1550 | SoundID = 462692971, | |
1551 | SoundPitch = 1, | |
1552 | SoundVolume = 6 | |
1553 | }) | |
1554 | PARTICLES1.Enabled = false | |
1555 | PARTICLES2.Enabled = false | |
1556 | local EXPLOSION = script.PheonixExplosion1:Clone() | |
1557 | EXPLOSION.Parent = FIREBALL | |
1558 | EXPLOSION.Enabled = true | |
1559 | local EXPLOSION2 = script.PheonixExplosion2:Clone() | |
1560 | EXPLOSION2.Parent = FIREBALL | |
1561 | EXPLOSION2.Enabled = true | |
1562 | wait(0.3) | |
1563 | EXPLOSION.Enabled = false | |
1564 | EXPLOSION2.Enabled = false | |
1565 | break | |
1566 | end | |
1567 | end | |
1568 | PARTICLES1.Enabled = false | |
1569 | PARTICLES2.Enabled = false | |
1570 | Debris:AddItem(FIREBALL, 7) | |
1571 | end)) | |
1572 | end | |
1573 | else | |
1574 | for E = 1, 5 do | |
1575 | do | |
1576 | local OFFSET = ANGLES(RAD(72 * E), RAD(72 * E), RAD(0)) * CF(0, 0, 75) | |
1577 | coroutine.resume(coroutine.create(function() | |
1578 | local FIREBALL = CreatePart(3, Effects, "Neon", 0, 1, "Cyan", "Flight", VT(5, 5, 5)) | |
1579 | FIREBALL.CFrame = CF(RootPart.Position, CF(Mouse.Hit.p, RootPart.Position) * OFFSET.p) | |
1580 | local PARTICLES1 = script.PheonixFireball1:Clone() | |
1581 | PARTICLES1.Parent = FIREBALL | |
1582 | - | Color = C3(148,0,211), |
1582 | + | |
1583 | local PARTICLES2 = script.PheonixFireball2:Clone() | |
1584 | PARTICLES2.Parent = FIREBALL | |
1585 | PARTICLES2.Enabled = true | |
1586 | CreateSound(463593339, FIREBALL, 6, 1, false) | |
1587 | for i = 1, 650 do | |
1588 | Swait() | |
1589 | local HIT, HITPOS = Raycast(FIREBALL.Position, FIREBALL.CFrame.lookVector, 2.5, Character) | |
1590 | FIREBALL.CFrame = FIREBALL.CFrame * CF(0, 0, -2) | |
1591 | if HIT then | |
1592 | ApplyAoE(FIREBALL.Position, 70, 45, 50, 35, true, MRANDOM(12, 16), "Pheonix", true, { | |
1593 | SHAKE = 2, | |
1594 | TIMER = 25, | |
1595 | DOESFADE = true | |
1596 | }) | |
1597 | WACKYEFFECT({ | |
1598 | Time = 60, | |
1599 | EffectType = "Sphere", | |
1600 | Size = VT(0, 0, 0), | |
1601 | Size2 = VT(120, 120, 120), | |
1602 | Transparency = 0, | |
1603 | Transparency2 = 1, | |
1604 | CFrame = CF(FIREBALL.Position), | |
1605 | MoveToPos = nil, | |
1606 | RotationX = 0, | |
1607 | RotationY = 0, | |
1608 | RotationZ = 0, | |
1609 | Material = "Neon", | |
1610 | Color = C3(1, 0.6666666666666666, 0), | |
1611 | SoundID = nil, | |
1612 | SoundPitch = nil, | |
1613 | SoundVolume = nil | |
1614 | }) | |
1615 | WACKYEFFECT({ | |
1616 | Time = 60, | |
1617 | EffectType = "Sphere", | |
1618 | Size = VT(0, 0, 0), | |
1619 | Size2 = VT(140, 140, 140), | |
1620 | Transparency = 0.5, | |
1621 | Transparency2 = 1, | |
1622 | CFrame = CF(FIREBALL.Position), | |
1623 | MoveToPos = nil, | |
1624 | RotationX = 0, | |
1625 | RotationY = 0, | |
1626 | RotationZ = 0, | |
1627 | Material = "Neon", | |
1628 | Color = PHEONIXCOLOR, | |
1629 | SoundID = 462692971, | |
1630 | SoundPitch = 1, | |
1631 | SoundVolume = 6 | |
1632 | }) | |
1633 | PARTICLES1.Enabled = false | |
1634 | PARTICLES2.Enabled = false | |
1635 | local EXPLOSION = script.PheonixExplosion1:Clone() | |
1636 | EXPLOSION.Parent = FIREBALL | |
1637 | EXPLOSION.Enabled = true | |
1638 | local EXPLOSION2 = script.PheonixExplosion2:Clone() | |
1639 | EXPLOSION2.Parent = FIREBALL | |
1640 | EXPLOSION2.Enabled = true | |
1641 | wait(0.3) | |
1642 | EXPLOSION.Enabled = false | |
1643 | EXPLOSION2.Enabled = false | |
1644 | break | |
1645 | end | |
1646 | end | |
1647 | PARTICLES1.Enabled = false | |
1648 | PARTICLES2.Enabled = false | |
1649 | Debris:AddItem(FIREBALL, 7) | |
1650 | end)) | |
1651 | end | |
1652 | end | |
1653 | end | |
1654 | wait(0.5) | |
1655 | WELD1:remove() | |
1656 | WELD2:remove() | |
1657 | RING1.Anchored = true | |
1658 | RING2.Anchored = true | |
1659 | coroutine.resume(coroutine.create(function() | |
1660 | for i = 1, 35 do | |
1661 | Swait() | |
1662 | MESH1.Scale = MESH1.Scale - VT(6, 0, 6) | |
1663 | MESH2.Scale = MESH2.Scale - VT(3, 0, 3) | |
1664 | end | |
1665 | RING1:remove() | |
1666 | RING2:remove() | |
1667 | end)) | |
1668 | DIRECTTURN = false | |
1669 | ATTACK = false | |
1670 | end | |
1671 | function PheonixJump() | |
1672 | local DONE = false | |
1673 | local STRENGTH = 15 | |
1674 | local UP = 5 | |
1675 | ATTACK = true | |
1676 | DIRECTTURN = true | |
1677 | local RING, WELD, MESH = MagicRing(RootPart, CF(0, -3.5, 0) * ANGLES(RAD(0), RAD(180), RAD(0)), "Pheonix") | |
1678 | for i = 1, 30 do | |
1679 | Swait() | |
1680 | - | Color = C3(148,0,211), |
1680 | + | |
1681 | RootJoint.C0 = Clerp(RootJoint.C0, ROOTC0 * CF(0, 0, -1.4) * ANGLES(RAD(0), RAD(-5), RAD(-15)), 2 / Animation_Speed) | |
1682 | Neck.C0 = Clerp(Neck.C0, NECKC0 * CF(0, 0, 0) * ANGLES(RAD(15), RAD(0), RAD(15)), 0.5 / Animation_Speed) | |
1683 | RightShoulder.C0 = Clerp(RightShoulder.C0, CF(1.5, 0.5 + 0.05 * COS(SINE / 12), 0) * ANGLES(RAD(15), RAD(0), RAD(0)) * RIGHTSHOULDERC0, 2 / Animation_Speed) | |
1684 | LeftShoulder.C0 = Clerp(LeftShoulder.C0, CF(-1.5, 0, 0) * ANGLES(RAD(0), RAD(0), RAD(-12)) * LEFTSHOULDERC0, 2 / Animation_Speed) | |
1685 | RightHip.C0 = Clerp(RightHip.C0, CF(1, -0.35, -0.25) * ANGLES(RAD(35), RAD(35), RAD(0)) * ANGLES(RAD(-5), RAD(0), RAD(0)), 2 / Animation_Speed) | |
1686 | LeftHip.C0 = Clerp(LeftHip.C0, CF(-1, -1.5, -0.4) * ANGLES(RAD(0), RAD(-75), RAD(0)) * ANGLES(RAD(-5), RAD(0), RAD(90)), 2 / Animation_Speed) | |
1687 | end | |
1688 | local KEYDOWN = Mouse.KeyDown:connect(function(NEWKEY) | |
1689 | if NEWKEY == "w" and VALUE2 == false then | |
1690 | coroutine.resume(coroutine.create(function() | |
1691 | ApplyAoE(RING.Position, 35, 15, 20, 35, true, MRANDOM(12, 16), "Pheonix", true, { | |
1692 | SHAKE = 2, | |
1693 | TIMER = 15, | |
1694 | DOESFADE = true | |
1695 | }) | |
1696 | WACKYEFFECT({ | |
1697 | EffectType = "Sphere", | |
1698 | Size = VT(0, 0, 0), | |
1699 | Size2 = VT(50, 50, 50), | |
1700 | Transparency = 0, | |
1701 | Transparency2 = 1, | |
1702 | CFrame = CF(RING.Position), | |
1703 | MoveToPos = nil, | |
1704 | RotationX = 0, | |
1705 | RotationY = 0, | |
1706 | RotationZ = 0, | |
1707 | Material = "Neon", | |
1708 | Color = C3(1, 0.6666666666666666, 0), | |
1709 | SoundID = nil, | |
1710 | SoundPitch = nil, | |
1711 | SoundVolume = nil | |
1712 | }) | |
1713 | WACKYEFFECT({ | |
1714 | EffectType = "Sphere", | |
1715 | Size = VT(0, 0, 0), | |
1716 | Size2 = VT(70, 70, 70), | |
1717 | Transparency = 0.5, | |
1718 | Transparency2 = 1, | |
1719 | CFrame = CF(RING.Position), | |
1720 | MoveToPos = nil, | |
1721 | RotationX = 0, | |
1722 | RotationY = 0, | |
1723 | RotationZ = 0, | |
1724 | Material = "Neon", | |
1725 | Color = PHEONIXCOLOR, | |
1726 | SoundID = 462692971, | |
1727 | SoundPitch = 1.2, | |
1728 | SoundVolume = 6 | |
1729 | }) | |
1730 | local EXPLOSION = script.PheonixExplosion1:Clone() | |
1731 | EXPLOSION.Parent = RING | |
1732 | EXPLOSION.Enabled = true | |
1733 | local EXPLOSION2 = script.PheonixExplosion2:Clone() | |
1734 | EXPLOSION2.Parent = RING | |
1735 | - | Color = C3(148,0,211), |
1735 | + | |
1736 | wait(0.3) | |
1737 | EXPLOSION.Enabled = false | |
1738 | EXPLOSION2.Enabled = false | |
1739 | Debris:AddItem(RING, 3) | |
1740 | end)) | |
1741 | CreateSound(462676772, Torso, 8, 1, false) | |
1742 | coroutine.resume(coroutine.create(function() | |
1743 | for i = 1, 25 do | |
1744 | Swait() | |
1745 | ApplyAoE(Torso.Position, 15, 15, 20, 75, true, MRANDOM(4, 5), "Pheonix", false, { | |
1746 | SHAKE = 4, | |
1747 | TIMER = 5, | |
1748 | DOESFADE = true | |
1749 | }) | |
1750 | WACKYEFFECT({ | |
1751 | Time = 10, | |
1752 | EffectType = "Wave", | |
1753 | Size = VT(45, 5, 45) / 3, | |
1754 | Size2 = VT(35, 200, 35) / 5, | |
1755 | Transparency = 0.8, | |
1756 | Transparency2 = 1, | |
1757 | CFrame = Torso.CFrame * ANGLES(RAD(180), RAD(0), RAD(0)), | |
1758 | MoveToPos = nil, | |
1759 | RotationX = 0, | |
1760 | RotationY = 5, | |
1761 | RotationZ = 0, | |
1762 | Material = "Neon", | |
1763 | Color = C3(1, 0.6666666666666666, 0), | |
1764 | SoundID = nil, | |
1765 | SoundPitch = nil, | |
1766 | SoundVolume = nil | |
1767 | }) | |
1768 | WACKYEFFECT({ | |
1769 | Time = 10, | |
1770 | EffectType = "Wave", | |
1771 | Size = VT(55, 5, 55) / 3, | |
1772 | Size2 = VT(45, 200, 45) / 5, | |
1773 | Transparency = 0.8, | |
1774 | Transparency2 = 1, | |
1775 | CFrame = Torso.CFrame * ANGLES(RAD(180), RAD(0), RAD(0)), | |
1776 | MoveToPos = nil, | |
1777 | RotationX = 0, | |
1778 | RotationY = -5, | |
1779 | RotationZ = 0, | |
1780 | Material = "Neon", | |
1781 | Color = PHEONIXCOLOR, | |
1782 | SoundID = nil, | |
1783 | SoundPitch = nil, | |
1784 | SoundVolume = nil | |
1785 | }) | |
1786 | RootJoint.C0 = Clerp(RootJoint.C0, ROOTC0 * CF(0, 0, 0 + 1 * SIN(SINE / 24)) * ANGLES(RAD(65), RAD(0), RAD(28.8 * i)), 2 / Animation_Speed) | |
1787 | Neck.C0 = Clerp(Neck.C0, NECKC0 * CF(0, 0, 0) * ANGLES(RAD(-20), RAD(0), RAD(0)), 1 / Animation_Speed) | |
1788 | RightShoulder.C0 = Clerp(RightShoulder.C0, CF(1.5, 0.5, 0) * ANGLES(RAD(-15), RAD(0), RAD(15)) * RIGHTSHOULDERC0, 1 / Animation_Speed) | |
1789 | LeftShoulder.C0 = Clerp(LeftShoulder.C0, CF(-1.5, 0.5, 0) * ANGLES(RAD(-15), RAD(0), RAD(-15)) * LEFTSHOULDERC0, 1 / Animation_Speed) | |
1790 | RightHip.C0 = Clerp(RightHip.C0, CF(1, -1, 0) * ANGLES(RAD(-15), RAD(65), RAD(0)) * ANGLES(RAD(-10), RAD(0), RAD(0)), 0.2 / Animation_Speed) | |
1791 | LeftHip.C0 = Clerp(LeftHip.C0, CF(-1, -1, 0) * ANGLES(RAD(-15), RAD(-65), RAD(0)) * ANGLES(RAD(-10), RAD(0), RAD(0)), 0.2 / Animation_Speed) | |
1792 | end | |
1793 | ATTACK = false | |
1794 | end)) | |
1795 | repeat | |
1796 | VALUE2 = true | |
1797 | Swait() | |
1798 | BODYPOS.Position = RootPart.CFrame * CF(0, UP, -STRENGTH).p | |
1799 | if STRENGTH > 2.5 then | |
1800 | STRENGTH = STRENGTH - 0.1 | |
1801 | else | |
1802 | STRENGTH = 2.5 | |
1803 | end | |
1804 | if UP > 0 then | |
1805 | UP = UP - 0.15 | |
1806 | else | |
1807 | UP = 0 | |
1808 | end | |
1809 | until KEYHOLD == false and STRENGTH < 5 and ATTACK == false | |
1810 | DONE = true | |
1811 | end | |
1812 | end) | |
1813 | repeat | |
1814 | Swait() | |
1815 | if STRENGTH < 50 then | |
1816 | STRENGTH = STRENGTH + 0.15 | |
1817 | MESH.Scale = MESH.Scale + VT(0.5, 0, 0.5) | |
1818 | end | |
1819 | RootJoint.C0 = Clerp(RootJoint.C0, ROOTC0 * CF(0, 0, -1.4) * ANGLES(RAD(0), RAD(-5), RAD(-15)), 2 / Animation_Speed) | |
1820 | Neck.C0 = Clerp(Neck.C0, NECKC0 * CF(0, 0, 0) * ANGLES(RAD(15), RAD(0), RAD(15)), 0.5 / Animation_Speed) | |
1821 | RightShoulder.C0 = Clerp(RightShoulder.C0, CF(1.5, 0.5 + 0.05 * COS(SINE / 12), 0) * ANGLES(RAD(15), RAD(0), RAD(0)) * RIGHTSHOULDERC0, 2 / Animation_Speed) | |
1822 | LeftShoulder.C0 = Clerp(LeftShoulder.C0, CF(-1.5, 0, 0) * ANGLES(RAD(0), RAD(0), RAD(-12)) * LEFTSHOULDERC0, 2 / Animation_Speed) | |
1823 | RightHip.C0 = Clerp(RightHip.C0, CF(1, -0.35, -0.25) * ANGLES(RAD(35), RAD(35), RAD(0)) * ANGLES(RAD(-5), RAD(0), RAD(0)), 2 / Animation_Speed) | |
1824 | LeftHip.C0 = Clerp(LeftHip.C0, CF(-1, -1.5, -0.4) * ANGLES(RAD(0), RAD(-75), RAD(0)) * ANGLES(RAD(-5), RAD(0), RAD(90)), 2 / Animation_Speed) | |
1825 | until VALUE2 == true | |
1826 | DIRECTTURN = false | |
1827 | WELD:remove() | |
1828 | RING.Anchored = true | |
1829 | local SIZE = MESH.Scale.X | |
1830 | coroutine.resume(coroutine.create(function() | |
1831 | for i = 1, 30 do | |
1832 | Swait() | |
1833 | MESH.Scale = MESH.Scale - VT(SIZE, 0, SIZE) / 30 | |
1834 | end | |
1835 | RING:remove() | |
1836 | end)) | |
1837 | repeat | |
1838 | wait() | |
1839 | until DONE == true | |
1840 | KEYDOWN:disconnect() | |
1841 | VALUE2 = false | |
1842 | end | |
1843 | function DragonFirePillar() | |
1844 | ATTACK = true | |
1845 | local POS = Mouse.Hit.p | |
1846 | APPLYGYRO = false | |
1847 | local RING, WELD, MESH = MagicRing(RightArm, CF(0, -1.2, 0) * ANGLES(RAD(0), RAD(180), RAD(0)), "Fire") | |
1848 | coroutine.resume(coroutine.create(function() | |
1849 | - | Color = C3(148,0,211), |
1849 | + | |
1850 | Swait() | |
1851 | GYRO.CFrame = CF(RootPart.Position, POS) | |
1852 | RootJoint.C0 = Clerp(RootJoint.C0, ROOTC0 * CF(0, 0, 0 + 1 * SIN(SINE / 24)) * ANGLES(RAD(0), RAD(0), RAD(24)), 2 / Animation_Speed) | |
1853 | Neck.C0 = Clerp(Neck.C0, NECKC0 * CF(0, 0, 0) * ANGLES(RAD(20), RAD(0), RAD(-24)), 1 / Animation_Speed) | |
1854 | RightShoulder.C0 = Clerp(RightShoulder.C0, CF(1.25, 0.5, -0.3) * ANGLES(RAD(90), RAD(0), RAD(24)) * RIGHTSHOULDERC0, 1 / Animation_Speed) | |
1855 | LeftShoulder.C0 = Clerp(LeftShoulder.C0, CF(-1.45, 0.1, -0.3) * ANGLES(RAD(0), RAD(45), RAD(0)) * ANGLES(RAD(165), RAD(0), RAD(0)) * LEFTSHOULDERC0, 1 / Animation_Speed) | |
1856 | RightHip.C0 = Clerp(RightHip.C0, CF(1, -0.5, -0.5) * ANGLES(RAD(0), RAD(75), RAD(0)) * ANGLES(RAD(0), RAD(0), RAD(0)), 1 / Animation_Speed) | |
1857 | LeftHip.C0 = Clerp(LeftHip.C0, CF(-1, -1, 0) * ANGLES(RAD(0), RAD(-90), RAD(0)) * ANGLES(RAD(0), RAD(0), RAD(0)), 1 / Animation_Speed) | |
1858 | until ATTACK == false | |
1859 | end)) | |
1860 | for i = 1, 40 do | |
1861 | MESH.Scale = MESH.Scale + VT(4, 0, 4) | |
1862 | Swait() | |
1863 | end | |
1864 | for i = 1, 6 do | |
1865 | WACKYEFFECT({ | |
1866 | EffectType = "Sphere", | |
1867 | Size = VT(35, 35, 35), | |
1868 | Size2 = VT(0, 0, 0), | |
1869 | Transparency = 1, | |
1870 | Transparency2 = 0.5, | |
1871 | CFrame = CF(POS), | |
1872 | MoveToPos = nil, | |
1873 | RotationX = 0, | |
1874 | RotationY = 0, | |
1875 | RotationZ = 0, | |
1876 | Material = "Neon", | |
1877 | - | Color = C3(148,0,211), |
1877 | + | Color = C3(1, 0.3333333333333333, 0), |
1878 | SoundID = nil, | |
1879 | SoundPitch = nil, | |
1880 | SoundVolume = nil | |
1881 | }) | |
1882 | wait(1) | |
1883 | end | |
1884 | coroutine.resume(coroutine.create(function() | |
1885 | coroutine.resume(coroutine.create(function() | |
1886 | for i = 1, 30 do | |
1887 | Swait() | |
1888 | MESH.Scale = MESH.Scale - VT(4, 0, 4) | |
1889 | end | |
1890 | RING:remove() | |
1891 | end)) | |
1892 | WACKYEFFECT({ | |
1893 | Time = 640, | |
1894 | EffectType = "Sphere", | |
1895 | Size = VT(15, 500, 15), | |
1896 | Size2 = VT(10, 700, 10), | |
1897 | Transparency = 0, | |
1898 | Transparency2 = 1, | |
1899 | CFrame = CF(POS), | |
1900 | MoveToPos = nil, | |
1901 | - | Color = C3(148,0,211), |
1901 | + | |
1902 | RotationY = 0, | |
1903 | RotationZ = 0, | |
1904 | Material = "Neon", | |
1905 | Color = C3(1, 0.3333333333333333, 0), | |
1906 | SoundID = nil, | |
1907 | SoundPitch = nil, | |
1908 | SoundVolume = nil | |
1909 | }) | |
1910 | for i = 1, 15 do | |
1911 | ApplyAoE(POS, 35, 20, 30, 15, true, MRANDOM(3, 4), "Fire", true, { | |
1912 | SHAKE = 5, | |
1913 | TIMER = 6, | |
1914 | DOESFADE = true | |
1915 | }) | |
1916 | WACKYEFFECT({ | |
1917 | Time = 125, | |
1918 | EffectType = "Wave", | |
1919 | - | Color = C3(0,255,255), |
1919 | + | |
1920 | Size2 = VT(250, 35, 250), | |
1921 | Transparency = 0.4, | |
1922 | Transparency2 = 1, | |
1923 | CFrame = CF(POS) * ANGLES(RAD(0), RAD(MRANDOM(0, 360)), RAD(0)), | |
1924 | MoveToPos = nil, | |
1925 | RotationX = 0, | |
1926 | RotationY = MRANDOM(-5, 5) * 2, | |
1927 | RotationZ = 0, | |
1928 | Material = "Neon", | |
1929 | Color = C3(1, 0.3333333333333333, 0), | |
1930 | SoundID = nil, | |
1931 | SoundPitch = MRANDOM(9, 11) / 10, | |
1932 | SoundVolume = 4 | |
1933 | }) | |
1934 | WACKYEFFECT({ | |
1935 | Time = 75, | |
1936 | EffectType = "Swirl", | |
1937 | - | Color = C3(0,255,255), |
1937 | + | |
1938 | Size2 = VT(65, 500, 65), | |
1939 | Transparency = 0.4, | |
1940 | Transparency2 = 1, | |
1941 | CFrame = CF(POS) * ANGLES(RAD(0), RAD(MRANDOM(0, 360)), RAD(0)), | |
1942 | MoveToPos = nil, | |
1943 | RotationX = 0, | |
1944 | RotationY = MRANDOM(-5, 5) * 6, | |
1945 | RotationZ = 0, | |
1946 | Material = "Neon", | |
1947 | Color = C3(1, 0.3333333333333333, 0), | |
1948 | SoundID = nil, | |
1949 | SoundPitch = MRANDOM(9, 11) / 10, | |
1950 | SoundVolume = 4 | |
1951 | }) | |
1952 | WACKYEFFECT({ | |
1953 | Time = 75, | |
1954 | EffectType = "Swirl", | |
1955 | Size = VT(20, 20, 20), | |
1956 | Size2 = VT(45, 600, 45), | |
1957 | Transparency = 0.4, | |
1958 | Transparency2 = 1, | |
1959 | CFrame = CF(POS) * ANGLES(RAD(0), RAD(MRANDOM(0, 360)), RAD(0)), | |
1960 | MoveToPos = nil, | |
1961 | RotationX = 0, | |
1962 | RotationY = MRANDOM(-5, 5) * 6, | |
1963 | RotationZ = 0, | |
1964 | Material = "Neon", | |
1965 | Color = C3(1, 0.3333333333333333, 0), | |
1966 | SoundID = 304529688, | |
1967 | SoundPitch = MRANDOM(9, 11) / 10, | |
1968 | SoundVolume = 4 | |
1969 | }) | |
1970 | wait(0.6) | |
1971 | end | |
1972 | end)) | |
1973 | APPLYGYRO = true | |
1974 | ATTACK = false | |
1975 | end | |
1976 | function PheonixTornado() | |
1977 | ATTACK = true | |
1978 | local BUILDUP = true | |
1979 | local HITS = {} | |
1980 | PARTICLES = true | |
1981 | coroutine.resume(coroutine.create(function() | |
1982 | repeat | |
1983 | Swait() | |
1984 | RootJoint.C0 = Clerp(RootJoint.C0, ROOTC0 * CF(0, 0, 0 + 1 * SIN(SINE / 24)) * ANGLES(RAD(0), RAD(0), RAD(0)), 2 / Animation_Speed) | |
1985 | Neck.C0 = Clerp(Neck.C0, NECKC0 * CF(0, 0, 0) * ANGLES(RAD(20), RAD(0), RAD(0)), 1 / Animation_Speed) | |
1986 | RightShoulder.C0 = Clerp(RightShoulder.C0, CF(1.5, 0.5, 0) * ANGLES(RAD(0), RAD(-15), RAD(25)) * RIGHTSHOULDERC0, 1 / Animation_Speed) | |
1987 | LeftShoulder.C0 = Clerp(LeftShoulder.C0, CF(-1.5, 0.5, 0) * ANGLES(RAD(0), RAD(15), RAD(-25)) * LEFTSHOULDERC0, 1 / Animation_Speed) | |
1988 | RightHip.C0 = Clerp(RightHip.C0, CF(1, -0.5, -0.5) * ANGLES(RAD(0), RAD(75), RAD(0)) * ANGLES(RAD(0), RAD(0), RAD(0)), 1 / Animation_Speed) | |
1989 | - | Color = C3(148,0,211), |
1989 | + | |
1990 | until BUILDUP == false | |
1991 | end)) | |
1992 | WINGS1.Acceleration = VT(9, 0, -12) | |
1993 | WINGS1B.Acceleration = VT(9, 0, -12) | |
1994 | WINGS2.Acceleration = VT(-9, 0, -12) | |
1995 | WINGS2B.Acceleration = VT(-9, 0, -12) | |
1996 | wait(1) | |
1997 | CreateSound(462676772, Torso, 7, 1, false) | |
1998 | WINGS1.Acceleration = VT(9, 1, 4) | |
1999 | WINGS1B.Acceleration = VT(9, 1, 4) | |
2000 | WINGS2.Acceleration = VT(-9, 1, 4) | |
2001 | WINGS2B.Acceleration = VT(-9, 1, 4) | |
2002 | wait(0.25) | |
2003 | AddChildrenToTable(Torso.Position, workspace, 35, HITS) | |
2004 | WACKYEFFECT({ | |
2005 | Time = 40, | |
2006 | EffectType = "Swirl", | |
2007 | Size = VT(50, 5, 50), | |
2008 | Size2 = VT(50, 60, 50), | |
2009 | Transparency = 0.8, | |
2010 | Transparency2 = 1, | |
2011 | CFrame = Torso.CFrame * ANGLES(RAD(180), RAD(0), RAD(0)), | |
2012 | MoveToPos = nil, | |
2013 | RotationX = 0, | |
2014 | RotationY = -5, | |
2015 | RotationZ = 0, | |
2016 | Material = "Neon", | |
2017 | Color = C3(0.8, 0.8, 0.8), | |
2018 | SoundID = nil, | |
2019 | SoundPitch = nil, | |
2020 | SoundVolume = nil | |
2021 | }) | |
2022 | BUILDUP = false | |
2023 | PARTICLES = false | |
2024 | if #HITS > 0 then | |
2025 | do | |
2026 | local BODIES = {} | |
2027 | if #HITS == 1 then | |
2028 | for i = 1, #HITS do | |
2029 | local TORSO = HITS[i]:FindFirstChild("HumanoidRootPart") or HITS[i]:FindFirstChild("Torso") or HITS[i]:FindFirstChild("UpperTorso") | |
2030 | local HUM = HITS[i]:FindFirstChildOfClass("Humanoid") | |
2031 | if HUM and TORSO and 0 < HUM.Health then | |
2032 | local POSITION = IT("BodyPosition", TORSO) | |
2033 | POSITION.Position = RootPart.CFrame * CF(0, 45, -35).p | |
2034 | POSITION.D = 15 | |
2035 | POSITION.P = 4000000 | |
2036 | table.insert(BODIES, POSITION) | |
2037 | end | |
2038 | end | |
2039 | else | |
2040 | for i = 1, #HITS do | |
2041 | local TORSO = HITS[i]:FindFirstChild("HumanoidRootPart") or HITS[i]:FindFirstChild("Torso") or HITS[i]:FindFirstChild("UpperTorso") | |
2042 | local HUM = HITS[i]:FindFirstChildOfClass("Humanoid") | |
2043 | if HUM and TORSO and 0 < HUM.Health then | |
2044 | local POSITION = IT("BodyPosition", TORSO) | |
2045 | POSITION.Position = RootPart.CFrame * CF(0, 35, -35) * ANGLES(RAD(0), RAD(360 / #HITS * i), RAD(0)) * CF(0, 0, 10).p | |
2046 | POSITION.D = 450 | |
2047 | POSITION.P = 40000 | |
2048 | POSITION.maxForce = Vector3.new(math.huge, math.huge, math.huge) | |
2049 | - | Color = C3(148,0,211), |
2049 | + | |
2050 | end | |
2051 | end | |
2052 | end | |
2053 | local POS = RootPart.CFrame * CF(0, 35, -35).p | |
2054 | wait(1.75) | |
2055 | BODYPOS.D = 450 | |
2056 | BODYPOS.Position = POS | |
2057 | wait(0.5) | |
2058 | APPLYGYRO = false | |
2059 | local E = 0 | |
2060 | CreateSound(1417056081, RootPart, 10, 0.5, false) | |
2061 | for i = 1, 50 do | |
2062 | Swait() | |
2063 | E = E + 1 | |
2064 | WACKYEFFECT({ | |
2065 | Time = 25, | |
2066 | EffectType = "Wave", | |
2067 | Size = VT(45, 5, 45) / 3, | |
2068 | Size2 = VT(35, 200, 35) / 5, | |
2069 | Transparency = 0.8, | |
2070 | Transparency2 = 1, | |
2071 | CFrame = Torso.CFrame * ANGLES(RAD(180), RAD(0), RAD(0)), | |
2072 | MoveToPos = nil, | |
2073 | RotationX = 0, | |
2074 | RotationY = 5, | |
2075 | RotationZ = 0, | |
2076 | Material = "Neon", | |
2077 | Color = C3(1, 0.6666666666666666, 0), | |
2078 | SoundID = nil, | |
2079 | - | local TORNADO = CreatePart(3, Effects, "Neon", 0, 1, "Teal", "Tornado", VT(0, 0, 0)) |
2079 | + | |
2080 | SoundVolume = nil | |
2081 | }) | |
2082 | WACKYEFFECT({ | |
2083 | Time = 25, | |
2084 | EffectType = "Wave", | |
2085 | - | DECAL.Color3 = BRICKC("Dark indigo").Color |
2085 | + | |
2086 | Size2 = VT(45, 200, 45) / 5, | |
2087 | Transparency = 0.8, | |
2088 | Transparency2 = 1, | |
2089 | CFrame = Torso.CFrame * ANGLES(RAD(180), RAD(0), RAD(0)), | |
2090 | MoveToPos = nil, | |
2091 | RotationX = 0, | |
2092 | RotationY = -5, | |
2093 | RotationZ = 0, | |
2094 | Material = "Neon", | |
2095 | Color = PHEONIXCOLOR, | |
2096 | SoundID = nil, | |
2097 | SoundPitch = nil, | |
2098 | SoundVolume = nil | |
2099 | }) | |
2100 | RootJoint.C0 = Clerp(RootJoint.C0, ROOTC0 * CF(0, 0, 0 + 1 * SIN(SINE / 24)) * ANGLES(RAD(0), RAD(0), RAD(-E * 10)) * CF(45, 0, 0) * ANGLES(RAD(65), RAD(0), RAD(0)), 2 / Animation_Speed) | |
2101 | Neck.C0 = Clerp(Neck.C0, NECKC0 * CF(0, 0, 0) * ANGLES(RAD(-20), RAD(0), RAD(0)), 1 / Animation_Speed) | |
2102 | RightShoulder.C0 = Clerp(RightShoulder.C0, CF(1.5, 0.5, 0) * ANGLES(RAD(-15), RAD(0), RAD(15)) * RIGHTSHOULDERC0, 1 / Animation_Speed) | |
2103 | LeftShoulder.C0 = Clerp(LeftShoulder.C0, CF(-1.5, 0.5, 0) * ANGLES(RAD(-15), RAD(0), RAD(-15)) * LEFTSHOULDERC0, 1 / Animation_Speed) | |
2104 | RightHip.C0 = Clerp(RightHip.C0, CF(1, -1, 0) * ANGLES(RAD(-15), RAD(65), RAD(0)) * ANGLES(RAD(-10), RAD(0), RAD(0)), 0.2 / Animation_Speed) | |
2105 | LeftHip.C0 = Clerp(LeftHip.C0, CF(-1, -1, 0) * ANGLES(RAD(-15), RAD(-65), RAD(0)) * ANGLES(RAD(-10), RAD(0), RAD(0)), 0.2 / Animation_Speed) | |
2106 | end | |
2107 | local TORNADO = CreatePart(3, Effects, "Neon", 0, 1, "Really red", "Tornado", VT(0, 0, 0)) | |
2108 | TORNADO.CFrame = CF(POS) | |
2109 | local MESH = CreateMesh("SpecialMesh", TORNADO, "FileMesh", "102638417", "", VT(25, 25, 25), VT(0, 0, 0)) | |
2110 | local DECAL = IT("Decal", TORNADO) | |
2111 | DECAL.Texture = "rbxassetid://559849514" | |
2112 | DECAL.Transparency = 1 | |
2113 | DECAL.Color3 = BRICKC("Deep orange").Color | |
2114 | - | Color = C3(148,0,211), |
2114 | + | |
2115 | for i = 1, 250 do | |
2116 | Swait() | |
2117 | E = E + 1 | |
2118 | LOOP = LOOP + 1 | |
2119 | if LOOP == 10 then | |
2120 | LOOP = 0 | |
2121 | ApplyAoE(TORNADO.Position, 35, 2, 2, 0, true, MRANDOM(3, 4), "Pheonix", true, { | |
2122 | SHAKE = 2, | |
2123 | TIMER = 4, | |
2124 | DOESFADE = true | |
2125 | }) | |
2126 | end | |
2127 | TORNADO.CFrame = CF(POS) * ANGLES(RAD(0), RAD(-E * 10), RAD(0)) | |
2128 | DECAL.Transparency = DECAL.Transparency - 0.002 | |
2129 | WACKYEFFECT({ | |
2130 | Time = 25, | |
2131 | EffectType = "Wave", | |
2132 | Size = VT(45, 5, 45) / 3, | |
2133 | Size2 = VT(35, 200, 35) / 5, | |
2134 | Transparency = 0.8, | |
2135 | Transparency2 = 1, | |
2136 | CFrame = Torso.CFrame * ANGLES(RAD(180), RAD(0), RAD(0)), | |
2137 | MoveToPos = nil, | |
2138 | RotationX = 0, | |
2139 | RotationY = 5, | |
2140 | RotationZ = 0, | |
2141 | Material = "Neon", | |
2142 | Color = C3(1, 0.6666666666666666, 0), | |
2143 | SoundID = nil, | |
2144 | SoundPitch = nil, | |
2145 | SoundVolume = nil | |
2146 | }) | |
2147 | WACKYEFFECT({ | |
2148 | Time = 25, | |
2149 | EffectType = "Wave", | |
2150 | Size = VT(55, 5, 55) / 3, | |
2151 | Size2 = VT(45, 200, 45) / 5, | |
2152 | Transparency = 0.9, | |
2153 | Transparency2 = 1, | |
2154 | CFrame = Torso.CFrame * ANGLES(RAD(180), RAD(0), RAD(0)), | |
2155 | MoveToPos = nil, | |
2156 | RotationX = 0, | |
2157 | RotationY = -5, | |
2158 | RotationZ = 0, | |
2159 | Material = "Neon", | |
2160 | Color = PHEONIXCOLOR, | |
2161 | SoundID = nil, | |
2162 | SoundPitch = nil, | |
2163 | SoundVolume = nil | |
2164 | }) | |
2165 | RootJoint.C0 = Clerp(RootJoint.C0, ROOTC0 * CF(0, 0, 0 + 1 * SIN(SINE / 24)) * ANGLES(RAD(0), RAD(0), RAD(-E * 10)) * CF(45, 0, 0) * ANGLES(RAD(65), RAD(0), RAD(0)), 2 / Animation_Speed) | |
2166 | Neck.C0 = Clerp(Neck.C0, NECKC0 * CF(0, 0, 0) * ANGLES(RAD(-20), RAD(0), RAD(0)), 1 / Animation_Speed) | |
2167 | RightShoulder.C0 = Clerp(RightShoulder.C0, CF(1.5, 0.5, 0) * ANGLES(RAD(-15), RAD(0), RAD(15)) * RIGHTSHOULDERC0, 1 / Animation_Speed) | |
2168 | LeftShoulder.C0 = Clerp(LeftShoulder.C0, CF(-1.5, 0.5, 0) * ANGLES(RAD(-15), RAD(0), RAD(-15)) * LEFTSHOULDERC0, 1 / Animation_Speed) | |
2169 | RightHip.C0 = Clerp(RightHip.C0, CF(1, -1, 0) * ANGLES(RAD(-15), RAD(65), RAD(0)) * ANGLES(RAD(-10), RAD(0), RAD(0)), 0.2 / Animation_Speed) | |
2170 | LeftHip.C0 = Clerp(LeftHip.C0, CF(-1, -1, 0) * ANGLES(RAD(-15), RAD(-65), RAD(0)) * ANGLES(RAD(-10), RAD(0), RAD(0)), 0.2 / Animation_Speed) | |
2171 | end | |
2172 | for i = 1, #BODIES do | |
2173 | BODIES[i]:remove() | |
2174 | - | Color = C3(148,0,211), |
2174 | + | |
2175 | coroutine.resume(coroutine.create(function() | |
2176 | for i = 1, 25 do | |
2177 | Swait() | |
2178 | DECAL.Transparency = DECAL.Transparency + 0.02 | |
2179 | TORNADO.CFrame = CF(POS) * ANGLES(RAD(0), RAD(-E * 10), RAD(0)) | |
2180 | end | |
2181 | TORNADO:remove() | |
2182 | end)) | |
2183 | for i = 1, 75 do | |
2184 | Swait() | |
2185 | E = E + 1 | |
2186 | LOOP = LOOP + 1 | |
2187 | TORNADO.CFrame = CF(POS) * ANGLES(RAD(0), RAD(-E * 15), RAD(0)) | |
2188 | DECAL.Transparency = DECAL.Transparency - 0.002 | |
2189 | WACKYEFFECT({ | |
2190 | Time = 25, | |
2191 | EffectType = "Wave", | |
2192 | Size = VT(45, 5, 45) / 3, | |
2193 | Size2 = VT(35, 200, 35) / 5, | |
2194 | Transparency = 0.8, | |
2195 | Transparency2 = 1, | |
2196 | CFrame = Torso.CFrame * ANGLES(RAD(180), RAD(0), RAD(0)), | |
2197 | MoveToPos = nil, | |
2198 | RotationX = 0, | |
2199 | RotationY = 5, | |
2200 | RotationZ = 0, | |
2201 | Material = "Neon", | |
2202 | Color = C3(1, 0.6666666666666666, 0), | |
2203 | SoundID = nil, | |
2204 | SoundPitch = nil, | |
2205 | SoundVolume = nil | |
2206 | }) | |
2207 | WACKYEFFECT({ | |
2208 | Time = 25, | |
2209 | EffectType = "Wave", | |
2210 | Size = VT(55, 5, 55) / 3, | |
2211 | Size2 = VT(45, 200, 45) / 5, | |
2212 | Transparency = 0.8, | |
2213 | Transparency2 = 1, | |
2214 | CFrame = Torso.CFrame * ANGLES(RAD(180), RAD(0), RAD(0)), | |
2215 | MoveToPos = nil, | |
2216 | RotationX = 0, | |
2217 | RotationY = -5, | |
2218 | RotationZ = 0, | |
2219 | Material = "Neon", | |
2220 | Color = PHEONIXCOLOR, | |
2221 | SoundID = nil, | |
2222 | SoundPitch = nil, | |
2223 | SoundVolume = nil | |
2224 | }) | |
2225 | RootJoint.C0 = Clerp(RootJoint.C0, ROOTC0 * CF(0, 0, 0 + 1 * SIN(SINE / 24)) * ANGLES(RAD(0), RAD(0), RAD(-E * 10)) * CF(45 - 0.6 * i, 0, 0) * ANGLES(RAD(65), RAD(0), RAD(0)), 2 / Animation_Speed) | |
2226 | Neck.C0 = Clerp(Neck.C0, NECKC0 * CF(0, 0, 0) * ANGLES(RAD(-20), RAD(0), RAD(0)), 1 / Animation_Speed) | |
2227 | RightShoulder.C0 = Clerp(RightShoulder.C0, CF(1.5, 0.5, 0) * ANGLES(RAD(-15), RAD(0), RAD(15)) * RIGHTSHOULDERC0, 1 / Animation_Speed) | |
2228 | LeftShoulder.C0 = Clerp(LeftShoulder.C0, CF(-1.5, 0.5, 0) * ANGLES(RAD(-15), RAD(0), RAD(-15)) * LEFTSHOULDERC0, 1 / Animation_Speed) | |
2229 | RightHip.C0 = Clerp(RightHip.C0, CF(1, -1, 0) * ANGLES(RAD(-15), RAD(65), RAD(0)) * ANGLES(RAD(-10), RAD(0), RAD(0)), 0.2 / Animation_Speed) | |
2230 | LeftHip.C0 = Clerp(LeftHip.C0, CF(-1, -1, 0) * ANGLES(RAD(-15), RAD(-65), RAD(0)) * ANGLES(RAD(-10), RAD(0), RAD(0)), 0.2 / Animation_Speed) | |
2231 | - | Size = VT(150, 150, 150), |
2231 | + | |
2232 | BODYPOS.D = 75 | |
2233 | end | |
2234 | end | |
2235 | APPLYGYRO = true | |
2236 | ATTACK = false | |
2237 | end | |
2238 | function PheonixNuke() | |
2239 | if Mouse.Target ~= nil then | |
2240 | ATTACK = true | |
2241 | Rooted = false | |
2242 | BODYPOS.Position = Mouse.Hit.p + VT(0, 6, 0) | |
2243 | BODYPOS.D = 700 | |
2244 | coroutine.resume(coroutine.create(function() | |
2245 | repeat | |
2246 | Swait() | |
2247 | RootJoint.C0 = Clerp(RootJoint.C0, ROOTC0 * CF(0, 0, 0 + 1 * SIN(SINE / 24)) * ANGLES(RAD(0), RAD(0), RAD(0)), 2 / Animation_Speed) | |
2248 | Neck.C0 = Clerp(Neck.C0, NECKC0 * CF(0, 0, 0) * ANGLES(RAD(20), RAD(0), RAD(0)), 1 / Animation_Speed) | |
2249 | RightShoulder.C0 = Clerp(RightShoulder.C0, CF(1.5, 0.5, 0) * ANGLES(RAD(0), RAD(-15), RAD(25)) * RIGHTSHOULDERC0, 1 / Animation_Speed) | |
2250 | LeftShoulder.C0 = Clerp(LeftShoulder.C0, CF(-1.5, 0.5, 0) * ANGLES(RAD(0), RAD(15), RAD(-25)) * LEFTSHOULDERC0, 1 / Animation_Speed) | |
2251 | RightHip.C0 = Clerp(RightHip.C0, CF(1, -0.5, -0.5) * ANGLES(RAD(0), RAD(75), RAD(0)) * ANGLES(RAD(0), RAD(0), RAD(0)), 1 / Animation_Speed) | |
2252 | LeftHip.C0 = Clerp(LeftHip.C0, CF(-1, -1, 0) * ANGLES(RAD(0), RAD(-90), RAD(0)) * ANGLES(RAD(0), RAD(0), RAD(0)), 1 / Animation_Speed) | |
2253 | until ATTACK == false | |
2254 | end)) | |
2255 | wait(1.5) | |
2256 | for i = 1, 4 do | |
2257 | WACKYEFFECT({ | |
2258 | EffectType = "Sphere", | |
2259 | Size = VT(125, 125, 125), | |
2260 | Size2 = VT(0, 0, 0), | |
2261 | Transparency = 1, | |
2262 | Transparency2 = 0.8, | |
2263 | CFrame = CF(Torso.Position), | |
2264 | MoveToPos = nil, | |
2265 | RotationX = 0, | |
2266 | RotationY = 0, | |
2267 | RotationZ = 0, | |
2268 | Material = "Neon", | |
2269 | Color = PHEONIXCOLOR, | |
2270 | SoundID = nil, | |
2271 | SoundPitch = nil, | |
2272 | SoundVolume = nil | |
2273 | }) | |
2274 | wait(0.7) | |
2275 | end | |
2276 | PARTICLES = true | |
2277 | WINGS1.Acceleration = VT(9, 3, 4) | |
2278 | WINGS1B.Acceleration = VT(9, 3, 4) | |
2279 | WINGS2.Acceleration = VT(-9, 3, 4) | |
2280 | WINGS2B.Acceleration = VT(-9, 3, 4) | |
2281 | wait(2) | |
2282 | CreateSound(462676772, Torso, 8, 1, false) | |
2283 | WINGS1.Acceleration = VT(9, -2, -12) | |
2284 | WINGS1B.Acceleration = VT(9, -2, -12) | |
2285 | WINGS2.Acceleration = VT(-9, -2, -12) | |
2286 | WINGS2B.Acceleration = VT(-9, -2, -12) | |
2287 | wait(1) | |
2288 | for i = 1, 5 do | |
2289 | local HITFLOOR, HITPOS = Raycast(RootPart.Position, CF(RootPart.Position, RootPart.Position + VT(0, -1, 0)).lookVector, 25, Character) | |
2290 | ApplyAoE(Torso.Position, 240, 25, 30, 165, true, MRANDOM(5, 7), "Pheonix", true, { | |
2291 | SHAKE = 8, | |
2292 | TIMER = 25, | |
2293 | DOESFADE = true | |
2294 | }) | |
2295 | for i = 1, 5 do | |
2296 | WACKYEFFECT({ | |
2297 | Time = 120, | |
2298 | EffectType = "Swirl", | |
2299 | Size = VT(20, 20, 20), | |
2300 | - | Color = C3(148,0,211), |
2300 | + | |
2301 | Transparency = 0.8, | |
2302 | Transparency2 = 1, | |
2303 | CFrame = CF(Torso.Position) * ANGLES(RAD(0), RAD(i * 15), RAD(0)), | |
2304 | MoveToPos = nil, | |
2305 | RotationX = 0, | |
2306 | RotationY = 6 + i, | |
2307 | RotationZ = 0, | |
2308 | Material = "Neon", | |
2309 | Color = PHEONIXCOLOR, | |
2310 | SoundID = nil, | |
2311 | SoundPitch = nil, | |
2312 | SoundVolume = nil | |
2313 | }) | |
2314 | end | |
2315 | WACKYEFFECT({ | |
2316 | Time = 80, | |
2317 | EffectType = "Sphere", | |
2318 | Size = VT(40, 40, 40), | |
2319 | Size2 = VT(240, 240, 240) * 2, | |
2320 | Transparency = 0, | |
2321 | Transparency2 = 1, | |
2322 | CFrame = CF(Torso.Position), | |
2323 | MoveToPos = nil, | |
2324 | RotationX = 0, | |
2325 | RotationY = 0, | |
2326 | RotationZ = 0, | |
2327 | Material = "Neon", | |
2328 | Color = C3(1, 0.6666666666666666, 0), | |
2329 | SoundID = nil, | |
2330 | SoundPitch = 1, | |
2331 | SoundVolume = 8 | |
2332 | }) | |
2333 | WACKYEFFECT({ | |
2334 | Time = 80, | |
2335 | EffectType = "Sphere", | |
2336 | Size = VT(50, 50, 50), | |
2337 | Size2 = VT(250, 250, 250) * 2, | |
2338 | Transparency = 0.5, | |
2339 | Transparency2 = 1, | |
2340 | CFrame = CF(Torso.Position), | |
2341 | MoveToPos = nil, | |
2342 | RotationX = 0, | |
2343 | RotationY = 0, | |
2344 | RotationZ = 0, | |
2345 | Material = "Neon", | |
2346 | Color = PHEONIXCOLOR, | |
2347 | SoundID = nil, | |
2348 | SoundPitch = 0.7, | |
2349 | - | Color = C3(148,0,211), |
2349 | + | |
2350 | }) | |
2351 | local EXPLOSION = script.PheonixExplosion1:Clone() | |
2352 | EXPLOSION.Parent = Torso | |
2353 | EXPLOSION.Enabled = true | |
2354 | local EXPLOSION2 = script.PheonixExplosion2:Clone() | |
2355 | EXPLOSION2.Parent = Torso | |
2356 | EXPLOSION2.Enabled = true | |
2357 | EXPLOSION.Drag = -5 | |
2358 | EXPLOSION2.Drag = -5 | |
2359 | EXPLOSION:Emit(100) | |
2360 | EXPLOSION2:Emit(100) | |
2361 | CreateSound(462692971, Effects, 2, 1, false) | |
2362 | for i = 1, 5 do | |
2363 | wait() | |
2364 | WACKYEFFECT({ | |
2365 | Time = 40, | |
2366 | EffectType = "Wave", | |
2367 | Size = VT(20, 0, 20), | |
2368 | Size2 = (VT(160, 6, 160) + VT(50, 4, 50) * i) * 2, | |
2369 | Transparency = 0.8, | |
2370 | Transparency2 = 1, | |
2371 | CFrame = CF(HITPOS) * ANGLES(RAD(0), RAD(i * 15), RAD(0)), | |
2372 | MoveToPos = nil, | |
2373 | RotationX = 0, | |
2374 | RotationY = -12 + i, | |
2375 | RotationZ = 0, | |
2376 | Material = "Neon", | |
2377 | Color = C3(1, 0.6666666666666666, 0), | |
2378 | SoundID = nil, | |
2379 | SoundPitch = nil, | |
2380 | SoundVolume = nil | |
2381 | }) | |
2382 | WACKYEFFECT({ | |
2383 | Time = 40, | |
2384 | EffectType = "Wave", | |
2385 | Size = VT(20, 0, 20), | |
2386 | Size2 = (VT(180, 6, 180) + VT(50, 5, 50) * i) * 2, | |
2387 | Transparency = 0.8, | |
2388 | Transparency2 = 1, | |
2389 | CFrame = CF(HITPOS) * ANGLES(RAD(0), RAD(i * 15), RAD(0)), | |
2390 | MoveToPos = nil, | |
2391 | RotationX = 0, | |
2392 | RotationY = -12 + i, | |
2393 | RotationZ = 0, | |
2394 | Material = "Neon", | |
2395 | Color = PHEONIXCOLOR, | |
2396 | SoundID = nil, | |
2397 | SoundPitch = nil, | |
2398 | SoundVolume = nil | |
2399 | }) | |
2400 | end | |
2401 | EXPLOSION.Enabled = false | |
2402 | EXPLOSION2.Enabled = false | |
2403 | Debris:AddItem(EXPLOSION, 5) | |
2404 | Debris:AddItem(EXPLOSION2, 5) | |
2405 | wait(0.4) | |
2406 | end | |
2407 | wait(0.6) | |
2408 | PARTICLES = false | |
2409 | BODYPOS.D = 75 | |
2410 | ATTACK = false | |
2411 | Rooted = false | |
2412 | end | |
2413 | end | |
2414 | function MouseDown(Mouse) | |
2415 | if ATTACK == false then | |
2416 | end | |
2417 | end | |
2418 | function MouseUp(Mouse) | |
2419 | HOLD = false | |
2420 | end | |
2421 | function KeyDown(Key) | |
2422 | KEYHOLD = true | |
2423 | if EQUIPPED == true then | |
2424 | if FLIGHT == false then | |
2425 | if Key == "z" and ATTACK == false then | |
2426 | ShootingStar() | |
2427 | end | |
2428 | if Key == "b" and ATTACK == false then | |
2429 | Breath() | |
2430 | end | |
2431 | if Key == "c" and ATTACK == false then | |
2432 | PheonixRage() | |
2433 | end | |
2434 | if Key == "q" and ATTACK == false then | |
2435 | FLIGHT = true | |
2436 | GYRO = IT("BodyGyro", RootPart) | |
2437 | GYRO.D = 75 | |
2438 | GYRO.P = 40000 | |
2439 | GYRO.MaxTorque = VT(40000, 40000, 40000) | |
2440 | GYRO.cframe = CF(RootPart.Position, RootPart.CFrame * CF(0, 0, -1).p) | |
2441 | BODYPOS = Instance.new("BodyPosition", RootPart) | |
2442 | BODYPOS.D = 100 | |
2443 | BODYPOS.P = 20000 | |
2444 | BODYPOS.maxForce = Vector3.new(math.huge, math.huge, math.huge) | |
2445 | BODYPOS.position = RootPart.Position + VT(0, 3, 0) | |
2446 | do | |
2447 | local RING, WELD, MESH = MagicRing(Torso, CF(0, 0.5, 1) * ANGLES(RAD(-90), RAD(0), RAD(0)), "Pheonix") | |
2448 | FLIGHTRING = RING | |
2449 | coroutine.resume(coroutine.create(function() | |
2450 | for i = 1, 40 do | |
2451 | Swait() | |
2452 | MESH.Scale = MESH.Scale + VT(4, 0, 4) | |
2453 | end | |
2454 | end)) | |
2455 | PheonixJump() | |
2456 | end | |
2457 | end | |
2458 | elseif FLIGHT == true then | |
2459 | if Key == "z" and ATTACK == false and VALUE2 == false then | |
2460 | ThreeShootingStars() | |
2461 | end | |
2462 | if Key == "b" and ATTACK == false and VALUE2 == false then | |
2463 | PheonixFlare() | |
2464 | end | |
2465 | if Key == "g" and ATTACK == false and VALUE2 == false then | |
2466 | DragonFirePillar() | |
2467 | end | |
2468 | if Key == "v" and ATTACK == false and VALUE2 == false then | |
2469 | PheonixTornado() | |
2470 | end | |
2471 | if Key == "x" and ATTACK == false and VALUE2 == false then | |
2472 | PheonixNuke() | |
2473 | end | |
2474 | if Key == "q" and ATTACK == false and VALUE2 == false then | |
2475 | FLIGHT = false | |
2476 | coroutine.resume(coroutine.create(function() | |
2477 | if FLIGHTRING then | |
2478 | local MSH = FLIGHTRING.Mesh | |
2479 | local RING = FLIGHTRING | |
2480 | for i = 1, 40 do | |
2481 | Swait() | |
2482 | MSH.Scale = MSH.Scale - VT(4, 0, 4) | |
2483 | end | |
2484 | RING:remove() | |
2485 | end | |
2486 | end)) | |
2487 | end | |
2488 | if Key == "c" and ATTACK == false and VALUE2 == false then | |
2489 | PheonixJump() | |
2490 | end | |
2491 | if Key == "e" and ATTACK == false and VALUE2 == false then | |
2492 | PheonixFireballs()() | |
2493 | end | |
2494 | if Key == "w" and ATTACK == false and VALUE2 == false then | |
2495 | repeat | |
2496 | VALUE2 = true | |
2497 | Swait() | |
2498 | BODYPOS.Position = RootPart.CFrame * CF(0, 0, -2.5).p | |
2499 | until KEYHOLD == false | |
2500 | VALUE2 = false | |
2501 | end | |
2502 | end | |
2503 | end | |
2504 | if Key == "f" and ATTACK == false and FLIGHT == false then | |
2505 | if EQUIPPED == false then | |
2506 | EQUIPPED = true | |
2507 | EYE.Enabled = true | |
2508 | EYE2.Enabled = true | |
2509 | sick:Play() | |
2510 | sick.Pitch = 0.95 | |
2511 | sick.Volume = .1 | |
2512 | ||
2513 | else | |
2514 | EQUIPPED = false | |
2515 | FLIGHT = false | |
2516 | EYE.Enabled = false | |
2517 | EYE2.Enabled = false | |
2518 | sick:Stop() | |
2519 | end | |
2520 | end | |
2521 | if string.byte(Key) == 50 and ATTACK == false then | |
2522 | if Speed == 16 then | |
2523 | Speed = 45 | |
2524 | elseif Speed == 45 then | |
2525 | Speed = 16 | |
2526 | end | |
2527 | end | |
2528 | end | |
2529 | function KeyUp(Key) | |
2530 | KEYHOLD = false | |
2531 | end | |
2532 | Mouse.Button1Down:connect(function(NEWKEY) | |
2533 | MouseDown(NEWKEY) | |
2534 | end) | |
2535 | Mouse.Button1Up:connect(function(NEWKEY) | |
2536 | MouseUp(NEWKEY) | |
2537 | end) | |
2538 | Mouse.KeyDown:connect(function(NEWKEY) | |
2539 | KeyDown(NEWKEY) | |
2540 | end) | |
2541 | Mouse.KeyUp:connect(function(NEWKEY) | |
2542 | KeyUp(NEWKEY) | |
2543 | end) | |
2544 | function unanchor() | |
2545 | if UNANCHOR == true then | |
2546 | g = Character:GetChildren() | |
2547 | for i = 1, #g do | |
2548 | if g[i].ClassName == "Part" then | |
2549 | g[i].Anchored = false | |
2550 | end | |
2551 | end | |
2552 | end | |
2553 | end | |
2554 | Humanoid.Changed:connect(function(Jump) | |
2555 | if Jump == "Jump" and Disable_Jump == true then | |
2556 | Humanoid.Jump = false | |
2557 | end | |
2558 | end) | |
2559 | local LOOP = 0 | |
2560 | local TWIST = true | |
2561 | while true do | |
2562 | Swait() | |
2563 | script.Parent = WEAPONGUI | |
2564 | ANIMATE.Parent = nil | |
2565 | for _, v in next, Humanoid:GetPlayingAnimationTracks() do | |
2566 | v:Stop() | |
2567 | end | |
2568 | SINE = SINE + CHANGE | |
2569 | local TORSOVELOCITY = (RootPart.Velocity * VT(1, 0, 1)).magnitude | |
2570 | local TORSOVERTICALVELOCITY = RootPart.Velocity.y | |
2571 | local HITFLOOR = Raycast(RootPart.Position, CF(RootPart.Position, RootPart.Position + VT(0, -1, 0)).lookVector, 4, Character) | |
2572 | local WALKSPEEDVALUE = 5 | |
2573 | if ANIM == "Walk" and TORSOVELOCITY > 1 and FLIGHT == false then | |
2574 | if Humanoid.WalkSpeed <= 20 then | |
2575 | RootJoint.C1 = Clerp(RootJoint.C1, ROOTC0 * CF(0, 0, -0.05 * COS(SINE / (WALKSPEEDVALUE / 2))) * ANGLES(RAD(0), RAD(0), RAD(0)), 2 / Animation_Speed) | |
2576 | Neck.C1 = Clerp(Neck.C1, CF(0, -0.5, 0) * ANGLES(RAD(-90), RAD(0), RAD(180)) * ANGLES(RAD(2.5 * SIN(SINE / (WALKSPEEDVALUE / 2))), RAD(0), RAD(0)), 0.2 * (Humanoid.WalkSpeed / 16) / Animation_Speed) | |
2577 | RightHip.C1 = Clerp(RightHip.C1, CF(0.5, 0.875 - 0.125 * SIN(SINE / WALKSPEEDVALUE) - 0.05 * COS(SINE / WALKSPEEDVALUE * 2), -0.125 * COS(SINE / WALKSPEEDVALUE) + 0.2 + 0.2 * COS(SINE / WALKSPEEDVALUE)) * ANGLES(RAD(0), RAD(90), RAD(0)) * ANGLES(RAD(0), RAD(0), RAD(45 * COS(SINE / WALKSPEEDVALUE))), 0.5 / Animation_Speed) | |
2578 | LeftHip.C1 = Clerp(LeftHip.C1, CF(-0.5, 0.875 + 0.125 * SIN(SINE / WALKSPEEDVALUE) - 0.05 * COS(SINE / WALKSPEEDVALUE * 2), 0.125 * COS(SINE / WALKSPEEDVALUE) + 0.2 + -0.2 * COS(SINE / WALKSPEEDVALUE)) * ANGLES(RAD(0), RAD(-90), RAD(0)) * ANGLES(RAD(0), RAD(0), RAD(45 * COS(SINE / WALKSPEEDVALUE))), 0.5 / Animation_Speed) | |
2579 | else | |
2580 | RootJoint.C1 = Clerp(RootJoint.C1, ROOTC0 * CF(0, 0, -0.15 * COS(SINE / (WALKSPEEDVALUE / 2.6))) * ANGLES(RAD(0), RAD(0) - RootPart.RotVelocity.Y / 75, RAD(0)), 2 / Animation_Speed) | |
2581 | Neck.C1 = Clerp(Neck.C1, CF(0, -0.5, 0) * ANGLES(RAD(-90), RAD(0), RAD(180)) * ANGLES(RAD(2.5 * SIN(SINE / (WALKSPEEDVALUE / 2.6))), RAD(0), RAD(0) - Head.RotVelocity.Y / 30), 0.2 * (Humanoid.WalkSpeed / 16) / Animation_Speed) | |
2582 | RightHip.C1 = Clerp(RightHip.C1, CF(0.5, 0.875 - 0.125 * SIN(SINE / WALKSPEEDVALUE * 1.3) - 0.15 * COS(SINE / WALKSPEEDVALUE * 2.6), -0.125 * COS(SINE / WALKSPEEDVALUE * 1.3) + 0.2 + 0.2 * COS(SINE / WALKSPEEDVALUE * 1.3)) * ANGLES(RAD(0), RAD(90), RAD(0)) * ANGLES(RAD(0) - RightLeg.RotVelocity.Y / 75, RAD(0), RAD(75 * COS(SINE / WALKSPEEDVALUE * 1.3))), 0.5 / Animation_Speed) | |
2583 | LeftHip.C1 = Clerp(LeftHip.C1, CF(-0.5, 0.875 + 0.125 * SIN(SINE / WALKSPEEDVALUE * 1.3) - 0.15 * COS(SINE / WALKSPEEDVALUE * 2.6), 0.125 * COS(SINE / WALKSPEEDVALUE * 1.3) + 0.2 + -0.2 * COS(SINE / WALKSPEEDVALUE * 1.3)) * ANGLES(RAD(0), RAD(-90), RAD(0)) * ANGLES(RAD(0) + LeftLeg.RotVelocity.Y / 75, RAD(0), RAD(75 * COS(SINE / WALKSPEEDVALUE * 1.3))), 0.5 / Animation_Speed) | |
2584 | end | |
2585 | elseif ANIM ~= "Walk" or TORSOVELOCITY < 1 or FLIGHT == true then | |
2586 | RootJoint.C1 = Clerp(RootJoint.C1, ROOTC0 * CF(0, 0, 0) * ANGLES(RAD(0), RAD(0), RAD(0)), 0.2 / Animation_Speed) | |
2587 | Neck.C1 = Clerp(Neck.C1, CF(0, -0.5, 0) * ANGLES(RAD(-90), RAD(0), RAD(180)) * ANGLES(RAD(0), RAD(0), RAD(0)), 0.2 / Animation_Speed) | |
2588 | RightHip.C1 = Clerp(RightHip.C1, CF(0.5, 1, 0) * ANGLES(RAD(0), RAD(90), RAD(0)) * ANGLES(RAD(0), RAD(0), RAD(0)), 0.2 / Animation_Speed) | |
2589 | LeftHip.C1 = Clerp(LeftHip.C1, CF(-0.5, 1, 0) * ANGLES(RAD(0), RAD(-90), RAD(0)) * ANGLES(RAD(0), RAD(0), RAD(0)), 0.2 / Animation_Speed) | |
2590 | end | |
2591 | if FLIGHT == false then | |
2592 | if GYRO ~= nil then | |
2593 | GYRO:remove() | |
2594 | end | |
2595 | if BODYPOS ~= nil then | |
2596 | BODYPOS:remove() | |
2597 | end | |
2598 | if TORSOVERTICALVELOCITY > 1 and HITFLOOR == nil then | |
2599 | ANIM = "Jump" | |
2600 | if ATTACK == false then | |
2601 | RootJoint.C0 = Clerp(RootJoint.C0, ROOTC0 * CF(0, 0, 0) * ANGLES(RAD(0), RAD(0), RAD(0)), 0.2 / Animation_Speed) | |
2602 | Neck.C0 = Clerp(Neck.C0, NECKC0 * CF(0, 0, 0) * ANGLES(RAD(-20), RAD(0), RAD(0)), 0.2 / Animation_Speed) | |
2603 | RightShoulder.C0 = Clerp(RightShoulder.C0, CF(1.5, 0.5, 0) * ANGLES(RAD(-40), RAD(0), RAD(20)) * RIGHTSHOULDERC0, 0.2 / Animation_Speed) | |
2604 | LeftShoulder.C0 = Clerp(LeftShoulder.C0, CF(-1.5, 0.5, 0) * ANGLES(RAD(-40), RAD(0), RAD(-20)) * LEFTSHOULDERC0, 0.2 / Animation_Speed) | |
2605 | RightHip.C0 = Clerp(RightHip.C0, CF(1, -1, -0.3) * ANGLES(RAD(0), RAD(90), RAD(0)) * ANGLES(RAD(-5), RAD(0), RAD(-20)), 0.2 / Animation_Speed) | |
2606 | LeftHip.C0 = Clerp(LeftHip.C0, CF(-1, -1, -0.3) * ANGLES(RAD(0), RAD(-90), RAD(0)) * ANGLES(RAD(-5), RAD(0), RAD(20)), 0.2 / Animation_Speed) | |
2607 | end | |
2608 | elseif TORSOVERTICALVELOCITY < -1 and HITFLOOR == nil then | |
2609 | ANIM = "Fall" | |
2610 | if ATTACK == false then | |
2611 | RootJoint.C0 = Clerp(RootJoint.C0, ROOTC0 * CF(0, 0, 0) * ANGLES(RAD(0), RAD(0), RAD(0)), 0.2 / Animation_Speed) | |
2612 | Neck.C0 = Clerp(Neck.C0, NECKC0 * CF(0, 0, 0) * ANGLES(RAD(20), RAD(0), RAD(0)), 0.2 / Animation_Speed) | |
2613 | RightShoulder.C0 = Clerp(RightShoulder.C0, CF(1.5, 0.5, 0) * ANGLES(RAD(0), RAD(0), RAD(60)) * RIGHTSHOULDERC0, 0.2 / Animation_Speed) | |
2614 | LeftShoulder.C0 = Clerp(LeftShoulder.C0, CF(-1.5, 0.5, 0) * ANGLES(RAD(0), RAD(0), RAD(-60)) * LEFTSHOULDERC0, 0.2 / Animation_Speed) | |
2615 | RightHip.C0 = Clerp(RightHip.C0, CF(1, -1, 0) * ANGLES(RAD(0), RAD(90), RAD(0)) * ANGLES(RAD(0), RAD(0), RAD(20)), 0.2 / Animation_Speed) | |
2616 | LeftHip.C0 = Clerp(LeftHip.C0, CF(-1, -1, 0) * ANGLES(RAD(0), RAD(-90), RAD(0)) * ANGLES(RAD(0), RAD(0), RAD(10)), 0.2 / Animation_Speed) | |
2617 | end | |
2618 | elseif TORSOVELOCITY < 1 and HITFLOOR ~= nil then | |
2619 | ANIM = "Idle" | |
2620 | if ATTACK == false then | |
2621 | RootJoint.C0 = Clerp(RootJoint.C0, ROOTC0 * CF(0, 0 - 0.05 * COS(SINE / 12), 0 + 0.05 * COS(SINE / 12)) * ANGLES(RAD(-2 + 2 * COS(SINE / 12)), RAD(0), RAD(0)), 0.15 / Animation_Speed) | |
2622 | Neck.C0 = Clerp(Neck.C0, NECKC0 * CF(0, 0, 0) * ANGLES(RAD(0 - 2.5 * SIN(SINE / 12)), RAD(0), RAD(0)), 0.15 / Animation_Speed) | |
2623 | RightShoulder.C0 = Clerp(RightShoulder.C0, CF(1.5, 0.5, 0) * ANGLES(RAD(0), RAD(-15), RAD(5 + 1 * COS(SINE / 12))) * RIGHTSHOULDERC0, 0.15 / Animation_Speed) | |
2624 | LeftShoulder.C0 = Clerp(LeftShoulder.C0, CF(-1.5, 0.5, 0) * ANGLES(RAD(0), RAD(15), RAD(-5 - 1 * COS(SINE / 12))) * LEFTSHOULDERC0, 0.15 / Animation_Speed) | |
2625 | RightHip.C0 = Clerp(RightHip.C0, CF(1, -1 - 0.05 * COS(SINE / 12), -0.01) * ANGLES(RAD(-2 + 2 * COS(SINE / 12)), RAD(74), RAD(0)) * ANGLES(RAD(-2), RAD(0), RAD(0)), 0.15 / Animation_Speed) | |
2626 | LeftHip.C0 = Clerp(LeftHip.C0, CF(-1, -1 - 0.05 * COS(SINE / 12), -0.01) * ANGLES(RAD(-2 + 2 * COS(SINE / 12)), RAD(-74), RAD(0)) * ANGLES(RAD(-2), RAD(0), RAD(0)), 0.15 / Animation_Speed) | |
2627 | end | |
2628 | elseif TORSOVELOCITY > 1 and HITFLOOR ~= nil then | |
2629 | ANIM = "Walk" | |
2630 | if ATTACK == false then | |
2631 | if Humanoid.WalkSpeed <= 30 then | |
2632 | RootJoint.C0 = Clerp(RootJoint.C0, ROOTC0 * CF(0, 0, -0.1) * ANGLES(RAD(0), RAD(0), RAD(0)), 1 / Animation_Speed) | |
2633 | Neck.C0 = Clerp(Neck.C0, NECKC0 * CF(0, 0, 0) * ANGLES(RAD(0), RAD(0), RAD(0)), 1 / Animation_Speed) | |
2634 | RightShoulder.C0 = Clerp(RightShoulder.C0, CF(1.5, 0.5, 0) * ANGLES(RAD(30 * COS(SINE / WALKSPEEDVALUE)), RAD(0), RAD(0)) * RIGHTSHOULDERC0, 0.85 / Animation_Speed) | |
2635 | LeftShoulder.C0 = Clerp(LeftShoulder.C0, CF(-1.5, 0.5, 0) * ANGLES(RAD(-30 * COS(SINE / WALKSPEEDVALUE)), RAD(0), RAD(0)) * LEFTSHOULDERC0, 0.85 / Animation_Speed) | |
2636 | RightHip.C0 = Clerp(RightHip.C0, CF(1, -1, 0) * ANGLES(RAD(0), RAD(90), RAD(0)) * ANGLES(RAD(0), RAD(0), RAD(-15)), 2 / Animation_Speed) | |
2637 | LeftHip.C0 = Clerp(LeftHip.C0, CF(-1, -1, 0) * ANGLES(RAD(0), RAD(-90), RAD(0)) * ANGLES(RAD(0), RAD(0), RAD(15)), 2 / Animation_Speed) | |
2638 | elseif Humanoid.WalkSpeed > 30 then | |
2639 | RootJoint.C0 = Clerp(RootJoint.C0, ROOTC0 * CF(0, 0, -0.1) * ANGLES(RAD(35), RAD(0), RAD(0)), 1 / Animation_Speed) | |
2640 | Neck.C0 = Clerp(Neck.C0, NECKC0 * CF(0, 0, 0) * ANGLES(RAD(-35), RAD(0), RAD(0)), 1 / Animation_Speed) | |
2641 | RightShoulder.C0 = Clerp(RightShoulder.C0, CF(1.5, 0.5, 0) * ANGLES(RAD(35), RAD(35), RAD(0)) * ANGLES(RAD(60 * COS(SINE / WALKSPEEDVALUE * 1.3)), RAD(0), RAD(2)) * RIGHTSHOULDERC0, 2 / Animation_Speed) | |
2642 | LeftShoulder.C0 = Clerp(LeftShoulder.C0, CF(-1.5, 0.5, 0) * ANGLES(RAD(35), RAD(-35), RAD(0)) * ANGLES(RAD(-60 * COS(SINE / WALKSPEEDVALUE * 1.3)), RAD(0), RAD(-2)) * LEFTSHOULDERC0, 2 / Animation_Speed) | |
2643 | RightHip.C0 = Clerp(RightHip.C0, CF(1, -1, 0) * ANGLES(RAD(0), RAD(80), RAD(0)) * ANGLES(RAD(0), RAD(0), RAD(6)), 2 / Animation_Speed) | |
2644 | LeftHip.C0 = Clerp(LeftHip.C0, CF(-1, -1, 0) * ANGLES(RAD(0), RAD(-80), RAD(0)) * ANGLES(RAD(0), RAD(0), RAD(-6)), 2 / Animation_Speed) | |
2645 | end | |
2646 | end | |
2647 | end | |
2648 | elseif FLIGHT == true then | |
2649 | if APPLYGYRO == true then | |
2650 | if VALUE2 == false and DIRECTTURN == false then | |
2651 | if GYRO ~= nil then | |
2652 | GYRO.MaxTorque = VT(0, 40000, 0) | |
2653 | GYRO.cframe = CF(RootPart.Position, Mouse.Hit.p) | |
2654 | end | |
2655 | elseif GYRO ~= nil then | |
2656 | GYRO.MaxTorque = VT(40000, 40000, 40000) | |
2657 | GYRO.cframe = CF(RootPart.Position, Mouse.Hit.p) | |
2658 | end | |
2659 | end | |
2660 | if VALUE2 == false and ATTACK == false then | |
2661 | ANIM = "IdleFlight" | |
2662 | RootJoint.C0 = Clerp(RootJoint.C0, ROOTC0 * CF(0, 0, 0 + 1 * SIN(SINE / 24)) * ANGLES(RAD(0), RAD(0), RAD(0)), 2 / Animation_Speed) | |
2663 | Neck.C0 = Clerp(Neck.C0, NECKC0 * CF(0, 0, 0) * ANGLES(RAD(20), RAD(0), RAD(0)), 1 / Animation_Speed) | |
2664 | RightShoulder.C0 = Clerp(RightShoulder.C0, CF(1.5, 0.5, 0) * ANGLES(RAD(0), RAD(-15), RAD(25)) * RIGHTSHOULDERC0, 1 / Animation_Speed) | |
2665 | LeftShoulder.C0 = Clerp(LeftShoulder.C0, CF(-1.5, 0.5, 0) * ANGLES(RAD(0), RAD(15), RAD(-25)) * LEFTSHOULDERC0, 1 / Animation_Speed) | |
2666 | RightHip.C0 = Clerp(RightHip.C0, CF(1, -0.5, -0.5) * ANGLES(RAD(0), RAD(75), RAD(0)) * ANGLES(RAD(0), RAD(0), RAD(0)), 1 / Animation_Speed) | |
2667 | LeftHip.C0 = Clerp(LeftHip.C0, CF(-1, -1, 0) * ANGLES(RAD(0), RAD(-90), RAD(0)) * ANGLES(RAD(0), RAD(0), RAD(0)), 1 / Animation_Speed) | |
2668 | elseif VALUE2 == true and ATTACK == false then | |
2669 | ANIM = "Flight" | |
2670 | RootJoint.C0 = Clerp(RootJoint.C0, ROOTC0 * CF(0, 0, 0 + 1 * SIN(SINE / 24)) * ANGLES(RAD(65), RAD(0), RAD(0)), 1 / Animation_Speed) | |
2671 | Neck.C0 = Clerp(Neck.C0, NECKC0 * CF(0, 0, 0) * ANGLES(RAD(-20), RAD(0), RAD(0)), 1 / Animation_Speed) | |
2672 | RightShoulder.C0 = Clerp(RightShoulder.C0, CF(1.5, 0.5, 0) * ANGLES(RAD(-15), RAD(0), RAD(15)) * RIGHTSHOULDERC0, 1 / Animation_Speed) | |
2673 | LeftShoulder.C0 = Clerp(LeftShoulder.C0, CF(-1.5, 0.5, 0) * ANGLES(RAD(-15), RAD(0), RAD(-15)) * LEFTSHOULDERC0, 1 / Animation_Speed) | |
2674 | RightHip.C0 = Clerp(RightHip.C0, CF(1, -1, 0) * ANGLES(RAD(-15), RAD(65), RAD(0)) * ANGLES(RAD(-10), RAD(0), RAD(0)), 0.2 / Animation_Speed) | |
2675 | LeftHip.C0 = Clerp(LeftHip.C0, CF(-1, -1, 0) * ANGLES(RAD(-15), RAD(-65), RAD(0)) * ANGLES(RAD(-10), RAD(0), RAD(0)), 0.2 / Animation_Speed) | |
2676 | end | |
2677 | end | |
2678 | local ACCEL1 = VT(10, 2 - 6 * COS(SINE / 24), -4 - 2 * COS(SINE / 24)) | |
2679 | local ACCEL2 = VT(-10, 2 - 6 * COS(SINE / 24), -4 - 2 * COS(SINE / 24)) | |
2680 | if PARTICLES == false then | |
2681 | WINGS1.Acceleration = ACCEL1 | |
2682 | WINGS1B.Acceleration = ACCEL1 | |
2683 | WINGS2.Acceleration = ACCEL2 | |
2684 | WINGS2B.Acceleration = ACCEL2 | |
2685 | end | |
2686 | if FLIGHT == true or WINGS == true then | |
2687 | WINGS1.Enabled = true | |
2688 | WINGS1B.Enabled = true | |
2689 | WINGS2.Enabled = true | |
2690 | WINGS2B.Enabled = true | |
2691 | else | |
2692 | WINGS1.Enabled = false | |
2693 | WINGS1B.Enabled = false | |
2694 | WINGS2.Enabled = false | |
2695 | WINGS2B.Enabled = false | |
2696 | end | |
2697 | unanchor() | |
2698 | TRAIL1.Enabled = FLIGHT | |
2699 | TRAIL2.Enabled = FLIGHT | |
2700 | LIGHT.Enabled = EQUIPPED | |
2701 | Humanoid.MaxHealth = "inf" | |
2702 | Humanoid.Health = "inf" | |
2703 | if Rooted == false and FLIGHT == false then | |
2704 | Disable_Jump = false | |
2705 | Humanoid.WalkSpeed = Speed | |
2706 | elseif Rooted == true or FLIGHT == true then | |
2707 | Disable_Jump = true | |
2708 | Humanoid.WalkSpeed = 0 | |
2709 | end | |
2710 | ||
2711 | if FLIGHT == true then | |
2712 | sick.Pitch = 1 | |
2713 | sick.Volume = 1.5 | |
2714 | LOOP = LOOP + 1 | |
2715 | if LOOP >= 10 then | |
2716 | local HITFLOOR, HITPOS = Raycast(RootPart.Position, CF(RootPart.Position, RootPart.Position + VT(0, -1, 0)).lookVector, 15, Character) | |
2717 | if HITFLOOR then | |
2718 | local DISTANCE = (RootPart.Position - HITPOS).Magnitude | |
2719 | local SIZE = (26 - DISTANCE) * 2 | |
2720 | if TWIST == true then | |
2721 | TWIST = false | |
2722 | WACKYEFFECT({ | |
2723 | Time = 25, | |
2724 | EffectType = "Wave", | |
2725 | Size = VT(SIZE / 2, 0, SIZE / 2), | |
2726 | Size2 = VT(SIZE, 6, SIZE), | |
2727 | Transparency = 0.6, | |
2728 | Transparency2 = 1, | |
2729 | CFrame = CF(HITPOS) * ANGLES(RAD(0), RAD(MRANDOM(0, 360)), RAD(0)) * ANGLES(RAD(MRANDOM(-5, 5)), RAD(0), RAD(MRANDOM(-5, 5))), | |
2730 | MoveToPos = nil, | |
2731 | RotationX = 0, | |
2732 | RotationY = 15, | |
2733 | RotationZ = 0, | |
2734 | Material = "Neon", | |
2735 | Color = C3(1, (205 + 35 * SIN(SINE / 24)) / 255, 0.5 + 0.5 * SIN(SINE / 24)), | |
2736 | SoundID = nil, | |
2737 | SoundPitch = nil, | |
2738 | SoundVolume = nil | |
2739 | }) | |
2740 | else | |
2741 | TWIST = true | |
2742 | WACKYEFFECT({ | |
2743 | Time = 25, | |
2744 | EffectType = "Wave", | |
2745 | Size = VT(SIZE / 2, 0, SIZE / 2), | |
2746 | Size2 = VT(SIZE, 6, SIZE), | |
2747 | Transparency = 0.6, | |
2748 | Transparency2 = 1, | |
2749 | CFrame = CF(HITPOS) * ANGLES(RAD(0), RAD(MRANDOM(0, 360)), RAD(0)) * ANGLES(RAD(MRANDOM(-5, 5)), RAD(0), RAD(MRANDOM(-5, 5))), | |
2750 | MoveToPos = nil, | |
2751 | RotationX = 0, | |
2752 | RotationY = -15, | |
2753 | RotationZ = 0, | |
2754 | Material = "Neon", | |
2755 | Color = C3(1, (205 + 35 * SIN(SINE / 24)) / 255, 0.5 + 0.5 * SIN(SINE / 24)), | |
2756 | SoundID = nil, | |
2757 | SoundPitch = nil, | |
2758 | SoundVolume = nil | |
2759 | }) | |
2760 | end | |
2761 | LOOP = 0 | |
2762 | end | |
2763 | end | |
2764 | else | |
2765 | end | |
2766 | sick.Parent = Character | |
2767 | Humanoid.Name = "WarPheonix" | |
2768 | end | |
2769 | ||
2770 | end)) | |
2771 | ParticleEmitter1.Name = "RingEmit" | |
2772 | ParticleEmitter1.Parent = LocalScript0 | |
2773 | ParticleEmitter1.Transparency = NumberSequence.new(1,0.12568306922913,0,0,0.41530054807663,1) | |
2774 | ParticleEmitter1.Rotation = NumberRange.new(0, 360) | |
2775 | ParticleEmitter1.Size = NumberSequence.new(0,6.2841534614563,5.027322769165,2.8961749076843,0) | |
2776 | ParticleEmitter1.Enabled = false | |
2777 | ParticleEmitter1.LightEmission = 1 | |
2778 | ParticleEmitter1.Texture = "rbxassetid://1493478120" | |
2779 | ParticleEmitter1.ZOffset = 1 | |
2780 | ParticleEmitter1.Lifetime = NumberRange.new(0.60000002384186, 0.60000002384186) | |
2781 | ParticleEmitter1.Rate = 5 | |
2782 | ParticleEmitter1.Speed = NumberRange.new(0, 0) | |
2783 | ParticleEmitter2.Name = "Wing1" | |
2784 | ParticleEmitter2.Parent = LocalScript0 | |
2785 | ParticleEmitter2.Transparency = NumberSequence.new(1,0.58469945192337,0.24590164422989,0,0.22950822114944,0.62841534614563,1) | |
2786 | ParticleEmitter2.Rotation = NumberRange.new(0, 360) | |
2787 | ParticleEmitter2.Size = NumberSequence.new(0,0.062499642372131,0.81250011920929,2.6875,3.3125,2.5624995231628,2.3125,1.8124997615814) | |
2788 | ParticleEmitter2.Enabled = false | |
2789 | ParticleEmitter2.LightEmission = 1 | |
2790 | ParticleEmitter2.Texture = "rbxassetid://296874871" | |
2791 | ParticleEmitter2.Acceleration = Vector3.new(5, 4, -4) | |
2792 | ParticleEmitter2.Lifetime = NumberRange.new(2, 2) | |
2793 | ParticleEmitter2.Rate = 300 | |
2794 | ParticleEmitter2.RotSpeed = NumberRange.new(-56, 56) | |
2795 | ParticleEmitter2.Speed = NumberRange.new(4, 4) | |
2796 | ParticleEmitter2.VelocitySpread = 35 | |
2797 | ParticleEmitter3.Name = "SunFireball" | |
2798 | ParticleEmitter3.Parent = LocalScript0 | |
2799 | ParticleEmitter3.Transparency = NumberSequence.new(0.47540986537933,0.37704920768738,0.25683063268661,0.4426229596138,0.62841534614563,1) | |
2800 | ParticleEmitter3.Rotation = NumberRange.new(0, 360) | |
2801 | ParticleEmitter3.Size = NumberSequence.new(10,8.125,5.6875,1.1250001192093,0) | |
2802 | ParticleEmitter3.Color = ColorSequence.new(Color3.new(1, 0.666667, 0),Color3.new(1, 0.666667, 0)) | |
2803 | ParticleEmitter3.Enabled = false | |
2804 | ParticleEmitter3.LightEmission = 0.75 | |
2805 | ParticleEmitter3.Texture = "rbxassetid://296874871" | |
2806 | ParticleEmitter3.ZOffset = 0.20000000298023 | |
2807 | ParticleEmitter3.Acceleration = Vector3.new(0, 5, 0) | |
2808 | ParticleEmitter3.Lifetime = NumberRange.new(1, 1) | |
2809 | ParticleEmitter3.Rate = 300 | |
2810 | ParticleEmitter3.RotSpeed = NumberRange.new(-56, 56) | |
2811 | ParticleEmitter3.Speed = NumberRange.new(3, 3) | |
2812 | ParticleEmitter3.VelocitySpread = 360 | |
2813 | ParticleEmitter3.Color = ColorSequence.new(Color3.new(1, 0.666667, 0),Color3.new(1, 0.666667, 0)) | |
2814 | ParticleEmitter4.Name = "SunExplosion" | |
2815 | ParticleEmitter4.Parent = LocalScript0 | |
2816 | ParticleEmitter4.Transparency = NumberSequence.new(0.47540986537933,0.37704920768738,0.25683063268661,0.4426229596138,0.62841534614563,1) | |
2817 | ParticleEmitter4.Rotation = NumberRange.new(0, 360) | |
2818 | ParticleEmitter4.Size = NumberSequence.new(5,7.875,7.875,5.3125,0) | |
2819 | ParticleEmitter4.Color = ColorSequence.new(Color3.new(1, 0.666667, 0),Color3.new(1, 0.666667, 0)) | |
2820 | ParticleEmitter4.Enabled = false | |
2821 | ParticleEmitter4.LightEmission = 0.75 | |
2822 | ParticleEmitter4.Texture = "rbxassetid://296874871" | |
2823 | ParticleEmitter4.ZOffset = 0.20000000298023 | |
2824 | ParticleEmitter4.Acceleration = Vector3.new(0, 5, 0) | |
2825 | ParticleEmitter4.Lifetime = NumberRange.new(0, 3) | |
2826 | ParticleEmitter4.Rate = 300 | |
2827 | ParticleEmitter4.RotSpeed = NumberRange.new(-56, 56) | |
2828 | ParticleEmitter4.Speed = NumberRange.new(150, 350) | |
2829 | ParticleEmitter4.VelocitySpread = 360 | |
2830 | ParticleEmitter4.Color = ColorSequence.new(Color3.new(1, 0.666667, 0),Color3.new(1, 0.666667, 0)) | |
2831 | ParticleEmitter5.Name = "SunBurn" | |
2832 | ParticleEmitter5.Parent = LocalScript0 | |
2833 | ParticleEmitter5.Transparency = NumberSequence.new(0.47540986537933,0.37704920768738,0.25683063268661,0.4426229596138,0.62841534614563,1) | |
2834 | ParticleEmitter5.Rotation = NumberRange.new(0, 360) | |
2835 | ParticleEmitter5.Size = NumberSequence.new(0.81250011920929,0.81250011920929,0) | |
2836 | ParticleEmitter5.Color = ColorSequence.new(Color3.new(1, 0.666667, 0),Color3.new(1, 0.666667, 0)) | |
2837 | ParticleEmitter5.Enabled = false | |
2838 | ParticleEmitter5.LightEmission = 0.75 | |
2839 | ParticleEmitter5.Texture = "rbxassetid://296874871" | |
2840 | ParticleEmitter5.ZOffset = 0.5 | |
2841 | ParticleEmitter5.Acceleration = Vector3.new(0, 5, 0) | |
2842 | ParticleEmitter5.Lifetime = NumberRange.new(1, 1) | |
2843 | ParticleEmitter5.Rate = 300 | |
2844 | ParticleEmitter5.RotSpeed = NumberRange.new(-56, 56) | |
2845 | ParticleEmitter5.Speed = NumberRange.new(1, 1) | |
2846 | ParticleEmitter5.VelocitySpread = 360 | |
2847 | ParticleEmitter5.Color = ColorSequence.new(Color3.new(1, 0.666667, 0),Color3.new(1, 0.666667, 0)) | |
2848 | ParticleEmitter6.Name = "PheonixBurn" | |
2849 | ParticleEmitter6.Parent = LocalScript0 | |
2850 | ParticleEmitter6.Transparency = NumberSequence.new(0.47540986537933,0.37704920768738,0.25683063268661,0.4426229596138,0.62841534614563,1) | |
2851 | ParticleEmitter6.Rotation = NumberRange.new(0, 360) | |
2852 | ParticleEmitter6.Size = NumberSequence.new(0.81250011920929,0.81250011920929,0) | |
2853 | ParticleEmitter6.Enabled = false | |
2854 | ParticleEmitter6.LightEmission = 1 | |
2855 | ParticleEmitter6.Texture = "rbxassetid://296874871" | |
2856 | ParticleEmitter6.ZOffset = 0.5 | |
2857 | ParticleEmitter6.Acceleration = Vector3.new(0, 8, 0) | |
2858 | ParticleEmitter6.Lifetime = NumberRange.new(1, 1) | |
2859 | ParticleEmitter6.Rate = 300 | |
2860 | ParticleEmitter6.RotSpeed = NumberRange.new(-56, 56) | |
2861 | ParticleEmitter6.Speed = NumberRange.new(1, 1) | |
2862 | ParticleEmitter6.VelocitySpread = 360 | |
2863 | ParticleEmitter7.Name = "PheonixExplosion1" | |
2864 | ParticleEmitter7.Parent = LocalScript0 | |
2865 | ParticleEmitter7.Transparency = NumberSequence.new(0.47540986537933,0.37704920768738,0.25683063268661,0.4426229596138,0.62841534614563,1) | |
2866 | ParticleEmitter7.Rotation = NumberRange.new(0, 360) | |
2867 | ParticleEmitter7.Size = NumberSequence.new(1.3124996423721,4.8125,5.6875,3.4999995231628,0) | |
2868 | ParticleEmitter7.Enabled = false | |
2869 | ParticleEmitter7.LightEmission = 1 | |
2870 | ParticleEmitter7.Texture = "rbxassetid://296874871" | |
2871 | ParticleEmitter7.ZOffset = 0.20000000298023 | |
2872 | ParticleEmitter7.Acceleration = Vector3.new(0, 5, 0) | |
2873 | ParticleEmitter7.Lifetime = NumberRange.new(0, 3) | |
2874 | ParticleEmitter7.Rate = 600 | |
2875 | ParticleEmitter7.RotSpeed = NumberRange.new(-56, 56) | |
2876 | ParticleEmitter7.Speed = NumberRange.new(50, 50) | |
2877 | ParticleEmitter7.VelocitySpread = 360 | |
2878 | ParticleEmitter8.Name = "PheonixExplosion2" | |
2879 | ParticleEmitter8.Parent = LocalScript0 | |
2880 | ParticleEmitter8.Transparency = NumberSequence.new(0.47540986537933,0.37704920768738,0.25683063268661,0.4426229596138,0.62841534614563,1) | |
2881 | ParticleEmitter8.Rotation = NumberRange.new(0, 360) | |
2882 | ParticleEmitter8.Size = NumberSequence.new(4,4) | |
2883 | ParticleEmitter8.Color = ColorSequence.new(Color3.new(1, 0.666667, 0),Color3.new(1, 0.666667, 0)) | |
2884 | ParticleEmitter8.Enabled = false | |
2885 | ParticleEmitter8.LightEmission = 0.69999998807907 | |
2886 | ParticleEmitter8.ZOffset = 0.20000000298023 | |
2887 | ParticleEmitter8.Acceleration = Vector3.new(0, 5, 0) | |
2888 | ParticleEmitter8.Lifetime = NumberRange.new(0, 3) | |
2889 | ParticleEmitter8.Rate = 300 | |
2890 | ParticleEmitter8.RotSpeed = NumberRange.new(-56, 56) | |
2891 | ParticleEmitter8.Speed = NumberRange.new(70, 70) | |
2892 | ParticleEmitter8.VelocitySpread = 360 | |
2893 | ParticleEmitter8.Color = ColorSequence.new(Color3.new(1, 0.666667, 0),Color3.new(1, 0.666667, 0)) | |
2894 | LocalScript9.Name = "CamShake" | |
2895 | LocalScript9.Parent = LocalScript0 | |
2896 | LocalScript9.Disabled = true | |
2897 | NumberValue10.Name = "Timer" | |
2898 | NumberValue10.Parent = LocalScript9 | |
2899 | NumberValue10.Value = 35 | |
2900 | NumberValue11.Name = "Shake" | |
2901 | NumberValue11.Parent = LocalScript9 | |
2902 | NumberValue11.Value = 5 | |
2903 | BoolValue12.Name = "DoesFade" | |
2904 | BoolValue12.Parent = LocalScript9 | |
2905 | ParticleEmitter13.Name = "Gale" | |
2906 | ParticleEmitter13.Parent = LocalScript0 | |
2907 | ParticleEmitter13.Transparency = NumberSequence.new(1,0.91256833076477,0.83606559038162,0.81967210769653,1) | |
2908 | ParticleEmitter13.Rotation = NumberRange.new(0, 360) | |
2909 | ParticleEmitter13.Size = NumberSequence.new(8,6) | |
2910 | ParticleEmitter13.Enabled = false | |
2911 | ParticleEmitter13.Texture = "rbxassetid://1614893149" | |
2912 | ParticleEmitter13.Lifetime = NumberRange.new(1, 1) | |
2913 | ParticleEmitter13.Rate = 50 | |
2914 | ParticleEmitter13.Speed = NumberRange.new(0, 0) | |
2915 | ParticleEmitter14.Name = "PheonixFireball1" | |
2916 | ParticleEmitter14.Parent = LocalScript0 | |
2917 | ParticleEmitter14.Transparency = NumberSequence.new(0.47540986537933,0.37704920768738,0.25683063268661,0.4426229596138,0.62841534614563,1) | |
2918 | ParticleEmitter14.Rotation = NumberRange.new(0, 360) | |
2919 | ParticleEmitter14.Size = NumberSequence.new(6.625,4.625,3.4375,1.3124996423721,0) | |
2920 | ParticleEmitter14.Enabled = false | |
2921 | ParticleEmitter14.LightEmission = 1 | |
2922 | ParticleEmitter14.Texture = "rbxassetid://296874871" | |
2923 | ParticleEmitter14.ZOffset = 0.5 | |
2924 | ParticleEmitter14.Lifetime = NumberRange.new(0.60000002384186, 0.60000002384186) | |
2925 | ParticleEmitter14.Rate = 1000 | |
2926 | ParticleEmitter14.RotSpeed = NumberRange.new(-56, 56) | |
2927 | ParticleEmitter14.Speed = NumberRange.new(4, 4) | |
2928 | ParticleEmitter14.VelocitySpread = 360 | |
2929 | ParticleEmitter15.Name = "PheonixFireball2" | |
2930 | ParticleEmitter15.Parent = LocalScript0 | |
2931 | ParticleEmitter15.Transparency = NumberSequence.new(0.47540986537933,0.37704920768738,0.25683063268661,0.4426229596138,0.62841534614563,1) | |
2932 | ParticleEmitter15.Rotation = NumberRange.new(0, 360) | |
2933 | ParticleEmitter15.Size = NumberSequence.new(4.3125,4.1530055999756,2.8961749076843,1.1475414037704,0) | |
2934 | ParticleEmitter15.Color = ColorSequence.new(Color3.new(1, 0.666667, 0),Color3.new(1, 0.666667, 0)) | |
2935 | ParticleEmitter15.Enabled = false | |
2936 | ParticleEmitter15.LightEmission = 0.69999998807907 | |
2937 | ParticleEmitter15.ZOffset = 1 | |
2938 | ParticleEmitter15.Lifetime = NumberRange.new(0.60000002384186, 0.60000002384186) | |
2939 | ParticleEmitter15.Rate = 300 | |
2940 | ParticleEmitter15.RotSpeed = NumberRange.new(-56, 56) | |
2941 | ParticleEmitter15.Speed = NumberRange.new(4, 4) | |
2942 | ParticleEmitter15.VelocitySpread = 360 | |
2943 | ParticleEmitter15.Color = ColorSequence.new(Color3.new(1, 0.666667, 0),Color3.new(1, 0.666667, 0)) | |
2944 | ParticleEmitter16.Name = "Wing2" | |
2945 | ParticleEmitter16.Parent = LocalScript0 | |
2946 | ParticleEmitter16.Transparency = NumberSequence.new(1,0.58469945192337,0.24590164422989,0,0.22950822114944,0.62841534614563,1) | |
2947 | ParticleEmitter16.Rotation = NumberRange.new(0, 360) | |
2948 | ParticleEmitter16.Size = NumberSequence.new(0,0.062499642372131,0.81250011920929,2.6875,3.3125,2.5624995231628,2.3125,1.8124997615814) | |
2949 | ParticleEmitter16.Enabled = false | |
2950 | ParticleEmitter16.LightEmission = 1 | |
2951 | ParticleEmitter16.Texture = "rbxassetid://296874871" | |
2952 | ParticleEmitter16.Acceleration = Vector3.new(-5, 4, -4) | |
2953 | ParticleEmitter16.Lifetime = NumberRange.new(2, 2) | |
2954 | ParticleEmitter16.Rate = 300 | |
2955 | ParticleEmitter16.RotSpeed = NumberRange.new(-56, 56) | |
2956 | ParticleEmitter16.Speed = NumberRange.new(4, 4) | |
2957 | ParticleEmitter16.VelocitySpread = 35 | |
2958 | ParticleEmitter17.Name = "Wing1B" | |
2959 | ParticleEmitter17.Parent = LocalScript0 | |
2960 | ParticleEmitter17.Transparency = NumberSequence.new(1,0.58469945192337,0.24590164422989,0,0.20765030384064,0.5956284403801,1) | |
2961 | ParticleEmitter17.Rotation = NumberRange.new(0, 360) | |
2962 | ParticleEmitter17.Size = NumberSequence.new(0,0,1.8579238653183,2.4043715000153,1.8124997615814,0) | |
2963 | ParticleEmitter17.Color = ColorSequence.new(Color3.new(1, 0.666667, 0),Color3.new(1, 0.666667, 0)) | |
2964 | ParticleEmitter17.Enabled = false | |
2965 | ParticleEmitter17.LightEmission = 0.69999998807907 | |
2966 | ParticleEmitter17.ZOffset = 0.20000000298023 | |
2967 | ParticleEmitter17.Acceleration = Vector3.new(5, 4, -4) | |
2968 | ParticleEmitter17.Lifetime = NumberRange.new(1.9500000476837, 1.9500000476837) | |
2969 | ParticleEmitter17.Rate = 150 | |
2970 | ParticleEmitter17.RotSpeed = NumberRange.new(-56, 56) | |
2971 | ParticleEmitter17.Speed = NumberRange.new(4, 4) | |
2972 | ParticleEmitter17.VelocitySpread = 35 | |
2973 | ParticleEmitter17.Color = ColorSequence.new(Color3.new(1, 0.666667, 0),Color3.new(1, 0.666667, 0)) | |
2974 | ParticleEmitter18.Name = "Eye1" | |
2975 | ParticleEmitter18.EmissionDirection="Right" | |
2976 | ParticleEmitter18.Parent = LocalScript0 | |
2977 | ParticleEmitter18.Transparency = NumberSequence.new(0.55737709999084,0.37704920768738,0.4426229596138,0.62841534614563,1) | |
2978 | ParticleEmitter18.Rotation = NumberRange.new(0, 360) | |
2979 | ParticleEmitter18.Size = NumberSequence.new(0.40000000596046,0.12499988079071,0) | |
2980 | ParticleEmitter18.Enabled = false | |
2981 | ParticleEmitter18.LightEmission = 0.75 | |
2982 | ParticleEmitter18.Texture = "rbxassetid://296874871" | |
2983 | ParticleEmitter18.ZOffset = 0.20000000298023 | |
2984 | ParticleEmitter18.Acceleration = Vector3.new(0, 5, 6) | |
2985 | ParticleEmitter18.Lifetime = NumberRange.new(1, 1) | |
2986 | ParticleEmitter18.Rate = 300 | |
2987 | ParticleEmitter18.RotSpeed = NumberRange.new(-56, 56) | |
2988 | ParticleEmitter18.VelocitySpread = 5 | |
2989 | ParticleEmitter19.Name = "Eye2" | |
2990 | ParticleEmitter19.Parent = LocalScript0 | |
2991 | ParticleEmitter19.EmissionDirection="Right" | |
2992 | ParticleEmitter19.Transparency = NumberSequence.new(0.71584701538086,0.68306010961533,0.37704920768738,0.4426229596138,0.62841534614563,1) | |
2993 | ParticleEmitter19.Rotation = NumberRange.new(0, 360) | |
2994 | ParticleEmitter19.Size = NumberSequence.new(0.65573811531067,0.2732241153717,0) | |
2995 | ParticleEmitter19.Color = ColorSequence.new(Color3.new(1, 0.666667, 0),Color3.new(1, 0.666667, 0)) | |
2996 | ParticleEmitter19.Enabled = false | |
2997 | ParticleEmitter19.LightEmission = 0.75 | |
2998 | ParticleEmitter19.ZOffset = 0.30000001192093 | |
2999 | ParticleEmitter19.Acceleration = Vector3.new(0, 5, 6) | |
3000 | ParticleEmitter19.Lifetime = NumberRange.new(0.5, 0.5) | |
3001 | ParticleEmitter19.Rate = 300 | |
3002 | ParticleEmitter19.RotSpeed = NumberRange.new(-56, 56) | |
3003 | ParticleEmitter19.VelocitySpread = 5 | |
3004 | ParticleEmitter19.Color = ColorSequence.new(Color3.new(1, 0.666667, 0),Color3.new(1, 0.666667, 0)) | |
3005 | ParticleEmitter20.Name = "Wing2B" | |
3006 | ParticleEmitter20.Parent = LocalScript0 | |
3007 | ParticleEmitter20.Transparency = NumberSequence.new(1,0.58469945192337,0.24590164422989,0,0.20765030384064,0.5956284403801,1) | |
3008 | ParticleEmitter20.Rotation = NumberRange.new(0, 360) | |
3009 | ParticleEmitter20.Size = NumberSequence.new(0,0,1.8579238653183,2.4043715000153,1.8124997615814,0) | |
3010 | ParticleEmitter20.Color = ColorSequence.new(Color3.new(1, 0.666667, 0),Color3.new(1, 0.666667, 0)) | |
3011 | ParticleEmitter20.Enabled = false | |
3012 | ParticleEmitter20.LightEmission = 0.69999998807907 | |
3013 | ParticleEmitter20.ZOffset = 0.20000000298023 | |
3014 | ParticleEmitter20.Acceleration = Vector3.new(-5, 4, -4) | |
3015 | ParticleEmitter20.Lifetime = NumberRange.new(1.9500000476837, 1.9500000476837) | |
3016 | ParticleEmitter20.Rate = 150 | |
3017 | ParticleEmitter20.RotSpeed = NumberRange.new(-56, 56) | |
3018 | ParticleEmitter20.Speed = NumberRange.new(4, 4) | |
3019 | ParticleEmitter20.VelocitySpread = 35 | |
3020 | ParticleEmitter20.Color = ColorSequence.new(Color3.new(1, 0.666667, 0),Color3.new(1, 0.666667, 0)) | |
3021 | ParticleEmitter21.Name = "Burn" | |
3022 | ParticleEmitter21.Parent = LocalScript0 | |
3023 | ParticleEmitter21.Transparency = NumberSequence.new(0.47540986537933,0.37704920768738,0.25683063268661,0.4426229596138,0.62841534614563,1) | |
3024 | ParticleEmitter21.Rotation = NumberRange.new(0, 360) | |
3025 | ParticleEmitter21.Size = NumberSequence.new(0.98360657691956,0.32786905765533,0) | |
3026 | ParticleEmitter21.Color = ColorSequence.new(Color3.new(1, 0.333333, 0),Color3.new(1, 0.333333, 0)) | |
3027 | - | v.Parent = game:GetService("Lighting") |
3027 | + | |
3028 | - | pcall(function() v:MakeJoints() end) |
3028 | + | |
3029 | ParticleEmitter21.Texture = "rbxassetid://296874871" | |
3030 | ParticleEmitter21.ZOffset = 0.5 | |
3031 | ParticleEmitter21.Acceleration = Vector3.new(0, 5, 0) | |
3032 | - | spawn(function() |
3032 | + | |
3033 | - | pcall(v) |
3033 | + | |
3034 | ParticleEmitter21.RotSpeed = NumberRange.new(-56, 56) | |
3035 | ParticleEmitter21.Speed = NumberRange.new(1, 1) | |
3036 | ParticleEmitter21.VelocitySpread = 360 | |
3037 | ParticleEmitter21.Color = ColorSequence.new(Color3.new(1, 0.333333, 0),Color3.new(1, 0.333333, 0)) | |
3038 | ParticleEmitter22.Name = "PheonixTrail" | |
3039 | ParticleEmitter22.Parent = LocalScript0 | |
3040 | ParticleEmitter22.Transparency = NumberSequence.new(0.47540986537933,0.37704920768738,0.25683063268661,0.4426229596138,0.62841534614563,1) | |
3041 | ParticleEmitter22.Rotation = NumberRange.new(0, 360) | |
3042 | ParticleEmitter22.Size = NumberSequence.new(0.49180328845978,0.4371589422226,0) | |
3043 | ParticleEmitter22.Color = ColorSequence.new(Color3.new(1, 1, 1),Color3.new(1, 0.835294, 0)) | |
3044 | ParticleEmitter22.Enabled = false | |
3045 | ParticleEmitter22.LightEmission = 0.75 | |
3046 | ParticleEmitter22.Texture = "rbxassetid://296874871" | |
3047 | ParticleEmitter22.ZOffset = 0.5 | |
3048 | ParticleEmitter22.Lifetime = NumberRange.new(1, 1) | |
3049 | ParticleEmitter22.Rate = 300 | |
3050 | ParticleEmitter22.RotSpeed = NumberRange.new(-56, 56) | |
3051 | ParticleEmitter22.Speed = NumberRange.new(0, 0) | |
3052 | ParticleEmitter22.VelocitySpread = 360 | |
3053 | ParticleEmitter22.Color = ColorSequence.new(Color3.new(1, 1, 1),Color3.new(1, 0.835294, 0)) | |
3054 | for i,v in pairs(mas:GetChildren()) do | |
3055 | v.Parent = game:GetService("Lighting") | |
3056 | pcall(function() v:MakeJoints() end) | |
3057 | end | |
3058 | mas:Destroy() | |
3059 | for i,v in pairs(cors) do | |
3060 | spawn(function() | |
3061 | pcall(v) | |
3062 | end) | |
3063 | end |