SHOW:
|
|
- or go back to the newest paste.
1 | --//====================================================\\-- | |
2 | --|| CREATED BY SHACKLUSTER | |
3 | --|| EDITED BY tamloveeif02 | |
4 | --\\====================================================//-- | |
5 | ||
6 | ||
7 | ||
8 | wait(0.2) | |
9 | ||
10 | plr = game.Players.LocalPlayer | |
11 | char = plr.Character | |
12 | mouse = plr:GetMouse() | |
13 | whitecolor = Color3.new(1,1,1) | |
14 | epicmode = false | |
15 | normal = true | |
16 | for i,v in pairs(char:GetChildren()) do | |
17 | if v.ClassName == "Shirt" or v.ClassName == "Pants" or v.ClassName == "ShirtGraphic" then | |
18 | v:Destroy() | |
19 | end | |
20 | end | |
21 | local shirt = Instance.new("Shirt",char) | |
22 | shirt.ShirtTemplate = "http://www.roblox.com/asset/?id=429776330" | |
23 | local pants = Instance.new("Pants",char) | |
24 | pants.PantsTemplate = "http://www.roblox.com/asset/?id=482364735" | |
25 | local bdycolors = char["Body Colors"] | |
26 | bdycolors.HeadColor3 = whitecolor | |
27 | bdycolors.LeftArmColor3 = whitecolor | |
28 | bdycolors.LeftLegColor3 = whitecolor | |
29 | bdycolors.RightArmColor3 = whitecolor | |
30 | bdycolors.RightLegColor3 = whitecolor | |
31 | bdycolors.TorsoColor3 = whitecolor | |
32 | for i,v in pairs(char:GetChildren()) do | |
33 | if v.ClassName == "Hat" or v.ClassName == "Accessory" then | |
34 | v:Destroy() | |
35 | end | |
36 | end | |
37 | ||
38 | ||
39 | Player = game:GetService("Players").LocalPlayer | |
40 | PlayerGui = Player.PlayerGui | |
41 | Cam = workspace.CurrentCamera | |
42 | Backpack = Player.Backpack | |
43 | Character = Player.Character | |
44 | Humanoid = Character.Humanoid | |
45 | Mouse = Player:GetMouse() | |
46 | RootPart = Character["HumanoidRootPart"] | |
47 | Torso = Character["Torso"] | |
48 | Head = Character["Head"] | |
49 | RightArm = Character["Right Arm"] | |
50 | LeftArm = Character["Left Arm"] | |
51 | RightLeg = Character["Right Leg"] | |
52 | LeftLeg = Character["Left Leg"] | |
53 | RootJoint = RootPart["RootJoint"] | |
54 | Neck = Torso["Neck"] | |
55 | RightShoulder = Torso["Right Shoulder"] | |
56 | LeftShoulder = Torso["Left Shoulder"] | |
57 | RightHip = Torso["Right Hip"] | |
58 | LeftHip = Torso["Left Hip"] | |
59 | local sick = Instance.new("Sound",Character) | |
60 | sick.SoundId = "rbxassetid://183142252" | |
61 | sick.Looped = true | |
62 | sick.Pitch = 1 | |
63 | sick.Volume = 5 | |
64 | sick:Play() | |
65 | Humanoid.DisplayDistanceType = "None" | |
66 | ||
67 | local naeeym2 = Instance.new("BillboardGui",Character) | |
68 | naeeym2.AlwaysOnTop = true | |
69 | naeeym2.Size = UDim2.new(5,35,2,35) | |
70 | naeeym2.StudsOffset = Vector3.new(0,3,0) | |
71 | naeeym2.Adornee = Character.Head | |
72 | naeeym2.Name = "Name" | |
73 | local tecks2 = Instance.new("TextLabel",naeeym2) | |
74 | tecks2.BackgroundTransparency = 1 | |
75 | tecks2.TextScaled = true | |
76 | tecks2.BorderSizePixel = 0 | |
77 | tecks2.Text = "The Nightmare Rival" | |
78 | tecks2.Font = "SourceSansBold" | |
79 | tecks2.TextSize = 30 | |
80 | tecks2.TextStrokeTransparency = 0 | |
81 | tecks2.TextColor3 = BrickColor.new("White").Color | |
82 | tecks2.TextStrokeColor3 = BrickColor.new "maincolor".Color | |
83 | tecks2.Size = UDim2.new(1,0,0.5,0) | |
84 | tecks2.Parent = naeeym2 | |
85 | ||
86 | IT = Instance.new | |
87 | CF = CFrame.new | |
88 | VT = Vector3.new | |
89 | RAD = math.rad | |
90 | C3 = Color3.new | |
91 | UD2 = UDim2.new | |
92 | BRICKC = BrickColor.new | |
93 | ANGLES = CFrame.Angles | |
94 | EULER = CFrame.fromEulerAnglesXYZ | |
95 | COS = math.cos | |
96 | ACOS = math.acos | |
97 | SIN = math.sin | |
98 | ASIN = math.asin | |
99 | ABS = math.abs | |
100 | MRANDOM = math.random | |
101 | FLOOR = math.floor | |
102 | - | local "maincolor" = BrickColor.new |
102 | + | local maincolor = BrickColor.new |
103 | ||
104 | function CreateMesh(MESH, PARENT, MESHTYPE, MESHID, TEXTUREID, SCALE, OFFSET) | |
105 | local NEWMESH = IT(MESH) | |
106 | if MESH == "SpecialMesh" then | |
107 | NEWMESH.MeshType = MESHTYPE | |
108 | if MESHID ~= "nil" and MESHID ~= "" then | |
109 | NEWMESH.MeshId = "http://www.roblox.com/asset/?id="..MESHID | |
110 | end | |
111 | if TEXTUREID ~= "nil" and TEXTUREID ~= "" then | |
112 | NEWMESH.TextureId = "http://www.roblox.com/asset/?id="..TEXTUREID | |
113 | end | |
114 | end | |
115 | NEWMESH.Offset = OFFSET or VT(0, 0, 0) | |
116 | NEWMESH.Scale = SCALE | |
117 | NEWMESH.Parent = PARENT | |
118 | return NEWMESH | |
119 | end | |
120 | ||
121 | function CreatePart(FORMFACTOR, PARENT, MATERIAL, REFLECTANCE, TRANSPARENCY, BRICKCOLOR, NAME, SIZE, ANCHOR) | |
122 | local NEWPART = IT("Part") | |
123 | NEWPART.formFactor = FORMFACTOR | |
124 | NEWPART.Reflectance = REFLECTANCE | |
125 | NEWPART.Transparency = TRANSPARENCY | |
126 | NEWPART.CanCollide = false | |
127 | NEWPART.Locked = true | |
128 | NEWPART.Anchored = true | |
129 | if ANCHOR == false then | |
130 | NEWPART.Anchored = false | |
131 | end | |
132 | NEWPART.BrickColor = BRICKC(tostring(BRICKCOLOR)) | |
133 | NEWPART.Name = NAME | |
134 | NEWPART.Size = SIZE | |
135 | NEWPART.Position = Torso.Position | |
136 | NEWPART.Material = MATERIAL | |
137 | NEWPART:BreakJoints() | |
138 | NEWPART.Parent = PARENT | |
139 | return NEWPART | |
140 | end | |
141 | ||
142 | --//=================================\\ | |
143 | --|| CUSTOMIZATION | |
144 | --\\=================================// | |
145 | ||
146 | Player_Size = 1 --Size of the player. | |
147 | Animation_Speed = 3 | |
148 | Frame_Speed = 1 / 60 -- (1 / 30) OR (1 / 60) | |
149 | ||
150 | local Speed = 16 | |
151 | local Effects2 = {} | |
152 | ||
153 | --//=================================\\ | |
154 | --|| END OF CUSTOMIZATION | |
155 | --\\=================================// | |
156 | ||
157 | local function weldBetween(a, b) | |
158 | local weldd = Instance.new("ManualWeld") | |
159 | weldd.Part0 = a | |
160 | weldd.Part1 = b | |
161 | weldd.C0 = CFrame.new() | |
162 | weldd.C1 = b.CFrame:inverse() * a.CFrame | |
163 | weldd.Parent = a | |
164 | return weldd | |
165 | end | |
166 | ||
167 | --//=================================\\ | |
168 | --|| USEFUL VALUES | |
169 | --\\=================================// | |
170 | ||
171 | local ROOTC0 = CF(0, 0, 0) * ANGLES(RAD(-90), RAD(0), RAD(180)) | |
172 | local NECKC0 = CF(0, 1, 0) * ANGLES(RAD(-90), RAD(0), RAD(180)) | |
173 | local RIGHTSHOULDERC0 = CF(-0.5, 0, 0) * ANGLES(RAD(0), RAD(90), RAD(0)) | |
174 | local LEFTSHOULDERC0 = CF(0.5, 0, 0) * ANGLES(RAD(0), RAD(-90), RAD(0)) | |
175 | local CHANGEDEFENSE = 0 | |
176 | local CHANGEDAMAGE = 0 | |
177 | local CHANGEMOVEMENT = 0 | |
178 | local ANIM = "Idle" | |
179 | local ATTACK = false | |
180 | local EQUIPPED = false | |
181 | local HOLD = false | |
182 | local COMBO = 1 | |
183 | local Rooted = false | |
184 | local SINE = 0 | |
185 | local KEYHOLD = false | |
186 | local CHANGE = 2 / Animation_Speed | |
187 | local WALKINGANIM = false | |
188 | local WALK = 0 | |
189 | local VALUE1 = false | |
190 | local VALUE2 = false | |
191 | local POWERLEVEL = 1 | |
192 | local DEATH = false | |
193 | local ROBLOXIDLEANIMATION = IT("Animation") | |
194 | ROBLOXIDLEANIMATION.Name = "Roblox Idle Animation" | |
195 | ROBLOXIDLEANIMATION.AnimationId = "http://www.roblox.com/asset/?id=180435571" | |
196 | --ROBLOXIDLEANIMATION.Parent = Humanoid | |
197 | local WEAPONGUI = IT("ScreenGui", PlayerGui) | |
198 | WEAPONGUI.Name = "Weapon GUI" | |
199 | local Weapon = IT("Model") | |
200 | Weapon.Name = "Adds" | |
201 | local Effects = IT("Folder", Weapon) | |
202 | Effects.Name = "Effects" | |
203 | local ANIMATOR = Humanoid.Animator | |
204 | local ANIMATE = Character.Animate | |
205 | local HITPLAYERSOUNDS = {--[["199149137", "199149186", "199149221", "199149235", "199149269", "199149297"--]]"263032172", "263032182", "263032200", "263032221", "263032252", "263033191"} | |
206 | local HITARMORSOUNDS = {"199149321", "199149338", "199149367", "199149409", "199149452"} | |
207 | local HITWEAPONSOUNDS = {"199148971", "199149025", "199149072", "199149109", "199149119"} | |
208 | local HITBLOCKSOUNDS = {"199148933", "199148947"} | |
209 | local UNANCHOR = true | |
210 | local LIMITBROKEN = false | |
211 | local HITFLOOR, HITPOS = nil | |
212 | local FLIGHT = false | |
213 | ||
214 | local SKILLTEXTCOLOR = BRICKC("maincolor").Color | |
215 | ||
216 | --//=================================\\ | |
217 | --\\=================================// | |
218 | ||
219 | ||
220 | --//=================================\\ | |
221 | --|| SAZERENOS' ARTIFICIAL HEARTBEAT | |
222 | --\\=================================// | |
223 | ||
224 | ArtificialHB = Instance.new("BindableEvent", script) | |
225 | ArtificialHB.Name = "ArtificialHB" | |
226 | ||
227 | script:WaitForChild("ArtificialHB") | |
228 | ||
229 | frame = Frame_Speed | |
230 | tf = 0 | |
231 | allowframeloss = false | |
232 | tossremainder = false | |
233 | lastframe = tick() | |
234 | script.ArtificialHB:Fire() | |
235 | ||
236 | game:GetService("RunService").Heartbeat:connect(function(s, p) | |
237 | tf = tf + s | |
238 | if tf >= frame then | |
239 | if allowframeloss then | |
240 | script.ArtificialHB:Fire() | |
241 | lastframe = tick() | |
242 | else | |
243 | for i = 1, math.floor(tf / frame) do | |
244 | script.ArtificialHB:Fire() | |
245 | end | |
246 | lastframe = tick() | |
247 | end | |
248 | if tossremainder then | |
249 | tf = 0 | |
250 | else | |
251 | tf = tf - frame * math.floor(tf / frame) | |
252 | end | |
253 | end | |
254 | end) | |
255 | ||
256 | --//=================================\\ | |
257 | --\\=================================// | |
258 | ||
259 | ||
260 | ||
261 | ||
262 | ||
263 | --//=================================\\ | |
264 | --|| SOME FUNCTIONS | |
265 | --\\=================================// | |
266 | ||
267 | function Raycast(POSITION, DIRECTION, RANGE, IGNOREDECENDANTS) | |
268 | return workspace:FindPartOnRay(Ray.new(POSITION, DIRECTION.unit * RANGE), IGNOREDECENDANTS) | |
269 | end | |
270 | ||
271 | function PositiveAngle(NUMBER) | |
272 | if NUMBER >= 0 then | |
273 | NUMBER = 0 | |
274 | end | |
275 | return NUMBER | |
276 | end | |
277 | ||
278 | function NegativeAngle(NUMBER) | |
279 | if NUMBER <= 0 then | |
280 | NUMBER = 0 | |
281 | end | |
282 | return NUMBER | |
283 | end | |
284 | ||
285 | function Swait(NUMBER) | |
286 | if NUMBER == 0 or NUMBER == nil then | |
287 | ArtificialHB.Event:wait() | |
288 | else | |
289 | for i = 1, NUMBER do | |
290 | ArtificialHB.Event:wait() | |
291 | end | |
292 | end | |
293 | end | |
294 | ||
295 | function QuaternionFromCFrame(cf) | |
296 | local mx, my, mz, m00, m01, m02, m10, m11, m12, m20, m21, m22 = cf:components() | |
297 | local trace = m00 + m11 + m22 | |
298 | if trace > 0 then | |
299 | local s = math.sqrt(1 + trace) | |
300 | local recip = 0.5 / s | |
301 | return (m21 - m12) * recip, (m02 - m20) * recip, (m10 - m01) * recip, s * 0.5 | |
302 | else | |
303 | local i = 0 | |
304 | if m11 > m00 then | |
305 | i = 1 | |
306 | end | |
307 | if m22 > (i == 0 and m00 or m11) then | |
308 | i = 2 | |
309 | end | |
310 | if i == 0 then | |
311 | local s = math.sqrt(m00 - m11 - m22 + 1) | |
312 | local recip = 0.5 / s | |
313 | return 0.5 * s, (m10 + m01) * recip, (m20 + m02) * recip, (m21 - m12) * recip | |
314 | elseif i == 1 then | |
315 | local s = math.sqrt(m11 - m22 - m00 + 1) | |
316 | local recip = 0.5 / s | |
317 | return (m01 + m10) * recip, 0.5 * s, (m21 + m12) * recip, (m02 - m20) * recip | |
318 | elseif i == 2 then | |
319 | local s = math.sqrt(m22 - m00 - m11 + 1) | |
320 | local recip = 0.5 / s return (m02 + m20) * recip, (m12 + m21) * recip, 0.5 * s, (m10 - m01) * recip | |
321 | end | |
322 | end | |
323 | end | |
324 | ||
325 | function QuaternionToCFrame(px, py, pz, x, y, z, w) | |
326 | local xs, ys, zs = x + x, y + y, z + z | |
327 | local wx, wy, wz = w * xs, w * ys, w * zs | |
328 | local xx = x * xs | |
329 | local xy = x * ys | |
330 | local xz = x * zs | |
331 | local yy = y * ys | |
332 | local yz = y * zs | |
333 | local zz = z * zs | |
334 | return CFrame.new(px, py, pz, 1 - (yy + zz), xy - wz, xz + wy, xy + wz, 1 - (xx + zz), yz - wx, xz - wy, yz + wx, 1 - (xx + yy)) | |
335 | end | |
336 | ||
337 | function QuaternionSlerp(a, b, t) | |
338 | local cosTheta = a[1] * b[1] + a[2] * b[2] + a[3] * b[3] + a[4] * b[4] | |
339 | local startInterp, finishInterp; | |
340 | if cosTheta >= 0.0001 then | |
341 | if (1 - cosTheta) > 0.0001 then | |
342 | local theta = ACOS(cosTheta) | |
343 | local invSinTheta = 1 / SIN(theta) | |
344 | startInterp = SIN((1 - t) * theta) * invSinTheta | |
345 | finishInterp = SIN(t * theta) * invSinTheta | |
346 | else | |
347 | startInterp = 1 - t | |
348 | finishInterp = t | |
349 | end | |
350 | else | |
351 | if (1 + cosTheta) > 0.0001 then | |
352 | local theta = ACOS(-cosTheta) | |
353 | local invSinTheta = 1 / SIN(theta) | |
354 | startInterp = SIN((t - 1) * theta) * invSinTheta | |
355 | finishInterp = SIN(t * theta) * invSinTheta | |
356 | else | |
357 | startInterp = t - 1 | |
358 | finishInterp = t | |
359 | end | |
360 | end | |
361 | 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 | |
362 | end | |
363 | ||
364 | function Clerp(a, b, t) | |
365 | local qa = {QuaternionFromCFrame(a)} | |
366 | local qb = {QuaternionFromCFrame(b)} | |
367 | local ax, ay, az = a.x, a.y, a.z | |
368 | local bx, by, bz = b.x, b.y, b.z | |
369 | local _t = 1 - t | |
370 | return QuaternionToCFrame(_t * ax + t * bx, _t * ay + t * by, _t * az + t * bz, QuaternionSlerp(qa, qb, t)) | |
371 | end | |
372 | ||
373 | function CreateFrame(PARENT, TRANSPARENCY, BORDERSIZEPIXEL, POSITION, SIZE, COLOR, BORDERCOLOR, NAME) | |
374 | local frame = IT("Frame") | |
375 | frame.BackgroundTransparency = TRANSPARENCY | |
376 | frame.BorderSizePixel = BORDERSIZEPIXEL | |
377 | frame.Position = POSITION | |
378 | frame.Size = SIZE | |
379 | frame.BackgroundColor3 = COLOR | |
380 | frame.BorderColor3 = BORDERCOLOR | |
381 | frame.Name = NAME | |
382 | frame.Parent = PARENT | |
383 | return frame | |
384 | end | |
385 | ||
386 | function CreateLabel(PARENT, TEXT, TEXTCOLOR, TEXTFONTSIZE, TEXTFONT, TRANSPARENCY, BORDERSIZEPIXEL, STROKETRANSPARENCY, NAME) | |
387 | local label = IT("TextLabel") | |
388 | label.BackgroundTransparency = 1 | |
389 | label.Size = UD2(1, 0, 1, 0) | |
390 | label.Position = UD2(0, 0, 0, 0) | |
391 | label.TextColor3 = TEXTCOLOR | |
392 | label.TextStrokeTransparency = STROKETRANSPARENCY | |
393 | label.TextTransparency = TRANSPARENCY | |
394 | label.FontSize = TEXTFONTSIZE | |
395 | label.Font = TEXTFONT | |
396 | label.BorderSizePixel = BORDERSIZEPIXEL | |
397 | label.TextScaled = false | |
398 | label.Text = TEXT | |
399 | label.Name = NAME | |
400 | label.Parent = PARENT | |
401 | return label | |
402 | end | |
403 | ||
404 | function NoOutlines(PART) | |
405 | PART.TopSurface, PART.BottomSurface, PART.LeftSurface, PART.RightSurface, PART.FrontSurface, PART.BackSurface = 10, 10, 10, 10, 10, 10 | |
406 | end | |
407 | ||
408 | ||
409 | function CreateWeldOrSnapOrMotor(TYPE, PARENT, PART0, PART1, C0, C1) | |
410 | local NEWWELD = IT(TYPE) | |
411 | NEWWELD.Part0 = PART0 | |
412 | NEWWELD.Part1 = PART1 | |
413 | NEWWELD.C0 = C0 | |
414 | NEWWELD.C1 = C1 | |
415 | NEWWELD.Parent = PARENT | |
416 | return NEWWELD | |
417 | end | |
418 | ||
419 | local SOUND = IT("Sound") | |
420 | ||
421 | function CreateSound(ID, PARENT, VOLUME, PITCH, DOESLOOP) | |
422 | local NEWSOUND = nil | |
423 | coroutine.resume(coroutine.create(function() | |
424 | NEWSOUND = SOUND:Clone() | |
425 | NEWSOUND.Parent = PARENT | |
426 | NEWSOUND.Volume = VOLUME | |
427 | NEWSOUND.Pitch = PITCH | |
428 | NEWSOUND.SoundId = "http://www.roblox.com/asset/?id="..ID | |
429 | --Swait() | |
430 | NEWSOUND:play() | |
431 | if DOESLOOP == false then | |
432 | repeat Swait() until NEWSOUND.Playing == false | |
433 | NEWSOUND:remove() | |
434 | elseif DOESLOOP == true then | |
435 | NEWSOUND.Looped = true | |
436 | end | |
437 | end)) | |
438 | return NEWSOUND | |
439 | end | |
440 | ||
441 | function CFrameFromTopBack(at, top, back) | |
442 | local right = top:Cross(back) | |
443 | return CF(at.x, at.y, at.z, right.x, top.x, back.x, right.y, top.y, back.y, right.z, top.z, back.z) | |
444 | end | |
445 | ||
446 | function CreateWave(SIZE,WAIT,CFRAME,DOESROT,ROT,COLOR,GROW) | |
447 | local wave = CreatePart(3, Effects, "Neon", 0, 0.5, BRICKC(COLOR), "Effect", VT(0,0,0)) | |
448 | local mesh = IT("SpecialMesh",wave) | |
449 | mesh.MeshType = "FileMesh" | |
450 | mesh.MeshId = "http://www.roblox.com/asset/?id=20329976" | |
451 | mesh.Scale = SIZE | |
452 | mesh.Offset = VT(0,0,-SIZE.X/8) | |
453 | wave.CFrame = CFRAME | |
454 | coroutine.resume(coroutine.create(function(PART) | |
455 | for i = 1, WAIT do | |
456 | Swait() | |
457 | mesh.Scale = mesh.Scale + GROW | |
458 | mesh.Offset = VT(0,0,-(mesh.Scale.X/8)) | |
459 | if DOESROT == true then | |
460 | wave.CFrame = wave.CFrame * CFrame.fromEulerAnglesXYZ(0,ROT,0) | |
461 | end | |
462 | wave.Transparency = wave.Transparency + (0.5/WAIT) | |
463 | if wave.Transparency > 0.99 then | |
464 | wave:remove() | |
465 | end | |
466 | end | |
467 | end)) | |
468 | end | |
469 | ||
470 | function CreateRing(SIZE,DOESROT,ROT,WAIT,CFRAME,COLOR,GROW) | |
471 | local wave = CreatePart(3, Effects, "Neon", 0, 0.5, BRICKC(COLOR), "Effect", VT(0,0,0)) | |
472 | local mesh = IT("SpecialMesh",wave) | |
473 | mesh.MeshType = "FileMesh" | |
474 | mesh.MeshId = "http://www.roblox.com/asset/?id=3270017" | |
475 | mesh.Scale = SIZE | |
476 | mesh.Offset = VT(0,0,0) | |
477 | wave.CFrame = CFRAME | |
478 | coroutine.resume(coroutine.create(function(PART) | |
479 | for i = 1, WAIT do | |
480 | Swait() | |
481 | mesh.Scale = mesh.Scale + GROW | |
482 | if DOESROT == true then | |
483 | wave.CFrame = wave.CFrame * CFrame.fromEulerAnglesXYZ(0,ROT,0) | |
484 | end | |
485 | wave.Transparency = wave.Transparency + (0.5/WAIT) | |
486 | if wave.Transparency > 0.99 then | |
487 | wave:remove() | |
488 | end | |
489 | end | |
490 | end)) | |
491 | end | |
492 | ||
493 | function MagicSphere(SIZE,WAIT,CFRAME,COLOR,GROW) | |
494 | local wave = CreatePart(3, Effects, "Neon", 0, 0, BRICKC(COLOR), "Effect", VT(1,1,1), true) | |
495 | local mesh = IT("SpecialMesh",wave) | |
496 | mesh.MeshType = "Sphere" | |
497 | mesh.Scale = SIZE | |
498 | mesh.Offset = VT(0,0,0) | |
499 | wave.CFrame = CFRAME | |
500 | coroutine.resume(coroutine.create(function(PART) | |
501 | for i = 1, WAIT do | |
502 | Swait() | |
503 | mesh.Scale = mesh.Scale + GROW | |
504 | wave.Transparency = wave.Transparency + (1/WAIT) | |
505 | if wave.Transparency > 0.99 then | |
506 | wave:remove() | |
507 | end | |
508 | end | |
509 | end)) | |
510 | end | |
511 | ||
512 | function CreateDebreeRing(FLOOR,POSITION,SIZE,BLOCKSIZE,SWAIT) | |
513 | if FLOOR ~= nil then | |
514 | coroutine.resume(coroutine.create(function() | |
515 | local PART = CreatePart(3, Effects, "Plastic", 0, 1, "maincolor", "DebreeCenter", VT(0,0,0)) | |
516 | PART.CFrame = CF(POSITION) | |
517 | for i = 1, 45 do | |
518 | local RingPiece = CreatePart(3, Effects, "Plastic", 0, 0, "maincolor", "DebreePart", BLOCKSIZE) | |
519 | RingPiece.Material = FLOOR.Material | |
520 | RingPiece.Color = FLOOR.Color | |
521 | 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))) | |
522 | Debris:AddItem(RingPiece,SWAIT) | |
523 | end | |
524 | PART:remove() | |
525 | end)) | |
526 | end | |
527 | end | |
528 | ||
529 | function Slice(SIZE,WAIT,CFRAME,COLOR,GROW) | |
530 | local wave = CreatePart(3, Effects, "Neon", 0, 0.5, BRICKC(COLOR), "Effect", VT(1,1,1), true) | |
531 | local mesh = CreateMesh("SpecialMesh", wave, "FileMesh", "448386996", "", VT(0,SIZE/10,SIZE/10), VT(0,0,0)) | |
532 | wave.CFrame = CFRAME | |
533 | coroutine.resume(coroutine.create(function(PART) | |
534 | for i = 1, WAIT do | |
535 | Swait() | |
536 | mesh.Scale = mesh.Scale * GROW | |
537 | wave.Transparency = wave.Transparency + (0.5/WAIT) | |
538 | if wave.Transparency > 0.99 then | |
539 | wave:remove() | |
540 | end | |
541 | end | |
542 | end)) | |
543 | end | |
544 | ||
545 | function CreateFlyingDebree(FLOOR,POSITION,AMOUNT,BLOCKSIZE,SWAIT,STRENGTH) | |
546 | if FLOOR ~= nil then | |
547 | for i = 1, AMOUNT do | |
548 | local DEBREE = CreatePart(3, Effects, "Neon", 0, 0, "maincolor", "Debree", BLOCKSIZE, false) | |
549 | DEBREE.Material = FLOOR.Material | |
550 | DEBREE.Color = FLOOR.Color | |
551 | DEBREE.CFrame = POSITION * ANGLES(RAD(MRANDOM(-360,360)),RAD(MRANDOM(-360,360)),RAD(MRANDOM(-360,360))) | |
552 | DEBREE.Velocity = VT(MRANDOM(-STRENGTH,STRENGTH),STRENGTH,MRANDOM(-STRENGTH,STRENGTH)) | |
553 | coroutine.resume(coroutine.create(function() | |
554 | Swait(15) | |
555 | DEBREE.Parent = workspace | |
556 | DEBREE.CanCollide = true | |
557 | Debris:AddItem(DEBREE,SWAIT) | |
558 | end)) | |
559 | end | |
560 | end | |
561 | end | |
562 | ||
563 | function MakeForm(PART,TYPE) | |
564 | if TYPE == "Cyl" then | |
565 | local MSH = IT("CylinderMesh",PART) | |
566 | elseif TYPE == "Ball" then | |
567 | local MSH = IT("SpecialMesh",PART) | |
568 | MSH.MeshType = "Sphere" | |
569 | elseif TYPE == "Wedge" then | |
570 | local MSH = IT("SpecialMesh",PART) | |
571 | MSH.MeshType = "Wedge" | |
572 | end | |
573 | end | |
574 | ||
575 | function CheckTableForString(Table, String) | |
576 | for i, v in pairs(Table) do | |
577 | if string.find(string.lower(String), string.lower(v)) then | |
578 | return true | |
579 | end | |
580 | end | |
581 | return false | |
582 | end | |
583 | ||
584 | function CheckIntangible(Hit) | |
585 | local ProjectileNames = {"Water", "Arrow", "Projectile", "Effect", "Rail", "Lightning", "Bullet"} | |
586 | if Hit and Hit.Parent then | |
587 | if ((not Hit.CanCollide or CheckTableForString(ProjectileNames, Hit.Name)) and not Hit.Parent:FindFirstChild("Humanoid")) then | |
588 | return true | |
589 | end | |
590 | end | |
591 | return false | |
592 | end | |
593 | ||
594 | Debris = game:GetService("Debris") | |
595 | ||
596 | function CastZapRay(StartPos, Vec, Length, Ignore, DelayIfHit) | |
597 | local Direction = CFrame.new(StartPos, Vec).lookVector | |
598 | local Ignore = ((type(Ignore) == "table" and Ignore) or {Ignore}) | |
599 | local RayHit, RayPos, RayNormal = game:GetService("Workspace"):FindPartOnRayWithIgnoreList(Ray.new(StartPos, Direction * Length), Ignore) | |
600 | if RayHit and CheckIntangible(RayHit) then | |
601 | if DelayIfHit then | |
602 | wait() | |
603 | end | |
604 | RayHit, RayPos, RayNormal = CastZapRay((RayPos + (Vec * 0.01)), Vec, (Length - ((StartPos - RayPos).magnitude)), Ignore, DelayIfHit) | |
605 | end | |
606 | return RayHit, RayPos, RayNormal | |
607 | end | |
608 | ||
609 | function turnto(position) | |
610 | RootPart.CFrame=CFrame.new(RootPart.CFrame.p,VT(position.X,RootPart.Position.Y,position.Z)) * CFrame.new(0, 0, 0) | |
611 | end | |
612 | ||
613 | --//=================================\\ | |
614 | --|| WEAPON CREATION | |
615 | --\\=================================// | |
616 | ||
617 | function particles(art) | |
618 | local EyeSizes={ | |
619 | NumberSequenceKeypoint.new(0,1,0), | |
620 | NumberSequenceKeypoint.new(1,1,0) | |
621 | } | |
622 | local EyeTrans={ | |
623 | NumberSequenceKeypoint.new(0,0.8,0), | |
624 | NumberSequenceKeypoint.new(1,1,0) | |
625 | } | |
626 | local PE=Instance.new("ParticleEmitter",art) | |
627 | PE.LightEmission=.8 | |
628 | PE.Color = ColorSequence.new(BRICKC("maincolor").Color) | |
629 | PE.Size=NumberSequence.new(EyeSizes) | |
630 | PE.Transparency=NumberSequence.new(EyeTrans) | |
631 | PE.Lifetime=NumberRange.new(0.35,0.35,0.35) | |
632 | PE.Rotation=NumberRange.new(0,360) | |
633 | PE.Rate=999 | |
634 | PE.VelocitySpread = 10000 | |
635 | PE.Acceleration = Vector3.new(0,75,0) | |
636 | PE.Drag = 5 | |
637 | PE.Speed = NumberRange.new(0,0,0) | |
638 | PE.Texture="http://www.roblox.com/asset/?id=341277531" | |
639 | PE.ZOffset = -1.5 | |
640 | PE.Name = "PE" | |
641 | end | |
642 | ||
643 | Weapon.Parent = Character | |
644 | ||
645 | Humanoid.Died:connect(function() | |
646 | ATTACK = true | |
647 | DEATH = true | |
648 | end) | |
649 | ||
650 | 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") | |
651 | 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") | |
652 | 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") | |
653 | 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") | |
654 | 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") | |
655 | 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") | |
656 | ||
657 | local SKILL1TEXT = CreateLabel(SKILL1FRAME, "[Z] Speed Up", SKILLTEXTCOLOR, 7, "Garamond", 0, 2, 1, "Text 1") | |
658 | local SKILL2TEXT = CreateLabel(SKILL2FRAME, "[B + Aim on Player] Ultimate Destruction", SKILLTEXTCOLOR, 7, "Garamond", 0, 2, 1, "Text 2") | |
659 | local SKILL3TEXT = CreateLabel(SKILL3FRAME, "[C] Chunk chuck", SKILLTEXTCOLOR, 7, "Garamond", 0, 2, 1, "Text 3") | |
660 | local SKILL4TEXT = CreateLabel(SKILL4FRAME, "[V] Power Boost", SKILLTEXTCOLOR, 7, "Garamond", 0, 2, 1, "Text 4") | |
661 | local SKILL5TEXT = CreateLabel(SKILL5FRAME, "[X] X-Event", SKILLTEXTCOLOR, 7, "Garamond", 0, 2, 1, "Text 5") | |
662 | local SKILL6TEXT = CreateLabel(SKILL6FRAME, "Power level: ["..POWERLEVEL.."]", SKILLTEXTCOLOR, 7, "Garamond", 0, 2, 1, "Text 6") | |
663 | ||
664 | --//=================================\\ | |
665 | --|| DAMAGING | |
666 | --\\=================================// | |
667 | ||
668 | function killnearest(position,range,maxstrength) | |
669 | for i,v in ipairs(workspace:GetChildren()) do | |
670 | if v.ClassName == "Model" then | |
671 | local body = v:GetChildren() | |
672 | for part = 1, #body do | |
673 | if((body[part].ClassName == "Part" or body[part].ClassName == "MeshPart") and v ~= Character) then | |
674 | if(body[part].Position - position).Magnitude < range then | |
675 | if v.ClassName == "Model" then | |
676 | v:BreakJoints() | |
677 | end | |
678 | --table.insert(Effects2,{body[part],"Disappear",0.02,2,2,2,2}) | |
679 | body[part].Velocity = CFrame.new(position,body[part].Position).lookVector*5*maxstrength | |
680 | end | |
681 | end | |
682 | end | |
683 | end | |
684 | end | |
685 | end | |
686 | ||
687 | --//=================================\\ | |
688 | --|| ATTACK FUNCTIONS AND STUFF | |
689 | --\\=================================// | |
690 | ||
691 | Humanoid.HealthChanged:connect(function() | |
692 | if DEATH == false then | |
693 | if Humanoid.Health ~= "inf" then | |
694 | Humanoid.Health = "inf" | |
695 | CreateSound("907330011", Torso, 10, 1) | |
696 | end | |
697 | if Humanoid.MaxHealth ~= "inf" then | |
698 | Humanoid.MaxHealth = "inf" | |
699 | end | |
700 | end | |
701 | end) | |
702 | ||
703 | function VanishPlayer() | |
704 | tecks2.TextTransparency = 1 | |
705 | tecks2.TextStrokeTransparency = 1 | |
706 | for _, c in pairs(Character:GetChildren()) do | |
707 | if c.ClassName == "Part" then | |
708 | c.Transparency = 1 | |
709 | if c:FindFirstChildOfClass("Decal") then | |
710 | c:FindFirstChildOfClass("Decal").Transparency = 1 | |
711 | end | |
712 | if c:FindFirstChildOfClass("ParticleEmitter") then | |
713 | c:FindFirstChildOfClass("ParticleEmitter").Enabled = false | |
714 | end | |
715 | elseif c.ClassName == "Accessory" then | |
716 | c.Handle.Transparency = 1 | |
717 | if c.Handle:FindFirstChildOfClass("ParticleEmitter") then | |
718 | c.Handle:FindFirstChildOfClass("ParticleEmitter").Enabled = false | |
719 | end | |
720 | end | |
721 | end | |
722 | end | |
723 | ||
724 | function Reappear() | |
725 | tecks2.TextTransparency = 0 | |
726 | tecks2.TextStrokeTransparency = 0 | |
727 | for _, c in pairs(Character:GetChildren()) do | |
728 | if c.ClassName == "Part" and c.Name ~= "HumanoidRootPart" then | |
729 | c.Transparency = 0 | |
730 | if c:FindFirstChildOfClass("Decal") then | |
731 | c:FindFirstChildOfClass("Decal").Transparency = 0 | |
732 | end | |
733 | if c:FindFirstChildOfClass("ParticleEmitter") then | |
734 | c:FindFirstChildOfClass("ParticleEmitter").Enabled = true | |
735 | end | |
736 | elseif c.ClassName == "Accessory" then | |
737 | c.Handle.Transparency = 0 | |
738 | if c.Handle:FindFirstChildOfClass("ParticleEmitter") then | |
739 | c.Handle:FindFirstChildOfClass("ParticleEmitter").Enabled = true | |
740 | end | |
741 | end | |
742 | end | |
743 | end | |
744 | ||
745 | function Warp() | |
746 | ATTACK = true | |
747 | Rooted = true | |
748 | for i = 1, 50 do | |
749 | Swait() | |
750 | CreateRing(VT(0,0,0),false,0,5,RootPart.CFrame*ANGLES(RAD(0),RAD(90),RAD(0)),"Hot pink",VT(i/3,i/3,0)) | |
751 | CreateRing(VT(0,0,0),false,0,5,RootPart.CFrame*ANGLES(RAD(0),RAD(0),RAD(0)),"Hot pink",VT(i/3,i/3,0)) | |
752 | 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) | |
753 | 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) | |
754 | 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) | |
755 | 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) | |
756 | 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) | |
757 | 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) | |
758 | end | |
759 | if VALUE2 == false then | |
760 | VALUE2 = true | |
761 | elseif VALUE2 == true then | |
762 | VALUE2 = false | |
763 | end | |
764 | ATTACK = false | |
765 | Rooted = false | |
766 | end | |
767 | ||
768 | function RivalingOverthrower() | |
769 | if HITFLOOR ~= nil then | |
770 | if Mouse.Target.Parent ~= Character and Mouse.Target.Parent.Parent ~= Character and Mouse.Target.Parent:FindFirstChildOfClass("Humanoid") ~= nil then | |
771 | local HITBODY = Mouse.Target.Parent | |
772 | local TORS = HITBODY:FindFirstChild("Torso") or HITBODY:FindFirstChild("UpperTorso") | |
773 | local HUMAN = Mouse.Target.Parent:FindFirstChildOfClass("Humanoid") | |
774 | if TORS ~= nil and HUMAN ~= nil then | |
775 | ATTACK = true | |
776 | Rooted = true | |
777 | TORS.Anchored = true | |
778 | RootPart.CFrame = TORS.CFrame * CF(0,0,4) | |
779 | HITFLOOR, HITPOS = Raycast(TORS.Position, (CF(TORS.Position, TORS.Position + VT(0, -1, 0))).lookVector, 4 * TORS.Size.Y/2, HITBODY) | |
780 | local FLOOR = HITFLOOR | |
781 | local POS = HITPOS | |
782 | print(FLOOR) | |
783 | UNANCHOR = false | |
784 | RootPart.Anchored = true | |
785 | CreateSound("1295446488", Torso, 10, 1) | |
786 | for i=0, 1, 0.1 / Animation_Speed do | |
787 | Swait() | |
788 | 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) | |
789 | 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) | |
790 | RightShoulder.C0 = Clerp(RightShoulder.C0, CF(1.5, 0.5, 0) * ANGLES(RAD(0), RAD(0), RAD(12)) * RIGHTSHOULDERC0, 2 / Animation_Speed) | |
791 | LeftShoulder.C0 = Clerp(LeftShoulder.C0, CF(-1.5, 0.5, 0) * ANGLES(RAD(0), RAD(0), RAD(-12)) * LEFTSHOULDERC0, 2 / Animation_Speed) | |
792 | 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) | |
793 | 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) | |
794 | end | |
795 | local TAUNTS = {"907329532","907333294","907329893"} | |
796 | CreateSound(TAUNTS[MRANDOM(1,#TAUNTS)], Torso, 10, 1) | |
797 | for i=0, 1, 0.1 / Animation_Speed do | |
798 | Swait() | |
799 | 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) | |
800 | 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) | |
801 | RightShoulder.C0 = Clerp(RightShoulder.C0, CF(1.5, 0.5, 0) * ANGLES(RAD(90), RAD(0), RAD(12)) * RIGHTSHOULDERC0, 2 / Animation_Speed) | |
802 | LeftShoulder.C0 = Clerp(LeftShoulder.C0, CF(-1.5, 0.5, 0) * ANGLES(RAD(0), RAD(0), RAD(-12)) * LEFTSHOULDERC0, 2 / Animation_Speed) | |
803 | 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) | |
804 | 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) | |
805 | end | |
806 | RootPart.CFrame = TORS.CFrame * CF(0,0,2) | |
807 | CreateSound("260411131", TORS, 10, 1) | |
808 | TORS.Anchored = false | |
809 | local WELD = CreateWeldOrSnapOrMotor("Weld", TORS, RightArm, TORS, CF(0,-1,-0.5) * ANGLES(RAD(-90), RAD(0), RAD(0)), CF(0, 0, 0)) | |
810 | for i=0, 1, 0.1 / Animation_Speed do | |
811 | Swait() | |
812 | 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) | |
813 | 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) | |
814 | RightShoulder.C0 = Clerp(RightShoulder.C0, CF(1.5, 0.5, 0) * ANGLES(RAD(150), RAD(0), RAD(12)) * RIGHTSHOULDERC0, 2 / Animation_Speed) | |
815 | LeftShoulder.C0 = Clerp(LeftShoulder.C0, CF(-1.5, 0.5, 0) * ANGLES(RAD(0), RAD(0), RAD(-12)) * LEFTSHOULDERC0, 2 / Animation_Speed) | |
816 | 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) | |
817 | 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) | |
818 | end | |
819 | for i=0, 2, 0.1 / Animation_Speed do | |
820 | Swait() | |
821 | RootJoint.C0 = Clerp(RootJoint.C0, ROOTC0 * CF(0, 0, -1.2) * ANGLES(RAD(65), RAD(0), RAD(0)), 0.2 / Animation_Speed) | |
822 | Neck.C0 = Clerp(Neck.C0, NECKC0 * CF(0, 0, 0) * ANGLES(RAD(0), RAD(0), RAD(0)), 0.2 / Animation_Speed) | |
823 | RightShoulder.C0 = Clerp(RightShoulder.C0, CF(1.5, 0.5, 0) * ANGLES(RAD(-40), RAD(0), RAD(20)) * RIGHTSHOULDERC0, 0.2 / Animation_Speed) | |
824 | LeftShoulder.C0 = Clerp(LeftShoulder.C0, CF(-1.5, 0.5, 0) * ANGLES(RAD(-40), RAD(0), RAD(-20)) * LEFTSHOULDERC0, 0.2 / Animation_Speed) | |
825 | 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) | |
826 | 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) | |
827 | end | |
828 | for i = 1, 15 do | |
829 | CreateRing(VT(0,0,0),false,0,25,CF(TORS.Position+VT(0,-3,0))*ANGLES(RAD(90),RAD(0),RAD(0)),"Hot pink",VT(i/5,i/5,0)) | |
830 | end | |
831 | WELD:remove() | |
832 | local grav = Instance.new("BodyPosition",TORS) | |
833 | grav.P = 20000 | |
834 | grav.D = 100 | |
835 | grav.maxForce = Vector3.new(math.huge,math.huge,math.huge) | |
836 | grav.position = TORS.Position + VT(0,50,0) | |
837 | grav.Name = "GravityForce" | |
838 | for i=0, 1, 0.1 / Animation_Speed do | |
839 | Swait() | |
840 | 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) | |
841 | 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) | |
842 | RightShoulder.C0 = Clerp(RightShoulder.C0, CF(1.5, 0.5, 0) * ANGLES(RAD(150), RAD(0), RAD(12)) * RIGHTSHOULDERC0, 2 / Animation_Speed) | |
843 | LeftShoulder.C0 = Clerp(LeftShoulder.C0, CF(-1.5, 0.5, 0) * ANGLES(RAD(0), RAD(0), RAD(-12)) * LEFTSHOULDERC0, 2 / Animation_Speed) | |
844 | 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) | |
845 | 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) | |
846 | end | |
847 | for i=0, 2, 0.1 / Animation_Speed do | |
848 | Swait() | |
849 | RootJoint.C0 = Clerp(RootJoint.C0, ROOTC0 * CF(0, 0, -1.2) * ANGLES(RAD(65), RAD(0), RAD(0)), 0.2 / Animation_Speed) | |
850 | Neck.C0 = Clerp(Neck.C0, NECKC0 * CF(0, 0, 0) * ANGLES(RAD(0), RAD(0), RAD(0)), 0.2 / Animation_Speed) | |
851 | RightShoulder.C0 = Clerp(RightShoulder.C0, CF(1.5, 0.5, 0) * ANGLES(RAD(-40), RAD(0), RAD(20)) * RIGHTSHOULDERC0, 0.2 / Animation_Speed) | |
852 | LeftShoulder.C0 = Clerp(LeftShoulder.C0, CF(-1.5, 0.5, 0) * ANGLES(RAD(-40), RAD(0), RAD(-20)) * LEFTSHOULDERC0, 0.2 / Animation_Speed) | |
853 | 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) | |
854 | 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) | |
855 | end | |
856 | CreateSound("1295446488", Torso, 10, 1) | |
857 | CreateWave(VT(0,0,0),15,CF(HITPOS),true,2,"maincolor",VT(1,0.1,1)) | |
858 | RootPart.CFrame = CF(TORS.Position)*CF(0,0,5) | |
859 | for i=0, 2, 0.1 / Animation_Speed do | |
860 | Swait() | |
861 | RootJoint.C0 = Clerp(RootJoint.C0, ROOTC0 * CF(0, 0, 0 ) * ANGLES(RAD(0), RAD(0), RAD(0)), 2 / Animation_Speed) | |
862 | Neck.C0 = Clerp(Neck.C0, NECKC0 * CF(0, 0 , 0 + ((1) - 1)) * ANGLES(RAD(20), RAD(0), RAD(0)), 2 / Animation_Speed) | |
863 | RightShoulder.C0 = Clerp(RightShoulder.C0, CF(1.5, 0.5, 0) * ANGLES(RAD(0), RAD(0), RAD(60)) * RIGHTSHOULDERC0, 2 / Animation_Speed) | |
864 | LeftShoulder.C0 = Clerp(LeftShoulder.C0, CF(-1.5, 0.5, 0) * ANGLES(RAD(0), RAD(0), RAD(-60)) * LEFTSHOULDERC0, 2 / Animation_Speed) | |
865 | 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) | |
866 | 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) | |
867 | end | |
868 | VanishPlayer() | |
869 | for i = 1, 50+(25*POWERLEVEL) do | |
870 | Swait() | |
871 | 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)) | |
872 | CreateSound(HITWEAPONSOUNDS[MRANDOM(1,#HITWEAPONSOUNDS)], TORS, 10, 1) | |
873 | local CFRAME = CF(TORS.Position)*ANGLES(RAD(MRANDOM(-180,180)),RAD(MRANDOM(-180,180)),RAD(MRANDOM(-180,180))) | |
874 | MagicSphere(VT(0,0,0),15,CFRAME,"maincolor",VT(0.1,0.1,POWERLEVEL*5)) | |
875 | MagicSphere(VT(0.1,0.1,0.1),15,CFRAME,"maincolor",VT(0.1,0.1,POWERLEVEL*5)) | |
876 | end | |
877 | RootPart.CFrame = CF(TORS.Position)*CF(0,15,1) | |
878 | Reappear() | |
879 | for i=0, 2, 0.1 / Animation_Speed do | |
880 | Swait() | |
881 | RootJoint.C0 = Clerp(RootJoint.C0, ROOTC0 * CF(0, 0, -1.2) * ANGLES(RAD(-5), RAD(0), RAD(0)), 0.2 / Animation_Speed) | |
882 | Neck.C0 = Clerp(Neck.C0, NECKC0 * CF(0, 0, 0) * ANGLES(RAD(0), RAD(0), RAD(0)), 0.2 / Animation_Speed) | |
883 | RightShoulder.C0 = Clerp(RightShoulder.C0, CF(1.5, 0.5, -0.5) * ANGLES(RAD(160), RAD(0), RAD(-20)) * RIGHTSHOULDERC0, 0.2 / Animation_Speed) | |
884 | LeftShoulder.C0 = Clerp(LeftShoulder.C0, CF(-1.5, 0.5, -0.5) * ANGLES(RAD(160), RAD(0), RAD(20)) * LEFTSHOULDERC0, 0.2 / Animation_Speed) | |
885 | 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) | |
886 | 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) | |
887 | end | |
888 | for i = 1, 15 do | |
889 | CreateRing(VT(0,0,0),false,0,25,CF(TORS.Position+VT(0,3,0))*ANGLES(RAD(90),RAD(0),RAD(0)),"Hot pink",VT(i/5,i/5,0)) | |
890 | end | |
891 | RootPart.CFrame = CF(TORS.Position)*CF(0,5,1) | |
892 | grav.Position = POS | |
893 | CreateDebreeRing(FLOOR,POS,6*POWERLEVEL,VT(6,6,6)*POWERLEVEL,10) | |
894 | CreateFlyingDebree(FLOOR,CF(POS),25,VT(4,4,4)*POWERLEVEL,10,50*POWERLEVEL) | |
895 | CreateSound("289842971", TORS, 3, 1) | |
896 | MagicSphere(VT(0,0,0),35,CF(POS),"maincolor",VT(POWERLEVEL/2,POWERLEVEL/2,POWERLEVEL/2)) | |
897 | MagicSphere(VT(0.1,0.1,0.1),35,CF(POS),"maincolor",VT(POWERLEVEL/2,POWERLEVEL/2,POWERLEVEL/2)) | |
898 | killnearest(POS,POWERLEVEL*10,5) | |
899 | if POWERLEVEL > 3 then | |
900 | MagicSphere(VT(0.1,500,0.1),15,CF(POS),"Hot pink",VT(POWERLEVEL,0,POWERLEVEL)) | |
901 | end | |
902 | CreateWave(VT(0,0,0),15,CF(POS),true,2,"Really black",VT(POWERLEVEL*2,0.1,POWERLEVEL*2)) | |
903 | for i=0, 1, 0.1 / Animation_Speed do | |
904 | Swait() | |
905 | RootJoint.C0 = Clerp(RootJoint.C0, ROOTC0 * CF(0, 0, -1.2) * ANGLES(RAD(45), RAD(0), RAD(0)), 3 / Animation_Speed) | |
906 | Neck.C0 = Clerp(Neck.C0, NECKC0 * CF(0, 0, 0) * ANGLES(RAD(0), RAD(0), RAD(0)), 3 / Animation_Speed) | |
907 | RightShoulder.C0 = Clerp(RightShoulder.C0, CF(1, 0.5, -1) * ANGLES(RAD(25), RAD(0), RAD(-20)) * RIGHTSHOULDERC0, 3 / Animation_Speed) | |
908 | LeftShoulder.C0 = Clerp(LeftShoulder.C0, CF(-1, 0.5, -1) * ANGLES(RAD(25), RAD(0), RAD(20)) * LEFTSHOULDERC0, 3 / Animation_Speed) | |
909 | 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) | |
910 | 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) | |
911 | end | |
912 | HITBODY:BreakJoints() | |
913 | grav:remove() | |
914 | ATTACK = false | |
915 | Rooted = false | |
916 | UNANCHOR = true | |
917 | RootPart.Anchored = false | |
918 | if POWERLEVEL > 1 then | |
919 | POWERLEVEL = POWERLEVEL - 1 | |
920 | end | |
921 | end | |
922 | end | |
923 | end | |
924 | end | |
925 | ||
926 | function ChunkChuck() | |
927 | if HITFLOOR ~= nil then | |
928 | ATTACK = true | |
929 | Rooted = true | |
930 | CreateSound("305685800", Head, 10, 1) | |
931 | for i=0, 1, 0.1 / Animation_Speed do | |
932 | Swait() | |
933 | 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) | |
934 | 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) | |
935 | RightShoulder.C0 = Clerp(RightShoulder.C0, CF(1.5, 0.5, 0) * ANGLES(RAD(0), RAD(0), RAD(12)) * RIGHTSHOULDERC0, 2 / Animation_Speed) | |
936 | LeftShoulder.C0 = Clerp(LeftShoulder.C0, CF(-1.5, 0.5, 0) * ANGLES(RAD(0), RAD(0), RAD(-12)) * LEFTSHOULDERC0, 2 / Animation_Speed) | |
937 | 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) | |
938 | 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) | |
939 | end | |
940 | for i=0, 1, 0.1 / Animation_Speed do | |
941 | Swait() | |
942 | 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) | |
943 | 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) | |
944 | RightShoulder.C0 = Clerp(RightShoulder.C0, CF(1, 0.5, -1) * ANGLES(RAD(65), RAD(0), RAD(0)) * RIGHTSHOULDERC0, 2 / Animation_Speed) | |
945 | LeftShoulder.C0 = Clerp(LeftShoulder.C0, CF(-1, 0.5, -1) * ANGLES(RAD(65), RAD(0), RAD(0)) * LEFTSHOULDERC0, 2 / Animation_Speed) | |
946 | 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) | |
947 | 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) | |
948 | end | |
949 | CreateDebreeRing(HITFLOOR,HITPOS,3*POWERLEVEL,VT(2,2,2)*POWERLEVEL,3) | |
950 | CreateFlyingDebree(HITFLOOR,CF(HITPOS),25,VT(2,2,2)*POWERLEVEL,3,50*POWERLEVEL) | |
951 | local CHUNK = CreatePart(3, Effects, "Neon", 0, 0, "Peal", "Debree", VT(5,5,5)*POWERLEVEL/1.5) | |
952 | CHUNK.Color = HITFLOOR.Color | |
953 | CHUNK.Material = HITFLOOR.Material | |
954 | CHUNK.CFrame = Torso.CFrame*CF(0,0,-3*POWERLEVEL) | |
955 | CreateSound("260411131", CHUNK, 10, 1) | |
956 | CreateSound("289842971", Torso, 3, 1) | |
957 | repeat | |
958 | Swait() | |
959 | CHUNK.CFrame = Torso.CFrame*CF(0,2+(2*POWERLEVEL),0) | |
960 | turnto(Mouse.Hit.p) | |
961 | 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) | |
962 | 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) | |
963 | RightShoulder.C0 = Clerp(RightShoulder.C0, CF(1.5, 0.5, 0) * ANGLES(RAD(170), RAD(0), RAD(12)) * RIGHTSHOULDERC0, 2 / Animation_Speed) | |
964 | LeftShoulder.C0 = Clerp(LeftShoulder.C0, CF(-1.5, 0.5, 0) * ANGLES(RAD(170), RAD(0), RAD(-12)) * LEFTSHOULDERC0, 2 / Animation_Speed) | |
965 | 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) | |
966 | 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) | |
967 | until HOLD == true | |
968 | for i=0, 1, 0.1 / Animation_Speed do | |
969 | Swait() | |
970 | CHUNK.CFrame = Torso.CFrame*CF(0,2+(2*POWERLEVEL),0) | |
971 | 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) | |
972 | 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) | |
973 | RightShoulder.C0 = Clerp(RightShoulder.C0, CF(1.5, 0.5, 0) * ANGLES(RAD(170), RAD(0), RAD(12)) * RIGHTSHOULDERC0, 2 / Animation_Speed) | |
974 | LeftShoulder.C0 = Clerp(LeftShoulder.C0, CF(-1.5, 0.5, 0) * ANGLES(RAD(170), RAD(0), RAD(-12)) * LEFTSHOULDERC0, 2 / Animation_Speed) | |
975 | 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) | |
976 | 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) | |
977 | end | |
978 | CHUNK.CanCollide = true | |
979 | CHUNK.Anchored = false | |
980 | CHUNK.CFrame = RootPart.CFrame*CF(0,0,-1*POWERLEVEL) | |
981 | for i = 1, 25 do | |
982 | CreateRing(VT(0,0,0),false,0,15,RootPart.CFrame*CF(0,0,-3)*ANGLES(RAD(0),RAD(0),RAD(0)),"maincolor",VT((POWERLEVEL/3)/i,(POWERLEVEL/3)/i,0)) | |
983 | end | |
984 | local bv = Instance.new("BodyVelocity") | |
985 | bv.maxForce = Vector3.new(1e9, 1e9, 1e9) | |
986 | bv.velocity = RootPart.CFrame.lookVector*400 | |
987 | bv.Parent = CHUNK | |
988 | local HIT = CHUNK.Touched:Connect(function(hit) | |
989 | if hit.Parent ~= workspace and hit.Parent ~= Character and hit.Parent.ClassName == "Model" then | |
990 | hit.Parent:BreakJoints() | |
991 | end | |
992 | end) | |
993 | CreateSound("138079201", CHUNK, 10, 1) | |
994 | Debris:AddItem(CHUNK,5) | |
995 | for i=0, 1, 0.1 / Animation_Speed do | |
996 | Swait() | |
997 | 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) | |
998 | 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) | |
999 | RightShoulder.C0 = Clerp(RightShoulder.C0, CF(1.5, 0.5, 0) * ANGLES(RAD(115), RAD(0), RAD(0)) * RIGHTSHOULDERC0, 2 / Animation_Speed) | |
1000 | LeftShoulder.C0 = Clerp(LeftShoulder.C0, CF(-1.5, 0.5, 0) * ANGLES(RAD(115), RAD(0), RAD(0)) * LEFTSHOULDERC0, 2 / Animation_Speed) | |
1001 | 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) | |
1002 | 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) | |
1003 | end | |
1004 | ATTACK = false | |
1005 | Rooted = false | |
1006 | if POWERLEVEL > 1 then | |
1007 | POWERLEVEL = POWERLEVEL - 1 | |
1008 | end | |
1009 | end | |
1010 | end | |
1011 | ||
1012 | function Boost() | |
1013 | ATTACK = true | |
1014 | Rooted = true | |
1015 | CreateSound("466493476", Torso, 10, MRANDOM(7, 12) / 10) | |
1016 | for i = 1, 50 do | |
1017 | Swait() | |
1018 | CreateRing(VT(0,0,0),false,0,5,RootPart.CFrame*ANGLES(RAD(0),RAD(90),RAD(0)),"maincolor",VT(i/5,i/5,0)) | |
1019 | CreateRing(VT(0,0,0),false,0,5,RootPart.CFrame*ANGLES(RAD(0),RAD(0),RAD(0)),"maincolor",VT(i/5,i/5,0)) | |
1020 | CreateRing(VT(0,0,0),false,0,25,RootPart.CFrame*ANGLES(RAD(MRANDOM(-180,180)),RAD(MRANDOM(-180,180)),RAD(MRANDOM(-180,180))),"Hot pink",VT(i/3,i/3,0)) | |
1021 | 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) | |
1022 | 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) | |
1023 | 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) | |
1024 | 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) | |
1025 | 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) | |
1026 | 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) | |
1027 | end | |
1028 | POWERLEVEL = POWERLEVEL + 1 | |
1029 | ATTACK = false | |
1030 | Rooted = false | |
1031 | end | |
1032 | ||
1033 | function XEvent() | |
1034 | if HITFLOOR ~= nil then | |
1035 | VALUE2 = false | |
1036 | CreateSound("907332670", Effects, 10, 1) | |
1037 | local POS = HITPOS | |
1038 | local FLOOR = HITFLOOR | |
1039 | local STARTPOS = RootPart.CFrame | |
1040 | ATTACK = true | |
1041 | Rooted = true | |
1042 | for i=0, 2, 0.1 / Animation_Speed do | |
1043 | Swait() | |
1044 | RootJoint.C0 = Clerp(RootJoint.C0, ROOTC0 * CF(0, 0, -1.2) * ANGLES(RAD(65), RAD(0), RAD(0)), 0.2 / Animation_Speed) | |
1045 | Neck.C0 = Clerp(Neck.C0, NECKC0 * CF(0, 0, 0) * ANGLES(RAD(0), RAD(0), RAD(0)), 0.2 / Animation_Speed) | |
1046 | RightShoulder.C0 = Clerp(RightShoulder.C0, CF(1.5, 0.5, 0) * ANGLES(RAD(-40), RAD(0), RAD(20)) * RIGHTSHOULDERC0, 0.2 / Animation_Speed) | |
1047 | LeftShoulder.C0 = Clerp(LeftShoulder.C0, CF(-1.5, 0.5, 0) * ANGLES(RAD(-40), RAD(0), RAD(-20)) * LEFTSHOULDERC0, 0.2 / Animation_Speed) | |
1048 | 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) | |
1049 | 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) | |
1050 | end | |
1051 | UNANCHOR = false | |
1052 | RootPart.Anchored = true | |
1053 | CreateSound("1295446488", Effects, 10, 1) | |
1054 | RootPart.CFrame = RootPart.CFrame*CF(0,100+(150*POWERLEVEL),0) | |
1055 | for i=0, 1, 0.1 / Animation_Speed do | |
1056 | Swait() | |
1057 | 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) | |
1058 | 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) | |
1059 | RightShoulder.C0 = Clerp(RightShoulder.C0, CF(1.5, 0.5, 0) * ANGLES(RAD(0), RAD(0), RAD(45)) * RIGHTSHOULDERC0, 2 / Animation_Speed) | |
1060 | LeftShoulder.C0 = Clerp(LeftShoulder.C0, CF(-1.5, 0.5, 0) * ANGLES(RAD(0), RAD(0), RAD(-45)) * LEFTSHOULDERC0, 2 / Animation_Speed) | |
1061 | 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) | |
1062 | 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) | |
1063 | end | |
1064 | CreateSound("289315275", Effects, 10, 1) | |
1065 | for i=0, 5, 0.1 / Animation_Speed do | |
1066 | Swait() | |
1067 | 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))),"maincolor",VT(POWERLEVEL/1.2,POWERLEVEL/1.2,0)) | |
1068 | 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))),"maincolor",VT(POWERLEVEL,POWERLEVEL,0)) | |
1069 | 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) | |
1070 | 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) | |
1071 | RightShoulder.C0 = Clerp(RightShoulder.C0, CF(1.5, 0.5, 0) * ANGLES(RAD(150), RAD(0), RAD(12)) * RIGHTSHOULDERC0, 2 / Animation_Speed) | |
1072 | LeftShoulder.C0 = Clerp(LeftShoulder.C0, CF(-1.5, 0.5, 0) * ANGLES(RAD(0), RAD(0), RAD(-12)) * LEFTSHOULDERC0, 2 / Animation_Speed) | |
1073 | 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) | |
1074 | 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) | |
1075 | end | |
1076 | CreateSound("260411131", Effects, 3, 1) | |
1077 | for i=0, 1, 0.1 / Animation_Speed do | |
1078 | Swait() | |
1079 | 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))),"maincolor",VT(POWERLEVEL/5,POWERLEVEL/5,0)) | |
1080 | 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))),"maincolor",VT(POWERLEVEL/4,POWERLEVEL/4,0)) | |
1081 | 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) | |
1082 | 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) | |
1083 | RightShoulder.C0 = Clerp(RightShoulder.C0, CF(1.75, 0.5, -1) * ANGLES(RAD(0), RAD(0), RAD(-90)) * RIGHTSHOULDERC0, 2 / Animation_Speed) | |
1084 | LeftShoulder.C0 = Clerp(LeftShoulder.C0, CF(-1.5, 0.5, 0) * ANGLES(RAD(0), RAD(0), RAD(-12)) * LEFTSHOULDERC0, 2 / Animation_Speed) | |
1085 | 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) | |
1086 | 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) | |
1087 | end | |
1088 | for i=0, 0.3, 0.1 / Animation_Speed do | |
1089 | Swait() | |
1090 | 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))),"maincolor",VT(POWERLEVEL/5,POWERLEVEL/5,0)) | |
1091 | 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))),"maincolor",VT(POWERLEVEL/4,POWERLEVEL/4,0)) | |
1092 | 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) | |
1093 | 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) | |
1094 | RightShoulder.C0 = Clerp(RightShoulder.C0, CF(1.5, 0.5, 0) * ANGLES(RAD(170), RAD(0), RAD(0)) * RIGHTSHOULDERC0, 2 / Animation_Speed) | |
1095 | LeftShoulder.C0 = Clerp(LeftShoulder.C0, CF(-1.5, 0.5, 0) * ANGLES(RAD(0), RAD(0), RAD(-12)) * LEFTSHOULDERC0, 2 / Animation_Speed) | |
1096 | 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) | |
1097 | 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) | |
1098 | end | |
1099 | for i=0, 0.3, 0.1 / Animation_Speed do | |
1100 | Swait() | |
1101 | 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))),"maincolor",VT(POWERLEVEL/4,POWERLEVEL/4,0)) | |
1102 | 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))),"maincolor",VT(POWERLEVEL/3,POWERLEVEL/3,0)) | |
1103 | RootJoint.C0 = Clerp(RootJoint.C0,ROOTC0 * CF(0, 0, 0) * ANGLES(RAD(75), RAD(0), RAD(45)), 2 / Animation_Speed) | |
1104 | 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) | |
1105 | RightShoulder.C0 = Clerp(RightShoulder.C0, CF(1.15, 0.5, -1) * ANGLES(RAD(90), RAD(0), RAD(45)) * RIGHTSHOULDERC0, 2 / Animation_Speed) | |
1106 | LeftShoulder.C0 = Clerp(LeftShoulder.C0, CF(-1.5, 0.5, 0) * ANGLES(RAD(0), RAD(0), RAD(-12)) * LEFTSHOULDERC0, 2 / Animation_Speed) | |
1107 | 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) | |
1108 | 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) | |
1109 | end | |
1110 | local BURNMARKS = {} | |
1111 | local DEATHRAY1 = CreatePart(3, Effects, "Neon", 0, 0.5, "maincolor", "RAY", VT(0,0,0)) | |
1112 | MakeForm(DEATHRAY1,"Cyl") | |
1113 | local DEATHRAY2 = CreatePart(3, Effects, "Neon", 0, 0, "maincolor", "RAY", VT(0,0,0)) | |
1114 | MakeForm(DEATHRAY2,"Cyl") | |
1115 | local loopsound = CreateSound("487214658", Effects, 4, 1, true) | |
1116 | local AMOUNT = POWERLEVEL * 25 | |
1117 | for i = 1, POWERLEVEL * 50 do | |
1118 | Swait() | |
1119 | MagicSphere(VT(POWERLEVEL,POWERLEVEL,POWERLEVEL)*2,35,RightArm.CFrame*CF(0,-2,0),"maincolor",VT(0,0,0)) | |
1120 | 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))),"maincolor",VT(POWERLEVEL/4,POWERLEVEL/4,0)) | |
1121 | 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))),"maincolor",VT(POWERLEVEL/3,POWERLEVEL/3,0)) | |
1122 | local MARK = CreatePart(3, Effects, "Neon", 0, 0, "Hot pink", "BurnMark", VT(POWERLEVEL,0,POWERLEVEL)*2) | |
1123 | MARK.CFrame = CF(POS+VT(AMOUNT,0,AMOUNT)) | |
1124 | table.insert(BURNMARKS,MARK) | |
1125 | MakeForm(MARK,"Cyl") | |
1126 | 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))),"maincolor",VT(POWERLEVEL/5,POWERLEVEL/5,0)) | |
1127 | 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))),"maincolor",VT(POWERLEVEL/4,POWERLEVEL/4,0)) | |
1128 | local distance = (RightArm.CFrame*CF(0,-2,0).p - POS+VT(AMOUNT,0,AMOUNT)).magnitude | |
1129 | DEATHRAY1.Size = Vector3.new(POWERLEVEL, distance, POWERLEVEL) | |
1130 | 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)) | |
1131 | DEATHRAY2.Size = Vector3.new(POWERLEVEL+0.1, distance, POWERLEVEL+0.1) | |
1132 | 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)) | |
1133 | AMOUNT = AMOUNT - 1 | |
1134 | end | |
1135 | local AMOUNT = POWERLEVEL * 25 | |
1136 | for i = 1, POWERLEVEL * 50 do | |
1137 | Swait() | |
1138 | MagicSphere(VT(POWERLEVEL,POWERLEVEL,POWERLEVEL)*2,35,RightArm.CFrame*CF(0,-2,0),"Hot pink",VT(0,0,0)) | |
1139 | 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))),"maincolor",VT(POWERLEVEL/4,POWERLEVEL/4,0)) | |
1140 | 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)) | |
1141 | local MARK = CreatePart(3, Effects, "Neon", 0, 0, "Hot pink", "BurnMark", VT(POWERLEVEL,0,POWERLEVEL)*2) | |
1142 | MARK.CFrame = CF(POS+VT(AMOUNT,0,-AMOUNT)) | |
1143 | table.insert(BURNMARKS,MARK) | |
1144 | MakeForm(MARK,"Cyl") | |
1145 | 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))),"maincolor",VT(POWERLEVEL/5,POWERLEVEL/5,0)) | |
1146 | 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))),"maincolor",VT(POWERLEVEL/4,POWERLEVEL/4,0)) | |
1147 | local distance = (RightArm.CFrame*CF(0,-2,0).p - POS+VT(AMOUNT,0,-AMOUNT)).magnitude | |
1148 | DEATHRAY1.Size = Vector3.new(POWERLEVEL, distance, POWERLEVEL) | |
1149 | 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)) | |
1150 | DEATHRAY2.Size = Vector3.new(POWERLEVEL+0.1, distance, POWERLEVEL+0.1) | |
1151 | 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)) | |
1152 | AMOUNT = AMOUNT - 1 | |
1153 | end | |
1154 | DEATHRAY1:remove() | |
1155 | DEATHRAY2:remove() | |
1156 | loopsound:remove() | |
1157 | for i=0, 1, 0.1 / Animation_Speed do | |
1158 | Swait() | |
1159 | RootJoint.C0 = Clerp(RootJoint.C0, ROOTC0 * CF(0, 0, -1.2) * ANGLES(RAD(-65), RAD(0), RAD(0)), 0.2 / Animation_Speed) | |
1160 | Neck.C0 = Clerp(Neck.C0, NECKC0 * CF(0, 0, 0) * ANGLES(RAD(0), RAD(0), RAD(0)), 0.2 / Animation_Speed) | |
1161 | RightShoulder.C0 = Clerp(RightShoulder.C0, CF(1.5, 0.5, 0) * ANGLES(RAD(40), RAD(0), RAD(20)) * RIGHTSHOULDERC0, 0.2 / Animation_Speed) | |
1162 | LeftShoulder.C0 = Clerp(LeftShoulder.C0, CF(-1.5, 0.5, 0) * ANGLES(RAD(40), RAD(0), RAD(-20)) * LEFTSHOULDERC0, 0.2 / Animation_Speed) | |
1163 | 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) | |
1164 | 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) | |
1165 | end | |
1166 | RootPart.CFrame = STARTPOS | |
1167 | for i=0, 0.1, 0.1 / Animation_Speed do | |
1168 | Swait() | |
1169 | RootJoint.C0 = Clerp(RootJoint.C0, ROOTC0 * CF(0, 0, -1.2) * ANGLES(RAD(65), RAD(0), RAD(0)), 2 / Animation_Speed) | |
1170 | Neck.C0 = Clerp(Neck.C0, NECKC0 * CF(0, 0, 0) * ANGLES(RAD(0), RAD(0), RAD(0)), 0.2 / Animation_Speed) | |
1171 | RightShoulder.C0 = Clerp(RightShoulder.C0, CF(1.5, 0.5, 0) * ANGLES(RAD(-40), RAD(0), RAD(20)) * RIGHTSHOULDERC0, 2 / Animation_Speed) | |
1172 | LeftShoulder.C0 = Clerp(LeftShoulder.C0, CF(-1.5, 0.5, 0) * ANGLES(RAD(-40), RAD(0), RAD(-20)) * LEFTSHOULDERC0, 2 / Animation_Speed) | |
1173 | 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) | |
1174 | 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) | |
1175 | end | |
1176 | for i = 1, 10+(5*POWERLEVEL) do | |
1177 | Swait() | |
1178 | CreateRing(VT(0,0,0),false,0,5,CF(POS)*ANGLES(RAD(MRANDOM(-180,180)),RAD(MRANDOM(-180,180)),RAD(MRANDOM(-180,180))),"maincolor",VT(POWERLEVEL*5,POWERLEVEL*5,0)) | |
1179 | CreateRing(VT(0,0,0),false,0,5,CF(POS)*ANGLES(RAD(MRANDOM(-180,180)),RAD(MRANDOM(-180,180)),RAD(MRANDOM(-180,180))),"maincolor",VT(POWERLEVEL*15,POWERLEVEL*15,0)) | |
1180 | end | |
1181 | local SOUND = CreateSound("314970772", Effects, 10, 1) | |
1182 | CreateSound("414517163", Effects, 10, 1) | |
1183 | IT("EchoSoundEffect",SOUND) | |
1184 | MagicSphere(VT(0,0,0),35,CF(POS),"Hot pink",VT(POWERLEVEL,POWERLEVEL,POWERLEVEL)) | |
1185 | CreateDebreeRing(FLOOR,POS,25*POWERLEVEL,VT(25,25,25)*POWERLEVEL,3) | |
1186 | CreateFlyingDebree(FLOOR,CF(POS),25,VT(4,4,4)*POWERLEVEL,3,25*POWERLEVEL) | |
1187 | for i = 1, 25 do | |
1188 | Swait() | |
1189 | MagicSphere(VT(0,0,0),15,CF(POS),"Really black",VT(POWERLEVEL,POWERLEVEL,POWERLEVEL)) | |
1190 | CreateRing(VT(0,0,0.1),false,0,45,CF(HITPOS)*ANGLES(RAD(90),RAD(0),RAD(0)),"Hot pink",VT(POWERLEVEL*2,POWERLEVEL*2,0)) | |
1191 | killnearest(POS,POWERLEVEL*100,500) | |
1192 | CreateRing(VT(0,0,0),false,0,15,CF(POS)*ANGLES(RAD(MRANDOM(-180,180)),RAD(MRANDOM(-180,180)),RAD(MRANDOM(-180,180))),"maincolor",VT(POWERLEVEL*15,POWERLEVEL*15,0)) | |
1193 | CreateRing(VT(0,0,0),false,0,15,CF(POS)*ANGLES(RAD(MRANDOM(-180,180)),RAD(MRANDOM(-180,180)),RAD(MRANDOM(-180,180))),"maincolor",VT(POWERLEVEL*25,POWERLEVEL*25,0)) | |
1194 | end | |
1195 | for i = 1, 50 do | |
1196 | Swait() | |
1197 | for e=1,#BURNMARKS do | |
1198 | if BURNMARKS[e]~=nil then | |
1199 | local Thing=BURNMARKS[e] | |
1200 | if Thing~=nil then | |
1201 | local Part=Thing | |
1202 | Part.Transparency = Part.Transparency + (1/50) | |
1203 | end | |
1204 | end | |
1205 | end | |
1206 | end | |
1207 | for e=1,#BURNMARKS do | |
1208 | if BURNMARKS[e]~=nil then | |
1209 | local Thing=BURNMARKS[e] | |
1210 | if Thing~=nil then | |
1211 | local Part=Thing | |
1212 | Part:remove() | |
1213 | end | |
1214 | end | |
1215 | end | |
1216 | ATTACK = false | |
1217 | Rooted = false | |
1218 | UNANCHOR = true | |
1219 | RootPart.Anchored = false | |
1220 | POWERLEVEL = 1 | |
1221 | end | |
1222 | end | |
1223 | ||
1224 | function Taunt() | |
1225 | ATTACK = true | |
1226 | Rooted = true | |
1227 | CreateSound("907330011", Head, 10, 1.1) | |
1228 | for i=0, 1, 0.1 / Animation_Speed do | |
1229 | Swait() | |
1230 | 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) | |
1231 | 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) | |
1232 | RightShoulder.C0 = Clerp(RightShoulder.C0, CF(1.15, 0.5, -0.8) * ANGLES(RAD(170), RAD(0), RAD(-30)) * RIGHTSHOULDERC0, 2 / Animation_Speed) | |
1233 | LeftShoulder.C0 = Clerp(LeftShoulder.C0, CF(-1.5, 0.5, 0) * ANGLES(RAD(0), RAD(0), RAD(-12)) * LEFTSHOULDERC0, 2 / Animation_Speed) | |
1234 | 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) | |
1235 | 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) | |
1236 | end | |
1237 | for i=0, 2, 0.1 / Animation_Speed do | |
1238 | Swait() | |
1239 | 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) | |
1240 | 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) | |
1241 | RightShoulder.C0 = Clerp(RightShoulder.C0, CF(1.5, 0.5, 0) * ANGLES(RAD(75), RAD(0), RAD(0)) * RIGHTSHOULDERC0, 2 / Animation_Speed) | |
1242 | LeftShoulder.C0 = Clerp(LeftShoulder.C0, CF(-1.5, 0.5, 0) * ANGLES(RAD(0), RAD(0), RAD(-12)) * LEFTSHOULDERC0, 2 / Animation_Speed) | |
1243 | 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) | |
1244 | 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) | |
1245 | end | |
1246 | ATTACK = false | |
1247 | Rooted = false | |
1248 | end | |
1249 | ||
1250 | function BreakLimit() | |
1251 | ATTACK = true | |
1252 | Rooted = false | |
1253 | UNANCHOR = false | |
1254 | RootPart.Anchored = true | |
1255 | for i=0, 5, 0.1 / Animation_Speed do | |
1256 | Swait() | |
1257 | RootPart.CFrame = RootPart.CFrame * CF(0,0.2,0) | |
1258 | RootJoint.C0 = Clerp(RootJoint.C0, ROOTC0 * CF(0, 0, 0) * ANGLES(RAD(0), RAD(0), RAD(0)), 0.2 / Animation_Speed) | |
1259 | Neck.C0 = Clerp(Neck.C0, NECKC0 * CF(0, 0 * Player_Size, 0 + ((1) - 1)) * ANGLES(RAD(-20), RAD(0), RAD(0)), 2 / Animation_Speed) | |
1260 | RightShoulder.C0 = Clerp(RightShoulder.C0, CF(1.5, 0.5, 0) * ANGLES(RAD(-40), RAD(0), RAD(20)) * RIGHTSHOULDERC0, 2 / Animation_Speed) | |
1261 | LeftShoulder.C0 = Clerp(LeftShoulder.C0, CF(-1.5, 0.5, 0) * ANGLES(RAD(-40), RAD(0), RAD(-20)) * LEFTSHOULDERC0, 2 / Animation_Speed) | |
1262 | 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) | |
1263 | 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) | |
1264 | end | |
1265 | CreateSound("1368598393", Effects, 10, 1) | |
1266 | for i=0, 2, 0.1 / Animation_Speed do | |
1267 | Swait() | |
1268 | local CFRAME = CF(Torso.Position)*ANGLES(RAD(MRANDOM(-180,180)),RAD(MRANDOM(-180,180)),RAD(MRANDOM(-180,180))) | |
1269 | MagicSphere(VT(0,0,0),15,CFRAME,"Really black",VT(0.1,0.1,5)) | |
1270 | MagicSphere(VT(0.1,0.1,0.1),15,CFRAME,"Hot pink",VT(0.1,0.1,5)) | |
1271 | RootJoint.C0 = Clerp(RootJoint.C0, ROOTC0 * CF(0, 0, 0) * ANGLES(RAD(0), RAD(0), RAD(0)), 0.2 / Animation_Speed) | |
1272 | Neck.C0 = Clerp(Neck.C0, NECKC0 * CF(0, 0 * Player_Size, 0 + ((1) - 1)) * ANGLES(RAD(20), RAD(0), RAD(0)), 2 / Animation_Speed) | |
1273 | RightShoulder.C0 = Clerp(RightShoulder.C0, CF(1.15, 0.5, -1) * ANGLES(RAD(90), RAD(0), RAD(-75)) * RIGHTSHOULDERC0, 2 / Animation_Speed) | |
1274 | LeftShoulder.C0 = Clerp(LeftShoulder.C0, CF(-1.15, 0.5, -1) * ANGLES(RAD(90), RAD(0), RAD(75)) * LEFTSHOULDERC0, 2 / Animation_Speed) | |
1275 | 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) | |
1276 | 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) | |
1277 | end | |
1278 | CreateSound("1368583274", Effects, 10, 1) | |
1279 | for i=0, 6, 0.1 / Animation_Speed do | |
1280 | Swait() | |
1281 | CreateRing(VT(45,5,0)*2,false,0,45,Torso.CFrame*ANGLES(RAD(MRANDOM(-180,180)),RAD(MRANDOM(-180,180)),RAD(MRANDOM(-180,180))),"maincolor",VT(-1,0,0)) | |
1282 | CreateRing(VT(45,5,0)*3,false,0,45,Torso.CFrame*ANGLES(RAD(MRANDOM(-180,180)),RAD(MRANDOM(-180,180)),RAD(MRANDOM(-180,180))),"maincolor",VT(-1,0,0)*3) | |
1283 | local CFRAME = CF(Torso.Position)*ANGLES(RAD(MRANDOM(-180,180)),RAD(MRANDOM(-180,180)),RAD(MRANDOM(-180,180))) | |
1284 | MagicSphere(VT(0,0,0),15,CFRAME,"maincolor",VT(0.1,0.1,55)) | |
1285 | MagicSphere(VT(0,0,0),15,CFRAME,"maincolor",VT(2,2,2)) | |
1286 | MagicSphere(VT(0.1,0.1,0.1),15,CFRAME,"maincolor",VT(0.1,0.1,55)) | |
1287 | RootJoint.C0 = Clerp(RootJoint.C0, ROOTC0 * CF(0, 0, 0) * ANGLES(RAD(0), RAD(0), RAD(0)), 0.2 / Animation_Speed) | |
1288 | Neck.C0 = Clerp(Neck.C0, NECKC0 * CF(0, 0 * Player_Size, 0 + ((1) - 1)) * ANGLES(RAD(20), RAD(0), RAD(0)), 2 / Animation_Speed) | |
1289 | RightShoulder.C0 = Clerp(RightShoulder.C0, CF(1.15, 0.5, -1) * ANGLES(RAD(90), RAD(0), RAD(-75)) * RIGHTSHOULDERC0, 2 / Animation_Speed) | |
1290 | LeftShoulder.C0 = Clerp(LeftShoulder.C0, CF(-1.15, 0.5, -1) * ANGLES(RAD(90), RAD(0), RAD(75)) * LEFTSHOULDERC0, 2 / Animation_Speed) | |
1291 | 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) | |
1292 | 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) | |
1293 | end | |
1294 | CreateSound("907329532", Effects, 10, 1.1) | |
1295 | Swait(175) | |
1296 | CreateRing(VT(0,0,0),false,0,45,RootPart.CFrame*ANGLES(RAD(90),RAD(0),RAD(0)),"maincolor",VT(7,7,0)) | |
1297 | CreateSound("1368605755", Effects, 10, 1) | |
1298 | CreateSound("1368637781", Effects, 10, 1) | |
1299 | MagicSphere(VT(0,0,0),45,Torso.CFrame,"maincolor",VT(5,5,5)) | |
1300 | LIMITBROKEN = true | |
1301 | for i=0, 1, 0.1 / Animation_Speed do | |
1302 | Swait() | |
1303 | CreateRing(VT(0,0,0),false,0,45,Torso.CFrame*ANGLES(RAD(MRANDOM(-180,180)),RAD(MRANDOM(-180,180)),RAD(MRANDOM(-180,180))),"maincolor",VT(4,4,0)) | |
1304 | CreateRing(VT(0,0,0),false,0,45,Torso.CFrame*ANGLES(RAD(MRANDOM(-180,180)),RAD(MRANDOM(-180,180)),RAD(MRANDOM(-180,180))),"maincolor",VT(5,5,0)) | |
1305 | RootJoint.C0 = Clerp(RootJoint.C0, ROOTC0 * CF(0, 0, 0) * ANGLES(RAD(-25), RAD(0), RAD(0)), 0.2 / Animation_Speed) | |
1306 | Neck.C0 = Clerp(Neck.C0, NECKC0 * CF(0, 0 * Player_Size, 0 + ((1) - 1)) * ANGLES(RAD(-20), RAD(0), RAD(0)), 2 / Animation_Speed) | |
1307 | RightShoulder.C0 = Clerp(RightShoulder.C0, CF(1.5, 0.5, 0) * ANGLES(RAD(-60), RAD(0), RAD(20)) * RIGHTSHOULDERC0, 2 / Animation_Speed) | |
1308 | LeftShoulder.C0 = Clerp(LeftShoulder.C0, CF(-1.5, 0.5, 0) * ANGLES(RAD(-60), RAD(0), RAD(-20)) * LEFTSHOULDERC0, 2 / Animation_Speed) | |
1309 | 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) | |
1310 | 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) | |
1311 | end | |
1312 | UNANCHOR = true | |
1313 | RootPart.Anchored = false | |
1314 | ATTACK = false | |
1315 | Rooted = false | |
1316 | end | |
1317 | ||
1318 | -- LIMIT BROKEN | |
1319 | ||
1320 | function RivalingOverthrower2() | |
1321 | if Mouse.Target.Parent ~= Character and Mouse.Target.Parent.Parent ~= Character and Mouse.Target.Parent:FindFirstChildOfClass("Humanoid") ~= nil then | |
1322 | local HITBODY = Mouse.Target.Parent | |
1323 | local TORS = HITBODY:FindFirstChild("Torso") or HITBODY:FindFirstChild("UpperTorso") | |
1324 | local HUMAN = Mouse.Target.Parent:FindFirstChildOfClass("Humanoid") | |
1325 | if TORS ~= nil and HUMAN ~= nil then | |
1326 | ATTACK = true | |
1327 | Rooted = false | |
1328 | VanishPlayer() | |
1329 | TORS.Anchored = true | |
1330 | RootPart.CFrame = TORS.CFrame*CF(0,5,0) | |
1331 | CreateSound("260411131", RootPart, 3, 1) | |
1332 | for i = 1, 75 do | |
1333 | Swait() | |
1334 | CreateRing(VT(0,0,0),false,0,25,TORS.CFrame*ANGLES(RAD(MRANDOM(-180,180)),RAD(MRANDOM(-180,180)),RAD(MRANDOM(-180,180))),"maincolor",VT(POWERLEVEL/3,POWERLEVEL/3,0)) | |
1335 | CreateSound(HITWEAPONSOUNDS[MRANDOM(1,#HITWEAPONSOUNDS)], TORS, 10, 1) | |
1336 | local CFRAME = CF(TORS.Position)*ANGLES(RAD(MRANDOM(-180,180)),RAD(MRANDOM(-180,180)),RAD(MRANDOM(-180,180))) | |
1337 | MagicSphere(VT(0,0,0),15,CFRAME,"Really black",VT(0.1,0.1,POWERLEVEL*5)) | |
1338 | MagicSphere(VT(0.1,0.1,0.1),15,CFRAME,"Hot pink",VT(0.1,0.1,POWERLEVEL*5)) | |
1339 | TORS.CFrame = TORS.CFrame*ANGLES(RAD(MRANDOM(-180,180)),RAD(MRANDOM(-180,180)),RAD(MRANDOM(-180,180))) | |
1340 | end | |
1341 | RootPart.CFrame = CF(TORS.Position)*CF(MRANDOM(-45,45),45,MRANDOM(-45,45)) | |
1342 | Reappear() | |
1343 | CreateSound("1368583274", RightArm, 10, 1) | |
1344 | local ORB = CreatePart(3, Effects, "Neon", 0, 0, "maincolor", "Neon", VT(0,0,0)) | |
1345 | MakeForm(ORB,"Ball") | |
1346 | ORB.Color = C3(0,0,0) | |
1347 | ORB.CFrame = RightArm.CFrame * CF(0,-2,0) | |
1348 | for i=0, 4, 0.1 / Animation_Speed do | |
1349 | Swait() | |
1350 | ORB.CFrame = RightArm.CFrame * CF(0,-2-(ORB.Size.Z/2),0) | |
1351 | ORB.Size = ORB.Size + VT(0.03,0.03,0.03) | |
1352 | CreateRing(VT(25,25,0),false,0,25,ORB.CFrame*ANGLES(RAD(MRANDOM(-180,180)),RAD(MRANDOM(-180,180)),RAD(MRANDOM(-180,180))),"maincolor",VT(-1,-1,0)) | |
1353 | RootPart.CFrame = CF(RootPart.Position,TORS.Position) | |
1354 | RootJoint.C0 = Clerp(RootJoint.C0,ROOTC0 * CF(0, 0, 0) * ANGLES(RAD(0), RAD(0), RAD(90)), 2 / Animation_Speed) | |
1355 | Neck.C0 = Clerp(Neck.C0, NECKC0 * CF(0, 0, 0 + ((1) - 1)) * ANGLES(RAD(0), RAD(0), RAD(-90)), 2 / Animation_Speed) | |
1356 | RightShoulder.C0 = Clerp(RightShoulder.C0, CF(1.5, 0.5, 0) * ANGLES(RAD(0), RAD(0), RAD(90)) * RIGHTSHOULDERC0, 2 / Animation_Speed) | |
1357 | LeftShoulder.C0 = Clerp(LeftShoulder.C0, CF(-1.5, 0.5, 0) * ANGLES(RAD(0), RAD(0), RAD(-12)) * LEFTSHOULDERC0, 2 / Animation_Speed) | |
1358 | 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) | |
1359 | 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) | |
1360 | end | |
1361 | for i = 1, 5 do | |
1362 | Swait() | |
1363 | RootPart.CFrame = CF(RootPart.Position,TORS.Position) | |
1364 | ORB.Size = ORB.Size * 0.8 | |
1365 | end | |
1366 | local BEAM = CreatePart(3, Effects, "Neon", 0, 0, "maincolor", "Neon", VT(0,25,0)) | |
1367 | MakeForm(BEAM,"Ball") | |
1368 | local BEAM2 = CreatePart(3, Effects, "Neon", 0, 0, "maincolor", "Neon", VT(0,1000,0)) | |
1369 | MakeForm(BEAM2,"Cyl") | |
1370 | BEAM.CFrame = ORB.CFrame * CF(0,0,10) | |
1371 | ORB.Color = BRICKC("maincolor").Color | |
1372 | for i = 1, 5 do | |
1373 | Swait() | |
1374 | CreateRing(VT(0,0,0.1),false,0,10,RightArm.CFrame*CF(0,-1,0)*ANGLES(RAD(90),RAD(0),RAD(0)),"maincolor",VT(2,2,0)) | |
1375 | BEAM.CFrame = ORB.CFrame * CF(0,-12.5,0) | |
1376 | BEAM.Size = BEAM.Size + VT(2,0,2) | |
1377 | BEAM2.CFrame = ORB.CFrame * CF(0,-512.5,0) | |
1378 | BEAM2.Size = BEAM2.Size + VT(2,0,2) | |
1379 | RootPart.CFrame = CF(RootPart.Position,TORS.Position) | |
1380 | ORB.Size = ORB.Size * 1.3 | |
1381 | end | |
1382 | CreateSound("1368605755", Effects, 10, 1) | |
1383 | HITBODY:BreakJoints() | |
1384 | TORS.Anchored = false | |
1385 | local POS = TORS.Position | |
1386 | for i = 1, 25 do | |
1387 | CreateRing(VT(0,0,0),false,0,25,TORS.CFrame*ANGLES(RAD(MRANDOM(-180,180)),RAD(MRANDOM(-180,180)),RAD(MRANDOM(-180,180))),"maincolor",VT(POWERLEVEL/3,POWERLEVEL/3,0)) | |
1388 | CreateRing(VT(0,0,0),false,0,25,TORS.CFrame*ANGLES(RAD(MRANDOM(-180,180)),RAD(MRANDOM(-180,180)),RAD(MRANDOM(-180,180))),"maincolor",VT(POWERLEVEL/4,POWERLEVEL/4,0)) | |
1389 | end | |
1390 | for i=0, 2, 0.1 / Animation_Speed do | |
1391 | Swait() | |
1392 | killnearest(POS,15,700) | |
1393 | CreateRing(VT(0,0,0.1),false,0,10,RightArm.CFrame*CF(0,-1,0)*ANGLES(RAD(90),RAD(0),RAD(0)),"maincolor",VT(2,2,0)) | |
1394 | BEAM.CFrame = ORB.CFrame * CF(0,-12.5,0) | |
1395 | BEAM2.CFrame = ORB.CFrame * CF(0,-512.5,0) | |
1396 | ORB.CFrame = RightArm.CFrame * CF(0,-2-(ORB.Size.Z/2),0) | |
1397 | RootPart.CFrame = CF(RootPart.Position,POS) | |
1398 | RootJoint.C0 = Clerp(RootJoint.C0,ROOTC0 * CF(0, 0, 0) * ANGLES(RAD(0), RAD(0), RAD(90)), 2 / Animation_Speed) | |
1399 | Neck.C0 = Clerp(Neck.C0, NECKC0 * CF(0, 0, 0 + ((1) - 1)) * ANGLES(RAD(0), RAD(0), RAD(-90)), 2 / Animation_Speed) | |
1400 | RightShoulder.C0 = Clerp(RightShoulder.C0, CF(1.5, 0.5, 0) * ANGLES(RAD(0), RAD(0), RAD(90)) * RIGHTSHOULDERC0, 2 / Animation_Speed) | |
1401 | LeftShoulder.C0 = Clerp(LeftShoulder.C0, CF(-1.5, 0.5, 0) * ANGLES(RAD(0), RAD(0), RAD(-12)) * LEFTSHOULDERC0, 2 / Animation_Speed) | |
1402 | 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) | |
1403 | 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) | |
1404 | end | |
1405 | for i = 1, 5 do | |
1406 | Swait() | |
1407 | BEAM.CFrame = ORB.CFrame * CF(0,-12.5,0) | |
1408 | BEAM.Size = BEAM.Size - VT(2,0,2) | |
1409 | BEAM2.CFrame = ORB.CFrame * CF(0,-512.5,0) | |
1410 | BEAM2.Size = BEAM2.Size - VT(2,0,2) | |
1411 | RootPart.CFrame = CF(RootPart.Position,TORS.Position) | |
1412 | ORB.Size = ORB.Size * 0.8 | |
1413 | end | |
1414 | turnto(POS) | |
1415 | ORB:remove() | |
1416 | BEAM:remove() | |
1417 | BEAM2:remove() | |
1418 | ATTACK = false | |
1419 | Rooted = false | |
1420 | end | |
1421 | end | |
1422 | end | |
1423 | ||
1424 | function ChunkChuck2() | |
1425 | if HITFLOOR ~= nil then | |
1426 | ATTACK = true | |
1427 | Rooted = false | |
1428 | for i=0, 1, 0.1 / Animation_Speed do | |
1429 | Swait() | |
1430 | RootJoint.C0 = Clerp(RootJoint.C0,ROOTC0 * CF(0, 0, 0) * ANGLES(RAD(-25), RAD(0), RAD(45)), 2 / Animation_Speed) | |
1431 | Neck.C0 = Clerp(Neck.C0, NECKC0 * CF(0, 0, 0 + ((1) - 1)) * ANGLES(RAD(0), RAD(0), RAD(-45)), 2 / Animation_Speed) | |
1432 | RightShoulder.C0 = Clerp(RightShoulder.C0, CF(1.5, 0.5, 0) * ANGLES(RAD(150), RAD(0), RAD(12)) * RIGHTSHOULDERC0, 2 / Animation_Speed) | |
1433 | LeftShoulder.C0 = Clerp(LeftShoulder.C0, CF(-1.5, 0.5, 0) * ANGLES(RAD(0), RAD(0), RAD(-12)) * LEFTSHOULDERC0, 2 / Animation_Speed) | |
1434 | 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) | |
1435 | 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) | |
1436 | end | |
1437 | local DIST = (RootPart.Position - HITPOS).Magnitude | |
1438 | RootPart.CFrame = RootPart.CFrame * CF(0,-(DIST-3),0) | |
1439 | for i=0, 0.1, 0.1 / Animation_Speed do | |
1440 | Swait() | |
1441 | RootJoint.C0 = Clerp(RootJoint.C0,ROOTC0 * CF(0, 0, 0) * ANGLES(RAD(90), RAD(0), RAD(90)), 2 / Animation_Speed) | |
1442 | Neck.C0 = Clerp(Neck.C0, NECKC0 * CF(0, 0, 0 + ((1) - 1)) * ANGLES(RAD(0), RAD(0), RAD(-90)), 2 / Animation_Speed) | |
1443 | RightShoulder.C0 = Clerp(RightShoulder.C0, CF(1.5, 0.5, 0) * ANGLES(RAD(0), RAD(0), RAD(90)) * RIGHTSHOULDERC0, 2 / Animation_Speed) | |
1444 | LeftShoulder.C0 = Clerp(LeftShoulder.C0, CF(-1.5, 0.5, 0) * ANGLES(RAD(0), RAD(0), RAD(-12)) * LEFTSHOULDERC0, 2 / Animation_Speed) | |
1445 | 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) | |
1446 | 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) | |
1447 | end | |
1448 | CreateDebreeRing(HITFLOOR,HITPOS,15,VT(15,15,15)) | |
1449 | CreateFlyingDebree(HITFLOOR,CF(HITPOS),25,VT(2,2,2),3,150) | |
1450 | local CHUNK = CreatePart(3, Effects, "Neon", 0, 0, "Peal", "Debree", VT(25,25,25)) | |
1451 | CHUNK.Color = HITFLOOR.Color | |
1452 | CHUNK.Material = HITFLOOR.Material | |
1453 | CHUNK.CFrame = RootPart.CFrame*CF(0,-25,-0.5) | |
1454 | CreateSound("260411131", CHUNK, 10, 1) | |
1455 | CreateSound("289842971", Torso, 3, 1) | |
1456 | for i=0, 1, 0.1 / Animation_Speed do | |
1457 | Swait() | |
1458 | RootJoint.C0 = Clerp(RootJoint.C0,ROOTC0 * CF(0, 0, 0) * ANGLES(RAD(90), RAD(0), RAD(90)), 2 / Animation_Speed) | |
1459 | Neck.C0 = Clerp(Neck.C0, NECKC0 * CF(0, 0, 0 + ((1) - 1)) * ANGLES(RAD(0), RAD(0), RAD(-90)), 2 / Animation_Speed) | |
1460 | RightShoulder.C0 = Clerp(RightShoulder.C0, CF(1.5, 0.5, 0) * ANGLES(RAD(0), RAD(0), RAD(90)) * RIGHTSHOULDERC0, 2 / Animation_Speed) | |
1461 | LeftShoulder.C0 = Clerp(LeftShoulder.C0, CF(-1.5, 0.5, 0) * ANGLES(RAD(0), RAD(0), RAD(-12)) * LEFTSHOULDERC0, 2 / Animation_Speed) | |
1462 | 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) | |
1463 | 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) | |
1464 | end | |
1465 | RootPart.CFrame = RootPart.CFrame * CF(0,(DIST-3),0) | |
1466 | CHUNK.CFrame = Torso.CFrame*CF(0.7,15,0) | |
1467 | repeat | |
1468 | Swait() | |
1469 | RootPart.CFrame = CF(RootPart.Position,Mouse.Hit.p) | |
1470 | CHUNK.CFrame = Torso.CFrame*CF(0.7,15,0) | |
1471 | RootJoint.C0 = Clerp(RootJoint.C0,ROOTC0 * CF(0, 0, 0) * ANGLES(RAD(-25), RAD(0), RAD(45)), 2 / Animation_Speed) | |
1472 | Neck.C0 = Clerp(Neck.C0, NECKC0 * CF(0, 0, 0 + ((1) - 1)) * ANGLES(RAD(0), RAD(0), RAD(-45)), 2 / Animation_Speed) | |
1473 | RightShoulder.C0 = Clerp(RightShoulder.C0, CF(1.5, 0.5, 0) * ANGLES(RAD(150), RAD(0), RAD(12)) * RIGHTSHOULDERC0, 2 / Animation_Speed) | |
1474 | LeftShoulder.C0 = Clerp(LeftShoulder.C0, CF(-1.5, 0.5, 0) * ANGLES(RAD(0), RAD(0), RAD(-12)) * LEFTSHOULDERC0, 2 / Animation_Speed) | |
1475 | 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) | |
1476 | 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) | |
1477 | until HOLD == true | |
1478 | for i=0, 1, 0.1 / Animation_Speed do | |
1479 | Swait() | |
1480 | CHUNK.CFrame = Torso.CFrame*CF(0.7,15,0) | |
1481 | RootJoint.C0 = Clerp(RootJoint.C0,ROOTC0 * CF(0, 0, 0) * ANGLES(RAD(-35), RAD(0), RAD(45)), 2 / Animation_Speed) | |
1482 | Neck.C0 = Clerp(Neck.C0, NECKC0 * CF(0, 0, 0 + ((1) - 1)) * ANGLES(RAD(0), RAD(0), RAD(-45)), 2 / Animation_Speed) | |
1483 | RightShoulder.C0 = Clerp(RightShoulder.C0, CF(1.5, 0.5, 0) * ANGLES(RAD(180), RAD(0), RAD(12)) * RIGHTSHOULDERC0, 2 / Animation_Speed) | |
1484 | LeftShoulder.C0 = Clerp(LeftShoulder.C0, CF(-1.5, 0.5, 0) * ANGLES(RAD(0), RAD(0), RAD(-12)) * LEFTSHOULDERC0, 2 / Animation_Speed) | |
1485 | 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) | |
1486 | 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) | |
1487 | end | |
1488 | coroutine.resume(coroutine.create(function() | |
1489 | local COLLISION = false | |
1490 | CHUNK.CFrame = RootPart.CFrame | |
1491 | for i = 1, 300 do | |
1492 | CHUNK.CFrame = CHUNK.CFrame * CF(0,0,-5) | |
1493 | killnearest(CHUNK.Position,CHUNK.Size.Z/1.8,15) | |
1494 | local TRAIL = CHUNK:Clone() | |
1495 | TRAIL.CanCollide = false | |
1496 | TRAIL.Transparency = 0.9 | |
1497 | TRAIL.Parent = Effects | |
1498 | TRAIL.CFrame = CHUNK.CFrame | |
1499 | coroutine.resume(coroutine.create(function() | |
1500 | for i = 1, 10 do | |
1501 | Swait() | |
1502 | TRAIL.Transparency = TRAIL.Transparency + (0.1/10) | |
1503 | end | |
1504 | TRAIL:remove() | |
1505 | end)) | |
1506 | local HIT = Raycast(CHUNK.Position, CHUNK.CFrame.lookVector, CHUNK.Size.Z/2, Character) | |
1507 | if HIT ~= nil then | |
1508 | COLLISION = true | |
1509 | break | |
1510 | end | |
1511 | end | |
1512 | CHUNK:remove() | |
1513 | if COLLISION == true then | |
1514 | CreateFlyingDebree(CHUNK,CF(CHUNK.Position),25,VT(10,10,10),3,MRANDOM(150,250)) | |
1515 | killnearest(CHUNK.Position,CHUNK.Size.Z,45) | |
1516 | end | |
1517 | end)) | |
1518 | turnto(CHUNK.Position) | |
1519 | for i=0, 1, 0.1 / Animation_Speed do | |
1520 | Swait() | |
1521 | RootJoint.C0 = Clerp(RootJoint.C0,ROOTC0 * CF(0, 0, 0) * ANGLES(RAD(15), RAD(0), RAD(45)), 2 / Animation_Speed) | |
1522 | Neck.C0 = Clerp(Neck.C0, NECKC0 * CF(0, 0, 0 + ((1) - 1)) * ANGLES(RAD(0), RAD(0), RAD(-45)), 2 / Animation_Speed) | |
1523 | RightShoulder.C0 = Clerp(RightShoulder.C0, CF(1.5, 0.5, 0) * ANGLES(RAD(25), RAD(0), RAD(12)) * RIGHTSHOULDERC0, 2 / Animation_Speed) | |
1524 | LeftShoulder.C0 = Clerp(LeftShoulder.C0, CF(-1.5, 0.5, 0) * ANGLES(RAD(0), RAD(0), RAD(-12)) * LEFTSHOULDERC0, 2 / Animation_Speed) | |
1525 | 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) | |
1526 | 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) | |
1527 | end | |
1528 | ATTACK = false | |
1529 | Rooted = false | |
1530 | end | |
1531 | end | |
1532 | ||
1533 | function XEvent2() | |
1534 | local FLOOR,HITPOS = Raycast(RootPart.Position, CF(RootPart.Position,RootPart.Position+VT(0,-1,0)).lookVector, 100000, Character) | |
1535 | if FLOOR then | |
1536 | local BURNMARKS = {} | |
1537 | local POS = HITPOS | |
1538 | ATTACK = true | |
1539 | Rooted = false | |
1540 | local AMOUNT = 200 | |
1541 | for i=0, 3, 0.1 / Animation_Speed do | |
1542 | Swait() | |
1543 | RootPart.CFrame = CF(RootPart.Position,POS+VT(AMOUNT,0,AMOUNT))*CF(0,0,2) | |
1544 | RootJoint.C0 = Clerp(RootJoint.C0,ROOTC0 * CF(0, 0, 0) * ANGLES(RAD(0), RAD(0), RAD(0)), 2 / Animation_Speed) | |
1545 | 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) | |
1546 | RightShoulder.C0 = Clerp(RightShoulder.C0, CF(1.5, 0.5, 0) * ANGLES(RAD(45), RAD(0), RAD(12)) * RIGHTSHOULDERC0, 2 / Animation_Speed) | |
1547 | LeftShoulder.C0 = Clerp(LeftShoulder.C0, CF(-1.5, 0.5, 0) * ANGLES(RAD(45), RAD(0), RAD(-12)) * LEFTSHOULDERC0, 2 / Animation_Speed) | |
1548 | 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) | |
1549 | 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) | |
1550 | end | |
1551 | CreateSound("1368583274", Effects, 10, 0.5) | |
1552 | local ORB = CreatePart(3, Effects, "Neon", 0, 0, "Really black", "Neon", VT(0,0,0)) | |
1553 | MakeForm(ORB,"Ball") | |
1554 | ORB.Color = C3(0,0,0) | |
1555 | ORB.CFrame = RightArm.CFrame * CF(0,-2,0) | |
1556 | for i=0, 12, 0.1 / Animation_Speed do | |
1557 | Swait() | |
1558 | ORB.CFrame = RightArm.CFrame * CF(0,-2-(ORB.Size.Z/2),0) | |
1559 | ORB.Size = ORB.Size + VT(0.03,0.03,0.03) | |
1560 | CreateRing(VT(250,250,0),false,0,25,ORB.CFrame*ANGLES(RAD(MRANDOM(-180,180)),RAD(MRANDOM(-180,180)),RAD(MRANDOM(-180,180))),"Really black",VT(-10,-10,0)) | |
1561 | CreateRing(VT(250,250,0),false,0,25,ORB.CFrame*ANGLES(RAD(MRANDOM(-180,180)),RAD(MRANDOM(-180,180)),RAD(MRANDOM(-180,180))),"Really black",VT(-10,-10,0)) | |
1562 | RootPart.CFrame = CF(RootPart.Position,POS+VT(AMOUNT,0,AMOUNT)) | |
1563 | RootJoint.C0 = Clerp(RootJoint.C0,ROOTC0 * CF(0, 0, 0) * ANGLES(RAD(0), RAD(0), RAD(90)), 2 / Animation_Speed) | |
1564 | Neck.C0 = Clerp(Neck.C0, NECKC0 * CF(0, 0, 0 + ((1) - 1)) * ANGLES(RAD(0), RAD(0), RAD(-90)), 2 / Animation_Speed) | |
1565 | RightShoulder.C0 = Clerp(RightShoulder.C0, CF(1.5, 0.5, 0) * ANGLES(RAD(0), RAD(0), RAD(90)) * RIGHTSHOULDERC0, 2 / Animation_Speed) | |
1566 | LeftShoulder.C0 = Clerp(LeftShoulder.C0, CF(-1.5, 0.5, 0) * ANGLES(RAD(0), RAD(0), RAD(-12)) * LEFTSHOULDERC0, 2 / Animation_Speed) | |
1567 | 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) | |
1568 | 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) | |
1569 | end | |
1570 | for i = 1, 50 do | |
1571 | Swait() | |
1572 | ORB.Size = ORB.Size * 0.9 | |
1573 | ORB.CFrame = RightArm.CFrame * CF(0,-2-(ORB.Size.Z/2),0) | |
1574 | end | |
1575 | local BEAM = CreatePart(3, Effects, "Neon", 0, 0, "Really black", "Neon", VT(0,100,0)) | |
1576 | MakeForm(BEAM,"Ball") | |
1577 | local BEAM2 = CreatePart(3, Effects, "Neon", 0, 0, "Really black", "Neon", VT(0,1000,0)) | |
1578 | MakeForm(BEAM2,"Cyl") | |
1579 | BEAM.CFrame = ORB.CFrame * CF(0,0,10) | |
1580 | ORB.Color = BRICKC("maincolor").Color | |
1581 | CreateSound("1368598393", Effects, 10, 0.3) | |
1582 | CreateSound("1368605755", Effects, 10, 0.3) | |
1583 | CreateSound("1368637781", Effects, 10, 0.3) | |
1584 | for i = 1, 10 do | |
1585 | local COLOR = C3(0,0,0) | |
1586 | ORB.Size = VT(10,10,10) | |
1587 | ORB.CFrame = RightArm.CFrame * CF(0,-2-(ORB.Size.Z/2),0) | |
1588 | CreateRing(VT(0,0,0.1),false,0,10,RightArm.CFrame*CF(0,-1,0)*ANGLES(RAD(90),RAD(0),RAD(0)),"maincolor",VT(10,10,0)) | |
1589 | CreateRing(VT(0,0,0.1),false,0,10,RightArm.CFrame*CF(0,-1,0)*ANGLES(RAD(90),RAD(0),RAD(0)),"maincolor",VT(20,20,0)) | |
1590 | BEAM.CFrame = ORB.CFrame * CF(0,-50-(ORB.Size.Z/3),0) | |
1591 | BEAM.Size = BEAM.Size + VT(4,0,4) | |
1592 | BEAM2.CFrame = ORB.CFrame * CF(0,-550-(ORB.Size.Z/3),0) | |
1593 | BEAM2.Size = BEAM2.Size + VT(4,0,4) | |
1594 | BEAM.Color = COLOR | |
1595 | ORB.Color = COLOR | |
1596 | BEAM2.Color = COLOR | |
1597 | end | |
1598 | for i = 1, 400 do | |
1599 | Swait() | |
1600 | local COLOR = C3(0,0,0) | |
1601 | BEAM.Color = COLOR | |
1602 | ORB.Color = COLOR | |
1603 | BEAM2.Color = COLOR | |
1604 | ORB.CFrame = RightArm.CFrame * CF(0,-2-(ORB.Size.Z/2),0) | |
1605 | BEAM.CFrame = ORB.CFrame * CF(0,-50-(ORB.Size.Z/3),0) | |
1606 | BEAM2.CFrame = ORB.CFrame * CF(0,-550-(ORB.Size.Z/3),0) | |
1607 | RootPart.CFrame = CF(RootPart.Position,POS+VT(AMOUNT,0,AMOUNT)) | |
1608 | 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 black",VT(POWERLEVEL/40,POWERLEVEL/40,0)) | |
1609 | 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 black",VT(POWERLEVEL/30,POWERLEVEL/30,0)) | |
1610 | local MARK = CreatePart(3, Effects, "Neon", 0, 0, "Really black", "BurnMark", VT(15,0,15)*2) | |
1611 | MARK.CFrame = CF(POS+VT(AMOUNT,0,AMOUNT)) | |
1612 | table.insert(BURNMARKS,MARK) | |
1613 | MakeForm(MARK,"Cyl") | |
1614 | 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))),"Really black",VT(POWERLEVEL/50,POWERLEVEL/50,0)) | |
1615 | 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))),"Really black",VT(POWERLEVEL/40,POWERLEVEL/40,0)) | |
1616 | local distance = (RightArm.CFrame*CF(0,-2,0).p - POS+VT(AMOUNT,0,AMOUNT)).magnitude | |
1617 | AMOUNT = AMOUNT - 1 | |
1618 | --CreateFlyingDebree(FLOOR,CF(POS+VT(AMOUNT,0,AMOUNT)),1,VT(5,5,5),1,150) | |
1619 | end | |
1620 | local AMOUNT = 200 | |
1621 | for i = 1, 400 do | |
1622 | Swait() | |
1623 | local COLOR = C3(0,0,0) | |
1624 | BEAM.Color = COLOR | |
1625 | ORB.Color = COLOR | |
1626 | BEAM2.Color = COLOR | |
1627 | ORB.CFrame = RightArm.CFrame * CF(0,-2-(ORB.Size.Z/2),0) | |
1628 | BEAM.CFrame = ORB.CFrame * CF(0,-50-(ORB.Size.Z/3),0) | |
1629 | BEAM2.CFrame = ORB.CFrame * CF(0,-550-(ORB.Size.Z/3),0) | |
1630 | RootPart.CFrame = CF(RootPart.Position,POS+VT(AMOUNT,0,-AMOUNT)) | |
1631 | 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 Black",VT(POWERLEVEL/40,POWERLEVEL/40,0)) | |
1632 | 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 black",VT(POWERLEVEL/30,POWERLEVEL/30,0)) | |
1633 | local MARK = CreatePart(3, Effects, "Neon", 0, 0, "Really black", "BurnMark", VT(15,0,15)*2) | |
1634 | MARK.CFrame = CF(POS+VT(AMOUNT,0,-AMOUNT)) | |
1635 | table.insert(BURNMARKS,MARK) | |
1636 | MakeForm(MARK,"Cyl") | |
1637 | 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))),"Really black",VT(POWERLEVEL/50,POWERLEVEL/50,0)) | |
1638 | 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))),"Really black",VT(POWERLEVEL/40,POWERLEVEL/40,0)) | |
1639 | local distance = (RightArm.CFrame*CF(0,-2,0).p - POS+VT(AMOUNT,0,-AMOUNT)).magnitude | |
1640 | AMOUNT = AMOUNT - 1 | |
1641 | --CreateFlyingDebree(FLOOR,CF(POS+VT(AMOUNT,0,-AMOUNT)),1,VT(5,5,5),1,150) | |
1642 | end | |
1643 | for i = 1, 40 do | |
1644 | Swait() | |
1645 | local COLOR = C3(0,0,0) | |
1646 | BEAM.CFrame = ORB.CFrame * CF(0,-50-(ORB.Size.Z/3),0) | |
1647 | BEAM.Size = BEAM.Size - VT(2,0,2) | |
1648 | BEAM2.CFrame = ORB.CFrame * CF(0,-550-(ORB.Size.Z/3),0) | |
1649 | BEAM2.Size = BEAM2.Size - VT(2,0,2) | |
1650 | ORB.Size = ORB.Size * 0.9 | |
1651 | BEAM.Color = COLOR | |
1652 | ORB.Color = COLOR | |
1653 | BEAM2.Color = COLOR | |
1654 | end | |
1655 | ORB:remove() | |
1656 | BEAM:remove() | |
1657 | BEAM2:remove() | |
1658 | CreateSound("1368583274", Effects, 10, 0.375) | |
1659 | local ORB = CreatePart(3, Effects, "Neon", 0, 0, "Really black", "Neon", VT(0,0,0)) | |
1660 | MakeForm(ORB,"Ball") | |
1661 | ORB.Color = C3(0,0,0) | |
1662 | ORB.CFrame = RightArm.CFrame * CF(0,-2,0) | |
1663 | for i=0, 18, 0.1 / Animation_Speed do | |
1664 | Swait() | |
1665 | ORB.CFrame = RightArm.CFrame * CF(0,-2-(ORB.Size.Z/2),0) | |
1666 | ORB.Size = ORB.Size + VT(0.03,0.03,0.03) | |
1667 | CreateRing(VT(450,450,0),false,0,45,ORB.CFrame*ANGLES(RAD(MRANDOM(-180,180)),RAD(MRANDOM(-180,180)),RAD(MRANDOM(-180,180))),"Really black",VT(-10,-10,0)) | |
1668 | CreateRing(VT(450,450,0),false,0,45,ORB.CFrame*ANGLES(RAD(MRANDOM(-180,180)),RAD(MRANDOM(-180,180)),RAD(MRANDOM(-180,180))),"Really black",VT(-10,-10,0)) | |
1669 | RootPart.CFrame = CF(RootPart.Position,POS) | |
1670 | RootJoint.C0 = Clerp(RootJoint.C0,ROOTC0 * CF(0, 0, 0) * ANGLES(RAD(0), RAD(0), RAD(90)), 2 / Animation_Speed) | |
1671 | Neck.C0 = Clerp(Neck.C0, NECKC0 * CF(0, 0, 0 + ((1) - 1)) * ANGLES(RAD(0), RAD(0), RAD(-90)), 2 / Animation_Speed) | |
1672 | RightShoulder.C0 = Clerp(RightShoulder.C0, CF(1.5, 0.5, 0) * ANGLES(RAD(0), RAD(0), RAD(90)) * RIGHTSHOULDERC0, 2 / Animation_Speed) | |
1673 | LeftShoulder.C0 = Clerp(LeftShoulder.C0, CF(-1.5, 0.5, 0) * ANGLES(RAD(0), RAD(0), RAD(-12)) * LEFTSHOULDERC0, 2 / Animation_Speed) | |
1674 | 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) | |
1675 | 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) | |
1676 | end | |
1677 | for i = 1, 50 do | |
1678 | Swait() | |
1679 | ORB.Size = ORB.Size * 0.9 | |
1680 | ORB.CFrame = RightArm.CFrame * CF(0,-2-(ORB.Size.Z/2),0) | |
1681 | end | |
1682 | local BEAM = CreatePart(3, Effects, "Neon", 0, 0, "Really black", "Neon", VT(0,100,0)) | |
1683 | MakeForm(BEAM,"Ball") | |
1684 | local BEAM2 = CreatePart(3, Effects, "Neon", 0, 0, "Really black", "Neon", VT(0,1000,0)) | |
1685 | MakeForm(BEAM2,"Cyl") | |
1686 | BEAM.CFrame = ORB.CFrame * CF(0,0,10) | |
1687 | ORB.Color = BRICKC("Really black").Color | |
1688 | CreateSound("1368598393", Effects, 10, 1) | |
1689 | CreateSound("1368605755", Effects, 10, 1) | |
1690 | CreateSound("1368637781", Effects, 10, 1) | |
1691 | CreateSound("314970772", Effects, 10, 1) | |
1692 | for i = 1, 60 do | |
1693 | Swait() | |
1694 | MagicSphere(VT(0,0,0),25,CF(POS),"Really black",VT(15,15,15)) | |
1695 | local COLOR = C3(0,0,0) | |
1696 | ORB.Size = VT(10,10,10) | |
1697 | ORB.CFrame = RightArm.CFrame * CF(0,-2-(ORB.Size.Z/2),0) | |
1698 | CreateRing(VT(0,0,0.1),false,0,10,RightArm.CFrame*CF(0,-1,0)*ANGLES(RAD(90),RAD(0),RAD(0)),"maincolor",VT(10,10,0)) | |
1699 | CreateRing(VT(0,0,0.1),false,0,10,RightArm.CFrame*CF(0,-1,0)*ANGLES(RAD(90),RAD(0),RAD(0)),"maincolor",VT(20,20,0)) | |
1700 | BEAM.CFrame = ORB.CFrame * CF(0,-50-(ORB.Size.Z/3),0) | |
1701 | BEAM.Size = BEAM.Size + VT(6,0,6) | |
1702 | BEAM2.CFrame = ORB.CFrame * CF(0,-550-(ORB.Size.Z/3),0) | |
1703 | BEAM2.Size = BEAM2.Size + VT(6,0,6) | |
1704 | BEAM.Color = COLOR | |
1705 | ORB.Color = COLOR | |
1706 | BEAM2.Color = COLOR | |
1707 | end | |
1708 | for _, c in pairs(workspace:GetChildren()) do | |
1709 | if c ~= Character then | |
1710 | if c.ClassName == "Model" then | |
1711 | c:BreakJoints() | |
1712 | for _, g in pairs(c:GetChildren()) do | |
1713 | if g ~= Character then | |
1714 | if g.ClassName == "Part" then | |
1715 | g.Anchored = false | |
1716 | g.Velocity = VT(MRANDOM(-150,150),MRANDOM(-150,150),MRANDOM(-150,150)) | |
1717 | end | |
1718 | end | |
1719 | end | |
1720 | elseif c.ClassName == "Folder" then | |
1721 | for _, g in pairs(c:GetChildren()) do | |
1722 | if g ~= Character then | |
1723 | if g.ClassName == "Part" then | |
1724 | g.Anchored = false | |
1725 | g.Velocity = VT(MRANDOM(-150,150),MRANDOM(-150,150),MRANDOM(-150,150)) | |
1726 | end | |
1727 | end | |
1728 | end | |
1729 | elseif c.ClassName == "Part" then | |
1730 | c.Anchored = false | |
1731 | c.Velocity = VT(MRANDOM(-150,150),MRANDOM(-150,150),MRANDOM(-150,150)) | |
1732 | end | |
1733 | end | |
1734 | end | |
1735 | for e=1,#BURNMARKS do | |
1736 | if BURNMARKS[e]~=nil then | |
1737 | local Thing=BURNMARKS[e] | |
1738 | if Thing~=nil then | |
1739 | local Part=Thing | |
1740 | Part:remove() | |
1741 | end | |
1742 | end | |
1743 | end | |
1744 | ORB:remove() | |
1745 | BEAM:remove() | |
1746 | BEAM2:remove() | |
1747 | Swait(100) | |
1748 | for i = 1, 60 do | |
1749 | Swait() | |
1750 | end | |
1751 | ATTACK = false | |
1752 | Rooted = false | |
1753 | end | |
1754 | end | |
1755 | ||
1756 | --//=================================\\ | |
1757 | --|| ASSIGN THINGS TO KEYS | |
1758 | --\\=================================// | |
1759 | ||
1760 | function MouseDown(Mouse) | |
1761 | HOLD = true | |
1762 | if ATTACK == false then | |
1763 | end | |
1764 | end | |
1765 | ||
1766 | function CastProperRay(StartPos, Vec, Length, Ignore) | |
1767 | local Direction = CFrame.new(StartPos, Vec).lookVector | |
1768 | local Ignore = ((type(Ignore) == "table" and Ignore) or {Ignore}) | |
1769 | local RayHit, RayPos, RayNormal = game:GetService("Workspace"):FindPartOnRayWithIgnoreList(Ray.new(StartPos, Direction * Length), Ignore) | |
1770 | return RayHit, RayPos, RayNormal | |
1771 | end | |
1772 | ||
1773 | function MouseUp(Mouse) | |
1774 | HOLD = false | |
1775 | end | |
1776 | ||
1777 | function KeyDown(Key) | |
1778 | KEYHOLD = true | |
1779 | if LIMITBROKEN == false then | |
1780 | if Key == "t" and ATTACK == false then | |
1781 | Taunt() | |
1782 | end | |
1783 | ||
1784 | if Key == "z" and ATTACK == false then | |
1785 | Warp() | |
1786 | end | |
1787 | ||
1788 | if Key == "b" and ATTACK == false then | |
1789 | RivalingOverthrower() | |
1790 | end | |
1791 | ||
1792 | if Key == "c" and ATTACK == false then | |
1793 | ChunkChuck() | |
1794 | end | |
1795 | ||
1796 | if Key == "v" and ATTACK == false then | |
1797 | if POWERLEVEL < 5 then | |
1798 | Boost() | |
1799 | end | |
1800 | end | |
1801 | ||
1802 | if Key == "q" and ATTACK == false then | |
1803 | BreakLimit() | |
1804 | tecks2.Text = "???" | |
1805 | tecks2.TextSize = 50 | |
1806 | tecks2.TextColor3 = BrickColor.new("Really black").Color | |
1807 | tecks2.TextStrokeColor3 = BrickColor.new("Really black").Color | |
1808 | "maincolor" = BrickColor.new("Really black") | |
1809 | end | |
1810 | ||
1811 | if Key == "x" and ATTACK == false then | |
1812 | XEvent() | |
1813 | end | |
1814 | else | |
1815 | if Key == "b" and ATTACK == false then | |
1816 | RivalingOverthrower2() | |
1817 | end | |
1818 | ||
1819 | if Key == "c" and ATTACK == false then | |
1820 | ChunkChuck2() | |
1821 | end | |
1822 | ||
1823 | if Key == "x" and ATTACK == false then | |
1824 | XEvent2() | |
1825 | end | |
1826 | ||
1827 | if Key == "q" and ATTACK == false then | |
1828 | LIMITBROKEN = false | |
1829 | POWERLEVEL = 1 | |
1830 | tecks2.Text = "The Nightmare Rival" | |
1831 | tecks2.TextSize = 30 | |
1832 | tecks2.TextColor3 = BrickColor.new("Really black").Color | |
1833 | tecks2.TextStrokeColor3 = BrickColor.new("maincolor").Color | |
1834 | end | |
1835 | ||
1836 | if Key == "w" and ATTACK == false then | |
1837 | FLIGHT = true | |
1838 | repeat | |
1839 | local RayHit, RayPos = CastProperRay(RootPart.Position, Mouse.Hit.p, 5, {workspace}) | |
1840 | RootPart.CFrame = CFrame.new(RayPos,VT(Mouse.Hit.p.X,RootPart.Position.Y,Mouse.Hit.p.Z)) * CFrame.new(0, 0, 0) | |
1841 | Swait() | |
1842 | until KEYHOLD == false | |
1843 | FLIGHT = false | |
1844 | end | |
1845 | if Key == "s" and ATTACK == false then | |
1846 | FLIGHT = true | |
1847 | repeat | |
1848 | local RayHit1, RayPos1 = CastProperRay(Mouse.Hit.p, RootPart.Position, 10000, {workspace}) | |
1849 | local RayHit, RayPos = CastProperRay(RootPart.Position, RayPos1, 1, {workspace}) | |
1850 | RootPart.CFrame = CFrame.new(RayPos,VT(Mouse.Hit.p.X,RootPart.Position.Y,Mouse.Hit.p.Z)) * CFrame.new(0, 0, 0) | |
1851 | Swait() | |
1852 | until KEYHOLD == false | |
1853 | FLIGHT = false | |
1854 | end | |
1855 | if Key == "a" and ATTACK == false then | |
1856 | FLIGHT = true | |
1857 | repeat | |
1858 | local RayHit, RayPos = CastProperRay(RootPart.Position, RootPart.CFrame*CF(-1,0,0).p, 1, {workspace}) | |
1859 | RootPart.CFrame = CFrame.new(RayPos,VT(Mouse.Hit.p.X,RootPart.Position.Y,Mouse.Hit.p.Z)) * CFrame.new(0, 0, 0) | |
1860 | Swait() | |
1861 | until KEYHOLD == false | |
1862 | FLIGHT = false | |
1863 | end | |
1864 | if Key == "d" and ATTACK == false then | |
1865 | FLIGHT = true | |
1866 | repeat | |
1867 | local RayHit, RayPos = CastProperRay(RootPart.Position, RootPart.CFrame*CF(1,0,0).p, 1, {workspace}) | |
1868 | RootPart.CFrame = CFrame.new(RayPos,VT(Mouse.Hit.p.X,RootPart.Position.Y,Mouse.Hit.p.Z)) * CFrame.new(0, 0, 0) | |
1869 | Swait() | |
1870 | until KEYHOLD == false | |
1871 | FLIGHT = false | |
1872 | end | |
1873 | end | |
1874 | end | |
1875 | ||
1876 | function KeyUp(Key) | |
1877 | KEYHOLD = false | |
1878 | end | |
1879 | ||
1880 | Mouse.Button1Down:connect(function(NEWKEY) | |
1881 | MouseDown(NEWKEY) | |
1882 | end) | |
1883 | Mouse.Button1Up:connect(function(NEWKEY) | |
1884 | MouseUp(NEWKEY) | |
1885 | end) | |
1886 | Mouse.KeyDown:connect(function(NEWKEY) | |
1887 | KeyDown(NEWKEY) | |
1888 | end) | |
1889 | Mouse.KeyUp:connect(function(NEWKEY) | |
1890 | KeyUp(NEWKEY) | |
1891 | end) | |
1892 | ||
1893 | --//=================================\\ | |
1894 | --\\=================================// | |
1895 | ||
1896 | ||
1897 | function unanchor() | |
1898 | if UNANCHOR == true then | |
1899 | g = Character:GetChildren() | |
1900 | for i = 1, #g do | |
1901 | if g[i].ClassName == "Part" and g[i].Name ~= "HumanoidRootPart" then | |
1902 | g[i].Anchored = false | |
1903 | end | |
1904 | if g[i].ClassName == "Accessory" then | |
1905 | g[i].Handle.Anchored = false | |
1906 | end | |
1907 | end | |
1908 | if LIMITBROKEN == false then | |
1909 | RootPart.Anchored = false | |
1910 | end | |
1911 | end | |
1912 | end | |
1913 | ||
1914 | ||
1915 | --//=================================\\ | |
1916 | --|| WRAP THE WHOLE SCRIPT UP | |
1917 | --\\=================================// | |
1918 | ||
1919 | Humanoid.Changed:connect(function(Jump) | |
1920 | if Jump == "Jump" and (Disable_Jump == true) then | |
1921 | Humanoid.Jump = false | |
1922 | end | |
1923 | end) | |
1924 | ||
1925 | Speed = 12 | |
1926 | Humanoid.JumpPower = 200 | |
1927 | ||
1928 | local FF = IT("ForceField",Character) | |
1929 | FF.Visible = false | |
1930 | ||
1931 | while true do | |
1932 | Swait() | |
1933 | ANIMATE.Parent = nil | |
1934 | local IDLEANIMATION = Humanoid:LoadAnimation(ROBLOXIDLEANIMATION) | |
1935 | IDLEANIMATION:Play() | |
1936 | SINE = SINE + CHANGE | |
1937 | local TORSOVELOCITY = (RootPart.Velocity * VT(1, 0, 1)).magnitude | |
1938 | local TORSOVERTICALVELOCITY = RootPart.Velocity.y | |
1939 | local LV = Torso.CFrame:pointToObjectSpace(Torso.Velocity - Torso.Position) | |
1940 | if LIMITBROKEN == false then | |
1941 | HITFLOOR, HITPOS = Raycast(RootPart.Position, (CF(RootPart.Position, RootPart.Position + VT(0, -1, 0))).lookVector, 4 * Player_Size, Character) | |
1942 | if HITFLOOR ~= nil then | |
1943 | if HITFLOOR.CanCollide == false then | |
1944 | HITFLOOR = nil | |
1945 | end | |
1946 | end | |
1947 | local WALKSPEEDVALUE = 6 / (Humanoid.WalkSpeed / 16) | |
1948 | if ANIM == "Walk" and TORSOVELOCITY > 1 then | |
1949 | 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) | |
1950 | 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) | |
1951 | 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) | |
1952 | 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) | |
1953 | elseif (ANIM ~= "Walk") or (TORSOVELOCITY < 1) then | |
1954 | RootJoint.C1 = Clerp(RootJoint.C1, ROOTC0 * CF(0, 0, 0) * ANGLES(RAD(0), RAD(0), RAD(0)), 0.2 / Animation_Speed) | |
1955 | 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) | |
1956 | 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) | |
1957 | 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) | |
1958 | end | |
1959 | if TORSOVERTICALVELOCITY > 1 and HITFLOOR == nil then | |
1960 | ANIM = "Jump" | |
1961 | if ATTACK == false then | |
1962 | RootJoint.C0 = Clerp(RootJoint.C0, ROOTC0 * CF(0, 0, 0) * ANGLES(RAD(0), RAD(0), RAD(0)), 0.2 / Animation_Speed) | |
1963 | Neck.C0 = Clerp(Neck.C0, NECKC0 * CF(0, 0 * Player_Size, 0 + ((1) - 1)) * ANGLES(RAD(-20), RAD(0), RAD(0)), 2 / Animation_Speed) | |
1964 | RightShoulder.C0 = Clerp(RightShoulder.C0, CF(1.5, 0.5, 0) * ANGLES(RAD(-40), RAD(0), RAD(20)) * RIGHTSHOULDERC0, 2 / Animation_Speed) | |
1965 | LeftShoulder.C0 = Clerp(LeftShoulder.C0, CF(-1.5, 0.5, 0) * ANGLES(RAD(-40), RAD(0), RAD(-20)) * LEFTSHOULDERC0, 2 / Animation_Speed) | |
1966 | 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) | |
1967 | 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) | |
1968 | end | |
1969 | elseif TORSOVERTICALVELOCITY < -1 and HITFLOOR == nil then | |
1970 | ANIM = "Fall" | |
1971 | if ATTACK == false then | |
1972 | RootJoint.C0 = Clerp(RootJoint.C0, ROOTC0 * CF(0, 0, 0 ) * ANGLES(RAD(0), RAD(0), RAD(0)), 2 / Animation_Speed) | |
1973 | Neck.C0 = Clerp(Neck.C0, NECKC0 * CF(0, 0 , 0 + ((1) - 1)) * ANGLES(RAD(20), RAD(0), RAD(0)), 2 / Animation_Speed) | |
1974 | RightShoulder.C0 = Clerp(RightShoulder.C0, CF(1.5, 0.5, 0) * ANGLES(RAD(0), RAD(0), RAD(60)) * RIGHTSHOULDERC0, 2 / Animation_Speed) | |
1975 | LeftShoulder.C0 = Clerp(LeftShoulder.C0, CF(-1.5, 0.5, 0) * ANGLES(RAD(0), RAD(0), RAD(-60)) * LEFTSHOULDERC0, 2 / Animation_Speed) | |
1976 | 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) | |
1977 | 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) | |
1978 | end | |
1979 | elseif TORSOVELOCITY < 1 and HITFLOOR ~= nil then | |
1980 | if ANIM == "Fall" then | |
1981 | Rooted = true | |
1982 | CreateSound("289842971", Torso, 3, 1) | |
1983 | Humanoid.WalkSpeed = 0 | |
1984 | CreateFlyingDebree(HITFLOOR,CF(RootPart.Position+VT(0,-3,0)),5,VT(1.5,1.5,1.5),45,50) | |
1985 | CreateWave(VT(0,0,0),15,CF(HITPOS),true,2,"Really black",VT(1,0.1,1)) | |
1986 | for i=0, 1, 0.1 / Animation_Speed do | |
1987 | Swait() | |
1988 | RootJoint.C0 = Clerp(RootJoint.C0,ROOTC0 * CF(0, 0, -1.5) * ANGLES(RAD(0), RAD(-5), RAD(0)), 2 / Animation_Speed) | |
1989 | Neck.C0 = Clerp(Neck.C0, NECKC0 * CF(0, 0, 0) * ANGLES(RAD(15), RAD(0), RAD(0)), 0.15 / Animation_Speed) | |
1990 | RightShoulder.C0 = Clerp(RightShoulder.C0, CF(1.5, 0, -0.3) * ANGLES(RAD(0), RAD(0), RAD(8)) * RIGHTSHOULDERC0, 2 / Animation_Speed) | |
1991 | LeftShoulder.C0 = Clerp(LeftShoulder.C0, CF(-1.5, 0.5, 0) * ANGLES(RAD(0), RAD(0), RAD(-12)) * LEFTSHOULDERC0, 2 / Animation_Speed) | |
1992 | 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) | |
1993 | 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) | |
1994 | end | |
1995 | Rooted = false | |
1996 | end | |
1997 | ANIM = "Idle" | |
1998 | if ATTACK == false then | |
1999 | 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) | |
2000 | 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) | |
2001 | 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) | |
2002 | 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) | |
2003 | 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) | |
2004 | 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) | |
2005 | end | |
2006 | elseif TORSOVELOCITY > 1 and HITFLOOR ~= nil then | |
2007 | if ANIM == "Fall" then | |
2008 | Rooted = true | |
2009 | CreateSound("289842971", Torso, 3, 1) | |
2010 | Humanoid.WalkSpeed = 0 | |
2011 | CreateFlyingDebree(HITFLOOR,CF(RootPart.Position+VT(0,-3,0)),5,VT(1.5,1.5,1.5),45,50) | |
2012 | CreateWave(VT(0,0,0),15,CF(HITPOS),true,2,"Really black",VT(1,0.1,1)) | |
2013 | for i=0, 1, 0.1 / Animation_Speed do | |
2014 | Swait() | |
2015 | RootJoint.C0 = Clerp(RootJoint.C0,ROOTC0 * CF(0, 0, -1.5) * ANGLES(RAD(0), RAD(-5), RAD(0)), 2 / Animation_Speed) | |
2016 | Neck.C0 = Clerp(Neck.C0, NECKC0 * CF(0, 0, 0) * ANGLES(RAD(15), RAD(0), RAD(0)), 0.15 / Animation_Speed) | |
2017 | RightShoulder.C0 = Clerp(RightShoulder.C0, CF(1.5, 0, -0.3) * ANGLES(RAD(0), RAD(0), RAD(8)) * RIGHTSHOULDERC0, 2 / Animation_Speed) | |
2018 | LeftShoulder.C0 = Clerp(LeftShoulder.C0, CF(-1.5, 0.5, 0) * ANGLES(RAD(0), RAD(0), RAD(-12)) * LEFTSHOULDERC0, 2 / Animation_Speed) | |
2019 | 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) | |
2020 | 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) | |
2021 | end | |
2022 | Rooted = false | |
2023 | end | |
2024 | ANIM = "Walk" | |
2025 | WALK = WALK + 1 / Animation_Speed | |
2026 | if WALK >= 15 - (5 * (Humanoid.WalkSpeed / 16 / Player_Size)) then | |
2027 | WALK = 0 | |
2028 | if WALKINGANIM == true then | |
2029 | WALKINGANIM = false | |
2030 | elseif WALKINGANIM == false then | |
2031 | WALKINGANIM = true | |
2032 | end | |
2033 | end | |
2034 | --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) | |
2035 | --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) | |
2036 | if ATTACK == false then | |
2037 | RootJoint.C0 = Clerp(RootJoint.C0,ROOTC0 * CF(0, 0, -0.1) * ANGLES(RAD(5), RAD(0), RAD(0)), 2 / Animation_Speed) | |
2038 | 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) | |
2039 | 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) | |
2040 | 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) | |
2041 | 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) | |
2042 | 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) | |
2043 | end | |
2044 | end | |
2045 | if ATTACK == false and POWERLEVEL > 2 then | |
2046 | killnearest(Torso.Position,POWERLEVEL*2,15) | |
2047 | end | |
2048 | if sick.SoundId ~= "rbxassetid://645716375" then | |
2049 | sick.SoundId = "rbxassetid://645716375" | |
2050 | sick.Volume = 5 | |
2051 | sick:Play() | |
2052 | end | |
2053 | sick.Pitch = (1-((POWERLEVEL-1))/15) | |
2054 | SKILL6TEXT.Text = "Power level: ["..POWERLEVEL.."]" | |
2055 | else | |
2056 | VALUE2 = false | |
2057 | if ATTACK == false and POWERLEVEL > 2 then | |
2058 | killnearest(Torso.Position,15,15) | |
2059 | end | |
2060 | local RANDOM = MRANDOM(1,4) | |
2061 | if MRANDOM(1,5) == 1 then | |
2062 | 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))),"maincolor",VT(-1,-1,0)*RANDOM) | |
2063 | end | |
2064 | if MRANDOM(1,5) == 1 then | |
2065 | 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))),"maincolor",VT(-1,-1,0)*RANDOM) | |
2066 | end | |
2067 | RootJoint.C1 = Clerp(RootJoint.C1, ROOTC0 * CF(0, 0, 0) * ANGLES(RAD(0), RAD(0), RAD(0)), 0.2 / Animation_Speed) | |
2068 | 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) | |
2069 | 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) | |
2070 | 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) | |
2071 | POWERLEVEL = 100 | |
2072 | RootPart.Anchored = true | |
2073 | if FLIGHT == false then | |
2074 | ANIM = "Levitate" | |
2075 | if ATTACK == false then | |
2076 | RootJoint.C0 = Clerp(RootJoint.C0, ROOTC0 * CF(0, 0, 0 ) * ANGLES(RAD(0), RAD(0), RAD(0)), 2 / Animation_Speed) | |
2077 | Neck.C0 = Clerp(Neck.C0, NECKC0 * CF(0, 0 , 0 + ((1) - 1)) * ANGLES(RAD(20), RAD(0), RAD(0)), 2 / Animation_Speed) | |
2078 | RightShoulder.C0 = Clerp(RightShoulder.C0, CF(1.5, 0.5, 0) * ANGLES(RAD(0), RAD(0), RAD(25)) * RIGHTSHOULDERC0, 2 / Animation_Speed) | |
2079 | LeftShoulder.C0 = Clerp(LeftShoulder.C0, CF(-1.5, 0.5, 0) * ANGLES(RAD(0), RAD(0), RAD(-25)) * LEFTSHOULDERC0, 2 / Animation_Speed) | |
2080 | 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) | |
2081 | 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) | |
2082 | end | |
2083 | else | |
2084 | ANIM = "Fly" | |
2085 | if ATTACK == false then | |
2086 | RootJoint.C0 = Clerp(RootJoint.C0, ROOTC0 * CF(0, 0, 0 ) * ANGLES(RAD(25), RAD(0), RAD(0)), 2 / Animation_Speed) | |
2087 | Neck.C0 = Clerp(Neck.C0, NECKC0 * CF(0, 0 , 0 + ((1) - 1)) * ANGLES(RAD(-10), RAD(0), RAD(0)), 2 / Animation_Speed) | |
2088 | RightShoulder.C0 = Clerp(RightShoulder.C0, CF(1.5, 0.5, 0) * ANGLES(RAD(-15), RAD(0), RAD(15)) * RIGHTSHOULDERC0, 2 / Animation_Speed) | |
2089 | LeftShoulder.C0 = Clerp(LeftShoulder.C0, CF(-1.5, 0.5, 0) * ANGLES(RAD(-15), RAD(0), RAD(-15)) * LEFTSHOULDERC0, 2 / Animation_Speed) | |
2090 | 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) | |
2091 | 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) | |
2092 | end | |
2093 | end | |
2094 | SKILL6TEXT.Text = "Power level: ["..MRANDOM(1,9)..MRANDOM(1,9)..MRANDOM(1,9)..MRANDOM(1,9)..MRANDOM(1,9).."]" | |
2095 | HITFLOOR, HITPOS = Raycast(RootPart.Position, (CF(RootPart.Position, RootPart.Position + VT(0, -1, 0))).lookVector, 75, Character) | |
2096 | if sick.SoundId ~= "rbxassetid://268199475" then | |
2097 | sick.SoundId = "rbxassetid://268199475" | |
2098 | sick.Volume = 100 | |
2099 | sick:Play() | |
2100 | sick.Pitch = 1 | |
2101 | end | |
2102 | end | |
2103 | unanchor() | |
2104 | Humanoid.MaxHealth = "inf" | |
2105 | Humanoid.Health = "inf" | |
2106 | if Rooted == false then | |
2107 | Disable_Jump = false | |
2108 | if ANIM == "Jump" or ANIM == "Fall" then | |
2109 | Humanoid.WalkSpeed = Speed*3 | |
2110 | else | |
2111 | Humanoid.WalkSpeed = Speed | |
2112 | end | |
2113 | elseif Rooted == true then | |
2114 | Disable_Jump = true | |
2115 | Humanoid.WalkSpeed = 0 | |
2116 | end | |
2117 | q = Character:GetChildren() | |
2118 | for u = 1, #q do | |
2119 | if q[u].ClassName == "Accessory" or q[u].ClassName == "Hat" then | |
2120 | if q[u].Handle:FindFirstChild("PE") == nil then | |
2121 | particles(q[u].Handle) | |
2122 | elseif q[u].Handle:FindFirstChild("PE") then | |
2123 | if LIMITBROKEN == false then | |
2124 | local EyeSizes={ | |
2125 | NumberSequenceKeypoint.new(0,POWERLEVEL/2,0), | |
2126 | NumberSequenceKeypoint.new(1,0,0) | |
2127 | } | |
2128 | q[u].Handle.PE.Acceleration = Vector3.new(0,75*POWERLEVEL/2,0) | |
2129 | q[u].Handle.PE.Speed = NumberRange.new(POWERLEVEL) | |
2130 | q[u].Handle.PE.Size=NumberSequence.new(EyeSizes) | |
2131 | else | |
2132 | local EyeSizes={ | |
2133 | NumberSequenceKeypoint.new(0,4,0), | |
2134 | NumberSequenceKeypoint.new(1,0,0) | |
2135 | } | |
2136 | q[u].Handle.PE.Acceleration = Vector3.new(0,100,0) | |
2137 | q[u].Handle.PE.Speed = NumberRange.new(25) | |
2138 | q[u].Handle.PE.Size=NumberSequence.new(EyeSizes) | |
2139 | end | |
2140 | end | |
2141 | elseif q[u].ClassName == "Part" and q[u].Name ~= "HumanoidRootPart" then | |
2142 | if q[u]:FindFirstChild("PE") == nil then | |
2143 | particles(q[u]) | |
2144 | elseif q[u]:FindFirstChild("PE") then | |
2145 | if LIMITBROKEN == false then | |
2146 | local EyeSizes={ | |
2147 | NumberSequenceKeypoint.new(0,POWERLEVEL/2,0), | |
2148 | NumberSequenceKeypoint.new(1,0,0) | |
2149 | } | |
2150 | q[u].PE.Acceleration = Vector3.new(0,75*POWERLEVEL/2,0) | |
2151 | q[u].PE.Speed = NumberRange.new(POWERLEVEL) | |
2152 | q[u].PE.Size=NumberSequence.new(EyeSizes) | |
2153 | else | |
2154 | local EyeSizes={ | |
2155 | NumberSequenceKeypoint.new(0,4,0), | |
2156 | NumberSequenceKeypoint.new(1,0,0) | |
2157 | } | |
2158 | q[u].PE.Acceleration = Vector3.new(0,100,0) | |
2159 | q[u].PE.Speed = NumberRange.new(25) | |
2160 | q[u].PE.Size=NumberSequence.new(EyeSizes) | |
2161 | end | |
2162 | end | |
2163 | end | |
2164 | end | |
2165 | script.Parent = PlayerGui | |
2166 | if VALUE2 == false then | |
2167 | if HITFLOOR ~= nil then | |
2168 | CreateRing(VT(0,0,0.1),false,0,15,CF(HITPOS)*ANGLES(RAD(90),RAD(0),RAD(0)),"maincolor",VT(POWERLEVEL/3,POWERLEVEL/3,0)) | |
2169 | end | |
2170 | Speed = 12 | |
2171 | Character.Parent = workspace | |
2172 | Weapon.Parent = Character | |
2173 | elseif VALUE2 == true then | |
2174 | Speed = 45 | |
2175 | Character.Parent = Cam | |
2176 | Weapon.Parent = workspace | |
2177 | end | |
2178 | Effects.Parent = Weapon | |
2179 | FF.Parent = Character | |
2180 | local MATHS = {"0","1"} | |
2181 | 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)] | |
2182 | Humanoid.PlatformStand = false | |
2183 | sick.Parent = Character | |
2184 | end | |
2185 | ||
2186 | --//=================================\\ | |
2187 | --\\=================================// | |
2188 | ||
2189 | ||
2190 | ||
2191 | ||
2192 | ||
2193 | --//====================================================\\-- | |
2194 | --|| END OF SCRIPT | |
2195 | --\\====================================================//-- |