SHOW:
|
|
- or go back to the newest paste.
1 | --//====================================================\\-- | |
2 | --|| The Purgatory Demon | |
3 | --\\====================================================//-- | |
4 | ||
5 | print("The Purgatory Demon. Edit by TheEyeOfTheWicked") | |
6 | ||
7 | wait(0.2) | |
8 | ||
9 | ||
10 | ||
11 | Player = game:GetService("Players").LocalPlayer | |
12 | PlayerGui = Player.PlayerGui | |
13 | Cam = workspace.CurrentCamera | |
14 | Backpack = Player.Backpack | |
15 | Character = Player.Character | |
16 | Humanoid = Character.Humanoid | |
17 | Mouse = Player:GetMouse() | |
18 | RootPart = Character["HumanoidRootPart"] | |
19 | Torso = Character["Torso"] | |
20 | Head = Character["Head"] | |
21 | RightArm = Character["Right Arm"] | |
22 | LeftArm = Character["Left Arm"] | |
23 | RightLeg = Character["Right Leg"] | |
24 | LeftLeg = Character["Left Leg"] | |
25 | RootJoint = RootPart["RootJoint"] | |
26 | Neck = Torso["Neck"] | |
27 | RightShoulder = Torso["Right Shoulder"] | |
28 | LeftShoulder = Torso["Left Shoulder"] | |
29 | RightHip = Torso["Right Hip"] | |
30 | LeftHip = Torso["Left Hip"] | |
31 | local sick = Instance.new("Sound",Character) | |
32 | sick.SoundId = "rbxassetid://727237039" | |
33 | sick.Looped = true | |
34 | sick.Pitch = 1 | |
35 | sick.Volume = 5 | |
36 | sick:Play() | |
37 | Humanoid.DisplayDistanceType = "None" | |
38 | local LEFTWINGS = {} | |
39 | local RIGHTWINGS = {} | |
40 | local BODY = {} | |
41 | ||
42 | --//=================================\\ | |
43 | --|| SOME TAG EDIT | |
44 | --\\=================================// | |
45 | ||
46 | m = game.Players.LocalPlayer | |
47 | char = m.Character | |
48 | local txt = Instance.new("BillboardGui", char) | |
49 | txt.Adornee = char.Head | |
50 | txt.Name = "_status" | |
51 | txt.Size = UDim2.new(2, 0, 1.2, 0) | |
52 | txt.StudsOffset = Vector3.new(-9, 8, 0) | |
53 | local text = Instance.new("TextLabel", txt) | |
54 | text.Size = UDim2.new(10, 0, 7, 0) | |
55 | text.FontSize = "Size24" | |
56 | text.TextScaled = true | |
57 | text.TextTransparency = 0 | |
58 | text.BackgroundTransparency = 1 | |
59 | text.TextTransparency = 0 | |
60 | text.TextStrokeTransparency = 0 | |
61 | text.Font = "Bodoni" | |
62 | text.TextStrokeColor3 = Color3.new(0, 0, 0) | |
63 | v = Instance.new("Part") | |
64 | v.Name = "ColorBrick" | |
65 | v.Parent = m.Character | |
66 | v.FormFactor = "Symmetric" | |
67 | v.Anchored = true | |
68 | v.CanCollide = false | |
69 | v.BottomSurface = "Smooth" | |
70 | v.TopSurface = "Smooth" | |
71 | v.Size = Vector3.new(10, 5, 3) | |
72 | v.Transparency = 1 | |
73 | v.CFrame = char.Torso.CFrame | |
74 | v.BrickColor = BrickColor.new("Really black") | |
75 | v.Transparency = 1 | |
76 | v.Shape = "Block" | |
77 | spawn(function() | |
78 | local TweenService = game:GetService("TweenService") | |
79 | local Colours = {Color3.fromRGB(255,0,0),Color3.fromRGB(255,128,0),Color3.fromRGB(255,255,0),Color3.fromRGB(0,255,0),Color3.fromRGB(0,255,255),Color3.fromRGB(0,0,255),Color3.fromRGB(191,0,255),Color3.fromRGB(255,0,191)} | |
80 | local Int = 0 | |
81 | while wait(0.5) do | |
82 | if Int == #Colours then Int = 0 end | |
83 | Int = Int+1 | |
84 | TweenService:Create(text,TweenInfo.new(1),{TextColor3 = Colours[Int]}):Play() | |
85 | end | |
86 | end) | |
87 | text.Text = "The Purgatory Demon" | |
88 | ||
89 | IT = Instance.new | |
90 | CF = CFrame.new | |
91 | VT = Vector3.new | |
92 | RAD = math.rad | |
93 | C3 = Color3.new | |
94 | UD2 = UDim2.new | |
95 | BRICKC = BrickColor.new | |
96 | ANGLES = CFrame.Angles | |
97 | EULER = CFrame.fromEulerAnglesXYZ | |
98 | COS = math.cos | |
99 | ACOS = math.acos | |
100 | SIN = math.sin | |
101 | ASIN = math.asin | |
102 | ABS = math.abs | |
103 | MRANDOM = math.random | |
104 | FLOOR = math.floor | |
105 | ||
106 | function CreateMesh(MESH, PARENT, MESHTYPE, MESHID, TEXTUREID, SCALE, OFFSET) | |
107 | local NEWMESH = IT(MESH) | |
108 | if MESH == "SpecialMesh" then | |
109 | NEWMESH.MeshType = MESHTYPE | |
110 | if MESHID ~= "nil" and MESHID ~= "" then | |
111 | NEWMESH.MeshId = "http://www.roblox.com/asset/?id="..MESHID | |
112 | end | |
113 | if TEXTUREID ~= "nil" and TEXTUREID ~= "" then | |
114 | NEWMESH.TextureId = "http://www.roblox.com/asset/?id="..TEXTUREID | |
115 | end | |
116 | end | |
117 | NEWMESH.Offset = OFFSET or VT(0, 0, 0) | |
118 | NEWMESH.Scale = SCALE | |
119 | NEWMESH.Parent = PARENT | |
120 | return NEWMESH | |
121 | end | |
122 | ||
123 | function CreatePart(FORMFACTOR, PARENT, MATERIAL, REFLECTANCE, TRANSPARENCY, BRICKCOLOR, NAME, SIZE, ANCHOR) | |
124 | local NEWPART = IT("Part") | |
125 | NEWPART.formFactor = FORMFACTOR | |
126 | NEWPART.Reflectance = REFLECTANCE | |
127 | NEWPART.Transparency = TRANSPARENCY | |
128 | NEWPART.CanCollide = false | |
129 | NEWPART.Locked = true | |
130 | NEWPART.Anchored = true | |
131 | if ANCHOR == false then | |
132 | NEWPART.Anchored = false | |
133 | end | |
134 | NEWPART.BrickColor = BRICKC(tostring(BRICKCOLOR)) | |
135 | NEWPART.Name = NAME | |
136 | NEWPART.Size = SIZE | |
137 | NEWPART.Position = Torso.Position | |
138 | NEWPART.Material = MATERIAL | |
139 | NEWPART:BreakJoints() | |
140 | NEWPART.Parent = PARENT | |
141 | return NEWPART | |
142 | end | |
143 | ||
144 | --//=================================\\ | |
145 | --|| CUSTOMIZATION | |
146 | --\\=================================// | |
147 | ||
148 | Player_Size = 1 --Size of the player. | |
149 | Animation_Speed = 3 | |
150 | Frame_Speed = 1 / 60 -- (1 / 30) OR (1 / 60) | |
151 | ||
152 | local Speed = 16 | |
153 | local Effects2 = {} | |
154 | ||
155 | --//=================================\\ | |
156 | --|| END OF CUSTOMIZATION | |
157 | --\\=================================// | |
158 | ||
159 | local function weldBetween(a, b) | |
160 | local weldd = Instance.new("ManualWeld") | |
161 | weldd.Part0 = a | |
162 | weldd.Part1 = b | |
163 | weldd.C0 = CFrame.new() | |
164 | weldd.C1 = b.CFrame:inverse() * a.CFrame | |
165 | weldd.Parent = a | |
166 | return weldd | |
167 | end | |
168 | ||
169 | --//=================================\\ | |
170 | --|| USEFUL VALUES | |
171 | --\\=================================// | |
172 | ||
173 | local ROOTC0 = CF(0, 0, 0) * ANGLES(RAD(-90), RAD(0), RAD(180)) | |
174 | local NECKC0 = CF(0, 1, 0) * ANGLES(RAD(-90), RAD(0), RAD(180)) | |
175 | local RIGHTSHOULDERC0 = CF(-0.5, 0, 0) * ANGLES(RAD(0), RAD(90), RAD(0)) | |
176 | local LEFTSHOULDERC0 = CF(0.5, 0, 0) * ANGLES(RAD(0), RAD(-90), RAD(0)) | |
177 | local CHANGEDEFENSE = 0 | |
178 | local CHANGEDAMAGE = 0 | |
179 | local CHANGEMOVEMENT = 0 | |
180 | local ANIM = "Idle" | |
181 | local ATTACK = false | |
182 | local EQUIPPED = false | |
183 | local HOLD = false | |
184 | local COMBO = 1 | |
185 | local Rooted = false | |
186 | local SINE = 0 | |
187 | local KEYHOLD = false | |
188 | local CHANGE = 2 / Animation_Speed | |
189 | local WALKINGANIM = false | |
190 | local WALK = 0 | |
191 | local VALUE1 = false | |
192 | local VALUE2 = false | |
193 | local POWERLEVEL = 1 | |
194 | local DEATH = false | |
195 | local ROBLOXIDLEANIMATION = IT("Animation") | |
196 | ROBLOXIDLEANIMATION.Name = "Roblox Idle Animation" | |
197 | ROBLOXIDLEANIMATION.AnimationId = "http://www.roblox.com/asset/?id=180435571" | |
198 | --ROBLOXIDLEANIMATION.Parent = Humanoid | |
199 | local WEAPONGUI = IT("ScreenGui", PlayerGui) | |
200 | WEAPONGUI.Name = "Weapon GUI" | |
201 | local Weapon = IT("Model") | |
202 | Weapon.Name = "Adds" | |
203 | local Effects = IT("Folder", Weapon) | |
204 | Effects.Name = "Effects" | |
205 | local ANIMATOR = Humanoid.Animator | |
206 | local ANIMATE = Character.Animate | |
207 | local HITPLAYERSOUNDS = {--[["199149137", "199149186", "199149221", "199149235", "199149269", "199149297"--]]"263032172", "263032182", "263032200", "263032221", "263032252", "263033191"} | |
208 | local HITARMORSOUNDS = {"199149321", "199149338", "199149367", "199149409", "199149452"} | |
209 | local HITWEAPONSOUNDS = {"199148971", "199149025", "199149072", "199149109", "199149119"} | |
210 | local HITBLOCKSOUNDS = {"199148933", "199148947"} | |
211 | local UNANCHOR = true | |
212 | local LIMITBROKEN = false | |
213 | local HITFLOOR, HITPOS = nil | |
214 | local FLIGHT = false | |
215 | ||
216 | - | local SKILLTEXTCOLOR = BRICKC("Crimson").Color |
216 | + | local SKILLTEXTCOLOR = BRICKC("Navy blue").Color |
217 | ||
218 | --//=================================\\ | |
219 | --\\=================================// | |
220 | ||
221 | ||
222 | --//=================================\\ | |
223 | --|| SAZERENOS' ARTIFICIAL HEARTBEAT | |
224 | --\\=================================// | |
225 | ||
226 | ArtificialHB = Instance.new("BindableEvent", script) | |
227 | ArtificialHB.Name = "ArtificialHB" | |
228 | ||
229 | script:WaitForChild("ArtificialHB") | |
230 | ||
231 | frame = Frame_Speed | |
232 | tf = 0 | |
233 | allowframeloss = false | |
234 | tossremainder = false | |
235 | lastframe = tick() | |
236 | script.ArtificialHB:Fire() | |
237 | ||
238 | game:GetService("RunService").Heartbeat:connect(function(s, p) | |
239 | tf = tf + s | |
240 | if tf >= frame then | |
241 | if allowframeloss then | |
242 | script.ArtificialHB:Fire() | |
243 | lastframe = tick() | |
244 | else | |
245 | for i = 1, math.floor(tf / frame) do | |
246 | script.ArtificialHB:Fire() | |
247 | end | |
248 | lastframe = tick() | |
249 | end | |
250 | if tossremainder then | |
251 | tf = 0 | |
252 | else | |
253 | tf = tf - frame * math.floor(tf / frame) | |
254 | end | |
255 | end | |
256 | end) | |
257 | ||
258 | --//=================================\\ | |
259 | --\\=================================// | |
260 | ||
261 | ||
262 | ||
263 | ||
264 | ||
265 | --//=================================\\ | |
266 | --|| SOME FUNCTIONS | |
267 | --\\=================================// | |
268 | ||
269 | function Raycast(POSITION, DIRECTION, RANGE, IGNOREDECENDANTS) | |
270 | return workspace:FindPartOnRay(Ray.new(POSITION, DIRECTION.unit * RANGE), IGNOREDECENDANTS) | |
271 | end | |
272 | ||
273 | function PositiveAngle(NUMBER) | |
274 | if NUMBER >= 0 then | |
275 | NUMBER = 0 | |
276 | end | |
277 | return NUMBER | |
278 | end | |
279 | ||
280 | function CreatePart1(FORMFACTOR, PARENT, MATERIAL, REFLECTANCE, TRANSPARENCY, NAME, SIZE, ANCHOR) | |
281 | local NEWPART = IT("Part") | |
282 | NEWPART.formFactor = FORMFACTOR | |
283 | NEWPART.Reflectance = REFLECTANCE | |
284 | NEWPART.Transparency = TRANSPARENCY | |
285 | NEWPART.CanCollide = false | |
286 | NEWPART.Locked = true | |
287 | NEWPART.Anchored = true | |
288 | if ANCHOR == false then | |
289 | NEWPART.Anchored = false | |
290 | end | |
291 | NEWPART.Name = NAME | |
292 | NEWPART.Size = SIZE | |
293 | NEWPART.Position = Torso.Position | |
294 | NEWPART.Material = MATERIAL | |
295 | NEWPART:BreakJoints() | |
296 | NEWPART.Parent = PARENT | |
297 | return NEWPART | |
298 | end | |
299 | ||
300 | function FireArc(Part,ToLocation,AmountOfTime,Height,DoesCourontine) | |
301 | if DoesCourontine == false then | |
302 | local Direction = CF(Part.Position,ToLocation) | |
303 | local Distance = (Part.Position - ToLocation).magnitude | |
304 | for i = 1, AmountOfTime do | |
305 | Swait() | |
306 | Part.CFrame = Direction*CF(0,(AmountOfTime/200)+((AmountOfTime/Height)-((i*2)/Height)),-Distance/AmountOfTime) | |
307 | Direction = Part.CFrame | |
308 | end | |
309 | Part:remove() | |
310 | elseif DoesCourontine == true then | |
311 | coroutine.resume(coroutine.create(function() | |
312 | local Direction = CF(Part.Position,ToLocation) | |
313 | local Distance = (Part.Position - ToLocation).magnitude | |
314 | for i = 1, AmountOfTime do | |
315 | Swait() | |
316 | Part.CFrame = Direction*CF(0,(AmountOfTime/200)+((AmountOfTime/Height)-((i*2)/Height)),-Distance/AmountOfTime) | |
317 | Direction = Part.CFrame | |
318 | end | |
319 | Part:remove() | |
320 | end)) | |
321 | end | |
322 | end | |
323 | ||
324 | function NegativeAngle(NUMBER) | |
325 | if NUMBER <= 0 then | |
326 | NUMBER = 0 | |
327 | end | |
328 | return NUMBER | |
329 | end | |
330 | ||
331 | function Swait(NUMBER) | |
332 | if NUMBER == 0 or NUMBER == nil then | |
333 | ArtificialHB.Event:wait() | |
334 | else | |
335 | for i = 1, NUMBER do | |
336 | ArtificialHB.Event:wait() | |
337 | end | |
338 | end | |
339 | end | |
340 | ||
341 | function swait(num) | |
342 | if num == 0 or num == nil then | |
343 | ArtificialHB.Event:wait() | |
344 | else | |
345 | for i = 0, num do | |
346 | ArtificialHB.Event:wait() | |
347 | end | |
348 | end | |
349 | end | |
350 | ||
351 | function chatfunc(text) | |
352 | local chat = coroutine.wrap(function() | |
353 | if Character:FindFirstChild("TalkingBillBoard")~= nil then | |
354 | Character:FindFirstChild("TalkingBillBoard"):destroy() | |
355 | end | |
356 | local Bill = Instance.new("BillboardGui",Character) | |
357 | Bill.Size = UDim2.new(0,100,0,40) | |
358 | Bill.StudsOffset = Vector3.new(0,3,0) | |
359 | Bill.Adornee = Character.Head | |
360 | Bill.Name = "TalkingBillBoard" | |
361 | local Hehe = Instance.new("TextLabel",Bill) | |
362 | Hehe.BackgroundTransparency = 1 | |
363 | Hehe.BorderSizePixel = 0 | |
364 | Hehe.Text = "" | |
365 | Hehe.Font = "Bodoni" | |
366 | Hehe.TextSize = 40 | |
367 | Hehe.TextStrokeTransparency = 0 | |
368 | Hehe.Size = UDim2.new(1,0,0.5,0) | |
369 | coroutine.resume(coroutine.create(function() | |
370 | while Hehe ~= nil do | |
371 | swait() | |
372 | Hehe.Position = UDim2.new(math.random(-.4,.4),math.random(-5,5),.05,math.random(-5,5)) | |
373 | Hehe.Rotation = math.random(-5,5) | |
374 | - | Hehe.TextColor3 = Color3.new(0,255,0) |
374 | + | Hehe.TextColor3 = Color3.new(0,32,96) |
375 | Hehe.TextStrokeColor3 = Color3.new(0,0,0) | |
376 | end | |
377 | end)) | |
378 | for i = 1,string.len(text),1 do | |
379 | swait() | |
380 | Hehe.Text = string.sub(text,1,i) | |
381 | end | |
382 | swait(90)--Re[math.random(1, 93)] | |
383 | for i = 0, 1, .025 do | |
384 | swait() | |
385 | Bill.ExtentsOffset = Vector3.new(math.random(-i, i), math.random(-i, i), math.random(-i, i)) | |
386 | Hehe.TextStrokeTransparency = i | |
387 | Hehe.TextTransparency = i | |
388 | end | |
389 | Bill:Destroy() | |
390 | end) | |
391 | chat() | |
392 | end | |
393 | ||
394 | function onChatted(msg) | |
395 | chatfunc(msg) | |
396 | end | |
397 | ||
398 | Player.Chatted:connect(onChatted) | |
399 | ||
400 | function QuaternionFromCFrame(cf) | |
401 | local mx, my, mz, m00, m01, m02, m10, m11, m12, m20, m21, m22 = cf:components() | |
402 | local trace = m00 + m11 + m22 | |
403 | if trace > 0 then | |
404 | local s = math.sqrt(1 + trace) | |
405 | local recip = 0.5 / s | |
406 | return (m21 - m12) * recip, (m02 - m20) * recip, (m10 - m01) * recip, s * 0.5 | |
407 | else | |
408 | local i = 0 | |
409 | if m11 > m00 then | |
410 | i = 1 | |
411 | end | |
412 | if m22 > (i == 0 and m00 or m11) then | |
413 | i = 2 | |
414 | end | |
415 | if i == 0 then | |
416 | local s = math.sqrt(m00 - m11 - m22 + 1) | |
417 | local recip = 0.5 / s | |
418 | return 0.5 * s, (m10 + m01) * recip, (m20 + m02) * recip, (m21 - m12) * recip | |
419 | elseif i == 1 then | |
420 | local s = math.sqrt(m11 - m22 - m00 + 1) | |
421 | local recip = 0.5 / s | |
422 | return (m01 + m10) * recip, 0.5 * s, (m21 + m12) * recip, (m02 - m20) * recip | |
423 | elseif i == 2 then | |
424 | local s = math.sqrt(m22 - m00 - m11 + 1) | |
425 | local recip = 0.5 / s return (m02 + m20) * recip, (m12 + m21) * recip, 0.5 * s, (m10 - m01) * recip | |
426 | end | |
427 | end | |
428 | end | |
429 | ||
430 | function QuaternionToCFrame(px, py, pz, x, y, z, w) | |
431 | local xs, ys, zs = x + x, y + y, z + z | |
432 | local wx, wy, wz = w * xs, w * ys, w * zs | |
433 | local xx = x * xs | |
434 | local xy = x * ys | |
435 | local xz = x * zs | |
436 | local yy = y * ys | |
437 | local yz = y * zs | |
438 | local zz = z * zs | |
439 | 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)) | |
440 | end | |
441 | ||
442 | function QuaternionSlerp(a, b, t) | |
443 | local cosTheta = a[1] * b[1] + a[2] * b[2] + a[3] * b[3] + a[4] * b[4] | |
444 | local startInterp, finishInterp; | |
445 | if cosTheta >= 0.0001 then | |
446 | if (1 - cosTheta) > 0.0001 then | |
447 | local theta = ACOS(cosTheta) | |
448 | local invSinTheta = 1 / SIN(theta) | |
449 | startInterp = SIN((1 - t) * theta) * invSinTheta | |
450 | finishInterp = SIN(t * theta) * invSinTheta | |
451 | else | |
452 | startInterp = 1 - t | |
453 | finishInterp = t | |
454 | end | |
455 | else | |
456 | if (1 + cosTheta) > 0.0001 then | |
457 | local theta = ACOS(-cosTheta) | |
458 | local invSinTheta = 1 / SIN(theta) | |
459 | startInterp = SIN((t - 1) * theta) * invSinTheta | |
460 | finishInterp = SIN(t * theta) * invSinTheta | |
461 | else | |
462 | startInterp = t - 1 | |
463 | finishInterp = t | |
464 | end | |
465 | end | |
466 | 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 | |
467 | end | |
468 | ||
469 | function Clerp(a, b, t) | |
470 | local qa = {QuaternionFromCFrame(a)} | |
471 | local qb = {QuaternionFromCFrame(b)} | |
472 | local ax, ay, az = a.x, a.y, a.z | |
473 | local bx, by, bz = b.x, b.y, b.z | |
474 | local _t = 1 - t | |
475 | return QuaternionToCFrame(_t * ax + t * bx, _t * ay + t * by, _t * az + t * bz, QuaternionSlerp(qa, qb, t)) | |
476 | end | |
477 | ||
478 | function CreateFrame(PARENT, TRANSPARENCY, BORDERSIZEPIXEL, POSITION, SIZE, COLOR, BORDERCOLOR, NAME) | |
479 | local frame = IT("Frame") | |
480 | frame.BackgroundTransparency = TRANSPARENCY | |
481 | frame.BorderSizePixel = BORDERSIZEPIXEL | |
482 | frame.Position = POSITION | |
483 | frame.Size = SIZE | |
484 | frame.BackgroundColor3 = COLOR | |
485 | frame.BorderColor3 = BORDERCOLOR | |
486 | frame.Name = NAME | |
487 | frame.Parent = PARENT | |
488 | return frame | |
489 | end | |
490 | ||
491 | function CreateLabel(PARENT, TEXT, TEXTCOLOR, TEXTFONTSIZE, TEXTFONT, TRANSPARENCY, BORDERSIZEPIXEL, STROKETRANSPARENCY, NAME) | |
492 | local label = IT("TextLabel") | |
493 | label.BackgroundTransparency = 1 | |
494 | label.Size = UD2(1, 0, 1, 0) | |
495 | label.Position = UD2(0, 0, 0, 0) | |
496 | label.TextColor3 = TEXTCOLOR | |
497 | label.TextStrokeTransparency = STROKETRANSPARENCY | |
498 | label.TextTransparency = TRANSPARENCY | |
499 | label.FontSize = TEXTFONTSIZE | |
500 | label.Font = TEXTFONT | |
501 | label.BorderSizePixel = BORDERSIZEPIXEL | |
502 | label.TextScaled = false | |
503 | label.Text = TEXT | |
504 | label.Name = NAME | |
505 | label.Parent = PARENT | |
506 | return label | |
507 | end | |
508 | ||
509 | function NoOutlines(PART) | |
510 | PART.TopSurface, PART.BottomSurface, PART.LeftSurface, PART.RightSurface, PART.FrontSurface, PART.BackSurface = 10, 10, 10, 10, 10, 10 | |
511 | end | |
512 | ||
513 | --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,1,1), SoundID = nil, SoundPitch = nil, SoundVolume = nil}) | |
514 | local cR=255 | |
515 | local cG=0 | |
516 | local cB=0 | |
517 | local flg5=1 local omgidk=1 | |
518 | local add=15 | |
519 | game:GetService("RunService"):BindToRenderStep("Ghost",1,function() | |
520 | if omgidk>10000 then omgidk=0 end | |
521 | omgidk=omgidk+1 | |
522 | if cR>=255 then flg5=1 end | |
523 | if cG>=255 then flg5=2 end | |
524 | if cB>=255 then flg5=3 end | |
525 | if flg5==1 then cR=cR-add cG=cG+add end | |
526 | if flg5==2 then cG=cG-add cB=cB+add end | |
527 | if flg5==3 then cB=cB-add cR=cR+add end | |
528 | color=Color3.fromRGB(cR,cG,cB) | |
529 | function WACKYEFFECT(Table) | |
530 | local TYPE = (Table.EffectType or "Sphere") | |
531 | local SIZE = (Table.Size or VT(6,6,6)) | |
532 | local ENDSIZE = (Table.Size2 or VT(7,7,7)) | |
533 | local TRANSPARENCY = (Table.Transparency or 0) | |
534 | local ENDTRANSPARENCY = (Table.Transparency2 or 1) | |
535 | local CFRAME = (Table.CFrame or Torso.CFrame) | |
536 | local MOVEDIRECTION = (Table.MoveToPos or nil) | |
537 | local ROTATION1 = (Table.RotationX or 0) | |
538 | local ROTATION2 = (Table.RotationY or 0) | |
539 | local ROTATION3 = (Table.RotationZ or 0) | |
540 | local MATERIAL = "Neon" | |
541 | local COLOR = color | |
542 | local TIME = (Table.Time or 45) | |
543 | local SOUNDID = (Table.SoundID or nil) | |
544 | local SOUNDPITCH = (Table.SoundPitch or nil) | |
545 | local SOUNDVOLUME = (Table.SoundVolume or nil) | |
546 | coroutine.resume(coroutine.create(function() | |
547 | local PLAYSSOUND = false | |
548 | local SOUND = nil | |
549 | local EFFECT = CreatePart(3, Effects, MATERIAL, 0, TRANSPARENCY, BRICKC("Pearl"), "Effect", VT(1,1,1), true) | |
550 | if SOUNDID ~= nil and SOUNDPITCH ~= nil and SOUNDVOLUME ~= nil then | |
551 | PLAYSSOUND = true | |
552 | SOUND = CreateSound(SOUNDID, EFFECT, SOUNDVOLUME, SOUNDPITCH, false) | |
553 | end | |
554 | EFFECT.Color = color | |
555 | local MSH = nil | |
556 | if TYPE == "Sphere" then | |
557 | MSH = CreateMesh("SpecialMesh", EFFECT, "Sphere", "", "", SIZE, VT(0,0,0)) | |
558 | elseif TYPE == "Block" then | |
559 | MSH = IT("BlockMesh",EFFECT) | |
560 | MSH.Scale = VT(SIZE.X,SIZE.X,SIZE.X) | |
561 | elseif TYPE == "Wave" then | |
562 | MSH = CreateMesh("SpecialMesh", EFFECT, "FileMesh", "20329976", "", SIZE, VT(0,0,-SIZE.X/8)) | |
563 | elseif TYPE == "Ring" then | |
564 | MSH = CreateMesh("SpecialMesh", EFFECT, "FileMesh", "559831844", "", VT(SIZE.X,SIZE.X,0.1), VT(0,0,0)) | |
565 | elseif TYPE == "Slash" then | |
566 | MSH = CreateMesh("SpecialMesh", EFFECT, "FileMesh", "662586858", "", VT(SIZE.X/10,0,SIZE.X/10), VT(0,0,0)) | |
567 | elseif TYPE == "Round Slash" then | |
568 | MSH = CreateMesh("SpecialMesh", EFFECT, "FileMesh", "662585058", "", VT(SIZE.X/10,0,SIZE.X/10), VT(0,0,0)) | |
569 | elseif TYPE == "Swirl" then | |
570 | MSH = CreateMesh("SpecialMesh", EFFECT, "FileMesh", "1051557", "", SIZE, VT(0,0,0)) | |
571 | elseif TYPE == "Skull" then | |
572 | MSH = CreateMesh("SpecialMesh", EFFECT, "FileMesh", "4770583", "", SIZE, VT(0,0,0)) | |
573 | elseif TYPE == "Crystal" then | |
574 | MSH = CreateMesh("SpecialMesh", EFFECT, "FileMesh", "9756362", "", SIZE, VT(0,0,0)) | |
575 | end | |
576 | if MSH ~= nil then | |
577 | local MOVESPEED = nil | |
578 | if MOVEDIRECTION ~= nil then | |
579 | MOVESPEED = (CFRAME.p - MOVEDIRECTION).Magnitude/TIME | |
580 | end | |
581 | local GROWTH = SIZE - ENDSIZE | |
582 | local TRANS = TRANSPARENCY - ENDTRANSPARENCY | |
583 | if TYPE == "Block" then | |
584 | EFFECT.CFrame = CFRAME*ANGLES(RAD(MRANDOM(0,360)),RAD(MRANDOM(0,360)),RAD(MRANDOM(0,360))) | |
585 | else | |
586 | EFFECT.CFrame = CFRAME | |
587 | end | |
588 | for LOOP = 1, TIME+1 do | |
589 | Swait() | |
590 | MSH.Scale = MSH.Scale - GROWTH/TIME | |
591 | if TYPE == "Wave" then | |
592 | MSH.Offset = VT(0,0,-MSH.Scale.X/8) | |
593 | end | |
594 | EFFECT.Transparency = EFFECT.Transparency - TRANS/TIME | |
595 | if TYPE == "Block" then | |
596 | EFFECT.CFrame = CFRAME*ANGLES(RAD(MRANDOM(0,360)),RAD(MRANDOM(0,360)),RAD(MRANDOM(0,360))) | |
597 | else | |
598 | EFFECT.CFrame = EFFECT.CFrame*ANGLES(RAD(ROTATION1),RAD(ROTATION2),RAD(ROTATION3)) | |
599 | end | |
600 | if MOVEDIRECTION ~= nil then | |
601 | local ORI = EFFECT.Orientation | |
602 | EFFECT.CFrame = CF(EFFECT.Position,MOVEDIRECTION)*CF(0,0,-MOVESPEED) | |
603 | EFFECT.Orientation = ORI | |
604 | end | |
605 | end | |
606 | if PLAYSSOUND == false then | |
607 | EFFECT:remove() | |
608 | else | |
609 | SOUND.Stopped:Connect(function() | |
610 | EFFECT:remove() | |
611 | end) | |
612 | end | |
613 | else | |
614 | if PLAYSSOUND == false then | |
615 | EFFECT:remove() | |
616 | else | |
617 | repeat Swait() until SOUND.Playing == false | |
618 | EFFECT:remove() | |
619 | end | |
620 | end | |
621 | end)) | |
622 | end | |
623 | end) | |
624 | function MakeForm(PART,TYPE) | |
625 | if TYPE == "Cyl" then | |
626 | local MSH = IT("CylinderMesh",PART) | |
627 | elseif TYPE == "Ball" then | |
628 | local MSH = IT("SpecialMesh",PART) | |
629 | MSH.MeshType = "Sphere" | |
630 | elseif TYPE == "Wedge" then | |
631 | local MSH = IT("SpecialMesh",PART) | |
632 | MSH.MeshType = "Wedge" | |
633 | end | |
634 | end | |
635 | function SpawnTrail(FROM,TO,BIG) | |
636 | - | local TRAIL = CreatePart(3, Effects, "Neon", 0, 0, "Really red", "Trail", VT(10,10,10)) |
636 | + | local TRAIL = CreatePart(3, Effects, "Neon", 0, 0, "Really blue", "Trail", VT(10,10,10)) |
637 | MakeForm(TRAIL,"Cyl") | |
638 | local cR=255 | |
639 | local cG=0 | |
640 | local cB=0 | |
641 | local flg5=1 local omgidk=1 | |
642 | local add=15 | |
643 | game:GetService("RunService"):BindToRenderStep("Ghost",1,function() | |
644 | if omgidk>10000 then omgidk=0 end | |
645 | omgidk=omgidk+1 | |
646 | if cR>=255 then flg5=1 end | |
647 | if cG>=255 then flg5=2 end | |
648 | if cB>=255 then flg5=3 end | |
649 | if flg5==1 then cR=cR-add cG=cG+add end | |
650 | if flg5==2 then cG=cG-add cB=cB+add end | |
651 | if flg5==3 then cB=cB-add cR=cR+add end | |
652 | color=Color3.fromRGB(cR,cG,cB) | |
653 | TRAIL.Color = color | |
654 | end) | |
655 | local DIST = (FROM - TO).Magnitude | |
656 | if BIG == true then | |
657 | TRAIL.Size = VT(5,DIST,5) | |
658 | else | |
659 | TRAIL.Size = VT(5,DIST,5) | |
660 | end | |
661 | TRAIL.CFrame = CF(FROM, TO) * CF(0, 0, -DIST/2) * ANGLES(RAD(90),RAD(0),RAD(0)) | |
662 | coroutine.resume(coroutine.create(function() | |
663 | for i = 1, 55 do | |
664 | Swait() | |
665 | TRAIL.Transparency = TRAIL.Transparency + 0.01 | |
666 | end | |
667 | TRAIL:remove() | |
668 | end)) | |
669 | end | |
670 | ||
671 | function CreateWeldOrSnapOrMotor(TYPE, PARENT, PART0, PART1, C0, C1) | |
672 | local NEWWELD = IT(TYPE) | |
673 | NEWWELD.Part0 = PART0 | |
674 | NEWWELD.Part1 = PART1 | |
675 | NEWWELD.C0 = C0 | |
676 | NEWWELD.C1 = C1 | |
677 | NEWWELD.Parent = PARENT | |
678 | return NEWWELD | |
679 | end | |
680 | ||
681 | local SOUND = IT("Sound") | |
682 | ||
683 | function CreateSound(ID, PARENT, VOLUME, PITCH, DOESLOOP) | |
684 | local NEWSOUND = nil | |
685 | coroutine.resume(coroutine.create(function() | |
686 | NEWSOUND = SOUND:Clone() | |
687 | NEWSOUND.Parent = PARENT | |
688 | NEWSOUND.Volume = VOLUME | |
689 | NEWSOUND.Pitch = PITCH | |
690 | NEWSOUND.SoundId = "http://www.roblox.com/asset/?id="..ID | |
691 | --Swait() | |
692 | NEWSOUND:play() | |
693 | if DOESLOOP == false then | |
694 | repeat Swait() until NEWSOUND.Playing == false | |
695 | NEWSOUND:remove() | |
696 | elseif DOESLOOP == true then | |
697 | NEWSOUND.Looped = true | |
698 | end | |
699 | end)) | |
700 | return NEWSOUND | |
701 | end | |
702 | ||
703 | function CFrameFromTopBack(at, top, back) | |
704 | local right = top:Cross(back) | |
705 | return CF(at.x, at.y, at.z, right.x, top.x, back.x, right.y, top.y, back.y, right.z, top.z, back.z) | |
706 | end | |
707 | ||
708 | function CreateWave(SIZE,WAIT,CFRAME,DOESROT,ROT,COLOR,GROW) | |
709 | local wave = CreatePart(3, Effects, "Neon", 0, 0.5, BRICKC(COLOR), "Effect", VT(0,0,0)) | |
710 | local mesh = IT("SpecialMesh",wave) | |
711 | mesh.MeshType = "FileMesh" | |
712 | mesh.MeshId = "http://www.roblox.com/asset/?id=20329976" | |
713 | mesh.Scale = SIZE | |
714 | mesh.Offset = VT(0,0,-SIZE.X/8) | |
715 | wave.CFrame = CFRAME | |
716 | coroutine.resume(coroutine.create(function(PART) | |
717 | for i = 1, WAIT do | |
718 | Swait() | |
719 | mesh.Scale = mesh.Scale + GROW | |
720 | mesh.Offset = VT(0,0,-(mesh.Scale.X/8)) | |
721 | if DOESROT == true then | |
722 | wave.CFrame = wave.CFrame * CFrame.fromEulerAnglesXYZ(0,ROT,0) | |
723 | end | |
724 | wave.Transparency = wave.Transparency + (0.5/WAIT) | |
725 | if wave.Transparency > 0.99 then | |
726 | wave:remove() | |
727 | end | |
728 | end | |
729 | end)) | |
730 | end | |
731 | ||
732 | function CreateRing(SIZE,DOESROT,ROT,WAIT,CFRAME,COLOR,GROW) | |
733 | local wave = CreatePart(3, Effects, "Neon", 0, 0.5, BRICKC(COLOR), "Effect", VT(0,0,0)) | |
734 | local mesh = IT("SpecialMesh",wave) | |
735 | mesh.MeshType = "FileMesh" | |
736 | mesh.MeshId = "http://www.roblox.com/asset/?id=3270017" | |
737 | mesh.Scale = SIZE | |
738 | mesh.Offset = VT(0,0,0) | |
739 | wave.CFrame = CFRAME | |
740 | coroutine.resume(coroutine.create(function(PART) | |
741 | for i = 1, WAIT do | |
742 | Swait() | |
743 | mesh.Scale = mesh.Scale + GROW | |
744 | if DOESROT == true then | |
745 | wave.CFrame = wave.CFrame * CFrame.fromEulerAnglesXYZ(0,ROT,0) | |
746 | end | |
747 | wave.Transparency = wave.Transparency + (0.5/WAIT) | |
748 | if wave.Transparency > 0.99 then | |
749 | wave:remove() | |
750 | end | |
751 | end | |
752 | end)) | |
753 | end | |
754 | ||
755 | function CreateSwirl(SIZE,WAIT,CFRAME,DOESROT,ROT,COLOR,GROW) | |
756 | local wave = CreatePart(3, Effects, "Neon", 0, 0.5, BRICKC(COLOR), "Effect", VT(0,0,0)) | |
757 | wave.Color = COLOR | |
758 | local mesh = CreateMesh("SpecialMesh", wave, "FileMesh", "1051557", "", SIZE, VT(0,0,0)) | |
759 | wave.CFrame = CFRAME | |
760 | coroutine.resume(coroutine.create(function(PART) | |
761 | for i = 1, WAIT do | |
762 | Swait() | |
763 | mesh.Scale = mesh.Scale + GROW | |
764 | mesh.Offset = VT(0,0,-(mesh.Scale.X/8)) | |
765 | if DOESROT == true then | |
766 | wave.CFrame = wave.CFrame * CFrame.fromEulerAnglesXYZ(0,ROT,0) | |
767 | end | |
768 | wave.Transparency = wave.Transparency + (0.5/WAIT) | |
769 | if wave.Transparency > 0.99 then | |
770 | wave:remove() | |
771 | end | |
772 | end | |
773 | end)) | |
774 | end | |
775 | ||
776 | function MagicSphere(SIZE,WAIT,CFRAME,COLOR,GROW) | |
777 | local wave = CreatePart(3, Effects, "Neon", 0, 0, BRICKC(COLOR), "Effect", VT(1,1,1), true) | |
778 | local mesh = IT("SpecialMesh",wave) | |
779 | mesh.MeshType = "Sphere" | |
780 | mesh.Scale = SIZE | |
781 | mesh.Offset = VT(0,0,0) | |
782 | wave.CFrame = CFRAME | |
783 | coroutine.resume(coroutine.create(function(PART) | |
784 | for i = 1, WAIT do | |
785 | Swait() | |
786 | mesh.Scale = mesh.Scale + GROW | |
787 | wave.Transparency = wave.Transparency + (1/WAIT) | |
788 | if wave.Transparency > 0.99 then | |
789 | wave:remove() | |
790 | end | |
791 | end | |
792 | end)) | |
793 | end | |
794 | ||
795 | function CreateDebreeRing(FLOOR,POSITION,SIZE,BLOCKSIZE,SWAIT) | |
796 | if FLOOR ~= nil then | |
797 | coroutine.resume(coroutine.create(function() | |
798 | local PART = CreatePart(3, Effects, "Plastic", 0, 1, "Black", "DebreeCenter", VT(0,0,0)) | |
799 | PART.CFrame = CF(POSITION) | |
800 | for i = 1, 45 do | |
801 | - | local RingPiece = CreatePart(3, Effects, "Plastic", 0, 0, "Crimson", "DebreePart", BLOCKSIZE) |
801 | + | local RingPiece = CreatePart(3, Effects, "Plastic", 0, 0, "Really red", "DebreePart", BLOCKSIZE) |
802 | RingPiece.Material = FLOOR.Material | |
803 | RingPiece.Color = FLOOR.Color | |
804 | RingPiece.CFrame = PART.CFrame * ANGLES(RAD(0), RAD(i*8), RAD(0)) * CF(SIZE*4, 0, 0) * ANGLES(RAD(MRANDOM(-360,360)),RAD(MRANDOM(-360,360)),RAD(MRANDOM(-360,360))) | |
805 | Debris:AddItem(RingPiece,SWAIT) | |
806 | end | |
807 | PART:remove() | |
808 | end)) | |
809 | end | |
810 | end | |
811 | ||
812 | function Slice(SIZE,WAIT,CFRAME,COLOR,GROW) | |
813 | local wave = CreatePart(3, Effects, "Neon", 0, 0.5, BRICKC(COLOR), "Effect", VT(1,1,1), true) | |
814 | local mesh = CreateMesh("SpecialMesh", wave, "FileMesh", "448386996", "", VT(0,SIZE/10,SIZE/10), VT(0,0,0)) | |
815 | wave.CFrame = CFRAME | |
816 | coroutine.resume(coroutine.create(function(PART) | |
817 | for i = 1, WAIT do | |
818 | Swait() | |
819 | mesh.Scale = mesh.Scale * GROW | |
820 | wave.Transparency = wave.Transparency + (0.5/WAIT) | |
821 | if wave.Transparency > 0.99 then | |
822 | wave:remove() | |
823 | end | |
824 | end | |
825 | end)) | |
826 | end | |
827 | ||
828 | function CreateFlyingDebree(FLOOR,POSITION,AMOUNT,BLOCKSIZE,SWAIT,STRENGTH) | |
829 | if FLOOR ~= nil then | |
830 | for i = 1, AMOUNT do | |
831 | local DEBREE = CreatePart(3, Effects, "Neon", 0, 0, "New yeller", "Debree", BLOCKSIZE, false) | |
832 | DEBREE.Material = FLOOR.Material | |
833 | DEBREE.Color = FLOOR.Color | |
834 | DEBREE.CFrame = POSITION * ANGLES(RAD(MRANDOM(-360,360)),RAD(MRANDOM(-360,360)),RAD(MRANDOM(-360,360))) | |
835 | DEBREE.Velocity = VT(MRANDOM(-STRENGTH,STRENGTH),STRENGTH,MRANDOM(-STRENGTH,STRENGTH)) | |
836 | coroutine.resume(coroutine.create(function() | |
837 | Swait(15) | |
838 | DEBREE.Parent = workspace | |
839 | DEBREE.CanCollide = true | |
840 | Debris:AddItem(DEBREE,SWAIT) | |
841 | end)) | |
842 | end | |
843 | end | |
844 | end | |
845 | ||
846 | function MakeForm(PART,TYPE) | |
847 | if TYPE == "Cyl" then | |
848 | local MSH = IT("CylinderMesh",PART) | |
849 | elseif TYPE == "Ball" then | |
850 | local MSH = IT("SpecialMesh",PART) | |
851 | MSH.MeshType = "Sphere" | |
852 | elseif TYPE == "Wedge" then | |
853 | local MSH = IT("SpecialMesh",PART) | |
854 | MSH.MeshType = "Wedge" | |
855 | end | |
856 | end | |
857 | ||
858 | function CheckTableForString(Table, String) | |
859 | for i, v in pairs(Table) do | |
860 | if string.find(string.lower(String), string.lower(v)) then | |
861 | return true | |
862 | end | |
863 | end | |
864 | return false | |
865 | end | |
866 | ||
867 | function CheckIntangible(Hit) | |
868 | local ProjectileNames = {"Water", "Arrow", "Projectile", "Effect", "Rail", "Lightning", "Bullet"} | |
869 | if Hit and Hit.Parent then | |
870 | if ((not Hit.CanCollide or CheckTableForString(ProjectileNames, Hit.Name)) and not Hit.Parent:FindFirstChild("Humanoid")) then | |
871 | return true | |
872 | end | |
873 | end | |
874 | return false | |
875 | end | |
876 | ||
877 | Debris = game:GetService("Debris") | |
878 | ||
879 | function CastZapRay(StartPos, Vec, Length, Ignore, DelayIfHit) | |
880 | local Direction = CFrame.new(StartPos, Vec).lookVector | |
881 | local Ignore = ((type(Ignore) == "table" and Ignore) or {Ignore}) | |
882 | local RayHit, RayPos, RayNormal = game:GetService("Workspace"):FindPartOnRayWithIgnoreList(Ray.new(StartPos, Direction * Length), Ignore) | |
883 | if RayHit and CheckIntangible(RayHit) then | |
884 | if DelayIfHit then | |
885 | wait() | |
886 | end | |
887 | RayHit, RayPos, RayNormal = CastZapRay((RayPos + (Vec * 0.01)), Vec, (Length - ((StartPos - RayPos).magnitude)), Ignore, DelayIfHit) | |
888 | end | |
889 | return RayHit, RayPos, RayNormal | |
890 | end | |
891 | ||
892 | function turnto(position) | |
893 | RootPart.CFrame=CFrame.new(RootPart.CFrame.p,VT(position.X,RootPart.Position.Y,position.Z)) * CFrame.new(0, 0, 0) | |
894 | end | |
895 | ||
896 | --//=================================\\ | |
897 | --|| WEAPON CREATION | |
898 | --\\=================================// | |
899 | ||
900 | local FIST = CreatePart1(3, Weapon, "Neon", 0, 0, "Neon Gauntlet Part1", VT(1.01*Player_Size,1.4*Player_Size,1.01*Player_Size),false) | |
901 | Light = Instance.new("PointLight",FIST) | |
902 | Light.Brightness = 0.85 | |
903 | touchCounter = 0 | |
904 | local cR=255 | |
905 | local cG=0 | |
906 | local cB=0 | |
907 | local flg5=1 local omgidk=1 | |
908 | local add=7.5 | |
909 | game:GetService("RunService"):BindToRenderStep("Ghost",1,function() | |
910 | if omgidk>10000 then omgidk=0 end | |
911 | omgidk=omgidk+1 | |
912 | if cR>=255 then flg5=1 end | |
913 | if cG>=255 then flg5=2 end | |
914 | if cB>=255 then flg5=3 end | |
915 | if flg5==1 then cR=cR-add cG=cG+add end | |
916 | if flg5==2 then cG=cG-add cB=cB+add end | |
917 | if flg5==3 then cB=cB-add cR=cR+add end | |
918 | color=Color3.fromRGB(cR,cG,cB) | |
919 | Light.Color = color | |
920 | end) | |
921 | local weld = CreateWeldOrSnapOrMotor("Weld", FIST, RightArm, FIST, CF(0 * Player_Size, -0.25 * Player_Size, 0 * Player_Size) * ANGLES(RAD(0), RAD(0), RAD(0)), CF(0, 0, 0)) | |
922 | - | local part = CreatePart(3, Weapon, "Metal", 0, 0, "Maroon", "Gauntlet Part", VT(1.2*Player_Size,0.3*Player_Size,1.2*Player_Size),false) |
922 | + | local part = CreatePart(3, Weapon, "Metal", 0, 0, "Navy blue", "Gauntlet Part", VT(1.2*Player_Size,0.3*Player_Size,1.2*Player_Size),false) |
923 | local weld = CreateWeldOrSnapOrMotor("Weld", part, FIST, part, CF(0 * Player_Size, 0.6 * Player_Size, 0 * Player_Size) * ANGLES(RAD(0), RAD(0), RAD(0)), CF(0, 0, 0)) | |
924 | ||
925 | - | local part = CreatePart(3, Weapon, "Metal", 0, 0, "Maroon", "Gauntlet Part", VT(1.05*Player_Size,0.05*Player_Size,1.05*Player_Size),false) |
925 | + | local part = CreatePart(3, Weapon, "Metal", 0, 0, "Navy blue", "Gauntlet Part", VT(1.05*Player_Size,0.05*Player_Size,1.05*Player_Size),false) |
926 | local weld = CreateWeldOrSnapOrMotor("Weld", part, FIST, part, CF(0 * Player_Size, 0.1 * Player_Size, 0 * Player_Size) * ANGLES(RAD(0), RAD(0), RAD(0)), CF(0, 0, 0)) | |
927 | - | local part = CreatePart(3, Weapon, "Metal", 0, 0, "Maroon", "Gauntlet Part", VT(1.05*Player_Size,0.05*Player_Size,1.05*Player_Size),false) |
927 | + | local part = CreatePart(3, Weapon, "Metal", 0, 0, "Navy blue", "Gauntlet Part", VT(1.05*Player_Size,0.05*Player_Size,1.05*Player_Size),false) |
928 | local weld = CreateWeldOrSnapOrMotor("Weld", part, FIST, part, CF(0 * Player_Size, 0.2 * Player_Size, 0 * Player_Size) * ANGLES(RAD(0), RAD(0), RAD(0)), CF(0, 0, 0)) | |
929 | - | local part = CreatePart(3, Weapon, "Metal", 0, 0, "Maroon", "Gauntlet Part", VT(1.05*Player_Size,0.05*Player_Size,1.05*Player_Size),false) |
929 | + | local part = CreatePart(3, Weapon, "Metal", 0, 0, "Navy blue", "Gauntlet Part", VT(1.05*Player_Size,0.05*Player_Size,1.05*Player_Size),false) |
930 | local weld = CreateWeldOrSnapOrMotor("Weld", part, FIST, part, CF(0 * Player_Size, 0.3 * Player_Size, 0 * Player_Size) * ANGLES(RAD(0), RAD(0), RAD(0)), CF(0, 0, 0)) | |
931 | - | local part = CreatePart(3, Weapon, "Metal", 0, 0, "Maroon", "Gauntlet Part", VT(1.05*Player_Size,0.05*Player_Size,1.05*Player_Size),false) |
931 | + | local part = CreatePart(3, Weapon, "Metal", 0, 0, "Navy blue", "Gauntlet Part", VT(1.05*Player_Size,0.05*Player_Size,1.05*Player_Size),false) |
932 | local weld = CreateWeldOrSnapOrMotor("Weld", part, FIST, part, CF(0 * Player_Size, 0.4 * Player_Size, 0 * Player_Size) * ANGLES(RAD(0), RAD(0), RAD(0)), CF(0, 0, 0)) | |
933 | ||
934 | - | local part = CreatePart(3, Weapon, "Metal", 0, 0, "Maroon", "Gauntlet Part", VT(1.1*Player_Size,0.8*Player_Size,1.1*Player_Size),false) |
934 | + | local part = CreatePart(3, Weapon, "Metal", 0, 0, "Navy blue", "Gauntlet Part", VT(1.1*Player_Size,0.8*Player_Size,1.1*Player_Size),false) |
935 | local weld = CreateWeldOrSnapOrMotor("Weld", part, FIST, part, CF(0 * Player_Size, -0.35 * Player_Size, 0 * Player_Size) * ANGLES(RAD(0), RAD(0), RAD(0)), CF(0, 0, 0)) | |
936 | - | local part = CreatePart(3, Weapon, "Neon", 0, 0, "Maroon", "Neon Gauntlet Part", VT(1.1*Player_Size,0.8*Player_Size,1*Player_Size),false) |
936 | + | local part = CreatePart(3, Weapon, "Neon", 0, 0, "Navy blue", "Neon Gauntlet Part", VT(1.1*Player_Size,0.8*Player_Size,1*Player_Size),false) |
937 | local weld = CreateWeldOrSnapOrMotor("Weld", part, FIST, part, CF(0.05 * Player_Size, -0.375 * Player_Size, 0 * Player_Size) * ANGLES(RAD(0), RAD(0), RAD(0)), CF(0, 0, 0)) | |
938 | - | local part = CreatePart(3, Weapon, "Metal", 0, 0, "Maroon", "Gauntlet Part", VT(1.1*Player_Size,0.8*Player_Size,0.3*Player_Size),false) |
938 | + | local part = CreatePart(3, Weapon, "Metal", 0, 0, "Navy blue", "Gauntlet Part", VT(1.1*Player_Size,0.8*Player_Size,0.3*Player_Size),false) |
939 | local weld = CreateWeldOrSnapOrMotor("Weld", part, FIST, part, CF(0.1 * Player_Size, -0.4 * Player_Size, 0 * Player_Size) * ANGLES(RAD(0), RAD(0), RAD(0)), CF(0, 0, 0)) | |
940 | - | local part = CreatePart(3, Weapon, "Metal", 0, 0, "Maroon", "Gauntlet Part", VT(1.1*Player_Size,0.8*Player_Size,0.3*Player_Size),false) |
940 | + | local part = CreatePart(3, Weapon, "Metal", 0, 0, "Navy blue", "Gauntlet Part", VT(1.1*Player_Size,0.8*Player_Size,0.3*Player_Size),false) |
941 | local weld = CreateWeldOrSnapOrMotor("Weld", part, FIST, part, CF(0.1 * Player_Size, -0.4 * Player_Size, 0.33 * Player_Size) * ANGLES(RAD(0), RAD(0), RAD(0)), CF(0, 0, 0)) | |
942 | - | local part = CreatePart(3, Weapon, "Metal", 0, 0, "Maroon", "Gauntlet Part", VT(1.1*Player_Size,0.8*Player_Size,0.3*Player_Size),false) |
942 | + | local part = CreatePart(3, Weapon, "Metal", 0, 0, "Navy blue", "Gauntlet Part", VT(1.1*Player_Size,0.8*Player_Size,0.3*Player_Size),false) |
943 | local weld = CreateWeldOrSnapOrMotor("Weld", part, FIST, part, CF(0.1 * Player_Size, -0.4 * Player_Size, -0.33 * Player_Size) * ANGLES(RAD(0), RAD(0), RAD(0)), CF(0, 0, 0)) | |
944 | touchCounter = 0 | |
945 | local cR=255 | |
946 | local cG=0 | |
947 | local cB=0 | |
948 | local flg5=1 local omgidk=1 | |
949 | local add=7.5 | |
950 | game:GetService("RunService"):BindToRenderStep("Ghost",1,function() | |
951 | if omgidk>10000 then omgidk=0 end | |
952 | omgidk=omgidk+1 | |
953 | if cR>=255 then flg5=1 end | |
954 | if cG>=255 then flg5=2 end | |
955 | if cB>=255 then flg5=3 end | |
956 | if flg5==1 then cR=cR-add cG=cG+add end | |
957 | if flg5==2 then cG=cG-add cB=cB+add end | |
958 | if flg5==3 then cB=cB-add cR=cR+add end | |
959 | color=Color3.fromRGB(cR,cG,cB) | |
960 | local d = Weapon:FindFirstChild("Neon Gauntlet Part") | |
961 | if d then | |
962 | d.Color = color | |
963 | end | |
964 | local d = Weapon:FindFirstChild("Neon Gauntlet Part1") | |
965 | if d then | |
966 | d.Color = color | |
967 | end | |
968 | end) | |
969 | ||
970 | - | local Back = CreatePart(3, Character, "Neon", 0, 0, "Really red", "Wing", VT(1,1,0.35),false) |
970 | + | local Back = CreatePart(3, Character, "Neon", 0, 0, "Really blue", "Wing", VT(1,1,0.35),false) |
971 | CreateWeldOrSnapOrMotor("Weld", Torso, Torso, Back, CF(0, 0.5, 1.2) * ANGLES(RAD(0),RAD(0),RAD(45)), CF(0, 0, 0)) | |
972 | ||
973 | local ANGLE = 35 | |
974 | for i = 1, 5 do | |
975 | - | local Wing = CreatePart(3, Character, "Neon", 0, 0, "Black", "Wing", VT(0.15,2+(i/2),0.15),false) |
975 | + | local Wing = CreatePart(3, Character, "Neon", 0, 0, "Really blue blue", "Wing", VT(0.15,2+(i/2),0.15),false) |
976 | local WingWeld = CreateWeldOrSnapOrMotor("Weld", Wing, Torso, Wing, CF(0, 1, 0) * ANGLES(RAD(90), RAD(0), RAD(0)) * CF(0,1,0) * ANGLES(RAD(0), RAD(0), RAD(90)) * ANGLES(RAD(ANGLE), RAD(0), RAD(0)) * CF(0,3+(i/10),0) , CF(0, 0, 0)) | |
977 | - | local Wing2 = CreatePart(3, Character, "Neon", 0, 0, "Black", "Wing", VT(0.25,1,0.25),false) |
977 | + | local Wing2 = CreatePart(3, Character, "Neon", 0, 0, "Really blue", "Wing", VT(0.25,1,0.25),false) |
978 | CreateWeldOrSnapOrMotor("Weld", Wing, Wing, Wing2, CF(0, 2+(i/2), 0) * ANGLES(RAD(25), RAD(0), RAD(0)), CF(0, 1, 0)) | |
979 | ANGLE = ANGLE - 15 | |
980 | table.insert(LEFTWINGS,WingWeld) | |
981 | end | |
982 | ANGLE = 35 | |
983 | for i = 1, 5 do | |
984 | - | local Wing = CreatePart(3, Character, "Neon", 0, 0, "Crimson", "Wing", VT(0.15,2+(i/2),0.15),false) |
984 | + | local Wing = CreatePart(3, Character, "Neon", 0, 0, "Really blue", "Wing", VT(0.15,2+(i/2),0.15),false) |
985 | local WingWeld = CreateWeldOrSnapOrMotor("Weld", Wing, Torso, Wing, CF(0, 1, 0) * ANGLES(RAD(90), RAD(0), RAD(0)) * CF(0,1,0) * ANGLES(RAD(0), RAD(0), RAD(-90)) * ANGLES(RAD(ANGLE), RAD(0), RAD(0)) * CF(0,3+(i/10),0) , CF(0, 0, 0)) | |
986 | - | local Wing2 = CreatePart(3, Character, "Neon", 0, 0, "Crimson", "Wing", VT(0.25,1,0.25),false) |
986 | + | local Wing2 = CreatePart(3, Character, "Neon", 0, 0, "Really blue", "Wing", VT(0.25,1,0.25),false) |
987 | CreateWeldOrSnapOrMotor("Weld", Wing, Wing, Wing2, CF(0, 2+(i/2), 0) * ANGLES(RAD(25), RAD(0), RAD(0)), CF(0, 1, 0)) | |
988 | ANGLE = ANGLE - 15 | |
989 | table.insert(RIGHTWINGS,WingWeld) | |
990 | end | |
991 | ||
992 | for i = 1, 35 do | |
993 | local FACE = CreatePart(3, Character, "Fabric", 0, 0+(i-1)/35.2, "Dark stone grey", "FaceGradient", VT(1.01,0.5,1.01),false) | |
994 | FACE.Color = C3(0,0,0) | |
995 | Head:FindFirstChildOfClass("SpecialMesh"):Clone().Parent = FACE | |
996 | CreateWeldOrSnapOrMotor("Weld", Head, Head, FACE, CF(0,0.35-(i-1)/75,0), CF(0, 0, 0)) | |
997 | end | |
998 | - | local EYE = CreatePart(3, Character, "Neon", 0, 0, "Crimson", "Eyeball", VT(0.15,0.15,0.15),false) |
998 | + | local EYE = CreatePart(3, Character, "Neon", 0, 0, "Really blue", "Eyeball", VT(0.15,0.15,0.15),false) |
999 | MakeForm(EYE,"Ball") | |
1000 | CreateWeldOrSnapOrMotor("Weld", Head, Head, EYE, CF(0.15,0.26,-0.55), CF(0, 0, 0)) | |
1001 | - | local EYE2 = CreatePart(3, Character, "Neon", 0, 0, "Black", "Eyeball", VT(0.15,0.15,0.15),false) |
1001 | + | local EYE2 = CreatePart(3, Character, "Neon", 0, 0, "Navy blue", "Eyeball", VT(0.15,0.15,0.15),false) |
1002 | MakeForm(EYE2,"Ball") | |
1003 | CreateWeldOrSnapOrMotor("Weld", Head, Head, EYE2, CF(-0.15,0.26,-0.55), CF(0, 0, 0)) | |
1004 | ||
1005 | for _, c in pairs(Character:GetDescendants()) do | |
1006 | if c:IsA("BasePart") and c.Name ~= "Handle" then | |
1007 | if c ~= RootPart and c ~= Torso and c ~= Head and c ~= RightArm and c ~= LeftArm and c ~= RightLeg and c ~= LeftLeg then | |
1008 | c.CustomPhysicalProperties = PhysicalProperties.new(0, 0, 0, 0, 0) | |
1009 | end | |
1010 | ||
1011 | table.insert(BODY,{c,c.Parent,c.Material,c.Color,c.Transparency}) | |
1012 | elseif c:IsA("JointInstance") then | |
1013 | table.insert(BODY,{c,c.Parent,nil,nil,nil}) | |
1014 | end | |
1015 | end | |
1016 | ||
1017 | for e = 1, #BODY do | |
1018 | if BODY[e] ~= nil then | |
1019 | local STUFF = BODY[e] | |
1020 | local PART = STUFF[1] | |
1021 | local PARENT = STUFF[2] | |
1022 | local MATERIAL = STUFF[3] | |
1023 | local COLOR = STUFF[4] | |
1024 | local TRANSPARENCY = STUFF[5] | |
1025 | if PART.ClassName == "Part" and PART ~= RootPart then | |
1026 | PART.Material = MATERIAL | |
1027 | PART.Color = COLOR | |
1028 | PART.Transparency = TRANSPARENCY | |
1029 | end | |
1030 | PART.AncestryChanged:Connect(function() | |
1031 | PART.Parent = PARENT | |
1032 | end) | |
1033 | end | |
1034 | end | |
1035 | ||
1036 | function refit() | |
1037 | Character.Parent = workspace | |
1038 | for e = 1, #BODY do | |
1039 | if BODY[e] ~= nil then | |
1040 | local STUFF = BODY[e] | |
1041 | local PART = STUFF[1] | |
1042 | local PARENT = STUFF[2] | |
1043 | local MATERIAL = STUFF[3] | |
1044 | local COLOR = STUFF[4] | |
1045 | local TRANSPARENCY = STUFF[5] | |
1046 | if PART.ClassName == "Part" and PART ~= RootPart then | |
1047 | PART.Material = MATERIAL | |
1048 | PART.Color = COLOR | |
1049 | PART.Transparency = TRANSPARENCY | |
1050 | end | |
1051 | if PART.Parent ~= PARENT then | |
1052 | Humanoid:remove() | |
1053 | PART.Parent = PARENT | |
1054 | Humanoid = IT("Humanoid",Character) | |
1055 | end | |
1056 | end | |
1057 | end | |
1058 | end | |
1059 | ||
1060 | function particles(art) | |
1061 | local EyeSizes={ | |
1062 | NumberSequenceKeypoint.new(0,1,0), | |
1063 | NumberSequenceKeypoint.new(1,1,0) | |
1064 | } | |
1065 | local EyeTrans={ | |
1066 | NumberSequenceKeypoint.new(0,0.8,0), | |
1067 | NumberSequenceKeypoint.new(1,1,0) | |
1068 | } | |
1069 | local PE=Instance.new("ParticleEmitter",art) | |
1070 | PE.LightEmission=.8 | |
1071 | - | PE.Color = ColorSequence.new(BRICKC("Black").Color) |
1071 | + | PE.Color = ColorSequence.new(BRICKC("Navy blue").Color) |
1072 | PE.Size=NumberSequence.new(EyeSizes) | |
1073 | PE.Transparency=NumberSequence.new(EyeTrans) | |
1074 | PE.Lifetime=NumberRange.new(0.35,0.35,0.35) | |
1075 | PE.Rotation=NumberRange.new(0,360) | |
1076 | PE.Rate=999 | |
1077 | PE.VelocitySpread = 10000 | |
1078 | PE.Acceleration = Vector3.new(0,75,0) | |
1079 | PE.Drag = 5 | |
1080 | PE.Speed = NumberRange.new(0,0,0) | |
1081 | PE.Texture="http://www.roblox.com/asset/?id=341277531" | |
1082 | PE.ZOffset = -1.5 | |
1083 | PE.Name = "PE" | |
1084 | end | |
1085 | ||
1086 | Weapon.Parent = Character | |
1087 | ||
1088 | Humanoid.Died:connect(function() | |
1089 | ATTACK = true | |
1090 | DEATH = true | |
1091 | end) | |
1092 | ||
1093 | function Blink() | |
1094 | coroutine.resume(coroutine.create(function() | |
1095 | if EYE ~= nil then | |
1096 | for i = 1, 5 do | |
1097 | Swait() | |
1098 | EYE.Mesh.Scale = EYE.Mesh.Scale - VT(0,0.2,0) | |
1099 | EYE2.Mesh.Scale = EYE.Mesh.Scale | |
1100 | end | |
1101 | for i = 1, 7 do | |
1102 | Swait() | |
1103 | EYE.Mesh.Scale = EYE.Mesh.Scale + VT(0,0.2,0) | |
1104 | EYE2.Mesh.Scale = EYE.Mesh.Scale | |
1105 | end | |
1106 | EYE.Mesh.Scale = VT(1,1,1) | |
1107 | EYE2.Mesh.Scale = EYE.Mesh.Scale | |
1108 | end | |
1109 | end)) | |
1110 | end | |
1111 | ||
1112 | local SKILL1FRAME = CreateFrame(WEAPONGUI, 0.5, 2, UD2(0.13, 0, 0.80, 0), UD2(0.26, 0, 0.07, 0), C3(0,0,0), C3(0, 0, 0), "Skill 1 Frame") | |
1113 | local SKILL2FRAME = CreateFrame(WEAPONGUI, 0.5, 2, UD2(0.60, 0, 0.80, 0), UD2(0.26, 0, 0.07, 0), C3(0,0,0), C3(0, 0, 0), "Skill 2 Frame") | |
1114 | local SKILL3FRAME = CreateFrame(WEAPONGUI, 0.5, 2, UD2(0.23, 0, 0.93, 0), UD2(0.26, 0, 0.07, 0), C3(0,0,0), C3(0, 0, 0), "Skill 3 Frame") | |
1115 | local SKILL4FRAME = CreateFrame(WEAPONGUI, 0.5, 2, UD2(0.50, 0, 0.93, 0), UD2(0.26, 0, 0.07, 0), C3(0,0,0), C3(0, 0, 0), "Skill 4 Frame") | |
1116 | local SKILL5FRAME = CreateFrame(WEAPONGUI, 0.5, 2, UD2(0.365, 0, 0.7, 0), UD2(0.26, 0, 0.07, 0), C3(0,0,0), C3(0, 0, 0), "Skill 5 Frame") | |
1117 | local SKILL6FRAME = CreateFrame(WEAPONGUI, 0.5, 2, UD2(0.365, 0, 0.1, 0), UD2(0.26, 0, 0.07, 0), C3(0,0,0), C3(0, 0, 0), "Skill 6 Frame") | |
1118 | ||
1119 | - | local SKILL1TEXT = CreateLabel(SKILL1FRAME, "[Z] Boost", SKILLTEXTCOLOR, 7, "Bodoni", 0, 2, 1, "Text 1") |
1119 | + | local SKILL1TEXT = CreateLabel(SKILL1FRAME, "[Z]Faster speed", SKILLTEXTCOLOR, 7, "Bodoni", 0, 2, 1, "Text 1") |
1120 | local SKILL2TEXT = CreateLabel(SKILL2FRAME, "[B] Forever pain", SKILLTEXTCOLOR, 7, "Cartoon", 0, 2, 1, "Text 2") | |
1121 | - | local SKILL3TEXT = CreateLabel(SKILL3FRAME, "[C] Shredder", SKILLTEXTCOLOR, 7, "Code", 0, 2, 1, "Text 3") |
1121 | + | local SKILL3TEXT = CreateLabel(SKILL3FRAME, "[C]Big block", SKILLTEXTCOLOR, 7, "Code", 0, 2, 1, "Text 3") |
1122 | - | local SKILL4TEXT = CreateLabel(SKILL4FRAME, "[V] External fire", SKILLTEXTCOLOR, 7, "Garamond", 0, 2, 1, "Text 4") |
1122 | + | local SKILL4TEXT = CreateLabel(SKILL4FRAME, "[V]", SKILLTEXTCOLOR, 7, "Garamond", 0, 2, 1, "Text 4") |
1123 | - | local SKILL5TEXT = CreateLabel(SKILL5FRAME, "[X] X Flame", SKILLTEXTCOLOR, 7, "Fantasy", 0, 2, 1, "Text 5") |
1123 | + | local SKILL5TEXT = CreateLabel(SKILL5FRAME, "[X] The X", SKILLTEXTCOLOR, 7, "Fantasy", 0, 2, 1, "Text 5") |
1124 | local SKILL6TEXT = CreateLabel(SKILL6FRAME, "ASCENTION: ["..POWERLEVEL.."]", SKILLTEXTCOLOR, 7, "Bodoni", 0, 2, 1, "Text 6") | |
1125 | ||
1126 | --//=================================\\ | |
1127 | --|| DAMAGING | |
1128 | --\\=================================// | |
1129 | ||
1130 | function killnearest(position,range,maxstrength) | |
1131 | for i,v in ipairs(workspace:GetChildren()) do | |
1132 | if v.ClassName == "Model" then | |
1133 | local body = v:GetChildren() | |
1134 | for part = 1, #body do | |
1135 | if((body[part].ClassName == "Part" or body[part].ClassName == "MeshPart") and v ~= Character) then | |
1136 | if(body[part].Position - position).Magnitude < range then | |
1137 | if v.ClassName == "Model" then | |
1138 | v:BreakJoints() | |
1139 | end | |
1140 | --table.insert(Effects2,{body[part],"Disappear",0.02,2,2,2,2}) | |
1141 | body[part].Velocity = CFrame.new(position,body[part].Position).lookVector*5*maxstrength | |
1142 | end | |
1143 | end | |
1144 | end | |
1145 | end | |
1146 | end | |
1147 | end | |
1148 | ||
1149 | --//=================================\\ | |
1150 | --|| ATTACK FUNCTIONS AND STUFF | |
1151 | --\\=================================// | |
1152 | ||
1153 | Humanoid.HealthChanged:connect(function() | |
1154 | if DEATH == false then | |
1155 | if Humanoid.Health ~= "inf" then | |
1156 | Humanoid.Health = "inf" | |
1157 | CreateSound("907330011", Torso, 10, 1) | |
1158 | end | |
1159 | if Humanoid.MaxHealth ~= "inf" then | |
1160 | Humanoid.MaxHealth = "inf" | |
1161 | end | |
1162 | end | |
1163 | end) | |
1164 | ||
1165 | function VanishPlayer() | |
1166 | text.TextTransparency = 1 | |
1167 | text.TextStrokeTransparency = 1 | |
1168 | for _, c in pairs(Character:GetChildren()) do | |
1169 | if c.ClassName == "Part" then | |
1170 | c.Transparency = 1 | |
1171 | if c:FindFirstChildOfClass("Decal") then | |
1172 | c:FindFirstChildOfClass("Decal").Transparency = 1 | |
1173 | end | |
1174 | if c:FindFirstChildOfClass("ParticleEmitter") then | |
1175 | c:FindFirstChildOfClass("ParticleEmitter").Enabled = false | |
1176 | end | |
1177 | elseif c.ClassName == "Accessory" then | |
1178 | c.Handle.Transparency = 1 | |
1179 | if c.Handle:FindFirstChildOfClass("ParticleEmitter") then | |
1180 | c.Handle:FindFirstChildOfClass("ParticleEmitter").Enabled = false | |
1181 | end | |
1182 | end | |
1183 | end | |
1184 | end | |
1185 | ||
1186 | function Reappear() | |
1187 | text.TextTransparency = 0 | |
1188 | text.TextStrokeTransparency = 0 | |
1189 | for _, c in pairs(Character:GetChildren()) do | |
1190 | if c.ClassName == "Part" and c.Name ~= "HumanoidRootPart" then | |
1191 | c.Transparency = 0 | |
1192 | if c:FindFirstChildOfClass("Decal") then | |
1193 | c:FindFirstChildOfClass("Decal").Transparency = 0 | |
1194 | end | |
1195 | if c:FindFirstChildOfClass("ParticleEmitter") then | |
1196 | c:FindFirstChildOfClass("ParticleEmitter").Enabled = true | |
1197 | end | |
1198 | elseif c.ClassName == "Accessory" then | |
1199 | c.Handle.Transparency = 0 | |
1200 | if c.Handle:FindFirstChildOfClass("ParticleEmitter") then | |
1201 | c.Handle:FindFirstChildOfClass("ParticleEmitter").Enabled = true | |
1202 | end | |
1203 | end | |
1204 | end | |
1205 | end | |
1206 | ||
1207 | function Warp() | |
1208 | ATTACK = true | |
1209 | Rooted = true | |
1210 | for i = 1, 50 do | |
1211 | Swait() | |
1212 | CreateRing(VT(0,0,0),false,0,5,RootPart.CFrame*ANGLES(RAD(0),RAD(90),RAD(0)),"Institutional white",VT(i/3,i/3,0)) | |
1213 | CreateRing(VT(0,0,0),false,0,5,RootPart.CFrame*ANGLES(RAD(0),RAD(0),RAD(0)),"Institutional white",VT(i/3,i/3,0)) | |
1214 | RootJoint.C0 = Clerp(RootJoint.C0,ROOTC0 * CF(0, 0, -0.3 + 0.05 * COS(SINE / 12)) * ANGLES(RAD(25), RAD(0), RAD(0 - 2.5 * SIN(SINE / 12))), 3 / Animation_Speed) | |
1215 | Neck.C0 = Clerp(Neck.C0, NECKC0 * CF(0, 0, 0 + ((1) - 1)) * ANGLES(RAD(25 - 2.5 * SIN(SINE / 12)), RAD(0), RAD(0 + 2.5 * SIN(SINE / 12))), 3 / Animation_Speed) | |
1216 | RightShoulder.C0 = Clerp(RightShoulder.C0, CF(1.15, 0, -0.5) * ANGLES(RAD(140 + 2.5 * SIN(SINE / 12)), RAD(15), RAD(0)) * RIGHTSHOULDERC0, 3 / Animation_Speed) | |
1217 | LeftShoulder.C0 = Clerp(LeftShoulder.C0, CF(-1.15, 0, -0.5) * ANGLES(RAD(140 + 2.5 * SIN(SINE / 12)), RAD(-15), RAD(0)) * LEFTSHOULDERC0, 3 / Animation_Speed) | |
1218 | 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(-25 - 2.5 * SIN(SINE / 12))), 3 / Animation_Speed) | |
1219 | 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(-45 - 2.5 * SIN(SINE / 12))), 3 / Animation_Speed) | |
1220 | end | |
1221 | if VALUE2 == false then | |
1222 | VALUE2 = true | |
1223 | elseif VALUE2 == true then | |
1224 | VALUE2 = false | |
1225 | end | |
1226 | ATTACK = false | |
1227 | Rooted = false | |
1228 | end | |
1229 | ||
1230 | function Hypernova() | |
1231 | local HITFLOOR,HITPOS,NORMAL = Raycast(RootPart.Position, (CF(RootPart.Position, RootPart.Position + VT(0, -1, 0))).lookVector, 7 * Player_Size, Character) | |
1232 | if HITFLOOR ~= nil then | |
1233 | local HITBODIES = {} | |
1234 | ATTACK = true | |
1235 | Rooted = true | |
1236 | local ABSOLUTE = CreatePart(3, Effects, "Neon", 0, 1, "Relly red", "Star", VT(0,0,0)) | |
1237 | MakeForm(ABSOLUTE,"Ball") | |
1238 | CreateSound("429459101", ABSOLUTE, 10, 1) | |
1239 | for i=0, 4, 0.1 / Animation_Speed do | |
1240 | Swait() | |
1241 | ABSOLUTE.Size = ABSOLUTE.Size + VT(0.2,0.2,0.2) | |
1242 | ABSOLUTE.CFrame = RootPart.CFrame*CF(0,5+(ABSOLUTE.Size.Y/2),0) | |
1243 | ABSOLUTE.Transparency = ABSOLUTE.Transparency - 0.01 | |
1244 | local CHARGE = CreatePart(3, Effects, "Neon", 0, 0, "Really red", "Star", VT(1,1,1)) | |
1245 | MakeForm(CHARGE,"Ball") | |
1246 | CHARGE.Color = C3(1,1,1) | |
1247 | CHARGE.CFrame = CF(RootPart.Position) * CF(MRANDOM(-15,15),-6,MRANDOM(-15,15)) | |
1248 | FireArc(CHARGE,ABSOLUTE.Position,45,45,true) | |
1249 | RootJoint.C0 = Clerp(RootJoint.C0,ROOTC0 * CF(0, 0, 0 + 0.25 * COS(SINE / 12)) * ANGLES(RAD(4 + 2.5 * SIN(SINE / 12)), RAD(0), RAD(15 + 2.5 * SIN(SINE / 12))), 1 / Animation_Speed) | |
1250 | Neck.C0 = Clerp(Neck.C0, NECKC0 * CF(0, 0, 0 + ((1) - 1)) * ANGLES(RAD(-25 + 4.5 * SIN(SINE / 12)), RAD(25), RAD(-15 - 2.5 * SIN(SINE / 12))), 1 / Animation_Speed) | |
1251 | RightShoulder.C0 = Clerp(RightShoulder.C0, CF(1.25, 1.5 + 0.25 * COS(SINE / 12), 0) * ANGLES(RAD(170), RAD(0 - 7.5 * SIN(SINE / 12)), RAD(-12 + 7.5 * SIN(SINE / 12))) * RIGHTSHOULDERC0, 1 / Animation_Speed) | |
1252 | LeftShoulder.C0 = Clerp(LeftShoulder.C0, CF(-1.5, 0.5 + 0.25 * COS(SINE / 12), 0) * ANGLES(RAD(0), RAD(0 + 7.5 * SIN(SINE / 12)), RAD(-12 - 7.5 * SIN(SINE / 12))) * LEFTSHOULDERC0, 1 / Animation_Speed) | |
1253 | 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) | |
1254 | 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) | |
1255 | end | |
1256 | CreateSound("907330103", Head, 10, 1.2) | |
1257 | for i = 1, 75 do | |
1258 | Swait() | |
1259 | RootJoint.C0 = Clerp(RootJoint.C0,ROOTC0 * CF(0, 0, 0 + 0.25 * COS(SINE / 12)) * ANGLES(RAD(4 + 2.5 * SIN(SINE / 12)), RAD(0), RAD(15 + 2.5 * SIN(SINE / 12))), 1 / Animation_Speed) | |
1260 | Neck.C0 = Clerp(Neck.C0, NECKC0 * CF(0, 0, 0 + ((1) - 1)) * ANGLES(RAD(-25 + 4.5 * SIN(SINE / 12)), RAD(25), RAD(-15 - 2.5 * SIN(SINE / 12))), 1 / Animation_Speed) | |
1261 | RightShoulder.C0 = Clerp(RightShoulder.C0, CF(1.25, 1.5 + 0.25 * COS(SINE / 12), 0) * ANGLES(RAD(170), RAD(0 - 7.5 * SIN(SINE / 12)), RAD(-12 + 7.5 * SIN(SINE / 12))) * RIGHTSHOULDERC0, 1 / Animation_Speed) | |
1262 | LeftShoulder.C0 = Clerp(LeftShoulder.C0, CF(-1.5, 0.5 + 0.25 * COS(SINE / 12), 0) * ANGLES(RAD(0), RAD(0 + 7.5 * SIN(SINE / 12)), RAD(-12 - 7.5 * SIN(SINE / 12))) * LEFTSHOULDERC0, 1 / Animation_Speed) | |
1263 | 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) | |
1264 | 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) | |
1265 | end | |
1266 | coroutine.resume(coroutine.create(function() | |
1267 | for i = 1, 13 do | |
1268 | for e = 1, 8 do | |
1269 | Swait() | |
1270 | MagicSphere(VT(1,1,1),15,CF(ABSOLUTE.Position)*CF(MRANDOM(-45,45),MRANDOM(-45,45),MRANDOM(-45,45)),C3(1,1,1),VT(0,0,0)) | |
1271 | CreateSwirl(ABSOLUTE.Size/2,15,CF(HITPOS),true,15,BRICKC"Black".Color,VT(i,0.3,i)*2) | |
1272 | end | |
1273 | for i = 1, 5 do | |
1274 | Slice("Round",0,35,CF(ABSOLUTE.Position)*ANGLES(RAD(MRANDOM(-18,18)),RAD(MRANDOM(-180,180)),RAD(MRANDOM(-18,18))),C3(1,1,1),VT(i,0,i)/3) | |
1275 | Slice("Thin",i,55,ABSOLUTE.CFrame * CF(0,-1.1,0) * ANGLES(RAD(MRANDOM(-180,180)),RAD(MRANDOM(-180,180)),RAD(MRANDOM(-180,180))),C3(1,0,0),VT(0,0,0)) | |
1276 | end | |
1277 | CreateSwirl(ABSOLUTE.Size/2,25,CF(ABSOLUTE.Position),true,-25,BRICKC"Relly red".Color,VT(i,i*2,i)) | |
1278 | CreateSwirl(ABSOLUTE.Size/2,55,CF(ABSOLUTE.Position),true,25,C3(0.05,0.05,0.15),VT(i,i*2,i)) | |
1279 | CreateSound("168586621", ABSOLUTE, 4, 0.8) | |
1280 | CreateSound("201858144", ABSOLUTE, 10, 0.8) | |
1281 | killnearest(ABSOLUTE.Position,i*18,i) | |
1282 | ABSOLUTE.Size = ABSOLUTE.Size*0.9 | |
1283 | MagicSphere(ABSOLUTE.Size,25,CF(ABSOLUTE.Position),BRICKC"Relly red".Color,VT(i,i,i)/1.1) | |
1284 | MagicSphere(ABSOLUTE.Size,45,CF(ABSOLUTE.Position),C3(0.05,0.05,0.15),VT(i,i,i)) | |
1285 | end | |
1286 | ABSOLUTE.Transparency = 1 | |
1287 | Debris:AddItem(ABSOLUTE,10) | |
1288 | end)) | |
1289 | ATTACK = false | |
1290 | Rooted = false | |
1291 | end | |
1292 | end | |
1293 | ||
1294 | function RivalingOverthrower() | |
1295 | if HITFLOOR ~= nil then | |
1296 | if Mouse.Target.Parent ~= Character and Mouse.Target.Parent.Parent ~= Character and Mouse.Target.Parent:FindFirstChildOfClass("Humanoid") ~= nil then | |
1297 | local HITBODY = Mouse.Target.Parent | |
1298 | local TORS = HITBODY:FindFirstChild("Torso") or HITBODY:FindFirstChild("UpperTorso") | |
1299 | local HUMAN = Mouse.Target.Parent:FindFirstChildOfClass("Humanoid") | |
1300 | if TORS ~= nil and HUMAN ~= nil then | |
1301 | ATTACK = true | |
1302 | Rooted = true | |
1303 | TORS.Anchored = true | |
1304 | RootPart.CFrame = TORS.CFrame * CF(0,0,4) | |
1305 | HITFLOOR, HITPOS = Raycast(TORS.Position, (CF(TORS.Position, TORS.Position + VT(0, -1, 0))).lookVector, 4 * TORS.Size.Y/2, HITBODY) | |
1306 | local FLOOR = HITFLOOR | |
1307 | local POS = HITPOS | |
1308 | print(FLOOR) | |
1309 | UNANCHOR = false | |
1310 | RootPart.Anchored = true | |
1311 | CreateSound("1295446488", Torso, 10, 1) | |
1312 | for i=0, 1, 0.1 / Animation_Speed do | |
1313 | Swait() | |
1314 | RootJoint.C0 = Clerp(RootJoint.C0,ROOTC0 * CF(0, 0, 0 + 0.05 * COS(SINE / 12)) * ANGLES(RAD(0), RAD(0), RAD(0)), 2 / Animation_Speed) | |
1315 | Neck.C0 = Clerp(Neck.C0, NECKC0 * CF(0, 0, 0 + ((1) - 1)) * ANGLES(RAD(0 - 2.5 * SIN(SINE / 12)), RAD(0), RAD(0)), 2 / Animation_Speed) | |
1316 | RightShoulder.C0 = Clerp(RightShoulder.C0, CF(1.5, 0.5, 0) * ANGLES(RAD(0), RAD(0), RAD(12)) * RIGHTSHOULDERC0, 2 / Animation_Speed) | |
1317 | LeftShoulder.C0 = Clerp(LeftShoulder.C0, CF(-1.5, 0.5, 0) * ANGLES(RAD(0), RAD(0), RAD(-12)) * LEFTSHOULDERC0, 2 / Animation_Speed) | |
1318 | 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)), 2 / Animation_Speed) | |
1319 | 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)), 2 / Animation_Speed) | |
1320 | end | |
1321 | local TAUNTS = {"907329532","907333294","907329893"} | |
1322 | CreateSound(TAUNTS[MRANDOM(1,#TAUNTS)], Torso, 10, 1) | |
1323 | for i=0, 1, 0.1 / Animation_Speed do | |
1324 | Swait() | |
1325 | RootJoint.C0 = Clerp(RootJoint.C0,ROOTC0 * CF(0, 0, 0 + 0.05 * COS(SINE / 12)) * ANGLES(RAD(0), RAD(0), RAD(-45)), 2 / Animation_Speed) | |
1326 | Neck.C0 = Clerp(Neck.C0, NECKC0 * CF(0, 0, 0 + ((1) - 1)) * ANGLES(RAD(0 - 2.5 * SIN(SINE / 12)), RAD(0), RAD(45)), 2 / Animation_Speed) | |
1327 | RightShoulder.C0 = Clerp(RightShoulder.C0, CF(1.5, 0.5, 0) * ANGLES(RAD(90), RAD(0), RAD(12)) * RIGHTSHOULDERC0, 2 / Animation_Speed) | |
1328 | LeftShoulder.C0 = Clerp(LeftShoulder.C0, CF(-1.5, 0.5, 0) * ANGLES(RAD(0), RAD(0), RAD(-12)) * LEFTSHOULDERC0, 2 / Animation_Speed) | |
1329 | 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)), 2 / Animation_Speed) | |
1330 | 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)), 2 / Animation_Speed) | |
1331 | end | |
1332 | RootPart.CFrame = TORS.CFrame * CF(0,0,2) | |
1333 | CreateSound("260411131", TORS, 10, 1) | |
1334 | TORS.Anchored = false | |
1335 | local WELD = CreateWeldOrSnapOrMotor("Weld", TORS, RightArm, TORS, CF(0,-1,-0.5) * ANGLES(RAD(-90), RAD(0), RAD(0)), CF(0, 0, 0)) | |
1336 | for i=0, 1, 0.1 / Animation_Speed do | |
1337 | Swait() | |
1338 | RootJoint.C0 = Clerp(RootJoint.C0,ROOTC0 * CF(0, 0, 0 + 0.05 * COS(SINE / 12)) * ANGLES(RAD(0), RAD(0), RAD(45)), 2 / Animation_Speed) | |
1339 | Neck.C0 = Clerp(Neck.C0, NECKC0 * CF(0, 0, 0 + ((1) - 1)) * ANGLES(RAD(0 - 2.5 * SIN(SINE / 12)), RAD(0), RAD(-45)), 2 / Animation_Speed) | |
1340 | RightShoulder.C0 = Clerp(RightShoulder.C0, CF(1.5, 0.5, 0) * ANGLES(RAD(150), RAD(0), RAD(12)) * RIGHTSHOULDERC0, 2 / Animation_Speed) | |
1341 | LeftShoulder.C0 = Clerp(LeftShoulder.C0, CF(-1.5, 0.5, 0) * ANGLES(RAD(0), RAD(0), RAD(-12)) * LEFTSHOULDERC0, 2 / Animation_Speed) | |
1342 | 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)), 2 / Animation_Speed) | |
1343 | 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)), 2 / Animation_Speed) | |
1344 | end | |
1345 | for i=0, 2, 0.1 / Animation_Speed do | |
1346 | Swait() | |
1347 | RootJoint.C0 = Clerp(RootJoint.C0, ROOTC0 * CF(0, 0, -1.2) * ANGLES(RAD(65), RAD(0), RAD(0)), 0.2 / Animation_Speed) | |
1348 | Neck.C0 = Clerp(Neck.C0, NECKC0 * CF(0, 0, 0) * ANGLES(RAD(0), RAD(0), RAD(0)), 0.2 / Animation_Speed) | |
1349 | RightShoulder.C0 = Clerp(RightShoulder.C0, CF(1.5, 0.5, 0) * ANGLES(RAD(-40), RAD(0), RAD(20)) * RIGHTSHOULDERC0, 0.2 / Animation_Speed) | |
1350 | LeftShoulder.C0 = Clerp(LeftShoulder.C0, CF(-1.5, 0.5, 0) * ANGLES(RAD(-40), RAD(0), RAD(-20)) * LEFTSHOULDERC0, 0.2 / Animation_Speed) | |
1351 | RightHip.C0 = Clerp(RightHip.C0, CF(1, -0.3, -1) * ANGLES(RAD(0), RAD(90), RAD(0)) * ANGLES(RAD(0), RAD(0), RAD(-20)), 0.2 / Animation_Speed) | |
1352 | LeftHip.C0 = Clerp(LeftHip.C0, CF(-1, -0.3, -1) * ANGLES(RAD(0), RAD(-90), RAD(0)) * ANGLES(RAD(0), RAD(0), RAD(20)), 0.2 / Animation_Speed) | |
1353 | end | |
1354 | for i = 1, 15 do | |
1355 | CreateRing(VT(0,0,0),false,0,25,CF(TORS.Position+VT(0,-3,0))*ANGLES(RAD(90),RAD(0),RAD(0)),"Institutional white",VT(i/5,i/5,0)) | |
1356 | end | |
1357 | WELD:remove() | |
1358 | local grav = Instance.new("BodyPosition",TORS) | |
1359 | grav.P = 20000 | |
1360 | grav.D = 100 | |
1361 | grav.maxForce = Vector3.new(math.huge,math.huge,math.huge) | |
1362 | grav.position = TORS.Position + VT(0,50,0) | |
1363 | grav.Name = "GravityForce" | |
1364 | for i=0, 1, 0.1 / Animation_Speed do | |
1365 | Swait() | |
1366 | RootJoint.C0 = Clerp(RootJoint.C0,ROOTC0 * CF(0, 0, 0 + 0.05 * COS(SINE / 12)) * ANGLES(RAD(-25), RAD(0), RAD(45)), 2 / Animation_Speed) | |
1367 | Neck.C0 = Clerp(Neck.C0, NECKC0 * CF(0, 0, 0 + ((1) - 1)) * ANGLES(RAD(0 - 2.5 * SIN(SINE / 12)), RAD(0), RAD(-45)), 2 / Animation_Speed) | |
1368 | RightShoulder.C0 = Clerp(RightShoulder.C0, CF(1.5, 0.5, 0) * ANGLES(RAD(150), RAD(0), RAD(12)) * RIGHTSHOULDERC0, 2 / Animation_Speed) | |
1369 | LeftShoulder.C0 = Clerp(LeftShoulder.C0, CF(-1.5, 0.5, 0) * ANGLES(RAD(0), RAD(0), RAD(-12)) * LEFTSHOULDERC0, 2 / Animation_Speed) | |
1370 | 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(-25)), 2 / Animation_Speed) | |
1371 | 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(25)), 2 / Animation_Speed) | |
1372 | end | |
1373 | for i=0, 2, 0.1 / Animation_Speed do | |
1374 | Swait() | |
1375 | RootJoint.C0 = Clerp(RootJoint.C0, ROOTC0 * CF(0, 0, -1.2) * ANGLES(RAD(65), RAD(0), RAD(0)), 0.2 / Animation_Speed) | |
1376 | Neck.C0 = Clerp(Neck.C0, NECKC0 * CF(0, 0, 0) * ANGLES(RAD(0), RAD(0), RAD(0)), 0.2 / Animation_Speed) | |
1377 | RightShoulder.C0 = Clerp(RightShoulder.C0, CF(1.5, 0.5, 0) * ANGLES(RAD(-40), RAD(0), RAD(20)) * RIGHTSHOULDERC0, 0.2 / Animation_Speed) | |
1378 | LeftShoulder.C0 = Clerp(LeftShoulder.C0, CF(-1.5, 0.5, 0) * ANGLES(RAD(-40), RAD(0), RAD(-20)) * LEFTSHOULDERC0, 0.2 / Animation_Speed) | |
1379 | RightHip.C0 = Clerp(RightHip.C0, CF(1, -0.3, -1) * ANGLES(RAD(0), RAD(90), RAD(0)) * ANGLES(RAD(0), RAD(0), RAD(-20)), 0.2 / Animation_Speed) | |
1380 | LeftHip.C0 = Clerp(LeftHip.C0, CF(-1, -0.3, -1) * ANGLES(RAD(0), RAD(-90), RAD(0)) * ANGLES(RAD(0), RAD(0), RAD(20)), 0.2 / Animation_Speed) | |
1381 | end | |
1382 | CreateSound("1295446488", Torso, 10, 1) | |
1383 | CreateWave(VT(0,0,0),15,CF(HITPOS),true,2,"Really blue",VT(1,0.1,1)) | |
1384 | RootPart.CFrame = CF(TORS.Position)*CF(0,0,5) | |
1385 | for i=0, 2, 0.1 / Animation_Speed do | |
1386 | Swait() | |
1387 | RootJoint.C0 = Clerp(RootJoint.C0, ROOTC0 * CF(0, 0, 0 ) * ANGLES(RAD(0), RAD(0), RAD(0)), 2 / Animation_Speed) | |
1388 | Neck.C0 = Clerp(Neck.C0, NECKC0 * CF(0, 0 , 0 + ((1) - 1)) * ANGLES(RAD(20), RAD(0), RAD(0)), 2 / Animation_Speed) | |
1389 | RightShoulder.C0 = Clerp(RightShoulder.C0, CF(1.5, 0.5, 0) * ANGLES(RAD(0), RAD(0), RAD(60)) * RIGHTSHOULDERC0, 2 / Animation_Speed) | |
1390 | LeftShoulder.C0 = Clerp(LeftShoulder.C0, CF(-1.5, 0.5, 0) * ANGLES(RAD(0), RAD(0), RAD(-60)) * LEFTSHOULDERC0, 2 / Animation_Speed) | |
1391 | RightHip.C0 = Clerp(RightHip.C0, CF(1, -1, 0) * ANGLES(RAD(0), RAD(90), RAD(0)) * ANGLES(RAD(0), RAD(0), RAD(20)), 2 / Animation_Speed) | |
1392 | LeftHip.C0 = Clerp(LeftHip.C0, CF(-1, -1, 0) * ANGLES(RAD(0), RAD(-90), RAD(0)) * ANGLES(RAD(0), RAD(0), RAD(10)), 2 / Animation_Speed) | |
1393 | end | |
1394 | VanishPlayer() | |
1395 | for i = 1, 50+(25*POWERLEVEL) do | |
1396 | Swait() | |
1397 | CreateRing(VT(0,0,0),false,0,25,TORS.CFrame*ANGLES(RAD(MRANDOM(-180,180)),RAD(MRANDOM(-180,180)),RAD(MRANDOM(-180,180))),"Institutional white",VT(POWERLEVEL/3,POWERLEVEL/3,0)) | |
1398 | CreateSound(HITWEAPONSOUNDS[MRANDOM(1,#HITWEAPONSOUNDS)], TORS, 10, 1) | |
1399 | local CFRAME = CF(TORS.Position)*ANGLES(RAD(MRANDOM(-180,180)),RAD(MRANDOM(-180,180)),RAD(MRANDOM(-180,180))) | |
1400 | MagicSphere(VT(0,0,0),15,CFRAME,"Really blue",VT(0.1,0.1,POWERLEVEL*5)) | |
1401 | MagicSphere(VT(0.1,0.1,0.1),15,CFRAME,"Crimson",VT(0.1,0.1,POWERLEVEL*5)) | |
1402 | end | |
1403 | RootPart.CFrame = CF(TORS.Position)*CF(0,15,1) | |
1404 | Reappear() | |
1405 | for i=0, 2, 0.1 / Animation_Speed do | |
1406 | Swait() | |
1407 | RootJoint.C0 = Clerp(RootJoint.C0, ROOTC0 * CF(0, 0, -1.2) * ANGLES(RAD(-5), RAD(0), RAD(0)), 0.2 / Animation_Speed) | |
1408 | Neck.C0 = Clerp(Neck.C0, NECKC0 * CF(0, 0, 0) * ANGLES(RAD(0), RAD(0), RAD(0)), 0.2 / Animation_Speed) | |
1409 | RightShoulder.C0 = Clerp(RightShoulder.C0, CF(1.5, 0.5, -0.5) * ANGLES(RAD(160), RAD(0), RAD(-20)) * RIGHTSHOULDERC0, 0.2 / Animation_Speed) | |
1410 | LeftShoulder.C0 = Clerp(LeftShoulder.C0, CF(-1.5, 0.5, -0.5) * ANGLES(RAD(160), RAD(0), RAD(20)) * LEFTSHOULDERC0, 0.2 / Animation_Speed) | |
1411 | RightHip.C0 = Clerp(RightHip.C0, CF(1, -1, 0) * ANGLES(RAD(0), RAD(90), RAD(0)) * ANGLES(RAD(0), RAD(0), RAD(0)), 0.2 / Animation_Speed) | |
1412 | LeftHip.C0 = Clerp(LeftHip.C0, CF(-1, -1, 0) * ANGLES(RAD(0), RAD(-90), RAD(0)) * ANGLES(RAD(0), RAD(0), RAD(0)), 0.2 / Animation_Speed) | |
1413 | end | |
1414 | for i = 1, 15 do | |
1415 | CreateRing(VT(0,0,0),false,0,25,CF(TORS.Position+VT(0,3,0))*ANGLES(RAD(90),RAD(0),RAD(0)),"Institutional white",VT(i/5,i/5,0)) | |
1416 | end | |
1417 | RootPart.CFrame = CF(TORS.Position)*CF(0,5,1) | |
1418 | grav.Position = POS | |
1419 | CreateDebreeRing(FLOOR,POS,6*POWERLEVEL,VT(6,6,6)*POWERLEVEL,10) | |
1420 | CreateFlyingDebree(FLOOR,CF(POS),25,VT(4,4,4)*POWERLEVEL,10,50*POWERLEVEL) | |
1421 | CreateSound("289842971", TORS, 3, 1) | |
1422 | MagicSphere(VT(0,0,0),35,CF(POS),"Black",VT(POWERLEVEL/2,POWERLEVEL/2,POWERLEVEL/2)) | |
1423 | MagicSphere(VT(0.1,0.1,0.1),35,CF(POS),"New yeller",VT(POWERLEVEL/2,POWERLEVEL/2,POWERLEVEL/2)) | |
1424 | killnearest(POS,POWERLEVEL*10,5) | |
1425 | if POWERLEVEL > 3 then | |
1426 | MagicSphere(VT(0.1,500,0.1),15,CF(POS),"Institutional white",VT(POWERLEVEL,0,POWERLEVEL)) | |
1427 | end | |
1428 | CreateWave(VT(0,0,0),15,CF(POS),true,2,"Really black",VT(POWERLEVEL*2,0.1,POWERLEVEL*2)) | |
1429 | for i=0, 1, 0.1 / Animation_Speed do | |
1430 | Swait() | |
1431 | RootJoint.C0 = Clerp(RootJoint.C0, ROOTC0 * CF(0, 0, -1.2) * ANGLES(RAD(45), RAD(0), RAD(0)), 3 / Animation_Speed) | |
1432 | Neck.C0 = Clerp(Neck.C0, NECKC0 * CF(0, 0, 0) * ANGLES(RAD(0), RAD(0), RAD(0)), 3 / Animation_Speed) | |
1433 | RightShoulder.C0 = Clerp(RightShoulder.C0, CF(1, 0.5, -1) * ANGLES(RAD(25), RAD(0), RAD(-20)) * RIGHTSHOULDERC0, 3 / Animation_Speed) | |
1434 | LeftShoulder.C0 = Clerp(LeftShoulder.C0, CF(-1, 0.5, -1) * ANGLES(RAD(25), RAD(0), RAD(20)) * LEFTSHOULDERC0, 3 / Animation_Speed) | |
1435 | RightHip.C0 = Clerp(RightHip.C0, CF(1, -1, 0) * ANGLES(RAD(0), RAD(90), RAD(0)) * ANGLES(RAD(0), RAD(0), RAD(0)), 3 / Animation_Speed) | |
1436 | LeftHip.C0 = Clerp(LeftHip.C0, CF(-1, -1, 0) * ANGLES(RAD(0), RAD(-90), RAD(0)) * ANGLES(RAD(0), RAD(0), RAD(0)), 3 / Animation_Speed) | |
1437 | end | |
1438 | HITBODY:BreakJoints() | |
1439 | grav:remove() | |
1440 | ATTACK = false | |
1441 | Rooted = false | |
1442 | UNANCHOR = true | |
1443 | RootPart.Anchored = false | |
1444 | if POWERLEVEL > 1 then | |
1445 | POWERLEVEL = POWERLEVEL - 1 | |
1446 | end | |
1447 | end | |
1448 | end | |
1449 | end | |
1450 | end | |
1451 | ||
1452 | function ChunkChuck() | |
1453 | if HITFLOOR ~= nil then | |
1454 | ATTACK = true | |
1455 | Rooted = true | |
1456 | CreateSound("305685800", Head, 10, 1) | |
1457 | for i=0, 1, 0.1 / Animation_Speed do | |
1458 | Swait() | |
1459 | RootJoint.C0 = Clerp(RootJoint.C0,ROOTC0 * CF(0, 0, 0 + 0.05 * COS(SINE / 12)) * ANGLES(RAD(-25), RAD(0), RAD(0)), 2 / Animation_Speed) | |
1460 | Neck.C0 = Clerp(Neck.C0, NECKC0 * CF(0, 0, 0 + ((1) - 1)) * ANGLES(RAD(0 - 2.5 * SIN(SINE / 12)), RAD(0), RAD(0)), 2 / Animation_Speed) | |
1461 | RightShoulder.C0 = Clerp(RightShoulder.C0, CF(1.5, 0.5, 0) * ANGLES(RAD(0), RAD(0), RAD(12)) * RIGHTSHOULDERC0, 2 / Animation_Speed) | |
1462 | LeftShoulder.C0 = Clerp(LeftShoulder.C0, CF(-1.5, 0.5, 0) * ANGLES(RAD(0), RAD(0), RAD(-12)) * LEFTSHOULDERC0, 2 / Animation_Speed) | |
1463 | 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(-25)), 2 / Animation_Speed) | |
1464 | 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(25)), 2 / Animation_Speed) | |
1465 | end | |
1466 | for i=0, 1, 0.1 / Animation_Speed do | |
1467 | Swait() | |
1468 | RootJoint.C0 = Clerp(RootJoint.C0,ROOTC0 * CF(0, -0.75, -0.75 + 0.05 * COS(SINE / 12)) * ANGLES(RAD(65), RAD(0), RAD(0)), 2 / Animation_Speed) | |
1469 | Neck.C0 = Clerp(Neck.C0, NECKC0 * CF(0, 0, 0 + ((1) - 1)) * ANGLES(RAD(0 - 2.5 * SIN(SINE / 12)), RAD(0), RAD(0)), 2 / Animation_Speed) | |
1470 | RightShoulder.C0 = Clerp(RightShoulder.C0, CF(1, 0.5, -1) * ANGLES(RAD(65), RAD(0), RAD(0)) * RIGHTSHOULDERC0, 2 / Animation_Speed) | |
1471 | LeftShoulder.C0 = Clerp(LeftShoulder.C0, CF(-1, 0.5, -1) * ANGLES(RAD(65), RAD(0), RAD(0)) * LEFTSHOULDERC0, 2 / Animation_Speed) | |
1472 | 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(65)), 2 / Animation_Speed) | |
1473 | 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(-65)), 2 / Animation_Speed) | |
1474 | end | |
1475 | CreateDebreeRing(HITFLOOR,HITPOS,3*POWERLEVEL,VT(2,2,2)*POWERLEVEL,3) | |
1476 | CreateFlyingDebree(HITFLOOR,CF(HITPOS),25,VT(2,2,2)*POWERLEVEL,3,50*POWERLEVEL) | |
1477 | local CHUNK = CreatePart(3, Effects, "Neon", 0, 0, "Peal", "Debree", VT(5,5,5)*POWERLEVEL/1.5) | |
1478 | CHUNK.Color = HITFLOOR.Color | |
1479 | CHUNK.Material = HITFLOOR.Material | |
1480 | CHUNK.CFrame = Torso.CFrame*CF(0,0,-3*POWERLEVEL) | |
1481 | CreateSound("260411131", CHUNK, 10, 1) | |
1482 | CreateSound("289842971", Torso, 3, 1) | |
1483 | repeat | |
1484 | Swait() | |
1485 | CHUNK.CFrame = Torso.CFrame*CF(0,2+(2*POWERLEVEL),0) | |
1486 | turnto(Mouse.Hit.p) | |
1487 | RootJoint.C0 = Clerp(RootJoint.C0,ROOTC0 * CF(0, 0, 0 + 0.05 * COS(SINE / 12)) * ANGLES(RAD(0), RAD(0), RAD(0)), 2 / Animation_Speed) | |
1488 | Neck.C0 = Clerp(Neck.C0, NECKC0 * CF(0, 0, 0 + ((1) - 1)) * ANGLES(RAD(0 - 2.5 * SIN(SINE / 12)), RAD(0), RAD(0)), 2 / Animation_Speed) | |
1489 | RightShoulder.C0 = Clerp(RightShoulder.C0, CF(1.5, 0.5, 0) * ANGLES(RAD(170), RAD(0), RAD(12)) * RIGHTSHOULDERC0, 2 / Animation_Speed) | |
1490 | LeftShoulder.C0 = Clerp(LeftShoulder.C0, CF(-1.5, 0.5, 0) * ANGLES(RAD(170), RAD(0), RAD(-12)) * LEFTSHOULDERC0, 2 / Animation_Speed) | |
1491 | 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)), 2 / Animation_Speed) | |
1492 | 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)), 2 / Animation_Speed) | |
1493 | until HOLD == true | |
1494 | for i=0, 1, 0.1 / Animation_Speed do | |
1495 | Swait() | |
1496 | CHUNK.CFrame = Torso.CFrame*CF(0,2+(2*POWERLEVEL),0) | |
1497 | RootJoint.C0 = Clerp(RootJoint.C0,ROOTC0 * CF(0, 0, 0 + 0.05 * COS(SINE / 12)) * ANGLES(RAD(-25), RAD(0), RAD(0)), 2 / Animation_Speed) | |
1498 | Neck.C0 = Clerp(Neck.C0, NECKC0 * CF(0, 0, 0 + ((1) - 1)) * ANGLES(RAD(0 - 2.5 * SIN(SINE / 12)), RAD(0), RAD(0)), 2 / Animation_Speed) | |
1499 | RightShoulder.C0 = Clerp(RightShoulder.C0, CF(1.5, 0.5, 0) * ANGLES(RAD(170), RAD(0), RAD(12)) * RIGHTSHOULDERC0, 2 / Animation_Speed) | |
1500 | LeftShoulder.C0 = Clerp(LeftShoulder.C0, CF(-1.5, 0.5, 0) * ANGLES(RAD(170), RAD(0), RAD(-12)) * LEFTSHOULDERC0, 2 / Animation_Speed) | |
1501 | 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(-25)), 2 / Animation_Speed) | |
1502 | 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(25)), 2 / Animation_Speed) | |
1503 | end | |
1504 | CHUNK.CanCollide = true | |
1505 | CHUNK.Anchored = false | |
1506 | CHUNK.CFrame = RootPart.CFrame*CF(0,0,-1*POWERLEVEL) | |
1507 | for i = 1, 25 do | |
1508 | CreateRing(VT(0,0,0),false,0,15,RootPart.CFrame*CF(0,0,-3)*ANGLES(RAD(0),RAD(0),RAD(0)),"Black",VT((POWERLEVEL/3)/i,(POWERLEVEL/3)/i,0)) | |
1509 | end | |
1510 | local bv = Instance.new("BodyVelocity") | |
1511 | bv.maxForce = Vector3.new(1e9, 1e9, 1e9) | |
1512 | bv.velocity = RootPart.CFrame.lookVector*400 | |
1513 | bv.Parent = CHUNK | |
1514 | local HIT = CHUNK.Touched:Connect(function(hit) | |
1515 | if hit.Parent ~= workspace and hit.Parent ~= Character and hit.Parent.ClassName == "Model" then | |
1516 | hit.Parent:BreakJoints() | |
1517 | end | |
1518 | end) | |
1519 | CreateSound("138079201", CHUNK, 10, 1) | |
1520 | Debris:AddItem(CHUNK,5) | |
1521 | for i=0, 1, 0.1 / Animation_Speed do | |
1522 | Swait() | |
1523 | RootJoint.C0 = Clerp(RootJoint.C0,ROOTC0 * CF(0, 0, 0 + 0.05 * COS(SINE / 12)) * ANGLES(RAD(25), RAD(0), RAD(0)), 2 / Animation_Speed) | |
1524 | Neck.C0 = Clerp(Neck.C0, NECKC0 * CF(0, 0, 0 + ((1) - 1)) * ANGLES(RAD(0 - 2.5 * SIN(SINE / 12)), RAD(0), RAD(0)), 2 / Animation_Speed) | |
1525 | RightShoulder.C0 = Clerp(RightShoulder.C0, CF(1.5, 0.5, 0) * ANGLES(RAD(115), RAD(0), RAD(0)) * RIGHTSHOULDERC0, 2 / Animation_Speed) | |
1526 | LeftShoulder.C0 = Clerp(LeftShoulder.C0, CF(-1.5, 0.5, 0) * ANGLES(RAD(115), RAD(0), RAD(0)) * LEFTSHOULDERC0, 2 / Animation_Speed) | |
1527 | 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(25)), 2 / Animation_Speed) | |
1528 | 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(-25)), 2 / Animation_Speed) | |
1529 | end | |
1530 | ATTACK = false | |
1531 | Rooted = false | |
1532 | if POWERLEVEL > 1 then | |
1533 | POWERLEVEL = POWERLEVEL - 1 | |
1534 | end | |
1535 | end | |
1536 | end | |
1537 | ||
1538 | function Boost() | |
1539 | ATTACK = true | |
1540 | Rooted = true | |
1541 | CreateSound("466493476", Torso, 10, MRANDOM(7, 12) / 10) | |
1542 | for i = 1, 50 do | |
1543 | Swait() | |
1544 | CreateRing(VT(0,0,0),false,0,5,RootPart.CFrame*ANGLES(RAD(0),RAD(90),RAD(0)),"Really blue",VT(i/5,i/5,0)) | |
1545 | CreateRing(VT(0,0,0),false,0,5,RootPart.CFrame*ANGLES(RAD(0),RAD(0),RAD(0)),"Black",VT(i/5,i/5,0)) | |
1546 | CreateRing(VT(0,0,0),false,0,25,RootPart.CFrame*ANGLES(RAD(MRANDOM(-180,180)),RAD(MRANDOM(-180,180)),RAD(MRANDOM(-180,180))),"Institutional white",VT(i/3,i/3,0)) | |
1547 | RootJoint.C0 = Clerp(RootJoint.C0,ROOTC0 * CF(0, 0, -0.3 + 0.05 * COS(SINE / 12)) * ANGLES(RAD(25), RAD(0), RAD(0 - 2.5 * SIN(SINE / 12))), 3 / Animation_Speed) | |
1548 | Neck.C0 = Clerp(Neck.C0, NECKC0 * CF(0, 0, 0 + ((1) - 1)) * ANGLES(RAD(25 - 2.5 * SIN(SINE / 12)), RAD(0), RAD(0 + 2.5 * SIN(SINE / 12))), 3 / Animation_Speed) | |
1549 | RightShoulder.C0 = Clerp(RightShoulder.C0, CF(1.15, 0, -0.5) * ANGLES(RAD(140 + 2.5 * SIN(SINE / 12)), RAD(15), RAD(0)) * RIGHTSHOULDERC0, 3 / Animation_Speed) | |
1550 | LeftShoulder.C0 = Clerp(LeftShoulder.C0, CF(-1.15, 0, -0.5) * ANGLES(RAD(140 + 2.5 * SIN(SINE / 12)), RAD(-15), RAD(0)) * LEFTSHOULDERC0, 3 / Animation_Speed) | |
1551 | 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(-25 - 2.5 * SIN(SINE / 12))), 3 / Animation_Speed) | |
1552 | 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(-45 - 2.5 * SIN(SINE / 12))), 3 / Animation_Speed) | |
1553 | end | |
1554 | POWERLEVEL = POWERLEVEL + 1 | |
1555 | ATTACK = false | |
1556 | Rooted = false | |
1557 | end | |
1558 | ||
1559 | function XEvent() | |
1560 | if HITFLOOR ~= nil then | |
1561 | VALUE2 = false | |
1562 | CreateSound("907332670", Effects, 10, 1) | |
1563 | local POS = HITPOS | |
1564 | local FLOOR = HITFLOOR | |
1565 | local STARTPOS = RootPart.CFrame | |
1566 | ATTACK = true | |
1567 | Rooted = true | |
1568 | for i=0, 2, 0.1 / Animation_Speed do | |
1569 | Swait() | |
1570 | RootJoint.C0 = Clerp(RootJoint.C0, ROOTC0 * CF(0, 0, -1.2) * ANGLES(RAD(65), RAD(0), RAD(0)), 0.2 / Animation_Speed) | |
1571 | Neck.C0 = Clerp(Neck.C0, NECKC0 * CF(0, 0, 0) * ANGLES(RAD(0), RAD(0), RAD(0)), 0.2 / Animation_Speed) | |
1572 | RightShoulder.C0 = Clerp(RightShoulder.C0, CF(1.5, 0.5, 0) * ANGLES(RAD(-40), RAD(0), RAD(20)) * RIGHTSHOULDERC0, 0.2 / Animation_Speed) | |
1573 | LeftShoulder.C0 = Clerp(LeftShoulder.C0, CF(-1.5, 0.5, 0) * ANGLES(RAD(-40), RAD(0), RAD(-20)) * LEFTSHOULDERC0, 0.2 / Animation_Speed) | |
1574 | RightHip.C0 = Clerp(RightHip.C0, CF(1, -0.3, -1) * ANGLES(RAD(0), RAD(90), RAD(0)) * ANGLES(RAD(0), RAD(0), RAD(-20)), 0.2 / Animation_Speed) | |
1575 | LeftHip.C0 = Clerp(LeftHip.C0, CF(-1, -0.3, -1) * ANGLES(RAD(0), RAD(-90), RAD(0)) * ANGLES(RAD(0), RAD(0), RAD(20)), 0.2 / Animation_Speed) | |
1576 | end | |
1577 | UNANCHOR = false | |
1578 | RootPart.Anchored = true | |
1579 | CreateSound("1295446488", Effects, 10, 1) | |
1580 | RootPart.CFrame = RootPart.CFrame*CF(0,100+(150*POWERLEVEL),0) | |
1581 | for i=0, 1, 0.1 / Animation_Speed do | |
1582 | Swait() | |
1583 | RootJoint.C0 = Clerp(RootJoint.C0,ROOTC0 * CF(0, 0, 0 + 0.05 * COS(SINE / 12)) * ANGLES(RAD(-25), RAD(0), RAD(0)), 2 / Animation_Speed) | |
1584 | Neck.C0 = Clerp(Neck.C0, NECKC0 * CF(0, 0, 0 + ((1) - 1)) * ANGLES(RAD(0 - 2.5 * SIN(SINE / 12)), RAD(0), RAD(0)), 2 / Animation_Speed) | |
1585 | RightShoulder.C0 = Clerp(RightShoulder.C0, CF(1.5, 0.5, 0) * ANGLES(RAD(0), RAD(0), RAD(45)) * RIGHTSHOULDERC0, 2 / Animation_Speed) | |
1586 | LeftShoulder.C0 = Clerp(LeftShoulder.C0, CF(-1.5, 0.5, 0) * ANGLES(RAD(0), RAD(0), RAD(-45)) * LEFTSHOULDERC0, 2 / Animation_Speed) | |
1587 | 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(-25)), 2 / Animation_Speed) | |
1588 | 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(25)), 2 / Animation_Speed) | |
1589 | end | |
1590 | CreateSound("289315275", Effects, 10, 1) | |
1591 | for i=0, 5, 0.1 / Animation_Speed do | |
1592 | Swait() | |
1593 | CreateRing(VT(0,0,0),false,0,25,RootPart.CFrame*CF(0,5,0)*ANGLES(RAD(MRANDOM(-180,180)),RAD(MRANDOM(-180,180)),RAD(MRANDOM(-180,180))),"Crimson",VT(POWERLEVEL/1.2,POWERLEVEL/1.2,0)) | |
1594 | CreateRing(VT(0,0,0),false,0,25,RootPart.CFrame*CF(0,5,0)*ANGLES(RAD(MRANDOM(-180,180)),RAD(MRANDOM(-180,180)),RAD(MRANDOM(-180,180))),"Crimson",VT(POWERLEVEL,POWERLEVEL,0)) | |
1595 | RootJoint.C0 = Clerp(RootJoint.C0,ROOTC0 * CF(0, 0, 0 + 0.05 * COS(SINE / 12)) * ANGLES(RAD(-25), RAD(0), RAD(45)), 2 / Animation_Speed) | |
1596 | Neck.C0 = Clerp(Neck.C0, NECKC0 * CF(0, 0, 0 + ((1) - 1)) * ANGLES(RAD(0 - 2.5 * SIN(SINE / 12)), RAD(0), RAD(-45)), 2 / Animation_Speed) | |
1597 | RightShoulder.C0 = Clerp(RightShoulder.C0, CF(1.5, 0.5, 0) * ANGLES(RAD(150), RAD(0), RAD(12)) * RIGHTSHOULDERC0, 2 / Animation_Speed) | |
1598 | LeftShoulder.C0 = Clerp(LeftShoulder.C0, CF(-1.5, 0.5, 0) * ANGLES(RAD(0), RAD(0), RAD(-12)) * LEFTSHOULDERC0, 2 / Animation_Speed) | |
1599 | 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(-25)), 2 / Animation_Speed) | |
1600 | 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(25)), 2 / Animation_Speed) | |
1601 | end | |
1602 | CreateSound("260411131", Effects, 3, 1) | |
1603 | for i=0, 1, 0.1 / Animation_Speed do | |
1604 | Swait() | |
1605 | CreateRing(VT(0,0,0),false,0,25,RightArm.CFrame*CF(0,-1.5,0)*ANGLES(RAD(MRANDOM(-180,180)),RAD(MRANDOM(-180,180)),RAD(MRANDOM(-180,180))),"Crimson",VT(POWERLEVEL/5,POWERLEVEL/5,0)) | |
1606 | CreateRing(VT(0,0,0),false,0,25,RightArm.CFrame*CF(0,-1.5,0)*ANGLES(RAD(MRANDOM(-180,180)),RAD(MRANDOM(-180,180)),RAD(MRANDOM(-180,180))),"Crimson",VT(POWERLEVEL/4,POWERLEVEL/4,0)) | |
1607 | RootJoint.C0 = Clerp(RootJoint.C0,ROOTC0 * CF(0, 0, 0 + 0.05 * COS(SINE / 12)) * ANGLES(RAD(0), RAD(0), RAD(0)), 2 / Animation_Speed) | |
1608 | Neck.C0 = Clerp(Neck.C0, NECKC0 * CF(0, 0, 0 + ((1) - 1)) * ANGLES(RAD(0 - 2.5 * SIN(SINE / 12)), RAD(0), RAD(-25)), 2 / Animation_Speed) | |
1609 | RightShoulder.C0 = Clerp(RightShoulder.C0, CF(1.75, 0.5, -1) * ANGLES(RAD(0), RAD(0), RAD(-90)) * RIGHTSHOULDERC0, 2 / Animation_Speed) | |
1610 | LeftShoulder.C0 = Clerp(LeftShoulder.C0, CF(-1.5, 0.5, 0) * ANGLES(RAD(0), RAD(0), RAD(-12)) * LEFTSHOULDERC0, 2 / Animation_Speed) | |
1611 | 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(-25)), 2 / Animation_Speed) | |
1612 | 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(25)), 2 / Animation_Speed) | |
1613 | end | |
1614 | for i=0, 0.3, 0.1 / Animation_Speed do | |
1615 | Swait() | |
1616 | CreateRing(VT(0,0,0),false,0,25,RightArm.CFrame*CF(0,-1.5,0)*ANGLES(RAD(MRANDOM(-180,180)),RAD(MRANDOM(-180,180)),RAD(MRANDOM(-180,180))),"Black",VT(POWERLEVEL/5,POWERLEVEL/5,0)) | |
1617 | CreateRing(VT(0,0,0),false,0,25,RightArm.CFrame*CF(0,-1.5,0)*ANGLES(RAD(MRANDOM(-180,180)),RAD(MRANDOM(-180,180)),RAD(MRANDOM(-180,180))),"Black",VT(POWERLEVEL/4,POWERLEVEL/4,0)) | |
1618 | RootJoint.C0 = Clerp(RootJoint.C0,ROOTC0 * CF(0, 0, 0 + 0.05 * COS(SINE / 12)) * ANGLES(RAD(0), RAD(0), RAD(0)), 2 / Animation_Speed) | |
1619 | Neck.C0 = Clerp(Neck.C0, NECKC0 * CF(0, 0, 0 + ((1) - 1)) * ANGLES(RAD(-45 - 2.5 * SIN(SINE / 12)), RAD(0), RAD(-25)), 2 / Animation_Speed) | |
1620 | RightShoulder.C0 = Clerp(RightShoulder.C0, CF(1.5, 0.5, 0) * ANGLES(RAD(170), RAD(0), RAD(0)) * RIGHTSHOULDERC0, 2 / Animation_Speed) | |
1621 | LeftShoulder.C0 = Clerp(LeftShoulder.C0, CF(-1.5, 0.5, 0) * ANGLES(RAD(0), RAD(0), RAD(-12)) * LEFTSHOULDERC0, 2 / Animation_Speed) | |
1622 | 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(-25)), 2 / Animation_Speed) | |
1623 | 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(25)), 2 / Animation_Speed) | |
1624 | end | |
1625 | for i=0, 0.3, 0.1 / Animation_Speed do | |
1626 | Swait() | |
1627 | CreateRing(VT(0,0,0),false,0,25,RightArm.CFrame*CF(0,-1.5,0)*ANGLES(RAD(MRANDOM(-180,180)),RAD(MRANDOM(-180,180)),RAD(MRANDOM(-180,180))),"Really blue",VT(POWERLEVEL/4,POWERLEVEL/4,0)) | |
1628 | CreateRing(VT(0,0,0),false,0,25,RightArm.CFrame*CF(0,-1.5,0)*ANGLES(RAD(MRANDOM(-180,180)),RAD(MRANDOM(-180,180)),RAD(MRANDOM(-180,180))),"Really blue",VT(POWERLEVEL/3,POWERLEVEL/3,0)) | |
1629 | RootJoint.C0 = Clerp(RootJoint.C0,ROOTC0 * CF(0, 0, 0) * ANGLES(RAD(75), RAD(0), RAD(45)), 2 / Animation_Speed) | |
1630 | Neck.C0 = Clerp(Neck.C0, NECKC0 * CF(0, 0, 0 + ((1) - 1)) * ANGLES(RAD(-15 - 2.5 * SIN(SINE / 12)), RAD(0), RAD(-45)), 2 / Animation_Speed) | |
1631 | RightShoulder.C0 = Clerp(RightShoulder.C0, CF(1.15, 0.5, -1) * ANGLES(RAD(90), RAD(0), RAD(45)) * RIGHTSHOULDERC0, 2 / Animation_Speed) | |
1632 | LeftShoulder.C0 = Clerp(LeftShoulder.C0, CF(-1.5, 0.5, 0) * ANGLES(RAD(0), RAD(0), RAD(-12)) * LEFTSHOULDERC0, 2 / Animation_Speed) | |
1633 | 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(-25)), 2 / Animation_Speed) | |
1634 | 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(25)), 2 / Animation_Speed) | |
1635 | end | |
1636 | local BURNMARKS = {} | |
1637 | local DEATHRAY1 = CreatePart(3, Effects, "Neon", 0, 0.5, "New yeller", "RAY", VT(0,0,0)) | |
1638 | MakeForm(DEATHRAY1,"Cyl") | |
1639 | local DEATHRAY2 = CreatePart(3, Effects, "Neon", 0, 0, "New yeller", "RAY", VT(0,0,0)) | |
1640 | MakeForm(DEATHRAY2,"Cyl") | |
1641 | local loopsound = CreateSound("487214658", Effects, 4, 1, true) | |
1642 | local AMOUNT = POWERLEVEL * 25 | |
1643 | for i = 1, POWERLEVEL * 50 do | |
1644 | Swait() | |
1645 | MagicSphere(VT(POWERLEVEL,POWERLEVEL,POWERLEVEL)*2,35,RightArm.CFrame*CF(0,-2,0),"Black",VT(0,0,0)) | |
1646 | CreateRing(VT(0,0,0),false,0,25,RightArm.CFrame*CF(0,-1.5,0)*ANGLES(RAD(MRANDOM(-180,180)),RAD(MRANDOM(-180,180)),RAD(MRANDOM(-180,180))),"Black",VT(POWERLEVEL/4,POWERLEVEL/4,0)) | |
1647 | CreateRing(VT(0,0,0),false,0,25,RightArm.CFrame*CF(0,-1.5,0)*ANGLES(RAD(MRANDOM(-180,180)),RAD(MRANDOM(-180,180)),RAD(MRANDOM(-180,180))),"Black",VT(POWERLEVEL/3,POWERLEVEL/3,0)) | |
1648 | local MARK = CreatePart(3, Effects, "Neon", 0, 0, "Institutional white", "BurnMark", VT(POWERLEVEL,0,POWERLEVEL)*2) | |
1649 | MARK.CFrame = CF(POS+VT(AMOUNT,0,AMOUNT)) | |
1650 | table.insert(BURNMARKS,MARK) | |
1651 | MakeForm(MARK,"Cyl") | |
1652 | CreateRing(VT(0,0,0),false,0,25,CF(POS+VT(AMOUNT,0,AMOUNT))*ANGLES(RAD(MRANDOM(-180,180)),RAD(MRANDOM(-180,180)),RAD(MRANDOM(-180,180))),"New yeller",VT(POWERLEVEL/5,POWERLEVEL/5,0)) | |
1653 | CreateRing(VT(0,0,0),false,0,25,CF(POS+VT(AMOUNT,0,AMOUNT))*ANGLES(RAD(MRANDOM(-180,180)),RAD(MRANDOM(-180,180)),RAD(MRANDOM(-180,180))),"New yeller",VT(POWERLEVEL/4,POWERLEVEL/4,0)) | |
1654 | local distance = (RightArm.CFrame*CF(0,-2,0).p - POS+VT(AMOUNT,0,AMOUNT)).magnitude | |
1655 | DEATHRAY1.Size = Vector3.new(POWERLEVEL, distance, POWERLEVEL) | |
1656 | DEATHRAY1.CFrame = CFrame.new(RightArm.CFrame*CF(0,-2,0).p,POS+VT(AMOUNT,0,AMOUNT)) * CFrame.new(0, 0, -distance/2) * ANGLES(RAD(90),RAD(0),RAD(0)) | |
1657 | DEATHRAY2.Size = Vector3.new(POWERLEVEL+0.1, distance, POWERLEVEL+0.1) | |
1658 | DEATHRAY2.CFrame = CFrame.new(RightArm.CFrame*CF(0,-2,0).p,POS+VT(AMOUNT,0,AMOUNT)) * CFrame.new(0, 0, -distance/2) * ANGLES(RAD(90),RAD(0),RAD(0)) | |
1659 | AMOUNT = AMOUNT - 1 | |
1660 | end | |
1661 | local AMOUNT = POWERLEVEL * 25 | |
1662 | for i = 1, POWERLEVEL * 50 do | |
1663 | Swait() | |
1664 | MagicSphere(VT(POWERLEVEL,POWERLEVEL,POWERLEVEL)*2,35,RightArm.CFrame*CF(0,-2,0),"Institutional white",VT(0,0,0)) | |
1665 | CreateRing(VT(0,0,0),false,0,25,RightArm.CFrame*CF(0,-1.5,0)*ANGLES(RAD(MRANDOM(-180,180)),RAD(MRANDOM(-180,180)),RAD(MRANDOM(-180,180))),"Hot pink",VT(POWERLEVEL/4,POWERLEVEL/4,0)) | |
1666 | CreateRing(VT(0,0,0),false,0,25,RightArm.CFrame*CF(0,-1.5,0)*ANGLES(RAD(MRANDOM(-180,180)),RAD(MRANDOM(-180,180)),RAD(MRANDOM(-180,180))),"Institutional red",VT(POWERLEVEL/3,POWERLEVEL/3,0)) | |
1667 | local MARK = CreatePart(3, Effects, "Neon", 0, 0, "Institutional white", "BurnMark", VT(POWERLEVEL,0,POWERLEVEL)*2) | |
1668 | MARK.CFrame = CF(POS+VT(AMOUNT,0,-AMOUNT)) | |
1669 | table.insert(BURNMARKS,MARK) | |
1670 | MakeForm(MARK,"Cyl") | |
1671 | CreateRing(VT(0,0,0),false,0,25,CF(POS+VT(AMOUNT,0,-AMOUNT))*ANGLES(RAD(MRANDOM(-180,180)),RAD(MRANDOM(-180,180)),RAD(MRANDOM(-180,180))),"Hot pink",VT(POWERLEVEL/5,POWERLEVEL/5,0)) | |
1672 | CreateRing(VT(0,0,0),false,0,25,CF(POS+VT(AMOUNT,0,-AMOUNT))*ANGLES(RAD(MRANDOM(-180,180)),RAD(MRANDOM(-180,180)),RAD(MRANDOM(-180,180))),"Hot pink",VT(POWERLEVEL/4,POWERLEVEL/4,0)) | |
1673 | local distance = (RightArm.CFrame*CF(0,-2,0).p - POS+VT(AMOUNT,0,-AMOUNT)).magnitude | |
1674 | DEATHRAY1.Size = Vector3.new(POWERLEVEL, distance, POWERLEVEL) | |
1675 | DEATHRAY1.CFrame = CFrame.new(RightArm.CFrame*CF(0,-2,0).p,POS+VT(AMOUNT,0,-AMOUNT)) * CFrame.new(0, 0, -distance/2) * ANGLES(RAD(90),RAD(0),RAD(0)) | |
1676 | DEATHRAY2.Size = Vector3.new(POWERLEVEL+0.1, distance, POWERLEVEL+0.1) | |
1677 | DEATHRAY2.CFrame = CFrame.new(RightArm.CFrame*CF(0,-2,0).p,POS+VT(AMOUNT,0,-AMOUNT)) * CFrame.new(0, 0, -distance/2) * ANGLES(RAD(90),RAD(0),RAD(0)) | |
1678 | AMOUNT = AMOUNT - 1 | |
1679 | end | |
1680 | DEATHRAY1:remove() | |
1681 | DEATHRAY2:remove() | |
1682 | loopsound:remove() | |
1683 | for i=0, 1, 0.1 / Animation_Speed do | |
1684 | Swait() | |
1685 | RootJoint.C0 = Clerp(RootJoint.C0, ROOTC0 * CF(0, 0, -1.2) * ANGLES(RAD(-65), RAD(0), RAD(0)), 0.2 / Animation_Speed) | |
1686 | Neck.C0 = Clerp(Neck.C0, NECKC0 * CF(0, 0, 0) * ANGLES(RAD(0), RAD(0), RAD(0)), 0.2 / Animation_Speed) | |
1687 | RightShoulder.C0 = Clerp(RightShoulder.C0, CF(1.5, 0.5, 0) * ANGLES(RAD(40), RAD(0), RAD(20)) * RIGHTSHOULDERC0, 0.2 / Animation_Speed) | |
1688 | LeftShoulder.C0 = Clerp(LeftShoulder.C0, CF(-1.5, 0.5, 0) * ANGLES(RAD(40), RAD(0), RAD(-20)) * LEFTSHOULDERC0, 0.2 / Animation_Speed) | |
1689 | RightHip.C0 = Clerp(RightHip.C0, CF(1, -1, 0) * ANGLES(RAD(0), RAD(90), RAD(0)) * ANGLES(RAD(0), RAD(0), RAD(-20)), 0.2 / Animation_Speed) | |
1690 | LeftHip.C0 = Clerp(LeftHip.C0, CF(-1, -1, 0) * ANGLES(RAD(0), RAD(-90), RAD(0)) * ANGLES(RAD(0), RAD(0), RAD(20)), 0.2 / Animation_Speed) | |
1691 | end | |
1692 | RootPart.CFrame = STARTPOS | |
1693 | for i=0, 0.1, 0.1 / Animation_Speed do | |
1694 | Swait() | |
1695 | RootJoint.C0 = Clerp(RootJoint.C0, ROOTC0 * CF(0, 0, -1.2) * ANGLES(RAD(65), RAD(0), RAD(0)), 2 / Animation_Speed) | |
1696 | Neck.C0 = Clerp(Neck.C0, NECKC0 * CF(0, 0, 0) * ANGLES(RAD(0), RAD(0), RAD(0)), 0.2 / Animation_Speed) | |
1697 | RightShoulder.C0 = Clerp(RightShoulder.C0, CF(1.5, 0.5, 0) * ANGLES(RAD(-40), RAD(0), RAD(20)) * RIGHTSHOULDERC0, 2 / Animation_Speed) | |
1698 | LeftShoulder.C0 = Clerp(LeftShoulder.C0, CF(-1.5, 0.5, 0) * ANGLES(RAD(-40), RAD(0), RAD(-20)) * LEFTSHOULDERC0, 2 / Animation_Speed) | |
1699 | RightHip.C0 = Clerp(RightHip.C0, CF(1, -0.3, -1) * ANGLES(RAD(0), RAD(90), RAD(0)) * ANGLES(RAD(0), RAD(0), RAD(-20)), 2 / Animation_Speed) | |
1700 | LeftHip.C0 = Clerp(LeftHip.C0, CF(-1, -0.3, -1) * ANGLES(RAD(0), RAD(-90), RAD(0)) * ANGLES(RAD(0), RAD(0), RAD(20)), 2 / Animation_Speed) | |
1701 | end | |
1702 | for i = 1, 10+(5*POWERLEVEL) do | |
1703 | Swait() | |
1704 | CreateRing(VT(0,0,0),false,0,5,CF(POS)*ANGLES(RAD(MRANDOM(-180,180)),RAD(MRANDOM(-180,180)),RAD(MRANDOM(-180,180))),"Crimson",VT(POWERLEVEL*5,POWERLEVEL*5,0)) | |
1705 | CreateRing(VT(0,0,0),false,0,5,CF(POS)*ANGLES(RAD(MRANDOM(-180,180)),RAD(MRANDOM(-180,180)),RAD(MRANDOM(-180,180))),"Blank",VT(POWERLEVEL*15,POWERLEVEL*15,0)) | |
1706 | end | |
1707 | local SOUND = CreateSound("314970772", Effects, 10, 1) | |
1708 | CreateSound("414517163", Effects, 10, 1) | |
1709 | IT("EchoSoundEffect",SOUND) | |
1710 | MagicSphere(VT(0,0,0),35,CF(POS),"Institutional white",VT(POWERLEVEL,POWERLEVEL,POWERLEVEL)) | |
1711 | CreateDebreeRing(FLOOR,POS,25*POWERLEVEL,VT(25,25,25)*POWERLEVEL,3) | |
1712 | CreateFlyingDebree(FLOOR,CF(POS),25,VT(4,4,4)*POWERLEVEL,3,25*POWERLEVEL) | |
1713 | for i = 1, 25 do | |
1714 | Swait() | |
1715 | MagicSphere(VT(0,0,0),15,CF(POS),"Really black",VT(POWERLEVEL,POWERLEVEL,POWERLEVEL)) | |
1716 | CreateRing(VT(0,0,0.1),false,0,45,CF(HITPOS)*ANGLES(RAD(90),RAD(0),RAD(0)),"Institutional white",VT(POWERLEVEL*2,POWERLEVEL*2,0)) | |
1717 | killnearest(POS,POWERLEVEL*100,500) | |
1718 | CreateRing(VT(0,0,0),false,0,15,CF(POS)*ANGLES(RAD(MRANDOM(-180,180)),RAD(MRANDOM(-180,180)),RAD(MRANDOM(-180,180))),"Black",VT(POWERLEVEL*15,POWERLEVEL*15,0)) | |
1719 | CreateRing(VT(0,0,0),false,0,15,CF(POS)*ANGLES(RAD(MRANDOM(-180,180)),RAD(MRANDOM(-180,180)),RAD(MRANDOM(-180,180))),"Black",VT(POWERLEVEL*25,POWERLEVEL*25,0)) | |
1720 | end | |
1721 | for i = 1, 50 do | |
1722 | Swait() | |
1723 | for e=1,#BURNMARKS do | |
1724 | if BURNMARKS[e]~=nil then | |
1725 | local Thing=BURNMARKS[e] | |
1726 | if Thing~=nil then | |
1727 | local Part=Thing | |
1728 | Part.Transparency = Part.Transparency + (1/50) | |
1729 | end | |
1730 | end | |
1731 | end | |
1732 | end | |
1733 | for e=1,#BURNMARKS do | |
1734 | if BURNMARKS[e]~=nil then | |
1735 | local Thing=BURNMARKS[e] | |
1736 | if Thing~=nil then | |
1737 | local Part=Thing | |
1738 | Part:remove() | |
1739 | end | |
1740 | end | |
1741 | end | |
1742 | ATTACK = false | |
1743 | Rooted = false | |
1744 | UNANCHOR = true | |
1745 | RootPart.Anchored = false | |
1746 | POWERLEVEL = 1 | |
1747 | end | |
1748 | end | |
1749 | ||
1750 | function Taunt() | |
1751 | ATTACK = true | |
1752 | Rooted = true | |
1753 | CreateSound("907330011", Head, 10, 1.1) | |
1754 | for i=0, 1, 0.1 / Animation_Speed do | |
1755 | Swait() | |
1756 | RootJoint.C0 = Clerp(RootJoint.C0,ROOTC0 * CF(0, 0, 0 + 0.05 * COS(SINE / 12)) * ANGLES(RAD(0), RAD(0), RAD(0)), 2 / Animation_Speed) | |
1757 | Neck.C0 = Clerp(Neck.C0, NECKC0 * CF(0, 0, 0 + ((1) - 1)) * ANGLES(RAD(0 - 2.5 * SIN(SINE / 12)), RAD(0), RAD(0)), 2 / Animation_Speed) | |
1758 | RightShoulder.C0 = Clerp(RightShoulder.C0, CF(1.15, 0.5, -0.8) * ANGLES(RAD(170), RAD(0), RAD(-30)) * RIGHTSHOULDERC0, 2 / Animation_Speed) | |
1759 | LeftShoulder.C0 = Clerp(LeftShoulder.C0, CF(-1.5, 0.5, 0) * ANGLES(RAD(0), RAD(0), RAD(-12)) * LEFTSHOULDERC0, 2 / Animation_Speed) | |
1760 | 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)), 2 / Animation_Speed) | |
1761 | 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)), 2 / Animation_Speed) | |
1762 | end | |
1763 | for i=0, 2, 0.1 / Animation_Speed do | |
1764 | Swait() | |
1765 | RootJoint.C0 = Clerp(RootJoint.C0,ROOTC0 * CF(0, 0, 0 + 0.05 * COS(SINE / 12)) * ANGLES(RAD(0), RAD(0), RAD(0)), 2 / Animation_Speed) | |
1766 | Neck.C0 = Clerp(Neck.C0, NECKC0 * CF(0, 0, 0 + ((1) - 1)) * ANGLES(RAD(0 - 2.5 * SIN(SINE / 12)), RAD(0), RAD(0)), 2 / Animation_Speed) | |
1767 | RightShoulder.C0 = Clerp(RightShoulder.C0, CF(1.5, 0.5, 0) * ANGLES(RAD(75), RAD(0), RAD(0)) * RIGHTSHOULDERC0, 2 / Animation_Speed) | |
1768 | LeftShoulder.C0 = Clerp(LeftShoulder.C0, CF(-1.5, 0.5, 0) * ANGLES(RAD(0), RAD(0), RAD(-12)) * LEFTSHOULDERC0, 2 / Animation_Speed) | |
1769 | 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)), 2 / Animation_Speed) | |
1770 | 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)), 2 / Animation_Speed) | |
1771 | end | |
1772 | ATTACK = false | |
1773 | Rooted = false | |
1774 | end | |
1775 | ||
1776 | function BreakLimit() | |
1777 | ATTACK = true | |
1778 | Rooted = false | |
1779 | UNANCHOR = false | |
1780 | RootPart.Anchored = true | |
1781 | for i=0, 5, 0.1 / Animation_Speed do | |
1782 | Swait() | |
1783 | RootPart.CFrame = RootPart.CFrame * CF(0,0.2,0) | |
1784 | RootJoint.C0 = Clerp(RootJoint.C0, ROOTC0 * CF(0, 0, 0) * ANGLES(RAD(0), RAD(0), RAD(0)), 0.2 / Animation_Speed) | |
1785 | Neck.C0 = Clerp(Neck.C0, NECKC0 * CF(0, 0 * Player_Size, 0 + ((1) - 1)) * ANGLES(RAD(-20), RAD(0), RAD(0)), 2 / Animation_Speed) | |
1786 | RightShoulder.C0 = Clerp(RightShoulder.C0, CF(1.5, 0.5, 0) * ANGLES(RAD(-40), RAD(0), RAD(20)) * RIGHTSHOULDERC0, 2 / Animation_Speed) | |
1787 | LeftShoulder.C0 = Clerp(LeftShoulder.C0, CF(-1.5, 0.5, 0) * ANGLES(RAD(-40), RAD(0), RAD(-20)) * LEFTSHOULDERC0, 2 / Animation_Speed) | |
1788 | RightHip.C0 = Clerp(RightHip.C0, CF(1, -1, -0.3) * ANGLES(RAD(0), RAD(90), RAD(0)) * ANGLES(RAD(-5), RAD(0), RAD(-20)), 2 / Animation_Speed) | |
1789 | LeftHip.C0 = Clerp(LeftHip.C0, CF(-1, -1, -0.3) * ANGLES(RAD(0), RAD(-90), RAD(0)) * ANGLES(RAD(-5), RAD(0), RAD(20)), 2 / Animation_Speed) | |
1790 | end | |
1791 | CreateSound("1368598393", Effects, 10, 1) | |
1792 | for i=0, 2, 0.1 / Animation_Speed do | |
1793 | Swait() | |
1794 | local CFRAME = CF(Torso.Position)*ANGLES(RAD(MRANDOM(-180,180)),RAD(MRANDOM(-180,180)),RAD(MRANDOM(-180,180))) | |
1795 | MagicSphere(VT(0,0,0),15,CFRAME,"Really black",VT(0.1,0.1,5)) | |
1796 | MagicSphere(VT(0.1,0.1,0.1),15,CFRAME,"Institutional white",VT(0.1,0.1,5)) | |
1797 | RootJoint.C0 = Clerp(RootJoint.C0, ROOTC0 * CF(0, 0, 0) * ANGLES(RAD(0), RAD(0), RAD(0)), 0.2 / Animation_Speed) | |
1798 | Neck.C0 = Clerp(Neck.C0, NECKC0 * CF(0, 0 * Player_Size, 0 + ((1) - 1)) * ANGLES(RAD(20), RAD(0), RAD(0)), 2 / Animation_Speed) | |
1799 | RightShoulder.C0 = Clerp(RightShoulder.C0, CF(1.15, 0.5, -1) * ANGLES(RAD(90), RAD(0), RAD(-75)) * RIGHTSHOULDERC0, 2 / Animation_Speed) | |
1800 | LeftShoulder.C0 = Clerp(LeftShoulder.C0, CF(-1.15, 0.5, -1) * ANGLES(RAD(90), RAD(0), RAD(75)) * LEFTSHOULDERC0, 2 / Animation_Speed) | |
1801 | RightHip.C0 = Clerp(RightHip.C0, CF(1, -0.5, -0.5) * ANGLES(RAD(0), RAD(90), RAD(0)) * ANGLES(RAD(-5), RAD(0), RAD(0)), 2 / Animation_Speed) | |
1802 | LeftHip.C0 = Clerp(LeftHip.C0, CF(-1, -0.5, -0.5) * ANGLES(RAD(0), RAD(-90), RAD(0)) * ANGLES(RAD(-5), RAD(0), RAD(0)), 2 / Animation_Speed) | |
1803 | end | |
1804 | CreateSound("1368583274", Effects, 10, 1) | |
1805 | for i=0, 6, 0.1 / Animation_Speed do | |
1806 | Swait() | |
1807 | CreateRing(VT(45,5,0)*2,false,0,45,Torso.CFrame*ANGLES(RAD(MRANDOM(-180,180)),RAD(MRANDOM(-180,180)),RAD(MRANDOM(-180,180))),"Really blue",VT(-1,0,0)) | |
1808 | CreateRing(VT(45,5,0)*3,false,0,45,Torso.CFrame*ANGLES(RAD(MRANDOM(-180,180)),RAD(MRANDOM(-180,180)),RAD(MRANDOM(-180,180))),"Really blue",VT(-1,0,0)*3) | |
1809 | local CFRAME = CF(Torso.Position)*ANGLES(RAD(MRANDOM(-180,180)),RAD(MRANDOM(-180,180)),RAD(MRANDOM(-180,180))) | |
1810 | MagicSphere(VT(0,0,0),15,CFRAME,"New yeller",VT(0.1,0.1,55)) | |
1811 | MagicSphere(VT(0,0,0),15,CFRAME,"New yeller",VT(2,2,2)) | |
1812 | MagicSphere(VT(0.1,0.1,0.1),15,CFRAME,"Really blue",VT(0.1,0.1,55)) | |
1813 | RootJoint.C0 = Clerp(RootJoint.C0, ROOTC0 * CF(0, 0, 0) * ANGLES(RAD(0), RAD(0), RAD(0)), 0.2 / Animation_Speed) | |
1814 | Neck.C0 = Clerp(Neck.C0, NECKC0 * CF(0, 0 * Player_Size, 0 + ((1) - 1)) * ANGLES(RAD(20), RAD(0), RAD(0)), 2 / Animation_Speed) | |
1815 | RightShoulder.C0 = Clerp(RightShoulder.C0, CF(1.15, 0.5, -1) * ANGLES(RAD(90), RAD(0), RAD(-75)) * RIGHTSHOULDERC0, 2 / Animation_Speed) | |
1816 | LeftShoulder.C0 = Clerp(LeftShoulder.C0, CF(-1.15, 0.5, -1) * ANGLES(RAD(90), RAD(0), RAD(75)) * LEFTSHOULDERC0, 2 / Animation_Speed) | |
1817 | RightHip.C0 = Clerp(RightHip.C0, CF(1, -0.5, -0.5) * ANGLES(RAD(0), RAD(90), RAD(0)) * ANGLES(RAD(-5), RAD(0), RAD(0)), 2 / Animation_Speed) | |
1818 | LeftHip.C0 = Clerp(LeftHip.C0, CF(-1, -0.5, -0.5) * ANGLES(RAD(0), RAD(-90), RAD(0)) * ANGLES(RAD(-5), RAD(0), RAD(0)), 2 / Animation_Speed) | |
1819 | end | |
1820 | CreateSound("907329532", Effects, 10, 1.1) | |
1821 | Swait(175) | |
1822 | CreateRing(VT(0,0,0),false,0,45,RootPart.CFrame*ANGLES(RAD(90),RAD(0),RAD(0)),"Crimson",VT(7,7,0)) | |
1823 | CreateSound("1368605755", Effects, 10, 1) | |
1824 | CreateSound("1368637781", Effects, 10, 1) | |
1825 | MagicSphere(VT(0,0,0),45,Torso.CFrame,"Crimson",VT(5,5,5)) | |
1826 | LIMITBROKEN = true | |
1827 | for i=0, 1, 0.1 / Animation_Speed do | |
1828 | Swait() | |
1829 | CreateRing(VT(0,0,0),false,0,45,Torso.CFrame*ANGLES(RAD(MRANDOM(-180,180)),RAD(MRANDOM(-180,180)),RAD(MRANDOM(-180,180))),"Really blue",VT(4,4,0)) | |
1830 | CreateRing(VT(0,0,0),false,0,45,Torso.CFrame*ANGLES(RAD(MRANDOM(-180,180)),RAD(MRANDOM(-180,180)),RAD(MRANDOM(-180,180))),"Really blue",VT(5,5,0)) | |
1831 | RootJoint.C0 = Clerp(RootJoint.C0, ROOTC0 * CF(0, 0, 0) * ANGLES(RAD(-25), RAD(0), RAD(0)), 0.2 / Animation_Speed) | |
1832 | Neck.C0 = Clerp(Neck.C0, NECKC0 * CF(0, 0 * Player_Size, 0 + ((1) - 1)) * ANGLES(RAD(-20), RAD(0), RAD(0)), 2 / Animation_Speed) | |
1833 | RightShoulder.C0 = Clerp(RightShoulder.C0, CF(1.5, 0.5, 0) * ANGLES(RAD(-60), RAD(0), RAD(20)) * RIGHTSHOULDERC0, 2 / Animation_Speed) | |
1834 | LeftShoulder.C0 = Clerp(LeftShoulder.C0, CF(-1.5, 0.5, 0) * ANGLES(RAD(-60), RAD(0), RAD(-20)) * LEFTSHOULDERC0, 2 / Animation_Speed) | |
1835 | RightHip.C0 = Clerp(RightHip.C0, CF(1, -1, -0.3) * ANGLES(RAD(0), RAD(90), RAD(0)) * ANGLES(RAD(-5), RAD(0), RAD(-50)), 2 / Animation_Speed) | |
1836 | LeftHip.C0 = Clerp(LeftHip.C0, CF(-1, -1, -0.3) * ANGLES(RAD(0), RAD(-90), RAD(0)) * ANGLES(RAD(-5), RAD(0), RAD(50)), 2 / Animation_Speed) | |
1837 | end | |
1838 | UNANCHOR = true | |
1839 | RootPart.Anchored = false | |
1840 | ATTACK = false | |
1841 | Rooted = false | |
1842 | end | |
1843 | ||
1844 | -- LIMIT BROKEN | |
1845 | ||
1846 | function RivalingOverthrower2() | |
1847 | if Mouse.Target.Parent ~= Character and Mouse.Target.Parent.Parent ~= Character and Mouse.Target.Parent:FindFirstChildOfClass("Humanoid") ~= nil then | |
1848 | local HITBODY = Mouse.Target.Parent | |
1849 | local TORS = HITBODY:FindFirstChild("Torso") or HITBODY:FindFirstChild("UpperTorso") | |
1850 | local HUMAN = Mouse.Target.Parent:FindFirstChildOfClass("Humanoid") | |
1851 | if TORS ~= nil and HUMAN ~= nil then | |
1852 | ATTACK = true | |
1853 | Rooted = false | |
1854 | VanishPlayer() | |
1855 | TORS.Anchored = true | |
1856 | RootPart.CFrame = TORS.CFrame*CF(0,5,0) | |
1857 | CreateSound("260411131", RootPart, 3, 1) | |
1858 | for i = 1, 75 do | |
1859 | Swait() | |
1860 | CreateRing(VT(0,0,0),false,0,25,TORS.CFrame*ANGLES(RAD(MRANDOM(-180,180)),RAD(MRANDOM(-180,180)),RAD(MRANDOM(-180,180))),"Black",VT(POWERLEVEL/3,POWERLEVEL/3,0)) | |
1861 | CreateSound(HITWEAPONSOUNDS[MRANDOM(1,#HITWEAPONSOUNDS)], TORS, 10, 1) | |
1862 | local CFRAME = CF(TORS.Position)*ANGLES(RAD(MRANDOM(-180,180)),RAD(MRANDOM(-180,180)),RAD(MRANDOM(-180,180))) | |
1863 | MagicSphere(VT(0,0,0),15,CFRAME,"Really black",VT(0.1,0.1,POWERLEVEL*5)) | |
1864 | MagicSphere(VT(0.1,0.1,0.1),15,CFRAME,"Institutional white",VT(0.1,0.1,POWERLEVEL*5)) | |
1865 | TORS.CFrame = TORS.CFrame*ANGLES(RAD(MRANDOM(-180,180)),RAD(MRANDOM(-180,180)),RAD(MRANDOM(-180,180))) | |
1866 | end | |
1867 | RootPart.CFrame = CF(TORS.Position)*CF(MRANDOM(-45,45),45,MRANDOM(-45,45)) | |
1868 | Reappear() | |
1869 | CreateSound("1368583274", RightArm, 10, 1) | |
1870 | local ORB = CreatePart(3, Effects, "Neon", 0, 0, "Toothpaste", "Neon", VT(0,0,0)) | |
1871 | MakeForm(ORB,"Ball") | |
1872 | ORB.Color = C3(0,0,0) | |
1873 | ORB.CFrame = RightArm.CFrame * CF(0,-2,0) | |
1874 | for i=0, 4, 0.1 / Animation_Speed do | |
1875 | Swait() | |
1876 | ORB.CFrame = RightArm.CFrame * CF(0,-2-(ORB.Size.Z/2),0) | |
1877 | ORB.Size = ORB.Size + VT(0.03,0.03,0.03) | |
1878 | CreateRing(VT(25,25,0),false,0,25,ORB.CFrame*ANGLES(RAD(MRANDOM(-180,180)),RAD(MRANDOM(-180,180)),RAD(MRANDOM(-180,180))),"Toothpaste",VT(-1,-1,0)) | |
1879 | RootPart.CFrame = CF(RootPart.Position,TORS.Position) | |
1880 | RootJoint.C0 = Clerp(RootJoint.C0,ROOTC0 * CF(0, 0, 0) * ANGLES(RAD(0), RAD(0), RAD(90)), 2 / Animation_Speed) | |
1881 | Neck.C0 = Clerp(Neck.C0, NECKC0 * CF(0, 0, 0 + ((1) - 1)) * ANGLES(RAD(0), RAD(0), RAD(-90)), 2 / Animation_Speed) | |
1882 | RightShoulder.C0 = Clerp(RightShoulder.C0, CF(1.5, 0.5, 0) * ANGLES(RAD(0), RAD(0), RAD(90)) * RIGHTSHOULDERC0, 2 / Animation_Speed) | |
1883 | LeftShoulder.C0 = Clerp(LeftShoulder.C0, CF(-1.5, 0.5, 0) * ANGLES(RAD(0), RAD(0), RAD(-12)) * LEFTSHOULDERC0, 2 / Animation_Speed) | |
1884 | RightHip.C0 = Clerp(RightHip.C0, CF(1, -1, -0.01) * ANGLES(RAD(0), RAD(90), RAD(0)) * ANGLES(RAD(-8), RAD(0), RAD(0)), 2 / Animation_Speed) | |
1885 | LeftHip.C0 = Clerp(LeftHip.C0, CF(-1, -1, -0.01) * ANGLES(RAD(0), RAD(-90), RAD(0)) * ANGLES(RAD(-8), RAD(0), RAD(0)), 2 / Animation_Speed) | |
1886 | end | |
1887 | for i = 1, 5 do | |
1888 | Swait() | |
1889 | RootPart.CFrame = CF(RootPart.Position,TORS.Position) | |
1890 | ORB.Size = ORB.Size * 0.8 | |
1891 | end | |
1892 | local BEAM = CreatePart(3, Effects, "Neon", 0, 0, "Navy blue", "Neon", VT(0,25,0)) | |
1893 | MakeForm(BEAM,"Ball") | |
1894 | local BEAM2 = CreatePart(3, Effects, "Neon", 0, 0, "Navy blue", "Neon", VT(0,1000,0)) | |
1895 | MakeForm(BEAM2,"Cyl") | |
1896 | BEAM.CFrame = ORB.CFrame * CF(0,0,10) | |
1897 | ORB.Color = BRICKC("Navy blue").Color | |
1898 | for i = 1, 5 do | |
1899 | Swait() | |
1900 | CreateRing(VT(0,0,0.1),false,0,10,RightArm.CFrame*CF(0,-1,0)*ANGLES(RAD(90),RAD(0),RAD(0)),"Black",VT(2,2,0)) | |
1901 | BEAM.CFrame = ORB.CFrame * CF(0,-12.5,0) | |
1902 | BEAM.Size = BEAM.Size + VT(2,0,2) | |
1903 | BEAM2.CFrame = ORB.CFrame * CF(0,-512.5,0) | |
1904 | BEAM2.Size = BEAM2.Size + VT(2,0,2) | |
1905 | RootPart.CFrame = CF(RootPart.Position,TORS.Position) | |
1906 | ORB.Size = ORB.Size * 1.3 | |
1907 | end | |
1908 | CreateSound("1368605755", Effects, 10, 1) | |
1909 | HITBODY:BreakJoints() | |
1910 | TORS.Anchored = false | |
1911 | local POS = TORS.Position | |
1912 | for i = 1, 25 do | |
1913 | CreateRing(VT(0,0,0),false,0,25,TORS.CFrame*ANGLES(RAD(MRANDOM(-180,180)),RAD(MRANDOM(-180,180)),RAD(MRANDOM(-180,180))),"Hot pink",VT(POWERLEVEL/3,POWERLEVEL/3,0)) | |
1914 | CreateRing(VT(0,0,0),false,0,25,TORS.CFrame*ANGLES(RAD(MRANDOM(-180,180)),RAD(MRANDOM(-180,180)),RAD(MRANDOM(-180,180))),"Hot pink",VT(POWERLEVEL/4,POWERLEVEL/4,0)) | |
1915 | end | |
1916 | for i=0, 2, 0.1 / Animation_Speed do | |
1917 | Swait() | |
1918 | killnearest(POS,15,700) | |
1919 | CreateRing(VT(0,0,0.1),false,0,10,RightArm.CFrame*CF(0,-1,0)*ANGLES(RAD(90),RAD(0),RAD(0)),"Black",VT(2,2,0)) | |
1920 | BEAM.CFrame = ORB.CFrame * CF(0,-12.5,0) | |
1921 | BEAM2.CFrame = ORB.CFrame * CF(0,-512.5,0) | |
1922 | ORB.CFrame = RightArm.CFrame * CF(0,-2-(ORB.Size.Z/2),0) | |
1923 | RootPart.CFrame = CF(RootPart.Position,POS) | |
1924 | RootJoint.C0 = Clerp(RootJoint.C0,ROOTC0 * CF(0, 0, 0) * ANGLES(RAD(0), RAD(0), RAD(90)), 2 / Animation_Speed) | |
1925 | Neck.C0 = Clerp(Neck.C0, NECKC0 * CF(0, 0, 0 + ((1) - 1)) * ANGLES(RAD(0), RAD(0), RAD(-90)), 2 / Animation_Speed) | |
1926 | RightShoulder.C0 = Clerp(RightShoulder.C0, CF(1.5, 0.5, 0) * ANGLES(RAD(0), RAD(0), RAD(90)) * RIGHTSHOULDERC0, 2 / Animation_Speed) | |
1927 | LeftShoulder.C0 = Clerp(LeftShoulder.C0, CF(-1.5, 0.5, 0) * ANGLES(RAD(0), RAD(0), RAD(-12)) * LEFTSHOULDERC0, 2 / Animation_Speed) | |
1928 | RightHip.C0 = Clerp(RightHip.C0, CF(1, -1, -0.01) * ANGLES(RAD(0), RAD(90), RAD(0)) * ANGLES(RAD(-8), RAD(0), RAD(0)), 2 / Animation_Speed) | |
1929 | LeftHip.C0 = Clerp(LeftHip.C0, CF(-1, -1, -0.01) * ANGLES(RAD(0), RAD(-90), RAD(0)) * ANGLES(RAD(-8), RAD(0), RAD(0)), 2 / Animation_Speed) | |
1930 | end | |
1931 | for i = 1, 5 do | |
1932 | Swait() | |
1933 | BEAM.CFrame = ORB.CFrame * CF(0,-12.5,0) | |
1934 | BEAM.Size = BEAM.Size - VT(2,0,2) | |
1935 | BEAM2.CFrame = ORB.CFrame * CF(0,-512.5,0) | |
1936 | BEAM2.Size = BEAM2.Size - VT(2,0,2) | |
1937 | RootPart.CFrame = CF(RootPart.Position,TORS.Position) | |
1938 | ORB.Size = ORB.Size * 0.8 | |
1939 | end | |
1940 | turnto(POS) | |
1941 | ORB:remove() | |
1942 | BEAM:remove() | |
1943 | BEAM2:remove() | |
1944 | ATTACK = false | |
1945 | Rooted = false | |
1946 | end | |
1947 | end | |
1948 | end | |
1949 | ||
1950 | function ChunkChuck2() | |
1951 | if HITFLOOR ~= nil then | |
1952 | ATTACK = true | |
1953 | Rooted = false | |
1954 | for i=0, 1, 0.1 / Animation_Speed do | |
1955 | Swait() | |
1956 | RootJoint.C0 = Clerp(RootJoint.C0,ROOTC0 * CF(0, 0, 0) * ANGLES(RAD(-25), RAD(0), RAD(45)), 2 / Animation_Speed) | |
1957 | Neck.C0 = Clerp(Neck.C0, NECKC0 * CF(0, 0, 0 + ((1) - 1)) * ANGLES(RAD(0), RAD(0), RAD(-45)), 2 / Animation_Speed) | |
1958 | RightShoulder.C0 = Clerp(RightShoulder.C0, CF(1.5, 0.5, 0) * ANGLES(RAD(150), RAD(0), RAD(12)) * RIGHTSHOULDERC0, 2 / Animation_Speed) | |
1959 | LeftShoulder.C0 = Clerp(LeftShoulder.C0, CF(-1.5, 0.5, 0) * ANGLES(RAD(0), RAD(0), RAD(-12)) * LEFTSHOULDERC0, 2 / Animation_Speed) | |
1960 | RightHip.C0 = Clerp(RightHip.C0, CF(1, -1, -0.01) * ANGLES(RAD(0), RAD(90), RAD(0)) * ANGLES(RAD(-8), RAD(0), RAD(-25)), 2 / Animation_Speed) | |
1961 | LeftHip.C0 = Clerp(LeftHip.C0, CF(-1, -1, -0.01) * ANGLES(RAD(0), RAD(-90), RAD(0)) * ANGLES(RAD(-8), RAD(0), RAD(25)), 2 / Animation_Speed) | |
1962 | end | |
1963 | local DIST = (RootPart.Position - HITPOS).Magnitude | |
1964 | RootPart.CFrame = RootPart.CFrame * CF(0,-(DIST-3),0) | |
1965 | for i=0, 0.1, 0.1 / Animation_Speed do | |
1966 | Swait() | |
1967 | RootJoint.C0 = Clerp(RootJoint.C0,ROOTC0 * CF(0, 0, 0) * ANGLES(RAD(90), RAD(0), RAD(90)), 2 / Animation_Speed) | |
1968 | Neck.C0 = Clerp(Neck.C0, NECKC0 * CF(0, 0, 0 + ((1) - 1)) * ANGLES(RAD(0), RAD(0), RAD(-90)), 2 / Animation_Speed) | |
1969 | RightShoulder.C0 = Clerp(RightShoulder.C0, CF(1.5, 0.5, 0) * ANGLES(RAD(0), RAD(0), RAD(90)) * RIGHTSHOULDERC0, 2 / Animation_Speed) | |
1970 | LeftShoulder.C0 = Clerp(LeftShoulder.C0, CF(-1.5, 0.5, 0) * ANGLES(RAD(0), RAD(0), RAD(-12)) * LEFTSHOULDERC0, 2 / Animation_Speed) | |
1971 | RightHip.C0 = Clerp(RightHip.C0, CF(1, -1, -0.01) * ANGLES(RAD(0), RAD(90), RAD(0)) * ANGLES(RAD(-8), RAD(0), RAD(0)), 2 / Animation_Speed) | |
1972 | LeftHip.C0 = Clerp(LeftHip.C0, CF(-1, -1, -0.01) * ANGLES(RAD(0), RAD(-90), RAD(0)) * ANGLES(RAD(-8), RAD(0), RAD(0)), 2 / Animation_Speed) | |
1973 | end | |
1974 | CreateDebreeRing(HITFLOOR,HITPOS,15,VT(15,15,15)) | |
1975 | CreateFlyingDebree(HITFLOOR,CF(HITPOS),25,VT(2,2,2),3,150) | |
1976 | local CHUNK = CreatePart(3, Effects, "Neon", 0, 0, "Peal", "Debree", VT(25,25,25)) | |
1977 | CHUNK.Color = HITFLOOR.Color | |
1978 | CHUNK.Material = HITFLOOR.Material | |
1979 | CHUNK.CFrame = RootPart.CFrame*CF(0,-25,-0.5) | |
1980 | CreateSound("260411131", CHUNK, 10, 1) | |
1981 | CreateSound("289842971", Torso, 3, 1) | |
1982 | for i=0, 1, 0.1 / Animation_Speed do | |
1983 | Swait() | |
1984 | RootJoint.C0 = Clerp(RootJoint.C0,ROOTC0 * CF(0, 0, 0) * ANGLES(RAD(90), RAD(0), RAD(90)), 2 / Animation_Speed) | |
1985 | Neck.C0 = Clerp(Neck.C0, NECKC0 * CF(0, 0, 0 + ((1) - 1)) * ANGLES(RAD(0), RAD(0), RAD(-90)), 2 / Animation_Speed) | |
1986 | RightShoulder.C0 = Clerp(RightShoulder.C0, CF(1.5, 0.5, 0) * ANGLES(RAD(0), RAD(0), RAD(90)) * RIGHTSHOULDERC0, 2 / Animation_Speed) | |
1987 | LeftShoulder.C0 = Clerp(LeftShoulder.C0, CF(-1.5, 0.5, 0) * ANGLES(RAD(0), RAD(0), RAD(-12)) * LEFTSHOULDERC0, 2 / Animation_Speed) | |
1988 | RightHip.C0 = Clerp(RightHip.C0, CF(1, -1, -0.01) * ANGLES(RAD(0), RAD(90), RAD(0)) * ANGLES(RAD(-8), RAD(0), RAD(0)), 2 / Animation_Speed) | |
1989 | LeftHip.C0 = Clerp(LeftHip.C0, CF(-1, -1, -0.01) * ANGLES(RAD(0), RAD(-90), RAD(0)) * ANGLES(RAD(-8), RAD(0), RAD(0)), 2 / Animation_Speed) | |
1990 | end | |
1991 | RootPart.CFrame = RootPart.CFrame * CF(0,(DIST-3),0) | |
1992 | CHUNK.CFrame = Torso.CFrame*CF(0.7,15,0) | |
1993 | repeat | |
1994 | Swait() | |
1995 | RootPart.CFrame = CF(RootPart.Position,Mouse.Hit.p) | |
1996 | CHUNK.CFrame = Torso.CFrame*CF(0.7,15,0) | |
1997 | RootJoint.C0 = Clerp(RootJoint.C0,ROOTC0 * CF(0, 0, 0) * ANGLES(RAD(-25), RAD(0), RAD(45)), 2 / Animation_Speed) | |
1998 | Neck.C0 = Clerp(Neck.C0, NECKC0 * CF(0, 0, 0 + ((1) - 1)) * ANGLES(RAD(0), RAD(0), RAD(-45)), 2 / Animation_Speed) | |
1999 | RightShoulder.C0 = Clerp(RightShoulder.C0, CF(1.5, 0.5, 0) * ANGLES(RAD(150), RAD(0), RAD(12)) * RIGHTSHOULDERC0, 2 / Animation_Speed) | |
2000 | LeftShoulder.C0 = Clerp(LeftShoulder.C0, CF(-1.5, 0.5, 0) * ANGLES(RAD(0), RAD(0), RAD(-12)) * LEFTSHOULDERC0, 2 / Animation_Speed) | |
2001 | RightHip.C0 = Clerp(RightHip.C0, CF(1, -1, -0.01) * ANGLES(RAD(0), RAD(90), RAD(0)) * ANGLES(RAD(-8), RAD(0), RAD(-25)), 2 / Animation_Speed) | |
2002 | LeftHip.C0 = Clerp(LeftHip.C0, CF(-1, -1, -0.01) * ANGLES(RAD(0), RAD(-90), RAD(0)) * ANGLES(RAD(-8), RAD(0), RAD(25)), 2 / Animation_Speed) | |
2003 | until HOLD == true | |
2004 | for i=0, 1, 0.1 / Animation_Speed do | |
2005 | Swait() | |
2006 | CHUNK.CFrame = Torso.CFrame*CF(0.7,15,0) | |
2007 | RootJoint.C0 = Clerp(RootJoint.C0,ROOTC0 * CF(0, 0, 0) * ANGLES(RAD(-35), RAD(0), RAD(45)), 2 / Animation_Speed) | |
2008 | Neck.C0 = Clerp(Neck.C0, NECKC0 * CF(0, 0, 0 + ((1) - 1)) * ANGLES(RAD(0), RAD(0), RAD(-45)), 2 / Animation_Speed) | |
2009 | RightShoulder.C0 = Clerp(RightShoulder.C0, CF(1.5, 0.5, 0) * ANGLES(RAD(180), RAD(0), RAD(12)) * RIGHTSHOULDERC0, 2 / Animation_Speed) | |
2010 | LeftShoulder.C0 = Clerp(LeftShoulder.C0, CF(-1.5, 0.5, 0) * ANGLES(RAD(0), RAD(0), RAD(-12)) * LEFTSHOULDERC0, 2 / Animation_Speed) | |
2011 | RightHip.C0 = Clerp(RightHip.C0, CF(1, -1, -0.01) * ANGLES(RAD(0), RAD(90), RAD(0)) * ANGLES(RAD(-8), RAD(0), RAD(-25)), 2 / Animation_Speed) | |
2012 | LeftHip.C0 = Clerp(LeftHip.C0, CF(-1, -1, -0.01) * ANGLES(RAD(0), RAD(-90), RAD(0)) * ANGLES(RAD(-8), RAD(0), RAD(25)), 2 / Animation_Speed) | |
2013 | end | |
2014 | coroutine.resume(coroutine.create(function() | |
2015 | local COLLISION = false | |
2016 | CHUNK.CFrame = RootPart.CFrame | |
2017 | for i = 1, 300 do | |
2018 | CHUNK.CFrame = CHUNK.CFrame * CF(0,0,-5) | |
2019 | killnearest(CHUNK.Position,CHUNK.Size.Z/1.8,15) | |
2020 | local TRAIL = CHUNK:Clone() | |
2021 | TRAIL.CanCollide = false | |
2022 | TRAIL.Transparency = 0.9 | |
2023 | TRAIL.Parent = Effects | |
2024 | TRAIL.CFrame = CHUNK.CFrame | |
2025 | coroutine.resume(coroutine.create(function() | |
2026 | for i = 1, 10 do | |
2027 | Swait() | |
2028 | TRAIL.Transparency = TRAIL.Transparency + (0.1/10) | |
2029 | end | |
2030 | TRAIL:remove() | |
2031 | end)) | |
2032 | local HIT = Raycast(CHUNK.Position, CHUNK.CFrame.lookVector, CHUNK.Size.Z/2, Character) | |
2033 | if HIT ~= nil then | |
2034 | COLLISION = true | |
2035 | break | |
2036 | end | |
2037 | end | |
2038 | CHUNK:remove() | |
2039 | if COLLISION == true then | |
2040 | CreateFlyingDebree(CHUNK,CF(CHUNK.Position),25,VT(10,10,10),3,MRANDOM(150,250)) | |
2041 | killnearest(CHUNK.Position,CHUNK.Size.Z,45) | |
2042 | end | |
2043 | end)) | |
2044 | turnto(CHUNK.Position) | |
2045 | for i=0, 1, 0.1 / Animation_Speed do | |
2046 | Swait() | |
2047 | RootJoint.C0 = Clerp(RootJoint.C0,ROOTC0 * CF(0, 0, 0) * ANGLES(RAD(15), RAD(0), RAD(45)), 2 / Animation_Speed) | |
2048 | Neck.C0 = Clerp(Neck.C0, NECKC0 * CF(0, 0, 0 + ((1) - 1)) * ANGLES(RAD(0), RAD(0), RAD(-45)), 2 / Animation_Speed) | |
2049 | RightShoulder.C0 = Clerp(RightShoulder.C0, CF(1.5, 0.5, 0) * ANGLES(RAD(25), RAD(0), RAD(12)) * RIGHTSHOULDERC0, 2 / Animation_Speed) | |
2050 | LeftShoulder.C0 = Clerp(LeftShoulder.C0, CF(-1.5, 0.5, 0) * ANGLES(RAD(0), RAD(0), RAD(-12)) * LEFTSHOULDERC0, 2 / Animation_Speed) | |
2051 | RightHip.C0 = Clerp(RightHip.C0, CF(1, -1, -0.01) * ANGLES(RAD(0), RAD(90), RAD(0)) * ANGLES(RAD(-8), RAD(0), RAD(-25)), 2 / Animation_Speed) | |
2052 | LeftHip.C0 = Clerp(LeftHip.C0, CF(-1, -1, -0.01) * ANGLES(RAD(0), RAD(-90), RAD(0)) * ANGLES(RAD(-8), RAD(0), RAD(25)), 2 / Animation_Speed) | |
2053 | end | |
2054 | ATTACK = false | |
2055 | Rooted = false | |
2056 | end | |
2057 | end | |
2058 | ||
2059 | function XEvent2() | |
2060 | local FLOOR,HITPOS = Raycast(RootPart.Position, CF(RootPart.Position,RootPart.Position+VT(0,-1,0)).lookVector, 100000, Character) | |
2061 | if FLOOR then | |
2062 | local BURNMARKS = {} | |
2063 | local POS = HITPOS | |
2064 | ATTACK = true | |
2065 | Rooted = false | |
2066 | local AMOUNT = 200 | |
2067 | for i=0, 3, 0.1 / Animation_Speed do | |
2068 | Swait() | |
2069 | RootPart.CFrame = CF(RootPart.Position,POS+VT(AMOUNT,0,AMOUNT))*CF(0,0,2) | |
2070 | RootJoint.C0 = Clerp(RootJoint.C0,ROOTC0 * CF(0, 0, 0) * ANGLES(RAD(0), RAD(0), RAD(0)), 2 / Animation_Speed) | |
2071 | Neck.C0 = Clerp(Neck.C0, NECKC0 * CF(0, 0, 0 + ((1) - 1)) * ANGLES(RAD(0 - 2.5 * SIN(SINE / 12)), RAD(0), RAD(0)), 2 / Animation_Speed) | |
2072 | RightShoulder.C0 = Clerp(RightShoulder.C0, CF(1.5, 0.5, 0) * ANGLES(RAD(45), RAD(0), RAD(12)) * RIGHTSHOULDERC0, 2 / Animation_Speed) | |
2073 | LeftShoulder.C0 = Clerp(LeftShoulder.C0, CF(-1.5, 0.5, 0) * ANGLES(RAD(45), RAD(0), RAD(-12)) * LEFTSHOULDERC0, 2 / Animation_Speed) | |
2074 | RightHip.C0 = Clerp(RightHip.C0, CF(1, -1, -0.01) * ANGLES(RAD(45), RAD(90), RAD(0)) * ANGLES(RAD(-8), RAD(0), RAD(0)), 2 / Animation_Speed) | |
2075 | LeftHip.C0 = Clerp(LeftHip.C0, CF(-1, -1, -0.01) * ANGLES(RAD(45), RAD(-90), RAD(0)) * ANGLES(RAD(-8), RAD(0), RAD(0)), 2 / Animation_Speed) | |
2076 | end | |
2077 | CreateSound("1368583274", Effects, 10, 0.5) | |
2078 | local ORB = CreatePart(3, Effects, "Neon", 0, 0, "Crimson", "Neon", VT(0,0,0)) | |
2079 | MakeForm(ORB,"Ball") | |
2080 | ORB.Color = C3(0,0,0) | |
2081 | ORB.CFrame = RightArm.CFrame * CF(0,-2,0) | |
2082 | for i=0, 12, 0.1 / Animation_Speed do | |
2083 | Swait() | |
2084 | ORB.CFrame = RightArm.CFrame * CF(0,-2-(ORB.Size.Z/2),0) | |
2085 | ORB.Size = ORB.Size + VT(0.03,0.03,0.03) | |
2086 | CreateRing(VT(250,250,0),false,0,25,ORB.CFrame*ANGLES(RAD(MRANDOM(-180,180)),RAD(MRANDOM(-180,180)),RAD(MRANDOM(-180,180))),"Crimson",VT(-10,-10,0)) | |
2087 | CreateRing(VT(250,250,0),false,0,25,ORB.CFrame*ANGLES(RAD(MRANDOM(-180,180)),RAD(MRANDOM(-180,180)),RAD(MRANDOM(-180,180))),"Crimson",VT(-10,-10,0)) | |
2088 | RootPart.CFrame = CF(RootPart.Position,POS+VT(AMOUNT,0,AMOUNT)) | |
2089 | RootJoint.C0 = Clerp(RootJoint.C0,ROOTC0 * CF(0, 0, 0) * ANGLES(RAD(0), RAD(0), RAD(90)), 2 / Animation_Speed) | |
2090 | Neck.C0 = Clerp(Neck.C0, NECKC0 * CF(0, 0, 0 + ((1) - 1)) * ANGLES(RAD(0), RAD(0), RAD(-90)), 2 / Animation_Speed) | |
2091 | RightShoulder.C0 = Clerp(RightShoulder.C0, CF(1.5, 0.5, 0) * ANGLES(RAD(0), RAD(0), RAD(90)) * RIGHTSHOULDERC0, 2 / Animation_Speed) | |
2092 | LeftShoulder.C0 = Clerp(LeftShoulder.C0, CF(-1.5, 0.5, 0) * ANGLES(RAD(0), RAD(0), RAD(-12)) * LEFTSHOULDERC0, 2 / Animation_Speed) | |
2093 | RightHip.C0 = Clerp(RightHip.C0, CF(1, -1, -0.01) * ANGLES(RAD(0), RAD(90), RAD(0)) * ANGLES(RAD(-8), RAD(0), RAD(0)), 2 / Animation_Speed) | |
2094 | LeftHip.C0 = Clerp(LeftHip.C0, CF(-1, -1, -0.01) * ANGLES(RAD(0), RAD(-90), RAD(0)) * ANGLES(RAD(-8), RAD(0), RAD(0)), 2 / Animation_Speed) | |
2095 | end | |
2096 | for i = 1, 50 do | |
2097 | Swait() | |
2098 | ORB.Size = ORB.Size * 0.9 | |
2099 | ORB.CFrame = RightArm.CFrame * CF(0,-2-(ORB.Size.Z/2),0) | |
2100 | end | |
2101 | local BEAM = CreatePart(3, Effects, "Neon", 0, 0, "Toothpaste", "Neon", VT(0,100,0)) | |
2102 | MakeForm(BEAM,"Ball") | |
2103 | local BEAM2 = CreatePart(3, Effects, "Neon", 0, 0, "Toothpaste", "Neon", VT(0,1000,0)) | |
2104 | MakeForm(BEAM2,"Cyl") | |
2105 | BEAM.CFrame = ORB.CFrame * CF(0,0,10) | |
2106 | ORB.Color = BRICKC("New yeller").Color | |
2107 | CreateSound("1368598393", Effects, 10, 0.3) | |
2108 | CreateSound("1368605755", Effects, 10, 0.3) | |
2109 | CreateSound("1368637781", Effects, 10, 0.3) | |
2110 | for i = 1, 10 do | |
2111 | local COLOR = C3(0,0,0) | |
2112 | ORB.Size = VT(10,10,10) | |
2113 | ORB.CFrame = RightArm.CFrame * CF(0,-2-(ORB.Size.Z/2),0) | |
2114 | CreateRing(VT(0,0,0.1),false,0,10,RightArm.CFrame*CF(0,-1,0)*ANGLES(RAD(90),RAD(0),RAD(0)),"Black",VT(10,10,0)) | |
2115 | CreateRing(VT(0,0,0.1),false,0,10,RightArm.CFrame*CF(0,-1,0)*ANGLES(RAD(90),RAD(0),RAD(0)),"Black",VT(20,20,0)) | |
2116 | BEAM.CFrame = ORB.CFrame * CF(0,-50-(ORB.Size.Z/3),0) | |
2117 | BEAM.Size = BEAM.Size + VT(4,0,4) | |
2118 | BEAM2.CFrame = ORB.CFrame * CF(0,-550-(ORB.Size.Z/3),0) | |
2119 | BEAM2.Size = BEAM2.Size + VT(4,0,4) | |
2120 | BEAM.Color = COLOR | |
2121 | ORB.Color = COLOR | |
2122 | BEAM2.Color = COLOR | |
2123 | end | |
2124 | for i = 1, 400 do | |
2125 | Swait() | |
2126 | local COLOR = C3(1,1,1) | |
2127 | BEAM.Color = COLOR | |
2128 | ORB.Color = COLOR | |
2129 | BEAM2.Color = COLOR | |
2130 | ORB.CFrame = RightArm.CFrame * CF(0,-2-(ORB.Size.Z/2),0) | |
2131 | BEAM.CFrame = ORB.CFrame * CF(0,-50-(ORB.Size.Z/3),0) | |
2132 | BEAM2.CFrame = ORB.CFrame * CF(0,-550-(ORB.Size.Z/3),0) | |
2133 | RootPart.CFrame = CF(RootPart.Position,POS+VT(AMOUNT,0,AMOUNT)) | |
2134 | CreateRing(VT(0,0,0),false,0,25,RightArm.CFrame*CF(0,-1.5,0)*ANGLES(RAD(MRANDOM(-180,180)),RAD(MRANDOM(-180,180)),RAD(MRANDOM(-180,180))),"Black",VT(POWERLEVEL/40,POWERLEVEL/40,0)) | |
2135 | CreateRing(VT(0,0,0),false,0,25,RightArm.CFrame*CF(0,-1.5,0)*ANGLES(RAD(MRANDOM(-180,180)),RAD(MRANDOM(-180,180)),RAD(MRANDOM(-180,180))),"Black",VT(POWERLEVEL/30,POWERLEVEL/30,0)) | |
2136 | local MARK = CreatePart(3, Effects, "Neon", 0, 0, "New yeller", "BurnMark", VT(15,0,15)*2) | |
2137 | MARK.CFrame = CF(POS+VT(AMOUNT,0,AMOUNT)) | |
2138 | table.insert(BURNMARKS,MARK) | |
2139 | MakeForm(MARK,"Cyl") | |
2140 | CreateRing(VT(0,0,0),false,0,25,CF(POS+VT(AMOUNT,0,AMOUNT))*ANGLES(RAD(MRANDOM(-180,180)),RAD(MRANDOM(-180,180)),RAD(MRANDOM(-180,180))),"Crimson",VT(POWERLEVEL/50,POWERLEVEL/50,0)) | |
2141 | CreateRing(VT(0,0,0),false,0,25,CF(POS+VT(AMOUNT,0,AMOUNT))*ANGLES(RAD(MRANDOM(-180,180)),RAD(MRANDOM(-180,180)),RAD(MRANDOM(-180,180))),"Crimson",VT(POWERLEVEL/40,POWERLEVEL/40,0)) | |
2142 | local distance = (RightArm.CFrame*CF(0,-2,0).p - POS+VT(AMOUNT,0,AMOUNT)).magnitude | |
2143 | AMOUNT = AMOUNT - 1 | |
2144 | --CreateFlyingDebree(FLOOR,CF(POS+VT(AMOUNT,0,AMOUNT)),1,VT(5,5,5),1,150) | |
2145 | end | |
2146 | local AMOUNT = 200 | |
2147 | for i = 1, 400 do | |
2148 | Swait() | |
2149 | local COLOR = C3(1,1,1) | |
2150 | BEAM.Color = COLOR | |
2151 | ORB.Color = COLOR | |
2152 | BEAM2.Color = COLOR | |
2153 | ORB.CFrame = RightArm.CFrame * CF(0,-2-(ORB.Size.Z/2),0) | |
2154 | BEAM.CFrame = ORB.CFrame * CF(0,-50-(ORB.Size.Z/3),0) | |
2155 | BEAM2.CFrame = ORB.CFrame * CF(0,-550-(ORB.Size.Z/3),0) | |
2156 | RootPart.CFrame = CF(RootPart.Position,POS+VT(AMOUNT,0,-AMOUNT)) | |
2157 | CreateRing(VT(0,0,0),false,0,25,RightArm.CFrame*CF(0,-1.5,0)*ANGLES(RAD(MRANDOM(-180,180)),RAD(MRANDOM(-180,180)),RAD(MRANDOM(-180,180))),"Black",VT(POWERLEVEL/40,POWERLEVEL/40,0)) | |
2158 | CreateRing(VT(0,0,0),false,0,25,RightArm.CFrame*CF(0,-1.5,0)*ANGLES(RAD(MRANDOM(-180,180)),RAD(MRANDOM(-180,180)),RAD(MRANDOM(-180,180))),"Black",VT(POWERLEVEL/30,POWERLEVEL/30,0)) | |
2159 | local MARK = CreatePart(3, Effects, "Neon", 0, 0, "Black", "BurnMark", VT(15,0,15)*2) | |
2160 | MARK.CFrame = CF(POS+VT(AMOUNT,0,-AMOUNT)) | |
2161 | table.insert(BURNMARKS,MARK) | |
2162 | MakeForm(MARK,"Cyl") | |
2163 | CreateRing(VT(0,0,0),false,0,25,CF(POS+VT(AMOUNT,0,-AMOUNT))*ANGLES(RAD(MRANDOM(-180,180)),RAD(MRANDOM(-180,180)),RAD(MRANDOM(-180,180))),"Hot pink",VT(POWERLEVEL/50,POWERLEVEL/50,0)) | |
2164 | CreateRing(VT(0,0,0),false,0,25,CF(POS+VT(AMOUNT,0,-AMOUNT))*ANGLES(RAD(MRANDOM(-180,180)),RAD(MRANDOM(-180,180)),RAD(MRANDOM(-180,180))),"Hot pink",VT(POWERLEVEL/40,POWERLEVEL/40,0)) | |
2165 | local distance = (RightArm.CFrame*CF(0,-2,0).p - POS+VT(AMOUNT,0,-AMOUNT)).magnitude | |
2166 | AMOUNT = AMOUNT - 1 | |
2167 | --CreateFlyingDebree(FLOOR,CF(POS+VT(AMOUNT,0,-AMOUNT)),1,VT(5,5,5),1,150) | |
2168 | end | |
2169 | for i = 1, 40 do | |
2170 | Swait() | |
2171 | local COLOR = C3(0,0,0) | |
2172 | BEAM.CFrame = ORB.CFrame * CF(0,-50-(ORB.Size.Z/3),0) | |
2173 | BEAM.Size = BEAM.Size - VT(2,0,2) | |
2174 | BEAM2.CFrame = ORB.CFrame * CF(0,-550-(ORB.Size.Z/3),0) | |
2175 | BEAM2.Size = BEAM2.Size - VT(2,0,2) | |
2176 | ORB.Size = ORB.Size * 0.9 | |
2177 | BEAM.Color = COLOR | |
2178 | ORB.Color = COLOR | |
2179 | BEAM2.Color = COLOR | |
2180 | end | |
2181 | ORB:remove() | |
2182 | BEAM:remove() | |
2183 | BEAM2:remove() | |
2184 | CreateSound("1368583274", Effects, 10, 0.375) | |
2185 | local ORB = CreatePart(3, Effects, "Neon", 0, 0, "Black", "Neon", VT(0,0,0)) | |
2186 | MakeForm(ORB,"Ball") | |
2187 | ORB.Color = C3(0,0,0) | |
2188 | ORB.CFrame = RightArm.CFrame * CF(0,-2,0) | |
2189 | for i=0, 18, 0.1 / Animation_Speed do | |
2190 | Swait() | |
2191 | ORB.CFrame = RightArm.CFrame * CF(0,-2-(ORB.Size.Z/2),0) | |
2192 | ORB.Size = ORB.Size + VT(0.03,0.03,0.03) | |
2193 | CreateRing(VT(450,450,0),false,0,45,ORB.CFrame*ANGLES(RAD(MRANDOM(-180,180)),RAD(MRANDOM(-180,180)),RAD(MRANDOM(-180,180))),"Really blue",VT(-10,-10,0)) | |
2194 | CreateRing(VT(450,450,0),false,0,45,ORB.CFrame*ANGLES(RAD(MRANDOM(-180,180)),RAD(MRANDOM(-180,180)),RAD(MRANDOM(-180,180))),"Really blue",VT(-10,-10,0)) | |
2195 | RootPart.CFrame = CF(RootPart.Position,POS) | |
2196 | RootJoint.C0 = Clerp(RootJoint.C0,ROOTC0 * CF(0, 0, 0) * ANGLES(RAD(0), RAD(0), RAD(90)), 2 / Animation_Speed) | |
2197 | Neck.C0 = Clerp(Neck.C0, NECKC0 * CF(0, 0, 0 + ((1) - 1)) * ANGLES(RAD(0), RAD(0), RAD(-90)), 2 / Animation_Speed) | |
2198 | RightShoulder.C0 = Clerp(RightShoulder.C0, CF(1.5, 0.5, 0) * ANGLES(RAD(0), RAD(0), RAD(90)) * RIGHTSHOULDERC0, 2 / Animation_Speed) | |
2199 | LeftShoulder.C0 = Clerp(LeftShoulder.C0, CF(-1.5, 0.5, 0) * ANGLES(RAD(0), RAD(0), RAD(-12)) * LEFTSHOULDERC0, 2 / Animation_Speed) | |
2200 | RightHip.C0 = Clerp(RightHip.C0, CF(1, -1, -0.01) * ANGLES(RAD(0), RAD(90), RAD(0)) * ANGLES(RAD(-8), RAD(0), RAD(0)), 2 / Animation_Speed) | |
2201 | LeftHip.C0 = Clerp(LeftHip.C0, CF(-1, -1, -0.01) * ANGLES(RAD(0), RAD(-90), RAD(0)) * ANGLES(RAD(-8), RAD(0), RAD(0)), 2 / Animation_Speed) | |
2202 | end | |
2203 | for i = 1, 50 do | |
2204 | Swait() | |
2205 | ORB.Size = ORB.Size * 0.9 | |
2206 | ORB.CFrame = RightArm.CFrame * CF(0,-2-(ORB.Size.Z/2),0) | |
2207 | end | |
2208 | local BEAM = CreatePart(3, Effects, "Neon", 0, 0, "New yeller", "Neon", VT(0,100,0)) | |
2209 | MakeForm(BEAM,"Ball") | |
2210 | local BEAM2 = CreatePart(3, Effects, "Neon", 0, 0, "Hot pink", "Neon", VT(0,1000,0)) | |
2211 | MakeForm(BEAM2,"Cyl") | |
2212 | BEAM.CFrame = ORB.CFrame * CF(0,0,10) | |
2213 | ORB.Color = BRICKC("Institutional white").Color | |
2214 | CreateSound("1368598393", Effects, 10, 1) | |
2215 | CreateSound("1368605755", Effects, 10, 1) | |
2216 | CreateSound("1368637781", Effects, 10, 1) | |
2217 | CreateSound("314970772", Effects, 10, 1) | |
2218 | for i = 1, 60 do | |
2219 | Swait() | |
2220 | MagicSphere(VT(0,0,0),25,CF(POS),"Toothpaste",VT(15,15,15)) | |
2221 | local COLOR = C3(0,0,0) | |
2222 | ORB.Size = VT(10,10,10) | |
2223 | ORB.CFrame = RightArm.CFrame * CF(0,-2-(ORB.Size.Z/2),0) | |
2224 | CreateRing(VT(0,0,0.1),false,0,10,RightArm.CFrame*CF(0,-1,0)*ANGLES(RAD(90),RAD(0),RAD(0)),"Toothpaste",VT(10,10,0)) | |
2225 | CreateRing(VT(0,0,0.1),false,0,10,RightArm.CFrame*CF(0,-1,0)*ANGLES(RAD(90),RAD(0),RAD(0)),"Toothpaste",VT(20,20,0)) | |
2226 | BEAM.CFrame = ORB.CFrame * CF(0,-50-(ORB.Size.Z/3),0) | |
2227 | BEAM.Size = BEAM.Size + VT(6,0,6) | |
2228 | BEAM2.CFrame = ORB.CFrame * CF(0,-550-(ORB.Size.Z/3),0) | |
2229 | BEAM2.Size = BEAM2.Size + VT(6,0,6) | |
2230 | BEAM.Color = COLOR | |
2231 | ORB.Color = COLOR | |
2232 | BEAM2.Color = COLOR | |
2233 | end | |
2234 | for _, c in pairs(workspace:GetChildren()) do | |
2235 | if c ~= Character then | |
2236 | if c.ClassName == "Model" then | |
2237 | c:BreakJoints() | |
2238 | for _, g in pairs(c:GetChildren()) do | |
2239 | if g ~= Character then | |
2240 | if g.ClassName == "Part" then | |
2241 | g.Anchored = false | |
2242 | g.Velocity = VT(MRANDOM(-150,150),MRANDOM(-150,150),MRANDOM(-150,150)) | |
2243 | end | |
2244 | end | |
2245 | end | |
2246 | elseif c.ClassName == "Folder" then | |
2247 | for _, g in pairs(c:GetChildren()) do | |
2248 | if g ~= Character then | |
2249 | if g.ClassName == "Part" then | |
2250 | g.Anchored = false | |
2251 | g.Velocity = VT(MRANDOM(-150,150),MRANDOM(-150,150),MRANDOM(-150,150)) | |
2252 | end | |
2253 | end | |
2254 | end | |
2255 | elseif c.ClassName == "Part" then | |
2256 | c.Anchored = false | |
2257 | c.Velocity = VT(MRANDOM(-150,150),MRANDOM(-150,150),MRANDOM(-150,150)) | |
2258 | end | |
2259 | end | |
2260 | end | |
2261 | for e=1,#BURNMARKS do | |
2262 | if BURNMARKS[e]~=nil then | |
2263 | local Thing=BURNMARKS[e] | |
2264 | if Thing~=nil then | |
2265 | local Part=Thing | |
2266 | Part:remove() | |
2267 | end | |
2268 | end | |
2269 | end | |
2270 | ORB:remove() | |
2271 | BEAM:remove() | |
2272 | BEAM2:remove() | |
2273 | Swait(100) | |
2274 | for i = 1, 60 do | |
2275 | Swait() | |
2276 | end | |
2277 | ATTACK = false | |
2278 | Rooted = false | |
2279 | end | |
2280 | end | |
2281 | ||
2282 | --//=================================\\ | |
2283 | --|| ASSIGN THINGS TO KEYS | |
2284 | --\\=================================// | |
2285 | ||
2286 | function MouseDown(Mouse) | |
2287 | HOLD = true | |
2288 | if ATTACK == false then | |
2289 | end | |
2290 | end | |
2291 | ||
2292 | function CastProperRay(StartPos, Vec, Length, Ignore) | |
2293 | local Direction = CFrame.new(StartPos, Vec).lookVector | |
2294 | local Ignore = ((type(Ignore) == "table" and Ignore) or {Ignore}) | |
2295 | local RayHit, RayPos, RayNormal = game:GetService("Workspace"):FindPartOnRayWithIgnoreList(Ray.new(StartPos, Direction * Length), Ignore) | |
2296 | return RayHit, RayPos, RayNormal | |
2297 | end | |
2298 | ||
2299 | function MouseUp(Mouse) | |
2300 | HOLD = false | |
2301 | end | |
2302 | ||
2303 | function KeyDown(Key) | |
2304 | KEYHOLD = true | |
2305 | if LIMITBROKEN == false then | |
2306 | if Key == "t" and ATTACK == false then | |
2307 | Taunt() | |
2308 | end | |
2309 | ||
2310 | if Key == "z" and ATTACK == false then | |
2311 | Warp() | |
2312 | end | |
2313 | ||
2314 | if Key == "b" and ATTACK == false then | |
2315 | RivalingOverthrower() | |
2316 | end | |
2317 | ||
2318 | if Key == "c" and ATTACK == false then | |
2319 | ChunkChuck() | |
2320 | end | |
2321 | ||
2322 | if Key == "v" and ATTACK == false then | |
2323 | if POWERLEVEL < 5 then | |
2324 | Boost() | |
2325 | end | |
2326 | end | |
2327 | ||
2328 | if Key == "q" and ATTACK == false then | |
2329 | BreakLimit() | |
2330 | end | |
2331 | ||
2332 | if Key == "x" and ATTACK == false then | |
2333 | XEvent() | |
2334 | end | |
2335 | else | |
2336 | if Key == "b" and ATTACK == false then | |
2337 | RivalingOverthrower2() | |
2338 | end | |
2339 | ||
2340 | if Key == "c" and ATTACK == false then | |
2341 | ChunkChuck2() | |
2342 | end | |
2343 | ||
2344 | if Key == "x" and ATTACK == false then | |
2345 | XEvent2() | |
2346 | end | |
2347 | ||
2348 | if Key == "q" and ATTACK == false then | |
2349 | LIMITBROKEN = false | |
2350 | POWERLEVEL = 1 | |
2351 | end | |
2352 | ||
2353 | if Key == "w" and ATTACK == false then | |
2354 | FLIGHT = true | |
2355 | repeat | |
2356 | local RayHit, RayPos = CastProperRay(RootPart.Position, Mouse.Hit.p, 5, {workspace}) | |
2357 | RootPart.CFrame = CFrame.new(RayPos,VT(Mouse.Hit.p.X,RootPart.Position.Y,Mouse.Hit.p.Z)) * CFrame.new(0, 0, 0) | |
2358 | Swait() | |
2359 | until KEYHOLD == false | |
2360 | FLIGHT = false | |
2361 | end | |
2362 | if Key == "s" and ATTACK == false then | |
2363 | FLIGHT = true | |
2364 | repeat | |
2365 | local RayHit1, RayPos1 = CastProperRay(Mouse.Hit.p, RootPart.Position, 10000, {workspace}) | |
2366 | local RayHit, RayPos = CastProperRay(RootPart.Position, RayPos1, 1, {workspace}) | |
2367 | RootPart.CFrame = CFrame.new(RayPos,VT(Mouse.Hit.p.X,RootPart.Position.Y,Mouse.Hit.p.Z)) * CFrame.new(0, 0, 0) | |
2368 | Swait() | |
2369 | until KEYHOLD == false | |
2370 | FLIGHT = false | |
2371 | end | |
2372 | if Key == "a" and ATTACK == false then | |
2373 | FLIGHT = true | |
2374 | repeat | |
2375 | local RayHit, RayPos = CastProperRay(RootPart.Position, RootPart.CFrame*CF(-1,0,0).p, 1, {workspace}) | |
2376 | RootPart.CFrame = CFrame.new(RayPos,VT(Mouse.Hit.p.X,RootPart.Position.Y,Mouse.Hit.p.Z)) * CFrame.new(0, 0, 0) | |
2377 | Swait() | |
2378 | until KEYHOLD == false | |
2379 | FLIGHT = false | |
2380 | end | |
2381 | if Key == "d" and ATTACK == false then | |
2382 | FLIGHT = true | |
2383 | repeat | |
2384 | local RayHit, RayPos = CastProperRay(RootPart.Position, RootPart.CFrame*CF(1,0,0).p, 1, {workspace}) | |
2385 | RootPart.CFrame = CFrame.new(RayPos,VT(Mouse.Hit.p.X,RootPart.Position.Y,Mouse.Hit.p.Z)) * CFrame.new(0, 0, 0) | |
2386 | Swait() | |
2387 | until KEYHOLD == false | |
2388 | FLIGHT = false | |
2389 | end | |
2390 | end | |
2391 | end | |
2392 | ||
2393 | function KeyUp(Key) | |
2394 | KEYHOLD = false | |
2395 | end | |
2396 | ||
2397 | Mouse.Button1Down:connect(function(NEWKEY) | |
2398 | MouseDown(NEWKEY) | |
2399 | end) | |
2400 | Mouse.Button1Up:connect(function(NEWKEY) | |
2401 | MouseUp(NEWKEY) | |
2402 | end) | |
2403 | Mouse.KeyDown:connect(function(NEWKEY) | |
2404 | KeyDown(NEWKEY) | |
2405 | end) | |
2406 | Mouse.KeyUp:connect(function(NEWKEY) | |
2407 | KeyUp(NEWKEY) | |
2408 | end) | |
2409 | ||
2410 | --//=================================\\ | |
2411 | --\\=================================// | |
2412 | ||
2413 | ||
2414 | function unanchor() | |
2415 | if UNANCHOR == true then | |
2416 | g = Character:GetChildren() | |
2417 | for i = 1, #g do | |
2418 | if g[i].ClassName == "Part" and g[i].Name ~= "HumanoidRootPart" then | |
2419 | g[i].Anchored = false | |
2420 | end | |
2421 | if g[i].ClassName == "Accessory" then | |
2422 | g[i].Handle.Anchored = false | |
2423 | end | |
2424 | end | |
2425 | if LIMITBROKEN == false then | |
2426 | RootPart.Anchored = false | |
2427 | end | |
2428 | end | |
2429 | end | |
2430 | ||
2431 | ||
2432 | --//=================================\\ | |
2433 | --|| WRAP THE WHOLE SCRIPT UP | |
2434 | --\\=================================// | |
2435 | ||
2436 | Humanoid.Changed:connect(function(Jump) | |
2437 | if Jump == "Jump" and (Disable_Jump == true) then | |
2438 | Humanoid.Jump = false | |
2439 | end | |
2440 | end) | |
2441 | ||
2442 | Speed = 12 | |
2443 | Humanoid.JumpPower = 200 | |
2444 | ||
2445 | local FF = IT("ForceField",Character) | |
2446 | FF.Visible = false | |
2447 | ||
2448 | while true do | |
2449 | Swait() | |
2450 | ANIMATE.Parent = nil | |
2451 | local IDLEANIMATION = Humanoid:LoadAnimation(ROBLOXIDLEANIMATION) | |
2452 | IDLEANIMATION:Play() | |
2453 | SINE = SINE + CHANGE | |
2454 | local TORSOVELOCITY = (RootPart.Velocity * VT(1, 0, 1)).magnitude | |
2455 | local TORSOVERTICALVELOCITY = RootPart.Velocity.y | |
2456 | local LV = Torso.CFrame:pointToObjectSpace(Torso.Velocity - Torso.Position) | |
2457 | if LIMITBROKEN == false then | |
2458 | HITFLOOR, HITPOS = Raycast(RootPart.Position, (CF(RootPart.Position, RootPart.Position + VT(0, -1, 0))).lookVector, 4 * Player_Size, Character) | |
2459 | if HITFLOOR ~= nil then | |
2460 | if HITFLOOR.CanCollide == false then | |
2461 | HITFLOOR = nil | |
2462 | end | |
2463 | end | |
2464 | local WALKSPEEDVALUE = 6 / (Humanoid.WalkSpeed / 16) | |
2465 | if ANIM == "Walk" and TORSOVELOCITY > 1 then | |
2466 | RootJoint.C1 = Clerp(RootJoint.C1, ROOTC0 * CF(0, 0, -0.15 * COS(SINE / (WALKSPEEDVALUE / 2)) * Player_Size) * ANGLES(RAD(0), RAD(0) - RootPart.RotVelocity.Y / 75, RAD(0)), 2 * (Humanoid.WalkSpeed / 16) / Animation_Speed) | |
2467 | Neck.C1 = Clerp(Neck.C1, CF(0 * Player_Size, -0.5 * Player_Size, 0 * Player_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) | |
2468 | RightHip.C1 = Clerp(RightHip.C1, CF(0.5 * Player_Size, 0.875 * Player_Size - 0.125 * SIN(SINE / WALKSPEEDVALUE) * Player_Size, -0.125 * COS(SINE / WALKSPEEDVALUE) * Player_Size) * ANGLES(RAD(0), RAD(90), RAD(0)) * ANGLES(RAD(0) - RightLeg.RotVelocity.Y / 75, RAD(0), RAD(76 * COS(SINE / WALKSPEEDVALUE))), 0.2 * (Humanoid.WalkSpeed / 16) / Animation_Speed) | |
2469 | LeftHip.C1 = Clerp(LeftHip.C1, CF(-0.5 * Player_Size, 0.875 * Player_Size + 0.125 * SIN(SINE / WALKSPEEDVALUE) * Player_Size, 0.125 * COS(SINE / WALKSPEEDVALUE) * Player_Size) * ANGLES(RAD(0), RAD(-90), RAD(0)) * ANGLES(RAD(0) + LeftLeg.RotVelocity.Y / 75, RAD(0), RAD(76 * COS(SINE / WALKSPEEDVALUE))), 0.2 * (Humanoid.WalkSpeed / 16) / Animation_Speed) | |
2470 | elseif (ANIM ~= "Walk") or (TORSOVELOCITY < 1) then | |
2471 | RootJoint.C1 = Clerp(RootJoint.C1, ROOTC0 * CF(0, 0, 0) * ANGLES(RAD(0), RAD(0), RAD(0)), 0.2 / Animation_Speed) | |
2472 | Neck.C1 = Clerp(Neck.C1, CF(0 * Player_Size, -0.5 * Player_Size, 0 * Player_Size) * ANGLES(RAD(-90), RAD(0), RAD(180)) * ANGLES(RAD(0), RAD(0), RAD(0)), 0.2 / Animation_Speed) | |
2473 | RightHip.C1 = Clerp(RightHip.C1, CF(0.5 * Player_Size, 1 * Player_Size, 0 * Player_Size) * ANGLES(RAD(0), RAD(90), RAD(0)) * ANGLES(RAD(0), RAD(0), RAD(0)), 0.2 / Animation_Speed) | |
2474 | LeftHip.C1 = Clerp(LeftHip.C1, CF(-0.5 * Player_Size, 1 * Player_Size, 0 * Player_Size) * ANGLES(RAD(0), RAD(-90), RAD(0)) * ANGLES(RAD(0), RAD(0), RAD(0)), 0.2 / Animation_Speed) | |
2475 | end | |
2476 | if TORSOVERTICALVELOCITY > 1 and HITFLOOR == nil then | |
2477 | ANIM = "Jump" | |
2478 | if ATTACK == false then | |
2479 | RootJoint.C0 = Clerp(RootJoint.C0, ROOTC0 * CF(0, 0, 0) * ANGLES(RAD(0), RAD(0), RAD(0)), 0.2 / Animation_Speed) | |
2480 | Neck.C0 = Clerp(Neck.C0, NECKC0 * CF(0, 0 * Player_Size, 0 + ((1) - 1)) * ANGLES(RAD(-20), RAD(0), RAD(0)), 2 / Animation_Speed) | |
2481 | RightShoulder.C0 = Clerp(RightShoulder.C0, CF(1.5, 0.5, 0) * ANGLES(RAD(-40), RAD(0), RAD(20)) * RIGHTSHOULDERC0, 2 / Animation_Speed) | |
2482 | LeftShoulder.C0 = Clerp(LeftShoulder.C0, CF(-1.5, 0.5, 0) * ANGLES(RAD(-40), RAD(0), RAD(-20)) * LEFTSHOULDERC0, 2 / Animation_Speed) | |
2483 | RightHip.C0 = Clerp(RightHip.C0, CF(1, -1, -0.3) * ANGLES(RAD(0), RAD(90), RAD(0)) * ANGLES(RAD(-5), RAD(0), RAD(-20)), 2 / Animation_Speed) | |
2484 | LeftHip.C0 = Clerp(LeftHip.C0, CF(-1, -1, -0.3) * ANGLES(RAD(0), RAD(-90), RAD(0)) * ANGLES(RAD(-5), RAD(0), RAD(20)), 2 / Animation_Speed) | |
2485 | end | |
2486 | elseif TORSOVERTICALVELOCITY < -1 and HITFLOOR == nil then | |
2487 | ANIM = "Fall" | |
2488 | if ATTACK == false then | |
2489 | RootJoint.C0 = Clerp(RootJoint.C0, ROOTC0 * CF(0, 0, 0 ) * ANGLES(RAD(0), RAD(0), RAD(0)), 2 / Animation_Speed) | |
2490 | Neck.C0 = Clerp(Neck.C0, NECKC0 * CF(0, 0 , 0 + ((1) - 1)) * ANGLES(RAD(20), RAD(0), RAD(0)), 2 / Animation_Speed) | |
2491 | RightShoulder.C0 = Clerp(RightShoulder.C0, CF(1.5, 0.5, 0) * ANGLES(RAD(0), RAD(0), RAD(60)) * RIGHTSHOULDERC0, 2 / Animation_Speed) | |
2492 | LeftShoulder.C0 = Clerp(LeftShoulder.C0, CF(-1.5, 0.5, 0) * ANGLES(RAD(0), RAD(0), RAD(-60)) * LEFTSHOULDERC0, 2 / Animation_Speed) | |
2493 | RightHip.C0 = Clerp(RightHip.C0, CF(1, -1, 0) * ANGLES(RAD(0), RAD(90), RAD(0)) * ANGLES(RAD(0), RAD(0), RAD(20)), 2 / Animation_Speed) | |
2494 | LeftHip.C0 = Clerp(LeftHip.C0, CF(-1, -1, 0) * ANGLES(RAD(0), RAD(-90), RAD(0)) * ANGLES(RAD(0), RAD(0), RAD(10)), 2 / Animation_Speed) | |
2495 | end | |
2496 | elseif TORSOVELOCITY < 1 and HITFLOOR ~= nil then | |
2497 | if ANIM == "Fall" then | |
2498 | Rooted = true | |
2499 | CreateSound("289842971", Torso, 3, 1) | |
2500 | Humanoid.WalkSpeed = 0 | |
2501 | CreateFlyingDebree(HITFLOOR,CF(RootPart.Position+VT(0,-3,0)),5,VT(1.5,1.5,1.5),45,50) | |
2502 | CreateWave(VT(0,0,0),15,CF(HITPOS),true,2,"Really black",VT(1,0.1,1)) | |
2503 | for i=0, 1, 0.1 / Animation_Speed do | |
2504 | Swait() | |
2505 | RootJoint.C0 = Clerp(RootJoint.C0,ROOTC0 * CF(0, 0, -1.5) * ANGLES(RAD(0), RAD(-5), RAD(0)), 2 / Animation_Speed) | |
2506 | Neck.C0 = Clerp(Neck.C0, NECKC0 * CF(0, 0, 0) * ANGLES(RAD(15), RAD(0), RAD(0)), 0.15 / Animation_Speed) | |
2507 | RightShoulder.C0 = Clerp(RightShoulder.C0, CF(1.5, 0, -0.3) * ANGLES(RAD(0), RAD(0), RAD(8)) * RIGHTSHOULDERC0, 2 / Animation_Speed) | |
2508 | LeftShoulder.C0 = Clerp(LeftShoulder.C0, CF(-1.5, 0.5, 0) * ANGLES(RAD(0), RAD(0), RAD(-12)) * LEFTSHOULDERC0, 2 / Animation_Speed) | |
2509 | RightHip.C0 = Clerp(RightHip.C0, CF(1, 0.5, -0.75) * ANGLES(RAD(0), RAD(90), RAD(0)) * ANGLES(RAD(-5), RAD(0), RAD(0)), 2 / Animation_Speed) | |
2510 | LeftHip.C0 = Clerp(LeftHip.C0, CF(-1, -1, -0.4) * ANGLES(RAD(0), RAD(-90), RAD(0)) * ANGLES(RAD(-5), RAD(0), RAD(90)), 2 / Animation_Speed) | |
2511 | end | |
2512 | Rooted = false | |
2513 | end | |
2514 | ANIM = "Idle" | |
2515 | if ATTACK == false then | |
2516 | RootJoint.C0 = Clerp(RootJoint.C0,ROOTC0 * CF(0, 0, -0.2 + 0.05 * COS(SINE / 12)) * ANGLES(RAD(15), RAD(0), RAD(0 - 2.5 * SIN(SINE / 12))), 2 / Animation_Speed) | |
2517 | Neck.C0 = Clerp(Neck.C0, NECKC0 * CF(0, 0, 0 + ((1) - 1)) * ANGLES(RAD(0 - 2.5 * SIN(SINE / 12)), RAD(0), RAD(0 + 2.5 * SIN(SINE / 12))), 2 / Animation_Speed) | |
2518 | RightShoulder.C0 = Clerp(RightShoulder.C0, CF(1.15, 0, -0.5) * ANGLES(RAD(140 + 2.5 * SIN(SINE / 12)), RAD(15), RAD(0)) * RIGHTSHOULDERC0, 2 / Animation_Speed) | |
2519 | LeftShoulder.C0 = Clerp(LeftShoulder.C0, CF(-1.15, 0, -0.5) * ANGLES(RAD(140 + 2.5 * SIN(SINE / 12)), RAD(-15), RAD(0)) * LEFTSHOULDERC0, 2 / Animation_Speed) | |
2520 | 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(-15 - 2.5 * SIN(SINE / 12))), 2 / Animation_Speed) | |
2521 | 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(-35 - 2.5 * SIN(SINE / 12))), 2 / Animation_Speed) | |
2522 | end | |
2523 | elseif TORSOVELOCITY > 1 and HITFLOOR ~= nil then | |
2524 | if ANIM == "Fall" then | |
2525 | Rooted = true | |
2526 | CreateSound("289842971", Torso, 3, 1) | |
2527 | Humanoid.WalkSpeed = 0 | |
2528 | CreateFlyingDebree(HITFLOOR,CF(RootPart.Position+VT(0,-3,0)),5,VT(1.5,1.5,1.5),45,50) | |
2529 | CreateWave(VT(0,0,0),15,CF(HITPOS),true,2,"Really black",VT(1,0.1,1)) | |
2530 | for i=0, 1, 0.1 / Animation_Speed do | |
2531 | Swait() | |
2532 | RootJoint.C0 = Clerp(RootJoint.C0,ROOTC0 * CF(0, 0, -1.5) * ANGLES(RAD(0), RAD(-5), RAD(0)), 2 / Animation_Speed) | |
2533 | Neck.C0 = Clerp(Neck.C0, NECKC0 * CF(0, 0, 0) * ANGLES(RAD(15), RAD(0), RAD(0)), 0.15 / Animation_Speed) | |
2534 | RightShoulder.C0 = Clerp(RightShoulder.C0, CF(1.5, 0, -0.3) * ANGLES(RAD(0), RAD(0), RAD(8)) * RIGHTSHOULDERC0, 2 / Animation_Speed) | |
2535 | LeftShoulder.C0 = Clerp(LeftShoulder.C0, CF(-1.5, 0.5, 0) * ANGLES(RAD(0), RAD(0), RAD(-12)) * LEFTSHOULDERC0, 2 / Animation_Speed) | |
2536 | RightHip.C0 = Clerp(RightHip.C0, CF(1, 0.5, -0.75) * ANGLES(RAD(0), RAD(90), RAD(0)) * ANGLES(RAD(-5), RAD(0), RAD(0)), 2 / Animation_Speed) | |
2537 | LeftHip.C0 = Clerp(LeftHip.C0, CF(-1, -1, -0.4) * ANGLES(RAD(0), RAD(-90), RAD(0)) * ANGLES(RAD(-5), RAD(0), RAD(90)), 2 / Animation_Speed) | |
2538 | end | |
2539 | Rooted = false | |
2540 | end | |
2541 | ANIM = "Walk" | |
2542 | WALK = WALK + 1 / Animation_Speed | |
2543 | if WALK >= 15 - (5 * (Humanoid.WalkSpeed / 16 / Player_Size)) then | |
2544 | WALK = 0 | |
2545 | if WALKINGANIM == true then | |
2546 | WALKINGANIM = false | |
2547 | elseif WALKINGANIM == false then | |
2548 | WALKINGANIM = true | |
2549 | end | |
2550 | end | |
2551 | --RightHip.C1 = Clerp(RightHip.C1, CF(0.5 * Player_Size, 0.875 * Player_Size - 0.125 * SIN(SINE / WALKSPEEDVALUE) * Player_Size, -0.125 * COS(SINE / WALKSPEEDVALUE) * Player_Size) * ANGLES(RAD(0), RAD(90), RAD(0)) * ANGLES(RAD(0) - RightLeg.RotVelocity.Y / 75, RAD(0), RAD(60 * COS(SINE / WALKSPEEDVALUE))), 0.2 * (Humanoid.WalkSpeed / 16) / Animation_Speed) | |
2552 | --LeftHip.C1 = Clerp(LeftHip.C1, CF(-0.5 * Player_Size, 0.875 * Player_Size + 0.125 * SIN(SINE / WALKSPEEDVALUE) * Player_Size, 0.125 * COS(SINE / WALKSPEEDVALUE) * Player_Size) * ANGLES(RAD(0), RAD(-90), RAD(0)) * ANGLES(RAD(0) + LeftLeg.RotVelocity.Y / 75, RAD(0), RAD(60 * COS(SINE / WALKSPEEDVALUE))), 0.2 * (Humanoid.WalkSpeed / 16) / Animation_Speed) | |
2553 | if ATTACK == false then | |
2554 | RootJoint.C0 = Clerp(RootJoint.C0,ROOTC0 * CF(0, 0, -0.1) * ANGLES(RAD(5), RAD(0), RAD(0)), 2 / Animation_Speed) | |
2555 | Neck.C0 = Clerp(Neck.C0, NECKC0 * CF(0, 0, 0 + ((1) - 1)) * ANGLES(RAD(5 - 8 * SIN(SINE / (WALKSPEEDVALUE / 2))), RAD(2 - 1 * SIN(SINE / (WALKSPEEDVALUE / 2))), RAD(0)), 2 / Animation_Speed) | |
2556 | RightShoulder.C0 = Clerp(RightShoulder.C0, CF(1.5, 0.5, 0) * ANGLES(RAD(30 * COS(SINE / WALKSPEEDVALUE)), RAD(0), RAD(5)) * RIGHTSHOULDERC0, 2 / Animation_Speed) | |
2557 | LeftShoulder.C0 = Clerp(LeftShoulder.C0, CF(-1.5, 0.5, 0) * ANGLES(RAD(-30 * COS(SINE / WALKSPEEDVALUE)), RAD(0), RAD(-5)) * LEFTSHOULDERC0, 2 / Animation_Speed) | |
2558 | RightHip.C0 = Clerp(RightHip.C0, CF(1 , -1 - 0.15 * COS(SINE / WALKSPEEDVALUE*2), -0.2+ 0.2 * COS(SINE / WALKSPEEDVALUE)) * ANGLES(RAD(0), RAD(90), RAD(0)) * ANGLES(RAD(0), RAD(0), RAD(-15)), 2 / Animation_Speed) | |
2559 | LeftHip.C0 = Clerp(LeftHip.C0, CF(-1, -1 - 0.15 * COS(SINE / WALKSPEEDVALUE*2), -0.2+ -0.2 * COS(SINE / WALKSPEEDVALUE)) * ANGLES(RAD(0), RAD(-90), RAD(0)) * ANGLES(RAD(0), RAD(0), RAD(15)), 2 / Animation_Speed) | |
2560 | end | |
2561 | end | |
2562 | if ATTACK == false and POWERLEVEL > 2 then | |
2563 | killnearest(Torso.Position,POWERLEVEL*2,15) | |
2564 | end | |
2565 | - | if sick.SoundId ~= "rbxassetid://389898352" then |
2565 | + | if sick.SoundId ~= "rbxassetid://1275083876" then |
2566 | - | sick.SoundId = "rbxassetid://389898352" |
2566 | + | sick.SoundId = "rbxassetid://1275083876" |
2567 | sick.Volume = 5 | |
2568 | sick:Play() | |
2569 | end | |
2570 | sick.Pitch = (1-((POWERLEVEL-1))/15) | |
2571 | SKILL6TEXT.Text = "Power level: ["..POWERLEVEL.."]" | |
2572 | else | |
2573 | VALUE2 = false | |
2574 | if ATTACK == false and POWERLEVEL > 2 then | |
2575 | killnearest(Torso.Position,15,15) | |
2576 | end | |
2577 | local RANDOM = MRANDOM(1,4) | |
2578 | if MRANDOM(1,5) == 1 then | |
2579 | CreateRing(VT(15,15,0)*RANDOM,false,0,15,CF(Torso.Position)*ANGLES(RAD(MRANDOM(-180,180)),RAD(MRANDOM(-180,180)),RAD(MRANDOM(-180,180))),"Crimson",VT(-1,-1,0)*RANDOM) | |
2580 | end | |
2581 | if MRANDOM(1,5) == 1 then | |
2582 | CreateRing(VT(15,15,0)*RANDOM,false,0,15,CF(Torso.Position)*ANGLES(RAD(MRANDOM(-180,180)),RAD(MRANDOM(-180,180)),RAD(MRANDOM(-180,180))),"Crimson",VT(-1,-1,0)*RANDOM) | |
2583 | end | |
2584 | RootJoint.C1 = Clerp(RootJoint.C1, ROOTC0 * CF(0, 0, 0) * ANGLES(RAD(0), RAD(0), RAD(0)), 0.2 / Animation_Speed) | |
2585 | Neck.C1 = Clerp(Neck.C1, CF(0 * Player_Size, -0.5 * Player_Size, 0 * Player_Size) * ANGLES(RAD(-90), RAD(0), RAD(180)) * ANGLES(RAD(0), RAD(0), RAD(0)), 0.2 / Animation_Speed) | |
2586 | RightHip.C1 = Clerp(RightHip.C1, CF(0.5 * Player_Size, 1 * Player_Size, 0 * Player_Size) * ANGLES(RAD(0), RAD(90), RAD(0)) * ANGLES(RAD(0), RAD(0), RAD(0)), 0.2 / Animation_Speed) | |
2587 | LeftHip.C1 = Clerp(LeftHip.C1, CF(-0.5 * Player_Size, 1 * Player_Size, 0 * Player_Size) * ANGLES(RAD(0), RAD(-90), RAD(0)) * ANGLES(RAD(0), RAD(0), RAD(0)), 0.2 / Animation_Speed) | |
2588 | POWERLEVEL = 100 | |
2589 | RootPart.Anchored = true | |
2590 | if FLIGHT == false then | |
2591 | ANIM = "Levitate" | |
2592 | if ATTACK == false then | |
2593 | RootJoint.C0 = Clerp(RootJoint.C0, ROOTC0 * CF(0, 0, 0 ) * ANGLES(RAD(0), RAD(0), RAD(0)), 2 / Animation_Speed) | |
2594 | Neck.C0 = Clerp(Neck.C0, NECKC0 * CF(0, 0 , 0 + ((1) - 1)) * ANGLES(RAD(20), RAD(0), RAD(0)), 2 / Animation_Speed) | |
2595 | RightShoulder.C0 = Clerp(RightShoulder.C0, CF(1.5, 0.5, 0) * ANGLES(RAD(0), RAD(0), RAD(25)) * RIGHTSHOULDERC0, 2 / Animation_Speed) | |
2596 | LeftShoulder.C0 = Clerp(LeftShoulder.C0, CF(-1.5, 0.5, 0) * ANGLES(RAD(0), RAD(0), RAD(-25)) * LEFTSHOULDERC0, 2 / Animation_Speed) | |
2597 | RightHip.C0 = Clerp(RightHip.C0, CF(1, -0.5, -0.5) * ANGLES(RAD(0), RAD(90), RAD(0)) * ANGLES(RAD(0), RAD(0), RAD(20)), 2 / Animation_Speed) | |
2598 | LeftHip.C0 = Clerp(LeftHip.C0, CF(-1, -1, 0) * ANGLES(RAD(-25), RAD(-90), RAD(0)) * ANGLES(RAD(0), RAD(0), RAD(10)), 2 / Animation_Speed) | |
2599 | end | |
2600 | else | |
2601 | ANIM = "Fly" | |
2602 | if ATTACK == false then | |
2603 | RootJoint.C0 = Clerp(RootJoint.C0, ROOTC0 * CF(0, 0, 0 ) * ANGLES(RAD(25), RAD(0), RAD(0)), 2 / Animation_Speed) | |
2604 | Neck.C0 = Clerp(Neck.C0, NECKC0 * CF(0, 0 , 0 + ((1) - 1)) * ANGLES(RAD(-10), RAD(0), RAD(0)), 2 / Animation_Speed) | |
2605 | RightShoulder.C0 = Clerp(RightShoulder.C0, CF(1.5, 0.5, 0) * ANGLES(RAD(-15), RAD(0), RAD(15)) * RIGHTSHOULDERC0, 2 / Animation_Speed) | |
2606 | LeftShoulder.C0 = Clerp(LeftShoulder.C0, CF(-1.5, 0.5, 0) * ANGLES(RAD(-15), RAD(0), RAD(-15)) * LEFTSHOULDERC0, 2 / Animation_Speed) | |
2607 | RightHip.C0 = Clerp(RightHip.C0, CF(1, -0.5, -0.5) * ANGLES(RAD(-10), RAD(90), RAD(0)) * ANGLES(RAD(0), RAD(0), RAD(20)), 2 / Animation_Speed) | |
2608 | LeftHip.C0 = Clerp(LeftHip.C0, CF(-1, -1, 0) * ANGLES(RAD(-35), RAD(-90), RAD(0)) * ANGLES(RAD(0), RAD(0), RAD(10)), 2 / Animation_Speed) | |
2609 | end | |
2610 | end | |
2611 | SKILL6TEXT.Text = "Power level: ["..MRANDOM(1,9)..MRANDOM(1,9)..MRANDOM(1,9)..MRANDOM(1,9)..MRANDOM(1,9).."]" | |
2612 | HITFLOOR, HITPOS = Raycast(RootPart.Position, (CF(RootPart.Position, RootPart.Position + VT(0, -1, 0))).lookVector, 75, Character) | |
2613 | - | if sick.SoundId ~= "rbxassetid://389898352" then |
2613 | + | if sick.SoundId ~= "rbxassetid://1275083876" then |
2614 | - | sick.SoundId = "rbxassetid://389898352" |
2614 | + | sick.SoundId = "rbxassetid://1275083876" |
2615 | sick.Volume = 5 | |
2616 | sick:Play() | |
2617 | sick.Pitch = 1 | |
2618 | end | |
2619 | end | |
2620 | unanchor() | |
2621 | Humanoid.MaxHealth = "inf" | |
2622 | Humanoid.Health = "inf" | |
2623 | if Rooted == false then | |
2624 | Disable_Jump = false | |
2625 | if ANIM == "Jump" or ANIM == "Fall" then | |
2626 | Humanoid.WalkSpeed = Speed*3 | |
2627 | else | |
2628 | Humanoid.WalkSpeed = Speed | |
2629 | end | |
2630 | elseif Rooted == true then | |
2631 | Disable_Jump = true | |
2632 | Humanoid.WalkSpeed = 0 | |
2633 | end | |
2634 | q = Character:GetChildren() | |
2635 | for u = 1, #q do | |
2636 | if q[u].ClassName == "Accessory" or q[u].ClassName == "Hat" then | |
2637 | if q[u].Handle:FindFirstChild("PE") == nil then | |
2638 | particles(q[u].Handle) | |
2639 | elseif q[u].Handle:FindFirstChild("PE") then | |
2640 | if LIMITBROKEN == false then | |
2641 | local EyeSizes={ | |
2642 | NumberSequenceKeypoint.new(0,POWERLEVEL/2,0), | |
2643 | NumberSequenceKeypoint.new(1,0,0) | |
2644 | } | |
2645 | q[u].Handle.PE.Acceleration = Vector3.new(0,75*POWERLEVEL/2,0) | |
2646 | q[u].Handle.PE.Speed = NumberRange.new(POWERLEVEL) | |
2647 | q[u].Handle.PE.Size=NumberSequence.new(EyeSizes) | |
2648 | else | |
2649 | local EyeSizes={ | |
2650 | NumberSequenceKeypoint.new(0,4,0), | |
2651 | NumberSequenceKeypoint.new(1,0,0) | |
2652 | } | |
2653 | q[u].Handle.PE.Acceleration = Vector3.new(0,100,0) | |
2654 | q[u].Handle.PE.Speed = NumberRange.new(25) | |
2655 | q[u].Handle.PE.Size=NumberSequence.new(EyeSizes) | |
2656 | end | |
2657 | end | |
2658 | elseif q[u].ClassName == "Part" and q[u].Name ~= "HumanoidRootPart" then | |
2659 | if q[u]:FindFirstChild("PE") == nil then | |
2660 | particles(q[u]) | |
2661 | elseif q[u]:FindFirstChild("PE") then | |
2662 | if LIMITBROKEN == false then | |
2663 | local EyeSizes={ | |
2664 | NumberSequenceKeypoint.new(0,POWERLEVEL/2,0), | |
2665 | NumberSequenceKeypoint.new(1,0,0) | |
2666 | } | |
2667 | q[u].PE.Acceleration = Vector3.new(0,75*POWERLEVEL/2,0) | |
2668 | q[u].PE.Speed = NumberRange.new(POWERLEVEL) | |
2669 | q[u].PE.Size=NumberSequence.new(EyeSizes) | |
2670 | else | |
2671 | local EyeSizes={ | |
2672 | NumberSequenceKeypoint.new(0,4,0), | |
2673 | NumberSequenceKeypoint.new(1,0,0) | |
2674 | } | |
2675 | q[u].PE.Acceleration = Vector3.new(0,100,0) | |
2676 | q[u].PE.Speed = NumberRange.new(25) | |
2677 | q[u].PE.Size=NumberSequence.new(EyeSizes) | |
2678 | end | |
2679 | end | |
2680 | end | |
2681 | end | |
2682 | script.Parent = PlayerGui | |
2683 | if VALUE2 == false then | |
2684 | if HITFLOOR ~= nil then | |
2685 | CreateRing(VT(0,0,0.1),false,0,15,CF(HITPOS)*ANGLES(RAD(90),RAD(0),RAD(0)),"Black",VT(POWERLEVEL/3,POWERLEVEL/3,0)) | |
2686 | end | |
2687 | Speed = 12 | |
2688 | Character.Parent = workspace | |
2689 | Weapon.Parent = Character | |
2690 | elseif VALUE2 == true then | |
2691 | Speed = 45 | |
2692 | Character.Parent = Cam | |
2693 | Weapon.Parent = workspace | |
2694 | end | |
2695 | Effects.Parent = Weapon | |
2696 | FF.Parent = Character | |
2697 | local MATHS = {"0","1"} | |
2698 | Humanoid.Name = MATHS[MRANDOM(1,#MATHS)]..MATHS[MRANDOM(1,#MATHS)]..MATHS[MRANDOM(1,#MATHS)]..MATHS[MRANDOM(1,#MATHS)]..MATHS[MRANDOM(1,#MATHS)]..MATHS[MRANDOM(1,#MATHS)]..MATHS[MRANDOM(1,#MATHS)]..MATHS[MRANDOM(1,#MATHS)]..MATHS[MRANDOM(1,#MATHS)]..MATHS[MRANDOM(1,#MATHS)]..MATHS[MRANDOM(1,#MATHS)]..MATHS[MRANDOM(1,#MATHS)]..MATHS[MRANDOM(1,#MATHS)]..MATHS[MRANDOM(1,#MATHS)]..MATHS[MRANDOM(1,#MATHS)]..MATHS[MRANDOM(1,#MATHS)]..MATHS[MRANDOM(1,#MATHS)]..MATHS[MRANDOM(1,#MATHS)] | |
2699 | Humanoid.PlatformStand = false | |
2700 | sick.Parent = Character | |
2701 | end | |
2702 | ||
2703 | --//=================================\\ | |
2704 | --\\=================================// | |
2705 | ||
2706 | ||
2707 | ||
2708 | ||
2709 | ||
2710 | --//====================================================\\-- | |
2711 | --|| END OF SCRIPT | |
2712 | --\\====================================================//-- |