SHOW:
|
|
- or go back to the newest paste.
1 | --//====================================================\\-- | |
2 | - | --|| CREATED BY SHACKLUSTER and uberified by VictoriaChristophe bakayaro konoyaro |
2 | + | --|| CREATED BY SHACKLUSTER by edit 5mazatv |
3 | --\\====================================================//-- | |
4 | ||
5 | ||
6 | ||
7 | wait(0.2) | |
8 | ||
9 | ||
10 | ||
11 | Player = game:GetService("Players").LocalPlayer | |
12 | PlayerGui = Player.PlayerGui | |
13 | Cam = workspace.CurrentCamera | |
14 | Backpack = Player.Backpack | |
15 | Character = Player.Character | |
16 | Humanoid = Character.Humanoid | |
17 | Humanoid.JumpPower = 1000 | |
18 | Mouse = Player:GetMouse() | |
19 | RootPart = Character["HumanoidRootPart"] | |
20 | Torso = Character["Torso"] | |
21 | Head = Character["Head"] | |
22 | RightArm = Character["Right Arm"] | |
23 | LeftArm = Character["Left Arm"] | |
24 | RightLeg = Character["Right Leg"] | |
25 | LeftLeg = Character["Left Leg"] | |
26 | RootJoint = RootPart["RootJoint"] | |
27 | Neck = Torso["Neck"] | |
28 | RightShoulder = Torso["Right Shoulder"] | |
29 | LeftShoulder = Torso["Left Shoulder"] | |
30 | RightHip = Torso["Right Hip"] | |
31 | LeftHip = Torso["Left Hip"] | |
32 | local sick = Instance.new("Sound",Character) | |
33 | sick.SoundId = "rbxassetid://1007872698" | |
34 | sick.Looped = true | |
35 | sick.Pitch = 1 | |
36 | sick.Volume = 99 | |
37 | sick:Play() | |
38 | ||
39 | IT = Instance.new | |
40 | CF = CFrame.new | |
41 | VT = Vector3.new | |
42 | RAD = math.rad | |
43 | C3 = Color3.new | |
44 | UD2 = UDim2.new | |
45 | BRICKC = BrickColor.new | |
46 | ANGLES = CFrame.Angles | |
47 | EULER = CFrame.fromEulerAnglesXYZ | |
48 | COS = math.cos | |
49 | ACOS = math.acos | |
50 | SIN = math.sin | |
51 | ASIN = math.asin | |
52 | ABS = math.abs | |
53 | MRANDOM = math.random | |
54 | FLOOR = math.floor | |
55 | ||
56 | function CreateMesh(MESH, PARENT, MESHTYPE, MESHID, TEXTUREID, SCALE, OFFSET) | |
57 | local NEWMESH = IT(MESH) | |
58 | if MESH == "SpecialMesh" then | |
59 | NEWMESH.MeshType = MESHTYPE | |
60 | if MESHID ~= "nil" and MESHID ~= "" then | |
61 | NEWMESH.MeshId = "http://www.roblox.com/asset/?id="..MESHID | |
62 | end | |
63 | if TEXTUREID ~= "nil" and TEXTUREID ~= "" then | |
64 | NEWMESH.TextureId = "http://www.roblox.com/asset/?id="..TEXTUREID | |
65 | end | |
66 | end | |
67 | NEWMESH.Offset = OFFSET or VT(0, 0, 0) | |
68 | NEWMESH.Scale = SCALE | |
69 | NEWMESH.Parent = PARENT | |
70 | return NEWMESH | |
71 | end | |
72 | ||
73 | function CreatePart(FORMFACTOR, PARENT, MATERIAL, REFLECTANCE, TRANSPARENCY, BRICKCOLOR, NAME, SIZE, ANCHOR) | |
74 | local NEWPART = IT("Part") | |
75 | NEWPART.formFactor = FORMFACTOR | |
76 | NEWPART.Reflectance = REFLECTANCE | |
77 | NEWPART.Transparency = TRANSPARENCY | |
78 | NEWPART.CanCollide = false | |
79 | NEWPART.Locked = true | |
80 | NEWPART.Anchored = true | |
81 | if ANCHOR == false then | |
82 | NEWPART.Anchored = false | |
83 | end | |
84 | NEWPART.BrickColor = BRICKC(tostring(BRICKCOLOR)) | |
85 | NEWPART.Name = NAME | |
86 | NEWPART.Size = SIZE | |
87 | NEWPART.Position = Torso.Position | |
88 | NEWPART.Material = MATERIAL | |
89 | NEWPART:BreakJoints() | |
90 | NEWPART.Parent = PARENT | |
91 | return NEWPART | |
92 | end | |
93 | ||
94 | ||
95 | function CreatePart1(FORMFACTOR, PARENT, MATERIAL, REFLECTANCE, TRANSPARENCY, NAME, SIZE, ANCHOR) | |
96 | local NEWPART = IT("Part") | |
97 | NEWPART.formFactor = FORMFACTOR | |
98 | NEWPART.Reflectance = REFLECTANCE | |
99 | NEWPART.Transparency = TRANSPARENCY | |
100 | NEWPART.CanCollide = false | |
101 | NEWPART.Locked = true | |
102 | NEWPART.Anchored = true | |
103 | if ANCHOR == false then | |
104 | NEWPART.Anchored = false | |
105 | end | |
106 | NEWPART.Name = NAME | |
107 | NEWPART.Size = SIZE | |
108 | NEWPART.Position = Torso.Position | |
109 | NEWPART.Material = MATERIAL | |
110 | NEWPART:BreakJoints() | |
111 | NEWPART.Parent = PARENT | |
112 | return NEWPART | |
113 | end | |
114 | --//=================================\\ | |
115 | --|| CUSTOMIZATION | |
116 | --\\=================================// | |
117 | ||
118 | Player_Size = 1 --Size of the player. | |
119 | - | Animation_Speed = 7 |
119 | + | Animation_Speed = 4 |
120 | Frame_Speed = 1 / 60 -- (1 / 30) OR (1 / 60) | |
121 | ||
122 | - | local Speed = 15 |
122 | + | local Speed = 90 |
123 | local Effects2 = {} | |
124 | ||
125 | --//=================================\\ | |
126 | --|| END OF CUSTOMIZATION | |
127 | --\\=================================// | |
128 | ||
129 | local function weldBetween(a, b) | |
130 | local weldd = Instance.new("ManualWeld") | |
131 | weldd.Part0 = a | |
132 | weldd.Part1 = b | |
133 | weldd.C0 = CFrame.new() | |
134 | weldd.C1 = b.CFrame:inverse() * a.CFrame | |
135 | weldd.Parent = a | |
136 | return weldd | |
137 | end | |
138 | ||
139 | --//=================================\\ | |
140 | --|| USEFUL VALUES | |
141 | --\\=================================// | |
142 | ||
143 | local ROOTC0 = CF(0, 0, 0) * ANGLES(RAD(-90), RAD(0), RAD(180)) | |
144 | local NECKC0 = CF(0, 1, 0) * ANGLES(RAD(-90), RAD(0), RAD(180)) | |
145 | local RIGHTSHOULDERC0 = CF(-0.5, 0, 0) * ANGLES(RAD(0), RAD(90), RAD(0)) | |
146 | local LEFTSHOULDERC0 = CF(0.5, 0, 0) * ANGLES(RAD(0), RAD(-90), RAD(0)) | |
147 | local CHANGEDEFENSE = 0 | |
148 | local CHANGEDAMAGE = 0 | |
149 | local CHANGEMOVEMENT = 0 | |
150 | local ANIM = "Idle" | |
151 | local ATTACK = false | |
152 | local EQUIPPED = false | |
153 | local HOLD = false | |
154 | local COMBO = 1 | |
155 | local Rooted = false | |
156 | local SINE = 0 | |
157 | local KEYHOLD = false | |
158 | local CHANGE = 2 / Animation_Speed | |
159 | local WALKINGANIM = false | |
160 | local WALK = 0 | |
161 | local VALUE1 = false | |
162 | local VALUE2 = false | |
163 | local ROBLOXIDLEANIMATION = IT("Animation") | |
164 | ROBLOXIDLEANIMATION.Name = "Roblox Idle Animation" | |
165 | ROBLOXIDLEANIMATION.AnimationId = "http://www.roblox.com/asset/?id=180435571" | |
166 | --ROBLOXIDLEANIMATION.Parent = Humanoid | |
167 | local WEAPONGUI = IT("ScreenGui", PlayerGui) | |
168 | WEAPONGUI.Name = "Weapon GUI" | |
169 | local Weapon = IT("Model") | |
170 | Weapon.Name = "Adds" | |
171 | local HITFLOOR = nil | |
172 | local Effects = IT("Folder", Weapon) | |
173 | Effects.Name = "Effects" | |
174 | local ANIMATOR = Humanoid.Animator | |
175 | local ANIMATE = Character.Animate | |
176 | local HITPLAYERSOUNDS = {--[["199149137", "199149186", "199149221", "199149235", "199149269", "199149297"--]]"263032172", "263032182", "263032200", "263032221", "263032252", "263033191"} | |
177 | local HITARMORSOUNDS = {"199149321", "199149338", "199149367", "199149409", "199149452"} | |
178 | local HITWEAPONSOUNDS = {"199148971", "199149025", "199149072", "199149109", "199149119"} | |
179 | local HITBLOCKSOUNDS = {"199148933", "199148947"} | |
180 | local UNANCHOR = true | |
181 | ||
182 | local SKILLTEXTCOLOR = BRICKC("Maroon").Color | |
183 | ||
184 | --//=================================\\ | |
185 | --\\=================================// | |
186 | ||
187 | ||
188 | ||
189 | ||
190 | --//=================================\\ | |
191 | --|| SAZERENOS' ARTIFICIAL HEARTBEAT | |
192 | --\\=================================// | |
193 | ||
194 | ArtificialHB = Instance.new("BindableEvent", script) | |
195 | ArtificialHB.Name = "ArtificialHB" | |
196 | ||
197 | script:WaitForChild("ArtificialHB") | |
198 | ||
199 | frame = Frame_Speed | |
200 | tf = 0 | |
201 | allowframeloss = false | |
202 | tossremainder = false | |
203 | lastframe = tick() | |
204 | script.ArtificialHB:Fire() | |
205 | ||
206 | game:GetService("RunService").Heartbeat:connect(function(s, p) | |
207 | tf = tf + s | |
208 | if tf >= frame then | |
209 | if allowframeloss then | |
210 | script.ArtificialHB:Fire() | |
211 | lastframe = tick() | |
212 | else | |
213 | for i = 1, math.floor(tf / frame) do | |
214 | script.ArtificialHB:Fire() | |
215 | end | |
216 | lastframe = tick() | |
217 | end | |
218 | if tossremainder then | |
219 | tf = 0 | |
220 | else | |
221 | tf = tf - frame * math.floor(tf / frame) | |
222 | end | |
223 | end | |
224 | end) | |
225 | ||
226 | --//=================================\\ | |
227 | --\\=================================// | |
228 | ||
229 | ||
230 | ||
231 | ||
232 | ||
233 | --//=================================\\ | |
234 | --|| SOME FUNCTIONS | |
235 | --\\=================================// | |
236 | ||
237 | function Raycast(POSITION, DIRECTION, RANGE, IGNOREDECENDANTS) | |
238 | return workspace:FindPartOnRay(Ray.new(POSITION, DIRECTION.unit * RANGE), IGNOREDECENDANTS) | |
239 | end | |
240 | ||
241 | function PositiveAngle(NUMBER) | |
242 | if NUMBER >= 0 then | |
243 | NUMBER = 0 | |
244 | end | |
245 | return NUMBER | |
246 | end | |
247 | ||
248 | function NegativeAngle(NUMBER) | |
249 | if NUMBER <= 0 then | |
250 | NUMBER = 0 | |
251 | end | |
252 | return NUMBER | |
253 | end | |
254 | ||
255 | function Swait(NUMBER) | |
256 | if NUMBER == 0 or NUMBER == nil then | |
257 | ArtificialHB.Event:wait() | |
258 | else | |
259 | for i = 1, NUMBER do | |
260 | ArtificialHB.Event:wait() | |
261 | end | |
262 | end | |
263 | end | |
264 | ||
265 | function QuaternionFromCFrame(cf) | |
266 | local mx, my, mz, m00, m01, m02, m10, m11, m12, m20, m21, m22 = cf:components() | |
267 | local trace = m00 + m11 + m22 | |
268 | if trace > 0 then | |
269 | local s = math.sqrt(1 + trace) | |
270 | local recip = 0.5 / s | |
271 | return (m21 - m12) * recip, (m02 - m20) * recip, (m10 - m01) * recip, s * 0.5 | |
272 | else | |
273 | local i = 0 | |
274 | if m11 > m00 then | |
275 | i = 1 | |
276 | end | |
277 | if m22 > (i == 0 and m00 or m11) then | |
278 | i = 2 | |
279 | end | |
280 | if i == 0 then | |
281 | local s = math.sqrt(m00 - m11 - m22 + 1) | |
282 | local recip = 0.5 / s | |
283 | return 0.5 * s, (m10 + m01) * recip, (m20 + m02) * recip, (m21 - m12) * recip | |
284 | elseif i == 1 then | |
285 | local s = math.sqrt(m11 - m22 - m00 + 1) | |
286 | local recip = 0.5 / s | |
287 | return (m01 + m10) * recip, 0.5 * s, (m21 + m12) * recip, (m02 - m20) * recip | |
288 | elseif i == 2 then | |
289 | local s = math.sqrt(m22 - m00 - m11 + 1) | |
290 | local recip = 0.5 / s return (m02 + m20) * recip, (m12 + m21) * recip, 0.5 * s, (m10 - m01) * recip | |
291 | end | |
292 | end | |
293 | end | |
294 | ||
295 | function QuaternionToCFrame(px, py, pz, x, y, z, w) | |
296 | local xs, ys, zs = x + x, y + y, z + z | |
297 | local wx, wy, wz = w * xs, w * ys, w * zs | |
298 | local xx = x * xs | |
299 | local xy = x * ys | |
300 | local xz = x * zs | |
301 | local yy = y * ys | |
302 | local yz = y * zs | |
303 | local zz = z * zs | |
304 | 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)) | |
305 | end | |
306 | ||
307 | function QuaternionSlerp(a, b, t) | |
308 | local cosTheta = a[1] * b[1] + a[2] * b[2] + a[3] * b[3] + a[4] * b[4] | |
309 | local startInterp, finishInterp; | |
310 | if cosTheta >= 0.0001 then | |
311 | if (1 - cosTheta) > 0.0001 then | |
312 | local theta = ACOS(cosTheta) | |
313 | local invSinTheta = 1 / SIN(theta) | |
314 | startInterp = SIN((1 - t) * theta) * invSinTheta | |
315 | finishInterp = SIN(t * theta) * invSinTheta | |
316 | else | |
317 | startInterp = 1 - t | |
318 | finishInterp = t | |
319 | end | |
320 | else | |
321 | if (1 + cosTheta) > 0.0001 then | |
322 | local theta = ACOS(-cosTheta) | |
323 | local invSinTheta = 1 / SIN(theta) | |
324 | startInterp = SIN((t - 1) * theta) * invSinTheta | |
325 | finishInterp = SIN(t * theta) * invSinTheta | |
326 | else | |
327 | startInterp = t - 1 | |
328 | finishInterp = t | |
329 | end | |
330 | end | |
331 | 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 | |
332 | end | |
333 | ||
334 | function Clerp(a, b, t) | |
335 | local qa = {QuaternionFromCFrame(a)} | |
336 | local qb = {QuaternionFromCFrame(b)} | |
337 | local ax, ay, az = a.x, a.y, a.z | |
338 | local bx, by, bz = b.x, b.y, b.z | |
339 | local _t = 1 - t | |
340 | return QuaternionToCFrame(_t * ax + t * bx, _t * ay + t * by, _t * az + t * bz, QuaternionSlerp(qa, qb, t)) | |
341 | end | |
342 | ||
343 | function CreateFrame(PARENT, TRANSPARENCY, BORDERSIZEPIXEL, POSITION, SIZE, COLOR, BORDERCOLOR, NAME) | |
344 | local frame = IT("Frame") | |
345 | frame.BackgroundTransparency = TRANSPARENCY | |
346 | frame.BorderSizePixel = BORDERSIZEPIXEL | |
347 | frame.Position = POSITION | |
348 | frame.Size = SIZE | |
349 | frame.BackgroundColor3 = COLOR | |
350 | frame.BorderColor3 = BORDERCOLOR | |
351 | frame.Name = NAME | |
352 | frame.Parent = PARENT | |
353 | return frame | |
354 | end | |
355 | ||
356 | function CreateLabel(PARENT, TEXT, TEXTCOLOR, TEXTFONTSIZE, TEXTFONT, TRANSPARENCY, BORDERSIZEPIXEL, STROKETRANSPARENCY, NAME) | |
357 | local label = IT("TextLabel") | |
358 | label.BackgroundTransparency = 1 | |
359 | label.Size = UD2(1, 0, 1, 0) | |
360 | label.Position = UD2(0, 0, 0, 0) | |
361 | label.TextColor3 = TEXTCOLOR | |
362 | label.TextStrokeTransparency = STROKETRANSPARENCY | |
363 | label.TextTransparency = TRANSPARENCY | |
364 | label.FontSize = TEXTFONTSIZE | |
365 | label.Font = TEXTFONT | |
366 | label.BorderSizePixel = BORDERSIZEPIXEL | |
367 | label.TextScaled = false | |
368 | label.Text = TEXT | |
369 | label.Name = NAME | |
370 | label.Parent = PARENT | |
371 | return label | |
372 | end | |
373 | ||
374 | function NoOutlines(PART) | |
375 | PART.TopSurface, PART.BottomSurface, PART.LeftSurface, PART.RightSurface, PART.FrontSurface, PART.BackSurface = 10, 10, 10, 10, 10, 10 | |
376 | end | |
377 | ||
378 | ||
379 | function CreateWeldOrSnapOrMotor(TYPE, PARENT, PART0, PART1, C0, C1) | |
380 | local NEWWELD = IT(TYPE) | |
381 | NEWWELD.Part0 = PART0 | |
382 | NEWWELD.Part1 = PART1 | |
383 | NEWWELD.C0 = C0 | |
384 | NEWWELD.C1 = C1 | |
385 | NEWWELD.Parent = PARENT | |
386 | return NEWWELD | |
387 | end | |
388 | ||
389 | function CreateSound(ID, PARENT, VOLUME, PITCH) | |
390 | local NEWSOUND = nil | |
391 | coroutine.resume(coroutine.create(function() | |
392 | NEWSOUND = IT("Sound", PARENT) | |
393 | NEWSOUND.Volume = VOLUME | |
394 | NEWSOUND.Pitch = PITCH | |
395 | NEWSOUND.SoundId = "http://www.roblox.com/asset/?id="..ID | |
396 | Swait() | |
397 | NEWSOUND:play() | |
398 | game:GetService("Debris"):AddItem(NEWSOUND, 10) | |
399 | end)) | |
400 | return NEWSOUND | |
401 | end | |
402 | ||
403 | function CFrameFromTopBack(at, top, back) | |
404 | local right = top:Cross(back) | |
405 | 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) | |
406 | end | |
407 | ||
408 | function CreateWave(SIZE,WAIT,CFRAME,DOESROT,ROT,COLOR,GROW) | |
409 | local wave = CreatePart(3, Effects, "Neon", 0, 0.5, BRICKC("Maroon"), "Effect", VT(0,0,0)) | |
410 | local mesh = IT("SpecialMesh",wave) | |
411 | mesh.MeshType = "FileMesh" | |
412 | mesh.MeshId = "http://www.roblox.com/asset/?id=20329976" | |
413 | mesh.Scale = SIZE | |
414 | mesh.Offset = VT(0,0,-SIZE.X/8) | |
415 | wave.CFrame = CFRAME | |
416 | coroutine.resume(coroutine.create(function(PART) | |
417 | for i = 1, WAIT do | |
418 | Swait() | |
419 | mesh.Scale = mesh.Scale + GROW | |
420 | mesh.Offset = VT(0,0,-(mesh.Scale.X/8)) | |
421 | if DOESROT == true then | |
422 | wave.CFrame = wave.CFrame * CFrame.fromEulerAnglesXYZ(0,ROT,0) | |
423 | end | |
424 | wave.Transparency = wave.Transparency + (0.5/WAIT) | |
425 | if wave.Transparency > 0.99 then | |
426 | wave:remove() | |
427 | end | |
428 | end | |
429 | end)) | |
430 | end | |
431 | ||
432 | function CreateWave2(SIZE,WAIT,CFRAME,DOESROT,ROT,COLOR,GROW) | |
433 | local wave = CreatePart(3, Effects, "Neon", 0, 0.5, BRICKC("Maroon"), "Effect", VT(0,0,0)) | |
434 | local mesh = IT("SpecialMesh",wave) | |
435 | mesh.MeshType = "FileMesh" | |
436 | mesh.MeshId = "http://www.roblox.com/asset/?id=20329976" | |
437 | mesh.Scale = SIZE | |
438 | --mesh.Offset = VT(0,0,-SIZE.X/8) | |
439 | wave.CFrame = CFRAME | |
440 | coroutine.resume(coroutine.create(function(PART) | |
441 | for i = 1, WAIT do | |
442 | Swait() | |
443 | mesh.Scale = mesh.Scale + GROW | |
444 | --mesh.Offset = VT(0,0,-(mesh.Scale.X/8)) | |
445 | if DOESROT == true then | |
446 | wave.CFrame = wave.CFrame * CFrame.fromEulerAnglesXYZ(0,ROT,0) | |
447 | end | |
448 | wave.Transparency = wave.Transparency + (0.5/WAIT) | |
449 | if wave.Transparency > 0.99 then | |
450 | wave:remove() | |
451 | end | |
452 | end | |
453 | end)) | |
454 | end | |
455 | ||
456 | function CreateSwirl(SIZE,WAIT,CFRAME,DOESROT,ROT,COLOR,GROW) | |
457 | local wave = CreatePart(3, Effects, "Neon", 0, 0.5, BRICKC("Maroon"), "Effect", VT(0,0,0)) | |
458 | local mesh = IT("SpecialMesh",wave) | |
459 | mesh.MeshType = "FileMesh" | |
460 | mesh.MeshId = "http://www.roblox.com/asset/?id=1051557" | |
461 | mesh.Scale = SIZE | |
462 | wave.CFrame = CFRAME | |
463 | coroutine.resume(coroutine.create(function(PART) | |
464 | for i = 1, WAIT do | |
465 | Swait() | |
466 | mesh.Scale = mesh.Scale + GROW | |
467 | mesh.Offset = VT(0,0,-(mesh.Scale.X/8)) | |
468 | if DOESROT == true then | |
469 | wave.CFrame = wave.CFrame * CFrame.fromEulerAnglesXYZ(0,ROT,0) | |
470 | end | |
471 | wave.Transparency = wave.Transparency + (0.5/WAIT) | |
472 | if wave.Transparency > 0.99 then | |
473 | wave:remove() | |
474 | end | |
475 | end | |
476 | end)) | |
477 | end | |
478 | ||
479 | ||
480 | function Slice(SIZE,WAIT,CFRAME,COLOR,GROW) | |
481 | local wave = CreatePart(3, Effects, "Neon", 0, 0.5, BRICKC("Maroon"), "Effect", VT(1,1,1), true) | |
482 | local mesh = CreateMesh("SpecialMesh", wave, "FileMesh", "448386996", "", VT(0,SIZE/10,SIZE/10), 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 + (0.5/WAIT) | |
489 | if wave.Transparency > 0.99 then | |
490 | wave:remove() | |
491 | end | |
492 | end | |
493 | end)) | |
494 | end | |
495 | ||
496 | function MagicSphere(SIZE,WAIT,CFRAME,COLOR,GROW) | |
497 | local wave = CreatePart(3, Effects, "Neon", 0, 0, BRICKC("Maroon"), "Effect", VT(1,1,1), true) | |
498 | local mesh = IT("SpecialMesh",wave) | |
499 | mesh.MeshType = "Sphere" | |
500 | mesh.Scale = SIZE | |
501 | mesh.Offset = VT(0,0,0) | |
502 | wave.CFrame = CFRAME | |
503 | coroutine.resume(coroutine.create(function(PART) | |
504 | for i = 1, WAIT do | |
505 | Swait() | |
506 | mesh.Scale = mesh.Scale + GROW | |
507 | wave.Transparency = wave.Transparency + (1/WAIT) | |
508 | if wave.Transparency > 0.99 then | |
509 | wave:remove() | |
510 | end | |
511 | end | |
512 | end)) | |
513 | end | |
514 | ||
515 | function MakeForm(PART,TYPE) | |
516 | if TYPE == "Cyl" then | |
517 | local MSH = IT("CylinderMesh",PART) | |
518 | elseif TYPE == "Ball" then | |
519 | local MSH = IT("SpecialMesh",PART) | |
520 | MSH.MeshType = "Sphere" | |
521 | elseif TYPE == "Wedge" then | |
522 | local MSH = IT("SpecialMesh",PART) | |
523 | MSH.MeshType = "Wedge" | |
524 | end | |
525 | end | |
526 | ||
527 | function CreateDebreeRing(FLOOR,POSITION,SIZE,BLOCKSIZE,SWAIT) | |
528 | if FLOOR ~= nil then | |
529 | coroutine.resume(coroutine.create(function() | |
530 | local PART = CreatePart(3, Effects, "Plastic", 0, 1, "Pearl", "DebreeCenter", VT(0,0,0)) | |
531 | PART.CFrame = CF(POSITION) | |
532 | for i = 1, 45 do | |
533 | local RingPiece = CreatePart(3, Effects, "Plastic", 0, 0, "Pearl", "DebreePart", BLOCKSIZE) | |
534 | RingPiece.Material = FLOOR.Material | |
535 | RingPiece.Color = FLOOR.Color | |
536 | 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))) | |
537 | Debris:AddItem(RingPiece,SWAIT/100) | |
538 | end | |
539 | PART:remove() | |
540 | end)) | |
541 | end | |
542 | end | |
543 | ||
544 | function CheckTableForString(Table, String) | |
545 | for i, v in pairs(Table) do | |
546 | if string.find(string.lower(String), string.lower(v)) then | |
547 | return true | |
548 | end | |
549 | end | |
550 | return false | |
551 | end | |
552 | ||
553 | function CheckIntangible(Hit) | |
554 | local ProjectileNames = {"Water", "Arrow", "Projectile", "Effect", "Rail", "Lightning", "Bullet"} | |
555 | if Hit and Hit.Parent then | |
556 | if ((not Hit.CanCollide or CheckTableForString(ProjectileNames, Hit.Name)) and not Hit.Parent:FindFirstChild("Humanoid")) then | |
557 | return true | |
558 | end | |
559 | end | |
560 | return false | |
561 | end | |
562 | ||
563 | Debris = game:GetService("Debris") | |
564 | ||
565 | function CastZapRay(StartPos, Vec, Length, Ignore, DelayIfHit) | |
566 | local Direction = CFrame.new(StartPos, Vec).lookVector | |
567 | local Ignore = ((type(Ignore) == "table" and Ignore) or {Ignore}) | |
568 | local RayHit, RayPos, RayNormal = game:GetService("Workspace"):FindPartOnRayWithIgnoreList(Ray.new(StartPos, Direction * Length), Ignore) | |
569 | if RayHit and CheckIntangible(RayHit) then | |
570 | if DelayIfHit then | |
571 | wait() | |
572 | end | |
573 | RayHit, RayPos, RayNormal = CastZapRay((RayPos + (Vec * 0.01)), Vec, (Length - ((StartPos - RayPos).magnitude)), Ignore, DelayIfHit) | |
574 | end | |
575 | return RayHit, RayPos, RayNormal | |
576 | end | |
577 | ||
578 | function turnto(position) | |
579 | RootPart.CFrame=CFrame.new(RootPart.CFrame.p,VT(position.X,RootPart.Position.Y,position.Z)) * CFrame.new(0, 0, 0) | |
580 | end | |
581 | ||
582 | --//=================================\\ | |
583 | --|| WEAPON CREATION | |
584 | --\\=================================// | |
585 | local FIST = CreatePart1(3, Weapon, "Neon", 0, 0, "Neon Gauntlet Part1", VT(1.01*Player_Size,1.4*Player_Size,1.01*Player_Size),false) | |
586 | Light = Instance.new("PointLight",FIST) | |
587 | Light.Brightness = 0.85 | |
588 | touchCounter = 0 | |
589 | local cR=255 | |
590 | local cG=0 | |
591 | local cB=0 | |
592 | local flg5=1 local omgidk=1 | |
593 | local add=7.5 | |
594 | game:GetService("RunService"):BindToRenderStep("Ghost",1,function() | |
595 | if omgidk>10000 then omgidk=0 end | |
596 | omgidk=omgidk+1 | |
597 | if cR>=255 then flg5=1 end | |
598 | if cG>=255 then flg5=2 end | |
599 | if cB>=255 then flg5=3 end | |
600 | if flg5==1 then cR=cR-add cG=cG+add end | |
601 | if flg5==2 then cG=cG-add cB=cB+add end | |
602 | if flg5==3 then cB=cB-add cR=cR+add end | |
603 | color=Color3.fromRGB(cR,cG,cB) | |
604 | Light.Color = color | |
605 | end) | |
606 | 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)) | |
607 | local part = CreatePart(3, Weapon, "Metal", 0, 0, "Maroon", "Gauntlet Part", VT(1.2*Player_Size,0.3*Player_Size,1.2*Player_Size),false) | |
608 | 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)) | |
609 | ||
610 | local part = CreatePart(3, Weapon, "Metal", 0, 0, "Maroon", "Gauntlet Part", VT(1.05*Player_Size,0.05*Player_Size,1.05*Player_Size),false) | |
611 | 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)) | |
612 | local part = CreatePart(3, Weapon, "Metal", 0, 0, "Maroon", "Gauntlet Part", VT(1.05*Player_Size,0.05*Player_Size,1.05*Player_Size),false) | |
613 | 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)) | |
614 | local part = CreatePart(3, Weapon, "Metal", 0, 0, "Maroon", "Gauntlet Part", VT(1.05*Player_Size,0.05*Player_Size,1.05*Player_Size),false) | |
615 | 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)) | |
616 | local part = CreatePart(3, Weapon, "Metal", 0, 0, "Maroon", "Gauntlet Part", VT(1.05*Player_Size,0.05*Player_Size,1.05*Player_Size),false) | |
617 | 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)) | |
618 | ||
619 | local part = CreatePart(3, Weapon, "Metal", 0, 0, "Maroon", "Gauntlet Part", VT(1.1*Player_Size,0.8*Player_Size,1.1*Player_Size),false) | |
620 | 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)) | |
621 | local part = CreatePart(3, Weapon, "Neon", 0, 0, "Maroon", "Neon Gauntlet Part", VT(1.1*Player_Size,0.8*Player_Size,1*Player_Size),false) | |
622 | 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)) | |
623 | local part = CreatePart(3, Weapon, "Metal", 0, 0, "Maroon", "Gauntlet Part", VT(1.1*Player_Size,0.8*Player_Size,0.3*Player_Size),false) | |
624 | 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)) | |
625 | local part = CreatePart(3, Weapon, "Metal", 0, 0, "Maroon", "Gauntlet Part", VT(1.1*Player_Size,0.8*Player_Size,0.3*Player_Size),false) | |
626 | 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)) | |
627 | local part = CreatePart(3, Weapon, "Metal", 0, 0, "Maroon", "Gauntlet Part", VT(1.1*Player_Size,0.8*Player_Size,0.3*Player_Size),false) | |
628 | 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)) | |
629 | touchCounter = 0 | |
630 | local cR=255 | |
631 | local cG=0 | |
632 | local cB=0 | |
633 | local flg5=1 local omgidk=1 | |
634 | local add=7.5 | |
635 | game:GetService("RunService"):BindToRenderStep("Ghost",1,function() | |
636 | if omgidk>10000 then omgidk=0 end | |
637 | omgidk=omgidk+1 | |
638 | if cR>=255 then flg5=1 end | |
639 | if cG>=255 then flg5=2 end | |
640 | if cB>=255 then flg5=3 end | |
641 | if flg5==1 then cR=cR-add cG=cG+add end | |
642 | if flg5==2 then cG=cG-add cB=cB+add end | |
643 | if flg5==3 then cB=cB-add cR=cR+add end | |
644 | color=Color3.fromRGB(cR,cG,cB) | |
645 | local d = Weapon:FindFirstChild("Neon Gauntlet Part") | |
646 | if d then | |
647 | d.Color = color | |
648 | end | |
649 | local d = Weapon:FindFirstChild("Neon Gauntlet Part1") | |
650 | if d then | |
651 | d.Color = color | |
652 | end | |
653 | end) | |
654 | for _, c in pairs(Weapon:GetChildren()) do | |
655 | if c.ClassName == "Part" then | |
656 | c.CustomPhysicalProperties = PhysicalProperties.new(0, 0, 0, 0, 0) | |
657 | end | |
658 | end | |
659 | ||
660 | Weapon.Parent = Character | |
661 | ||
662 | Humanoid.Died:connect(function() | |
663 | ATTACK = true | |
664 | end) | |
665 | ||
666 | 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") | |
667 | 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") | |
668 | 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") | |
669 | 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") | |
670 | ||
671 | local SKILL1TEXT = CreateLabel(SKILL1FRAME, "[E] Ultra Punch", SKILLTEXTCOLOR, 7, "SciFi", 0, 2, 1, "Text 1") | |
672 | local SKILL2TEXT = CreateLabel(SKILL2FRAME, "[F] Punish", SKILLTEXTCOLOR, 7, "SciFi", 0, 2, 1, "Text 2") | |
673 | local SKILL3TEXT = CreateLabel(SKILL3FRAME, "[C] Dash", SKILLTEXTCOLOR, 7, "SciFi", 0, 2, 1, "Text 3") | |
674 | local SKILL4TEXT = CreateLabel(SKILL4FRAME, "[Q] Ultimate Punch", SKILLTEXTCOLOR, 6, "SciFi", 0, 2, 1, "Text4") | |
675 | ||
676 | --//=================================\\ | |
677 | --|| DAMAGE FUNCTIONS | |
678 | --\\=================================// | |
679 | ||
680 | function StatLabel(LABELTYPE, CFRAME, TEXT, COLOR) | |
681 | local STATPART = CreatePart(3, Effects, "SmoothPlastic", 0, 1, "Really black", "Effect", VT()) | |
682 | STATPART.CFrame = CF(CFRAME.p + VT(0, 1.5, 0)) | |
683 | local BODYGYRO = IT("BodyGyro", STATPART) | |
684 | local BODYPOSITION = IT("BodyPosition", STATPART) | |
685 | BODYPOSITION.P = 2000 | |
686 | BODYPOSITION.D = 100 | |
687 | BODYPOSITION.maxForce = VT(math.huge, math.huge, math.huge) | |
688 | BODYPOSITION.position = STATPART.Position + VT(MRANDOM(-2, 2), 6, MRANDOM(-2, 2)) | |
689 | game:GetService("Debris"):AddItem(STATPART ,5) | |
690 | local BILLBOARDGUI = Instance.new("BillboardGui", STATPART) | |
691 | BILLBOARDGUI.Adornee = STATPART | |
692 | BILLBOARDGUI.Size = UD2(2.5, 0, 2.5 ,0) | |
693 | BILLBOARDGUI.StudsOffset = VT(-2, 2, 0) | |
694 | BILLBOARDGUI.AlwaysOnTop = false | |
695 | local TEXTLABEL = Instance.new("TextLabel", BILLBOARDGUI) | |
696 | TEXTLABEL.BackgroundTransparency = 1 | |
697 | TEXTLABEL.Size = UD2(2.5, 0, 2.5, 0) | |
698 | TEXTLABEL.Text = TEXT | |
699 | TEXTLABEL.Font = "SciFi" | |
700 | TEXTLABEL.FontSize="Size42" | |
701 | TEXTLABEL.TextColor3 = COLOR | |
702 | TEXTLABEL.TextStrokeTransparency = 1 | |
703 | TEXTLABEL.TextScaled = true | |
704 | TEXTLABEL.TextWrapped = true | |
705 | coroutine.resume(coroutine.create(function(THEPART, THEBODYPOSITION, THETEXTLABEL) | |
706 | if LABELTYPE == "Normal" then | |
707 | for i = 1, 30 do | |
708 | Swait() | |
709 | STATPART.Position = STATPART.Position + VT(0, (15-i)/10 ,0) | |
710 | TEXTLABEL.TextTransparency = TEXTLABEL.TextTransparency + (1/30) | |
711 | end | |
712 | elseif LABELTYPE == "Debuff" then | |
713 | for i = 1, 30 do | |
714 | Swait() | |
715 | STATPART.Position = STATPART.Position - VT(0, i/10 ,0) | |
716 | TEXTLABEL.TextTransparency = TEXTLABEL.TextTransparency + (1/30) | |
717 | end | |
718 | elseif LABELTYPE == "Shock" then | |
719 | local ORIGIN = STATPART.Position | |
720 | for i = 1, 30 do | |
721 | Swait() | |
722 | STATPART.Position = ORIGIN + VT(MRANDOM(-2,2),MRANDOM(-2,2),MRANDOM(-2,2)) | |
723 | TEXTLABEL.TextTransparency = TEXTLABEL.TextTransparency + (1/30) | |
724 | end | |
725 | end | |
726 | THEPART.Parent = nil | |
727 | end),STATPART, BODYPOSITION, TEXTLABEL) | |
728 | end | |
729 | ||
730 | --//=================================\\ | |
731 | --|| DAMAGING | |
732 | --\\=================================// | |
733 | ||
734 | function killnearest(position,range,maxstrength,direction) | |
735 | for i,v in ipairs(workspace:GetChildren()) do | |
736 | local body = v:GetChildren() | |
737 | for part = 1, #body do | |
738 | if((body[part].ClassName == "Part" or body[part].ClassName == "MeshPart") and v ~= Character) then | |
739 | if(body[part].Position - position).Magnitude < range then | |
740 | if v.ClassName == "Model" then | |
741 | --v:BreakJoints() | |
742 | end | |
743 | local POS = position | |
744 | coroutine.resume(coroutine.create(function() | |
745 | body[part].Anchored = true | |
746 | body[part].Parent = Effects | |
747 | body[part].CanCollide = true | |
748 | local SIZE = body[part].Size | |
749 | body[part].Material = "Neon" | |
750 | CreateSound("952306739", body[part], 2, MRANDOM(7, 12) / 10) | |
751 | for i = 1, 75 do | |
752 | Swait() | |
753 | body[part].Color = C3(MRANDOM(0,100)/100,MRANDOM(0,100)/100,MRANDOM(0,100)/100) | |
754 | body[part].Size = VT(SIZE.X+MRANDOM(-2,2),SIZE.Y+MRANDOM(-2,2),SIZE.Z+MRANDOM(-2,2)) | |
755 | end | |
756 | coroutine.resume(coroutine.create(function() | |
757 | while true do | |
758 | Swait() | |
759 | body[part].Color = C3(MRANDOM(0,100)/100,MRANDOM(0,100)/100,MRANDOM(0,100)/100) | |
760 | body[part].Size = VT(SIZE.X+MRANDOM(-2,2),SIZE.Y+MRANDOM(-2,2),SIZE.Z+MRANDOM(-2,2)) | |
761 | end | |
762 | end)) | |
763 | body[part].Anchored = false | |
764 | body[part].Velocity = direction.lookVector*maxstrength | |
765 | end)) | |
766 | end | |
767 | end | |
768 | end | |
769 | if v.ClassName == "Part" then | |
770 | if v.Anchored == false and (v.Position - position).Magnitude < range then | |
771 | local POS = position | |
772 | coroutine.resume(coroutine.create(function() | |
773 | v.Anchored = true | |
774 | v.Parent = Effects | |
775 | local SIZE = v.Size | |
776 | v.Material = "Neon" | |
777 | CreateSound("952306739", v, 2, MRANDOM(7, 12) / 10) | |
778 | for i = 1, 75 do | |
779 | Swait() | |
780 | v.Color = C3(MRANDOM(0,100)/100,MRANDOM(0,100)/100,MRANDOM(0,100)/100) | |
781 | v.Size = VT(SIZE.X+MRANDOM(-2,2),SIZE.Y+MRANDOM(-2,2),SIZE.Z+MRANDOM(-2,2)) | |
782 | end | |
783 | coroutine.resume(coroutine.create(function() | |
784 | while true do | |
785 | Swait() | |
786 | v.Color = C3(MRANDOM(0,100)/100,MRANDOM(0,100)/100,MRANDOM(0,100)/100) | |
787 | v.Size = VT(SIZE.X+MRANDOM(-2,2),SIZE.Y+MRANDOM(-2,2),SIZE.Z+MRANDOM(-2,2)) | |
788 | end | |
789 | end)) | |
790 | v.Anchored = false | |
791 | v.Velocity = direction.lookVector*maxstrength | |
792 | end)) | |
793 | end | |
794 | end | |
795 | end | |
796 | end | |
797 | ||
798 | --//=================================\\ | |
799 | --|| ATTACK FUNCTIONS AND STUFF | |
800 | --\\=================================// | |
801 | ||
802 | function AttackTemplate() | |
803 | ATTACK = true | |
804 | Rooted = false | |
805 | for i=0, 1, 0.1 / Animation_Speed do | |
806 | Swait() | |
807 | 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) | |
808 | 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) | |
809 | RightShoulder.C0 = Clerp(RightShoulder.C0, CF(1.5, 0.5, 0) * ANGLES(RAD(0), RAD(0), RAD(12)) * RIGHTSHOULDERC0, 0.15 / Animation_Speed) | |
810 | LeftShoulder.C0 = Clerp(LeftShoulder.C0, CF(-1.5, 0.5, 0) * ANGLES(RAD(0), RAD(0), RAD(-12)) * LEFTSHOULDERC0, 0.15 / Animation_Speed) | |
811 | 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) | |
812 | 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) | |
813 | end | |
814 | ATTACK = false | |
815 | Rooted = false | |
816 | end | |
817 | ||
818 | function UltraPunch() | |
819 | ATTACK = true | |
820 | Rooted = false | |
821 | local SPEED = 15 | |
822 | Speed = 10 | |
823 | CreateSound("214876666", RightArm, 7.5, 0.8) | |
824 | for i=0, 0, 0.1 / Animation_Speed do | |
825 | Swait() | |
826 | turnto(Mouse.Hit.p) | |
827 | MagicSphere(VT(1,1,1),15,RightArm.CFrame * CF(MRANDOM(-3,3),MRANDOM(-3,3),MRANDOM(-3,3)),"Maroon",VT(-1/15,-1/15,-1/15)) | |
828 | MagicSphere(VT(2,2,2),15,RightArm.CFrame * CF(MRANDOM(-3,3),MRANDOM(-3,3),MRANDOM(-3,3)),"Maroon",VT(-2/15,-2/15,-2/15)) | |
829 | 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) | |
830 | 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) | |
831 | 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) | |
832 | 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) | |
833 | 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) | |
834 | 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) | |
835 | end | |
836 | for i=0, 0, 0.1 / Animation_Speed do | |
837 | Swait() | |
838 | turnto(Mouse.Hit.p) | |
839 | 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) | |
840 | 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) | |
841 | 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) | |
842 | 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) | |
843 | 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) | |
844 | 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) | |
845 | end | |
846 | local PART = CreatePart(3, Effects, "Neon", 0, 0.8, "Maroon", "Punch", VT(50,50,50),false) | |
847 | PART.CFrame = RootPart.CFrame * CF(0,0,-25) | |
848 | PART.Shape = "Ball" | |
849 | local bv = Instance.new("BodyVelocity") | |
850 | bv.maxForce = Vector3.new(1e9, 1e9, 1e9) | |
851 | bv.velocity = RootPart.CFrame.lookVector*600 | |
852 | bv.Parent = PART | |
853 | bv.Name = "PROJECTILEVELOCITY" | |
854 | CreateWave(VT(1,5,1),55,RootPart.CFrame * CF(0,0,-6)*ANGLES(RAD(-90),RAD(0),RAD(0)),true,-1,"Maroon",VT(2.5,0.2,2.5)) | |
855 | CreateWave(VT(1,5,1),55,RootPart.CFrame * CF(0,0,-6)*ANGLES(RAD(-90),RAD(0),RAD(0)),true,1,"Maroon",VT(3,0.2,3)) | |
856 | CreateSwirl(VT(3,5,3),75,RootPart.CFrame * CF(0,0,-15)*ANGLES(RAD(-90),RAD(0),RAD(0)),true,-1,"Maroon",VT(2,0.6,2)) | |
857 | CreateSwirl(VT(3,5,3),75,RootPart.CFrame * CF(0,0,-15)*ANGLES(RAD(-90),RAD(0),RAD(0)),true,1,"Maroon",VT(2.2,0.6,2.2)) | |
858 | CreateSound("414517163", Effects, 3.5, MRANDOM(7, 12) / 10) | |
859 | coroutine.resume(coroutine.create(function() | |
860 | for i = 1, 11 do | |
861 | Swait() | |
862 | PART.Transparency = PART.Transparency + 0.2/10 | |
863 | PART.Size = PART.Size + VT(5,5,5) | |
864 | killnearest(PART.Position,PART.Size.Y/2+15,100,RootPart.CFrame) | |
865 | end | |
866 | PART:Destroy() | |
867 | end)) | |
868 | for i=0, 0, 0.1 / Animation_Speed do | |
869 | Swait() | |
870 | 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) | |
871 | 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) | |
872 | 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) | |
873 | 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) | |
874 | 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) | |
875 | 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) | |
876 | end | |
877 | Speed = SPEED | |
878 | ATTACK = false | |
879 | Rooted = false | |
880 | end | |
881 | ||
882 | function Punish() | |
883 | Animation_Speed = 20 | |
884 | ATTACK = true | |
885 | Rooted = false | |
886 | local HASGRABBED = false | |
887 | local WELD = nil | |
888 | local TORS = nil | |
889 | local hitting = FIST.Touched:connect(function(hit) | |
890 | if hit.Parent:FindFirstChild("Humanoid") then | |
891 | if hit.Parent.Humanoid.Health ~= 0 then | |
892 | UNANCHOR = false | |
893 | TORS = hit.Parent:FindFirstChild("Torso") or hit.Parent:FindFirstChild("UpperTorso") | |
894 | TORS.Anchored = true | |
895 | TORS.CFrame = RightArm.CFrame * CF(0,-1.15,0) * ANGLES(RAD(90), RAD(0), RAD(0)) | |
896 | WELD = weldBetween(RightArm,TORS) | |
897 | HASGRABBED = true | |
898 | Rooted = true | |
899 | end | |
900 | end | |
901 | end) | |
902 | for i=0, 2, 0.1 / Animation_Speed do | |
903 | Swait() | |
904 | if HASGRABBED == true then | |
905 | break | |
906 | end | |
907 | 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) | |
908 | 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) | |
909 | RightShoulder.C0 = Clerp(RightShoulder.C0, CF(1, 0.5, -1) * ANGLES(RAD(90), RAD(0), RAD(-25)) * RIGHTSHOULDERC0, 2 / Animation_Speed) | |
910 | LeftShoulder.C0 = Clerp(LeftShoulder.C0, CF(-1.5, 0.5, 0) * ANGLES(RAD(0), RAD(0), RAD(-12)) * LEFTSHOULDERC0, 2 / Animation_Speed) | |
911 | 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) | |
912 | 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) | |
913 | end | |
914 | hitting:disconnect() | |
915 | if HASGRABBED == true then | |
916 | TORS.Anchored = false | |
917 | RootPart.Anchored = true | |
918 | for i=0, 1.6, 0.1 / Animation_Speed do | |
919 | Swait() | |
920 | RootJoint.C0 = Clerp(RootJoint.C0, ROOTC0 * CF(0, 0, -1.2) * ANGLES(RAD(65), RAD(0), RAD(0)), 0.2 / Animation_Speed) | |
921 | Neck.C0 = Clerp(Neck.C0, NECKC0 * CF(0, 0, 0) * ANGLES(RAD(0), RAD(0), RAD(0)), 0.2 / Animation_Speed) | |
922 | RightShoulder.C0 = Clerp(RightShoulder.C0, CF(1.5, 0.5, 0) * ANGLES(RAD(-40), RAD(0), RAD(20)) * RIGHTSHOULDERC0, 0.2 / Animation_Speed) | |
923 | LeftShoulder.C0 = Clerp(LeftShoulder.C0, CF(-1.5, 0.5, 0) * ANGLES(RAD(-40), RAD(0), RAD(-20)) * LEFTSHOULDERC0, 0.2 / Animation_Speed) | |
924 | 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) | |
925 | 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) | |
926 | end | |
927 | CreateWave(VT(3,1,3),65,CF(RootPart.Position)*CF(0,-3,0),false,2,"Pearl",VT(0.5,0.3,0.5)) | |
928 | CreateWave(VT(3,1,3),65,CF(RootPart.Position)*CF(0,-3,0),true,2,"Pearl",VT(0.6,0.3,0.6)) | |
929 | local SOUNDPART = CreatePart(3, Effects, "Neon", 0, 1, "Maroon", "Sound", VT(0,0,0)) | |
930 | SOUNDPART.CFrame = RootPart.CFrame | |
931 | Debris:AddItem(SOUNDPART,5) | |
932 | CreateSound("357202073", SOUNDPART, 0, 1) | |
933 | for i = 1, 16 do | |
934 | Slice(0.1,65,CF(RootPart.Position) * ANGLES(RAD(0), RAD(MRANDOM(-180,180)), RAD(90)),"Pearl", 1 + MRANDOM(1,30)/15) | |
935 | end | |
936 | for i=0, 1.6, 0.1 / Animation_Speed do | |
937 | Swait() | |
938 | RootJoint.C0 = Clerp(RootJoint.C0, ROOTC0 * CF(0, 0, 50000000) * ANGLES(RAD(0), RAD(0), RAD(0)), 2 / Animation_Speed) | |
939 | Neck.C0 = Clerp(Neck.C0, NECKC0 * CF(0, 0, 0 + ((1) - 1)) * ANGLES(RAD(-20), RAD(0), RAD(0)), 0.2 / Animation_Speed) | |
940 | RightShoulder.C0 = Clerp(RightShoulder.C0, CF(1.5, 0.5, 0) * ANGLES(RAD(-40), RAD(0), RAD(20)) * RIGHTSHOULDERC0, 0.2 / Animation_Speed) | |
941 | LeftShoulder.C0 = Clerp(LeftShoulder.C0, CF(-1.5, 0.5, 0) * ANGLES(RAD(-40), RAD(0), RAD(-20)) * LEFTSHOULDERC0, 0.2 / Animation_Speed) | |
942 | 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) | |
943 | 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) | |
944 | end | |
945 | for i=0, 0.4, 0.1 / Animation_Speed do | |
946 | Swait() | |
947 | RootJoint.C0 = Clerp(RootJoint.C0,ROOTC0 * CF(0, 0, 0) * ANGLES(RAD(90), RAD(0), RAD(0)), 3 / Animation_Speed) | |
948 | 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) | |
949 | RightShoulder.C0 = Clerp(RightShoulder.C0, CF(1.5, 0.5, 0) * ANGLES(RAD(90), RAD(0), RAD(0)) * RIGHTSHOULDERC0, 3 / Animation_Speed) | |
950 | LeftShoulder.C0 = Clerp(LeftShoulder.C0, CF(-1.5, 0.5, 0) * ANGLES(RAD(0), RAD(0), RAD(-12)) * LEFTSHOULDERC0, 3 / Animation_Speed) | |
951 | 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) | |
952 | 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) | |
953 | end | |
954 | if HITFLOOR ~= nil then | |
955 | CreateDebreeRing(HITFLOOR,CF(RootPart.Position)*CF(0,-3,0).p,15,VT(7,7,7),85) | |
956 | end | |
957 | CreateSound("414517163", Effects, 3.5, MRANDOM(7, 12) / 10) | |
958 | WELD:remove() | |
959 | for i = 1, 26 do | |
960 | Swait() | |
961 | killnearest(RootPart.Position,45,100,Torso.CFrame) | |
962 | CreateWave(VT(3,1,3),65,CF(RootPart.Position)*CF(0,-3,0),true,5,"Pearl",VT(0.3,3,0.3)) | |
963 | CreateWave(VT(3,1,3),65,CF(RootPart.Position)*CF(0,-3,0),false,2,"Maroon",VT(1,0.4,1)) | |
964 | CreateWave(VT(3,1,3),65,CF(RootPart.Position)*CF(0,-3,0),true,5,"Maroon",VT(2.3,0.3,2.3)) | |
965 | Slice(0.1,65,CF(RootPart.Position) * ANGLES(RAD(MRANDOM(-180,180)), RAD(MRANDOM(-180,180)), RAD(MRANDOM(-180,180))),"Pearl", 1 + MRANDOM(1,30)/5) | |
966 | 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))),"Maroon", 1 + MRANDOM(1,30)/15) | |
967 | end | |
968 | end | |
969 | UNANCHOR = true | |
970 | ATTACK = false | |
971 | Rooted = false | |
972 | Animation_Speed = 20 | |
973 | end | |
974 | ||
975 | function Dash() | |
976 | local ORIGIN = RootPart.Position | |
977 | CreateWave2(VT(3,1,3),65,CF(RootPart.Position)*CF(0,-3,0),false,2,"Pearl",VT(0.2,3,0.4)) | |
978 | CreateWave2(VT(3,1,3),65,CF(RootPart.Position)*CF(0,-3,0),false,2,"Pearl",VT(0.2,3.1,0.6)) | |
979 | local SOUNDPART = CreatePart(3, Effects, "Neon", 0, 1, "Maroon", "Sound", VT(0,0,0)) | |
980 | SOUNDPART.CFrame = RootPart.CFrame | |
981 | Debris:AddItem(SOUNDPART,5) | |
982 | CreateSound("357202032", SOUNDPART, 0, 1) | |
983 | RootPart.CFrame = CF(Mouse.Hit.p+VT(0,3,0),VT(ORIGIN.X,Mouse.Hit.p.Y,ORIGIN.Z)) | |
984 | Swait() | |
985 | CreateWave2(VT(3,1,3),65,CF(RootPart.Position)*CF(0,-3,0),false,2,"Pearl",VT(0.2,3,0.4)) | |
986 | CreateWave2(VT(3,1,3),65,CF(RootPart.Position)*CF(0,-3,0),false,2,"Pearl",VT(0.2,3.1,0.6)) | |
987 | local SOUNDPART = CreatePart(3, Effects, "Neon", 0, 1, "Maroon", "Sound", VT(0,0,0)) | |
988 | SOUNDPART.CFrame = RootPart.CFrame | |
989 | Debris:AddItem(SOUNDPART,5) | |
990 | CreateSound("1295446488", SOUNDPART, 2.5, 1) | |
991 | for i=0, 0.5, 0.1 / Animation_Speed do | |
992 | Swait() | |
993 | 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) | |
994 | 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) | |
995 | RightShoulder.C0 = Clerp(RightShoulder.C0, CF(1.5, 0.5, 0) * ANGLES(RAD(0), RAD(190), RAD(-175)) * RIGHTSHOULDERC0, 0.15 / Animation_Speed) | |
996 | LeftShoulder.C0 = Clerp(LeftShoulder.C0, CF(-1.5, 0.5, 0) * ANGLES(RAD(0), RAD(0), RAD(-12)) * LEFTSHOULDERC0, 0.15 / Animation_Speed) | |
997 | 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) | |
998 | 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) | |
999 | end | |
1000 | ATTACK = false | |
1001 | Rooted = false | |
1002 | end | |
1003 | function Begoner9000() | |
1004 | ATTACK = true | |
1005 | Rooted = true | |
1006 | CreateSound("255679384", RightArm, 8, 1) | |
1007 | for i=0, 0, 0.1 / Animation_Speed do | |
1008 | Swait() | |
1009 | turnto(Mouse.Hit.p) | |
1010 | CreateWave(VT(3,1,3),65,CF(RootPart.Position)*CF(0,-3,0),true,2,"Maroon",VT(0.2,0,0.2)) | |
1011 | Slice(0.1,65,RightArm.CFrame*CF(0,-1,0) * ANGLES(RAD(MRANDOM(-180,180)), RAD(MRANDOM(-180,180)), RAD(MRANDOM(-180,180))),"Maroon", 1.1) | |
1012 | 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),"New Yeller",VT(0.001,0.001,1),0) | |
1013 | 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),"Maroon",VT(0.001,0.001,2),0) | |
1014 | MagicSphere(VT(1,1,1),15,RightArm.CFrame * CF(MRANDOM(-3,3),MRANDOM(-3,3),MRANDOM(-3,3)),"Maroon",VT(-1/15,-1/15,-1/15)) | |
1015 | MagicSphere(VT(2,2,2),15,RightArm.CFrame * CF(MRANDOM(-3,3),MRANDOM(-3,3),MRANDOM(-3,3)),"Maroon",VT(-2/15,-2/15,-2/15)) | |
1016 | 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) | |
1017 | 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) | |
1018 | 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) | |
1019 | 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) | |
1020 | 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) | |
1021 | 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) | |
1022 | end | |
1023 | for i=0, 0, 0.1 / Animation_Speed do | |
1024 | Swait() | |
1025 | turnto(Mouse.Hit.p) | |
1026 | 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) | |
1027 | 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) | |
1028 | 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) | |
1029 | 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) | |
1030 | 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) | |
1031 | 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) | |
1032 | end | |
1033 | MagicSphere(VT(4,4,4),100,RootPart.CFrame * CF(0,0,-6),"Maroon",VT(-0.04,-0.04,-0.04)) | |
1034 | MagicSphere(VT(3.5,3.5,3.5),100,RootPart.CFrame * CF(0,0,-6),"Really black",VT(-0.035,-0.035,-0.035)) | |
1035 | coroutine.resume(coroutine.create(function() | |
1036 | Swait(0.01) | |
1037 | for i = 1, 2 do | |
1038 | MagicSphere(VT(150,150,150),75,RootPart.CFrame * CF(0,0,-72*i),"Maroon",VT(-150/(150-(15*i)),-150/(150-(15*i)),-150/(150-(15*i)))) | |
1039 | CreateWave(VT(1,5,1),55,RootPart.CFrame * CF(0,0,-6*i)*ANGLES(RAD(-90),RAD(0),RAD(0)),true,-1,"Maroon",VT(4.5*i,0.2,4.5*i)) | |
1040 | CreateSwirl(VT(3,5,3),75,RootPart.CFrame * CF(0,0,-15*i)*ANGLES(RAD(-90),RAD(0),RAD(0)),true,-1,"Maroon",VT(4*i,0.6,4*i)) | |
1041 | end | |
1042 | killnearest(RootPart.CFrame * CF(0,0,-500).p,500,1000,RootPart.CFrame) | |
1043 | for i = 1, 3 do | |
1044 | CreateSound("414517163", Effects, 3.5, 0.8) | |
1045 | CreateSound("414517163", Effects, 3.5, 0.8) | |
1046 | end | |
1047 | coroutine.resume(coroutine.create(function() | |
1048 | for i = 1, 3 do | |
1049 | Swait() | |
1050 | for i = 1, 1 do | |
1051 | Slice(0.1,65,CF(RootPart.Position) * ANGLES(RAD(MRANDOM(-180,180)), RAD(MRANDOM(-180,180)), RAD(MRANDOM(-180,180))),"Pearl", 1 + MRANDOM(1,30)/5) | |
1052 | end | |
1053 | for i = 1, 2 do | |
1054 | Slice(0.1,65,CF(RootPart.Position) * ANGLES(RAD(MRANDOM(-180,180)), RAD(MRANDOM(-180,180)), RAD(MRANDOM(-180,180))),"Maroon", 1 + MRANDOM(1,30)/3) | |
1055 | end | |
1056 | end | |
1057 | end)) | |
1058 | end)) | |
1059 | for i=0, 0, 0.1 / Animation_Speed do | |
1060 | Swait() | |
1061 | 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) | |
1062 | 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) | |
1063 | 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) | |
1064 | 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) | |
1065 | 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) | |
1066 | 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) | |
1067 | end | |
1068 | ATTACK = false | |
1069 | Rooted = false | |
1070 | end | |
1071 | ||
1072 | --//=================================\\ | |
1073 | --|| ASSIGN THINGS TO KEYS | |
1074 | --\\=================================// | |
1075 | ||
1076 | function MouseDown(Mouse) | |
1077 | if ATTACK == false then | |
1078 | end | |
1079 | end | |
1080 | ||
1081 | function MouseUp(Mouse) | |
1082 | HOLD = false | |
1083 | end | |
1084 | ||
1085 | function KeyDown(Key) | |
1086 | KEYHOLD = true | |
1087 | if Key == "e" and ATTACK == false then | |
1088 | UltraPunch() | |
1089 | end | |
1090 | ||
1091 | if Key == "f" and ATTACK == false then | |
1092 | Punish() | |
1093 | end | |
1094 | ||
1095 | if Key == "c" and ATTACK == false then | |
1096 | Dash() | |
1097 | end | |
1098 | ||
1099 | if Key == "q" and ATTACK == false then | |
1100 | Begoner9000()() | |
1101 | end | |
1102 | ||
1103 | if Key == "p" and ATTACK == false then | |
1104 | if Speed == 16 then | |
1105 | Speed = 150 | |
1106 | elseif Speed == 150 then | |
1107 | Speed = 16 | |
1108 | end | |
1109 | end | |
1110 | end | |
1111 | ||
1112 | function KeyUp(Key) | |
1113 | KEYHOLD = false | |
1114 | end | |
1115 | ||
1116 | Mouse.Button1Down:connect(function(NEWKEY) | |
1117 | MouseDown(NEWKEY) | |
1118 | end) | |
1119 | Mouse.Button1Up:connect(function(NEWKEY) | |
1120 | MouseUp(NEWKEY) | |
1121 | end) | |
1122 | Mouse.KeyDown:connect(function(NEWKEY) | |
1123 | KeyDown(NEWKEY) | |
1124 | end) | |
1125 | Mouse.KeyUp:connect(function(NEWKEY) | |
1126 | KeyUp(NEWKEY) | |
1127 | end) | |
1128 | ||
1129 | --//=================================\\ | |
1130 | --\\=================================// | |
1131 | ||
1132 | ||
1133 | function unanchor() | |
1134 | if UNANCHOR == true then | |
1135 | g = Character:GetChildren() | |
1136 | for i = 1, #g do | |
1137 | if g[i].ClassName == "Part" then | |
1138 | g[i].Anchored = false | |
1139 | end | |
1140 | end | |
1141 | end | |
1142 | end | |
1143 | ||
1144 | ||
1145 | --//=================================\\ | |
1146 | --|| WRAP THE WHOLE SCRIPT UP | |
1147 | --\\=================================// | |
1148 | ||
1149 | Humanoid.Changed:connect(function(Jump) | |
1150 | if Jump == "Jump" and (Disable_Jump == true) then | |
1151 | Humanoid.Jump = false | |
1152 | end | |
1153 | end) | |
1154 | ||
1155 | while true do | |
1156 | Swait() | |
1157 | ANIMATE.Parent = nil | |
1158 | local IDLEANIMATION = Humanoid:LoadAnimation(ROBLOXIDLEANIMATION) | |
1159 | IDLEANIMATION:Play() | |
1160 | SINE = SINE + CHANGE | |
1161 | local TORSOVELOCITY = (RootPart.Velocity * VT(1, 0, 1)).magnitude | |
1162 | local TORSOVERTICALVELOCITY = RootPart.Velocity.y | |
1163 | local LV = Torso.CFrame:pointToObjectSpace(Torso.Velocity - Torso.Position) | |
1164 | HITFLOOR = Raycast(RootPart.Position, (CF(RootPart.Position, RootPart.Position + VT(0, -1, 0))).lookVector, 4 * Player_Size, Character) | |
1165 | local WALKSPEEDVALUE = 0 | |
1166 | if Speed < 35 then | |
1167 | WALKSPEEDVALUE = 48 | |
1168 | else | |
1169 | WALKSPEEDVALUE = 48 | |
1170 | end | |
1171 | if ANIM == "Walk" and TORSOVELOCITY > 1 and Rooted == false then | |
1172 | 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) | |
1173 | 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) | |
1174 | if Speed < 35 then | |
1175 | 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) | |
1176 | 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) | |
1177 | else | |
1178 | 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) | |
1179 | 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) | |
1180 | end | |
1181 | elseif (ANIM ~= "Walk") or (TORSOVELOCITY < 1) or Rooted == true then | |
1182 | RootJoint.C1 = Clerp(RootJoint.C1, ROOTC0 * CF(0, 0, 0) * ANGLES(RAD(0), RAD(0), RAD(0)), 0.2 / Animation_Speed) | |
1183 | 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) | |
1184 | 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) | |
1185 | 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) | |
1186 | end | |
1187 | if TORSOVERTICALVELOCITY > 1 and HITFLOOR == nil then | |
1188 | ANIM = "Jump" | |
1189 | if ATTACK == false then | |
1190 | RootJoint.C0 = Clerp(RootJoint.C0, ROOTC0 * CF(0, 0, 0) * ANGLES(RAD(0), RAD(0), RAD(0)), 0.2 / Animation_Speed) | |
1191 | 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) | |
1192 | RightShoulder.C0 = Clerp(RightShoulder.C0, CF(1.5, 0.5, 0) * ANGLES(RAD(-40), RAD(0), RAD(20)) * RIGHTSHOULDERC0, 0.2 / Animation_Speed) | |
1193 | LeftShoulder.C0 = Clerp(LeftShoulder.C0, CF(-1.5, 0.5, 0) * ANGLES(RAD(-40), RAD(0), RAD(-20)) * LEFTSHOULDERC0, 0.2 / Animation_Speed) | |
1194 | 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) | |
1195 | 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) | |
1196 | end | |
1197 | elseif TORSOVERTICALVELOCITY < -1 and HITFLOOR == nil then | |
1198 | ANIM = "Fall" | |
1199 | if ATTACK == false then | |
1200 | RootJoint.C0 = Clerp(RootJoint.C0, ROOTC0 * CF(0, 0, 0 ) * ANGLES(RAD(0), RAD(0), RAD(0)), 0.2 / Animation_Speed) | |
1201 | Neck.C0 = Clerp(Neck.C0, NECKC0 * CF(0, 0 , 0 + ((1) - 1)) * ANGLES(RAD(20), RAD(0), RAD(0)), 0.2 / Animation_Speed) | |
1202 | RightShoulder.C0 = Clerp(RightShoulder.C0, CF(1.5, 0.5, 0) * ANGLES(RAD(0), RAD(0), RAD(60)) * RIGHTSHOULDERC0, 0.2 / Animation_Speed) | |
1203 | LeftShoulder.C0 = Clerp(LeftShoulder.C0, CF(-1.5, 0.5, 0) * ANGLES(RAD(0), RAD(0), RAD(-60)) * LEFTSHOULDERC0, 0.2 / Animation_Speed) | |
1204 | 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) | |
1205 | 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) | |
1206 | end | |
1207 | elseif TORSOVELOCITY < 1 and HITFLOOR ~= nil then | |
1208 | ANIM = "Idle" | |
1209 | if ATTACK == false then | |
1210 | 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) | |
1211 | 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) | |
1212 | RightShoulder.C0 = Clerp(RightShoulder.C0, CF(1.5, 0.5, 0) * ANGLES(RAD(0), RAD(0), RAD(12)) * RIGHTSHOULDERC0, 0.15 / Animation_Speed) | |
1213 | LeftShoulder.C0 = Clerp(LeftShoulder.C0, CF(-1.5, 0.5, 0) * ANGLES(RAD(0), RAD(0), RAD(-12)) * LEFTSHOULDERC0, 0.15 / Animation_Speed) | |
1214 | 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) | |
1215 | 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) | |
1216 | end | |
1217 | elseif TORSOVELOCITY > 1 and HITFLOOR ~= nil and Rooted == false then | |
1218 | ANIM = "Walk" | |
1219 | WALK = WALK + 1 / Animation_Speed | |
1220 | if WALK >= 15 - (5 * (Humanoid.WalkSpeed / 16 / Player_Size)) then | |
1221 | WALK = 0 | |
1222 | if WALKINGANIM == true then | |
1223 | WALKINGANIM = false | |
1224 | elseif WALKINGANIM == false then | |
1225 | WALKINGANIM = true | |
1226 | end | |
1227 | end | |
1228 | --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) | |
1229 | --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) | |
1230 | if ATTACK == false then | |
1231 | if Speed < 35 then | |
1232 | RootJoint.C0 = Clerp(RootJoint.C0,ROOTC0 * CF(0, 0, -0.1) * ANGLES(RAD(5), RAD(0), RAD(0)), 0.15 / Animation_Speed) | |
1233 | 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) | |
1234 | 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) | |
1235 | 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) | |
1236 | 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) | |
1237 | 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) | |
1238 | else | |
1239 | RootJoint.C0 = Clerp(RootJoint.C0,ROOTC0 * CF(0, 0, -0.1) * ANGLES(RAD(15), RAD(0), RAD(0)), 0.15 / Animation_Speed) | |
1240 | 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) | |
1241 | 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) | |
1242 | 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) | |
1243 | 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) | |
1244 | 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) | |
1245 | end | |
1246 | end | |
1247 | end | |
1248 | unanchor() | |
1249 | Humanoid.MaxHealth = "inf" | |
1250 | Humanoid.Health = "inf" | |
1251 | if Rooted == false then | |
1252 | Disable_Jump = false | |
1253 | Humanoid.WalkSpeed = Speed | |
1254 | elseif Rooted == true then | |
1255 | Disable_Jump = true | |
1256 | Humanoid.WalkSpeed = 0 | |
1257 | end | |
1258 | local MATHS = {"0","1"} | |
1259 | 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)] | |
1260 | Humanoid.PlatformStand = false | |
1261 | end | |
1262 | ||
1263 | --//=================================\\ | |
1264 | --\\=================================// | |
1265 | ||
1266 | ||
1267 | --//====================================================\\-- | |
1268 | --|| END OF SCRIPT | |
1269 | --\\====================================================//-- |