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