SHOW:
|
|
- or go back to the newest paste.
1 | Player = game.Players.LocalPlayer | |
2 | - | --Converted with ttyyuu12345's model to script plugin v4 |
2 | + | Character = Player.Character |
3 | - | function sandbox(var,func) |
3 | + | local txt = Instance.new("BillboardGui", Character) |
4 | - | local env = getfenv(func) |
4 | + | txt.Adornee = Character.Head |
5 | - | local newenv = setmetatable({},{ |
5 | + | txt.Name = "_status" |
6 | - | __index = function(self,k) |
6 | + | txt.Size = UDim2.new(2, 0, 1.2, 0) |
7 | - | if k=="script" then |
7 | + | txt.StudsOffset = Vector3.new(-9, 8, 0) |
8 | - | return var |
8 | + | local text = Instance.new("TextLabel", txt) |
9 | text.Size = UDim2.new(10, 0, 7, 0) | |
10 | - | return env[k] |
10 | + | text.FontSize = "Size24" |
11 | text.TextScaled = true | |
12 | - | end, |
12 | + | text.TextTransparency = 0 |
13 | - | }) |
13 | + | text.BackgroundTransparency = 1 |
14 | - | setfenv(func,newenv) |
14 | + | text.TextTransparency = 0 |
15 | - | return func |
15 | + | text.TextStrokeTransparency = 0 |
16 | text.Font = "Antique" | |
17 | - | cors = {} |
17 | + | text.TextStrokeColor3 = Color3.new(1,0,0) |
18 | - | mas = Instance.new("Model",game:GetService("Lighting")) |
18 | + | text.Text = "Unkown VZ" |
19 | - | LocalScript0 = Instance.new("LocalScript") |
19 | + | |
20 | - | ParticleEmitter1 = Instance.new("ParticleEmitter") |
20 | + | --//====================================================\\-- |
21 | - | ParticleEmitter2 = Instance.new("ParticleEmitter") |
21 | + | --|| CREATED BY SHACKLUSTER EDIT BY BALDIWRDS |
22 | - | ParticleEmitter3 = Instance.new("ParticleEmitter") |
22 | + | --\\====================================================//-- |
23 | - | ParticleEmitter4 = Instance.new("ParticleEmitter") |
23 | + | |
24 | - | ParticleEmitter5 = Instance.new("ParticleEmitter") |
24 | + | script:ClearAllChildren() |
25 | - | ParticleEmitter6 = Instance.new("ParticleEmitter") |
25 | + | |
26 | - | ParticleEmitter7 = Instance.new("ParticleEmitter") |
26 | + | |
27 | - | ParticleEmitter8 = Instance.new("ParticleEmitter") |
27 | + | |
28 | - | LocalScript9 = Instance.new("LocalScript") |
28 | + | |
29 | - | NumberValue10 = Instance.new("NumberValue") |
29 | + | |
30 | - | NumberValue11 = Instance.new("NumberValue") |
30 | + | |
31 | - | BoolValue12 = Instance.new("BoolValue") |
31 | + | |
32 | - | ParticleEmitter13 = Instance.new("ParticleEmitter") |
32 | + | |
33 | - | ParticleEmitter14 = Instance.new("ParticleEmitter") |
33 | + | |
34 | - | ParticleEmitter15 = Instance.new("ParticleEmitter") |
34 | + | RootPart = Character["HumanoidRootPart"] |
35 | - | ParticleEmitter16 = Instance.new("ParticleEmitter") |
35 | + | Torso = Character["Torso"] |
36 | - | ParticleEmitter17 = Instance.new("ParticleEmitter") |
36 | + | Head = Character["Head"] |
37 | - | ParticleEmitter18 = Instance.new("ParticleEmitter") |
37 | + | |
38 | - | ParticleEmitter19 = Instance.new("ParticleEmitter") |
38 | + | |
39 | - | ParticleEmitter20 = Instance.new("ParticleEmitter") |
39 | + | |
40 | - | ParticleEmitter21 = Instance.new("ParticleEmitter") |
40 | + | |
41 | - | ParticleEmitter22 = Instance.new("ParticleEmitter") |
41 | + | RootJoint = RootPart["RootJoint"] |
42 | - | LocalScript0.Name = "WarPheonix" |
42 | + | Neck = Torso["Neck"] |
43 | - | LocalScript0.Parent = mas |
43 | + | |
44 | - | table.insert(cors,sandbox(LocalScript0,function() |
44 | + | |
45 | RightHip = Torso["Right Hip"] | |
46 | LeftHip = Torso["Left Hip"] | |
47 | local TIME = 0 | |
48 | local sick = Instance.new("Sound",Torso) | |
49 | ||
50 | IT = Instance.new | |
51 | CF = CFrame.new | |
52 | VT = Vector3.new | |
53 | RAD = math.rad | |
54 | - | RootPart = Character.HumanoidRootPart |
54 | + | |
55 | - | Torso = Character.Torso |
55 | + | |
56 | - | Head = Character.Head |
56 | + | |
57 | ANGLES = CFrame.Angles | |
58 | EULER = CFrame.fromEulerAnglesXYZ | |
59 | COS = math.cos | |
60 | ACOS = math.acos | |
61 | - | RootJoint = RootPart.RootJoint |
61 | + | |
62 | - | Neck = Torso.Neck |
62 | + | |
63 | ABS = math.abs | |
64 | MRANDOM = math.random | |
65 | FLOOR = math.floor | |
66 | local LAUGHS = {} | |
67 | - | local sick = Instance.new("Sound", Character) |
67 | + | local BODY = {} |
68 | - | sick.SoundId = "rbxassetid://1604456093" |
68 | + | Player_Size = 1 |
69 | - | sick.Looped = true |
69 | + | local CLOCKLOOP = 0 |
70 | local CLOCKTARGET = nil | |
71 | local CLOCKSPEED = 0.9 | |
72 | Character.Archivable = false | |
73 | ||
74 | --//=================================\\ | |
75 | --|| USEFUL VALUES | |
76 | --\\=================================// | |
77 | ||
78 | Animation_Speed = 1.2 | |
79 | local FORCERESET = false | |
80 | Frame_Speed = 1 / 60 -- (1 / 30) OR (1 / 60) | |
81 | local SIZE = 1 | |
82 | local Speed = 18 | |
83 | local ROOTC0 = CF(0, 0, 0) * ANGLES(RAD(-90), RAD(0), RAD(180)) | |
84 | local NECKC0 = CF(0, 1, 0) * ANGLES(RAD(-90), RAD(0), RAD(180)) | |
85 | local RIGHTSHOULDERC0 = CF(-0.5, 0, 0) * ANGLES(RAD(0), RAD(90), RAD(0)) | |
86 | local LEFTSHOULDERC0 = CF(0.5, 0, 0) * ANGLES(RAD(0), RAD(-90), RAD(0)) | |
87 | - | local naeeym2 = Instance.new("BillboardGui",Character) |
87 | + | |
88 | - | naeeym2.AlwaysOnTop = true |
88 | + | |
89 | - | naeeym2.Size = UDim2.new(5,35,2,35) |
89 | + | |
90 | - | naeeym2.StudsOffset = Vector3.new(0,4.5,0) |
90 | + | |
91 | - | naeeym2.Adornee = Character.Head |
91 | + | |
92 | - | naeeym2.Name = "Name" |
92 | + | |
93 | - | naeeym2.MaxDistance = 200 |
93 | + | |
94 | - | local tecks2 = Instance.new("TextLabel",naeeym2) |
94 | + | |
95 | - | tecks2.BackgroundTransparency = 1 |
95 | + | |
96 | - | tecks2.TextScaled = true |
96 | + | |
97 | - | tecks2.BorderSizePixel = 0 |
97 | + | |
98 | - | tecks2.Text = "The War Phoenix" |
98 | + | |
99 | - | tecks2.Font = "Fantasy" |
99 | + | |
100 | - | tecks2.TextSize = 48 |
100 | + | |
101 | - | tecks2.TextStrokeTransparency = 0 |
101 | + | |
102 | - | tecks2.TextColor3 = Color3.new(255,255,255) |
102 | + | |
103 | - | tecks2.TextStrokeColor3 = Color3.new(188/255, 155/255, 93/255) |
103 | + | --ROBLOXIDLEANIMATION.Parent = Humanoid |
104 | - | tecks2.Size = UDim2.new(1,0,0.5,0) |
104 | + | |
105 | - | tecks2.Parent = naeeym2 |
105 | + | WEAPONGUI.Name = "BanishV3Gui" |
106 | local Weapon = IT("Model") | |
107 | - | local naeeym3 = Instance.new("BillboardGui",Character) |
107 | + | Weapon.Name = "Adds" |
108 | - | naeeym3.AlwaysOnTop = true |
108 | + | local Effects = IT("Folder", Weapon) |
109 | - | naeeym3.Size = UDim2.new(5,35,2,35) |
109 | + | |
110 | - | naeeym3.StudsOffset = Vector3.new(0,3,0) |
110 | + | |
111 | - | naeeym3.Adornee = Character.Head |
111 | + | local ANIMATE = Character:FindFirstChild("Animate") |
112 | - | naeeym3.Name = "Name" |
112 | + | local LEFTWINGS = {} |
113 | - | naeeym3.MaxDistance = 200 |
113 | + | local RIGHTWINGS = {} |
114 | - | local tecks3 = Instance.new("TextLabel",naeeym2) |
114 | + | |
115 | - | tecks3.BackgroundTransparency = 1 |
115 | + | local TOBANISH = {} |
116 | - | tecks3.TextScaled = true |
116 | + | script.Parent = PlayerGui |
117 | - | tecks3.BorderSizePixel = 0 |
117 | + | |
118 | - | tecks3.Text = Player.Name |
118 | + | --//=================================\\ |
119 | - | tecks3.Font = "Fantasy" |
119 | + | --\\=================================// |
120 | - | tecks3.TextSize = 32 |
120 | + | |
121 | - | tecks3.TextStrokeTransparency = 1 |
121 | + | local particleemitter = Instance.new('ParticleEmitter', LeftArm) |
122 | - | tecks3.TextColor3 = Color3.new(125/255,125/255,125/255) |
122 | + | particleemitter.VelocitySpread = 350 |
123 | - | tecks3.TextStrokeColor3 = Color3.new(125/255,125/255,125/255) |
123 | + | particleemitter.Lifetime = NumberRange.new(1) |
124 | - | tecks3.Size = UDim2.new(1,0,0.5,0) |
124 | + | particleemitter.Speed = NumberRange.new(0) |
125 | - | tecks3.Parent = naeeym3 |
125 | + | cringememe= {} |
126 | for i=0, 19 do | |
127 | cringememe[#cringememe + 1] = NumberSequenceKeypoint.new(i/19, math.random(1, 1)) | |
128 | - | Animation_Speed = 3 |
128 | + | |
129 | - | Frame_Speed = 0.016666666666666666 |
129 | + | particleemitter.Size = NumberSequence.new(cringememe) |
130 | - | local Speed = 16 |
130 | + | particleemitter.Rate = 45 |
131 | particleemitter.LockedToPart = true | |
132 | particleemitter.Transparency = NumberSequence.new({NumberSequenceKeypoint.new(0, 1), NumberSequenceKeypoint.new(0.8, 0), NumberSequenceKeypoint.new(1, 1)}) | |
133 | particleemitter.LightEmission = 1 | |
134 | particleemitter.Texture = "rbxassetid://38727848" | |
135 | particleemitter.Color = ColorSequence.new(BrickColor.new("Lime green").Color) | |
136 | ||
137 | local particleemitter = Instance.new('ParticleEmitter', Torso) | |
138 | particleemitter.VelocitySpread = 250 | |
139 | particleemitter.Lifetime = NumberRange.new(3) | |
140 | particleemitter.Speed = NumberRange.new(1.5) | |
141 | cringememe2 = {} | |
142 | for i=0, 19 do | |
143 | cringememe2[#cringememe2 + 1] = NumberSequenceKeypoint.new(i/19, math.random(1, 1)) | |
144 | end | |
145 | particleemitter.Size = NumberSequence.new(cringememe2) | |
146 | particleemitter.Rate = 45 | |
147 | particleemitter.LockedToPart = true | |
148 | particleemitter.Transparency = NumberSequence.new({NumberSequenceKeypoint.new(0, 1), NumberSequenceKeypoint.new(0.8, 0), NumberSequenceKeypoint.new(1, 1)}) | |
149 | particleemitter.LightEmission = 1 | |
150 | particleemitter.Texture = "rbxassetid://38727848" | |
151 | particleemitter.Color = ColorSequence.new(BrickColor.new("Really red").Color) | |
152 | - | WEAPONGUI.Name = "Weapon GUI" |
152 | + | |
153 | - | local Effects = IT("Folder", Character) |
153 | + | local particleemitter = Instance.new('ParticleEmitter', RightLeg) |
154 | particleemitter.VelocitySpread = 350 | |
155 | particleemitter.Lifetime = NumberRange.new(1) | |
156 | - | local ANIMATE = Character.Animate |
156 | + | particleemitter.Speed = NumberRange.new(0) |
157 | cringememe3= {} | |
158 | - | local FLIGHT = false |
158 | + | for i=0, 19 do |
159 | - | local BODYPOS, GYRO, FLIGHTRING |
159 | + | cringememe3[#cringememe3 + 1] = NumberSequenceKeypoint.new(i/19, math.random(1, 1)) |
160 | - | local PARTICLES = false |
160 | + | |
161 | - | local WINGS = false |
161 | + | particleemitter.Size = NumberSequence.new(cringememe3) |
162 | - | local APPLYGYRO = true |
162 | + | particleemitter.Rate = 45 |
163 | - | local DIRECTTURN = false |
163 | + | particleemitter.LockedToPart = true |
164 | - | local PHEONIXCOLOR = C3(0.9, 0.9, 0.9) |
164 | + | particleemitter.Transparency = NumberSequence.new({NumberSequenceKeypoint.new(0, 1), NumberSequenceKeypoint.new(0.8, 0), NumberSequenceKeypoint.new(1, 1)}) |
165 | particleemitter.LightEmission = 1 | |
166 | particleemitter.Texture = "rbxassetid://38727848" | |
167 | particleemitter.Color = ColorSequence.new(BrickColor.new("Really red").Color) | |
168 | ||
169 | local particleemitter = Instance.new('ParticleEmitter', LeftLeg) | |
170 | particleemitter.VelocitySpread = 350 | |
171 | particleemitter.Lifetime = NumberRange.new(1) | |
172 | particleemitter.Speed = NumberRange.new(0) | |
173 | cringememe4= {} | |
174 | for i=0, 19 do | |
175 | cringememe4[#cringememe4 + 1] = NumberSequenceKeypoint.new(i/19, math.random(1, 1)) | |
176 | end | |
177 | particleemitter.Size = NumberSequence.new(cringememe4) | |
178 | particleemitter.Rate = 45 | |
179 | particleemitter.LockedToPart = true | |
180 | particleemitter.Transparency = NumberSequence.new({NumberSequenceKeypoint.new(0, 1), NumberSequenceKeypoint.new(0.8, 0), NumberSequenceKeypoint.new(1, 1)}) | |
181 | particleemitter.LightEmission = 1 | |
182 | particleemitter.Texture = "rbxassetid://38727848" | |
183 | particleemitter.Color = ColorSequence.new(BrickColor.new("Lime green").Color) | |
184 | ||
185 | --//=================================\\ | |
186 | --|| SAZERENOS' ARTIFICIAL HEARTBEAT | |
187 | --\\=================================// | |
188 | ||
189 | ArtificialHB = Instance.new("BindableEvent", script) | |
190 | ArtificialHB.Name = "ArtificialHB" | |
191 | ||
192 | script:WaitForChild("ArtificialHB") | |
193 | ||
194 | frame = Frame_Speed | |
195 | tf = 0 | |
196 | allowframeloss = false | |
197 | tossremainder = false | |
198 | lastframe = tick() | |
199 | script.ArtificialHB:Fire() | |
200 | ||
201 | game:GetService("RunService").Heartbeat:connect(function(s, p) | |
202 | tf = tf + s | |
203 | if tf >= frame then | |
204 | if allowframeloss then | |
205 | script.ArtificialHB:Fire() | |
206 | lastframe = tick() | |
207 | else | |
208 | for i = 1, math.floor(tf / frame) do | |
209 | script.ArtificialHB:Fire() | |
210 | end | |
211 | lastframe = tick() | |
212 | end | |
213 | if tossremainder then | |
214 | tf = 0 | |
215 | else | |
216 | tf = tf - frame * math.floor(tf / frame) | |
217 | end | |
218 | end | |
219 | end) | |
220 | ||
221 | --//=================================\\ | |
222 | - | NEWMESH.MeshId = "http://www.roblox.com/asset/?id=" .. MESHID |
222 | + | --\\=================================// |
223 | ||
224 | --//=================================\\ | |
225 | - | NEWMESH.TextureId = "http://www.roblox.com/asset/?id=" .. TEXTUREID |
225 | + | --|| SOME FUNCTIONS |
226 | --\\=================================// | |
227 | ||
228 | function Raycast(POSITION, DIRECTION, RANGE, IGNOREDECENDANTS) | |
229 | return workspace:FindPartOnRay(Ray.new(POSITION, DIRECTION.unit * RANGE), IGNOREDECENDANTS) | |
230 | end | |
231 | ||
232 | function PositiveAngle(NUMBER) | |
233 | if NUMBER >= 0 then | |
234 | NUMBER = 0 | |
235 | end | |
236 | return NUMBER | |
237 | end | |
238 | ||
239 | function NegativeAngle(NUMBER) | |
240 | if NUMBER <= 0 then | |
241 | NUMBER = 0 | |
242 | end | |
243 | return NUMBER | |
244 | end | |
245 | ||
246 | function Swait(NUMBER) | |
247 | if NUMBER == 0 or NUMBER == nil then | |
248 | ArtificialHB.Event:wait() | |
249 | else | |
250 | for i = 1, NUMBER do | |
251 | ArtificialHB.Event:wait() | |
252 | end | |
253 | - | local weldBetween = function(a, b) |
253 | + | |
254 | - | local weldd = Instance.new("ManualWeld") |
254 | + | |
255 | - | weldd.Part0 = a |
255 | + | |
256 | - | weldd.Part1 = b |
256 | + | |
257 | - | weldd.C0 = CFrame.new() |
257 | + | |
258 | - | weldd.C1 = b.CFrame:inverse() * a.CFrame |
258 | + | |
259 | - | weldd.Parent = a |
259 | + | |
260 | - | return weldd |
260 | + | |
261 | NEWMESH.MeshId = "http://www.roblox.com/asset/?id="..MESHID | |
262 | end | |
263 | if TEXTUREID ~= "nil" and TEXTUREID ~= "" then | |
264 | NEWMESH.TextureId = "http://www.roblox.com/asset/?id="..TEXTUREID | |
265 | - | if trace > 0 then |
265 | + | |
266 | end | |
267 | NEWMESH.Offset = OFFSET or VT(0, 0, 0) | |
268 | NEWMESH.Scale = SCALE | |
269 | NEWMESH.Parent = PARENT | |
270 | return NEWMESH | |
271 | - | if m00 < m11 then |
271 | + | |
272 | ||
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 | - | return (m02 + m20) * recip, (m12 + m21) * recip, 0.5 * s, (m10 - m01) * recip |
288 | + | |
289 | NEWPART:BreakJoints() | |
290 | NEWPART.Parent = PARENT | |
291 | return NEWPART | |
292 | end | |
293 | ||
294 | local function weldBetween(a, b) | |
295 | local weldd = Instance.new("ManualWeld") | |
296 | weldd.Part0 = a | |
297 | weldd.Part1 = b | |
298 | weldd.C0 = CFrame.new() | |
299 | weldd.C1 = b.CFrame:inverse() * a.CFrame | |
300 | weldd.Parent = a | |
301 | return weldd | |
302 | end | |
303 | ||
304 | ||
305 | - | local startInterp, finishInterp |
305 | + | |
306 | - | if cosTheta >= 1.0E-4 then |
306 | + | |
307 | - | if 1 - cosTheta > 1.0E-4 then |
307 | + | |
308 | if trace > 0 then | |
309 | local s = math.sqrt(1 + trace) | |
310 | local recip = 0.5 / s | |
311 | return (m21 - m12) * recip, (m02 - m20) * recip, (m10 - m01) * recip, s * 0.5 | |
312 | else | |
313 | local i = 0 | |
314 | if m11 > m00 then | |
315 | i = 1 | |
316 | - | elseif 1 + cosTheta > 1.0E-4 then |
316 | + | |
317 | - | local theta = ACOS(-cosTheta) |
317 | + | |
318 | - | local invSinTheta = 1 / SIN(theta) |
318 | + | |
319 | - | startInterp = SIN((t - 1) * theta) * invSinTheta |
319 | + | |
320 | - | finishInterp = SIN(t * theta) * invSinTheta |
320 | + | |
321 | local s = math.sqrt(m00 - m11 - m22 + 1) | |
322 | - | startInterp = t - 1 |
322 | + | |
323 | - | finishInterp = t |
323 | + | |
324 | elseif i == 1 then | |
325 | local s = math.sqrt(m11 - m22 - m00 + 1) | |
326 | local recip = 0.5 / s | |
327 | return (m01 + m10) * recip, 0.5 * s, (m21 + m12) * recip, (m02 - m20) * recip | |
328 | - | local qa = { |
328 | + | |
329 | - | QuaternionFromCFrame(a) |
329 | + | |
330 | - | } |
330 | + | local recip = 0.5 / s return (m02 + m20) * recip, (m12 + m21) * recip, 0.5 * s, (m10 - m01) * recip |
331 | - | local qb = { |
331 | + | |
332 | - | QuaternionFromCFrame(b) |
332 | + | |
333 | - | } |
333 | + | |
334 | ||
335 | function QuaternionToCFrame(px, py, pz, x, y, z, w) | |
336 | local xs, ys, zs = x + x, y + y, z + z | |
337 | local wx, wy, wz = w * xs, w * ys, w * zs | |
338 | local xx = x * xs | |
339 | local xy = x * ys | |
340 | local xz = x * zs | |
341 | local yy = y * ys | |
342 | local yz = y * zs | |
343 | local zz = z * zs | |
344 | 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)) | |
345 | end | |
346 | ||
347 | function QuaternionSlerp(a, b, t) | |
348 | local cosTheta = a[1] * b[1] + a[2] * b[2] + a[3] * b[3] + a[4] * b[4] | |
349 | local startInterp, finishInterp; | |
350 | if cosTheta >= 0.0001 then | |
351 | if (1 - cosTheta) > 0.0001 then | |
352 | local theta = ACOS(cosTheta) | |
353 | local invSinTheta = 1 / SIN(theta) | |
354 | startInterp = SIN((1 - t) * theta) * invSinTheta | |
355 | finishInterp = SIN(t * theta) * invSinTheta | |
356 | else | |
357 | startInterp = 1 - t | |
358 | finishInterp = t | |
359 | end | |
360 | else | |
361 | if (1 + cosTheta) > 0.0001 then | |
362 | local theta = ACOS(-cosTheta) | |
363 | local invSinTheta = 1 / SIN(theta) | |
364 | startInterp = SIN((t - 1) * theta) * invSinTheta | |
365 | finishInterp = SIN(t * theta) * invSinTheta | |
366 | else | |
367 | startInterp = t - 1 | |
368 | finishInterp = t | |
369 | end | |
370 | end | |
371 | 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 | |
372 | end | |
373 | ||
374 | function Clerp(a, b, t) | |
375 | local qa = {QuaternionFromCFrame(a)} | |
376 | local qb = {QuaternionFromCFrame(b)} | |
377 | local ax, ay, az = a.x, a.y, a.z | |
378 | local bx, by, bz = b.x, b.y, b.z | |
379 | local _t = 1 - t | |
380 | return QuaternionToCFrame(_t * ax + t * bx, _t * ay + t * by, _t * az + t * bz, QuaternionSlerp(qa, qb, t)) | |
381 | end | |
382 | - | local NEWSOUND |
382 | + | |
383 | function CreateFrame(PARENT, TRANSPARENCY, BORDERSIZEPIXEL, POSITION, SIZE, COLOR, BORDERCOLOR, NAME) | |
384 | local frame = IT("Frame") | |
385 | frame.BackgroundTransparency = TRANSPARENCY | |
386 | frame.BorderSizePixel = BORDERSIZEPIXEL | |
387 | frame.Position = POSITION | |
388 | - | NEWSOUND.SoundId = "http://www.roblox.com/asset/?id=" .. ID |
388 | + | |
389 | frame.BackgroundColor3 = COLOR | |
390 | frame.BorderColor3 = BORDERCOLOR | |
391 | frame.Name = NAME | |
392 | frame.Parent = PARENT | |
393 | - | repeat |
393 | + | |
394 | - | wait(1) |
394 | + | |
395 | - | until NEWSOUND.Playing == false |
395 | + | |
396 | function CreateLabel(PARENT, TEXT, TEXTCOLOR, TEXTFONTSIZE, TEXTFONT, TRANSPARENCY, BORDERSIZEPIXEL, STROKETRANSPARENCY, NAME) | |
397 | local label = IT("TextLabel") | |
398 | label.BackgroundTransparency = 1 | |
399 | label.Size = UD2(1, 0, 1, 0) | |
400 | label.Position = UD2(0, 0, 0, 0) | |
401 | label.TextColor3 = TEXTCOLOR | |
402 | label.TextStrokeTransparency = STROKETRANSPARENCY | |
403 | label.TextTransparency = TRANSPARENCY | |
404 | label.FontSize = TEXTFONTSIZE | |
405 | label.Font = TEXTFONT | |
406 | - | local TYPE = Table.EffectType or "Sphere" |
406 | + | |
407 | - | local SIZE = Table.Size or VT(1, 1, 1) |
407 | + | |
408 | - | local ENDSIZE = Table.Size2 or VT(0, 0, 0) |
408 | + | |
409 | - | local TRANSPARENCY = Table.Transparency or 0 |
409 | + | |
410 | - | local ENDTRANSPARENCY = Table.Transparency2 or 1 |
410 | + | |
411 | - | local CFRAME = Table.CFrame or Torso.CFrame |
411 | + | |
412 | - | local MOVEDIRECTION = Table.MoveToPos or nil |
412 | + | |
413 | - | local ROTATION1 = Table.RotationX or 0 |
413 | + | |
414 | - | local ROTATION2 = Table.RotationY or 0 |
414 | + | |
415 | - | local ROTATION3 = Table.RotationZ or 0 |
415 | + | |
416 | - | local MATERIAL = Table.Material or "Neon" |
416 | + | |
417 | - | local COLOR = Table.Color or C3(1, 1, 1) |
417 | + | |
418 | - | local TIME = Table.Time or 45 |
418 | + | |
419 | - | local SOUNDID = Table.SoundID or nil |
419 | + | |
420 | - | local SOUNDPITCH = Table.SoundPitch or nil |
420 | + | |
421 | - | local SOUNDVOLUME = Table.SoundVolume or nil |
421 | + | |
422 | NEWWELD.C0 = C0 | |
423 | NEWWELD.C1 = C1 | |
424 | - | local SOUND |
424 | + | |
425 | - | local EFFECT = CreatePart(3, Effects, MATERIAL, 0, TRANSPARENCY, BRICKC("Pearl"), "Effect", VT(1, 1, 1), true) |
425 | + | |
426 | end | |
427 | ||
428 | local S = IT("Sound") | |
429 | function CreateSound(ID, PARENT, VOLUME, PITCH, DOESLOOP) | |
430 | local NEWSOUND = nil | |
431 | - | local MSH |
431 | + | |
432 | NEWSOUND = S:Clone() | |
433 | - | MSH = CreateMesh("SpecialMesh", EFFECT, "Sphere", "", "", SIZE, VT(0, 0, 0)) |
433 | + | |
434 | NEWSOUND.Volume = VOLUME | |
435 | - | MSH = IT("BlockMesh", EFFECT) |
435 | + | |
436 | - | MSH.Scale = VT(SIZE.X, SIZE.X, SIZE.X) |
436 | + | NEWSOUND.SoundId = "http://www.roblox.com/asset/?id="..ID |
437 | NEWSOUND:play() | |
438 | - | MSH = CreateMesh("SpecialMesh", EFFECT, "FileMesh", "20329976", "", SIZE, VT(0, 0, -SIZE.X / 8)) |
438 | + | |
439 | NEWSOUND.Looped = true | |
440 | - | MSH = CreateMesh("SpecialMesh", EFFECT, "FileMesh", "559831844", "", VT(SIZE.X, SIZE.X, 0.1), VT(0, 0, 0)) |
440 | + | |
441 | repeat wait(1) until NEWSOUND.Playing == false or NEWSOUND.Parent ~= PARENT | |
442 | - | MSH = CreateMesh("SpecialMesh", EFFECT, "FileMesh", "662586858", "", VT(SIZE.X / 10, 0, SIZE.X / 10), VT(0, 0, 0)) |
442 | + | |
443 | end | |
444 | - | MSH = CreateMesh("SpecialMesh", EFFECT, "FileMesh", "662585058", "", VT(SIZE.X / 10, 0, SIZE.X / 10), VT(0, 0, 0)) |
444 | + | |
445 | return NEWSOUND | |
446 | - | MSH = CreateMesh("SpecialMesh", EFFECT, "FileMesh", "1051557", "", SIZE, VT(0, 0, 0)) |
446 | + | |
447 | ||
448 | - | MSH = CreateMesh("SpecialMesh", EFFECT, "FileMesh", "4770583", "", SIZE, VT(0, 0, 0)) |
448 | + | |
449 | local right = top:Cross(back) | |
450 | - | MSH = CreateMesh("SpecialMesh", EFFECT, "FileMesh", "9756362", "", SIZE, VT(0, 0, 0)) |
450 | + | |
451 | end | |
452 | ||
453 | - | local MOVESPEED |
453 | + | --Lightning({Material = "Neon", FadeIn = false, Color = C3(1,1,1), Start = Torso.Position, End = Mouse.Hit.p, SegmentL = 2, Thickness = 0.1, DoesFade = false, Ignore = Character, MaxDist = 400, Branches = false, FadeTime = 15, Thicken = false}) |
454 | function Lightning(Table) | |
455 | - | MOVESPEED = (CFRAME.p - MOVEDIRECTION).Magnitude / TIME |
455 | + | local Color = Table.Color or C3(1,1,1) |
456 | local StartPos = Table.Start or Torso.Position | |
457 | local EndPos = Table.End or Mouse.Hit.p | |
458 | local SegmentLength = Table.SegmentL or 2 | |
459 | local Thickness = Table.Thickness or 0.1 | |
460 | - | EFFECT.CFrame = CFRAME * ANGLES(RAD(MRANDOM(0, 360)), RAD(MRANDOM(0, 360)), RAD(MRANDOM(0, 360))) |
460 | + | local Dissapear = Table.DoesFade or false |
461 | local Parent = Table.Ignore or Character | |
462 | local MaxDist = Table.MaxDist or 400 | |
463 | local Branches = Table.Branches or false | |
464 | - | for LOOP = 1, TIME + 1 do |
464 | + | local Thicken = Table.Thicken or false |
465 | local FadeTime = Table.FadeTime or 15 | |
466 | - | MSH.Scale = MSH.Scale - GROWTH / TIME |
466 | + | local FadeIn = Table.FadeIn or false |
467 | local Material = Table.Material or "Neon" | |
468 | - | MSH.Offset = VT(0, 0, -MSH.Scale.X / 8) |
468 | + | local HIT,HITPOS = CastProperRay(StartPos, EndPos, MaxDist, Parent) |
469 | local DISTANCE = math.ceil((StartPos - HITPOS).Magnitude/((SegmentLength/SegmentLength)/1.5)) | |
470 | - | EFFECT.Transparency = EFFECT.Transparency - TRANS / TIME |
470 | + | local LIGHTNINGMODEL = IT("Model",Effects) |
471 | LIGHTNINGMODEL.Name = "Lightning" | |
472 | - | EFFECT.CFrame = CFRAME * ANGLES(RAD(MRANDOM(0, 360)), RAD(MRANDOM(0, 360)), RAD(MRANDOM(0, 360))) |
472 | + | local LastBolt = nil |
473 | for E = 1, DISTANCE do | |
474 | - | EFFECT.CFrame = EFFECT.CFrame * ANGLES(RAD(ROTATION1), RAD(ROTATION2), RAD(ROTATION3)) |
474 | + | local ExtraSize = 0 |
475 | if Thicken == true then | |
476 | ExtraSize = (DISTANCE-E)/15 | |
477 | end | |
478 | - | EFFECT.CFrame = CF(EFFECT.Position, MOVEDIRECTION) * CF(0, 0, -MOVESPEED) |
478 | + | local TRANSPARENCY = 0 |
479 | if FadeIn == true then | |
480 | TRANSPARENCY = 1-(E/(DISTANCE/1.5)) | |
481 | if TRANSPARENCY < 0 then | |
482 | TRANSPARENCY = 0 | |
483 | end | |
484 | end | |
485 | - | repeat |
485 | + | local PART = CreatePart(3, LIGHTNINGMODEL, Material, 0, TRANSPARENCY, BRICKC("Pearl"), "LightningPart"..E, VT(Thickness+ExtraSize,SegmentLength,Thickness+ExtraSize)) |
486 | PART.Color = Color | |
487 | - | until SOUND.Playing == false |
487 | + | MakeForm(PART,"Cyl") |
488 | if LastBolt == nil then | |
489 | PART.CFrame = CF(StartPos,HITPOS)*ANGLES(RAD(90),RAD(0),RAD(0))*CF(0,-PART.Size.Y/2,0) | |
490 | - | elseif PLAYSSOUND == false then |
490 | + | |
491 | - | EFFECT:remove() |
491 | + | PART.CFrame = CF(LastBolt.CFrame*CF(0,-LastBolt.Size.Y/2,0).p,CF(HITPOS)*ANGLES(RAD(MRANDOM(0,360)),RAD(MRANDOM(0,360)),RAD(MRANDOM(0,360)))*CF(0,0,DISTANCE-E).p)*ANGLES(RAD(90),RAD(0),RAD(0))*CF(0,-PART.Size.Y/2,0) |
492 | end | |
493 | - | repeat |
493 | + | LastBolt = PART |
494 | if Branches == true and E < (DISTANCE-5) then | |
495 | - | until SOUND.Playing == false |
495 | + | local CHOICE = MRANDOM(1,7+((DISTANCE-E)*2)) |
496 | - | EFFECT:remove() |
496 | + | if CHOICE == 1 then |
497 | local LASTBRANCH = nil | |
498 | for i = 1, MRANDOM(2,5) do | |
499 | local ExtraSize2 = 0 | |
500 | - | function MakeForm(PART, TYPE) |
500 | + | if Thicken == true then |
501 | ExtraSize = ((DISTANCE-E)/25)/i | |
502 | - | local MSH = IT("CylinderMesh", PART) |
502 | + | |
503 | local PART = CreatePart(3, LIGHTNINGMODEL, Material, 0, TRANSPARENCY, BRICKC("Pearl"), "Branch"..E.."-"..i, VT(Thickness+ExtraSize2,SegmentLength,Thickness+ExtraSize2)) | |
504 | - | local MSH = IT("SpecialMesh", PART) |
504 | + | PART.Color = Color |
505 | MakeForm(PART,"Cyl") | |
506 | if LASTBRANCH == nil then | |
507 | - | local MSH = IT("SpecialMesh", PART) |
507 | + | PART.CFrame = CF(LastBolt.CFrame*CF(0,-LastBolt.Size.Y/2,0).p,LastBolt.CFrame*CF(0,-LastBolt.Size.Y/2,0)*ANGLES(RAD(0),RAD(0),RAD(MRANDOM(0,360)))*CF(0,Thickness*7,0)*CF(0,0,-1).p)*ANGLES(RAD(90),RAD(0),RAD(0))*CF(0,-PART.Size.Y/2,0) |
508 | else | |
509 | PART.CFrame = CF(LASTBRANCH.CFrame*CF(0,-LASTBRANCH.Size.Y/2,0).p,LASTBRANCH.CFrame*CF(0,-LASTBRANCH.Size.Y/2,0)*ANGLES(RAD(0),RAD(0),RAD(MRANDOM(0,360)))*CF(0,Thickness*3,0)*CF(0,0,-1).p)*ANGLES(RAD(90),RAD(0),RAD(0))*CF(0,-PART.Size.Y/2,0) | |
510 | end | |
511 | LASTBRANCH = PART | |
512 | end | |
513 | - | local DIRECTION = CF(StartPos, EndPos).lookVector |
513 | + | |
514 | end | |
515 | end | |
516 | if Dissapear == true then | |
517 | - | RootPart.CFrame = CFrame.new(RootPart.CFrame.p, VT(position.X, RootPart.Position.Y, position.Z)) * CFrame.new(0, 0, 0) |
517 | + | |
518 | for i = 1, FadeTime do | |
519 | - | local DECAL = IT("Decal", nil) |
519 | + | |
520 | - | function MagicRing(PART, CFRAME, VARIANT) |
520 | + | for _, c in pairs(LIGHTNINGMODEL:GetChildren()) do |
521 | - | if VARIANT == "Pheonix" or VARIANT == "Sun" or VARIANT == "Fire" then |
521 | + | if c.ClassName == "Part" then |
522 | - | local RING = CreatePart(3, Effects, "Granite", 0, 1, "Maroon", "MagicRing", VT(0, 0, 0), false) |
522 | + | c.Transparency = c.Transparency + (i/FadeTime)/10 |
523 | - | local WELD = CreateWeldOrSnapOrMotor("Weld", PART, PART, RING, CFRAME, CF(0, 0, 0)) |
523 | + | |
524 | - | local MESH = IT("BlockMesh", RING) |
524 | + | |
525 | - | local BOTTOMTEXTURE = DECAL:Clone() |
525 | + | |
526 | - | BOTTOMTEXTURE.Parent = RING |
526 | + | LIGHTNINGMODEL:remove() |
527 | - | BOTTOMTEXTURE.Face = "Bottom" |
527 | + | |
528 | - | BOTTOMTEXTURE.Name = "BottomTexture" |
528 | + | elseif Dissapear == false then |
529 | - | local TOPTEXTURE = DECAL:Clone() |
529 | + | Debris:AddItem(LIGHTNINGMODEL,0.1) |
530 | - | TOPTEXTURE.Parent = RING |
530 | + | |
531 | - | TOPTEXTURE.Face = "Top" |
531 | + | return {Hit = HIT,Pos = HITPOS,End = LastBolt.CFrame*CF(0,0,-LastBolt.Size.Z).p,LastBolt = LastBolt,Model = LIGHTNINGMODEL} |
532 | - | TOPTEXTURE.Name = "TopTexture" |
532 | + | |
533 | - | local T = script.RingEmit:Clone() |
533 | + | |
534 | - | T.Parent = RING |
534 | + | --WACKYEFFECT({EffectType = "", Size = VT(1,1,1), Size2 = VT(0,0,0), Transparency = 0, Transparency2 = 1, CFrame = CF(), MoveToPos = nil, RotationX = 0, RotationY = 0, RotationZ = 0, Material = "Neon", Color = C3(1,0,0), SoundID = nil, SoundPitch = nil, SoundVolume = nil}) |
535 | - | local LIGHT = IT("PointLight", RING) |
535 | + | |
536 | - | if VARIANT == "Pheonix" then |
536 | + | local TYPE = (Table.EffectType or "Sphere") |
537 | - | BOTTOMTEXTURE.Texture = "http://www.roblox.com/asset/?id=1617574752" |
537 | + | local SIZE = (Table.Size or VT(1,1,1)) |
538 | - | TOPTEXTURE.Texture = "http://www.roblox.com/asset/?id=1617575377" |
538 | + | local ENDSIZE = (Table.Size2 or VT(0,0,0)) |
539 | - | T.Color = ColorSequence.new(PHEONIXCOLOR) |
539 | + | local TRANSPARENCY = (Table.Transparency or 0) |
540 | - | CreateSound(462809305, RING, 5, 1, false) |
540 | + | local ENDTRANSPARENCY = (Table.Transparency2 or 1) |
541 | - | elseif VARIANT == "Sun" then |
541 | + | local CFRAME = (Table.CFrame or Torso.CFrame) |
542 | - | BOTTOMTEXTURE.Texture = "http://www.roblox.com/asset/?id=1217786509" |
542 | + | local MOVEDIRECTION = (Table.MoveToPos or nil) |
543 | - | TOPTEXTURE.Texture = "http://www.roblox.com/asset/?id=1217788749" |
543 | + | local ROTATION1 = (Table.RotationX or 0) |
544 | - | T.Color = ColorSequence.new(BRICKC("Bright orange").Color) |
544 | + | local ROTATION2 = (Table.RotationY or 0) |
545 | - | CreateSound(462809305, RING, 5, 1, false) |
545 | + | local ROTATION3 = (Table.RotationZ or 0) |
546 | - | LIGHT.Color = BRICKC("Bright orange").Color |
546 | + | local MATERIAL = (Table.Material or "Neon") |
547 | - | elseif VARIANT == "Fire" then |
547 | + | local COLOR = (Table.Color or C3(1,1,1)) |
548 | - | BOTTOMTEXTURE.Texture = "http://www.roblox.com/asset/?id=1222222911" |
548 | + | local TIME = (Table.Time or 45) |
549 | - | TOPTEXTURE.Texture = "http://www.roblox.com/asset/?id=1222223218" |
549 | + | local SOUNDID = (Table.SoundID or nil) |
550 | - | T.Color = ColorSequence.new(BRICKC("Bright orange").Color) |
550 | + | local SOUNDPITCH = (Table.SoundPitch or nil) |
551 | - | CreateSound(343211019, RING, 5, 1, false) |
551 | + | local SOUNDVOLUME = (Table.SoundVolume or nil) |
552 | - | LIGHT.Color = C3(1, 0.3333333333333333, 0) |
552 | + | |
553 | local PLAYSSOUND = false | |
554 | - | T.LightEmission = 1 |
554 | + | local SOUND = nil |
555 | - | T:Emit(5) |
555 | + | local EFFECT = CreatePart(3, Effects, MATERIAL, 0, TRANSPARENCY, BRICKC("Pearl"), "Effect", VT(1,1,1), true) |
556 | - | Debris:AddItem(T, 5) |
556 | + | |
557 | - | return RING, WELD, MESH |
557 | + | |
558 | SOUND = CreateSound(SOUNDID, EFFECT, SOUNDVOLUME, SOUNDPITCH, false) | |
559 | end | |
560 | - | function AddChildrenToTable(FROM, PARENT, DIST, TABLE) |
560 | + | |
561 | - | for _, c in pairs(PARENT:GetDescendants()) do |
561 | + | local MSH = nil |
562 | - | if c.ClassName == "Model" and c ~= Character and c:FindFirstChildOfClass("Humanoid") and (c:FindFirstChild("Torso") or c:FindFirstChild("UpperTorso")) then |
562 | + | |
563 | - | local HUMANOID = c:FindFirstChildOfClass("Humanoid") |
563 | + | MSH = CreateMesh("SpecialMesh", EFFECT, "Sphere", "", "", SIZE, VT(0,0,0)) |
564 | - | local TORSO = c:FindFirstChild("Torso") or c:FindFirstChild("UpperTorso") |
564 | + | |
565 | - | if DIST > (TORSO.Position - FROM).Magnitude then |
565 | + | MSH = IT("BlockMesh",EFFECT) |
566 | - | table.insert(TABLE, c) |
566 | + | MSH.Scale = VT(SIZE.X,SIZE.X,SIZE.X) |
567 | elseif TYPE == "Wave" then | |
568 | MSH = CreateMesh("SpecialMesh", EFFECT, "FileMesh", "20329976", "", SIZE, VT(0,0,-SIZE.X/8)) | |
569 | elseif TYPE == "Ring" then | |
570 | MSH = CreateMesh("SpecialMesh", EFFECT, "FileMesh", "559831844", "", VT(SIZE.X,SIZE.X,0.1), VT(0,0,0)) | |
571 | - | local BACKATTACHMENT1 = IT("Attachment", Torso) |
571 | + | |
572 | - | BACKATTACHMENT1.Position = VT(0.5, 0.5, 0.75) |
572 | + | MSH = CreateMesh("SpecialMesh", EFFECT, "FileMesh", "662586858", "", VT(SIZE.X/10,0,SIZE.X/10), VT(0,0,0)) |
573 | - | local BACKATTACHMENT2 = IT("Attachment", Torso) |
573 | + | |
574 | - | BACKATTACHMENT2.Position = VT(-0.5, 0.5, 0.75) |
574 | + | MSH = CreateMesh("SpecialMesh", EFFECT, "FileMesh", "662585058", "", VT(SIZE.X/10,0,SIZE.X/10), VT(0,0,0)) |
575 | - | local WINGS1 = script.Wing1 |
575 | + | |
576 | - | WINGS1.EmissionDirection="Right" |
576 | + | MSH = CreateMesh("SpecialMesh", EFFECT, "FileMesh", "1051557", "", SIZE, VT(0,0,0)) |
577 | - | WINGS1.Size=NumberSequence.new(2) |
577 | + | |
578 | - | local WINGS1B = script.Wing1B |
578 | + | MSH = CreateMesh("SpecialMesh", EFFECT, "FileMesh", "4770583", "", SIZE, VT(0,0,0)) |
579 | - | WINGS1B.EmissionDirection="Right" |
579 | + | |
580 | - | WINGS1B.Size=NumberSequence.new(2) |
580 | + | MSH = CreateMesh("SpecialMesh", EFFECT, "FileMesh", "9756362", "", SIZE, VT(0,0,0)) |
581 | - | local WINGS2 = script.Wing2 |
581 | + | |
582 | - | WINGS2.EmissionDirection="Left" |
582 | + | |
583 | - | WINGS2.Size=NumberSequence.new(2) |
583 | + | local MOVESPEED = nil |
584 | - | local WINGS2B = script.Wing2B |
584 | + | |
585 | - | WINGS2B.EmissionDirection="Left" |
585 | + | MOVESPEED = (CFRAME.p - MOVEDIRECTION).Magnitude/TIME |
586 | - | WINGS2B.Size=NumberSequence.new(2) |
586 | + | |
587 | - | WINGS1.Parent = BACKATTACHMENT1 |
587 | + | |
588 | - | WINGS1.LockedToPart=true |
588 | + | |
589 | - | WINGS1B.Parent = BACKATTACHMENT1 |
589 | + | |
590 | - | WINGS1B.LockedToPart=true |
590 | + | EFFECT.CFrame = CFRAME*ANGLES(RAD(MRANDOM(0,360)),RAD(MRANDOM(0,360)),RAD(MRANDOM(0,360))) |
591 | - | WINGS2.Parent = BACKATTACHMENT2 |
591 | + | |
592 | - | WINGS2.LockedToPart=true |
592 | + | |
593 | - | WINGS2B.Parent = BACKATTACHMENT2 |
593 | + | |
594 | - | WINGS2B.LockedToPart=true |
594 | + | for LOOP = 1, TIME+1 do |
595 | - | local FACEATTACHMENT = IT("Attachment", Head) |
595 | + | |
596 | - | FACEATTACHMENT.Position = VT(0.167, 0.272, -0.5) |
596 | + | MSH.Scale = MSH.Scale - GROWTH/TIME |
597 | - | FACEATTACHMENT.Orientation = VT(0, 35, 0) |
597 | + | |
598 | - | local EYE = script.Eye1 |
598 | + | MSH.Offset = VT(0,0,-MSH.Scale.X/8) |
599 | - | EYE.LockedToPart=true |
599 | + | |
600 | - | EYE.Parent = FACEATTACHMENT |
600 | + | EFFECT.Transparency = EFFECT.Transparency - TRANS/TIME |
601 | - | local EYE2 = script.Eye2 |
601 | + | |
602 | - | EYE2.Parent = FACEATTACHMENT |
602 | + | EFFECT.CFrame = CFRAME*ANGLES(RAD(MRANDOM(0,360)),RAD(MRANDOM(0,360)),RAD(MRANDOM(0,360))) |
603 | - | EYE2.LockedToPart=true |
603 | + | |
604 | - | local TRAIL1 = script.PheonixTrail:Clone() |
604 | + | EFFECT.CFrame = EFFECT.CFrame*ANGLES(RAD(ROTATION1),RAD(ROTATION2),RAD(ROTATION3)) |
605 | - | TRAIL1.LockedToPart=true |
605 | + | |
606 | - | TRAIL1.Size=NumberSequence.new(.01) |
606 | + | |
607 | - | TRAIL1.Parent = BACKATTACHMENT1 |
607 | + | |
608 | - | local TRAIL2 = script.PheonixTrail:Clone() |
608 | + | EFFECT.CFrame = CF(EFFECT.Position,MOVEDIRECTION)*CF(0,0,-MOVESPEED) |
609 | - | TRAIL2.LockedToPart=true |
609 | + | |
610 | - | TRAIL2.Parent = BACKATTACHMENT2 |
610 | + | |
611 | - | TRAIL2.Size=NumberSequence.new(.01) |
611 | + | |
612 | - | local LIGHT = IT("PointLight", FACEATTACHMENT) |
612 | + | |
613 | - | LIGHT.Enabled = false |
613 | + | |
614 | - | LIGHT.Brightness = 5 |
614 | + | |
615 | - | LIGHT.Range = 6 |
615 | + | SOUND.Stopped:Connect(function() |
616 | EFFECT:remove() | |
617 | end) | |
618 | end | |
619 | - | function ApplyDamage(Humanoid, Damage, TorsoPart, Time, AfterBurn, Variant) |
619 | + | |
620 | - | local defence = Instance.new("BoolValue", Humanoid.Parent) |
620 | + | |
621 | - | defence.Name = "HitBy" .. Player.Name |
621 | + | |
622 | - | game:GetService("Debris"):AddItem(defence, 0.001) |
622 | + | |
623 | - | Damage = Damage * DAMAGEMULTIPLIER |
623 | + | repeat Swait() until SOUND.Playing == false |
624 | - | if Humanoid.Health ~= 0 then |
624 | + | |
625 | - | local CritChance = MRANDOM(1, 100) |
625 | + | |
626 | - | if Damage > Humanoid.Health then |
626 | + | |
627 | - | Damage = math.ceil(Humanoid.Health) |
627 | + | |
628 | - | if Damage == 0 then |
628 | + | |
629 | - | Damage = 0.1 |
629 | + | |
630 | function MakeForm(PART,TYPE) | |
631 | if TYPE == "Cyl" then | |
632 | - | Humanoid.Health = Humanoid.Health - Damage |
632 | + | local MSH = IT("CylinderMesh",PART) |
633 | - | if AfterBurn == true then |
633 | + | |
634 | - | Afterburn(Humanoid, Time, Damage / 5, Variant) |
634 | + | local MSH = IT("SpecialMesh",PART) |
635 | MSH.MeshType = "Sphere" | |
636 | elseif TYPE == "Wedge" then | |
637 | local MSH = IT("SpecialMesh",PART) | |
638 | - | function Afterburn(Human, Time, Damage, Variant) |
638 | + | |
639 | end | |
640 | - | if Human and (Human.Parent:FindFirstChild("Torso") or Human.Parent:FindFirstChild("UpperTorso")) then |
640 | + | |
641 | - | local Torso = Human.Parent:FindFirstChild("Torso") or Human.Parent:FindFirstChild("UpperTorso") |
641 | + | |
642 | - | local FIRE |
642 | + | function SpawnTrail(FROM,TO,BIG) |
643 | - | if Variant == "Pheonix" then |
643 | + | local TRAIL = CreatePart(3, Effects, "Neon", 0, 0.5, "Really red", "Trail", VT(0,0,0)) |
644 | - | FIRE = script.PheonixBurn:Clone() |
644 | + | MakeForm(TRAIL,"Cyl") |
645 | - | FIRE.Parent = Torso |
645 | + | local DIST = (FROM - TO).Magnitude |
646 | - | FIRE.Enabled = true |
646 | + | if BIG == true then |
647 | - | elseif Variant == "Sun" then |
647 | + | TRAIL.Size = VT(0.5,DIST,0.5) |
648 | - | FIRE = script.SunBurn:Clone() |
648 | + | |
649 | - | FIRE.Parent = Torso |
649 | + | TRAIL.Size = VT(0.25,DIST,0.25) |
650 | - | FIRE.Enabled = true |
650 | + | |
651 | - | elseif Variant == "Fire" then |
651 | + | TRAIL.CFrame = CF(FROM, TO) * CF(0, 0, -DIST/2) * ANGLES(RAD(90),RAD(0),RAD(0)) |
652 | - | FIRE = script.Burn:Clone() |
652 | + | |
653 | - | FIRE.Parent = Torso |
653 | + | |
654 | - | FIRE.Enabled = true |
654 | + | |
655 | TRAIL.Transparency = TRAIL.Transparency + 0.1 | |
656 | - | for i = 1, Time do |
656 | + | |
657 | - | wait(0.5) |
657 | + | TRAIL:remove() |
658 | - | Human.Health = Human.Health - Damage |
658 | + | |
659 | end | |
660 | - | wait(0.25) |
660 | + | |
661 | - | FIRE.Enabled = false |
661 | + | |
662 | - | Debris:AddItem(FIRE, 1.5) |
662 | + | |
663 | function CastProperRay(StartPos, EndPos, Distance, Ignore) | |
664 | local DIRECTION = CF(StartPos,EndPos).lookVector | |
665 | return Raycast(StartPos, DIRECTION, Distance, Ignore) | |
666 | - | function ApplyAoE(POSITION, RANGE, MINDMG, MAXDMG, FLING, AFTERBURN, TIME, VARIANT, DOESCAMSHAKE, CAMVALUES) |
666 | + | |
667 | - | local CHILDREN = workspace:GetChildren() |
667 | + | |
668 | function turnto(position) | |
669 | RootPart.CFrame=CFrame.new(RootPart.CFrame.p,VT(position.X,RootPart.Position.Y,position.Z)) * CFrame.new(0, 0, 0) | |
670 | end | |
671 | local asd = Instance.new("ParticleEmitter") | |
672 | asd.Color = ColorSequence.new(Color3.new(1, 0, 0), Color3.new(.3, 0, 0)) | |
673 | - | if TORSO and RANGE >= (TORSO.Position - POSITION).Magnitude then |
673 | + | asd.LightEmission = .1 |
674 | - | local DMG = MRANDOM(MINDMG, MAXDMG) |
674 | + | asd.Texture = "http://www.roblox.com/asset/?ID=291880914" |
675 | - | ApplyDamage(HUM, DMG, TORSO, TIME, AFTERBURN, VARIANT) |
675 | + | aaa = NumberSequence.new({NumberSequenceKeypoint.new(0, 0.6),NumberSequenceKeypoint.new(1, 2)}) |
676 | - | if HUM.MaxHealth == math.huge then |
676 | + | bbb = NumberSequence.new({NumberSequenceKeypoint.new(0, 1),NumberSequenceKeypoint.new(0.0636, 0), NumberSequenceKeypoint.new(1, 1)}) |
677 | - | CHILD:BreakJoints() |
677 | + | asd.Transparency = bbb |
678 | asd.Size = aaa | |
679 | - | if DOESCAMSHAKE == true then |
679 | + | asd.ZOffset = .9 |
680 | - | local CAMSHAKER = script.CamShake:Clone() |
680 | + | asd.Acceleration = Vector3.new(0, -15, 0) |
681 | - | CAMSHAKER.Shake.Value = CAMVALUES.SHAKE |
681 | + | asd.LockedToPart = false |
682 | - | CAMSHAKER.Timer.Value = CAMVALUES.TIMER |
682 | + | asd.EmissionDirection = "Back" |
683 | - | CAMSHAKER.DoesFade.Value = CAMVALUES.DOESFADE |
683 | + | asd.Lifetime = NumberRange.new(1, 2) |
684 | - | CAMSHAKER.Parent = CHILD |
684 | + | asd.Rotation = NumberRange.new(-100, 100) |
685 | - | CAMSHAKER.Disabled = false |
685 | + | asd.RotSpeed = NumberRange.new(-100, 100) |
686 | asd.Speed = NumberRange.new(100) | |
687 | - | if FLING > 0 then |
687 | + | asd.Enabled = false |
688 | - | for _, c in pairs(CHILD:GetChildren()) do |
688 | + | asd.VelocitySpread = 999 |
689 | - | if c:IsA("BasePart") then |
689 | + | |
690 | - | local bv = Instance.new("BodyVelocity") |
690 | + | function getbloody(victim,amount) |
691 | - | bv.maxForce = Vector3.new(1000000000, 1000000000, 1000000000) |
691 | + | local PART = CreatePart(3, Effects, "Metal", 0, 1, "Mid gray", "Blood", victim.Size) |
692 | - | bv.velocity = CF(POSITION, TORSO.Position).lookVector * FLING |
692 | + | PART.CFrame = victim.CFrame |
693 | - | bv.Parent = c |
693 | + | local HITPLAYERSOUNDS = {"356551938","264486467"} |
694 | - | Debris:AddItem(bv, 0.05) |
694 | + | Debris:AddItem(PART,5) |
695 | CreateSound(HITPLAYERSOUNDS[MRANDOM(1, #HITPLAYERSOUNDS)], PART, 1, (math.random(8,12)/10)) | |
696 | CreateSound(HITPLAYERSOUNDS[MRANDOM(1, #HITPLAYERSOUNDS)], PART, 1, (math.random(8,12)/10)) | |
697 | CreateSound(HITPLAYERSOUNDS[MRANDOM(1, #HITPLAYERSOUNDS)], PART, 1, (math.random(8,12)/10)) | |
698 | local prtcl = asd:Clone() | |
699 | prtcl.Parent = PART | |
700 | prtcl:Emit(amount*10) | |
701 | end | |
702 | ||
703 | - | function ShootingStar() |
703 | + | local Particle = IT("ParticleEmitter",nil) |
704 | Particle.Enabled = false | |
705 | Particle.Transparency = NumberSequence.new({NumberSequenceKeypoint.new(0,1),NumberSequenceKeypoint.new(0.3,0.95),NumberSequenceKeypoint.new(1,1)}) | |
706 | Particle.LightEmission = 13 | |
707 | - | GYRO.D = 20 |
707 | + | Particle.Rate = 350 |
708 | - | GYRO.P = 4000 |
708 | + | Particle.ZOffset = 1 |
709 | - | GYRO.MaxTorque = VT(0, 40000, 0) |
709 | + | Particle.Rotation = NumberRange.new(-180, 180) |
710 | - | local RING, WELD, MESH = MagicRing(RightArm, CF(0, -1.2, 0), "Sun") |
710 | + | Particle.RotSpeed = NumberRange.new(-180, 180) |
711 | Particle.Texture = "http://www.roblox.com/asset/?id=304437537" | |
712 | - | for i = 1, 35 do |
712 | + | Particle.Color = ColorSequence.new(C3(255,128,0),C3(0,155,0),C3(255,255,0),C3(0,255,0),C3(0,255,255),C3(0,0,255),C3(191,0,255),C3(255,0,191)) |
713 | ||
714 | - | MESH.Scale = MESH.Scale + VT(2.6, 0, 2.6) |
714 | + | --ParticleEmitter({Speed = 5, Drag = 0, Size1 = 1, Size2 = 5, Lifetime1 = 1, Lifetime2 = 1.5, Parent = Torso, Emit = 100, Offset = 360, Enabled = false}) |
715 | function ParticleEmitter(Table) | |
716 | local PRTCL = Particle:Clone() | |
717 | - | for i = 0, 1.8, 0.1 / Animation_Speed do |
717 | + | local Speed = Table.Speed or 5 |
718 | - | GYRO.CFrame = CF(RootPart.Position, Mouse.Hit.p) |
718 | + | local Drag = Table.Drag or 0 |
719 | local Size1 = Table.Size1 or 1 | |
720 | - | RootJoint.C0 = Clerp(RootJoint.C0, ROOTC0 * CF(0, 0, 0) * ANGLES(RAD(0), RAD(0), RAD(74)), 2 / Animation_Speed) |
720 | + | local Size2 = Table.Size2 or 5 |
721 | - | Neck.C0 = Clerp(Neck.C0, NECKC0 * CF(0, 0, 0) * ANGLES(RAD(20), RAD(0), RAD(-74)), 1 / Animation_Speed) |
721 | + | local Lifetime1 = Table.Lifetime1 or 1 |
722 | - | RightShoulder.C0 = Clerp(RightShoulder.C0, CF(1.25, 0.5, -0.3) * ANGLES(RAD(90), RAD(0), RAD(74)) * RIGHTSHOULDERC0, 1 / Animation_Speed) |
722 | + | local Lifetime2 = Table.Lifetime2 or 1.5 |
723 | - | 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) |
723 | + | local Parent = Table.Parent or Torso |
724 | - | 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) |
724 | + | local Emit = Table.Emit or 100 |
725 | - | 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) |
725 | + | local Offset = Table.Offset or 360 |
726 | local Acel = Table.Acel or VT(0,0,0) | |
727 | local Enabled = Table.Enabled or false | |
728 | - | local POSITION = Mouse.Hit.p |
728 | + | PRTCL.Parent = Parent |
729 | - | local FIREBALL = CreatePart(3, Effects, "Neon", 0, 1, "New Yeller", "Fire", VT(3, 3, 3)) |
729 | + | PRTCL.Size = NumberSequence.new(Size1,Size2) |
730 | - | FIREBALL.CFrame = RightArm.CFrame * CF(0, -3, 0) |
730 | + | PRTCL.Lifetime = NumberRange.new(Lifetime1,Lifetime2) |
731 | - | local FIRE = script.SunFireball:Clone() |
731 | + | PRTCL.Speed = NumberRange.new(Speed) |
732 | - | FIRE.Parent = FIREBALL |
732 | + | PRTCL.VelocitySpread = Offset |
733 | - | FIRE.Enabled = true |
733 | + | PRTCL.Drag = Drag |
734 | - | local EXPLOSION = script.SunExplosion:Clone() |
734 | + | PRTCL.Acceleration = Acel |
735 | - | EXPLOSION.Parent = FIREBALL |
735 | + | if Enabled == false then |
736 | - | CreateSound(463598785, FIREBALL, 5, 1, false) |
736 | + | PRTCL:Emit(Emit) |
737 | - | local DISTANCE = (RootPart.Position - POSITION).Magnitude |
737 | + | Debris:AddItem(PRTCL,Lifetime2) |
738 | - | 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) |
738 | + | |
739 | - | for i = 1, 75 do |
739 | + | PRTCL.Enabled = true |
740 | end | |
741 | - | FIREBALL.CFrame = Clerp(FIREBALL.CFrame, FRAME, 0.5 / Animation_Speed) |
741 | + | return PRTCL |
742 | end | |
743 | - | FIREBALL.CFrame = CF(FIREBALL.Position, POSITION) |
743 | + | |
744 | - | for i = 1, 300 do |
744 | + | --//=================================\\ |
745 | --|| WEAPON CREATION | |
746 | - | FIREBALL.CFrame = FIREBALL.CFrame * CF(0, 0, -4) |
746 | + | --\\=================================// |
747 | - | local HITFLOOR, HITPOS = Raycast(FIREBALL.Position, FIREBALL.CFrame.lookVector, 4.2, Character) |
747 | + | |
748 | - | if HITFLOOR ~= nil then |
748 | + | function SHAKECAM(POSITION, RANGE, INTENSITY, TIME) |
749 | - | FIRE.Enabled = false |
749 | + | local TORSO = Torso |
750 | - | EXPLOSION:Emit(500) |
750 | + | local HUM = Humanoid |
751 | - | CreateSound(416328540, FIREBALL, 5, 1, false) |
751 | + | if TORSO and RANGE >= (TORSO.Position - POSITION).Magnitude then |
752 | - | ApplyAoE(FIREBALL.Position, 75, 25, 35, 65, true, MRANDOM(5, 15), "Sun", true, { |
752 | + | coroutine.wrap(function() |
753 | - | SHAKE = 1, |
753 | + | VT = Vector3.new |
754 | - | TIMER = 6, |
754 | + | MRANDOM = math.random |
755 | - | DOESFADE = true |
755 | + | local A = TIME |
756 | local B = INTENSITY | |
757 | local C = true | |
758 | local HUMANOID = Humanoid | |
759 | - | Size = VT(0, 0, 0), |
759 | + | local TIMER = A or 35 |
760 | - | Size2 = VT(150, 150, 150), |
760 | + | local SHAKE = B or 5 |
761 | local FADE = C or true | |
762 | if HUMANOID then | |
763 | - | CFrame = CF(FIREBALL.Position), |
763 | + | local FADER = SHAKE / TIMER |
764 | for i = 1, TIMER do | |
765 | wait() | |
766 | HUMANOID.CameraOffset = VT(MRANDOM(-(SHAKE - FADER * i), SHAKE - FADER * i) / 10, MRANDOM(-(SHAKE - FADER * i), SHAKE - FADER * i) / 10, MRANDOM(-(SHAKE - FADER * i), SHAKE - FADER * i) / 10) | |
767 | end | |
768 | HUMANOID.CameraOffset = VT(0, 0, 0) | |
769 | - | Color = C3(1, 0.6666666666666666, 0), |
769 | + | |
770 | ||
771 | end)() | |
772 | end | |
773 | end | |
774 | - | wait(5) |
774 | + | |
775 | - | break |
775 | + | |
776 | local PRT = CreatePart(3, Character, "Fabric", 0, 0, "Really black", "Hood", VT(1,1,1),false) | |
777 | PRT.Color = C3(0,0,0) | |
778 | - | FIREBALL:remove() |
778 | + | local HoodWeld = CreateWeldOrSnapOrMotor("Weld", Head, Head, PRT, CF(0,0.2,0), CF(0, 0, 0)) |
779 | CreateMesh("SpecialMesh", PRT, "FileMesh", "76062497", "", VT(1,1,1)*1.05, VT(0,0,0)) | |
780 | local PRT = CreatePart(3, Character, "Fabric", 0, 0, "Really black", "Scarf", VT(1,1,1),false) | |
781 | - | RING.Anchored = true |
781 | + | PRT.Color = C3(0,0,0) |
782 | - | WELD:remove() |
782 | + | |
783 | --WACKYEFFECT({EffectType = "", Size = VT(1,1,1), Size2 = VT(0,0,0), Transparency = 0, Transparency2 = 1, CFrame = CF(), MoveToPos = nil, RotationX = 0, RotationY = 0, RotationZ = 0, Material = "Neon", Color = C3(1,0,0), SoundID = nil, SoundPitch = nil, SoundVolume = nil}) | |
784 | - | for i = 1, 35 do |
784 | + | |
785 | local TYPE = (Table.EffectType or "Sphere") | |
786 | - | MESH.Scale = MESH.Scale - VT(2.6, 0, 2.6) |
786 | + | local SIZE = (Table.Size or VT(1,1,1)) |
787 | local ENDSIZE = (Table.Size2 or VT(0,0,0)) | |
788 | - | RING:remove() |
788 | + | local TRANSPARENCY = (Table.Transparency or 0) |
789 | local ENDTRANSPARENCY = (Table.Transparency2 or 1) | |
790 | local CFRAME = (Table.CFrame or Torso.CFrame) | |
791 | local MOVEDIRECTION = (Table.MoveToPos or nil) | |
792 | local ROTATION1 = (Table.RotationX or 0) | |
793 | - | function PheonixRage() |
793 | + | local ROTATION2 = (Table.RotationY or 0) |
794 | local ROTATION3 = (Table.RotationZ or 0) | |
795 | local MATERIAL = (Table.Material or "Neon") | |
796 | - | local A = false |
796 | + | local COLOR = (Table.Color or C3(1,1,1)) |
797 | - | local B = false |
797 | + | local TIME = (Table.Time or 45) |
798 | - | local RING, WELD, MESH = MagicRing(RootPart, CF(0, -3, 0), "Pheonix") |
798 | + | local SOUNDID = (Table.SoundID or nil) |
799 | - | WELD:remove() |
799 | + | local SOUNDPITCH = (Table.SoundPitch or nil) |
800 | - | RING.Anchored = true |
800 | + | local SOUNDVOLUME = (Table.SoundVolume or nil) |
801 | coroutine.resume(coroutine.create(function() | |
802 | - | for i = 1, 45 do |
802 | + | |
803 | local SOUND = nil | |
804 | - | MESH.Scale = MESH.Scale + VT(15, 0, 15) |
804 | + | local EFFECT = CreatePart(3, Effects, MATERIAL, 0, TRANSPARENCY, BRICKC("Lime green"), "Effect", VT(1,1,1), true) |
805 | if SOUNDID ~= nil and SOUNDPITCH ~= nil and SOUNDVOLUME ~= nil then | |
806 | PLAYSSOUND = true | |
807 | SOUND = CreateSound(SOUNDID, EFFECT, SOUNDVOLUME, SOUNDPITCH, false) | |
808 | end | |
809 | EFFECT.Color = COLOR | |
810 | - | 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) |
810 | + | local MSH = nil |
811 | - | 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) |
811 | + | |
812 | - | RightShoulder.C0 = Clerp(RightShoulder.C0, CF(1.15, 0.5, -0.5) * ANGLES(RAD(15), RAD(0), RAD(-90)) * RIGHTSHOULDERC0, 1 / Animation_Speed) |
812 | + | MSH = CreateMesh("SpecialMesh", EFFECT, "Sphere", "", "", SIZE, VT(0,0,0)) |
813 | - | LeftShoulder.C0 = Clerp(LeftShoulder.C0, CF(-1.15, 0.25, -0.5) * ANGLES(RAD(-15), RAD(0), RAD(90)) * LEFTSHOULDERC0, 1 / Animation_Speed) |
813 | + | |
814 | - | 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) |
814 | + | MSH = IT("BlockMesh",EFFECT) |
815 | - | 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) |
815 | + | MSH.Scale = VT(SIZE.X,SIZE.X,SIZE.X) |
816 | - | until A == true |
816 | + | |
817 | MSH = CreateMesh("SpecialMesh", EFFECT, "FileMesh", "20329976", "", SIZE, VT(0,0,-SIZE.X/8)) | |
818 | elseif TYPE == "Ring" then | |
819 | - | 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) |
819 | + | MSH = CreateMesh("SpecialMesh", EFFECT, "FileMesh", "559831844", "", VT(SIZE.X,SIZE.X,0.1), VT(0,0,0)) |
820 | - | 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) |
820 | + | |
821 | - | RightShoulder.C0 = Clerp(RightShoulder.C0, CF(1.5, 0.5, 0) * ANGLES(RAD(0), RAD(0), RAD(45)) * RIGHTSHOULDERC0, 1 / Animation_Speed) |
821 | + | MSH = CreateMesh("SpecialMesh", EFFECT, "FileMesh", "662586858", "", VT(SIZE.X/10,0,SIZE.X/10), VT(0,0,0)) |
822 | - | LeftShoulder.C0 = Clerp(LeftShoulder.C0, CF(-1.5, 0.5, 0) * ANGLES(RAD(0), RAD(0), RAD(-45)) * LEFTSHOULDERC0, 1 / Animation_Speed) |
822 | + | |
823 | - | 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) |
823 | + | MSH = CreateMesh("SpecialMesh", EFFECT, "FileMesh", "662585058", "", VT(SIZE.X/10,0,SIZE.X/10), VT(0,0,0)) |
824 | - | 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) |
824 | + | |
825 | - | until B == true |
825 | + | MSH = CreateMesh("SpecialMesh", EFFECT, "FileMesh", "1051557", "", SIZE, VT(0,0,0)) |
826 | - | for i = 1, 45 do |
826 | + | |
827 | MSH = CreateMesh("SpecialMesh", EFFECT, "FileMesh", "4770583", "", SIZE, VT(0,0,0)) | |
828 | - | MESH.Scale = MESH.Scale - VT(15, 0, 15) |
828 | + | |
829 | MSH = CreateMesh("SpecialMesh", EFFECT, "FileMesh", "9756362", "", SIZE, VT(0,0,0)) | |
830 | - | RING:remove() |
830 | + | |
831 | if MSH ~= nil then | |
832 | - | wait(1) |
832 | + | local MOVESPEED = nil |
833 | - | for i = 1, 4 do |
833 | + | |
834 | - | WACKYEFFECT({ |
834 | + | MOVESPEED = (CFRAME.p - MOVEDIRECTION).Magnitude/TIME |
835 | - | EffectType = "Sphere", |
835 | + | |
836 | - | Size = VT(45, 45, 45), |
836 | + | |
837 | - | Size2 = VT(0, 0, 0), |
837 | + | |
838 | - | Transparency = 1, |
838 | + | |
839 | - | Transparency2 = 0.8, |
839 | + | EFFECT.CFrame = CFRAME*ANGLES(RAD(MRANDOM(0,360)),RAD(MRANDOM(0,360)),RAD(MRANDOM(0,360))) |
840 | - | CFrame = CF(Torso.Position), |
840 | + | |
841 | - | MoveToPos = nil, |
841 | + | |
842 | - | RotationX = 0, |
842 | + | |
843 | - | RotationY = 0, |
843 | + | for LOOP = 1, TIME+1 do |
844 | - | RotationZ = 0, |
844 | + | |
845 | - | Material = "Neon", |
845 | + | MSH.Scale = MSH.Scale - GROWTH/TIME |
846 | - | Color = PHEONIXCOLOR, |
846 | + | |
847 | - | SoundID = nil, |
847 | + | MSH.Offset = VT(0,0,-MSH.Scale.X/8) |
848 | - | SoundPitch = nil, |
848 | + | |
849 | - | SoundVolume = nil |
849 | + | EFFECT.Transparency = EFFECT.Transparency - TRANS/TIME |
850 | - | }) |
850 | + | |
851 | - | wait(0.5) |
851 | + | EFFECT.CFrame = CFRAME*ANGLES(RAD(MRANDOM(0,360)),RAD(MRANDOM(0,360)),RAD(MRANDOM(0,360))) |
852 | else | |
853 | - | A = true |
853 | + | EFFECT.CFrame = EFFECT.CFrame*ANGLES(RAD(ROTATION1),RAD(ROTATION2),RAD(ROTATION3)) |
854 | - | ApplyAoE(Torso.Position, 80, 45, 50, 35, true, MRANDOM(12, 16), "Pheonix", true, { |
854 | + | |
855 | - | SHAKE = 2, |
855 | + | |
856 | - | TIMER = 25, |
856 | + | |
857 | - | DOESFADE = true |
857 | + | EFFECT.CFrame = CF(EFFECT.Position,MOVEDIRECTION)*CF(0,0,-MOVESPEED) |
858 | - | }) |
858 | + | |
859 | - | WACKYEFFECT({ |
859 | + | |
860 | - | Time = 60, |
860 | + | |
861 | - | EffectType = "Sphere", |
861 | + | |
862 | - | Size = VT(40, 40, 40), |
862 | + | |
863 | - | Size2 = VT(140, 140, 140), |
863 | + | |
864 | - | Transparency = 0, |
864 | + | SOUND.Stopped:Connect(function() |
865 | - | Transparency2 = 1, |
865 | + | EFFECT:remove() |
866 | - | CFrame = CF(Torso.Position), |
866 | + | end) |
867 | - | MoveToPos = nil, |
867 | + | |
868 | - | RotationX = 0, |
868 | + | |
869 | - | RotationY = 0, |
869 | + | |
870 | - | RotationZ = 0, |
870 | + | |
871 | - | Material = "Neon", |
871 | + | |
872 | - | Color = C3(1, 0.6666666666666666, 0), |
872 | + | repeat Swait() until SOUND.Playing == false |
873 | - | SoundID = nil, |
873 | + | |
874 | - | SoundPitch = nil, |
874 | + | |
875 | - | SoundVolume = nil |
875 | + | |
876 | - | }) |
876 | + | |
877 | - | WACKYEFFECT({ |
877 | + | |
878 | - | Time = 60, |
878 | + | |
879 | - | EffectType = "Sphere", |
879 | + | |
880 | - | Size = VT(50, 50, 50), |
880 | + | function CreateRing(SIZE, DOESROT, ROT, WAIT, CFRAME, COLOR, GROW) |
881 | - | Size2 = VT(150, 150, 150), |
881 | + | local wave = CreatePart(3, Effects, "Neon", 0, 0.5, BRICKC(COLOR), "Effect", VT(0, 0, 0)) |
882 | - | Transparency = 0.5, |
882 | + | local mesh = CreateMesh("SpecialMesh", wave, "FileMesh", "559831844", "", SIZE, VT(0, 0, 0)) |
883 | - | Transparency2 = 1, |
883 | + | wave.CFrame = CFRAME |
884 | - | CFrame = CF(Torso.Position), |
884 | + | coroutine.resume(coroutine.create(function(PART) |
885 | - | MoveToPos = nil, |
885 | + | for i = 1, WAIT do |
886 | - | RotationX = 0, |
886 | + | |
887 | - | RotationY = 0, |
887 | + | mesh.Scale = mesh.Scale + GROW |
888 | - | RotationZ = 0, |
888 | + | if DOESROT == true then |
889 | - | Material = "Neon", |
889 | + | wave.CFrame = wave.CFrame * CFrame.fromEulerAnglesXYZ(0, ROT, 0) |
890 | - | Color = PHEONIXCOLOR, |
890 | + | |
891 | - | SoundID = 462692971, |
891 | + | wave.Transparency = wave.Transparency + 0.5 / WAIT |
892 | - | SoundPitch = 0.8, |
892 | + | if wave.Transparency > 0.99 then |
893 | - | SoundVolume = 6 |
893 | + | wave:remove() |
894 | - | }) |
894 | + | |
895 | - | local EXPLOSION = script.PheonixExplosion1:Clone() |
895 | + | |
896 | - | EXPLOSION.Parent = Torso |
896 | + | |
897 | - | EXPLOSION.Enabled = true |
897 | + | |
898 | - | local EXPLOSION2 = script.PheonixExplosion2:Clone() |
898 | + | |
899 | - | EXPLOSION2.Parent = Torso |
899 | + | function CreateWave(SIZE, WAIT, CFRAME, DOESROT, ROT, COLOR, GROW) |
900 | - | EXPLOSION2.Enabled = true |
900 | + | local wave = CreatePart(3, Effects, "Neon", 0, 0.5, BRICKC(COLOR), "Effect", VT(0, 0, 0)) |
901 | - | wait(0.3) |
901 | + | local mesh = CreateMesh("SpecialMesh", wave, "FileMesh", "20329976", "", SIZE, VT(0, 0, -SIZE.X / 8)) |
902 | - | EXPLOSION.Enabled = false |
902 | + | wave.CFrame = CFRAME |
903 | - | EXPLOSION2.Enabled = false |
903 | + | coroutine.resume(coroutine.create(function(PART) |
904 | - | Debris:AddItem(EXPLOSION, 5) |
904 | + | for i = 1, WAIT do |
905 | - | Debris:AddItem(EXPLOSION2, 5) |
905 | + | |
906 | - | wait(1) |
906 | + | mesh.Scale = mesh.Scale + GROW |
907 | - | B = true |
907 | + | mesh.Offset = VT(0, 0, -(mesh.Scale.X / 8)) |
908 | if DOESROT == true then | |
909 | wave.CFrame = wave.CFrame * CFrame.fromEulerAnglesXYZ(0, ROT, 0) | |
910 | end | |
911 | - | function Breath() |
911 | + | wave.Transparency = wave.Transparency + 0.5 / WAIT |
912 | if wave.Transparency > 0.99 then | |
913 | - | local POSITION = IT("BodyPosition", RootPart) |
913 | + | wave:remove() |
914 | - | POSITION.Position = RootPart.CFrame * CF(0, 35, 35).p |
914 | + | |
915 | - | POSITION.D = 1250 |
915 | + | |
916 | - | POSITION.P = 40000 |
916 | + | |
917 | - | POSITION.maxForce = Vector3.new(math.huge, math.huge, math.huge) |
917 | + | |
918 | - | WINGS = true |
918 | + | |
919 | - | local RING, WELD, MESH = MagicRing(Torso, CF(0, 0.5, 0.6) * ANGLES(RAD(-90), RAD(0), RAD(0)), "Pheonix") |
919 | + | function Slice(KIND, SIZE, WAIT, CFRAME, COLOR, GROW) |
920 | local wave = CreatePart(3, Effects, "Neon", 0, 0.5, BRICKC(COLOR), "Effect", VT(1, 1, 1), true) | |
921 | - | for i = 1, 20 do |
921 | + | local mesh |
922 | if KIND == "Base" then | |
923 | - | MESH.Scale = MESH.Scale + VT(4, 0, 4) |
923 | + | mesh = CreateMesh("SpecialMesh", wave, "FileMesh", "448386996", "", VT(0, SIZE / 10, SIZE / 10), VT(0, 0, 0)) |
924 | elseif KIND == "Thin" then | |
925 | mesh = CreateMesh("SpecialMesh", wave, "FileMesh", "662586858", "", VT(SIZE / 10, 0, SIZE / 10), VT(0, 0, 0)) | |
926 | - | for i = 1, 25 do |
926 | + | elseif KIND == "Round" then |
927 | mesh = CreateMesh("SpecialMesh", wave, "FileMesh", "662585058", "", VT(SIZE / 10, 0, SIZE / 10), VT(0, 0, 0)) | |
928 | - | RootJoint.C0 = Clerp(RootJoint.C0, ROOTC0 * CF(0, 0, 0) * ANGLES(RAD(-14.4 * i), RAD(0), RAD(0)), 1 / Animation_Speed) |
928 | + | |
929 | - | Neck.C0 = Clerp(Neck.C0, NECKC0 * CF(0, 0, 0) * ANGLES(RAD(-20), RAD(0), RAD(0)), 0.2 / Animation_Speed) |
929 | + | wave.CFrame = CFRAME |
930 | - | RightShoulder.C0 = Clerp(RightShoulder.C0, CF(1.25, 0.5, -1) * ANGLES(RAD(0), RAD(0), RAD(-90)) * RIGHTSHOULDERC0, 0.2 / Animation_Speed) |
930 | + | coroutine.resume(coroutine.create(function(PART) |
931 | - | LeftShoulder.C0 = Clerp(LeftShoulder.C0, CF(-1.25, 0.5, -1) * ANGLES(RAD(0), RAD(0), RAD(90)) * LEFTSHOULDERC0, 0.2 / Animation_Speed) |
931 | + | for i = 1, WAIT do |
932 | - | 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) |
932 | + | |
933 | - | 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) |
933 | + | mesh.Scale = mesh.Scale + GROW / 10 |
934 | wave.Transparency = wave.Transparency + 0.5 / WAIT | |
935 | if wave.Transparency > 0.99 then | |
936 | - | GYRO.D = 20 |
936 | + | wave:remove() |
937 | - | GYRO.P = 4000 |
937 | + | |
938 | - | GYRO.MaxTorque = VT(0, 40000, 0) |
938 | + | |
939 | end)) | |
940 | end | |
941 | ||
942 | - | GYRO.CFrame = CF(RootPart.Position, Mouse.Hit.p) |
942 | + | function CreateRing(SIZE, DOESROT, ROT, WAIT, CFRAME, COLOR, GROW) |
943 | - | RootJoint.C0 = Clerp(RootJoint.C0, ROOTC0 * CF(0, 0, 0 + 1 * SIN(SINE / 24)) * ANGLES(RAD(0), RAD(0), RAD(24)), 2 / Animation_Speed) |
943 | + | local wave = CreatePart(3, Effects, "Neon", 0, 0.5, BRICKC(COLOR), "Effect", VT(0, 0, 0)) |
944 | - | Neck.C0 = Clerp(Neck.C0, NECKC0 * CF(0, 0, 0) * ANGLES(RAD(20), RAD(0), RAD(-24)), 1 / Animation_Speed) |
944 | + | local mesh = CreateMesh("SpecialMesh", wave, "FileMesh", "559831844", "", SIZE, VT(0, 0, 0)) |
945 | - | RightShoulder.C0 = Clerp(RightShoulder.C0, CF(1.25, 0.5, -0.3) * ANGLES(RAD(90), RAD(0), RAD(24)) * RIGHTSHOULDERC0, 1 / Animation_Speed) |
945 | + | wave.CFrame = CFRAME |
946 | - | 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) |
946 | + | coroutine.resume(coroutine.create(function(PART) |
947 | - | 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) |
947 | + | for i = 1, WAIT do |
948 | - | 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) |
948 | + | |
949 | - | until ATTACK == false |
949 | + | mesh.Scale = mesh.Scale + GROW |
950 | - | POSITION:remove() |
950 | + | if DOESROT == true then |
951 | - | GYRO:remove() |
951 | + | wave.CFrame = wave.CFrame * CFrame.fromEulerAnglesXYZ(0, ROT, 0) |
952 | - | for i = 1, 20 do |
952 | + | |
953 | wave.Transparency = wave.Transparency + 0.5 / WAIT | |
954 | - | MESH.Scale = MESH.Scale - VT(4, 0, 4) |
954 | + | if wave.Transparency > 0.99 then |
955 | wave:remove() | |
956 | - | RING:remove() |
956 | + | |
957 | end | |
958 | - | local RING, WELD, MESH = MagicRing(RightArm, CF(0, -1.2, 0) * ANGLES(RAD(0), RAD(180), RAD(0)), "Pheonix") |
958 | + | |
959 | - | for i = 1, 35 do |
959 | + | |
960 | function MagicSphere(SIZE, WAIT, CFRAME, COLOR, GROW) | |
961 | - | MESH.Scale = MESH.Scale + VT(2.6, 0, 2.6) |
961 | + | local wave = CreatePart(3, Effects, "Neon", 0, 0, BRICKC(COLOR), "Effect", VT(1, 1, 1), true) |
962 | local mesh = CreateMesh("SpecialMesh", wave, "Sphere", "", "", SIZE, VT(0, 0, 0)) | |
963 | - | wait(0.3) |
963 | + | wave.CFrame = CFRAME |
964 | coroutine.resume(coroutine.create(function(PART) | |
965 | - | local FIREBALL = CreatePart(3, Effects, "Neon", 0, 1, "Cyan", "Flight", VT(5, 5, 5)) |
965 | + | for i = 1, WAIT do |
966 | - | FIREBALL.CFrame = CF(RING.Position, Mouse.Hit.p) |
966 | + | |
967 | - | local PARTICLES1 = script.PheonixFireball1:Clone() |
967 | + | mesh.Scale = mesh.Scale + GROW |
968 | - | PARTICLES1.Parent = FIREBALL |
968 | + | wave.Transparency = wave.Transparency + 1 / WAIT |
969 | - | PARTICLES1.Enabled = true |
969 | + | if wave.Transparency > 0.99 then |
970 | - | local PARTICLES2 = script.PheonixFireball2:Clone() |
970 | + | wave:remove() |
971 | - | PARTICLES2.Parent = FIREBALL |
971 | + | |
972 | - | PARTICLES2.Enabled = true |
972 | + | |
973 | - | CreateSound(463593339, FIREBALL, 6, 1, false) |
973 | + | |
974 | - | for i = 1, 250 do |
974 | + | |
975 | ||
976 | - | local HIT, HITPOS = Raycast(FIREBALL.Position, FIREBALL.CFrame.lookVector, 2.5, Character) |
976 | + | function MagicSphere(SIZE, WAIT, CFRAME, COLOR, GROW) |
977 | - | FIREBALL.CFrame = FIREBALL.CFrame * CF(0, 0, -2) |
977 | + | local wave = CreatePart(3, Effects, "Neon", 0, 0, BRICKC(COLOR), "Effect", VT(1, 1, 1), true) |
978 | - | if HIT then |
978 | + | local mesh = CreateMesh("SpecialMesh", wave, "Sphere", "", "", SIZE, VT(0, 0, 0)) |
979 | - | ApplyAoE(FIREBALL.Position, 50, 45, 50, 35, true, MRANDOM(12, 16), "Pheonix", true, { |
979 | + | wave.CFrame = CFRAME |
980 | - | SHAKE = 2, |
980 | + | coroutine.resume(coroutine.create(function(PART) |
981 | - | TIMER = 25, |
981 | + | for i = 1, WAIT do |
982 | - | DOESFADE = true |
982 | + | |
983 | mesh.Scale = mesh.Scale + GROW | |
984 | wave.Transparency = wave.Transparency + 1 / WAIT | |
985 | - | Time = 60, |
985 | + | if wave.Transparency > 0.99 then |
986 | wave:remove() | |
987 | - | Size = VT(0, 0, 0), |
987 | + | |
988 | - | Size2 = VT(100, 100, 100), |
988 | + | |
989 | end)) | |
990 | end | |
991 | - | CFrame = CF(FIREBALL.Position), |
991 | + | |
992 | local PRT = CreatePart(3, Character, "Fabric", 0, 0, "Really black", "Hood", VT(1,1,1),false) | |
993 | PRT.Color = C3(0,0,0) | |
994 | local HoodWeld = CreateWeldOrSnapOrMotor("Weld", Head, Head, PRT, CF(0,0.2,0), CF(0, 0, 0)) | |
995 | CreateMesh("SpecialMesh", PRT, "FileMesh", "76062497", "", VT(1,1,1)*1.05, VT(0,0,0)) | |
996 | local PRT = CreatePart(3, Character, "Fabric", 0, 0, "Really black", "Scarf", VT(1,1,1),false) | |
997 | - | Color = C3(1, 0.6666666666666666, 0), |
997 | + | PRT.Color = C3(0,0,0) |
998 | CreateWeldOrSnapOrMotor("Weld", Torso, Torso, PRT, CF(0.05,0.4,-0.1) * ANGLES(RAD(-3), RAD(0), RAD(0)), CF(0, 0, 0)) | |
999 | CreateMesh("SpecialMesh", PRT, "FileMesh", "99856331", "", VT(1.1,1,1.1), VT(0,0,0)) | |
1000 | for i = 1, 16 do | |
1001 | local FACE = CreatePart(3, Character, "Fabric", 0, 0+(i-1)/16.2, "Dark stone grey", "FaceGradient", VT(1.01,0.65,1.01),false) | |
1002 | FACE.Color = C3(0,0,0) | |
1003 | - | Time = 60, |
1003 | + | Head:FindFirstChildOfClass("SpecialMesh"):Clone().Parent = FACE |
1004 | CreateWeldOrSnapOrMotor("Weld", Head, Head, FACE, CF(0,0.45-(i-1)/25,0), CF(0, 0, 0)) | |
1005 | - | Size = VT(0, 0, 0), |
1005 | + | |
1006 | - | Size2 = VT(120, 120, 120), |
1006 | + | local Eye = CreatePart(3, Character, "Neon", 0, 0, "Lime green", "Eye", VT(0.1,1,1)/2,false) |
1007 | - | Transparency = 0.5, |
1007 | + | MakeForm(Eye,"Ball") |
1008 | CreateWeldOrSnapOrMotor("Weld", Eye, Head, Eye, CF(0,0.15,0) * ANGLES(RAD(0), RAD(-18), RAD(0)), CF(0, 0, 0.4)) | |
1009 | - | CFrame = CF(FIREBALL.Position), |
1009 | + | local LASTPART = Head |
1010 | for i = 1, 20 do | |
1011 | local MATH = (1-(i/25)) | |
1012 | if LASTPART == Head then | |
1013 | local Horn = CreatePart(3, Character, "Neon", 0, 0, "White", "Horn", VT(0.25*MATH,0.25,0.25*MATH),false) | |
1014 | CreateWeldOrSnapOrMotor("Weld", LASTPART, LASTPART, Horn, CF(0.3, 0.7, -0.35) * ANGLES(RAD(-55), RAD(15), RAD(-15)), CF(0, 0, 0)) | |
1015 | - | Color = PHEONIXCOLOR, |
1015 | + | LASTPART = Horn |
1016 | - | SoundID = 462692971, |
1016 | + | Horn.Color = C3((i*3-3)/255,0,0) |
1017 | else | |
1018 | - | SoundVolume = 6 |
1018 | + | local Horn = CreatePart(3, Character, "Neon", 0, 0, "White", "Horn", VT(0.25*MATH,0.25,0.25*MATH),false) |
1019 | CreateWeldOrSnapOrMotor("Weld", LASTPART, LASTPART, Horn, CF(0, Horn.Size.Y/1.8, 0) * ANGLES(RAD(6), RAD(-0.3), RAD(0)), CF(0, 0, 0)) | |
1020 | - | PARTICLES1.Enabled = false |
1020 | + | LASTPART = Horn |
1021 | - | PARTICLES2.Enabled = false |
1021 | + | Horn.Color = C3((i*3-3)/255,0,0) |
1022 | - | local EXPLOSION = script.PheonixExplosion1:Clone() |
1022 | + | |
1023 | - | EXPLOSION.Parent = FIREBALL |
1023 | + | |
1024 | - | EXPLOSION.Enabled = true |
1024 | + | |
1025 | - | local EXPLOSION2 = script.PheonixExplosion2:Clone() |
1025 | + | local PRT = CreatePart(3, Weapon, "Metal", 0, 0, "Mid gray", "Watch", VT(1.05,0.06,1.05)*SIZE,false) |
1026 | - | EXPLOSION2.Parent = FIREBALL |
1026 | + | CreateWeldOrSnapOrMotor("Weld", RightArm, RightArm, PRT, CF(0,-0.5*SIZE,0) * ANGLES(RAD(0), RAD(0), RAD(0)), CF(0, 0, 0)) |
1027 | - | EXPLOSION2.Enabled = true |
1027 | + | local PRT = CreatePart(3, Weapon, "Metal", 0, 0, "Mid gray", "Watch", VT(0.5,0.1,0.5)*SIZE,false) |
1028 | - | wait(0.3) |
1028 | + | CreateWeldOrSnapOrMotor("Weld", RightArm, RightArm, PRT, CF(0,-0.5*SIZE,0) * ANGLES(RAD(90), RAD(0), RAD(0)), CF(0, -0.5*SIZE, 0)) |
1029 | - | EXPLOSION.Enabled = false |
1029 | + | MakeForm(PRT,"Cyl") |
1030 | - | EXPLOSION2.Enabled = false |
1030 | + | local PRT = CreatePart(3, Weapon, "Neon", 0, 0, "Mid gray", "Watch", VT(0.45,0.11,0.45)*SIZE,false) |
1031 | - | break |
1031 | + | CreateWeldOrSnapOrMotor("Weld", RightArm, RightArm, PRT, CF(0,-0.5*SIZE,0) * ANGLES(RAD(90), RAD(0), RAD(0)), CF(0, -0.5*SIZE, 0)) |
1032 | MakeForm(PRT,"Cyl") | |
1033 | PRT.Color = C3(255/255, 255/255, 0/255) | |
1034 | - | PARTICLES1.Enabled = false |
1034 | + | local RING = CreatePart(3, Weapon, "Metal", 0, 0, "Mid gray", "Watch", VT(0.055,0.15,0.055)*SIZE,false) |
1035 | - | PARTICLES2.Enabled = false |
1035 | + | CreateWeldOrSnapOrMotor("Weld", RightArm, RightArm, RING, CF(0,-0.5*SIZE,0) * ANGLES(RAD(90), RAD(0), RAD(0)), CF(0, -0.5*SIZE, 0)) |
1036 | - | Debris:AddItem(FIREBALL, 7) |
1036 | + | MakeForm(RING,"Cyl") |
1037 | RING.Color = C3(1,1,1) | |
1038 | - | wait(0.3) |
1038 | + | for i = 1, 12 do |
1039 | local PRT = CreatePart(3, Weapon, "Metal", 0, 0, "Mid gray", "Watch", VT(0,0.15,0)*SIZE,false) | |
1040 | - | WELD:remove() |
1040 | + | PRT.Color = C3(1,1,1) |
1041 | - | RING.Anchored = true |
1041 | + | local MSH = IT("BlockMesh",PRT) |
1042 | - | for i = 1, 35 do |
1042 | + | MSH.Scale = VT(0.6,1,1) |
1043 | CreateWeldOrSnapOrMotor("Weld", RightArm, RightArm, PRT, CF(0,-0.5*SIZE,0) * ANGLES(RAD(90), RAD((360/12)*i), RAD(0)), CF(0, -0.49*SIZE, 0) * CF(0, 0, -0.2*SIZE)) | |
1044 | - | MESH.Scale = MESH.Scale - VT(2.6, 0, 2.6) |
1044 | + | |
1045 | local PRT = CreatePart(3, Weapon, "Metal", 0, 0, "Mid gray", "Watch", VT(0,0.15,0.15)*SIZE,false) | |
1046 | - | RING:remove() |
1046 | + | PRT.Color = C3(1,0,0) |
1047 | local MSH = IT("BlockMesh",PRT) | |
1048 | - | WINGS = false |
1048 | + | MSH.Scale = VT(0.4,1,1) |
1049 | local WATCH1 = CreateWeldOrSnapOrMotor("Weld", RightArm, RightArm, PRT, CF(0,-0.5*SIZE,0) * ANGLES(RAD(90), RAD(0), RAD(0)), CF(0, -0.49*SIZE, 0) * CF(0, 0, -0.075*SIZE)) | |
1050 | local PRT = CreatePart(3, Weapon, "Metal", 0, 0, "Mid gray", "Watch", VT(0,0.15,0.15/1.5)*SIZE,false) | |
1051 | - | function ThreeShootingStars() |
1051 | + | PRT.Color = C3(1,0,0) |
1052 | local MSH = IT("BlockMesh",PRT) | |
1053 | MSH.Scale = VT(0.4,1,1) | |
1054 | - | local POS1, POS2, POS3 |
1054 | + | local WATCH2 = CreateWeldOrSnapOrMotor("Weld", RightArm, RightArm, PRT, CF(0,-0.5*SIZE,0) * ANGLES(RAD(90), RAD(0), RAD(0)), CF(0, -0.49*SIZE, 0) * CF(0, 0, -(0.075/1.5)*SIZE)) |
1055 | - | local RING, WELD, MESH = MagicRing(RightArm, CF(0, -1.2, 0), "Sun") |
1055 | + | coroutine.resume(coroutine.create(function() |
1056 | while true do | |
1057 | - | for i = 1, 35 do |
1057 | + | |
1058 | CLOCKLOOP = CLOCKLOOP -0.9*CLOCKSPEED | |
1059 | - | MESH.Scale = MESH.Scale + VT(2.6, 0, 2.6) |
1059 | + | WATCH1.C0 = Clerp(WATCH1.C0, CF(0,-0.5*SIZE,0) * ANGLES(RAD(90), RAD(CLOCKLOOP*5), RAD(0)), 1 / Animation_Speed) |
1060 | WATCH2.C0 = Clerp(WATCH2.C0, CF(0,-0.5*SIZE,0) * ANGLES(RAD(90), RAD(CLOCKLOOP*5/2), RAD(0)), 1 / Animation_Speed) | |
1061 | if CLOCKLOOP <= -150 then | |
1062 | if VALUE1 == false then | |
1063 | CLOCKLOOP = 0 | |
1064 | WACKYEFFECT({Time = 15, EffectType = "Sphere", Size = VT(0.45,0.11,0.45)*SIZE, Size2 = VT(3,3,3), Transparency = 0, Transparency2 = 1, CFrame = RING.CFrame, MoveToPos = nil, RotationX = 0, RotationY = 0, RotationZ = 0, Material = "Neon", Color = C3(255/255, 255/255, 0/255), SoundID = 743521450, SoundPitch = 1.2, SoundVolume = 4}) | |
1065 | - | if POS1 then |
1065 | + | local HITFLOOR,HITPOS = Raycast(RootPart.Position, (CF(RootPart.Position, RootPart.Position + VT(0, -1, 0))).lookVector, 25*SIZE, Character) |
1066 | ApplyAoE(HITPOS,10,15,45,75,false) | |
1067 | - | local POSITION = POS1 |
1067 | + | WACKYEFFECT({Time = 15, EffectType = "Wave", Size = VT(0.15,0.11,0.15)*SIZE, Size2 = VT(15,2,15), Transparency = 0, Transparency2 = 1, CFrame = CF(HITPOS), MoveToPos = nil, RotationX = 0, RotationY = -15, RotationZ = 0, Material = "Neon", Color = C3(255/255, 255/255, 0/255), SoundID = nil, SoundPitch = 0.5, SoundVolume = 6}) |
1068 | - | local FIREBALL = CreatePart(3, Effects, "Neon", 0, 1, "New Yeller", "Fire", VT(3, 3, 3)) |
1068 | + | WACKYEFFECT({Time = 15, EffectType = "Wave", Size = VT(0.15,0.11,0.15)*SIZE, Size2 = VT(12,3,12), Transparency = 0, Transparency2 = 1, CFrame = CF(HITPOS), MoveToPos = nil, RotationX = 0, RotationY = 15, RotationZ = 0, Material = "Neon", Color = C3(255/255, 255/255, 0/255), SoundID = nil, SoundPitch = 0.5, SoundVolume = 6}) |
1069 | - | FIREBALL.CFrame = RightArm.CFrame * CF(0, -3, 0) |
1069 | + | if CLOCKTARGET ~= nil then |
1070 | - | local FIRE = script.SunFireball:Clone() |
1070 | + | CLOCKTARGET.Health = CLOCKTARGET.Health - 5 |
1071 | - | FIRE.Parent = FIREBALL |
1071 | + | if CLOCKTARGET.Torso ~= nil then |
1072 | - | FIRE.Enabled = true |
1072 | + | CLOCKTARGET.Torso.CFrame = CLOCKTARGET.Torso.CFrame * ANGLES(RAD(MRANDOM(0,360)), RAD(MRANDOM(0,360)), RAD(MRANDOM(0,360))) |
1073 | - | local EXPLOSION = script.SunExplosion:Clone() |
1073 | + | |
1074 | - | EXPLOSION.Parent = FIREBALL |
1074 | + | if CLOCKTARGET.Health == 0 then |
1075 | - | CreateSound(463598785, FIREBALL, 5, 1, false) |
1075 | + | CLOCKTARGET = nil |
1076 | - | local DISTANCE = (RootPart.Position - POSITION).Magnitude |
1076 | + | |
1077 | - | 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) |
1077 | + | |
1078 | - | for i = 1, 75 do |
1078 | + | |
1079 | end | |
1080 | - | FIREBALL.CFrame = Clerp(FIREBALL.CFrame, FRAME, 0.5 / Animation_Speed) |
1080 | + | |
1081 | end)) | |
1082 | - | FIREBALL.CFrame = CF(FIREBALL.Position, POSITION) |
1082 | + | |
1083 | - | for i = 1, 300 do |
1083 | + | local Handle = CreatePart(3, Weapon, "Metal", 0, 0, "Mid gray", "Part", VT(0.2,0.6,0.2),false) |
1084 | local RightArmGrasp = CreateWeldOrSnapOrMotor("Weld", Handle, RightArm, Handle, CF(0,-1, 0) * ANGLES(RAD(90), RAD(0), RAD(0)), CF(0, 0.21, 0)) | |
1085 | - | FIREBALL.CFrame = FIREBALL.CFrame * CF(0, 0, -4) |
1085 | + | local Part = CreatePart(3, Weapon, "Metal", 0, 0, "Mid gray", "Part", VT(0.2,0.5,0.2),false) |
1086 | - | local HITFLOOR, HITPOS = Raycast(FIREBALL.Position, FIREBALL.CFrame.lookVector, 4.2, Character) |
1086 | + | MakeForm(Part,"Wedge") |
1087 | - | if HITFLOOR ~= nil then |
1087 | + | CreateWeldOrSnapOrMotor("Weld", Handle, Handle, Part, CF(0, -0.3, 0.2) * ANGLES(RAD(0), RAD(180), RAD(0)), CF(0, 0, 0)) |
1088 | - | FIRE.Enabled = false |
1088 | + | local Part = CreatePart(3, Weapon, "Metal", 0, 0, "Mid gray", "Part", VT(0.2,0.3,0.2),false) |
1089 | - | EXPLOSION:Emit(500) |
1089 | + | MakeForm(Part,"Wedge") |
1090 | - | CreateSound(416328540, FIREBALL, 5, 1, false) |
1090 | + | CreateWeldOrSnapOrMotor("Weld", Handle, Handle, Part, CF(0, -0.4, 0) * ANGLES(RAD(0), RAD(0), RAD(180)), CF(0, 0, 0)) |
1091 | - | ApplyAoE(FIREBALL.Position, 75, 25, 35, 65, true, MRANDOM(5, 15), "Sun", true, { |
1091 | + | local Part = CreatePart(3, Weapon, "Metal", 0, 0, "Mid gray", "Part", VT(0.3,0.3,0.3),false) |
1092 | - | SHAKE = 1, |
1092 | + | CreateWeldOrSnapOrMotor("Weld", Handle, Handle, Part, CF(0, -0.5, 0.2) * ANGLES(RAD(0), RAD(0), RAD(0)), CF(0, 0, 0)) |
1093 | - | TIMER = 6, |
1093 | + | local Part = CreatePart(3, Weapon, "Metal", 0, 0, "Mid gray", "Part", VT(0.3,0.5,0.5),false) |
1094 | - | DOESFADE = true |
1094 | + | CreateWeldOrSnapOrMotor("Weld", Handle, Handle, Part, CF(0, -0.6, 0.5) * ANGLES(RAD(0), RAD(0), RAD(0)), CF(0, 0, 0)) |
1095 | - | }) |
1095 | + | local Part = CreatePart(3, Weapon, "Metal", 0, 0, "Mid gray", "Part", VT(0.4,0.4,0.4),false) |
1096 | - | WACKYEFFECT({ |
1096 | + | MakeForm(Part,"Cyl") |
1097 | - | EffectType = "Sphere", |
1097 | + | CreateWeldOrSnapOrMotor("Weld", Handle, Handle, Part, CF(0, -0.6, 0.5) * ANGLES(RAD(90), RAD(0), RAD(0)), CF(0, 0, 0)) |
1098 | - | Size = VT(0, 0, 0), |
1098 | + | for i = 1, 8 do |
1099 | - | Size2 = VT(150, 150, 150), |
1099 | + | local Piece = CreatePart(3, Weapon, "Metal", 0, 0, "Mid gray", "Eye", VT(0,0.35,0.41),false) |
1100 | - | Transparency = 0, |
1100 | + | CreateWeldOrSnapOrMotor("Weld", Handle, Part, Piece, CF(0, 0, 0) * ANGLES(RAD(0), RAD((360/8)*i), RAD(0)), CF(0, 0, 0)) |
1101 | - | Transparency2 = 1, |
1101 | + | |
1102 | - | CFrame = CF(FIREBALL.Position), |
1102 | + | local Part = CreatePart(3, Weapon, "Metal", 0, 0, "Mid gray", "Eye", VT(0.38,0.41,0.38),false) |
1103 | - | MoveToPos = nil, |
1103 | + | MakeForm(Part,"Cyl") |
1104 | - | RotationX = 0, |
1104 | + | CreateWeldOrSnapOrMotor("Weld", Handle, Handle, Part, CF(0, -0.6, 0.5) * ANGLES(RAD(90), RAD(0), RAD(0)), CF(0, 0, 0)) |
1105 | - | RotationY = 0, |
1105 | + | local Part = CreatePart(3, Weapon, "Metal", 0, 0, "Mid gray", "Part", VT(0.37,0.5,0.37),false) |
1106 | - | RotationZ = 0, |
1106 | + | MakeForm(Part,"Ball") |
1107 | - | Material = "Neon", |
1107 | + | CreateWeldOrSnapOrMotor("Weld", Handle, Handle, Part, CF(0, -0.6, 0.3) * ANGLES(RAD(90), RAD(0), RAD(0)), CF(0, 0, 0)) |
1108 | - | Color = C3(1, 0.6666666666666666, 0), |
1108 | + | local Part = CreatePart(3, Weapon, "Metal", 0, 0, "Mid gray", "Part", VT(0.2,0.7,0.4),false) |
1109 | - | SoundID = nil, |
1109 | + | MakeForm(Part,"Wedge") |
1110 | - | SoundPitch = nil, |
1110 | + | CreateWeldOrSnapOrMotor("Weld", Handle, Handle, Part, CF(0, -0.7, 0.5) * ANGLES(RAD(90), RAD(180), RAD(180)), CF(0, 0, 0)) |
1111 | - | SoundVolume = nil |
1111 | + | local Part = CreatePart(3, Weapon, "Metal", 0, 0, "Mid gray", "Part", VT(0.3,0.4,0.2),false) |
1112 | - | }) |
1112 | + | CreateWeldOrSnapOrMotor("Weld", Handle, Handle, Part, CF(0, -0.6, 0.7) * ANGLES(RAD(0), RAD(0), RAD(0)), CF(0, 0, 0)) |
1113 | - | wait(5) |
1113 | + | local Part = CreatePart(3, Weapon, "Metal", 0, 0, "Mid gray", "Part", VT(0.35,0.35,0.35),false) |
1114 | - | break |
1114 | + | MakeForm(Part,"Cyl") |
1115 | CreateWeldOrSnapOrMotor("Weld", Handle, Handle, Part, CF(0, -0.6, 0.7) * ANGLES(RAD(90), RAD(0), RAD(0)), CF(0, 0, 0)) | |
1116 | local Part = CreatePart(3, Weapon, "Metal", 0, 0, "Mid gray", "Part", VT(0.5,0.1,0.5),false) | |
1117 | - | FIREBALL:remove() |
1117 | + | MakeForm(Part,"Cyl") |
1118 | CreateWeldOrSnapOrMotor("Weld", Handle, Handle, Part, CF(0, -0.6, 1) * ANGLES(RAD(90), RAD(0), RAD(0)), CF(0, 0, 0)) | |
1119 | - | POS1 = nil |
1119 | + | local Part = CreatePart(3, Weapon, "Metal", 0, 0, "Mid gray", "Part", VT(0.5,0.1,0.45),false) |
1120 | MakeForm(Part,"Cyl") | |
1121 | - | if POS2 then |
1121 | + | CreateWeldOrSnapOrMotor("Weld", Handle, Handle, Part, CF(0, -0.6, 1.1) * ANGLES(RAD(90), RAD(0), RAD(0)), CF(0, 0, 0)) |
1122 | local Part = CreatePart(3, Weapon, "Metal", 0, 0, "Mid gray", "Part", VT(0.2,0.5,0.2),false) | |
1123 | - | local POSITION = POS2 |
1123 | + | MakeForm(Part,"Wedge") |
1124 | - | local FIREBALL = CreatePart(3, Effects, "Neon", 0, 1, "New Yeller", "Fire", VT(3, 3, 3)) |
1124 | + | CreateWeldOrSnapOrMotor("Weld", Handle, Handle, Part, CF(0, -0.55, 0.2) * ANGLES(RAD(-135), RAD(0), RAD(0)), CF(0, -0.3, 0)) |
1125 | - | FIREBALL.CFrame = RightArm.CFrame * CF(0, -3, 0) |
1125 | + | local LASTPART = Handle |
1126 | - | local FIRE = script.SunFireball:Clone() |
1126 | + | for i = 1, 10 do |
1127 | - | FIRE.Parent = FIREBALL |
1127 | + | if LASTPART == Handle then |
1128 | - | FIRE.Enabled = true |
1128 | + | local Part = CreatePart(3, Weapon, "Metal", 0, 0, "Mid gray", "Part", VT(0.1,0.2,0),false) |
1129 | - | local EXPLOSION = script.SunExplosion:Clone() |
1129 | + | LASTPART = Part |
1130 | - | EXPLOSION.Parent = FIREBALL |
1130 | + | CreateWeldOrSnapOrMotor("Weld", Handle, Handle, Part, CF(0, -0.1, 0.2) * ANGLES(RAD(90), RAD(0), RAD(0)), CF(0, 0, 0)) |
1131 | - | CreateSound(463598785, FIREBALL, 5, 1, false) |
1131 | + | |
1132 | - | local DISTANCE = (RootPart.Position - POSITION).Magnitude |
1132 | + | local Part = CreatePart(3, Weapon, "Metal", 0, 0, "Mid gray", "Part", VT(0.1,0.05,0),false) |
1133 | - | 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) |
1133 | + | CreateWeldOrSnapOrMotor("Weld", Handle, LASTPART, Part, CF(0, 0.025, 0) * ANGLES(RAD(8), RAD(0), RAD(0)), CF(0, -0.025, 0)) |
1134 | - | for i = 1, 75 do |
1134 | + | LASTPART = Part |
1135 | end | |
1136 | - | FIREBALL.CFrame = Clerp(FIREBALL.CFrame, FRAME, 0.5 / Animation_Speed) |
1136 | + | |
1137 | ||
1138 | - | FIREBALL.CFrame = CF(FIREBALL.Position, POSITION) |
1138 | + | local Barrel = CreatePart(3, Weapon, "Metal", 0, 0, "Mid gray", "Part", VT(0.15,2,0.15),false) |
1139 | - | for i = 1, 300 do |
1139 | + | MakeForm(Barrel,"Cyl") |
1140 | CreateWeldOrSnapOrMotor("Weld", Handle, Handle, Barrel, CF(0, -0.6, 1.8) * ANGLES(RAD(90), RAD(0), RAD(0)), CF(0, 0, 0)) | |
1141 | - | FIREBALL.CFrame = FIREBALL.CFrame * CF(0, 0, -4) |
1141 | + | local Part = CreatePart(3, Weapon, "Metal", 0, 0, "Mid gray", "Part", VT(0.25,1,0.25),false) |
1142 | - | local HITFLOOR, HITPOS = Raycast(FIREBALL.Position, FIREBALL.CFrame.lookVector, 4.2, Character) |
1142 | + | MakeForm(Part,"Cyl") |
1143 | - | if HITFLOOR ~= nil then |
1143 | + | CreateWeldOrSnapOrMotor("Weld", Handle, Barrel, Part, CF(0, -0.6, 0), CF(0, 0, 0)) |
1144 | - | FIRE.Enabled = false |
1144 | + | local Part = CreatePart(3, Weapon, "Metal", 0, 0, "Mid gray", "Part", VT(0,0.1,0.2),false) |
1145 | - | EXPLOSION:Emit(500) |
1145 | + | MakeForm(Part,"Wedge") |
1146 | - | CreateSound(416328540, FIREBALL, 5, 1, false) |
1146 | + | CreateWeldOrSnapOrMotor("Weld", Handle, Barrel, Part, CF(0, 0.945, 0.1) * ANGLES(RAD(180), RAD(0), RAD(0)), CF(0, 0, 0)) |
1147 | - | ApplyAoE(FIREBALL.Position, 75, 25, 35, 65, true, MRANDOM(5, 15), "Sun", true, { |
1147 | + | local Hole2 = CreatePart(3, Weapon, "Metal", 0, 0, "Mid gray", "Eye", VT(0.125,0,0.125),false) |
1148 | - | SHAKE = 1, |
1148 | + | MakeForm(Hole2,"Cyl") |
1149 | - | TIMER = 6, |
1149 | + | CreateWeldOrSnapOrMotor("Weld", Handle, Barrel, Hole2, CF(0, 0.98, 0), CF(0, 0, 0)) |
1150 | - | DOESFADE = true |
1150 | + | local Part = CreatePart(3, Weapon, "Metal", 0, 0, "Mid gray", "Part", VT(0,0,0),false) |
1151 | - | }) |
1151 | + | local GEARWELD = CreateWeldOrSnapOrMotor("Weld", Handle, Handle, Part, CF(0, -0.6, 0.7), CF(0, 0, 0)) |
1152 | - | WACKYEFFECT({ |
1152 | + | CreateMesh("SpecialMesh", Part, "FileMesh", 156292343, "", VT(0.8,0.8,1.5), VT(0,0,0.2)) |
1153 | - | EffectType = "Sphere", |
1153 | + | local Part = CreatePart(3, Weapon, "Metal", 0, 0.5, "Mid gray", "Eye", VT(0,0,0),false) |
1154 | - | Size = VT(0, 0, 0), |
1154 | + | local GEARWELD2 = CreateWeldOrSnapOrMotor("Weld", Handle, Handle, Part, CF(0, -0.6, 0.7), CF(0, 0, 0)) |
1155 | - | Size2 = VT(150, 150, 150), |
1155 | + | CreateMesh("SpecialMesh", Part, "FileMesh", 156292343, "", VT(0.9,0.9,0.3), VT(0,0,0.2)) |
1156 | - | Transparency = 0, |
1156 | + | coroutine.resume(coroutine.create(function() |
1157 | - | Transparency2 = 1, |
1157 | + | while wait() do |
1158 | - | CFrame = CF(FIREBALL.Position), |
1158 | + | GEARWELD.C0 = GEARWELD.C0 * ANGLES(RAD(0), RAD(0), RAD(5)) |
1159 | - | MoveToPos = nil, |
1159 | + | GEARWELD2.C0 = GEARWELD2.C0 * ANGLES(RAD(0), RAD(0), RAD(-5)) |
1160 | - | RotationX = 0, |
1160 | + | |
1161 | - | RotationY = 0, |
1161 | + | |
1162 | - | RotationZ = 0, |
1162 | + | |
1163 | - | Material = "Neon", |
1163 | + | ParticleEmitter({Speed = 0.2, Drag = 0, Size1 = 0.1, Size2 = 0, Lifetime1 = 0.3, Lifetime2 = 0.5, Parent = Hole2, Emit = 100, Offset = 360, Enabled = true, Acel = VT(1,0,0)}) |
1164 | - | Color = C3(1, 0.6666666666666666, 0), |
1164 | + | --ParticleEmitter({Speed = 0.5, Drag = 0, Size1 = 0.2, Size2 = 0, Lifetime1 = 0.3, Lifetime2 = 0.7, Parent = Dangle, Emit = 100, Offset = 360, Enabled = true, Acel = VT(1,0,0)}) |
1165 | - | SoundID = nil, |
1165 | + | |
1166 | - | SoundPitch = nil, |
1166 | + | for _, c in pairs(Weapon:GetDescendants()) do |
1167 | - | SoundVolume = nil |
1167 | + | if c.ClassName == "Part" and c.Name ~= "Eye" and c.Parent ~= Effects and c.Parent.Parent ~= Effects then |
1168 | - | }) |
1168 | + | c.Material = "Glass" |
1169 | - | wait(5) |
1169 | + | c.Color = C3(0,0,0) |
1170 | - | break |
1170 | + | elseif c.ClassName == "Part" and c.Name == "Eye" then |
1171 | c.Color = C3(1,0,0) | |
1172 | c.Material = "Neon" | |
1173 | - | FIREBALL:remove() |
1173 | + | |
1174 | end | |
1175 | - | POS2 = nil |
1175 | + | |
1176 | Weapon.Parent = Character | |
1177 | - | if POS3 then |
1177 | + | for _, c in pairs(Weapon:GetChildren()) do |
1178 | if c.ClassName == "Part" then | |
1179 | - | local POSITION = POS3 |
1179 | + | c.CustomPhysicalProperties = PhysicalProperties.new(0, 0, 0, 0, 0) |
1180 | - | local FIREBALL = CreatePart(3, Effects, "Neon", 0, 1, "New Yeller", "Fire", VT(3, 3, 3)) |
1180 | + | |
1181 | - | FIREBALL.CFrame = RightArm.CFrame * CF(0, -3, 0) |
1181 | + | |
1182 | - | local FIRE = script.SunFireball:Clone() |
1182 | + | |
1183 | - | FIRE.Parent = FIREBALL |
1183 | + | function ParticleEmitter(Table) |
1184 | - | FIRE.Enabled = true |
1184 | + | local PRTCL = Particle:Clone() |
1185 | - | local EXPLOSION = script.SunExplosion:Clone() |
1185 | + | local Speed = Table.Speed or 5 |
1186 | - | EXPLOSION.Parent = FIREBALL |
1186 | + | local Drag = Table.Drag or 0 |
1187 | - | CreateSound(463598785, FIREBALL, 5, 1, false) |
1187 | + | local Size1 = Table.Size1 or 1 |
1188 | - | local DISTANCE = (RootPart.Position - POSITION).Magnitude |
1188 | + | local Size2 = Table.Size2 or 5 |
1189 | - | 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) |
1189 | + | local Lifetime1 = Table.Lifetime1 or 1 |
1190 | - | for i = 1, 75 do |
1190 | + | local Lifetime2 = Table.Lifetime2 or 1.5 |
1191 | local Parent = Table.Parent or Torso | |
1192 | - | FIREBALL.CFrame = Clerp(FIREBALL.CFrame, FRAME, 0.5 / Animation_Speed) |
1192 | + | local Emit = Table.Emit or 100 |
1193 | local Offset = Table.Offset or 360 | |
1194 | - | FIREBALL.CFrame = CF(FIREBALL.Position, POSITION) |
1194 | + | local Acel = Table.Acel or VT(0,0,0) |
1195 | - | for i = 1, 300 do |
1195 | + | local Enabled = Table.Enabled or false |
1196 | PRTCL.Parent = Parent | |
1197 | - | FIREBALL.CFrame = FIREBALL.CFrame * CF(0, 0, -4) |
1197 | + | PRTCL.Size = NumberSequence.new(Size1,Size2) |
1198 | - | local HITFLOOR, HITPOS = Raycast(FIREBALL.Position, FIREBALL.CFrame.lookVector, 4.2, Character) |
1198 | + | PRTCL.Lifetime = NumberRange.new(Lifetime1,Lifetime2) |
1199 | - | if HITFLOOR ~= nil then |
1199 | + | PRTCL.Speed = NumberRange.new(Speed) |
1200 | - | FIRE.Enabled = false |
1200 | + | PRTCL.VelocitySpread = Offset |
1201 | - | EXPLOSION:Emit(500) |
1201 | + | PRTCL.Drag = Drag |
1202 | - | CreateSound(416328540, FIREBALL, 5, 1, false) |
1202 | + | PRTCL.Acceleration = Acel |
1203 | - | ApplyAoE(FIREBALL.Position, 75, 25, 35, 65, true, MRANDOM(5, 15), "Sun", true, { |
1203 | + | if Enabled == false then |
1204 | - | SHAKE = 1, |
1204 | + | PRTCL:Emit(Emit) |
1205 | - | TIMER = 6, |
1205 | + | Debris:AddItem(PRTCL,Lifetime2) |
1206 | - | DOESFADE = true |
1206 | + | |
1207 | - | }) |
1207 | + | PRTCL.Enabled = true |
1208 | - | WACKYEFFECT({ |
1208 | + | |
1209 | - | EffectType = "Sphere", |
1209 | + | return PRTCL |
1210 | - | Size = VT(0, 0, 0), |
1210 | + | |
1211 | - | Size2 = VT(150, 150, 150), |
1211 | + | |
1212 | - | Transparency = 0, |
1212 | + | local A = IT("Attachment",Torso) |
1213 | - | Transparency2 = 1, |
1213 | + | A.Position = VT(1,1.3,0) |
1214 | - | CFrame = CF(FIREBALL.Position), |
1214 | + | A.Orientation = VT(-0.098, -89.999, 0.227) |
1215 | - | MoveToPos = nil, |
1215 | + | local B = IT("Attachment",Torso) |
1216 | - | RotationX = 0, |
1216 | + | B.Position = VT(-1.3,-0.6,0) |
1217 | - | RotationY = 0, |
1217 | + | B.Orientation = VT(-88.911, -68.808, 158.782) |
1218 | - | RotationZ = 0, |
1218 | + | local ChainLink = IT("Beam",Torso) |
1219 | - | Material = "Neon", |
1219 | + | ChainLink.Texture = "rbxassetid://73042633" |
1220 | - | Color = C3(1, 0.6666666666666666, 0), |
1220 | + | ChainLink.Color = ColorSequence.new(C3(242, 243, 243)) |
1221 | - | SoundID = nil, |
1221 | + | ChainLink.TextureSpeed = 0.2 |
1222 | - | SoundPitch = nil, |
1222 | + | ChainLink.FaceCamera = true |
1223 | - | SoundVolume = nil |
1223 | + | ChainLink.Width0 = 1 |
1224 | - | }) |
1224 | + | ChainLink.Width1 = 1 |
1225 | - | wait(5) |
1225 | + | ChainLink.TextureLength = 3 |
1226 | - | break |
1226 | + | ChainLink.Attachment0 = A |
1227 | ChainLink.Attachment1 = B | |
1228 | ChainLink.CurveSize0 = 1 | |
1229 | - | FIREBALL:remove() |
1229 | + | ChainLink.CurveSize1 = 1 |
1230 | ChainLink.FaceCamera = true | |
1231 | - | POS3 = nil |
1231 | + | ChainLink.Transparency = NumberSequence.new(0) |
1232 | local ChainLink = IT("Beam",Torso) | |
1233 | - | RootJoint.C0 = Clerp(RootJoint.C0, ROOTC0 * CF(0, 0, 0 + 1 * SIN(SINE / 24)) * ANGLES(RAD(0), RAD(0), RAD(74)), 2 / Animation_Speed) |
1233 | + | ChainLink.Texture = "rbxassetid://73042633" |
1234 | - | Neck.C0 = Clerp(Neck.C0, NECKC0 * CF(0, 0, 0) * ANGLES(RAD(20), RAD(0), RAD(-74)), 1 / Animation_Speed) |
1234 | + | ChainLink.Color = ColorSequence.new(C3(242, 243, 243)) |
1235 | - | RightShoulder.C0 = Clerp(RightShoulder.C0, CF(1.25, 0.5, -0.3) * ANGLES(RAD(90), RAD(0), RAD(74)) * RIGHTSHOULDERC0, 1 / Animation_Speed) |
1235 | + | ChainLink.TextureSpeed = 0.2 |
1236 | - | 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) |
1236 | + | ChainLink.FaceCamera = true |
1237 | - | 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) |
1237 | + | ChainLink.Width0 = 1 |
1238 | - | 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) |
1238 | + | ChainLink.Width1 = 1 |
1239 | - | until ATTACK == false |
1239 | + | ChainLink.TextureLength = 3 |
1240 | ChainLink.Attachment0 = B | |
1241 | - | wait(0.4) |
1241 | + | ChainLink.Attachment1 = A |
1242 | - | POS1 = Mouse.Hit.p |
1242 | + | ChainLink.CurveSize0 = 1 |
1243 | - | wait(0.5) |
1243 | + | ChainLink.CurveSize1 = 1 |
1244 | - | POS2 = Mouse.Hit.p |
1244 | + | ChainLink.FaceCamera = true |
1245 | - | wait(0.6) |
1245 | + | ChainLink.Transparency = NumberSequence.new(0) |
1246 | - | POS3 = Mouse.Hit.p |
1246 | + | local A = IT("Attachment",Torso) |
1247 | - | wait(0.3) |
1247 | + | A.Position = VT(1.3,-0.85,0) |
1248 | - | RING.Anchored = true |
1248 | + | A.Orientation = VT(-0.098, -89.999, 0.227) |
1249 | - | WELD:remove() |
1249 | + | local B = IT("Attachment",Torso) |
1250 | B.Position = VT(-1,2,0) | |
1251 | - | for i = 1, 35 do |
1251 | + | B.Orientation = VT(-88.911, -68.808, 158.782) |
1252 | local ChainLink = IT("Beam",Torso) | |
1253 | - | MESH.Scale = MESH.Scale - VT(2.6, 0, 2.6) |
1253 | + | ChainLink.Texture = "rbxassetid://73042633" |
1254 | ChainLink.Color = ColorSequence.new(C3(242, 243, 243)) | |
1255 | - | RING:remove() |
1255 | + | ChainLink.TextureSpeed = 0.2 |
1256 | ChainLink.FaceCamera = true | |
1257 | ChainLink.Width0 = 1 | |
1258 | ChainLink.Width1 = 1 | |
1259 | ChainLink.TextureLength = 3 | |
1260 | - | function PheonixFlare() |
1260 | + | ChainLink.Attachment0 = A |
1261 | ChainLink.Attachment1 = B | |
1262 | ChainLink.CurveSize0 = 1 | |
1263 | - | PARTICLES = true |
1263 | + | ChainLink.CurveSize1 = 1 |
1264 | ChainLink.FaceCamera = true | |
1265 | ChainLink.Transparency = NumberSequence.new(0) | |
1266 | local ChainLink = IT("Beam",Torso) | |
1267 | - | RootJoint.C0 = Clerp(RootJoint.C0, ROOTC0 * CF(0, 0, 0 + 1 * SIN(SINE / 24)) * ANGLES(RAD(0), RAD(0), RAD(0)), 2 / Animation_Speed) |
1267 | + | ChainLink.Texture = "rbxassetid://73042633" |
1268 | - | Neck.C0 = Clerp(Neck.C0, NECKC0 * CF(0, 0, 0) * ANGLES(RAD(20), RAD(0), RAD(0)), 1 / Animation_Speed) |
1268 | + | ChainLink.Color = ColorSequence.new(C3(242, 243, 243)) |
1269 | - | RightShoulder.C0 = Clerp(RightShoulder.C0, CF(1.5, 0.5, 0) * ANGLES(RAD(0), RAD(-15), RAD(25)) * RIGHTSHOULDERC0, 1 / Animation_Speed) |
1269 | + | ChainLink.TextureSpeed = 0.2 |
1270 | - | LeftShoulder.C0 = Clerp(LeftShoulder.C0, CF(-1.5, 0.5, 0) * ANGLES(RAD(0), RAD(15), RAD(-25)) * LEFTSHOULDERC0, 1 / Animation_Speed) |
1270 | + | ChainLink.FaceCamera = true |
1271 | - | 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) |
1271 | + | ChainLink.Width0 = 1 |
1272 | - | 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) |
1272 | + | ChainLink.Width1 = 1 |
1273 | - | until ATTACK == false |
1273 | + | ChainLink.TextureLength = 3 |
1274 | ChainLink.Attachment0 = B | |
1275 | - | CreateSound(462676772, Torso, 7, 1, false) |
1275 | + | ChainLink.Attachment1 = A |
1276 | - | WINGS1.Acceleration = VT(9, 0, -12) |
1276 | + | ChainLink.CurveSize0 = 1 |
1277 | - | WINGS1B.Acceleration = VT(9, 0, -12) |
1277 | + | ChainLink.CurveSize1 = 1 |
1278 | - | WINGS2.Acceleration = VT(-9, 0, -12) |
1278 | + | ChainLink.FaceCamera = true |
1279 | - | WINGS2B.Acceleration = VT(-9, 0, -12) |
1279 | + | ChainLink.Transparency = NumberSequence.new(0) |
1280 | - | wait(0.25) |
1280 | + | |
1281 | local A = IT("Attachment",RightBarrel) | |
1282 | - | local WIND = CreatePart(3, Effects, "Neon", 0, 1, "Cyan", "Flight", VT(0, 0, 0)) |
1282 | + | A.Position = VT(0,-2.5,0) |
1283 | - | WIND.CFrame = CF(RootPart.Position, Mouse.Hit.p) |
1283 | + | local B = IT("Attachment",RightBarrel) |
1284 | - | local PARTICLES = script.Gale:Clone() |
1284 | + | B.Position = VT(0,2.5,0) |
1285 | - | PARTICLES.Parent = WIND |
1285 | + | local Trail = IT("Trail",RightBarrel) |
1286 | - | PARTICLES.Enabled = true |
1286 | + | Trail.Attachment0 = A |
1287 | - | CreateSound(376218535, WIND, 6, 1, false) |
1287 | + | Trail.Attachment1 = B |
1288 | - | for i = 1, 250 do |
1288 | + | Trail.Lifetime = 0.2 |
1289 | Trail.Color = ColorSequence.new(BRICKC"Really Black".Color) | |
1290 | - | local HIT, HITPOS = Raycast(WIND.Position, WIND.CFrame.lookVector, 3, Character) |
1290 | + | Trail.Transparency = NumberSequence.new(0, 1) |
1291 | - | WIND.CFrame = WIND.CFrame * CF(0, 0, -2) |
1291 | + | Trail.Enabled = false |
1292 | - | if HIT then |
1292 | + | |
1293 | - | ApplyAoE(WIND.Position, 45, 10, 30, 135, false, MRANDOM(12, 16), "Nul", true, { |
1293 | + | local Handle = CreatePart(3, Weapon, "Metal", 0, 0, "Mid gray", "Part", VT(0.2,0.6,0.2),false) |
1294 | - | SHAKE = 3, |
1294 | + | local RightArmGrasp = CreateWeldOrSnapOrMotor("Weld", Handle, LeftArm, Handle, CF(0,-1, 0) * ANGLES(RAD(90), RAD(0), RAD(0)), CF(0, 0.21, 0)) |
1295 | - | TIMER = 7, |
1295 | + | local Part = CreatePart(3, Weapon, "Metal", 0, 0, "Mid gray", "Part", VT(0.2,0.5,0.2),false) |
1296 | - | DOESFADE = true |
1296 | + | MakeForm(Part,"Wedge") |
1297 | CreateWeldOrSnapOrMotor("Weld", Handle, Handle, Part, CF(0, -0.3, 0.2) * ANGLES(RAD(0), RAD(180), RAD(0)), CF(0, 0, 0)) | |
1298 | - | CreateSound(260430117, WIND, 3, 1, false) |
1298 | + | local Part = CreatePart(3, Weapon, "Metal", 0, 0, "Mid gray", "Part", VT(0.2,0.3,0.2),false) |
1299 | MakeForm(Part,"Wedge") | |
1300 | - | Time = 25, |
1300 | + | CreateWeldOrSnapOrMotor("Weld", Handle, Handle, Part, CF(0, -0.4, 0) * ANGLES(RAD(0), RAD(0), RAD(180)), CF(0, 0, 0)) |
1301 | local Part = CreatePart(3, Weapon, "Metal", 0, 0, "Mid gray", "Part", VT(0.3,0.3,0.3),false) | |
1302 | - | Size = VT(20, 0, 20), |
1302 | + | CreateWeldOrSnapOrMotor("Weld", Handle, Handle, Part, CF(0, -0.5, 0.2) * ANGLES(RAD(0), RAD(0), RAD(0)), CF(0, 0, 0)) |
1303 | - | Size2 = VT(60, 8, 60), |
1303 | + | local Part = CreatePart(3, Weapon, "Metal", 0, 0, "Mid gray", "Part", VT(0.3,0.5,0.5),false) |
1304 | - | Transparency = 0.9, |
1304 | + | CreateWeldOrSnapOrMotor("Weld", Handle, Handle, Part, CF(0, -0.6, 0.5) * ANGLES(RAD(0), RAD(0), RAD(0)), CF(0, 0, 0)) |
1305 | local Part = CreatePart(3, Weapon, "Metal", 0, 0, "Mid gray", "Part", VT(0.4,0.4,0.4),false) | |
1306 | - | CFrame = WIND.CFrame * ANGLES(RAD(90), RAD(0), RAD(0)) * ANGLES(RAD(0), RAD(45), RAD(0)), |
1306 | + | MakeForm(Part,"Cyl") |
1307 | CreateWeldOrSnapOrMotor("Weld", Handle, Handle, Part, CF(0, -0.6, 0.5) * ANGLES(RAD(90), RAD(0), RAD(0)), CF(0, 0, 0)) | |
1308 | for i = 1, 8 do | |
1309 | local Piece = CreatePart(3, Weapon, "Metal", 0, 0, "Mid gray", "Eye", VT(0,0.35,0.41),false) | |
1310 | CreateWeldOrSnapOrMotor("Weld", Handle, Part, Piece, CF(0, 0, 0) * ANGLES(RAD(0), RAD((360/8)*i), RAD(0)), CF(0, 0, 0)) | |
1311 | end | |
1312 | - | Color = C3(0.8, 0.8, 0.8), |
1312 | + | local Part = CreatePart(3, Weapon, "Metal", 0, 0, "Mid gray", "Eye", VT(0.38,0.41,0.38),false) |
1313 | MakeForm(Part,"Cyl") | |
1314 | CreateWeldOrSnapOrMotor("Weld", Handle, Handle, Part, CF(0, -0.6, 0.5) * ANGLES(RAD(90), RAD(0), RAD(0)), CF(0, 0, 0)) | |
1315 | local Part = CreatePart(3, Weapon, "Metal", 0, 0, "Mid gray", "Part", VT(0.37,0.5,0.37),false) | |
1316 | MakeForm(Part,"Ball") | |
1317 | CreateWeldOrSnapOrMotor("Weld", Handle, Handle, Part, CF(0, -0.6, 0.3) * ANGLES(RAD(90), RAD(0), RAD(0)), CF(0, 0, 0)) | |
1318 | - | Time = 25, |
1318 | + | local Part = CreatePart(3, Weapon, "Metal", 0, 0, "Mid gray", "Part", VT(0.2,0.7,0.4),false) |
1319 | MakeForm(Part,"Wedge") | |
1320 | - | Size = VT(20, 0, 20), |
1320 | + | CreateWeldOrSnapOrMotor("Weld", Handle, Handle, Part, CF(0, -0.7, 0.5) * ANGLES(RAD(90), RAD(180), RAD(180)), CF(0, 0, 0)) |
1321 | - | Size2 = VT(60, 8, 60), |
1321 | + | local Part = CreatePart(3, Weapon, "Metal", 0, 0, "Mid gray", "Part", VT(0.3,0.4,0.2),false) |
1322 | - | Transparency = 0.9, |
1322 | + | CreateWeldOrSnapOrMotor("Weld", Handle, Handle, Part, CF(0, -0.6, 0.7) * ANGLES(RAD(0), RAD(0), RAD(0)), CF(0, 0, 0)) |
1323 | local Part = CreatePart(3, Weapon, "Metal", 0, 0, "Mid gray", "Part", VT(0.35,0.35,0.35),false) | |
1324 | - | CFrame = WIND.CFrame * ANGLES(RAD(90), RAD(0), RAD(0)), |
1324 | + | MakeForm(Part,"Cyl") |
1325 | CreateWeldOrSnapOrMotor("Weld", Handle, Handle, Part, CF(0, -0.6, 0.7) * ANGLES(RAD(90), RAD(0), RAD(0)), CF(0, 0, 0)) | |
1326 | local Part = CreatePart(3, Weapon, "Metal", 0, 0, "Mid gray", "Part", VT(0.5,0.1,0.5),false) | |
1327 | MakeForm(Part,"Cyl") | |
1328 | CreateWeldOrSnapOrMotor("Weld", Handle, Handle, Part, CF(0, -0.6, 1) * ANGLES(RAD(90), RAD(0), RAD(0)), CF(0, 0, 0)) | |
1329 | local Part = CreatePart(3, Weapon, "Metal", 0, 0, "Mid gray", "Part", VT(0.5,0.1,0.45),false) | |
1330 | - | Color = C3(0.8, 0.8, 0.8), |
1330 | + | MakeForm(Part,"Cyl") |
1331 | CreateWeldOrSnapOrMotor("Weld", Handle, Handle, Part, CF(0, -0.6, 1.1) * ANGLES(RAD(90), RAD(0), RAD(0)), CF(0, 0, 0)) | |
1332 | local Part = CreatePart(3, Weapon, "Metal", 0, 0, "Mid gray", "Part", VT(0.2,0.5,0.2),false) | |
1333 | MakeForm(Part,"Wedge") | |
1334 | CreateWeldOrSnapOrMotor("Weld", Handle, Handle, Part, CF(0, -0.55, 0.2) * ANGLES(RAD(-135), RAD(0), RAD(0)), CF(0, -0.3, 0)) | |
1335 | - | break |
1335 | + | local LASTPART = Handle |
1336 | for i = 1, 10 do | |
1337 | if LASTPART == Handle then | |
1338 | - | PARTICLES.Enabled = false |
1338 | + | local Part = CreatePart(3, Weapon, "Metal", 0, 0, "Mid gray", "Part", VT(0.1,0.2,0),false) |
1339 | - | Debris:AddItem(WIND, 7) |
1339 | + | LASTPART = Part |
1340 | CreateWeldOrSnapOrMotor("Weld", Handle, Handle, Part, CF(0, -0.1, 0.2) * ANGLES(RAD(90), RAD(0), RAD(0)), CF(0, 0, 0)) | |
1341 | - | wait(1) |
1341 | + | |
1342 | - | CreateSound(462676772, Torso, 7, 1, false) |
1342 | + | local Part = CreatePart(3, Weapon, "Metal", 0, 0, "Mid gray", "Part", VT(0.1,0.05,0),false) |
1343 | - | WINGS1.Acceleration = VT(9, 1, 4) |
1343 | + | CreateWeldOrSnapOrMotor("Weld", Handle, LASTPART, Part, CF(0, 0.025, 0) * ANGLES(RAD(8), RAD(0), RAD(0)), CF(0, -0.025, 0)) |
1344 | - | WINGS1B.Acceleration = VT(9, 1, 4) |
1344 | + | LASTPART = Part |
1345 | - | WINGS2.Acceleration = VT(-9, 1, 4) |
1345 | + | |
1346 | - | WINGS2B.Acceleration = VT(-9, 1, 4) |
1346 | + | |
1347 | - | wait(0.25) |
1347 | + | |
1348 | local Barrel = CreatePart(3, Weapon, "Metal", 0, 0, "Mid gray", "Part", VT(0.15,2,0.15),false) | |
1349 | - | local FIREBALL = CreatePart(3, Effects, "Neon", 0, 1, "Cyan", "Flight", VT(5, 5, 5)) |
1349 | + | MakeForm(Barrel,"Cyl") |
1350 | - | FIREBALL.CFrame = CF(RootPart.Position, Mouse.Hit.p) |
1350 | + | CreateWeldOrSnapOrMotor("Weld", Handle, Handle, Barrel, CF(0, -0.6, 1.8) * ANGLES(RAD(90), RAD(0), RAD(0)), CF(0, 0, 0)) |
1351 | - | local PARTICLES1 = script.PheonixFireball1:Clone() |
1351 | + | local Part = CreatePart(3, Weapon, "Metal", 0, 0, "Mid gray", "Part", VT(0.25,1,0.25),false) |
1352 | - | PARTICLES1.Parent = FIREBALL |
1352 | + | MakeForm(Part,"Cyl") |
1353 | - | PARTICLES1.Enabled = true |
1353 | + | CreateWeldOrSnapOrMotor("Weld", Handle, Barrel, Part, CF(0, -0.6, 0), CF(0, 0, 0)) |
1354 | - | local PARTICLES2 = script.PheonixFireball2:Clone() |
1354 | + | local Part = CreatePart(3, Weapon, "Metal", 0, 0, "Mid gray", "Part", VT(0,0.1,0.2),false) |
1355 | - | PARTICLES2.Parent = FIREBALL |
1355 | + | MakeForm(Part,"Wedge") |
1356 | - | PARTICLES2.Enabled = true |
1356 | + | CreateWeldOrSnapOrMotor("Weld", Handle, Barrel, Part, CF(0, 0.945, 0.1) * ANGLES(RAD(180), RAD(0), RAD(0)), CF(0, 0, 0)) |
1357 | - | CreateSound(463593339, FIREBALL, 6, 1, false) |
1357 | + | local Hole = CreatePart(3, Weapon, "Metal", 0, 0, "Mid gray", "Eye", VT(0.125,0,0.125),false) |
1358 | - | for i = 1, 250 do |
1358 | + | MakeForm(Hole,"Cyl") |
1359 | CreateWeldOrSnapOrMotor("Weld", Handle, Barrel, Hole, CF(0, 0.98, 0), CF(0, 0, 0)) | |
1360 | - | local HIT, HITPOS = Raycast(FIREBALL.Position, FIREBALL.CFrame.lookVector, 2.5, Character) |
1360 | + | local Part = CreatePart(3, Weapon, "Metal", 0, 0, "Mid gray", "Part", VT(0,0,0),false) |
1361 | - | FIREBALL.CFrame = FIREBALL.CFrame * CF(0, 0, -2) |
1361 | + | local GEARWELD = CreateWeldOrSnapOrMotor("Weld", Handle, Handle, Part, CF(0, -0.6, 0.7), CF(0, 0, 0)) |
1362 | - | if HIT then |
1362 | + | CreateMesh("SpecialMesh", Part, "FileMesh", 156292343, "", VT(0.8,0.8,1.5), VT(0,0,0.2)) |
1363 | - | ApplyAoE(FIREBALL.Position, 70, 45, 50, 35, true, MRANDOM(12, 16), "Pheonix", true, { |
1363 | + | local Part = CreatePart(3, Weapon, "Metal", 0, 0.5, "Mid gray", "Eye", VT(0,0,0),false) |
1364 | - | SHAKE = 2, |
1364 | + | local GEARWELD2 = CreateWeldOrSnapOrMotor("Weld", Handle, Handle, Part, CF(0, -0.6, 0.7), CF(0, 0, 0)) |
1365 | - | TIMER = 25, |
1365 | + | CreateMesh("SpecialMesh", Part, "FileMesh", 156292343, "", VT(0.9,0.9,0.3), VT(0,0,0.2)) |
1366 | - | DOESFADE = true |
1366 | + | coroutine.resume(coroutine.create(function() |
1367 | while wait() do | |
1368 | GEARWELD.C0 = GEARWELD.C0 * ANGLES(RAD(0), RAD(0), RAD(5)) | |
1369 | - | Time = 60, |
1369 | + | GEARWELD2.C0 = GEARWELD2.C0 * ANGLES(RAD(0), RAD(0), RAD(-5)) |
1370 | end | |
1371 | - | Size = VT(0, 0, 0), |
1371 | + | |
1372 | - | Size2 = VT(120, 120, 120), |
1372 | + | |
1373 | ParticleEmitter({Speed = 0.2, Drag = 0, Size1 = 0.1, Size2 = 0, Lifetime1 = 0.3, Lifetime2 = 0.5, Parent = Hole, Emit = 100, Offset = 360, Enabled = true, Acel = VT(1,0,0)}) | |
1374 | --ParticleEmitter({Speed = 0.5, Drag = 0, Size1 = 0.2, Size2 = 0, Lifetime1 = 0.3, Lifetime2 = 0.7, Parent = Dangle, Emit = 100, Offset = 360, Enabled = true, Acel = VT(1,0,0)}) | |
1375 | - | CFrame = CF(FIREBALL.Position), |
1375 | + | |
1376 | for _, c in pairs(Weapon:GetDescendants()) do | |
1377 | if c.ClassName == "Part" and c.Name ~= "Eye" and c.Parent ~= Effects and c.Parent.Parent ~= Effects then | |
1378 | c.Material = "Glass" | |
1379 | c.Color = C3(0,0,0) | |
1380 | elseif c.ClassName == "Part" and c.Name == "Eye" then | |
1381 | - | Color = C3(1, 0.6666666666666666, 0), |
1381 | + | c.Color = C3(0,1,0) |
1382 | c.Material = "Neon" | |
1383 | end | |
1384 | end | |
1385 | ||
1386 | Weapon.Parent = Character | |
1387 | - | Time = 60, |
1387 | + | for _, c in pairs(Weapon:GetChildren()) do |
1388 | if c.ClassName == "Part" then | |
1389 | - | Size = VT(0, 0, 0), |
1389 | + | c.CustomPhysicalProperties = PhysicalProperties.new(0, 0, 0, 0, 0) |
1390 | - | Size2 = VT(140, 140, 140), |
1390 | + | |
1391 | - | Transparency = 0.5, |
1391 | + | |
1392 | ||
1393 | - | CFrame = CF(FIREBALL.Position), |
1393 | + | local SKILLTEXTCOLOR = C3(0,1,0) |
1394 | local SKILLFONT = "Antique" | |
1395 | local SKILLTEXTSIZE = 7 | |
1396 | ||
1397 | Humanoid.Died:connect(function() | |
1398 | ATTACK = true | |
1399 | - | Color = PHEONIXCOLOR, |
1399 | + | |
1400 | - | SoundID = 462692971, |
1400 | + | |
1401 | Humanoid.Died:connect(function() | |
1402 | - | SoundVolume = 6 |
1402 | + | refit() |
1403 | end) | |
1404 | - | PARTICLES1.Enabled = false |
1404 | + | |
1405 | - | PARTICLES2.Enabled = false |
1405 | + | local SKILL1FRAME = CreateFrame(WEAPONGUI, 1, 2, UD2(0.0, 1, 0.90, 0), UD2(0.26, 0, 0.07, 0), C3(0,0,0), C3(0, 0, 0), "Skill 1 Frame") |
1406 | - | local EXPLOSION = script.PheonixExplosion1:Clone() |
1406 | + | --[[local SKILL2FRAME = CreateFrame(WEAPONGUI, 1, 2, UD2(0.63, 0, 0.90, 0), UD2(0.26, 0, 0.07, 0), C3(0,0,0), C3(0, 0, 0), "Skill 2 Frame") |
1407 | - | EXPLOSION.Parent = FIREBALL |
1407 | + | local SKILL3FRAME = CreateFrame(WEAPONGUI, 1, 2, UD2(0.215, 0, 0.90, 0), UD2(0.26, 0, 0.07, 0), C3(0,0,0), C3(0, 0, 0), "Skill 3 Frame") |
1408 | - | EXPLOSION.Enabled = true |
1408 | + | local SKILL4FRAME = CreateFrame(WEAPONGUI, 1, 2, UD2(0.525, 0, 0.90, 0), UD2(0.26, 0, 0.07, 0), C3(0,0,0), C3(0, 0, 0), "Skill 4 Frame") |
1409 | - | local EXPLOSION2 = script.PheonixExplosion2:Clone() |
1409 | + | local SKILL5FRAME = CreateFrame(WEAPONGUI, 1, 2, UD2(0.365, 0, 0.90, 0), UD2(0.26, 0, 0.07, 0), C3(0,0,0), C3(0, 0, 0), "Skill 5 Frame") |
1410 | - | EXPLOSION2.Parent = FIREBALL |
1410 | + | ]] |
1411 | - | EXPLOSION2.Enabled = true |
1411 | + | local SKILL1TEXT = CreateLabel(SKILL1FRAME, "[Z] Bullet", SKILLTEXTCOLOR, SKILLTEXTSIZE, SKILLFONT, 0, 2, 0.7, "Text 1") |
1412 | - | wait(0.3) |
1412 | + | --[[local SKILL2TEXT = CreateLabel(SKILL2FRAME, "[B] Ability 2", SKILLTEXTCOLOR, SKILLTEXTSIZE, SKILLFONT, 0, 2, 0.7, "Text 2") |
1413 | - | EXPLOSION.Enabled = false |
1413 | + | local SKILL3TEXT = CreateLabel(SKILL3FRAME, "[C] Ability 3", SKILLTEXTCOLOR, SKILLTEXTSIZE, SKILLFONT, 0, 2, 0.7, "Text 3") |
1414 | - | EXPLOSION2.Enabled = false |
1414 | + | local SKILL4TEXT = CreateLabel(SKILL4FRAME, "[V] Ability 4", SKILLTEXTCOLOR, SKILLTEXTSIZE, SKILLFONT, 0, 2, 0.7, "Text 4") |
1415 | - | break |
1415 | + | local SKILL5TEXT = CreateLabel(SKILL5FRAME, "[X] Mercy", SKILLTEXTCOLOR, SKILLTEXTSIZE, SKILLFONT, 0, 2, 0.7, "Text 5") |
1416 | ]] | |
1417 | function printbye(Name) | |
1418 | - | PARTICLES1.Enabled = false |
1418 | + | local MESSAGES = {"NameClan Jail, "} |
1419 | - | PARTICLES2.Enabled = false |
1419 | + | warn(MESSAGES[MRANDOM(1,#MESSAGES)]..Name..".") |
1420 | - | Debris:AddItem(FIREBALL, 7) |
1420 | + | |
1421 | ||
1422 | - | wait(0.5) |
1422 | + | workspace.ChildAdded:connect(function(instance) |
1423 | - | PARTICLES = false |
1423 | + | for BANISH = 1, #TOBANISH do |
1424 | if TOBANISH[BANISH] ~= nil then | |
1425 | if instance.Name == TOBANISH[BANISH] then | |
1426 | coroutine.resume(coroutine.create(function() | |
1427 | - | function PheonixFireballs() |
1427 | + | printbye(instance.Name) |
1428 | instance:ClearAllChildren() | |
1429 | - | local POWER = 1 |
1429 | + | Debris:AddItem(instance,0.0005) |
1430 | - | DIRECTTURN = true |
1430 | + | |
1431 | end | |
1432 | end | |
1433 | end | |
1434 | - | RootJoint.C0 = Clerp(RootJoint.C0, ROOTC0 * CF(0, 0, 0 + 1 * SIN(SINE / 24)) * ANGLES(RAD(0), RAD(0), RAD(24)), 2 / Animation_Speed) |
1434 | + | |
1435 | - | Neck.C0 = Clerp(Neck.C0, NECKC0 * CF(0, 0, 0) * ANGLES(RAD(20), RAD(0), RAD(-24)), 1 / Animation_Speed) |
1435 | + | |
1436 | - | RightShoulder.C0 = Clerp(RightShoulder.C0, CF(1.25, 0.5, -0.3) * ANGLES(RAD(90), RAD(0), RAD(24)) * RIGHTSHOULDERC0, 1 / Animation_Speed) |
1436 | + | --//=================================\\ |
1437 | - | 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) |
1437 | + | --|| DAMAGING |
1438 | - | 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) |
1438 | + | --\\=================================// |
1439 | - | 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) |
1439 | + | |
1440 | - | until ATTACK == false |
1440 | + | function Banish(Foe) |
1441 | if Foe then | |
1442 | - | local RING1, WELD1, MESH1 = MagicRing(RightArm, CF(0, -1.2, 0) * ANGLES(RAD(0), RAD(180), RAD(0)), "Pheonix") |
1442 | + | |
1443 | - | local RING2, WELD2, MESH2 = MagicRing(RightArm, CF(0, -1.6, 0) * ANGLES(RAD(0), RAD(180), RAD(0)), "Pheonix") |
1443 | + | --if game.Players:FindFirstChild(Foe.Name) then |
1444 | - | for i = 1, 35 do |
1444 | + | table.insert(TOBANISH,Foe.Name) |
1445 | printbye(Foe.Name) | |
1446 | - | MESH1.Scale = MESH1.Scale + VT(6, 0, 6) |
1446 | + | --end |
1447 | - | MESH2.Scale = MESH2.Scale + VT(3, 0, 3) |
1447 | + | Foe.Archivable = true |
1448 | local CLONE = Foe:Clone() | |
1449 | Foe:Destroy() | |
1450 | - | wait() |
1450 | + | CLONE.Parent = Effects |
1451 | - | POWER = POWER + 1 |
1451 | + | CLONE:BreakJoints() |
1452 | local MATERIALS = {"Glass","Neon"} | |
1453 | - | if POWER <= 30 then |
1453 | + | for _, c in pairs(CLONE:GetDescendants()) do |
1454 | if c:IsA("BasePart") then | |
1455 | - | wait(0.1) |
1455 | + | if c.Name == "Torso" or c.Name == "UpperTorso" or c == CLONE.PrimaryPart then |
1456 | - | coroutine.resume(coroutine.create(function() |
1456 | + | CreateSound(387278135, c, 10, 1, false) |
1457 | - | local FIREBALL = CreatePart(3, Effects, "Neon", 0, 1, "Cyan", "Flight", VT(2, 2, 2)) |
1457 | + | |
1458 | - | FIREBALL.CFrame = CF(RootPart.Position, Mouse.Hit.p) |
1458 | + | c.Anchored = true |
1459 | - | local PARTICLES1 = script.PheonixFireball1:Clone() |
1459 | + | c.Transparency = c.Transparency + 0.2 |
1460 | - | PARTICLES1.Parent = FIREBALL |
1460 | + | c.Material = MATERIALS[MRANDOM(1,2)] |
1461 | - | PARTICLES1.Enabled = true |
1461 | + | c.Color = C3(1,0,0) |
1462 | - | local PARTICLES2 = script.PheonixFireball2:Clone() |
1462 | + | if c.ClassName == "MeshPart" then |
1463 | - | PARTICLES2.Parent = FIREBALL |
1463 | + | c.TextureID = "" |
1464 | - | PARTICLES2.Enabled = true |
1464 | + | |
1465 | - | PARTICLES1.Size = NumberSequence.new(3, 0) |
1465 | + | if c:FindFirstChildOfClass("SpecialMesh") then |
1466 | - | PARTICLES2.Size = NumberSequence.new(3, 0) |
1466 | + | c:FindFirstChildOfClass("SpecialMesh").TextureId = "" |
1467 | - | CreateSound(463593339, FIREBALL, 6, 1, false) |
1467 | + | |
1468 | - | for i = 1, 250 do |
1468 | + | if c:FindFirstChildOfClass("Decal") then |
1469 | c:FindFirstChildOfClass("Decal"):remove() | |
1470 | - | local HIT, HITPOS = Raycast(FIREBALL.Position, FIREBALL.CFrame.lookVector, 4.5, Character) |
1470 | + | |
1471 | - | FIREBALL.CFrame = FIREBALL.CFrame * CF(0, 0, -4) |
1471 | + | c.Name = "Banished" |
1472 | - | if HIT then |
1472 | + | c.CanCollide = false |
1473 | - | ApplyAoE(FIREBALL.Position, 25, 5, 15, 5, true, MRANDOM(5, 6), "Pheonix", true, { |
1473 | + | |
1474 | - | SHAKE = 2, |
1474 | + | c:remove() |
1475 | - | TIMER = 25, |
1475 | + | |
1476 | - | DOESFADE = true |
1476 | + | |
1477 | - | }) |
1477 | + | local A = false |
1478 | - | WACKYEFFECT({ |
1478 | + | for i = 1, 35 do |
1479 | - | Time = 60, |
1479 | + | if A == false then |
1480 | - | EffectType = "Sphere", |
1480 | + | A = true |
1481 | - | Size = VT(0, 0, 0), |
1481 | + | elseif A == true then |
1482 | - | Size2 = VT(50, 50, 50), |
1482 | + | A = false |
1483 | - | Transparency = 0, |
1483 | + | |
1484 | - | Transparency2 = 1, |
1484 | + | for _, c in pairs(CLONE:GetDescendants()) do |
1485 | - | CFrame = CF(FIREBALL.Position), |
1485 | + | if c:IsA("BasePart") then |
1486 | - | MoveToPos = nil, |
1486 | + | c.Anchored = true |
1487 | - | RotationX = 0, |
1487 | + | c.Material = MATERIALS[MRANDOM(1,2)] |
1488 | - | RotationY = 0, |
1488 | + | c.Transparency = c.Transparency + 0.8/35 |
1489 | - | RotationZ = 0, |
1489 | + | if A == false then |
1490 | - | Material = "Neon", |
1490 | + | c.CFrame = c.CFrame*CF(MRANDOM(-45,45)/45,MRANDOM(-45,45)/45,MRANDOM(-45,45)/45) |
1491 | - | Color = C3(1, 0.6666666666666666, 0), |
1491 | + | elseif A == true then |
1492 | - | SoundID = nil, |
1492 | + | c.CFrame = c.CFrame*CF(MRANDOM(-45,45)/45,MRANDOM(-45,45)/45,MRANDOM(-45,45)/45) |
1493 | - | SoundPitch = nil, |
1493 | + | |
1494 | - | SoundVolume = nil |
1494 | + | |
1495 | - | }) |
1495 | + | |
1496 | - | WACKYEFFECT({ |
1496 | + | |
1497 | - | Time = 60, |
1497 | + | |
1498 | - | EffectType = "Sphere", |
1498 | + | CLONE:remove() |
1499 | - | Size = VT(0, 0, 0), |
1499 | + | |
1500 | - | Size2 = VT(60, 60, 60), |
1500 | + | |
1501 | - | Transparency = 0.5, |
1501 | + | |
1502 | - | Transparency2 = 1, |
1502 | + | |
1503 | - | CFrame = CF(FIREBALL.Position), |
1503 | + | function ApplyAoE(POSITION,RANGE,ISBANISH) |
1504 | - | MoveToPos = nil, |
1504 | + | local CHILDREN = workspace:GetDescendants() |
1505 | - | RotationX = 0, |
1505 | + | |
1506 | - | RotationY = 0, |
1506 | + | |
1507 | - | RotationZ = 0, |
1507 | + | |
1508 | - | Material = "Neon", |
1508 | + | |
1509 | - | Color = PHEONIXCOLOR, |
1509 | + | |
1510 | - | SoundID = 462692971, |
1510 | + | if TORSO then |
1511 | - | SoundPitch = 1, |
1511 | + | if (TORSO.Position - POSITION).Magnitude <= RANGE then |
1512 | - | SoundVolume = 6 |
1512 | + | if ISBANISH == true then |
1513 | - | }) |
1513 | + | Banish(CHILD) |
1514 | - | PARTICLES1.Enabled = false |
1514 | + | else |
1515 | - | PARTICLES2.Enabled = false |
1515 | + | if ISBANISH == "Gravity" then |
1516 | - | local EXPLOSION = script.PheonixExplosion1:Clone() |
1516 | + | HUM.PlatformStand = true |
1517 | - | EXPLOSION.Parent = FIREBALL |
1517 | + | if TORSO:FindFirstChild("V3BanishForce"..Player.Name) then |
1518 | - | EXPLOSION.Enabled = true |
1518 | + | local grav = Instance.new("BodyPosition",TORSO) |
1519 | - | local EXPLOSION2 = script.PheonixExplosion2:Clone() |
1519 | + | grav.D = 15 |
1520 | - | EXPLOSION2.Parent = FIREBALL |
1520 | + | grav.P = 20000 |
1521 | - | EXPLOSION2.Enabled = true |
1521 | + | grav.maxForce = Vector3.new(math.huge,math.huge,math.huge) |
1522 | - | wait(0.3) |
1522 | + | grav.position = TORSO.Position |
1523 | - | EXPLOSION.Enabled = false |
1523 | + | grav.Name = "V3BanishForce"..Player.Name |
1524 | - | EXPLOSION2.Enabled = false |
1524 | + | else |
1525 | - | break |
1525 | + | TORSO:FindFirstChild("V3BanishForce"..Player.Name).position = TORSO.Position+VT(0,0.3,0) |
1526 | TORSO.RotVelocity = VT(MRANDOM(-25,25),MRANDOM(-25,25),MRANDOM(-25,25)) | |
1527 | end | |
1528 | - | PARTICLES1.Enabled = false |
1528 | + | else |
1529 | - | PARTICLES2.Enabled = false |
1529 | + | HUM.PlatformStand = false |
1530 | - | Debris:AddItem(FIREBALL, 7) |
1530 | + | |
1531 | - | end)) |
1531 | + | |
1532 | elseif ISBANISH == "Gravity" then | |
1533 | if TORSO:FindFirstChild("V3BanishForce"..Player.Name) then | |
1534 | - | for E = 1, 5 do |
1534 | + | TORSO:FindFirstChild("V3BanishForce"..Player.Name):remove() |
1535 | - | do |
1535 | + | HUM.PlatformStand = false |
1536 | - | local OFFSET = ANGLES(RAD(72 * E), RAD(72 * E), RAD(0)) * CF(0, 0, 75) |
1536 | + | |
1537 | end | |
1538 | - | local FIREBALL = CreatePart(3, Effects, "Neon", 0, 1, "Cyan", "Flight", VT(5, 5, 5)) |
1538 | + | |
1539 | - | FIREBALL.CFrame = CF(RootPart.Position, CF(Mouse.Hit.p, RootPart.Position) * OFFSET.p) |
1539 | + | |
1540 | - | local PARTICLES1 = script.PheonixFireball1:Clone() |
1540 | + | |
1541 | - | PARTICLES1.Parent = FIREBALL |
1541 | + | |
1542 | - | PARTICLES1.Enabled = true |
1542 | + | |
1543 | - | local PARTICLES2 = script.PheonixFireball2:Clone() |
1543 | + | |
1544 | - | PARTICLES2.Parent = FIREBALL |
1544 | + | --//=================================\\ |
1545 | - | PARTICLES2.Enabled = true |
1545 | + | --|| ATTACK FUNCTIONS AND STUFF |
1546 | - | CreateSound(463593339, FIREBALL, 6, 1, false) |
1546 | + | --\\=================================// |
1547 | - | for i = 1, 650 do |
1547 | + | |
1548 | function TakeOnMe() | |
1549 | - | local HIT, HITPOS = Raycast(FIREBALL.Position, FIREBALL.CFrame.lookVector, 2.5, Character) |
1549 | + | Speed = 16 |
1550 | - | FIREBALL.CFrame = FIREBALL.CFrame * CF(0, 0, -2) |
1550 | + | local MEME = CreateSound(928746550, Effects, 2, 1, false) |
1551 | - | if HIT then |
1551 | + | |
1552 | - | ApplyAoE(FIREBALL.Position, 70, 45, 50, 35, true, MRANDOM(12, 16), "Pheonix", true, { |
1552 | + | |
1553 | - | SHAKE = 2, |
1553 | + | local DANCE = true |
1554 | - | TIMER = 25, |
1554 | + | local KEY = Mouse.KeyDown:connect(function(NEWKEY) |
1555 | - | DOESFADE = true |
1555 | + | if NEWKEY == "p" then |
1556 | - | }) |
1556 | + | DANCE = false |
1557 | - | WACKYEFFECT({ |
1557 | + | |
1558 | - | Time = 60, |
1558 | + | |
1559 | - | EffectType = "Sphere", |
1559 | + | PLAYSONG = false |
1560 | - | Size = VT(0, 0, 0), |
1560 | + | while true do |
1561 | - | Size2 = VT(120, 120, 120), |
1561 | + | |
1562 | - | Transparency = 0, |
1562 | + | |
1563 | - | Transparency2 = 1, |
1563 | + | MEME.Parent = Effects |
1564 | - | CFrame = CF(FIREBALL.Position), |
1564 | + | RootJoint.C0 = Clerp(RootJoint.C0,ROOTC0 * CF(0, 0, -0.4+((15-i)/45)) * ANGLES(RAD(0), RAD(0), RAD(0)), 1 / Animation_Speed) |
1565 | - | MoveToPos = nil, |
1565 | + | Neck.C0 = Clerp(Neck.C0, NECKC0 * CF(0, 0, 0 + ((1) - 1)) * ANGLES(RAD(15 - 2.5 * SIN(SINE / 12)), RAD(0), RAD(0)), 1 / Animation_Speed) |
1566 | - | RotationX = 0, |
1566 | + | RightShoulder.C0 = Clerp(RightShoulder.C0, CF(1.5, 0.5, -0.5) * ANGLES(RAD(0), RAD(0), RAD(-85)) * RIGHTSHOULDERC0, 1 / Animation_Speed) |
1567 | - | RotationY = 0, |
1567 | + | LeftShoulder.C0 = Clerp(LeftShoulder.C0, CF(-1.5, 0.5, 0) * ANGLES(RAD(180), RAD(0), RAD(15)) * LEFTSHOULDERC0, 1 / Animation_Speed) |
1568 | - | RotationZ = 0, |
1568 | + | RightHip.C0 = Clerp(RightHip.C0, CF(1, -0.2, -0.6) * ANGLES(RAD(15), RAD(70), RAD(0)) * ANGLES(RAD(-5), RAD(0), RAD(0)), 1 / Animation_Speed) |
1569 | - | Material = "Neon", |
1569 | + | LeftHip.C0 = Clerp(LeftHip.C0, CF(-1, -0.2, -0.6) * ANGLES(RAD(15), RAD(-70), RAD(0)) * ANGLES(RAD(-5), RAD(0), RAD(0)), 1 / Animation_Speed) |
1570 | - | Color = C3(1, 0.6666666666666666, 0), |
1570 | + | |
1571 | - | SoundID = nil, |
1571 | + | if DANCE == false then |
1572 | - | SoundPitch = nil, |
1572 | + | break |
1573 | - | SoundVolume = nil |
1573 | + | |
1574 | - | }) |
1574 | + | |
1575 | - | WACKYEFFECT({ |
1575 | + | |
1576 | - | Time = 60, |
1576 | + | MEME.Parent = Effects |
1577 | - | EffectType = "Sphere", |
1577 | + | RootJoint.C0 = Clerp(RootJoint.C0,ROOTC0 * CF(0, 0, -0.4+((15-i)/45)) * ANGLES(RAD(0), RAD(0), RAD(0)), 1 / Animation_Speed) |
1578 | - | Size = VT(0, 0, 0), |
1578 | + | Neck.C0 = Clerp(Neck.C0, NECKC0 * CF(0, 0, 0 + ((1) - 1)) * ANGLES(RAD(-15 - 2.5 * SIN(SINE / 12)), RAD(0), RAD(0)), 1 / Animation_Speed) |
1579 | - | Size2 = VT(140, 140, 140), |
1579 | + | RightShoulder.C0 = Clerp(RightShoulder.C0, CF(1.5, 0.5, 0) * ANGLES(RAD(125), RAD(-45), RAD(15)) * RIGHTSHOULDERC0, 1 / Animation_Speed) |
1580 | - | Transparency = 0.5, |
1580 | + | LeftShoulder.C0 = Clerp(LeftShoulder.C0, CF(-1.5, 0.5, 0) * ANGLES(RAD(6), RAD(0), RAD(0)) * LEFTSHOULDERC0, 1 / Animation_Speed) |
1581 | - | Transparency2 = 1, |
1581 | + | RightHip.C0 = Clerp(RightHip.C0, CF(1, -1 - 0.05 * COS(SINE / 12), -0.01) * ANGLES(RAD(0), RAD(90), RAD(0)) * ANGLES(RAD(-8), RAD(0), RAD(0)), 0.15 / Animation_Speed) |
1582 | - | CFrame = CF(FIREBALL.Position), |
1582 | + | LeftHip.C0 = Clerp(LeftHip.C0, CF(-1, -1 - 0.05 * COS(SINE / 12), -0.01) * ANGLES(RAD(0), RAD(-90), RAD(0)) * ANGLES(RAD(-8), RAD(0), RAD(0)), 0.15 / Animation_Speed) |
1583 | - | MoveToPos = nil, |
1583 | + | |
1584 | - | RotationX = 0, |
1584 | + | |
1585 | - | RotationY = 0, |
1585 | + | PLAYSONG = true |
1586 | - | RotationZ = 0, |
1586 | + | KEY:Disconnect() |
1587 | - | Material = "Neon", |
1587 | + | MEME:remove() |
1588 | - | Color = PHEONIXCOLOR, |
1588 | + | Speed = 25 |
1589 | - | SoundID = 462692971, |
1589 | + | |
1590 | - | SoundPitch = 1, |
1590 | + | |
1591 | - | SoundVolume = 6 |
1591 | + | |
1592 | - | }) |
1592 | + | |
1593 | - | PARTICLES1.Enabled = false |
1593 | + | function Banisher_Bullet() |
1594 | - | PARTICLES2.Enabled = false |
1594 | + | |
1595 | - | local EXPLOSION = script.PheonixExplosion1:Clone() |
1595 | + | |
1596 | - | EXPLOSION.Parent = FIREBALL |
1596 | + | for i=0, 0.5, 0.1 / Animation_Speed do |
1597 | - | EXPLOSION.Enabled = true |
1597 | + | |
1598 | - | local EXPLOSION2 = script.PheonixExplosion2:Clone() |
1598 | + | turnto(Mouse.Hit.p) |
1599 | - | EXPLOSION2.Parent = FIREBALL |
1599 | + | RootJoint.C0 = Clerp(RootJoint.C0, ROOTC0 * CF(0, 0, 0 + 0.45 * COS(SINE / 12)) * ANGLES(RAD(7 + 2.5 * SIN(SINE / 12)), RAD(0), RAD(5 + 1 * SIN(SINE / 12))), 1 / Animation_Speed) |
1600 | - | EXPLOSION2.Enabled = true |
1600 | + | Neck.C0 = Clerp(Neck.C0, NECKC0 * CF(0, 0, 0) * ANGLES(RAD(25 + 4.5 * SIN(SINE / 12)), RAD(0), RAD(-5 - 2.5 * SIN(SINE / 12))), 1 / Animation_Speed) |
1601 | - | wait(0.3) |
1601 | + | RightShoulder.C0 = Clerp(RightShoulder.C0, CF(1.5, 0.5, 0) * ANGLES(RAD(90), RAD(0), RAD(0)) * RIGHTSHOULDERC0, 0.5 / Animation_Speed) |
1602 | - | EXPLOSION.Enabled = false |
1602 | + | LeftShoulder.C0 = Clerp(LeftShoulder.C0, CF(-1.5, 0.6, 0) * ANGLES(RAD(90), RAD(0), RAD(0)) * LEFTSHOULDERC0, 0.5 / Animation_Speed) |
1603 | - | EXPLOSION2.Enabled = false |
1603 | + | RightHip.C0 = Clerp(RightHip.C0, CF(1, -1 + 0.15 * COS(SINE / 12), -0.01) * ANGLES(RAD(-7.5 * SIN(SINE / 12)), RAD(75), RAD(0)) * ANGLES(RAD(-8 - 2.5 * SIN(SINE / 12)), RAD(0), RAD(0)), 1 / Animation_Speed) |
1604 | - | break |
1604 | + | LeftHip.C0 = Clerp(LeftHip.C0, CF(-1, -0.5 + 0.25 * COS(SINE / 12), -0.5) * ANGLES(RAD(-7.5 * SIN(SINE / 12)), RAD(-90), RAD(0)) * ANGLES(RAD(-8 - 2.5 * SIN(SINE / 12)), RAD(0), RAD(0)), 1 / Animation_Speed) |
1605 | end | |
1606 | repeat | |
1607 | - | PARTICLES1.Enabled = false |
1607 | + | for i=0, 0.3, 0.1 / Animation_Speed do |
1608 | - | PARTICLES2.Enabled = false |
1608 | + | |
1609 | - | Debris:AddItem(FIREBALL, 7) |
1609 | + | turnto(Mouse.Hit.p) |
1610 | RootJoint.C0 = Clerp(RootJoint.C0, ROOTC0 * CF(0, 0, 0 + 0.45 * COS(SINE / 12)) * ANGLES(RAD(7 + 2.5 * SIN(SINE / 12)), RAD(0), RAD(5 + 1 * SIN(SINE / 12))), 1 / Animation_Speed) | |
1611 | Neck.C0 = Clerp(Neck.C0, NECKC0 * CF(0, 0, 0) * ANGLES(RAD(25 + 4.5 * SIN(SINE / 12)), RAD(0), RAD(-5 - 2.5 * SIN(SINE / 12))), 1 / Animation_Speed) | |
1612 | RightShoulder.C0 = Clerp(RightShoulder.C0, CF(1.5, 0.5, 0) * ANGLES(RAD(90), RAD(0), RAD(0)) * RIGHTSHOULDERC0, 0.5 / Animation_Speed) | |
1613 | LeftShoulder.C0 = Clerp(LeftShoulder.C0, CF(-1.5, 0.6, 0) * ANGLES(RAD(90), RAD(0), RAD(0)) * LEFTSHOULDERC0, 0.5 / Animation_Speed) | |
1614 | - | wait(0.5) |
1614 | + | RightHip.C0 = Clerp(RightHip.C0, CF(1, -1 + 0.15 * COS(SINE / 12), -0.01) * ANGLES(RAD(-7.5 * SIN(SINE / 12)), RAD(75), RAD(0)) * ANGLES(RAD(-8 - 2.5 * SIN(SINE / 12)), RAD(0), RAD(0)), 1 / Animation_Speed) |
1615 | - | WELD1:remove() |
1615 | + | LeftHip.C0 = Clerp(LeftHip.C0, CF(-1, -0.5 + 0.25 * COS(SINE / 12), -0.5) * ANGLES(RAD(-7.5 * SIN(SINE / 12)), RAD(-90), RAD(0)) * ANGLES(RAD(-8 - 2.5 * SIN(SINE / 12)), RAD(0), RAD(0)), 1 / Animation_Speed) |
1616 | - | WELD2:remove() |
1616 | + | |
1617 | - | RING1.Anchored = true |
1617 | + | local HIT,POS = CastProperRay(Hole2.Position, Mouse.Hit.p, 1000, Character) |
1618 | - | RING2.Anchored = true |
1618 | + | SpawnTrail(Hole2.Position,POS) |
1619 | if HIT ~= nil then | |
1620 | - | for i = 1, 35 do |
1620 | + | if HIT.Parent ~= workspace and HIT.Parent.ClassName ~= "Folder" then |
1621 | Banish(HIT.Parent) | |
1622 | - | MESH1.Scale = MESH1.Scale - VT(6, 0, 6) |
1622 | + | |
1623 | - | MESH2.Scale = MESH2.Scale - VT(3, 0, 3) |
1623 | + | |
1624 | local HIT,POS = CastProperRay(Hole.Position, Mouse.Hit.p, 1000, Character) | |
1625 | - | RING1:remove() |
1625 | + | SpawnTrail(Hole.Position,POS) |
1626 | - | RING2:remove() |
1626 | + | if HIT ~= nil then |
1627 | if HIT.Parent ~= workspace and HIT.Parent.ClassName ~= "Folder" then | |
1628 | - | DIRECTTURN = false |
1628 | + | Banish(HIT.Parent) |
1629 | end | |
1630 | end | |
1631 | - | function PheonixJump() |
1631 | + | WACKYEFFECT({Time = 25, EffectType = "Wave", Size = VT(0.3,0,0.3), Size2 = VT(1,1.5,1), Transparency = 0, Transparency2 = 1, CFrame = Hole2.CFrame, MoveToPos = Hole2.CFrame*CF(0,0.5,0).p, RotationX = 0, RotationY = -15, RotationZ = 0, Material = "Neon", Color = C3(1,0,0), SoundID = nil, SoundPitch = nil, SoundVolume = nil}) |
1632 | - | local DONE = false |
1632 | + | WACKYEFFECT({Time = 25, EffectType = "Wave", Size = VT(0.3,0,0.3), Size2 = VT(2,0.5,2), Transparency = 0, Transparency2 = 1, CFrame = Hole2.CFrame, MoveToPos = nil, RotationX = 0, RotationY = 5, RotationZ = 0, Material = "Neon", Color = C3(1,0,0), SoundID = 904440937, SoundPitch = MRANDOM(8,11)/10, SoundVolume = 8}) |
1633 | - | local STRENGTH = 15 |
1633 | + | WACKYEFFECT({Time = 25, EffectType = "Wave", Size = VT(0.3,0,0.3), Size2 = VT(2,0.5,2), Transparency = 0, Transparency2 = 1, CFrame = CF(POS,Hole2.Position) * ANGLES(RAD(-90), RAD(0), RAD(0)), MoveToPos = nil, RotationX = 0, RotationY = -5, RotationZ = 0, Material = "Neon", Color = C3(1,0,0), SoundID = nil, SoundPitch = MRANDOM(8,11)/10, SoundVolume = 8}) |
1634 | - | local UP = 5 |
1634 | + | WACKYEFFECT({Time = 25, EffectType = "Wave", Size = VT(0.3,0,0.3), Size2 = VT(2,0.5,2), Transparency = 0, Transparency2 = 1, CFrame = CF(POS,Hole2.Position) * ANGLES(RAD(-90), RAD(0), RAD(0)), MoveToPos = nil, RotationX = 0, RotationY = 5, RotationZ = 0, Material = "Neon", Color = C3(1,0,0), SoundID = nil, SoundPitch = MRANDOM(8,11)/10, SoundVolume = 8}) |
1635 | for i=0, 0.5, 0.1 / Animation_Speed do | |
1636 | - | DIRECTTURN = true |
1636 | + | |
1637 | - | local RING, WELD, MESH = MagicRing(RootPart, CF(0, -3.5, 0) * ANGLES(RAD(0), RAD(180), RAD(0)), "Pheonix") |
1637 | + | RootJoint.C0 = Clerp(RootJoint.C0, ROOTC0 * CF(0, 0, 0 + 0.45 * COS(SINE / 12)) * ANGLES(RAD(7 + 2.5 * SIN(SINE / 12)), RAD(0), RAD(5 + 1 * SIN(SINE / 12))), 1 / Animation_Speed) |
1638 | Neck.C0 = Clerp(Neck.C0, NECKC0 * CF(0, 0, 0) * ANGLES(RAD(25 + 4.5 * SIN(SINE / 12)), RAD(0), RAD(-5 - 2.5 * SIN(SINE / 12))), 1 / Animation_Speed) | |
1639 | RightShoulder.C0 = Clerp(RightShoulder.C0, CF(1.5, 0.5, 0) * ANGLES(RAD(130), RAD(0), RAD(0)) * RIGHTSHOULDERC0, 0.5 / Animation_Speed) | |
1640 | - | MESH.Scale = MESH.Scale + VT(12, 0, 12) |
1640 | + | LeftShoulder.C0 = Clerp(LeftShoulder.C0, CF(-1.5, 0.6, 0) * ANGLES(RAD(130), RAD(0), RAD(0)) * LEFTSHOULDERC0, 0.5 / Animation_Speed) |
1641 | - | RootJoint.C0 = Clerp(RootJoint.C0, ROOTC0 * CF(0, 0, -1.4) * ANGLES(RAD(0), RAD(-5), RAD(-15)), 2 / Animation_Speed) |
1641 | + | RightHip.C0 = Clerp(RightHip.C0, CF(1, -1 + 0.15 * COS(SINE / 12), -0.01) * ANGLES(RAD(-7.5 * SIN(SINE / 12)), RAD(75), RAD(0)) * ANGLES(RAD(-8 - 2.5 * SIN(SINE / 12)), RAD(0), RAD(0)), 1 / Animation_Speed) |
1642 | - | Neck.C0 = Clerp(Neck.C0, NECKC0 * CF(0, 0, 0) * ANGLES(RAD(15), RAD(0), RAD(15)), 0.5 / Animation_Speed) |
1642 | + | LeftHip.C0 = Clerp(LeftHip.C0, CF(-1, -0.5 + 0.25 * COS(SINE / 12), -0.5) * ANGLES(RAD(-7.5 * SIN(SINE / 12)), RAD(-90), RAD(0)) * ANGLES(RAD(-8 - 2.5 * SIN(SINE / 12)), RAD(0), RAD(0)), 1 / Animation_Speed) |
1643 | - | 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) |
1643 | + | |
1644 | - | LeftShoulder.C0 = Clerp(LeftShoulder.C0, CF(-1.5, 0, 0) * ANGLES(RAD(0), RAD(0), RAD(-12)) * LEFTSHOULDERC0, 2 / Animation_Speed) |
1644 | + | WACKYEFFECT({Time = 25, EffectType = "Wave", Size = VT(0.3,0,0.3), Size2 = VT(1,1.5,1), Transparency = 0, Transparency2 = 1, CFrame = Hole.CFrame, MoveToPos = Hole.CFrame*CF(0,0.5,0).p, RotationX = 0, RotationY = -15, RotationZ = 0, Material = "Neon", Color = C3(0,1,0), SoundID = nil, SoundPitch = nil, SoundVolume = nil}) |
1645 | - | 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) |
1645 | + | WACKYEFFECT({Time = 25, EffectType = "Wave", Size = VT(0.3,0,0.3), Size2 = VT(2,0.5,2), Transparency = 0, Transparency2 = 1, CFrame = Hole.CFrame, MoveToPos = nil, RotationX = 0, RotationY = 5, RotationZ = 0, Material = "Neon", Color = C3(0,1,0), SoundID = 904440937, SoundPitch = MRANDOM(8,11)/10, SoundVolume = 8}) |
1646 | - | 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) |
1646 | + | WACKYEFFECT({Time = 25, EffectType = "Wave", Size = VT(0.3,0,0.3), Size2 = VT(2,0.5,2), Transparency = 0, Transparency2 = 1, CFrame = CF(POS,Hole.Position) * ANGLES(RAD(-90), RAD(0), RAD(0)), MoveToPos = nil, RotationX = 0, RotationY = -5, RotationZ = 0, Material = "Neon", Color = C3(0,1,0), SoundID = nil, SoundPitch = MRANDOM(8,11)/10, SoundVolume = 8}) |
1647 | WACKYEFFECT({Time = 25, EffectType = "Wave", Size = VT(0.3,0,0.3), Size2 = VT(2,0.5,2), Transparency = 0, Transparency2 = 1, CFrame = CF(POS,Hole.Position) * ANGLES(RAD(-90), RAD(0), RAD(0)), MoveToPos = nil, RotationX = 0, RotationY = 5, RotationZ = 0, Material = "Neon", Color = C3(0,1,0), SoundID = nil, SoundPitch = MRANDOM(8,11)/10, SoundVolume = 8}) | |
1648 | - | local KEYDOWN = Mouse.KeyDown:connect(function(NEWKEY) |
1648 | + | |
1649 | - | if NEWKEY == "w" and VALUE2 == false then |
1649 | + | |
1650 | - | coroutine.resume(coroutine.create(function() |
1650 | + | |
1651 | - | ApplyAoE(RING.Position, 35, 15, 20, 35, true, MRANDOM(12, 16), "Pheonix", true, { |
1651 | + | |
1652 | - | SHAKE = 2, |
1652 | + | |
1653 | - | TIMER = 15, |
1653 | + | function Beam() |
1654 | - | DOESFADE = true |
1654 | + | |
1655 | Rooted = false | |
1656 | local GYRO = IT("BodyGyro",RootPart) | |
1657 | GYRO.D = 100 | |
1658 | - | Size = VT(0, 0, 0), |
1658 | + | GYRO.P = 2000 |
1659 | - | Size2 = VT(50, 50, 50), |
1659 | + | GYRO.MaxTorque = VT(0,4000000,0) |
1660 | GYRO.cframe = CF(RootPart.Position,Mouse.Hit.p) | |
1661 | CreateSound("93724183", RightArm, 5, 1, false) | |
1662 | - | CFrame = CF(RING.Position), |
1662 | + | for i=1, 35 do |
1663 | Swait() | |
1664 | WACKYEFFECT({Time = 5, EffectType = "Block", Size = VT(5,5,5), Size2 = VT(0,0,0), Transparency = 1, Transparency2 = 0.25, CFrame = RightArm.CFrame*CF(0,-5,0), MoveToPos = nil, RotationX = 0, RotationY = 0, RotationZ = 0, Material = "Neon", Color = SKILLTEXTCOLOR, SoundID = nil, SoundPitch = 0.6, SoundVolume = 6}) | |
1665 | GYRO.cframe = CF(RootPart.Position,Mouse.Hit.p) | |
1666 | RootJoint.C0 = Clerp(RootJoint.C0,ROOTC0 * CF(0, 0, 0 + 0.25 * COS(SINE / 12)) * ANGLES(RAD(4 + 2.5 * SIN(SINE / 12)), RAD(0), RAD(45)), 1 / Animation_Speed) | |
1667 | Neck.C0 = Clerp(Neck.C0, NECKC0 * CF(0, 0, 0 + ((1) - 1)) * ANGLES(RAD(15 + 4.5 * SIN(SINE / 12)), RAD(0), RAD(-45 - 4 * SIN(SINE / 12))), 1 / Animation_Speed) | |
1668 | - | Color = C3(1, 0.6666666666666666, 0), |
1668 | + | RightShoulder.C0 = Clerp(RightShoulder.C0, CF(1.5, 0.5 + 0.025 * COS(SINE / 12), -0.5) * ANGLES(RAD(90), RAD(0 - 7.5 * SIN(SINE / 12)), RAD(45 + 7.5 * SIN(SINE / 12))) * RIGHTSHOULDERC0, 1 / Animation_Speed) |
1669 | LeftShoulder.C0 = Clerp(LeftShoulder.C0, CF(-1.5, 0.5 + 0.025 * COS(SINE / 12), 0) * ANGLES(RAD(0), RAD(0 + 7.5 * SIN(SINE / 12)), RAD(-12 - 7.5 * SIN(SINE / 12))) * LEFTSHOULDERC0, 1 / Animation_Speed) | |
1670 | RightHip.C0 = Clerp(RightHip.C0, CF(1, -1, -0.01) * ANGLES(RAD(-7.5 * SIN(SINE / 12)), RAD(75), RAD(0)) * ANGLES(RAD(-8 - 2.5 * SIN(SINE / 12)), RAD(0), RAD(0)), 1 / Animation_Speed) | |
1671 | LeftHip.C0 = Clerp(LeftHip.C0, CF(-1, -0.5, -0.5) * ANGLES(RAD(-7.5 * SIN(SINE / 12)), RAD(-90), RAD(0)) * ANGLES(RAD(-8 - 2.5 * SIN(SINE / 12)), RAD(0), RAD(0)), 1 / Animation_Speed) | |
1672 | end | |
1673 | local BEAM = CreatePart(3, Effects, "Neon", 0, 1, "Really red", "Lazer", VT(0,0,0)) | |
1674 | local LOOP = CreateSound("415700134", RightArm, 5, 1, false) | |
1675 | - | Size = VT(0, 0, 0), |
1675 | + | local TOCH = BEAM.Touched:Connect(function(hit) |
1676 | - | Size2 = VT(70, 70, 70), |
1676 | + | if hit.Anchored == false and hit.Parent ~= Head and hit.Parent ~= Character and hit.Parent ~= Effects then |
1677 | - | Transparency = 0.5, |
1677 | + | Kill(hit) |
1678 | end | |
1679 | - | CFrame = CF(RING.Position), |
1679 | + | |
1680 | local I = 0 | |
1681 | repeat | |
1682 | Swait() | |
1683 | I = I + 1 | |
1684 | if I <= 10 then | |
1685 | - | Color = PHEONIXCOLOR, |
1685 | + | BEAM.Transparency = BEAM.Transparency - 0.1 |
1686 | - | SoundID = 462692971, |
1686 | + | |
1687 | - | SoundPitch = 1.2, |
1687 | + | local STARTPOS = RightArm.CFrame*CF(0,-4,0).p |
1688 | - | SoundVolume = 6 |
1688 | + | local ENDHIT,ENDPOS = CastProperRay(STARTPOS,Mouse.Hit.p,650,Character) |
1689 | local DISTANCE = (STARTPOS - ENDPOS).Magnitude | |
1690 | - | local EXPLOSION = script.PheonixExplosion1:Clone() |
1690 | + | BEAM.CFrame = CF(STARTPOS,ENDPOS)*CF(0,0,-DISTANCE/2)*ANGLES(RAD(0),RAD(0),RAD(I*5)) |
1691 | - | EXPLOSION.Parent = RING |
1691 | + | BEAM.Size = VT(2,2,DISTANCE) |
1692 | - | EXPLOSION.Enabled = true |
1692 | + | WACKYEFFECT({Time = 5, EffectType = "Box", Size = VT(1,1,1), Size2 = VT(1,1,1), Transparency = 0, Transparency2 = 1, CFrame = CF(ENDPOS), MoveToPos = CF(ENDPOS)*ANGLES(RAD(MRANDOM(-180,180)),RAD(MRANDOM(-180,180)),RAD(MRANDOM(-180,180)))*CF(0,15,0).p, RotationX = MRANDOM(-5,5), RotationY = MRANDOM(-5,5), RotationZ = MRANDOM(-5,5), Material = "Neon", Color = SKILLTEXTCOLOR, SoundID = nil, SoundPitch = nil, SoundVolume = nil}) |
1693 | - | local EXPLOSION2 = script.PheonixExplosion2:Clone() |
1693 | + | WACKYEFFECT({Time = 5, EffectType = "Block", Size = VT(5,5,5), Size2 = VT(0,0,0), Transparency = 0, Transparency2 = 0.25, CFrame = RightArm.CFrame*CF(0,-4,0), MoveToPos = nil, RotationX = 0, RotationY = 0, RotationZ = 0, Material = "Neon", Color = SKILLTEXTCOLOR, SoundID = nil, SoundPitch = 0.6, SoundVolume = 6}) |
1694 | - | EXPLOSION2.Parent = RING |
1694 | + | WACKYEFFECT({Time = 5, EffectType = "Block", Size = VT(5,5,5), Size2 = VT(0,0,0), Transparency = 0, Transparency2 = 0.25, CFrame = CF(ENDPOS), MoveToPos = nil, RotationX = 0, RotationY = 0, RotationZ = 0, Material = "Neon", Color = SKILLTEXTCOLOR, SoundID = nil, SoundPitch = 0.6, SoundVolume = 6}) |
1695 | - | EXPLOSION2.Enabled = true |
1695 | + | GYRO.cframe = CF(RootPart.Position,Mouse.Hit.p) |
1696 | - | wait(0.3) |
1696 | + | RootJoint.C0 = Clerp(RootJoint.C0,ROOTC0 * CF(0, 0, 0 + 0.25 * COS(SINE / 12)) * ANGLES(RAD(4 + 2.5 * SIN(SINE / 12)), RAD(0), RAD(45)), 1 / Animation_Speed) |
1697 | - | EXPLOSION.Enabled = false |
1697 | + | Neck.C0 = Clerp(Neck.C0, NECKC0 * CF(0, 0, 0 + ((1) - 1)) * ANGLES(RAD(15 + 4.5 * SIN(SINE / 12)), RAD(0), RAD(-45 - 4 * SIN(SINE / 12))), 1 / Animation_Speed) |
1698 | - | EXPLOSION2.Enabled = false |
1698 | + | RightShoulder.C0 = Clerp(RightShoulder.C0, CF(1.5, 0.5 + 0.025 * COS(SINE / 12), -0.5) * ANGLES(RAD(90), RAD(0 - 7.5 * SIN(SINE / 12)), RAD(45 + 7.5 * SIN(SINE / 12))) * RIGHTSHOULDERC0, 1 / Animation_Speed) |
1699 | - | Debris:AddItem(RING, 3) |
1699 | + | LeftShoulder.C0 = Clerp(LeftShoulder.C0, CF(-1.5, 0.5 + 0.025 * COS(SINE / 12), 0) * ANGLES(RAD(0), RAD(0 + 7.5 * SIN(SINE / 12)), RAD(-12 - 7.5 * SIN(SINE / 12))) * LEFTSHOULDERC0, 1 / Animation_Speed) |
1700 | - | end)) |
1700 | + | RightHip.C0 = Clerp(RightHip.C0, CF(1, -1, -0.01) * ANGLES(RAD(-7.5 * SIN(SINE / 12)), RAD(75), RAD(0)) * ANGLES(RAD(-8 - 2.5 * SIN(SINE / 12)), RAD(0), RAD(0)), 1 / Animation_Speed) |
1701 | - | CreateSound(462676772, Torso, 8, 1, false) |
1701 | + | LeftHip.C0 = Clerp(LeftHip.C0, CF(-1, -0.5, -0.5) * ANGLES(RAD(-7.5 * SIN(SINE / 12)), RAD(-90), RAD(0)) * ANGLES(RAD(-8 - 2.5 * SIN(SINE / 12)), RAD(0), RAD(0)), 1 / Animation_Speed) |
1702 | - | coroutine.resume(coroutine.create(function() |
1702 | + | if ENDHIT ~= nil then |
1703 | - | for i = 1, 25 do |
1703 | + | if ENDHIT.Anchored == false and ENDHIT.Parent ~= Effects then |
1704 | Banish(ENDHIT) | |
1705 | - | ApplyAoE(Torso.Position, 15, 15, 20, 75, true, MRANDOM(4, 5), "Pheonix", false, { |
1705 | + | |
1706 | - | SHAKE = 4, |
1706 | + | |
1707 | - | TIMER = 5, |
1707 | + | until LOOP.Playing == false |
1708 | - | DOESFADE = true |
1708 | + | |
1709 | - | }) |
1709 | + | BEAM:remove() |
1710 | - | WACKYEFFECT({ |
1710 | + | |
1711 | - | Time = 10, |
1711 | + | |
1712 | - | EffectType = "Wave", |
1712 | + | |
1713 | - | Size = VT(45, 5, 45) / 3, |
1713 | + | |
1714 | - | Size2 = VT(35, 200, 35) / 5, |
1714 | + | function Teleport() |
1715 | - | Transparency = 0.8, |
1715 | + | |
1716 | - | Transparency2 = 1, |
1716 | + | |
1717 | - | CFrame = Torso.CFrame * ANGLES(RAD(180), RAD(0), RAD(0)), |
1717 | + | for i=0, 0.5, 0.1 / Animation_Speed do |
1718 | - | MoveToPos = nil, |
1718 | + | |
1719 | - | RotationX = 0, |
1719 | + | Neck.C0 = Clerp(Neck.C0, NECKC0 * CF(0, 0, 0 + ((1) - 1)) * ANGLES(RAD(15 - 2.5 * SIN(SINE / 12)), RAD(0), RAD(0)), 1 / Animation_Speed) |
1720 | - | RotationY = 5, |
1720 | + | RightShoulder.C0 = Clerp(RightShoulder.C0, CF(1.6, 0.75, -0.5) * ANGLES(RAD(0), RAD(-25), RAD(12)) * ANGLES(RAD(125 - 2.5 * COS(SINE / 12) + 2.5 * SIN(SINE / 12)), RAD(0), RAD(0)) * RIGHTSHOULDERC0, 1.5 / Animation_Speed) |
1721 | - | RotationZ = 0, |
1721 | + | |
1722 | - | Material = "Neon", |
1722 | + | for e = 1, #BODY do |
1723 | - | Color = C3(1, 0.6666666666666666, 0), |
1723 | + | if BODY[e] ~= nil then |
1724 | - | SoundID = nil, |
1724 | + | local STUFF = BODY[e] |
1725 | - | SoundPitch = nil, |
1725 | + | local PART = STUFF[1] |
1726 | - | SoundVolume = nil |
1726 | + | if PART:IsA("BasePart") and PART ~= RootPart and PART.Name ~= "FaceGradient" and PART.Name ~= "Hair" and PART.Transparency ~= 1 then |
1727 | - | }) |
1727 | + | local PRT = PART:Clone() |
1728 | - | WACKYEFFECT({ |
1728 | + | PRT.Anchored = true |
1729 | - | Time = 10, |
1729 | + | PRT.CanCollide = false |
1730 | - | EffectType = "Wave", |
1730 | + | PRT.Material = "Neon" |
1731 | - | Size = VT(55, 5, 55) / 3, |
1731 | + | PRT.Color = C3(255,100,255) |
1732 | - | Size2 = VT(45, 200, 45) / 5, |
1732 | + | PRT.Name = "WarpEffect" |
1733 | - | Transparency = 0.8, |
1733 | + | PRT.Parent = Effects |
1734 | - | Transparency2 = 1, |
1734 | + | PRT.CFrame = PART.CFrame |
1735 | - | CFrame = Torso.CFrame * ANGLES(RAD(180), RAD(0), RAD(0)), |
1735 | + | PRT:BreakJoints() |
1736 | - | MoveToPos = nil, |
1736 | + | if PRT:FindFirstChildOfClass("Sound") then |
1737 | - | RotationX = 0, |
1737 | + | PRT:FindFirstChildOfClass("Sound"):remove() |
1738 | - | RotationY = -5, |
1738 | + | |
1739 | - | RotationZ = 0, |
1739 | + | if PRT:FindFirstChildOfClass("Decal") then |
1740 | - | Material = "Neon", |
1740 | + | PRT:FindFirstChildOfClass("Decal"):remove() |
1741 | - | Color = PHEONIXCOLOR, |
1741 | + | |
1742 | - | SoundID = nil, |
1742 | + | |
1743 | - | SoundPitch = nil, |
1743 | + | for i = 1, 100 do |
1744 | - | SoundVolume = nil |
1744 | + | |
1745 | - | }) |
1745 | + | PRT.Transparency = PRT.Transparency + 1/100 |
1746 | - | 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) |
1746 | + | |
1747 | - | Neck.C0 = Clerp(Neck.C0, NECKC0 * CF(0, 0, 0) * ANGLES(RAD(-20), RAD(0), RAD(0)), 1 / Animation_Speed) |
1747 | + | PRT:remove() |
1748 | - | RightShoulder.C0 = Clerp(RightShoulder.C0, CF(1.5, 0.5, 0) * ANGLES(RAD(-15), RAD(0), RAD(15)) * RIGHTSHOULDERC0, 1 / Animation_Speed) |
1748 | + | |
1749 | - | LeftShoulder.C0 = Clerp(LeftShoulder.C0, CF(-1.5, 0.5, 0) * ANGLES(RAD(-15), RAD(0), RAD(-15)) * LEFTSHOULDERC0, 1 / Animation_Speed) |
1749 | + | |
1750 | - | 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) |
1750 | + | |
1751 | - | 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) |
1751 | + | |
1752 | CreateSound(217767125, Torso, 10, 1) | |
1753 | - | ATTACK = false |
1753 | + | local POS = RootPart.Orientation |
1754 | - | end)) |
1754 | + | RootPart.CFrame = CF(Mouse.Hit.p+VT(0,6,0)) |
1755 | - | repeat |
1755 | + | RootPart.Orientation = POS |
1756 | - | VALUE2 = true |
1756 | + | RootJoint.Parent = RootPart |
1757 | for i=0, 0.5, 0.1 / Animation_Speed do | |
1758 | - | BODYPOS.Position = RootPart.CFrame * CF(0, UP, -STRENGTH).p |
1758 | + | |
1759 | - | if STRENGTH > 2.5 then |
1759 | + | Neck.C0 = Clerp(Neck.C0, NECKC0 * CF(0, 0, 0 + ((1) - 1)) * ANGLES(RAD(15 - 2.5 * SIN(SINE / 12)), RAD(0), RAD(0)), 1 / Animation_Speed) |
1760 | - | STRENGTH = STRENGTH - 0.1 |
1760 | + | RightShoulder.C0 = Clerp(RightShoulder.C0, CF(1.6, 0.75, -0.5) * ANGLES(RAD(0), RAD(-15), RAD(12)) * ANGLES(RAD(175 - 2.5 * COS(SINE / 12) + 2.5 * SIN(SINE / 12)), RAD(0), RAD(0)) * RIGHTSHOULDERC0, 2.5 / Animation_Speed) |
1761 | end | |
1762 | - | STRENGTH = 2.5 |
1762 | + | for i=0, 0.1, 0.1 / Animation_Speed do |
1763 | Swait() | |
1764 | - | if UP > 0 then |
1764 | + | RightShoulder.C0 = Clerp(RightShoulder.C0, CF(1, 0.5, 0.5) * ANGLES(RAD(0), RAD(-45), RAD(12)) * ANGLES(RAD(45 - 2.5 * COS(SINE / 12) + 2.5 * SIN(SINE / 12)), RAD(0), RAD(0)) * RIGHTSHOULDERC0, 0.75 / Animation_Speed) |
1765 | - | UP = UP - 0.15 |
1765 | + | |
1766 | ATTACK = false | |
1767 | - | UP = 0 |
1767 | + | |
1768 | end | |
1769 | - | until KEYHOLD == false and STRENGTH < 5 and ATTACK == false |
1769 | + | |
1770 | - | DONE = true |
1770 | + | function Knife() |
1771 | ATTACK = true | |
1772 | Rooted = false | |
1773 | for i = 0, 1, 0.1 / Animation_Speed do | |
1774 | Swait() | |
1775 | - | if STRENGTH < 50 then |
1775 | + | RootJoint.C0 = Clerp(RootJoint.C0, ROOTC0 * CF(0, 0, 0 + 0.25 * COS(SINE / 12)) * ANGLES(RAD(-15 + 2.5 * SIN(SINE / 12)), RAD(0), RAD(5 + 2.5 * SIN(SINE / 12))), 1 / Animation_Speed) |
1776 | - | STRENGTH = STRENGTH + 0.15 |
1776 | + | Neck.C0 = Clerp(Neck.C0, NECKC0 * CF(0, 0, 0) * ANGLES(RAD(15 + 4.5 * SIN(SINE / 12)), RAD(0), RAD(-5 - 2.5 * SIN(SINE / 12))), 1 / Animation_Speed) |
1777 | - | MESH.Scale = MESH.Scale + VT(0.5, 0, 0.5) |
1777 | + | RightShoulder.C0 = Clerp(RightShoulder.C0, CF(1.5, 0.5 + 0.25 * COS(SINE / 12), 0) * ANGLES(RAD(140), RAD(0 - 2.5 * SIN(SINE / 12)), RAD(25 + 7.5 * SIN(SINE / 12))) * RIGHTSHOULDERC0, 1 / Animation_Speed) |
1778 | LeftShoulder.C0 = Clerp(LeftShoulder.C0, CF(-1.5, 0.5 + 0.25 * COS(SINE / 12), 0) * ANGLES(RAD(140), RAD(0 + 2.5 * SIN(SINE / 12)), RAD(-25 - 7.5 * SIN(SINE / 12))) * LEFTSHOULDERC0, 1 / Animation_Speed) | |
1779 | - | RootJoint.C0 = Clerp(RootJoint.C0, ROOTC0 * CF(0, 0, -1.4) * ANGLES(RAD(0), RAD(-5), RAD(-15)), 2 / Animation_Speed) |
1779 | + | RightHip.C0 = Clerp(RightHip.C0, CF(1, -1, -0.01) * ANGLES(RAD(-2.5 * SIN(SINE / 12)), RAD(75), RAD(0)) * ANGLES(RAD(-8 - 2.5 * SIN(SINE / 12)), RAD(0), RAD(0)), 1 / Animation_Speed) |
1780 | - | Neck.C0 = Clerp(Neck.C0, NECKC0 * CF(0, 0, 0) * ANGLES(RAD(15), RAD(0), RAD(15)), 0.5 / Animation_Speed) |
1780 | + | LeftHip.C0 = Clerp(LeftHip.C0, CF(-1, -0.5, -0.5) * ANGLES(RAD(-2.5 * SIN(SINE / 12)), RAD(-90), RAD(0)) * ANGLES(RAD(-8 - 2.5 * SIN(SINE / 12)), RAD(0), RAD(0)), 1 / Animation_Speed) |
1781 | - | 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) |
1781 | + | |
1782 | - | LeftShoulder.C0 = Clerp(LeftShoulder.C0, CF(-1.5, 0, 0) * ANGLES(RAD(0), RAD(0), RAD(-12)) * LEFTSHOULDERC0, 2 / Animation_Speed) |
1782 | + | |
1783 | - | 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) |
1783 | + | |
1784 | - | 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) |
1784 | + | GYRO.D = 100 |
1785 | - | until VALUE2 == true |
1785 | + | GYRO.P = 2000 |
1786 | - | DIRECTTURN = false |
1786 | + | GYRO.MaxTorque = VT(0, 4000000, 0) |
1787 | - | WELD:remove() |
1787 | + | GYRO.cframe = CF(RootPart.Position, Mouse.Hit.p) |
1788 | - | RING.Anchored = true |
1788 | + | for i = 1, 15 do |
1789 | - | local SIZE = MESH.Scale.X |
1789 | + | |
1790 | Swait() | |
1791 | - | for i = 1, 30 do |
1791 | + | GYRO.cframe = CF(RootPart.Position, Mouse.Hit.p) |
1792 | RootJoint.C0 = Clerp(RootJoint.C0, ROOTC0 * CF(0, 0, 0 + 0.25 * COS(SINE / 12)) * ANGLES(RAD(-15 + 2.5 * SIN(SINE / 12)), RAD(0), RAD(5 + 2.5 * SIN(SINE / 12))), 1 / Animation_Speed) | |
1793 | - | MESH.Scale = MESH.Scale - VT(SIZE, 0, SIZE) / 30 |
1793 | + | Neck.C0 = Clerp(Neck.C0, NECKC0 * CF(0, 0, 0) * ANGLES(RAD(15 + 4.5 * SIN(SINE / 12)), RAD(0), RAD(-5 - 2.5 * SIN(SINE / 12))), 1 / Animation_Speed) |
1794 | RightShoulder.C0 = Clerp(RightShoulder.C0, CF(1.5, 0.5 + 0.25 * COS(SINE / 12), 0) * ANGLES(RAD(140), RAD(0 - 2.5 * SIN(SINE / 12)), RAD(25 + 7.5 * SIN(SINE / 12))) * RIGHTSHOULDERC0, 1 / Animation_Speed) | |
1795 | - | RING:remove() |
1795 | + | LeftShoulder.C0 = Clerp(LeftShoulder.C0, CF(-1.5, 0.5 + 0.25 * COS(SINE / 12), 0) * ANGLES(RAD(140), RAD(0 + 2.5 * SIN(SINE / 12)), RAD(-25 - 7.5 * SIN(SINE / 12))) * LEFTSHOULDERC0, 1 / Animation_Speed) |
1796 | RightHip.C0 = Clerp(RightHip.C0, CF(1, -1, -0.01) * ANGLES(RAD(-2.5 * SIN(SINE / 12)), RAD(75), RAD(0)) * ANGLES(RAD(-8 - 2.5 * SIN(SINE / 12)), RAD(0), RAD(0)), 1 / Animation_Speed) | |
1797 | LeftHip.C0 = Clerp(LeftHip.C0, CF(-1, -0.5, -0.5) * ANGLES(RAD(-2.5 * SIN(SINE / 12)), RAD(-90), RAD(0)) * ANGLES(RAD(-8 - 2.5 * SIN(SINE / 12)), RAD(0), RAD(0)), 1 / Animation_Speed) | |
1798 | - | wait() |
1798 | + | |
1799 | - | until DONE == true |
1799 | + | |
1800 | - | KEYDOWN:disconnect() |
1800 | + | local EYE = CreatePart(3, Effects, "Neon", 0, 0, "Really red", "Eyeball", VT(0, 0, 0)) |
1801 | - | VALUE2 = false |
1801 | + | CreateSound("814168787", EYE, 10, 1) |
1802 | EYE.CFrame = RootPart.CFrame * CF(MRANDOM(-15, 15), MRANDOM(8, 20), MRANDOM(-15, 15)) | |
1803 | - | function DragonFirePillar() |
1803 | + | local M = CreateMesh("SpecialMesh", EYE, "FileMesh", "442337985", "442337993", VT(0, 0, 0), VT(0, 0, 0)) |
1804 | MagicSphere(VT(0, 0, 0), 15, CF(EYE.Position), SKILLTEXTCOLOR, VT(1, 1, 1)) | |
1805 | - | local POS = Mouse.Hit.p |
1805 | + | local ATTACKI = false |
1806 | - | APPLYGYRO = false |
1806 | + | local TORS |
1807 | - | local RING, WELD, MESH = MagicRing(RightArm, CF(0, -1.2, 0) * ANGLES(RAD(0), RAD(180), RAD(0)), "Fire") |
1807 | + | for i = 1, 10 do |
1808 | Swait() | |
1809 | M.Scale = M.Scale + VT(0.1, 0.1, 0.1) * 3 | |
1810 | EYE.CFrame = EYE.CFrame * CF(0, 0, -0.5) | |
1811 | - | GYRO.CFrame = CF(RootPart.Position, POS) |
1811 | + | |
1812 | - | RootJoint.C0 = Clerp(RootJoint.C0, ROOTC0 * CF(0, 0, 0 + 1 * SIN(SINE / 24)) * ANGLES(RAD(0), RAD(0), RAD(24)), 2 / Animation_Speed) |
1812 | + | for i = 1, 100 do |
1813 | - | Neck.C0 = Clerp(Neck.C0, NECKC0 * CF(0, 0, 0) * ANGLES(RAD(20), RAD(0), RAD(-24)), 1 / Animation_Speed) |
1813 | + | |
1814 | - | RightShoulder.C0 = Clerp(RightShoulder.C0, CF(1.25, 0.5, -0.3) * ANGLES(RAD(90), RAD(0), RAD(24)) * RIGHTSHOULDERC0, 1 / Animation_Speed) |
1814 | + | for _, c in pairs(workspace:GetChildren()) do |
1815 | - | 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) |
1815 | + | if c.ClassName == "Model" and c ~= Character and c:FindFirstChildOfClass("Humanoid") and (c:FindFirstChild("Torso") or c:FindFirstChild("UpperTorso")) then |
1816 | - | 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) |
1816 | + | local HUMANOID = c:FindFirstChildOfClass("Humanoid") |
1817 | - | 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) |
1817 | + | if 0 < HUMANOID.Health then |
1818 | - | until ATTACK == false |
1818 | + | local TORSO = c:FindFirstChild("Torso") or c:FindFirstChild("UpperTorso") |
1819 | if (TORSO.Position - EYE.Position).Magnitude < 35 then | |
1820 | - | for i = 1, 40 do |
1820 | + | ATTACKI = true |
1821 | - | MESH.Scale = MESH.Scale + VT(4, 0, 4) |
1821 | + | TORS = TORSO |
1822 | end | |
1823 | end | |
1824 | - | for i = 1, 6 do |
1824 | + | |
1825 | - | WACKYEFFECT({ |
1825 | + | |
1826 | - | EffectType = "Sphere", |
1826 | + | if ATTACKI == true then |
1827 | - | Size = VT(35, 35, 35), |
1827 | + | break |
1828 | - | Size2 = VT(0, 0, 0), |
1828 | + | |
1829 | - | Transparency = 1, |
1829 | + | EYE.CFrame = EYE.CFrame * CF(0, 0, -1) |
1830 | - | Transparency2 = 0.5, |
1830 | + | |
1831 | - | CFrame = CF(POS), |
1831 | + | if ATTACKI == false then |
1832 | - | MoveToPos = nil, |
1832 | + | for i = 1, 10 do |
1833 | - | RotationX = 0, |
1833 | + | |
1834 | - | RotationY = 0, |
1834 | + | M.Scale = M.Scale - VT(0.1, 0.1, 0.1) * 3 |
1835 | - | RotationZ = 0, |
1835 | + | EYE.CFrame = EYE.CFrame * CF(0, 0, -0.5) |
1836 | - | Material = "Neon", |
1836 | + | |
1837 | - | Color = C3(1, 0.3333333333333333, 0), |
1837 | + | |
1838 | - | SoundID = nil, |
1838 | + | if TORS ~= nil then |
1839 | - | SoundPitch = nil, |
1839 | + | CreateSound("201858024", EYE, 10, 2) |
1840 | - | SoundVolume = nil |
1840 | + | local DIST = (TORS.Position - EYE.Position).Magnitude |
1841 | - | }) |
1841 | + | MagicSphere(VT(0, 0, 0), 15, CF(EYE.Position), SKILLTEXTCOLOR, VT(1, 1, 1)) |
1842 | - | wait(1) |
1842 | + | MagicSphere(VT(1, 1, DIST), 15, CF(EYE.Position, TORS.Position) * CF(0, 0, -DIST / 2), SKILLTEXTCOLOR, VT(0, 0, 0)) |
1843 | MagicSphere(VT(0, 0, 0), 15, CF(TORS.Position), SKILLTEXTCOLOR, VT(1, 1, 1)) | |
1844 | EYE.CFrame = CF(EYE.Position, TORS.Position) | |
1845 | TORS.Parent:BreakJoints() | |
1846 | - | for i = 1, 30 do |
1846 | + | Swait(35) |
1847 | end | |
1848 | - | MESH.Scale = MESH.Scale - VT(4, 0, 4) |
1848 | + | for i = 1, 10 do |
1849 | Swait() | |
1850 | - | RING:remove() |
1850 | + | M.Scale = M.Scale - VT(0.1, 0.1, 0.1) * 3 |
1851 | end | |
1852 | - | WACKYEFFECT({ |
1852 | + | |
1853 | - | Time = 640, |
1853 | + | EYE:remove() |
1854 | - | EffectType = "Sphere", |
1854 | + | |
1855 | - | Size = VT(15, 500, 15), |
1855 | + | |
1856 | - | Size2 = VT(10, 700, 10), |
1856 | + | |
1857 | - | Transparency = 0, |
1857 | + | |
1858 | - | Transparency2 = 1, |
1858 | + | |
1859 | - | CFrame = CF(POS), |
1859 | + | |
1860 | - | MoveToPos = nil, |
1860 | + | |
1861 | - | RotationX = 0, |
1861 | + | function Nuke() |
1862 | - | RotationY = 0, |
1862 | + | |
1863 | - | RotationZ = 0, |
1863 | + | |
1864 | - | Material = "Neon", |
1864 | + | local CHARGE = false |
1865 | - | Color = C3(1, 0.3333333333333333, 0), |
1865 | + | local BLASTS = {1796772196, 1796772196} |
1866 | - | SoundID = nil, |
1866 | + | |
1867 | - | SoundPitch = nil, |
1867 | + | |
1868 | - | SoundVolume = nil |
1868 | + | |
1869 | - | }) |
1869 | + | RootJoint.C0 = Clerp(RootJoint.C0, ROOTC0 * CF(0, 0, 0 + 0.45 * COS(SINE / 12)) * ANGLES(RAD(-15 + 2.5 * SIN(SINE / 12)), RAD(0), RAD(5 + 1 * SIN(SINE / 12))), 0.1 / Animation_Speed) |
1870 | Neck.C0 = Clerp(Neck.C0, NECKC0 * CF(0, 0, 0) * ANGLES(RAD(-35 + 4.5 * SIN(SINE / 12)), RAD(0), RAD(-5 - 2.5 * SIN(SINE / 12))), 0.1 / Animation_Speed) | |
1871 | - | ApplyAoE(POS, 35, 20, 30, 15, true, MRANDOM(3, 4), "Fire", true, { |
1871 | + | RightShoulder.C0 = Clerp(RightShoulder.C0, CF(1.15, 0.5 + 0.25 * COS(SINE / 12), -0.5) * ANGLES(RAD(140 - 7.5 * SIN(SINE / 12)), RAD(-7.5 * SIN(SINE / 12)), RAD(-45 + 7.5 * SIN(SINE / 12))) * RIGHTSHOULDERC0, 0.1 / Animation_Speed) |
1872 | - | SHAKE = 5, |
1872 | + | LeftShoulder.C0 = Clerp(LeftShoulder.C0, CF(-1.15, 0.5 + 0.25 * COS(SINE / 12), -0.5) * ANGLES(RAD(140 - 7.5 * SIN(SINE / 12)), RAD(7.5 * SIN(SINE / 12)), RAD(45 - 7.5 * SIN(SINE / 12))) * LEFTSHOULDERC0, 0.1 / Animation_Speed) |
1873 | - | TIMER = 6, |
1873 | + | RightHip.C0 = Clerp(RightHip.C0, CF(1, -1 + 0.15 * COS(SINE / 12), -0.01) * ANGLES(RAD(25 - 7.5 * SIN(SINE / 12)), RAD(75), RAD(0)) * ANGLES(RAD(-8 - 2.5 * SIN(SINE / 12)), RAD(0), RAD(0)), 0.1 / Animation_Speed) |
1874 | - | DOESFADE = true |
1874 | + | LeftHip.C0 = Clerp(LeftHip.C0, CF(-1, -0.5 + 0.25 * COS(SINE / 12), -0.5) * ANGLES(RAD(25 - 7.5 * SIN(SINE / 12)), RAD(-90), RAD(0)) * ANGLES(RAD(-8 - 2.5 * SIN(SINE / 12)), RAD(0), RAD(0)), 0.1 / Animation_Speed) |
1875 | until CHARGE == true | |
1876 | for i = 0, 0.4, 0.1 / Animation_Speed do | |
1877 | - | Time = 125, |
1877 | + | |
1878 | - | EffectType = "Wave", |
1878 | + | |
1879 | - | Size = VT(0, 5, 0), |
1879 | + | Time = 15, |
1880 | - | Size2 = VT(250, 35, 250), |
1880 | + | |
1881 | - | Transparency = 0.4, |
1881 | + | Size = VT(60, 60, 60), |
1882 | Size2 = VT(0, 0, 0), | |
1883 | - | CFrame = CF(POS) * ANGLES(RAD(0), RAD(MRANDOM(0, 360)), RAD(0)), |
1883 | + | |
1884 | Transparency2 = 0.7, | |
1885 | CFrame = CF(RootPart.Position), | |
1886 | - | RotationY = MRANDOM(-5, 5) * 2, |
1886 | + | |
1887 | RotationX = 0, | |
1888 | RotationY = 0, | |
1889 | - | Color = C3(1, 0.3333333333333333, 0), |
1889 | + | |
1890 | Material = "Neon", | |
1891 | - | SoundPitch = MRANDOM(9, 11) / 10, |
1891 | + | Color = C3(1, 0, 0), |
1892 | - | SoundVolume = 4 |
1892 | + | |
1893 | SoundPitch = nil, | |
1894 | SoundVolume = nil | |
1895 | - | Time = 75, |
1895 | + | |
1896 | - | EffectType = "Swirl", |
1896 | + | RootJoint.C0 = Clerp(RootJoint.C0, ROOTC0 * CF(0, 0, 0 + 0.45 * COS(SINE / 12)) * ANGLES(RAD(-25 + 2.5 * SIN(SINE / 12)), RAD(0), RAD(5 + 1 * SIN(SINE / 12))), 1 / Animation_Speed) |
1897 | - | Size = VT(20, 20, 20), |
1897 | + | Neck.C0 = Clerp(Neck.C0, NECKC0 * CF(0, 0, 0) * ANGLES(RAD(0 + 4.5 * SIN(SINE / 12)), RAD(0), RAD(-5 - 2.5 * SIN(SINE / 12))), 1 / Animation_Speed) |
1898 | - | Size2 = VT(65, 500, 65), |
1898 | + | RightShoulder.C0 = Clerp(RightShoulder.C0, CF(1.15, 0.5 + 0.25 * COS(SINE / 12), -0.5) * ANGLES(RAD(160 - 7.5 * SIN(SINE / 12)), RAD(-7.5 * SIN(SINE / 12)), RAD(-50 + 7.5 * SIN(SINE / 12))) * RIGHTSHOULDERC0, 1 / Animation_Speed) |
1899 | - | Transparency = 0.4, |
1899 | + | LeftShoulder.C0 = Clerp(LeftShoulder.C0, CF(-1.15, 0.5 + 0.25 * COS(SINE / 12), -0.5) * ANGLES(RAD(160 - 7.5 * SIN(SINE / 12)), RAD(7.5 * SIN(SINE / 12)), RAD(50 - 7.5 * SIN(SINE / 12))) * LEFTSHOULDERC0, 1 / Animation_Speed) |
1900 | RightHip.C0 = Clerp(RightHip.C0, CF(1, -1 + 0.15 * COS(SINE / 12), -0.01) * ANGLES(RAD(35 - 7.5 * SIN(SINE / 12)), RAD(75), RAD(0)) * ANGLES(RAD(-8 - 2.5 * SIN(SINE / 12)), RAD(0), RAD(0)), 1 / Animation_Speed) | |
1901 | - | CFrame = CF(POS) * ANGLES(RAD(0), RAD(MRANDOM(0, 360)), RAD(0)), |
1901 | + | LeftHip.C0 = Clerp(LeftHip.C0, CF(-1, -0.5 + 0.25 * COS(SINE / 12), -0.5) * ANGLES(RAD(35 - 7.5 * SIN(SINE / 12)), RAD(-90), RAD(0)) * ANGLES(RAD(-8 - 2.5 * SIN(SINE / 12)), RAD(0), RAD(0)), 1 / Animation_Speed) |
1902 | end | |
1903 | coroutine.resume(coroutine.create(function() | |
1904 | - | RotationY = MRANDOM(-5, 5) * 6, |
1904 | + | local POS = RootPart.Position |
1905 | wait(0.2) | |
1906 | for i = 1, 5 do | |
1907 | - | Color = C3(1, 0.3333333333333333, 0), |
1907 | + | |
1908 | Time = 65, | |
1909 | - | SoundPitch = MRANDOM(9, 11) / 10, |
1909 | + | |
1910 | - | SoundVolume = 4 |
1910 | + | Size = VT(2, 2, 2), |
1911 | Size2 = VT(0, 0, 500), | |
1912 | Transparency = 1, | |
1913 | - | Time = 75, |
1913 | + | Transparency2 = 0, |
1914 | - | EffectType = "Swirl", |
1914 | + | CFrame = CF(POS), |
1915 | - | Size = VT(20, 20, 20), |
1915 | + | |
1916 | - | Size2 = VT(45, 600, 45), |
1916 | + | RotationX = MRANDOM(-2, 2), |
1917 | - | Transparency = 0.4, |
1917 | + | RotationY = MRANDOM(-12, 12), |
1918 | RotationZ = MRANDOM(-2, 2), | |
1919 | - | CFrame = CF(POS) * ANGLES(RAD(0), RAD(MRANDOM(0, 360)), RAD(0)), |
1919 | + | |
1920 | Color = C3(1, 0, 0), | |
1921 | SoundID = nil, | |
1922 | - | RotationY = MRANDOM(-5, 5) * 6, |
1922 | + | |
1923 | SoundVolume = nil | |
1924 | }) | |
1925 | - | Color = C3(1, 0.3333333333333333, 0), |
1925 | + | |
1926 | - | SoundID = 304529688, |
1926 | + | wait(1) |
1927 | - | SoundPitch = MRANDOM(9, 11) / 10, |
1927 | + | SHAKECAM(POS, 9999999999, 25, 25) |
1928 | - | SoundVolume = 4 |
1928 | + | ApplyAoE(POS, 450, true) |
1929 | WACKYEFFECT({ | |
1930 | - | wait(0.6) |
1930 | + | Time = 85, |
1931 | EffectType = "Sphere", | |
1932 | Size = VT(120, 120, 120), | |
1933 | - | APPLYGYRO = true |
1933 | + | Size2 = VT(350, 350, 350), |
1934 | Transparency = 0, | |
1935 | Transparency2 = 1, | |
1936 | - | function PheonixTornado() |
1936 | + | CFrame = CF(POS), |
1937 | MoveToPos = nil, | |
1938 | - | local BUILDUP = true |
1938 | + | |
1939 | - | local HITS = {} |
1939 | + | |
1940 | - | PARTICLES = true |
1940 | + | |
1941 | Material = "Neon", | |
1942 | Color = C3(1, 0, 0), | |
1943 | SoundID = nil, | |
1944 | - | RootJoint.C0 = Clerp(RootJoint.C0, ROOTC0 * CF(0, 0, 0 + 1 * SIN(SINE / 24)) * ANGLES(RAD(0), RAD(0), RAD(0)), 2 / Animation_Speed) |
1944 | + | |
1945 | - | Neck.C0 = Clerp(Neck.C0, NECKC0 * CF(0, 0, 0) * ANGLES(RAD(20), RAD(0), RAD(0)), 1 / Animation_Speed) |
1945 | + | |
1946 | - | RightShoulder.C0 = Clerp(RightShoulder.C0, CF(1.5, 0.5, 0) * ANGLES(RAD(0), RAD(-15), RAD(25)) * RIGHTSHOULDERC0, 1 / Animation_Speed) |
1946 | + | |
1947 | - | LeftShoulder.C0 = Clerp(LeftShoulder.C0, CF(-1.5, 0.5, 0) * ANGLES(RAD(0), RAD(15), RAD(-25)) * LEFTSHOULDERC0, 1 / Animation_Speed) |
1947 | + | for i = 1, 20 do |
1948 | - | 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) |
1948 | + | |
1949 | - | 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) |
1949 | + | Time = 85, |
1950 | - | until BUILDUP == false |
1950 | + | |
1951 | Size = VT(120, 120, 120), | |
1952 | - | WINGS1.Acceleration = VT(9, 0, -12) |
1952 | + | Size2 = VT(120, 120, 144) + VT(i * 3, i * 3, i * 3), |
1953 | - | WINGS1B.Acceleration = VT(9, 0, -12) |
1953 | + | |
1954 | - | WINGS2.Acceleration = VT(-9, 0, -12) |
1954 | + | |
1955 | - | WINGS2B.Acceleration = VT(-9, 0, -12) |
1955 | + | CFrame = CF(POS), |
1956 | - | wait(1) |
1956 | + | |
1957 | - | CreateSound(462676772, Torso, 7, 1, false) |
1957 | + | |
1958 | - | WINGS1.Acceleration = VT(9, 1, 4) |
1958 | + | |
1959 | - | WINGS1B.Acceleration = VT(9, 1, 4) |
1959 | + | |
1960 | - | WINGS2.Acceleration = VT(-9, 1, 4) |
1960 | + | |
1961 | - | WINGS2B.Acceleration = VT(-9, 1, 4) |
1961 | + | Color = C3(1, 0, 0), |
1962 | - | wait(0.25) |
1962 | + | |
1963 | - | AddChildrenToTable(Torso.Position, workspace, 35, HITS) |
1963 | + | |
1964 | - | WACKYEFFECT({ |
1964 | + | SoundVolume = 10 |
1965 | - | Time = 40, |
1965 | + | |
1966 | - | EffectType = "Swirl", |
1966 | + | |
1967 | - | Size = VT(50, 5, 50), |
1967 | + | Time = 100, |
1968 | - | Size2 = VT(50, 60, 50), |
1968 | + | |
1969 | - | Transparency = 0.8, |
1969 | + | Size = VT(25, 2, 25), |
1970 | - | Transparency2 = 1, |
1970 | + | Size2 = VT(400, 0, 400) * 1.2, |
1971 | - | CFrame = Torso.CFrame * ANGLES(RAD(180), RAD(0), RAD(0)), |
1971 | + | |
1972 | - | MoveToPos = nil, |
1972 | + | |
1973 | - | RotationX = 0, |
1973 | + | CFrame = CF(POS) * ANGLES(RAD(MRANDOM(0, 360)), RAD(MRANDOM(0, 360)), RAD(MRANDOM(0, 360))), |
1974 | - | RotationY = -5, |
1974 | + | |
1975 | - | RotationZ = 0, |
1975 | + | |
1976 | - | Material = "Neon", |
1976 | + | |
1977 | - | Color = C3(0.8, 0.8, 0.8), |
1977 | + | |
1978 | - | SoundID = nil, |
1978 | + | |
1979 | - | SoundPitch = nil, |
1979 | + | Color = C3(1, 0, 0), |
1980 | - | SoundVolume = nil |
1980 | + | |
1981 | - | }) |
1981 | + | |
1982 | - | BUILDUP = false |
1982 | + | |
1983 | - | PARTICLES = false |
1983 | + | |
1984 | - | if #HITS > 0 then |
1984 | + | |
1985 | - | do |
1985 | + | local HITFLOOR, HITPOS = Raycast(POS, CF(RootPart.Position, RootPart.Position + VT(0, -1, 0)).lookVector, 150, Character) |
1986 | - | local BODIES = {} |
1986 | + | |
1987 | - | if #HITS == 1 then |
1987 | + | CreateSound(1796772196, Effects, 15, 1 - i / 15, false) |
1988 | - | for i = 1, #HITS do |
1988 | + | |
1989 | - | local TORSO = HITS[i]:FindFirstChild("HumanoidRootPart") or HITS[i]:FindFirstChild("Torso") or HITS[i]:FindFirstChild("UpperTorso") |
1989 | + | |
1990 | - | local HUM = HITS[i]:FindFirstChildOfClass("Humanoid") |
1990 | + | |
1991 | - | if HUM and TORSO and 0 < HUM.Health then |
1991 | + | Size = VT(150, 2, 150), |
1992 | - | local POSITION = IT("BodyPosition", TORSO) |
1992 | + | Size2 = VT(300 + i * 170, 0, 300 + i * 170) * 1.2, |
1993 | - | POSITION.Position = RootPart.CFrame * CF(0, 45, -35).p |
1993 | + | |
1994 | - | POSITION.D = 15 |
1994 | + | |
1995 | - | POSITION.P = 4000000 |
1995 | + | CFrame = CF(HITPOS) * ANGLES(RAD(0), RAD(MRANDOM(0, 360)), RAD(0)), |
1996 | - | table.insert(BODIES, POSITION) |
1996 | + | |
1997 | RotationX = 0, | |
1998 | RotationY = 0, | |
1999 | RotationZ = 0, | |
2000 | - | for i = 1, #HITS do |
2000 | + | |
2001 | - | local TORSO = HITS[i]:FindFirstChild("HumanoidRootPart") or HITS[i]:FindFirstChild("Torso") or HITS[i]:FindFirstChild("UpperTorso") |
2001 | + | Color = C3(1, 0, 0), |
2002 | - | local HUM = HITS[i]:FindFirstChildOfClass("Humanoid") |
2002 | + | |
2003 | - | if HUM and TORSO and 0 < HUM.Health then |
2003 | + | |
2004 | - | local POSITION = IT("BodyPosition", TORSO) |
2004 | + | |
2005 | - | POSITION.Position = RootPart.CFrame * CF(0, 35, -35) * ANGLES(RAD(0), RAD(360 / #HITS * i), RAD(0)) * CF(0, 0, 10).p |
2005 | + | |
2006 | - | POSITION.D = 450 |
2006 | + | |
2007 | - | POSITION.P = 40000 |
2007 | + | |
2008 | - | POSITION.maxForce = Vector3.new(math.huge, math.huge, math.huge) |
2008 | + | for i = 0, 1, 0.1 / Animation_Speed do |
2009 | - | table.insert(BODIES, POSITION) |
2009 | + | |
2010 | RootJoint.C0 = Clerp(RootJoint.C0, ROOTC0 * CF(0, 0, 0 + 0.45 * COS(SINE / 12)) * ANGLES(RAD(7 + 2.5 * SIN(SINE / 12)), RAD(0), RAD(5 + 1 * SIN(SINE / 12))), 1 / Animation_Speed) | |
2011 | Neck.C0 = Clerp(Neck.C0, NECKC0 * CF(0, 0, 0) * ANGLES(RAD(25 + 4.5 * SIN(SINE / 12)), RAD(0), RAD(-5 - 2.5 * SIN(SINE / 12))), 1 / Animation_Speed) | |
2012 | RightShoulder.C0 = Clerp(RightShoulder.C0, CF(1.5, 0.5 + 0.25 * COS(SINE / 12), 0) * ANGLES(RAD(45 - 7.5 * SIN(SINE / 12)), RAD(45 - 7.5 * SIN(SINE / 12)), RAD(12 + 7.5 * SIN(SINE / 12))) * RIGHTSHOULDERC0, 1 / Animation_Speed) | |
2013 | - | local POS = RootPart.CFrame * CF(0, 35, -35).p |
2013 | + | LeftShoulder.C0 = Clerp(LeftShoulder.C0, CF(-1.5, 0.5 + 0.25 * COS(SINE / 12), 0) * ANGLES(RAD(45 - 7.5 * SIN(SINE / 12)), RAD(-45 + 7.5 * SIN(SINE / 12)), RAD(-12 - 7.5 * SIN(SINE / 12))) * LEFTSHOULDERC0, 1 / Animation_Speed) |
2014 | - | wait(1.75) |
2014 | + | RightHip.C0 = Clerp(RightHip.C0, CF(1, -1 + 0.15 * COS(SINE / 12), -0.01) * ANGLES(RAD(-7.5 * SIN(SINE / 12)), RAD(75), RAD(0)) * ANGLES(RAD(-8 - 2.5 * SIN(SINE / 12)), RAD(0), RAD(0)), 1 / Animation_Speed) |
2015 | - | BODYPOS.D = 450 |
2015 | + | LeftHip.C0 = Clerp(LeftHip.C0, CF(-1, -0.5 + 0.25 * COS(SINE / 12), -0.5) * ANGLES(RAD(-7.5 * SIN(SINE / 12)), RAD(-90), RAD(0)) * ANGLES(RAD(-8 - 2.5 * SIN(SINE / 12)), RAD(0), RAD(0)), 1 / Animation_Speed) |
2016 | - | BODYPOS.Position = POS |
2016 | + | |
2017 | - | wait(0.5) |
2017 | + | |
2018 | - | APPLYGYRO = false |
2018 | + | |
2019 | - | local E = 0 |
2019 | + | |
2020 | - | CreateSound(1417056081, RootPart, 10, 0.5, false) |
2020 | + | |
2021 | - | for i = 1, 50 do |
2021 | + | wait(0.01) |
2022 | local POS = CF(RootPart.Position) * ANGLES(RAD(0), RAD(MRANDOM(0, 360)), RAD(0)) * CF(0, 0, MRANDOM(10, 150)) | |
2023 | - | E = E + 1 |
2023 | + | local HITFLOOR, HITPOS = Raycast(POS.p, CF(RootPart.Position, RootPart.Position + VT(0, -1, 0)).lookVector, 150, Character) |
2024 | if HITFLOOR then | |
2025 | - | Time = 25, |
2025 | + | ApplyAoE(HITPOS, 65, true) |
2026 | local TURN = ANGLES(RAD(0), RAD(MRANDOM(0, 360)), RAD(0)) * ANGLES(RAD(MRANDOM(0, 25)), RAD(0), RAD(0)) | |
2027 | - | Size = VT(45, 5, 45) / 3, |
2027 | + | |
2028 | - | Size2 = VT(35, 200, 35) / 5, |
2028 | + | Time = 25, |
2029 | EffectType = "Sphere", | |
2030 | Size = VT(22, 22, 22), | |
2031 | - | CFrame = Torso.CFrame * ANGLES(RAD(180), RAD(0), RAD(0)), |
2031 | + | Size2 = VT(85, 85, 85), |
2032 | Transparency = 0, | |
2033 | Transparency2 = 1, | |
2034 | - | RotationY = 5, |
2034 | + | CFrame = CF(HITPOS), |
2035 | MoveToPos = nil, | |
2036 | RotationX = 0, | |
2037 | - | Color = C3(1, 0.6666666666666666, 0), |
2037 | + | |
2038 | RotationZ = 0, | |
2039 | Material = "Neon", | |
2040 | Color = C3(1, 0, 0), | |
2041 | SoundID = BLASTS[MRANDOM(1, #BLASTS)], | |
2042 | SoundPitch = MRANDOM(9, 12) / 10, | |
2043 | - | Time = 25, |
2043 | + | |
2044 | }) | |
2045 | - | Size = VT(55, 5, 55) / 3, |
2045 | + | for e = 1, 3 do |
2046 | - | Size2 = VT(45, 200, 45) / 5, |
2046 | + | |
2047 | EffectType = "Wave", | |
2048 | Size = VT(25, 0, 25), | |
2049 | - | CFrame = Torso.CFrame * ANGLES(RAD(180), RAD(0), RAD(0)), |
2049 | + | Size2 = VT(40, 0, 40) + VT(e * 6, e / 5, e * 6), |
2050 | Transparency = 0, | |
2051 | Transparency2 = 1, | |
2052 | - | RotationY = -5, |
2052 | + | CFrame = CF(HITPOS) * ANGLES(RAD(0), RAD(72 * i), RAD(0)), |
2053 | MoveToPos = nil, | |
2054 | RotationX = 0, | |
2055 | - | Color = PHEONIXCOLOR, |
2055 | + | RotationY = 3, |
2056 | RotationZ = 0, | |
2057 | Material = "Neon", | |
2058 | Color = C3(1, 0, 0), | |
2059 | SoundID = nil, | |
2060 | - | 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) |
2060 | + | |
2061 | - | Neck.C0 = Clerp(Neck.C0, NECKC0 * CF(0, 0, 0) * ANGLES(RAD(-20), RAD(0), RAD(0)), 1 / Animation_Speed) |
2061 | + | |
2062 | - | RightShoulder.C0 = Clerp(RightShoulder.C0, CF(1.5, 0.5, 0) * ANGLES(RAD(-15), RAD(0), RAD(15)) * RIGHTSHOULDERC0, 1 / Animation_Speed) |
2062 | + | |
2063 | - | LeftShoulder.C0 = Clerp(LeftShoulder.C0, CF(-1.5, 0.5, 0) * ANGLES(RAD(-15), RAD(0), RAD(-15)) * LEFTSHOULDERC0, 1 / Animation_Speed) |
2063 | + | |
2064 | - | 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) |
2064 | + | Time = 35, |
2065 | - | 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) |
2065 | + | |
2066 | Size = VT(22, 45, 22), | |
2067 | - | local TORNADO = CreatePart(3, Effects, "Neon", 0, 1, "Really red", "Tornado", VT(0, 0, 0)) |
2067 | + | Size2 = VT(25, 45 + e * 75, 25), |
2068 | - | TORNADO.CFrame = CF(POS) |
2068 | + | |
2069 | - | local MESH = CreateMesh("SpecialMesh", TORNADO, "FileMesh", "102638417", "", VT(25, 25, 25), VT(0, 0, 0)) |
2069 | + | |
2070 | - | local DECAL = IT("Decal", TORNADO) |
2070 | + | CFrame = CF(HITPOS) * TURN, |
2071 | - | DECAL.Texture = "rbxassetid://559849514" |
2071 | + | |
2072 | - | DECAL.Transparency = 1 |
2072 | + | |
2073 | - | DECAL.Color3 = BRICKC("Deep orange").Color |
2073 | + | |
2074 | - | local LOOP = 0 |
2074 | + | |
2075 | - | for i = 1, 250 do |
2075 | + | |
2076 | Color = C3(1, 0, 0), | |
2077 | - | E = E + 1 |
2077 | + | |
2078 | - | LOOP = LOOP + 1 |
2078 | + | SoundPitch = MRANDOM(9, 12) / 10, |
2079 | - | if LOOP == 10 then |
2079 | + | SoundVolume = 10 |
2080 | - | LOOP = 0 |
2080 | + | |
2081 | - | ApplyAoE(TORNADO.Position, 35, 2, 2, 0, true, MRANDOM(3, 4), "Pheonix", true, { |
2081 | + | |
2082 | - | SHAKE = 2, |
2082 | + | |
2083 | - | TIMER = 4, |
2083 | + | |
2084 | - | DOESFADE = true |
2084 | + | CHARGE = true |
2085 | - | }) |
2085 | + | |
2086 | ||
2087 | - | TORNADO.CFrame = CF(POS) * ANGLES(RAD(0), RAD(-E * 10), RAD(0)) |
2087 | + | --//=================================\\ |
2088 | - | DECAL.Transparency = DECAL.Transparency - 0.002 |
2088 | + | --|| ASSIGN THINGS TO KEYS |
2089 | --\\=================================// | |
2090 | - | Time = 25, |
2090 | + | |
2091 | function MouseDown(Mouse) | |
2092 | - | Size = VT(45, 5, 45) / 3, |
2092 | + | |
2093 | - | Size2 = VT(35, 200, 35) / 5, |
2093 | + | |
2094 | end | |
2095 | ||
2096 | - | CFrame = Torso.CFrame * ANGLES(RAD(180), RAD(0), RAD(0)), |
2096 | + | |
2097 | HOLD = false | |
2098 | end | |
2099 | - | RotationY = 5, |
2099 | + | |
2100 | function KeyDown(Key) | |
2101 | KEYHOLD = true | |
2102 | - | Color = C3(1, 0.6666666666666666, 0), |
2102 | + | if Key == "z" and ATTACK == false then |
2103 | Banisher_Bullet() | |
2104 | end | |
2105 | ||
2106 | if Key == "x" and ATTACK == false then | |
2107 | Knife() | |
2108 | - | Time = 25, |
2108 | + | |
2109 | ||
2110 | - | Size = VT(55, 5, 55) / 3, |
2110 | + | if Key == "b" and ATTACK == false then |
2111 | - | Size2 = VT(45, 200, 45) / 5, |
2111 | + | Teleport() |
2112 | - | Transparency = 0.9, |
2112 | + | |
2113 | ||
2114 | - | CFrame = Torso.CFrame * ANGLES(RAD(180), RAD(0), RAD(0)), |
2114 | + | if Key == "v" and ATTACK == false then |
2115 | Beam() | |
2116 | end | |
2117 | - | RotationY = -5, |
2117 | + | |
2118 | if Key == "c" and ATTACK == false then | |
2119 | Nuke() | |
2120 | - | Color = PHEONIXCOLOR, |
2120 | + | |
2121 | ||
2122 | if Key == "p" and ATTACK == false then | |
2123 | TakeOnMe() | |
2124 | end | |
2125 | - | 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) |
2125 | + | |
2126 | - | Neck.C0 = Clerp(Neck.C0, NECKC0 * CF(0, 0, 0) * ANGLES(RAD(-20), RAD(0), RAD(0)), 1 / Animation_Speed) |
2126 | + | if Key == "g" and ATTACK == false then |
2127 | - | RightShoulder.C0 = Clerp(RightShoulder.C0, CF(1.5, 0.5, 0) * ANGLES(RAD(-15), RAD(0), RAD(15)) * RIGHTSHOULDERC0, 1 / Animation_Speed) |
2127 | + | Doom() |
2128 | - | LeftShoulder.C0 = Clerp(LeftShoulder.C0, CF(-1.5, 0.5, 0) * ANGLES(RAD(-15), RAD(0), RAD(-15)) * LEFTSHOULDERC0, 1 / Animation_Speed) |
2128 | + | |
2129 | - | 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) |
2129 | + | |
2130 | - | 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) |
2130 | + | if Key == "m" and ATTACK == false then |
2131 | ||
2132 | - | for i = 1, #BODIES do |
2132 | + | |
2133 | - | BODIES[i]:remove() |
2133 | + | |
2134 | ||
2135 | - | coroutine.resume(coroutine.create(function() |
2135 | + | |
2136 | - | for i = 1, 25 do |
2136 | + | |
2137 | end | |
2138 | - | DECAL.Transparency = DECAL.Transparency + 0.02 |
2138 | + | |
2139 | - | TORNADO.CFrame = CF(POS) * ANGLES(RAD(0), RAD(-E * 10), RAD(0)) |
2139 | + | Mouse.Button1Down:connect(function(NEWKEY) |
2140 | MouseDown(NEWKEY) | |
2141 | - | TORNADO:remove() |
2141 | + | |
2142 | - | end)) |
2142 | + | Mouse.Button1Up:connect(function(NEWKEY) |
2143 | - | for i = 1, 75 do |
2143 | + | MouseUp(NEWKEY) |
2144 | end) | |
2145 | - | E = E + 1 |
2145 | + | Mouse.KeyDown:connect(function(NEWKEY) |
2146 | - | LOOP = LOOP + 1 |
2146 | + | KeyDown(NEWKEY) |
2147 | - | TORNADO.CFrame = CF(POS) * ANGLES(RAD(0), RAD(-E * 15), RAD(0)) |
2147 | + | |
2148 | - | DECAL.Transparency = DECAL.Transparency - 0.002 |
2148 | + | Mouse.KeyUp:connect(function(NEWKEY) |
2149 | KeyUp(NEWKEY) | |
2150 | - | Time = 25, |
2150 | + | |
2151 | ||
2152 | - | Size = VT(45, 5, 45) / 3, |
2152 | + | --//=================================\\ |
2153 | - | Size2 = VT(35, 200, 35) / 5, |
2153 | + | --\\=================================// |
2154 | ||
2155 | ||
2156 | - | CFrame = Torso.CFrame * ANGLES(RAD(180), RAD(0), RAD(0)), |
2156 | + | |
2157 | if UNANCHOR == true then | |
2158 | g = Character:GetChildren() | |
2159 | - | RotationY = 5, |
2159 | + | |
2160 | if g[i].ClassName == "Part" then | |
2161 | g[i].Anchored = false | |
2162 | - | Color = C3(1, 0.6666666666666666, 0), |
2162 | + | |
2163 | end | |
2164 | end | |
2165 | end | |
2166 | ||
2167 | ||
2168 | - | Time = 25, |
2168 | + | --//=================================\\ |
2169 | --|| WRAP THE WHOLE SCRIPT UP | |
2170 | - | Size = VT(55, 5, 55) / 3, |
2170 | + | --\\=================================// |
2171 | - | Size2 = VT(45, 200, 45) / 5, |
2171 | + | |
2172 | Humanoid.Changed:connect(function(Jump) | |
2173 | if Jump == "Jump" and (Disable_Jump == true) then | |
2174 | - | CFrame = Torso.CFrame * ANGLES(RAD(180), RAD(0), RAD(0)), |
2174 | + | |
2175 | end | |
2176 | end) | |
2177 | - | RotationY = -5, |
2177 | + | |
2178 | while true do | |
2179 | Swait() | |
2180 | - | Color = PHEONIXCOLOR, |
2180 | + | |
2181 | for _,v in next, Humanoid:GetPlayingAnimationTracks() do | |
2182 | v:Stop(); | |
2183 | end | |
2184 | ANIMATE.Parent = nil | |
2185 | - | 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) |
2185 | + | for LW = 1, #LEFTWINGS do |
2186 | - | Neck.C0 = Clerp(Neck.C0, NECKC0 * CF(0, 0, 0) * ANGLES(RAD(-20), RAD(0), RAD(0)), 1 / Animation_Speed) |
2186 | + | if LEFTWINGS[LW] ~= nil then |
2187 | - | RightShoulder.C0 = Clerp(RightShoulder.C0, CF(1.5, 0.5, 0) * ANGLES(RAD(-15), RAD(0), RAD(15)) * RIGHTSHOULDERC0, 1 / Animation_Speed) |
2187 | + | LEFTWINGS[LW].C1 = Clerp(LEFTWINGS[LW].C1, CF(0, 0, 0 + 0.25 * COS(SINE / 12)) * ANGLES(RAD(2.5 * SIN(SINE / 12)), RAD(0), RAD(-3 + 3 * SIN(SINE / 12))), 1 / Animation_Speed) |
2188 | - | LeftShoulder.C0 = Clerp(LeftShoulder.C0, CF(-1.5, 0.5, 0) * ANGLES(RAD(-15), RAD(0), RAD(-15)) * LEFTSHOULDERC0, 1 / Animation_Speed) |
2188 | + | |
2189 | - | 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) |
2189 | + | |
2190 | - | 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) |
2190 | + | for RW = 1, #RIGHTWINGS do |
2191 | if RIGHTWINGS[RW] ~= nil then | |
2192 | - | BODYPOS.D = 75 |
2192 | + | RIGHTWINGS[RW].C1 = Clerp(RIGHTWINGS[RW].C1, CF(0, 0, 0 + 0.25 * COS(SINE / 12)) * ANGLES(RAD(2.5 * SIN(SINE / 12)), RAD(0), RAD(3 - 3 * SIN(SINE / 12))), 1 / Animation_Speed) |
2193 | end | |
2194 | end | |
2195 | - | APPLYGYRO = true |
2195 | + | SINE = SINE + CHANGE*1.5 |
2196 | local TORSOVELOCITY = (RootPart.Velocity * VT(1, 0, 1)).magnitude | |
2197 | local TORSOVERTICALVELOCITY = RootPart.Velocity.y | |
2198 | - | function PheonixNuke() |
2198 | + | local HITFLOOR = Raycast(RootPart.Position, (CF(RootPart.Position, RootPart.Position + VT(0, -1, 0))).lookVector, 4*SIZE, Character) |
2199 | - | if Mouse.Target ~= nil then |
2199 | + | local WALKSPEEDVALUE = 10 / (Humanoid.WalkSpeed / 16) |
2200 | - | ATTACK = true |
2200 | + | if ANIM == "Walk" and TORSOVELOCITY > 1 then |
2201 | RootJoint.C1 = Clerp(RootJoint.C1, ROOTC0 * CF(0, 0, 0 * COS(SINE / (WALKSPEEDVALUE / 2)) * SIZE) * ANGLES(RAD(0), RAD(0) - RootPart.RotVelocity.Y / 75, RAD(0)), 0.2 * (Humanoid.WalkSpeed / 16) / Animation_Speed) | |
2202 | - | BODYPOS.Position = Mouse.Hit.p + VT(0, 6, 0) |
2202 | + | Neck.C1 = Clerp(Neck.C1, CF(0 * SIZE, -0.5 * SIZE, 0 * SIZE) * ANGLES(RAD(-90), RAD(0), RAD(180)) * ANGLES(RAD(2.5 * SIN(SINE / (WALKSPEEDVALUE / 2))), RAD(0), RAD(0) - Head.RotVelocity.Y / 30), 0.2 * (Humanoid.WalkSpeed / 16) / Animation_Speed) |
2203 | - | BODYPOS.D = 700 |
2203 | + | elseif (ANIM ~= "Walk") or (TORSOVELOCITY < 1) then |
2204 | RootJoint.C1 = Clerp(RootJoint.C1, ROOTC0 * CF(0, 0, 0) * ANGLES(RAD(0), RAD(0), RAD(0)), 0.2 / Animation_Speed) | |
2205 | - | repeat |
2205 | + | Neck.C1 = Clerp(Neck.C1, CF(0 * SIZE, -0.5 * SIZE, 0 * SIZE) * ANGLES(RAD(-90), RAD(0), RAD(180)) * ANGLES(RAD(0), RAD(0), RAD(0)), 0.2 / Animation_Speed) |
2206 | end | |
2207 | - | RootJoint.C0 = Clerp(RootJoint.C0, ROOTC0 * CF(0, 0, 0 + 1 * SIN(SINE / 24)) * ANGLES(RAD(0), RAD(0), RAD(0)), 2 / Animation_Speed) |
2207 | + | if TORSOVERTICALVELOCITY > 1 and HITFLOOR == nil then |
2208 | - | Neck.C0 = Clerp(Neck.C0, NECKC0 * CF(0, 0, 0) * ANGLES(RAD(20), RAD(0), RAD(0)), 1 / Animation_Speed) |
2208 | + | ANIM = "Jump" |
2209 | - | RightShoulder.C0 = Clerp(RightShoulder.C0, CF(1.5, 0.5, 0) * ANGLES(RAD(0), RAD(-15), RAD(25)) * RIGHTSHOULDERC0, 1 / Animation_Speed) |
2209 | + | if ATTACK == false then |
2210 | - | LeftShoulder.C0 = Clerp(LeftShoulder.C0, CF(-1.5, 0.5, 0) * ANGLES(RAD(0), RAD(15), RAD(-25)) * LEFTSHOULDERC0, 1 / Animation_Speed) |
2210 | + | RootJoint.C0 = Clerp(RootJoint.C0, ROOTC0 * CF(0*SIZE, 0*SIZE, 0*SIZE) * ANGLES(RAD(0), RAD(0), RAD(0)), 1 / Animation_Speed) |
2211 | - | 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) |
2211 | + | Neck.C0 = Clerp(Neck.C0, NECKC0 * CF(0*SIZE, 0*SIZE, 0 + ((1.1*SIZE) - 1)) * ANGLES(RAD(-20), RAD(0), RAD(0)), 1 / Animation_Speed) |
2212 | - | 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) |
2212 | + | RightShoulder.C0 = Clerp(RightShoulder.C0, CF(1.5*SIZE, 0.5*SIZE, 0*SIZE) * ANGLES(RAD(-40), RAD(0), RAD(20)) * RIGHTSHOULDERC0, 1 / Animation_Speed) |
2213 | - | until ATTACK == false |
2213 | + | LeftShoulder.C0 = Clerp(LeftShoulder.C0, CF(-1.5*SIZE, 0.5*SIZE, 0*SIZE) * ANGLES(RAD(-40), RAD(0), RAD(-20)) * LEFTSHOULDERC0, 1 / Animation_Speed) |
2214 | RightHip.C0 = Clerp(RightHip.C0, CF(1*SIZE, -1*SIZE, -0.3*SIZE) * ANGLES(RAD(0), RAD(90), RAD(0)) * ANGLES(RAD(-5), RAD(0), RAD(-20)), 1 / Animation_Speed) | |
2215 | - | wait(1.5) |
2215 | + | LeftHip.C0 = Clerp(LeftHip.C0, CF(-1*SIZE, -1*SIZE, -0.3*SIZE) * ANGLES(RAD(0), RAD(-90), RAD(0)) * ANGLES(RAD(-5), RAD(0), RAD(20)), 1 / Animation_Speed) |
2216 | - | for i = 1, 4 do |
2216 | + | end |
2217 | elseif TORSOVERTICALVELOCITY < -1 and HITFLOOR == nil then | |
2218 | ANIM = "Fall" | |
2219 | - | Size = VT(125, 125, 125), |
2219 | + | if ATTACK == false then |
2220 | RootJoint.C0 = Clerp(RootJoint.C0, ROOTC0 * CF(0*SIZE, 0*SIZE, 0*SIZE) * ANGLES(RAD(0), RAD(0), RAD(0)), 1 / Animation_Speed) | |
2221 | Neck.C0 = Clerp(Neck.C0, NECKC0 * CF(0*SIZE, 0*SIZE, 0 + ((1.1*SIZE) - 1)) * ANGLES(RAD(20), RAD(0), RAD(0)), 1 / Animation_Speed) | |
2222 | - | Transparency2 = 0.8, |
2222 | + | RightShoulder.C0 = Clerp(RightShoulder.C0, CF(1.5*SIZE, 0.5*SIZE, 0*SIZE) * ANGLES(RAD(0), RAD(0), RAD(60)) * RIGHTSHOULDERC0, 1 / Animation_Speed) |
2223 | - | CFrame = CF(Torso.Position), |
2223 | + | LeftShoulder.C0 = Clerp(LeftShoulder.C0, CF(-1.5*SIZE, 0.5*SIZE, 0*SIZE) * ANGLES(RAD(0), RAD(0), RAD(-60)) * LEFTSHOULDERC0, 1 / Animation_Speed) |
2224 | RightHip.C0 = Clerp(RightHip.C0, CF(1*SIZE, -1*SIZE, 0*SIZE) * ANGLES(RAD(0), RAD(90), RAD(0)) * ANGLES(RAD(0), RAD(0), RAD(20)), 1 / Animation_Speed) | |
2225 | LeftHip.C0 = Clerp(LeftHip.C0, CF(-1*SIZE, -1*SIZE, 0*SIZE) * ANGLES(RAD(0), RAD(-90), RAD(0)) * ANGLES(RAD(0), RAD(0), RAD(10)), 1 / Animation_Speed) | |
2226 | end | |
2227 | elseif TORSOVELOCITY < 1 and HITFLOOR ~= nil then | |
2228 | ANIM = "Idle" | |
2229 | - | Color = PHEONIXCOLOR, |
2229 | + | if ATTACK == false then |
2230 | RootJoint.C0 = Clerp(RootJoint.C0,ROOTC0 * CF(0, 0, 0 + 0.25 * COS(SINE / 12)) * ANGLES(RAD(-25 + 2.5 * SIN(SINE / 12)), RAD(0), RAD(45)), 1 / Animation_Speed) | |
2231 | Neck.C0 = Clerp(Neck.C0, NECKC0 * CF(0, 0, 0 + ((1) - 1)) * ANGLES(RAD(15 + 4.5 * SIN(SINE / 12)), RAD(0), RAD(-45 - 4 * SIN(SINE / 12))), 1 / Animation_Speed) | |
2232 | RightShoulder.C0 = Clerp(RightShoulder.C0, CF(1.25*SIZE, 0.5*SIZE, 0.5*SIZE) * ANGLES(RAD(-35), RAD(-25 + 2.5 * SIN(SINE / WALKSPEEDVALUE)), RAD(-55 + 2.5 * SIN(SINE / WALKSPEEDVALUE))) * RIGHTSHOULDERC0, 1 / Animation_Speed) | |
2233 | LeftShoulder.C0 = Clerp(LeftShoulder.C0, CF(-1.25*SIZE, 0.5*SIZE, 0.5*SIZE) * ANGLES(RAD(-35), RAD(25 - 2.5 * SIN(SINE / WALKSPEEDVALUE)), RAD(55 - 2.5 * SIN(SINE / WALKSPEEDVALUE))) * LEFTSHOULDERC0, 1 / Animation_Speed) | |
2234 | - | wait(0.7) |
2234 | + | RightHip.C0 = Clerp(RightHip.C0, CF(1, -1, -0.01) * ANGLES(RAD(7.5 * SIN(SINE / 12)), RAD(75), RAD(0)) * ANGLES(RAD(-8 - 2.5 * SIN(SINE / 12)), RAD(0), RAD(0)), 1 / Animation_Speed) |
2235 | LeftHip.C0 = Clerp(LeftHip.C0, CF(-1, -0.5, -0.5) * ANGLES(RAD(7.5 * SIN(SINE / 12)), RAD(-90), RAD(0)) * ANGLES(RAD(-8 - 2.5 * SIN(SINE / 12)), RAD(0), RAD(0)), 1 / Animation_Speed) | |
2236 | - | PARTICLES = true |
2236 | + | |
2237 | - | WINGS1.Acceleration = VT(9, 3, 4) |
2237 | + | elseif TORSOVELOCITY > 1 and HITFLOOR ~= nil then |
2238 | - | WINGS1B.Acceleration = VT(9, 3, 4) |
2238 | + | ANIM = "Walk" |
2239 | - | WINGS2.Acceleration = VT(-9, 3, 4) |
2239 | + | if ATTACK == false then |
2240 | - | WINGS2B.Acceleration = VT(-9, 3, 4) |
2240 | + | RootJoint.C0 = Clerp(RootJoint.C0,ROOTC0 * CF(0, 0, 1 + 0.5 * COS(SINE / 12)) * ANGLES(RAD(15), RAD(0), RAD(0)), 1 / Animation_Speed) |
2241 | - | wait(2) |
2241 | + | Neck.C0 = Clerp(Neck.C0, NECKC0 * CF(0, 0, 0 + ((1.1*SIZE) - 1)) * ANGLES(RAD(0), RAD(0), RAD(0)), 1 / Animation_Speed) |
2242 | - | CreateSound(462676772, Torso, 8, 1, false) |
2242 | + | RightShoulder.C0 = Clerp(RightShoulder.C0, CF(1.25*SIZE, 0.5*SIZE, 0.5*SIZE) * ANGLES(RAD(-35), RAD(-25 + 2.5 * SIN(SINE / WALKSPEEDVALUE)), RAD(-55 + 2.5 * SIN(SINE / WALKSPEEDVALUE))) * RIGHTSHOULDERC0, 1 / Animation_Speed) |
2243 | - | WINGS1.Acceleration = VT(9, -2, -12) |
2243 | + | LeftShoulder.C0 = Clerp(LeftShoulder.C0, CF(-1.25*SIZE, 0.5*SIZE, 0.5*SIZE) * ANGLES(RAD(-35), RAD(25 - 2.5 * SIN(SINE / WALKSPEEDVALUE)), RAD(55 - 2.5 * SIN(SINE / WALKSPEEDVALUE))) * LEFTSHOULDERC0, 1 / Animation_Speed) |
2244 | - | WINGS1B.Acceleration = VT(9, -2, -12) |
2244 | + | RightHip.C0 = Clerp(RightHip.C0, CF(1*SIZE, -0.5*SIZE - 0.05*SIZE * COS(SINE / 12), -0.5*SIZE) * ANGLES(RAD(0), RAD(90), RAD(0)) * ANGLES(RAD(-8), RAD(0), RAD(0)), 0.15 / Animation_Speed) |
2245 | - | WINGS2.Acceleration = VT(-9, -2, -12) |
2245 | + | LeftHip.C0 = Clerp(LeftHip.C0, CF(-1*SIZE, -0.8*SIZE - 0.05*SIZE * COS(SINE / 12), -0.01*SIZE) * ANGLES(RAD(0), RAD(-90), RAD(0)) * ANGLES(RAD(-8), RAD(0), RAD(0)), 0.15 / Animation_Speed) |
2246 | - | WINGS2B.Acceleration = VT(-9, -2, -12) |
2246 | + | |
2247 | - | wait(1) |
2247 | + | |
2248 | ||
2249 | - | local HITFLOOR, HITPOS = Raycast(RootPart.Position, CF(RootPart.Position, RootPart.Position + VT(0, -1, 0)).lookVector, 25, Character) |
2249 | + | |
2250 | - | ApplyAoE(Torso.Position, 240, 25, 30, 165, true, MRANDOM(5, 7), "Pheonix", true, { |
2250 | + | |
2251 | - | SHAKE = 8, |
2251 | + | |
2252 | - | TIMER = 25, |
2252 | + | if Rooted == false then |
2253 | - | DOESFADE = true |
2253 | + | |
2254 | Humanoid.WalkSpeed = Speed | |
2255 | elseif Rooted == true then | |
2256 | Disable_Jump = true | |
2257 | Humanoid.WalkSpeed = 0 | |
2258 | - | EffectType = "Swirl", |
2258 | + | |
2259 | - | Size = VT(20, 20, 20), |
2259 | + | |
2260 | - | Size2 = (VT(180, 180, 180) + VT(50, 50, 50) * i) * 2, |
2260 | + | sick.Parent = Torso |
2261 | sick:resume() | |
2262 | sick.Volume = 2.2 | |
2263 | - | CFrame = CF(Torso.Position) * ANGLES(RAD(0), RAD(i * 15), RAD(0)), |
2263 | + | sick.Pitch = 1 |
2264 | sick.SoundId = "rbxassetid://2330840421" | |
2265 | sick.Name = "ScaryV3Music" | |
2266 | - | RotationY = 6 + i, |
2266 | + | |
2267 | ||
2268 | --//=================================\\ | |
2269 | - | Color = PHEONIXCOLOR, |
2269 | + | --\\=================================// |
2270 | ||
2271 | ||
2272 | ||
2273 | ||
2274 | ||
2275 | --//====================================================\\-- | |
2276 | - | Time = 80, |
2276 | + | --|| END OF SCRIPT |
2277 | --\\====================================================//-- |