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