SHOW:
|
|
- or go back to the newest paste.
1 | local Player = game:GetService("Players").jane12421 | |
2 | local Mouse,mouse,UserInputService,ContextActionService | |
3 | do | |
4 | script.Parent = Player.Character | |
5 | local CAS = {Actions={}} | |
6 | local Event = Instance.new("RemoteEvent") | |
7 | - | Player = game:GetService("Players").LocalPlayer |
7 | + | Event.Name = "UserInput_Event" |
8 | Event.Parent = Player.Character | |
9 | local fakeEvent = function() | |
10 | local t = {_fakeEvent=true} | |
11 | t.Connect = function(self,f)self.Function=f end | |
12 | t.connect = t.Connect | |
13 | - | Mouse = Player:GetMouse() |
13 | + | return t |
14 | end | |
15 | local m = {Target=nil,Hit=CFrame.new(),KeyUp=fakeEvent(),KeyDown=fakeEvent(),Button1Up=fakeEvent(),Button1Down=fakeEvent()} | |
16 | local UIS = {InputBegan=fakeEvent(),InputEnded=fakeEvent()} | |
17 | function CAS:BindAction(name,fun,touch,...) | |
18 | CAS.Actions[name] = {Name=name,Function=fun,Keys={...}} | |
19 | end | |
20 | function CAS:UnbindAction(name) | |
21 | CAS.Actions[name] = nil | |
22 | end | |
23 | local function te(self,ev,...) | |
24 | local t = m[ev] | |
25 | if t and t._fakeEvent and t.Function then | |
26 | t.Function(...) | |
27 | end | |
28 | end | |
29 | m.TrigEvent = te | |
30 | - | ORA.SoundId = "rbxassetid://791374350" |
30 | + | UIS.TrigEvent = te |
31 | Event.OnServerEvent:Connect(function(plr,io) | |
32 | if plr~=Player then return end | |
33 | if io.isMouse then | |
34 | m.Target = io.Target | |
35 | m.Hit = io.Hit | |
36 | elseif io.UserInputType == Enum.UserInputType.MouseButton1 then | |
37 | if io.UserInputState == Enum.UserInputState.Begin then | |
38 | m:TrigEvent("Button1Down") | |
39 | else | |
40 | m:TrigEvent("Button1Up") | |
41 | end | |
42 | else | |
43 | for n,t in pairs(CAS.Actions) do | |
44 | for _,k in pairs(t.Keys) do | |
45 | if k==io.KeyCode then | |
46 | t.Function(t.Name,io.UserInputState,io) | |
47 | end | |
48 | end | |
49 | end | |
50 | if io.UserInputState == Enum.UserInputState.Begin then | |
51 | m:TrigEvent("KeyDown",io.KeyCode.Name:lower()) | |
52 | UIS:TrigEvent("InputBegan",io,false) | |
53 | else | |
54 | m:TrigEvent("KeyUp",io.KeyCode.Name:lower()) | |
55 | UIS:TrigEvent("InputEnded",io,false) | |
56 | end | |
57 | end | |
58 | end) | |
59 | Mouse,mouse,UserInputService,ContextActionService = m,m,UIS,CAS | |
60 | end | |
61 | --//====================================================\\-- | |
62 | --|| CREATED BY SHACKLUSTER | |
63 | --\\====================================================//-- | |
64 | ||
65 | wait(0.2) | |
66 | ||
67 | Player = game:GetService("Players").jane12421 | |
68 | PlayerGui = Player.PlayerGui | |
69 | Cam = workspace.CurrentCamera | |
70 | Backpack = Player.Backpack | |
71 | Character = Player.Character | |
72 | Humanoid = Character:FindFirstChildOfClass("Humanoid") | |
73 | RootPart = Character["HumanoidRootPart"] | |
74 | Torso = Character["Torso"] | |
75 | Head = Character["Head"] | |
76 | RightArm = Character["Right Arm"] | |
77 | LeftArm = Character["Left Arm"] | |
78 | RightLeg = Character["Right Leg"] | |
79 | LeftLeg = Character["Left Leg"] | |
80 | RootJoint = RootPart["RootJoint"] | |
81 | Neck = Torso["Neck"] | |
82 | RightShoulder = Torso["Right Shoulder"] | |
83 | LeftShoulder = Torso["Left Shoulder"] | |
84 | RightHip = Torso["Right Hip"] | |
85 | LeftHip = Torso["Left Hip"] | |
86 | local sick = Instance.new("Sound",Torso) | |
87 | ||
88 | local ORA = Instance.new("Sound",Torso) | |
89 | ORA.SoundId = "rbxassetid://1117396305" | |
90 | ORA.Looped = false | |
91 | ORA.Pitch = 1.3 | |
92 | ORA.Volume = 10 | |
93 | ORA.Parent = Torso | |
94 | ||
95 | local muda = Instance.new("Sound",Torso) | |
96 | ||
97 | IT = Instance.new | |
98 | CF = CFrame.new | |
99 | VT = Vector3.new | |
100 | RAD = math.rad | |
101 | C3 = Color3.new | |
102 | UD2 = UDim2.new | |
103 | BRICKC = BrickColor.new | |
104 | ANGLES = CFrame.Angles | |
105 | EULER = CFrame.fromEulerAnglesXYZ | |
106 | COS = math.cos | |
107 | ACOS = math.acos | |
108 | SIN = math.sin | |
109 | ASIN = math.asin | |
110 | ABS = math.abs | |
111 | Mrandom = math.random | |
112 | MRANDOM = math.random | |
113 | FLOOR = math.floor | |
114 | Effects = {} | |
115 | local RbxUtility = LoadLibrary("RbxUtility") | |
116 | local Create = RbxUtility.Create | |
117 | ||
118 | --//=================================\\ | |
119 | --|| USEFUL VALUES | |
120 | --\\=================================// | |
121 | ||
122 | Animation_Speed = 3 | |
123 | Frame_Speed = 1 / 60 -- (1 / 30) OR (1 / 60) | |
124 | local Speed = 45 | |
125 | local SIZE = 1.3 | |
126 | local ROOTC0 = CF(0, 0, 0) * ANGLES(RAD(-90), RAD(0), RAD(180)) | |
127 | local NECKC0 = CF(0, 1.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 ANIM = "Idle" | |
131 | local ATTACK = false | |
132 | local COMBO = 1 | |
133 | local Rooted = false | |
134 | local SINE = 0 | |
135 | local CHANGE = 2 / Animation_Speed | |
136 | local ROBLOXIDLEANIMATION = IT("Animation") | |
137 | local WEAPONGUI = IT("ScreenGui", PlayerGui) | |
138 | WEAPONGUI.Name = "Big Boie Squad" | |
139 | local ANIMATOR = Humanoid.Animator | |
140 | local ANIMATE = Character.Animate | |
141 | local UNANCHOR = true | |
142 | local KILLCOUNT = 0 | |
143 | ||
144 | --//=================================\\ | |
145 | --\\=================================// | |
146 | ||
147 | ||
148 | --//=================================\\ | |
149 | --|| SAZERENOS' ARTIFICIAL HEARTBEAT | |
150 | --\\=================================// | |
151 | ||
152 | ArtificialHB = Instance.new("BindableEvent", script) | |
153 | ArtificialHB.Name = "ArtificialHB" | |
154 | ||
155 | script:WaitForChild("ArtificialHB") | |
156 | ||
157 | frame = Frame_Speed | |
158 | tf = 0 | |
159 | allowframeloss = false | |
160 | tossremainder = false | |
161 | lastframe = tick() | |
162 | script.ArtificialHB:Fire() | |
163 | ||
164 | game:GetService("RunService").Heartbeat:connect(function(s, p) | |
165 | tf = tf + s | |
166 | if tf >= frame then | |
167 | if allowframeloss then | |
168 | script.ArtificialHB:Fire() | |
169 | lastframe = tick() | |
170 | else | |
171 | for i = 1, math.floor(tf / frame) do | |
172 | script.ArtificialHB:Fire() | |
173 | end | |
174 | lastframe = tick() | |
175 | end | |
176 | if tossremainder then | |
177 | tf = 0 | |
178 | else | |
179 | tf = tf - frame * math.floor(tf / frame) | |
180 | end | |
181 | end | |
182 | end) | |
183 | ||
184 | --//=================================\\ | |
185 | --\\=================================// | |
186 | ||
187 | --//=================================\\ | |
188 | --|| SOME FUNCTIONS | |
189 | --\\=================================// | |
190 | ||
191 | function Raycast(POSITION, DIRECTION, RANGE, IGNOREDECENDANTS) | |
192 | return workspace:FindPartOnRay(Ray.new(POSITION, DIRECTION.unit * RANGE), IGNOREDECENDANTS) | |
193 | end | |
194 | ||
195 | function PositiveAngle(NUMBER) | |
196 | if NUMBER >= 0 then | |
197 | NUMBER = 0 | |
198 | end | |
199 | return NUMBER | |
200 | end | |
201 | ||
202 | function NegativeAngle(NUMBER) | |
203 | if NUMBER <= 0 then | |
204 | NUMBER = 0 | |
205 | end | |
206 | return NUMBER | |
207 | end | |
208 | ||
209 | function Swait(NUMBER) | |
210 | if NUMBER == 0 or NUMBER == nil then | |
211 | ArtificialHB.Event:wait() | |
212 | else | |
213 | for i = 1, NUMBER do | |
214 | ArtificialHB.Event:wait() | |
215 | end | |
216 | end | |
217 | end | |
218 | ||
219 | function CreateMesh(MESH, PARENT, MESHTYPE, MESHID, TEXTUREID, SCALE, OFFSET) | |
220 | local NEWMESH = IT(MESH) | |
221 | if MESH == "SpecialMesh" then | |
222 | NEWMESH.MeshType = MESHTYPE | |
223 | if MESHID ~= "nil" and MESHID ~= "" then | |
224 | NEWMESH.MeshId = "http://www.roblox.com/asset/?id="..MESHID | |
225 | end | |
226 | if TEXTUREID ~= "nil" and TEXTUREID ~= "" then | |
227 | NEWMESH.TextureId = "http://www.roblox.com/asset/?id="..TEXTUREID | |
228 | end | |
229 | end | |
230 | NEWMESH.Offset = OFFSET or VT(0, 0, 0) | |
231 | NEWMESH.Scale = SCALE | |
232 | NEWMESH.Parent = PARENT | |
233 | return NEWMESH | |
234 | end | |
235 | ||
236 | function CreatePart(FORMFACTOR, PARENT, MATERIAL, REFLECTANCE, TRANSPARENCY, BRICKCOLOR, NAME, SIZE, ANCHOR) | |
237 | local NEWPART = IT("Part") | |
238 | NEWPART.formFactor = FORMFACTOR | |
239 | NEWPART.Reflectance = REFLECTANCE | |
240 | NEWPART.Transparency = TRANSPARENCY | |
241 | NEWPART.CanCollide = false | |
242 | NEWPART.Locked = true | |
243 | NEWPART.Anchored = true | |
244 | if ANCHOR == false then | |
245 | NEWPART.Anchored = false | |
246 | end | |
247 | NEWPART.BrickColor = BRICKC(tostring(BRICKCOLOR)) | |
248 | NEWPART.Name = NAME | |
249 | NEWPART.Size = SIZE | |
250 | NEWPART.Position = Torso.Position | |
251 | NEWPART.Material = MATERIAL | |
252 | NEWPART:BreakJoints() | |
253 | NEWPART.Parent = PARENT | |
254 | return NEWPART | |
255 | end | |
256 | ||
257 | local function weldBetween(a, b) | |
258 | local weldd = Instance.new("ManualWeld") | |
259 | weldd.Part0 = a | |
260 | weldd.Part1 = b | |
261 | weldd.C0 = CFrame.new() | |
262 | weldd.C1 = b.CFrame:inverse() * a.CFrame | |
263 | weldd.Parent = a | |
264 | return weldd | |
265 | end | |
266 | ||
267 | ||
268 | function QuaternionFromCFrame(cf) | |
269 | local mx, my, mz, m00, m01, m02, m10, m11, m12, m20, m21, m22 = cf:components() | |
270 | local trace = m00 + m11 + m22 | |
271 | if trace > 0 then | |
272 | local s = math.sqrt(1 + trace) | |
273 | local recip = 0.5 / s | |
274 | return (m21 - m12) * recip, (m02 - m20) * recip, (m10 - m01) * recip, s * 0.5 | |
275 | else | |
276 | local i = 0 | |
277 | if m11 > m00 then | |
278 | i = 1 | |
279 | end | |
280 | if m22 > (i == 0 and m00 or m11) then | |
281 | i = 2 | |
282 | end | |
283 | if i == 0 then | |
284 | local s = math.sqrt(m00 - m11 - m22 + 1) | |
285 | local recip = 0.5 / s | |
286 | return 0.5 * s, (m10 + m01) * recip, (m20 + m02) * recip, (m21 - m12) * recip | |
287 | elseif i == 1 then | |
288 | local s = math.sqrt(m11 - m22 - m00 + 1) | |
289 | local recip = 0.5 / s | |
290 | return (m01 + m10) * recip, 0.5 * s, (m21 + m12) * recip, (m02 - m20) * recip | |
291 | elseif i == 2 then | |
292 | local s = math.sqrt(m22 - m00 - m11 + 1) | |
293 | local recip = 0.5 / s return (m02 + m20) * recip, (m12 + m21) * recip, 0.5 * s, (m10 - m01) * recip | |
294 | end | |
295 | end | |
296 | end | |
297 | ||
298 | function QuaternionToCFrame(px, py, pz, x, y, z, w) | |
299 | local xs, ys, zs = x + x, y + y, z + z | |
300 | local wx, wy, wz = w * xs, w * ys, w * zs | |
301 | local xx = x * xs | |
302 | local xy = x * ys | |
303 | local xz = x * zs | |
304 | local yy = y * ys | |
305 | local yz = y * zs | |
306 | local zz = z * zs | |
307 | 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)) | |
308 | end | |
309 | ||
310 | function QuaternionSlerp(a, b, t) | |
311 | local cosTheta = a[1] * b[1] + a[2] * b[2] + a[3] * b[3] + a[4] * b[4] | |
312 | local startInterp, finishInterp; | |
313 | if cosTheta >= 0.0001 then | |
314 | if (1 - cosTheta) > 0.0001 then | |
315 | local theta = ACOS(cosTheta) | |
316 | local invSinTheta = 1 / SIN(theta) | |
317 | startInterp = SIN((1 - t) * theta) * invSinTheta | |
318 | finishInterp = SIN(t * theta) * invSinTheta | |
319 | else | |
320 | startInterp = 1 - t | |
321 | finishInterp = t | |
322 | end | |
323 | else | |
324 | if (1 + cosTheta) > 0.0001 then | |
325 | local theta = ACOS(-cosTheta) | |
326 | local invSinTheta = 1 / SIN(theta) | |
327 | startInterp = SIN((t - 1) * theta) * invSinTheta | |
328 | finishInterp = SIN(t * theta) * invSinTheta | |
329 | else | |
330 | startInterp = t - 1 | |
331 | finishInterp = t | |
332 | end | |
333 | end | |
334 | 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 | |
335 | end | |
336 | ||
337 | function Clerp(a, b, t) | |
338 | local qa = {QuaternionFromCFrame(a)} | |
339 | local qb = {QuaternionFromCFrame(b)} | |
340 | local ax, ay, az = a.x, a.y, a.z | |
341 | local bx, by, bz = b.x, b.y, b.z | |
342 | local _t = 1 - t | |
343 | return QuaternionToCFrame(_t * ax + t * bx, _t * ay + t * by, _t * az + t * bz, QuaternionSlerp(qa, qb, t)) | |
344 | end | |
345 | ||
346 | CFuncs = { | |
347 | Part = { | |
348 | Create = function(Parent, Material, Reflectance, Transparency, BColor, Name, Size) | |
349 | local Part = Create("Part")({ | |
350 | Parent = Parent, | |
351 | Reflectance = Reflectance, | |
352 | Transparency = Transparency, | |
353 | CanCollide = false, | |
354 | Locked = true, | |
355 | BrickColor = BrickColor.new(tostring(BColor)), | |
356 | Name = Name, | |
357 | Size = Size, | |
358 | Material = Material | |
359 | }) | |
360 | NoOutlines(Part) | |
361 | return Part | |
362 | end | |
363 | }, | |
364 | Mesh = { | |
365 | Create = function(Mesh, Part, MeshType, MeshId, OffSet, Scale) | |
366 | local Msh = Create(Mesh)({ | |
367 | Parent = Part, | |
368 | Offset = OffSet, | |
369 | Scale = Scale | |
370 | }) | |
371 | if Mesh == "SpecialMesh" then | |
372 | Msh.MeshType = MeshType | |
373 | Msh.MeshId = MeshId | |
374 | end | |
375 | return Msh | |
376 | end | |
377 | }, | |
378 | Mesh = { | |
379 | Create = function(Mesh, Part, MeshType, MeshId, OffSet, Scale) | |
380 | local Msh = Create(Mesh)({ | |
381 | Parent = Part, | |
382 | Offset = OffSet, | |
383 | Scale = Scale | |
384 | }) | |
385 | if Mesh == "SpecialMesh" then | |
386 | Msh.MeshType = MeshType | |
387 | Msh.MeshId = MeshId | |
388 | end | |
389 | return Msh | |
390 | end | |
391 | }, | |
392 | Weld = { | |
393 | Create = function(Parent, Part0, Part1, C0, C1) | |
394 | local Weld = Create("Weld")({ | |
395 | Parent = Parent, | |
396 | Part0 = Part0, | |
397 | Part1 = Part1, | |
398 | C0 = C0, | |
399 | C1 = C1 | |
400 | }) | |
401 | return Weld | |
402 | end | |
403 | }, | |
404 | Sound = { | |
405 | Create = function(id, par, vol, pit) | |
406 | coroutine.resume(coroutine.create(function() | |
407 | local S = Create("Sound")({ | |
408 | Volume = vol, | |
409 | Pitch = pit or 1, | |
410 | SoundId = id, | |
411 | Parent = par or workspace | |
412 | }) | |
413 | wait() | |
414 | S:play() | |
415 | game:GetService("Debris"):AddItem(S, 6) | |
416 | end)) | |
417 | end | |
418 | }, | |
419 | ParticleEmitter = { | |
420 | Create = function(Parent, Color1, Color2, LightEmission, Size, Texture, Transparency, ZOffset, Accel, Drag, LockedToPart, VelocityInheritance, EmissionDirection, Enabled, LifeTime, Rate, Rotation, RotSpeed, Speed, VelocitySpread) | |
421 | local fp = Create("ParticleEmitter")({ | |
422 | Parent = Parent, | |
423 | Color = ColorSequence.new(Color1, Color2), | |
424 | LightEmission = LightEmission, | |
425 | Size = Size, | |
426 | Texture = Texture, | |
427 | Transparency = Transparency, | |
428 | ZOffset = ZOffset, | |
429 | Acceleration = Accel, | |
430 | Drag = Drag, | |
431 | LockedToPart = LockedToPart, | |
432 | VelocityInheritance = VelocityInheritance, | |
433 | EmissionDirection = EmissionDirection, | |
434 | Enabled = Enabled, | |
435 | Lifetime = LifeTime, | |
436 | Rate = Rate, | |
437 | Rotation = Rotation, | |
438 | RotSpeed = RotSpeed, | |
439 | Speed = Speed, | |
440 | VelocitySpread = VelocitySpread | |
441 | }) | |
442 | return fp | |
443 | end | |
444 | } | |
445 | } | |
446 | ||
447 | EffectModel = Instance.new("Model", Character) | |
448 | Effects = { | |
449 | Block = { | |
450 | Create = function(brickcolor, cframe, x1, y1, z1, x3, y3, z3, delay, Type) | |
451 | local prt = CFuncs.Part.Create(EffectModel, "SmoothPlastic", 0, 0, brickcolor, "Effect", Vector3.new()) | |
452 | prt.Anchored = true | |
453 | prt.CFrame = cframe | |
454 | local msh = CFuncs.Mesh.Create("BlockMesh", prt, "", "", Vector3.new(0, 0, 0), Vector3.new(x1, y1, z1)) | |
455 | game:GetService("Debris"):AddItem(prt, 10) | |
456 | if Type == 1 or Type == nil then | |
457 | table.insert(Effects, { | |
458 | prt, | |
459 | "Block1", | |
460 | delay, | |
461 | x3, | |
462 | y3, | |
463 | z3, | |
464 | msh | |
465 | }) | |
466 | elseif Type == 2 then | |
467 | table.insert(Effects, { | |
468 | prt, | |
469 | "Block2", | |
470 | delay, | |
471 | x3, | |
472 | y3, | |
473 | z3, | |
474 | msh | |
475 | }) | |
476 | else | |
477 | table.insert(Effects, { | |
478 | prt, | |
479 | "Block3", | |
480 | delay, | |
481 | x3, | |
482 | y3, | |
483 | z3, | |
484 | msh | |
485 | }) | |
486 | end | |
487 | end | |
488 | }, | |
489 | Sphere = { | |
490 | Create = function(brickcolor, cframe, x1, y1, z1, x3, y3, z3, delay) | |
491 | local prt = CFuncs.Part.Create(EffectModel, "Neon", 0, 0, brickcolor, "Effect", Vector3.new()) | |
492 | prt.Anchored = true | |
493 | prt.CFrame = cframe | |
494 | local msh = CFuncs.Mesh.Create("SpecialMesh", prt, "Sphere", "", Vector3.new(0, 0, 0), Vector3.new(x1, y1, z1)) | |
495 | game:GetService("Debris"):AddItem(prt, 10) | |
496 | table.insert(Effects, { | |
497 | prt, | |
498 | "Cylinder", | |
499 | delay, | |
500 | x3, | |
501 | y3, | |
502 | z3, | |
503 | msh | |
504 | }) | |
505 | end | |
506 | }, | |
507 | Cylinder = { | |
508 | Create = function(brickcolor, cframe, x1, y1, z1, x3, y3, z3, delay) | |
509 | local prt = CFuncs.Part.Create(EffectModel, "SmoothPlastic", 0, 0, brickcolor, "Effect", Vector3.new()) | |
510 | prt.Anchored = true | |
511 | prt.CFrame = cframe | |
512 | local msh = CFuncs.Mesh.Create("CylinderMesh", prt, "", "", Vector3.new(0, 0, 0), Vector3.new(x1, y1, z1)) | |
513 | game:GetService("Debris"):AddItem(prt, 10) | |
514 | table.insert(Effects, { | |
515 | prt, | |
516 | "Cylinder", | |
517 | delay, | |
518 | x3, | |
519 | y3, | |
520 | z3, | |
521 | msh | |
522 | }) | |
523 | end | |
524 | }, | |
525 | Wave = { | |
526 | Create = function(brickcolor, cframe, x1, y1, z1, x3, y3, z3, delay) | |
527 | local prt = CFuncs.Part.Create(EffectModel, "Neon", 0, 0, brickcolor, "Effect", Vector3.new()) | |
528 | prt.Anchored = true | |
529 | prt.CFrame = cframe | |
530 | local msh = CFuncs.Mesh.Create("SpecialMesh", prt, "FileMesh", "rbxassetid://20329976", Vector3.new(0, 0, 0), Vector3.new(x1 / 60, y1 / 60, z1 / 60)) | |
531 | game:GetService("Debris"):AddItem(prt, 10) | |
532 | table.insert(Effects, { | |
533 | prt, | |
534 | "Cylinder", | |
535 | delay, | |
536 | x3 / 60, | |
537 | y3 / 60, | |
538 | z3 / 60, | |
539 | msh | |
540 | }) | |
541 | end | |
542 | }, | |
543 | Ring = { | |
544 | Create = function(brickcolor, cframe, x1, y1, z1, x3, y3, z3, delay) | |
545 | local prt = CFuncs.Part.Create(EffectModel, "SmoothPlastic", 0, 0, brickcolor, "Effect", Vector3.new()) | |
546 | prt.Anchored = true | |
547 | prt.CFrame = cframe | |
548 | local msh = CFuncs.Mesh.Create("SpecialMesh", prt, "FileMesh", "rbxassetid://3270017", Vector3.new(0, 0, 0), Vector3.new(x1, y1, z1)) | |
549 | game:GetService("Debris"):AddItem(prt, 10) | |
550 | table.insert(Effects, { | |
551 | prt, | |
552 | "Cylinder", | |
553 | delay, | |
554 | x3, | |
555 | y3, | |
556 | z3, | |
557 | msh | |
558 | }) | |
559 | end | |
560 | }, | |
561 | Break = { | |
562 | Create = function(brickcolor, cframe, x1, y1, z1) | |
563 | local prt = CFuncs.Part.Create(EffectModel, "Neon", 0, 0, brickcolor, "Effect", Vector3.new(0.5, 0.5, 0.5)) | |
564 | prt.Anchored = true | |
565 | prt.CFrame = cframe * CFrame.fromEulerAnglesXYZ(math.random(-50, 50), math.random(-50, 50), math.random(-50, 50)) | |
566 | local msh = CFuncs.Mesh.Create("SpecialMesh", prt, "Sphere", "", Vector3.new(0, 0, 0), Vector3.new(x1, y1, z1)) | |
567 | local num = math.random(10, 50) / 1000 | |
568 | game:GetService("Debris"):AddItem(prt, 10) | |
569 | table.insert(Effects, { | |
570 | prt, | |
571 | "Shatter", | |
572 | num, | |
573 | prt.CFrame, | |
574 | math.random() - math.random(), | |
575 | 0, | |
576 | math.random(50, 100) / 100 | |
577 | }) | |
578 | end | |
579 | }, | |
580 | Spiral = { | |
581 | Create = function(brickcolor, cframe, x1, y1, z1, x3, y3, z3, delay) | |
582 | local prt = CFuncs.Part.Create(EffectModel, "SmoothPlastic", 0, 0, brickcolor, "Effect", Vector3.new()) | |
583 | prt.Anchored = true | |
584 | prt.CFrame = cframe | |
585 | local msh = CFuncs.Mesh.Create("SpecialMesh", prt, "FileMesh", "rbxassetid://1051557", Vector3.new(0, 0, 0), Vector3.new(x1, y1, z1)) | |
586 | game:GetService("Debris"):AddItem(prt, 10) | |
587 | table.insert(Effects, { | |
588 | prt, | |
589 | "Cylinder", | |
590 | delay, | |
591 | x3, | |
592 | y3, | |
593 | z3, | |
594 | msh | |
595 | }) | |
596 | end | |
597 | }, | |
598 | Push = { | |
599 | Create = function(brickcolor, cframe, x1, y1, z1, x3, y3, z3, delay) | |
600 | local prt = CFuncs.Part.Create(EffectModel, "SmoothPlastic", 0, 0, brickcolor, "Effect", Vector3.new()) | |
601 | prt.Anchored = true | |
602 | prt.CFrame = cframe | |
603 | local msh = CFuncs.Mesh.Create("SpecialMesh", prt, "FileMesh", "rbxassetid://437347603", Vector3.new(0, 0, 0), Vector3.new(x1, y1, z1)) | |
604 | game:GetService("Debris"):AddItem(prt, 10) | |
605 | table.insert(Effects, { | |
606 | prt, | |
607 | "Cylinder", | |
608 | delay, | |
609 | x3, | |
610 | y3, | |
611 | z3, | |
612 | msh | |
613 | }) | |
614 | end | |
615 | } | |
616 | } | |
617 | function part(formfactor ,parent, reflectance, transparency, brickcolor, name, size) | |
618 | local fp = IT("Part") | |
619 | fp.formFactor = formfactor | |
620 | fp.Parent = parent | |
621 | fp.Reflectance = reflectance | |
622 | fp.Transparency = transparency | |
623 | fp.CanCollide = false | |
624 | fp.Locked = true | |
625 | fp.BrickColor = brickcolor | |
626 | fp.Name = name | |
627 | fp.Size = size | |
628 | fp.Position = tors.Position | |
629 | NoOutlines(fp) | |
630 | fp.Material = "SmoothPlastic" | |
631 | fp:BreakJoints() | |
632 | return fp | |
633 | end | |
634 | ||
635 | function CreateFrame(PARENT, TRANSPARENCY, BORDERSIZEPIXEL, POSITION, SIZE, COLOR, BORDERCOLOR, NAME) | |
636 | local frame = IT("Frame") | |
637 | frame.BackgroundTransparency = TRANSPARENCY | |
638 | frame.BorderSizePixel = BORDERSIZEPIXEL | |
639 | frame.Position = POSITION | |
640 | frame.Size = SIZE | |
641 | frame.BackgroundColor3 = COLOR | |
642 | frame.BorderColor3 = BORDERCOLOR | |
643 | frame.Name = NAME | |
644 | frame.Parent = PARENT | |
645 | return frame | |
646 | end | |
647 | ||
648 | function CreateLabel(PARENT, TEXT, TEXTCOLOR, TEXTFONTSIZE, TEXTFONT, TRANSPARENCY, BORDERSIZEPIXEL, STROKETRANSPARENCY, NAME) | |
649 | local label = IT("TextLabel") | |
650 | label.BackgroundTransparency = 1 | |
651 | label.Size = UD2(1, 0, 1, 0) | |
652 | label.Position = UD2(0, 0, 0, 0) | |
653 | label.TextColor3 = TEXTCOLOR | |
654 | label.TextStrokeTransparency = STROKETRANSPARENCY | |
655 | label.TextTransparency = TRANSPARENCY | |
656 | label.FontSize = TEXTFONTSIZE | |
657 | label.Font = TEXTFONT | |
658 | label.BorderSizePixel = BORDERSIZEPIXEL | |
659 | label.TextScaled = false | |
660 | label.Text = TEXT | |
661 | label.Name = NAME | |
662 | label.Parent = PARENT | |
663 | return label | |
664 | end | |
665 | ||
666 | function NoOutlines(PART) | |
667 | PART.TopSurface, PART.BottomSurface, PART.LeftSurface, PART.RightSurface, PART.FrontSurface, PART.BackSurface = 10, 10, 10, 10, 10, 10 | |
668 | end | |
669 | ||
670 | function CreateWeldOrSnapOrMotor(TYPE, PARENT, PART0, PART1, C0, C1) | |
671 | local NEWWELD = IT(TYPE) | |
672 | NEWWELD.Part0 = PART0 | |
673 | NEWWELD.Part1 = PART1 | |
674 | NEWWELD.C0 = C0 | |
675 | NEWWELD.C1 = C1 | |
676 | NEWWELD.Parent = PARENT | |
677 | return NEWWELD | |
678 | end | |
679 | ||
680 | local S = IT("Sound") | |
681 | function CreateSound(ID, PARENT, VOLUME, PITCH, DOESLOOP) | |
682 | local NEWSOUND = nil | |
683 | coroutine.resume(coroutine.create(function() | |
684 | NEWSOUND = S:Clone() | |
685 | NEWSOUND.Parent = PARENT | |
686 | NEWSOUND.Volume = VOLUME | |
687 | NEWSOUND.Pitch = PITCH | |
688 | NEWSOUND.SoundId = "http://www.roblox.com/asset/?id="..ID | |
689 | NEWSOUND:play() | |
690 | if DOESLOOP == true then | |
691 | NEWSOUND.Looped = true | |
692 | else | |
693 | repeat wait(1) until NEWSOUND.Playing == false | |
694 | NEWSOUND:remove() | |
695 | end | |
696 | end)) | |
697 | return NEWSOUND | |
698 | end | |
699 | ||
700 | function CFrameFromTopBack(at, top, back) | |
701 | local right = top:Cross(back) | |
702 | 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) | |
703 | end | |
704 | ||
705 | function MakeForm(PART,TYPE) | |
706 | if TYPE == "Cyl" then | |
707 | local MSH = IT("CylinderMesh",PART) | |
708 | elseif TYPE == "Ball" then | |
709 | local MSH = IT("SpecialMesh",PART) | |
710 | MSH.MeshType = "Sphere" | |
711 | elseif TYPE == "Wedge" then | |
712 | local MSH = IT("SpecialMesh",PART) | |
713 | MSH.MeshType = "Wedge" | |
714 | end | |
715 | end | |
716 | ||
717 | Debris = game:GetService("Debris") | |
718 | ||
719 | function CastProperRay(StartPos, EndPos, Distance, Ignore) | |
720 | local DIRECTION = CF(StartPos,EndPos).lookVector | |
721 | return Raycast(StartPos, DIRECTION, Distance, Ignore) | |
722 | end | |
723 | ||
724 | --//=================================\\ | |
725 | --|| WEAPON CREATION | |
726 | --\\=================================// | |
727 | ||
728 | Humanoid.Parent = nil | |
729 | RootPart.Size = RootPart.Size*SIZE | |
730 | Torso.Size = Torso.Size*SIZE | |
731 | RightArm.Size = RightArm.Size*SIZE | |
732 | RightLeg.Size = RightLeg.Size*SIZE | |
733 | LeftArm.Size = LeftArm.Size*SIZE | |
734 | LeftLeg.Size = LeftLeg.Size*SIZE | |
735 | RootJoint.C0 = ROOTC0 * CF(0 * SIZE, 0 * SIZE, 0 * SIZE) * ANGLES(RAD(0), RAD(0), RAD(0)) | |
736 | RootJoint.C1 = ROOTC0 * CF(0 * SIZE, 0 * SIZE, 0 * SIZE) * ANGLES(RAD(0), RAD(0), RAD(0)) | |
737 | Neck.C0 = NECKC0 * CF(0 * SIZE, 0 * SIZE, 0 + ((1 * SIZE) - 1)) * ANGLES(RAD(0), RAD(0), RAD(0)) | |
738 | Neck.C1 = CF(0 * SIZE, -0.5 * SIZE, 0 * SIZE) * ANGLES(RAD(-90), RAD(0), RAD(180)) | |
739 | RightShoulder.C1 = CF(0 * SIZE, 0.5 * SIZE, -0.35 * SIZE) | |
740 | LeftShoulder.C1 = CF(0 * SIZE, 0.5 * SIZE, -0.35 * SIZE) | |
741 | RightHip.C0 = CF(1 * SIZE, -1 * SIZE, 0 * SIZE) * ANGLES(RAD(0), RAD(90), RAD(0)) * ANGLES(RAD(0), RAD(0), RAD(0)) | |
742 | LeftHip.C0 = CF(-1 * SIZE, -1 * SIZE, 0 * SIZE) * ANGLES(RAD(0), RAD(-90), RAD(0)) * ANGLES(RAD(0), RAD(0), RAD(0)) | |
743 | RightHip.C1 = CF(0.5 * SIZE, 1 * SIZE, 0 * SIZE) * ANGLES(RAD(0), RAD(90), RAD(0)) * ANGLES(RAD(0), RAD(0), RAD(0)) | |
744 | LeftHip.C1 = CF(-0.5 * SIZE, 1 * SIZE, 0 * SIZE) * ANGLES(RAD(0), RAD(-90), RAD(0)) * ANGLES(RAD(0), RAD(0), RAD(0)) | |
745 | Head.Size = Head.Size*SIZE | |
746 | RootJoint.Parent = RootPart | |
747 | Neck.Parent = Torso | |
748 | RightShoulder.Parent = Torso | |
749 | LeftShoulder.Parent = Torso | |
750 | RightHip.Parent = Torso | |
751 | LeftHip.Parent = Torso | |
752 | ||
753 | local PART = CreatePart(3, Character, "SmoothPlastic", 0, 0, "Bright blue", "Muscle", VT(1.4,1,0.2),false) | |
754 | MakeForm(PART,"Ball") | |
755 | CreateWeldOrSnapOrMotor("Weld", Torso, Torso, PART, CF(0.45*SIZE,0.6*SIZE,-0.45*SIZE), CF(0, 0, 0)) | |
756 | local PART = CreatePart(3, Character, "SmoothPlastic", 0, 0, "Bright blue", "Muscle", VT(1.4,1,0.2),false) | |
757 | MakeForm(PART,"Ball") | |
758 | CreateWeldOrSnapOrMotor("Weld", Torso, Torso, PART, CF(-0.45*SIZE,0.6*SIZE,-0.45*SIZE), CF(0, 0, 0)) | |
759 | local PART = CreatePart(3, Character, "SmoothPlastic", 0, 0, "Bright blue", "Muscle", VT(1,0.7,0.2),false) | |
760 | MakeForm(PART,"Ball") | |
761 | CreateWeldOrSnapOrMotor("Weld", Torso, Torso, PART, CF(0.35*SIZE,0.15*SIZE,-0.45*SIZE), CF(0, 0, 0)) | |
762 | local PART = CreatePart(3, Character, "SmoothPlastic", 0, 0, "Bright blue", "Muscle", VT(1,0.7,0.2),false) | |
763 | MakeForm(PART,"Ball") | |
764 | CreateWeldOrSnapOrMotor("Weld", Torso, Torso, PART, CF(-0.35*SIZE,0.15*SIZE,-0.45*SIZE), CF(0, 0, 0)) | |
765 | local PART = CreatePart(3, Character, "SmoothPlastic", 0, 0, "Bright blue", "Muscle", VT(0.75,0.5,0.2),false) | |
766 | MakeForm(PART,"Ball") | |
767 | CreateWeldOrSnapOrMotor("Weld", Torso, Torso, PART, CF(0.3*SIZE,-0.13*SIZE,-0.45*SIZE), CF(0, 0, 0)) | |
768 | local PART = CreatePart(3, Character, "SmoothPlastic", 0, 0, "Bright blue", "Muscle", VT(0.75,0.5,0.2),false) | |
769 | MakeForm(PART,"Ball") | |
770 | CreateWeldOrSnapOrMotor("Weld", Torso, Torso, PART, CF(-0.3*SIZE,-0.13*SIZE,-0.45*SIZE), CF(0, 0, 0)) | |
771 | ||
772 | Humanoid.Parent = Character | |
773 | ||
774 | Humanoid.Died:connect(function() | |
775 | ATTACK = true | |
776 | end) | |
777 | ||
778 | local TRACKFRAME = CreateFrame(WEAPONGUI, 1, 2, UD2(0.365, 0, 0.9, 0), UD2(0.26, 0, 0.07, 0), C3(0,0,0), C3(0, 0, 0), "Yeet") | |
779 | ||
780 | local TEXT = CreateLabel(TRACKFRAME, KILLCOUNT, C3(1,0,0), 8, "SourceSans", 0, 2, 1, "Text") | |
781 | ||
782 | --//=================================\\ | |
783 | --|| DAMAGING | |
784 | --\\=================================// | |
785 | ||
786 | local EXPLOSION = IT("Explosion",nil) | |
787 | EXPLOSION.BlastPressure = 0 | |
788 | function PUNCH(Fist) | |
789 | TOUCH = Fist.Touched:Connect(function(hit) | |
790 | if hit.Parent:FindFirstChildOfClass("Humanoid") then | |
791 | local HUM = hit.Parent:FindFirstChildOfClass("Humanoid") | |
792 | local TORSO = hit.Parent:FindFirstChild("Torso") or hit.Parent:FindFirstChild("UpperTorso") | |
793 | if TORSO and HUM.Health > 0 then | |
794 | CreateSound(296102734,Fist,6,1,false) | |
795 | CreateSound(12222242,TORSO,7,MRANDOM(8,14)/10,false) | |
796 | TORSO.Parent:BreakJoints() | |
797 | for _, c in pairs(TORSO.Parent:GetChildren()) do | |
798 | if c:IsA("BasePart") then | |
799 | local bv = Instance.new("BodyVelocity",c) | |
800 | bv.maxForce = Vector3.new(1e9, 1e9, 1e9) | |
801 | bv.velocity = CF(TORSO.Position,c.Position+VT(0,0.1,0)).lookVector*MRANDOM(70,100) | |
802 | Debris:AddItem(bv,0.05) | |
803 | end | |
804 | end | |
805 | local BOOM = EXPLOSION:Clone() | |
806 | BOOM.Position = Fist.CFrame*CF(0,-1*SIZE,0).p | |
807 | BOOM.Parent = Character | |
808 | TOUCH:Disconnect() | |
809 | KILLCOUNT = KILLCOUNT + 1 | |
810 | end | |
811 | elseif hit.Material == Enum.Material.Glass or hit.Transparency > 0.2 then | |
812 | hit:remove() | |
813 | CreateSound(296102734,Fist,6,1,false) | |
814 | local BOOM = EXPLOSION:Clone() | |
815 | BOOM.BlastPressure = 15 | |
816 | BOOM.Position = Fist.CFrame*CF(0,-1*SIZE,0).p | |
817 | BOOM.Parent = Character | |
818 | elseif hit.Anchored == false then | |
819 | CreateSound(296102734,Fist,6,1,false) | |
820 | local BOOM = EXPLOSION:Clone() | |
821 | BOOM.BlastPressure = 70 | |
822 | BOOM.Position = Fist.CFrame*CF(0,-1*SIZE,0).p | |
823 | BOOM.Parent = Character | |
824 | TOUCH:Disconnect() | |
825 | end | |
826 | end) | |
827 | return TOUCH | |
828 | end | |
829 | ||
830 | --//=================================\\ | |
831 | --|| ATTACK FUNCTIONS AND STUFF | |
832 | --\\=================================// | |
833 | ||
834 | function Yeet() | |
835 | ATTACK = true | |
836 | Rooted = false | |
837 | if COMBO == 1 then | |
838 | COMBO = 2 | |
839 | for i=0, 0.1, 0.1 / Animation_Speed do | |
840 | Swait() | |
841 | RootJoint.C0 = Clerp(RootJoint.C0,ROOTC0 * CF(0*SIZE, 0*SIZE, 0*SIZE) * ANGLES(RAD(15), RAD(0), RAD(15)), 1 / Animation_Speed) | |
842 | Neck.C0 = Clerp(Neck.C0, NECKC0 * CF(0, 0, 0 + ((1*SIZE) - 1)) * ANGLES(RAD(-15), RAD(0), RAD(-15)), 1 / Animation_Speed) | |
843 | RightShoulder.C0 = Clerp(RightShoulder.C0, CF(1.5*SIZE, 0.25*SIZE, 0.2*SIZE) * ANGLES(RAD(90), RAD(0), RAD(0)) * RIGHTSHOULDERC0, 1 / Animation_Speed) | |
844 | LeftShoulder.C0 = Clerp(LeftShoulder.C0, CF(-1.5*SIZE, 0.5*SIZE, 0.5*SIZE) * ANGLES(RAD(90), RAD(0), RAD(0)) * LEFTSHOULDERC0, 1 / Animation_Speed) | |
845 | RightHip.C0 = Clerp(RightHip.C0, CF(1*SIZE, -1*SIZE, 0*SIZE) * ANGLES(RAD(0), RAD(90), RAD(0)) * ANGLES(RAD(0), RAD(0), RAD(0)), 1 / Animation_Speed) | |
846 | LeftHip.C0 = Clerp(LeftHip.C0, CF(-1*SIZE, -1*SIZE, 0*SIZE) * ANGLES(RAD(0), RAD(-90), RAD(0)) * ANGLES(RAD(0), RAD(0), RAD(0)), 1 / Animation_Speed) | |
847 | end | |
848 | local FIST = PUNCH(LeftArm) | |
849 | CreateSound(1277342512, LeftArm, 10, (MRANDOM(100,300)/100)+0.15, false) | |
850 | for i=0, 0.15, 0.1 / Animation_Speed do | |
851 | Swait() | |
852 | RootJoint.C0 = Clerp(RootJoint.C0,ROOTC0 * CF(0*SIZE, 0*SIZE, 0*SIZE) * ANGLES(RAD(35), RAD(0), RAD(-45)), 1 / Animation_Speed) | |
853 | Neck.C0 = Clerp(Neck.C0, NECKC0 * CF(0, 0, 0 + ((1*SIZE) - 1)) * ANGLES(RAD(-15), RAD(0), RAD(45)), 1 / Animation_Speed) | |
854 | RightShoulder.C0 = Clerp(RightShoulder.C0, CF(1.5*SIZE, 0.25*SIZE, 0.2*SIZE) * ANGLES(RAD(90), RAD(0), RAD(0)) * RIGHTSHOULDERC0, 1 / Animation_Speed) | |
855 | LeftShoulder.C0 = Clerp(LeftShoulder.C0, CF(-1.1*SIZE, 0.45*SIZE, -1*SIZE) * ANGLES(RAD(110), RAD(0), RAD(25)) * LEFTSHOULDERC0, 2 / Animation_Speed) | |
856 | RightHip.C0 = Clerp(RightHip.C0, CF(1*SIZE, -1*SIZE, 0*SIZE) * ANGLES(RAD(0), RAD(90), RAD(0)) * ANGLES(RAD(0), RAD(0), RAD(0)), 1 / Animation_Speed) | |
857 | LeftHip.C0 = Clerp(LeftHip.C0, CF(-1*SIZE, -1*SIZE, 0*SIZE) * ANGLES(RAD(0), RAD(-90), RAD(0)) * ANGLES(RAD(0), RAD(0), RAD(0)), 1 / Animation_Speed) | |
858 | end | |
859 | FIST:Disconnect() | |
860 | else | |
861 | COMBO = 1 | |
862 | for i=0, 0.1, 0.1 / Animation_Speed do | |
863 | Swait() | |
864 | RootJoint.C0 = Clerp(RootJoint.C0,ROOTC0 * CF(0*SIZE, 0*SIZE, 0*SIZE) * ANGLES(RAD(15), RAD(0), RAD(-15)), 1 / Animation_Speed) | |
865 | Neck.C0 = Clerp(Neck.C0, NECKC0 * CF(0, 0, 0 + ((1*SIZE) - 1)) * ANGLES(RAD(-15), RAD(0), RAD(15)), 0.15 / Animation_Speed) | |
866 | RightShoulder.C0 = Clerp(RightShoulder.C0, CF(1.5*SIZE, 0.5*SIZE, 0.5*SIZE) * ANGLES(RAD(90), RAD(0), RAD(0)) * RIGHTSHOULDERC0, 1 / Animation_Speed) | |
867 | LeftShoulder.C0 = Clerp(LeftShoulder.C0, CF(-1.5*SIZE, 0.25*SIZE, 0.2*SIZE) * ANGLES(RAD(90), RAD(0), RAD(0)) * LEFTSHOULDERC0, 1 / Animation_Speed) | |
868 | RightHip.C0 = Clerp(RightHip.C0, CF(1*SIZE, -1*SIZE, 0*SIZE) * ANGLES(RAD(0), RAD(90), RAD(0)) * ANGLES(RAD(0), RAD(0), RAD(0)), 1 / Animation_Speed) | |
869 | LeftHip.C0 = Clerp(LeftHip.C0, CF(-1*SIZE, -1*SIZE, 0*SIZE) * ANGLES(RAD(0), RAD(-90), RAD(0)) * ANGLES(RAD(0), RAD(0), RAD(0)), 1 / Animation_Speed) | |
870 | end | |
871 | local FIST = PUNCH(RightArm) | |
872 | CreateSound(1277342512, RightArm, 10, (MRANDOM(100,300)/100)+0.15, false) | |
873 | for i=0, 0.15, 0.1 / Animation_Speed do | |
874 | Swait() | |
875 | RootJoint.C0 = Clerp(RootJoint.C0,ROOTC0 * CF(0*SIZE, 0*SIZE, 0*SIZE) * ANGLES(RAD(35), RAD(0), RAD(45)), 1 / Animation_Speed) | |
876 | RightShoulder.C0 = Clerp(RightShoulder.C0, CF(1.1*SIZE, 0.45*SIZE, -1*SIZE) * ANGLES(RAD(110), RAD(0), RAD(-25)) * RIGHTSHOULDERC0, 2 / Animation_Speed) | |
877 | LeftShoulder.C0 = Clerp(LeftShoulder.C0, CF(-1.5*SIZE, 0.25*SIZE, 0.2*SIZE) * ANGLES(RAD(90), RAD(0), RAD(0)) * LEFTSHOULDERC0, 1 / Animation_Speed) | |
878 | RightHip.C0 = Clerp(RightHip.C0, CF(1*SIZE, -1*SIZE, 0*SIZE) * ANGLES(RAD(0), RAD(90), RAD(0)) * ANGLES(RAD(0), RAD(0), RAD(0)), 1 / Animation_Speed) | |
879 | LeftHip.C0 = Clerp(LeftHip.C0, CF(-1*SIZE, -1*SIZE, 0*SIZE) * ANGLES(RAD(0), RAD(-90), RAD(0)) * ANGLES(RAD(0), RAD(0), RAD(0)), 1 / Animation_Speed) | |
880 | end | |
881 | FIST:Disconnect() | |
882 | end | |
883 | ATTACK = false | |
884 | Rooted = false | |
885 | end | |
886 | ||
887 | function kICKS() | |
888 | ATTACK = true | |
889 | Rooted = false | |
890 | muda:Play() | |
891 | local KICK = PUNCH(LeftLeg) | |
892 | local KICK2 = PUNCH(RightLeg) | |
893 | for i=0, 9, 0.1 / Animation_Speed do | |
894 | Swait() | |
895 | RootJoint.C0 = Clerp(RootJoint.C0,ROOTC0 * CF(0*SIZE, 0*SIZE, 0*SIZE) * ANGLES(RAD(-90 + MRANDOM(-34,34)), RAD(0 + MRANDOM(-34,34)), RAD(-0 + MRANDOM(-34,34))), 1 / 4) | |
896 | RightHip.C0 = Clerp(RightHip.C0, CF(1*SIZE, -1*SIZE, 0*SIZE) * ANGLES(RAD(0 + MRANDOM(-34,34)), RAD(0 + MRANDOM(-34,34)), RAD(0 + MRANDOM(-34,34))), 1 / Animation_Speed) | |
897 | LeftHip.C0 = Clerp(LeftHip.C0, CF(-1*SIZE, -1*SIZE, 0*SIZE) * ANGLES(RAD(0 + MRANDOM(-34,34)), RAD(-0 + MRANDOM(-34,34)), RAD(0 + MRANDOM(-34,34))), 1 / Animation_Speed) | |
898 | end | |
899 | KICK:Disconnect() | |
900 | KICK2:Disconnect() | |
901 | muda:Stop() | |
902 | ATTACK = false | |
903 | Rooted = false | |
904 | end | |
905 | ||
906 | function DORAH() | |
907 | ATTACK = true | |
908 | Rooted = false | |
909 | CreateSound(1529432744, Torso, 10, 1, false) | |
910 | for i=0, 1, 0.1 / Animation_Speed do | |
911 | Swait() | |
912 | RootJoint.C0 = Clerp(RootJoint.C0,ROOTC0 * CF(0*SIZE, 0*SIZE, 0*SIZE) * ANGLES(RAD(15), RAD(0), RAD(15)), 1 / Animation_Speed) | |
913 | Neck.C0 = Clerp(Neck.C0, NECKC0 * CF(0, 0, 0 + ((1*SIZE) - 1)) * ANGLES(RAD(-15), RAD(0), RAD(-15)), 1 / Animation_Speed) | |
914 | RightShoulder.C0 = Clerp(RightShoulder.C0, CF(1.5*SIZE, 0.25*SIZE, 0.2*SIZE) * ANGLES(RAD(90), RAD(0), RAD(0)) * RIGHTSHOULDERC0, 1 / Animation_Speed) | |
915 | LeftShoulder.C0 = Clerp(LeftShoulder.C0, CF(-1.5*SIZE, 0.5*SIZE, 0.5*SIZE) * ANGLES(RAD(90), RAD(0), RAD(0)) * LEFTSHOULDERC0, 1 / Animation_Speed) | |
916 | RightHip.C0 = Clerp(RightHip.C0, CF(1*SIZE, -1*SIZE, 0*SIZE) * ANGLES(RAD(0), RAD(90), RAD(0)) * ANGLES(RAD(0), RAD(0), RAD(0)), 1 / Animation_Speed) | |
917 | LeftHip.C0 = Clerp(LeftHip.C0, CF(-1*SIZE, -1*SIZE, 0*SIZE) * ANGLES(RAD(0), RAD(-90), RAD(0)) * ANGLES(RAD(0), RAD(0), RAD(0)), 1 / Animation_Speed) | |
918 | end | |
919 | Effects.Wave.Create(BRICKC("Bright blue"), RootPart.CFrame * CF(0, 0, 0) * ANGLES(RAD(90),RAD(-0),RAD(0)), 25, 25, 25, 30, 30, 30, 0.05) | |
920 | local FIST = PUNCH(LeftArm) | |
921 | for _, c in pairs(Character:GetChildren()) do | |
922 | if c:FindFirstChild("face") then | |
923 | c.face.Texture = "http://www.roblox.com/asset/?id=1853734154" | |
924 | end | |
925 | end | |
926 | CreateSound(1529198207, Torso, 10, 1, false) | |
927 | CreateSound(1268140357, LeftArm, 2, 1, false) | |
928 | for i=0, 0.15, 0.1 / Animation_Speed do | |
929 | Swait() | |
930 | RootJoint.C0 = Clerp(RootJoint.C0,ROOTC0 * CF(0*SIZE, -20, 0*SIZE) * ANGLES(RAD(35), RAD(0), RAD(-45)), 1 / Animation_Speed) | |
931 | Neck.C0 = Clerp(Neck.C0, NECKC0 * CF(0, 0, 0 + ((1*SIZE) - 1)) * ANGLES(RAD(-15), RAD(0), RAD(45)), 1 / Animation_Speed) | |
932 | RightShoulder.C0 = Clerp(RightShoulder.C0, CF(1.5*SIZE, 0.25*SIZE, 0.2*SIZE) * ANGLES(RAD(90), RAD(0), RAD(0)) * RIGHTSHOULDERC0, 1 / Animation_Speed) | |
933 | LeftShoulder.C0 = Clerp(LeftShoulder.C0, CF(-1.1*SIZE, 0.45*SIZE, -1*SIZE) * ANGLES(RAD(110), RAD(0), RAD(25)) * LEFTSHOULDERC0, 2 / Animation_Speed) | |
934 | RightHip.C0 = Clerp(RightHip.C0, CF(1*SIZE, -1*SIZE, 0*SIZE) * ANGLES(RAD(0), RAD(90), RAD(0)) * ANGLES(RAD(0), RAD(0), RAD(0)), 1 / Animation_Speed) | |
935 | LeftHip.C0 = Clerp(LeftHip.C0, CF(-1*SIZE, -1*SIZE, 0*SIZE) * ANGLES(RAD(0), RAD(-90), RAD(0)) * ANGLES(RAD(0), RAD(0), RAD(0)), 1 / Animation_Speed) | |
936 | end | |
937 | FIST:Disconnect() | |
938 | for i=0, 0.2, 0.15 / Animation_Speed do | |
939 | Swait() | |
940 | RootJoint.C0 = Clerp(RootJoint.C0,ROOTC0 * CF(0*SIZE, -20, 0*SIZE) * ANGLES(RAD(15), RAD(0), RAD(15)), 1 / 4) | |
941 | Neck.C0 = Clerp(Neck.C0, NECKC0 * CF(0, 0, 0 + ((1*SIZE) - 1)) * ANGLES(RAD(-15), RAD(0), RAD(-15)), 1 / 1) | |
942 | RightShoulder.C0 = Clerp(RightShoulder.C0, CF(1.5*SIZE, 0.25*SIZE, 0.2*SIZE) * ANGLES(RAD(90), RAD(0), RAD(0)) * RIGHTSHOULDERC0, 1 / 4) | |
943 | LeftShoulder.C0 = Clerp(LeftShoulder.C0, CF(-1.5*SIZE, 0.5*SIZE, 0.5*SIZE) * ANGLES(RAD(90), RAD(0), RAD(0)) * LEFTSHOULDERC0, 1 / 4) | |
944 | RightHip.C0 = Clerp(RightHip.C0, CF(1*SIZE, -1*SIZE, 0*SIZE) * ANGLES(RAD(0), RAD(90), RAD(0)) * ANGLES(RAD(0), RAD(0), RAD(0)), 1 / 4) | |
945 | LeftHip.C0 = Clerp(LeftHip.C0, CF(-1*SIZE, -1*SIZE, 0*SIZE) * ANGLES(RAD(0), RAD(-90), RAD(0)) * ANGLES(RAD(0), RAD(0), RAD(0)), 1 / 4) | |
946 | end | |
947 | CreateSound(1268140357, LeftArm, 2, (MRANDOM(90,130)/100)+0.15, false) | |
948 | local FIST = PUNCH(LeftArm) | |
949 | for i=0, 0.2, 0.15 / Animation_Speed do | |
950 | Swait() | |
951 | RootJoint.C0 = Clerp(RootJoint.C0,ROOTC0 * CF(0*SIZE, -20, 0*SIZE) * ANGLES(RAD(35), RAD(0), RAD(-45)), 1 / 4) | |
952 | Neck.C0 = Clerp(Neck.C0, NECKC0 * CF(0, 0, 0 + ((1*SIZE) - 1)) * ANGLES(RAD(-15), RAD(0), RAD(45)), 1 / 4) | |
953 | RightShoulder.C0 = Clerp(RightShoulder.C0, CF(1.5*SIZE, 0.25*SIZE, 0.2*SIZE) * ANGLES(RAD(90), RAD(0), RAD(0)) * RIGHTSHOULDERC0, 1 / 4) | |
954 | LeftShoulder.C0 = Clerp(LeftShoulder.C0, CF(-1.1*SIZE, 0.45*SIZE, -1*SIZE) * ANGLES(RAD(110), RAD(0), RAD(25)) * LEFTSHOULDERC0, 2 / 4) | |
955 | RightHip.C0 = Clerp(RightHip.C0, CF(1*SIZE, -1*SIZE, 0*SIZE) * ANGLES(RAD(0), RAD(90), RAD(0)) * ANGLES(RAD(0), RAD(0), RAD(0)), 1 / 4) | |
956 | LeftHip.C0 = Clerp(LeftHip.C0, CF(-1*SIZE, -1*SIZE, 0*SIZE) * ANGLES(RAD(0), RAD(-90), RAD(0)) * ANGLES(RAD(0), RAD(0), RAD(0)), 1 / 4) | |
957 | end | |
958 | FIST:Disconnect() | |
959 | COMBO = 1 | |
960 | for i=0, 0.2, 0.15 / Animation_Speed do | |
961 | Swait() | |
962 | RootJoint.C0 = Clerp(RootJoint.C0,ROOTC0 * CF(0*SIZE, -20, 0*SIZE) * ANGLES(RAD(15), RAD(0), RAD(-15)), 1 / 4) | |
963 | Neck.C0 = Clerp(Neck.C0, NECKC0 * CF(0, 0, 0 + ((1*SIZE) - 1)) * ANGLES(RAD(-15), RAD(0), RAD(15)), 0.15 / 4) | |
964 | RightShoulder.C0 = Clerp(RightShoulder.C0, CF(1.5*SIZE, 0.5*SIZE, 0.5*SIZE) * ANGLES(RAD(90), RAD(0), RAD(0)) * RIGHTSHOULDERC0, 1 / 4) | |
965 | LeftShoulder.C0 = Clerp(LeftShoulder.C0, CF(-1.5*SIZE, 0.25*SIZE, 0.2*SIZE) * ANGLES(RAD(90), RAD(0), RAD(0)) * LEFTSHOULDERC0, 1 / 4) | |
966 | RightHip.C0 = Clerp(RightHip.C0, CF(1*SIZE, -1*SIZE, 0*SIZE) * ANGLES(RAD(0), RAD(90), RAD(0)) * ANGLES(RAD(0), RAD(0), RAD(0)), 1 / 4) | |
967 | LeftHip.C0 = Clerp(LeftHip.C0, CF(-1*SIZE, -1*SIZE, 0*SIZE) * ANGLES(RAD(0), RAD(-90), RAD(0)) * ANGLES(RAD(0), RAD(0), RAD(0)), 1 / 4) | |
968 | end | |
969 | local FIST = PUNCH(RightArm) | |
970 | CreateSound(1268140357, LeftArm, 2, (MRANDOM(90,130)/100)+0.15, false) | |
971 | for i=0, 0.2, 0.15 / Animation_Speed do | |
972 | Swait() | |
973 | RootJoint.C0 = Clerp(RootJoint.C0,ROOTC0 * CF(0*SIZE, -20, 0*SIZE) * ANGLES(RAD(35), RAD(0), RAD(45)), 1 / 4) | |
974 | Neck.C0 = Clerp(Neck.C0, NECKC0 * CF(0, 0, 0 + ((1*SIZE) - 1)) * ANGLES(RAD(-15), RAD(0), RAD(-45)), 0.15 / 4) | |
975 | RightShoulder.C0 = Clerp(RightShoulder.C0, CF(1.1*SIZE, 0.45*SIZE, -1*SIZE) * ANGLES(RAD(110), RAD(0), RAD(-25)) * RIGHTSHOULDERC0, 2 / 4) | |
976 | LeftShoulder.C0 = Clerp(LeftShoulder.C0, CF(-1.5*SIZE, 0.25*SIZE, 0.2*SIZE) * ANGLES(RAD(90), RAD(0), RAD(0)) * LEFTSHOULDERC0, 1 / 4) | |
977 | RightHip.C0 = Clerp(RightHip.C0, CF(1*SIZE, -1*SIZE, 0*SIZE) * ANGLES(RAD(0), RAD(90), RAD(0)) * ANGLES(RAD(0), RAD(0), RAD(0)), 1 / 4) | |
978 | LeftHip.C0 = Clerp(LeftHip.C0, CF(-1*SIZE, -1*SIZE, 0*SIZE) * ANGLES(RAD(0), RAD(-90), RAD(0)) * ANGLES(RAD(0), RAD(0), RAD(0)), 1 / 4) | |
979 | end | |
980 | FIST:Disconnect() | |
981 | for i=0, 0.2, 0.15 / Animation_Speed do | |
982 | Swait() | |
983 | RootJoint.C0 = Clerp(RootJoint.C0,ROOTC0 * CF(0*SIZE, -20, 0*SIZE) * ANGLES(RAD(15), RAD(0), RAD(15)), 1 / 4) | |
984 | Neck.C0 = Clerp(Neck.C0, NECKC0 * CF(0, 0, 0 + ((1*SIZE) - 1)) * ANGLES(RAD(-15), RAD(0), RAD(-15)), 1 / 1) | |
985 | RightShoulder.C0 = Clerp(RightShoulder.C0, CF(1.5*SIZE, 0.25*SIZE, 0.2*SIZE) * ANGLES(RAD(90), RAD(0), RAD(0)) * RIGHTSHOULDERC0, 1 / 4) | |
986 | LeftShoulder.C0 = Clerp(LeftShoulder.C0, CF(-1.5*SIZE, 0.5*SIZE, 0.5*SIZE) * ANGLES(RAD(90), RAD(0), RAD(0)) * LEFTSHOULDERC0, 1 / 4) | |
987 | RightHip.C0 = Clerp(RightHip.C0, CF(1*SIZE, -1*SIZE, 0*SIZE) * ANGLES(RAD(0), RAD(90), RAD(0)) * ANGLES(RAD(0), RAD(0), RAD(0)), 1 / 4) | |
988 | LeftHip.C0 = Clerp(LeftHip.C0, CF(-1*SIZE, -1*SIZE, 0*SIZE) * ANGLES(RAD(0), RAD(-90), RAD(0)) * ANGLES(RAD(0), RAD(0), RAD(0)), 1 / 4) | |
989 | end | |
990 | CreateSound(1268140357, LeftArm, 2, (MRANDOM(90,130)/100)+0.15, false) | |
991 | local FIST = PUNCH(LeftArm) | |
992 | for i=0, 0.2, 0.15 / Animation_Speed do | |
993 | Swait() | |
994 | RootJoint.C0 = Clerp(RootJoint.C0,ROOTC0 * CF(0*SIZE, -20, 0*SIZE) * ANGLES(RAD(35), RAD(0), RAD(-45)), 1 / 4) | |
995 | Neck.C0 = Clerp(Neck.C0, NECKC0 * CF(0, 0, 0 + ((1*SIZE) - 1)) * ANGLES(RAD(-15), RAD(0), RAD(45)), 1 / 4) | |
996 | RightShoulder.C0 = Clerp(RightShoulder.C0, CF(1.5*SIZE, 0.25*SIZE, 0.2*SIZE) * ANGLES(RAD(90), RAD(0), RAD(0)) * RIGHTSHOULDERC0, 1 / 4) | |
997 | LeftShoulder.C0 = Clerp(LeftShoulder.C0, CF(-1.1*SIZE, 0.45*SIZE, -1*SIZE) * ANGLES(RAD(110), RAD(0), RAD(25)) * LEFTSHOULDERC0, 2 / 4) | |
998 | RightHip.C0 = Clerp(RightHip.C0, CF(1*SIZE, -1*SIZE, 0*SIZE) * ANGLES(RAD(0), RAD(90), RAD(0)) * ANGLES(RAD(0), RAD(0), RAD(0)), 1 / 4) | |
999 | LeftHip.C0 = Clerp(LeftHip.C0, CF(-1*SIZE, -1*SIZE, 0*SIZE) * ANGLES(RAD(0), RAD(-90), RAD(0)) * ANGLES(RAD(0), RAD(0), RAD(0)), 1 / 4) | |
1000 | end | |
1001 | FIST:Disconnect() | |
1002 | COMBO = 1 | |
1003 | for i=0, 0.2, 0.15 / Animation_Speed do | |
1004 | Swait() | |
1005 | RootJoint.C0 = Clerp(RootJoint.C0,ROOTC0 * CF(0*SIZE, -20, 0*SIZE) * ANGLES(RAD(15), RAD(0), RAD(-15)), 1 / 4) | |
1006 | Neck.C0 = Clerp(Neck.C0, NECKC0 * CF(0, 0, 0 + ((1*SIZE) - 1)) * ANGLES(RAD(-15), RAD(0), RAD(15)), 0.15 / 4) | |
1007 | RightShoulder.C0 = Clerp(RightShoulder.C0, CF(1.5*SIZE, 0.5*SIZE, 0.5*SIZE) * ANGLES(RAD(90), RAD(0), RAD(0)) * RIGHTSHOULDERC0, 1 / 4) | |
1008 | LeftShoulder.C0 = Clerp(LeftShoulder.C0, CF(-1.5*SIZE, 0.25*SIZE, 0.2*SIZE) * ANGLES(RAD(90), RAD(0), RAD(0)) * LEFTSHOULDERC0, 1 / 4) | |
1009 | RightHip.C0 = Clerp(RightHip.C0, CF(1*SIZE, -1*SIZE, 0*SIZE) * ANGLES(RAD(0), RAD(90), RAD(0)) * ANGLES(RAD(0), RAD(0), RAD(0)), 1 / 4) | |
1010 | LeftHip.C0 = Clerp(LeftHip.C0, CF(-1*SIZE, -1*SIZE, 0*SIZE) * ANGLES(RAD(0), RAD(-90), RAD(0)) * ANGLES(RAD(0), RAD(0), RAD(0)), 1 / 4) | |
1011 | end | |
1012 | local FIST = PUNCH(RightArm) | |
1013 | CreateSound(1268140357, LeftArm, 2, (MRANDOM(90,130)/100)+0.15, false) | |
1014 | for i=0, 0.2, 0.15 / Animation_Speed do | |
1015 | Swait() | |
1016 | RootJoint.C0 = Clerp(RootJoint.C0,ROOTC0 * CF(0*SIZE, -20, 0*SIZE) * ANGLES(RAD(35), RAD(0), RAD(45)), 1 / 4) | |
1017 | Neck.C0 = Clerp(Neck.C0, NECKC0 * CF(0, 0, 0 + ((1*SIZE) - 1)) * ANGLES(RAD(-15), RAD(0), RAD(-45)), 0.15 / 4) | |
1018 | RightShoulder.C0 = Clerp(RightShoulder.C0, CF(1.1*SIZE, 0.45*SIZE, -1*SIZE) * ANGLES(RAD(110), RAD(0), RAD(-25)) * RIGHTSHOULDERC0, 2 / 4) | |
1019 | LeftShoulder.C0 = Clerp(LeftShoulder.C0, CF(-1.5*SIZE, 0.25*SIZE, 0.2*SIZE) * ANGLES(RAD(90), RAD(0), RAD(0)) * LEFTSHOULDERC0, 1 / 4) | |
1020 | RightHip.C0 = Clerp(RightHip.C0, CF(1*SIZE, -1*SIZE, 0*SIZE) * ANGLES(RAD(0), RAD(90), RAD(0)) * ANGLES(RAD(0), RAD(0), RAD(0)), 1 / 4) | |
1021 | LeftHip.C0 = Clerp(LeftHip.C0, CF(-1*SIZE, -1*SIZE, 0*SIZE) * ANGLES(RAD(0), RAD(-90), RAD(0)) * ANGLES(RAD(0), RAD(0), RAD(0)), 1 / 4) | |
1022 | end | |
1023 | FIST:Disconnect() | |
1024 | for i=0, 0.2, 0.15 / Animation_Speed do | |
1025 | Swait() | |
1026 | RootJoint.C0 = Clerp(RootJoint.C0,ROOTC0 * CF(0*SIZE, -20, 0*SIZE) * ANGLES(RAD(15), RAD(0), RAD(15)), 1 / 4) | |
1027 | Neck.C0 = Clerp(Neck.C0, NECKC0 * CF(0, 0, 0 + ((1*SIZE) - 1)) * ANGLES(RAD(-15), RAD(0), RAD(-15)), 1 / 1) | |
1028 | RightShoulder.C0 = Clerp(RightShoulder.C0, CF(1.5*SIZE, 0.25*SIZE, 0.2*SIZE) * ANGLES(RAD(90), RAD(0), RAD(0)) * RIGHTSHOULDERC0, 1 / 4) | |
1029 | LeftShoulder.C0 = Clerp(LeftShoulder.C0, CF(-1.5*SIZE, 0.5*SIZE, 0.5*SIZE) * ANGLES(RAD(90), RAD(0), RAD(0)) * LEFTSHOULDERC0, 1 / 4) | |
1030 | RightHip.C0 = Clerp(RightHip.C0, CF(1*SIZE, -1*SIZE, 0*SIZE) * ANGLES(RAD(0), RAD(90), RAD(0)) * ANGLES(RAD(0), RAD(0), RAD(0)), 1 / 4) | |
1031 | LeftHip.C0 = Clerp(LeftHip.C0, CF(-1*SIZE, -1*SIZE, 0*SIZE) * ANGLES(RAD(0), RAD(-90), RAD(0)) * ANGLES(RAD(0), RAD(0), RAD(0)), 1 / 4) | |
1032 | end | |
1033 | CreateSound(1268140357, LeftArm, 2, (MRANDOM(90,130)/100)+0.15, false) | |
1034 | local FIST = PUNCH(LeftArm) | |
1035 | for i=0, 0.2, 0.15 / Animation_Speed do | |
1036 | Swait() | |
1037 | RootJoint.C0 = Clerp(RootJoint.C0,ROOTC0 * CF(0*SIZE, -20, 0*SIZE) * ANGLES(RAD(35), RAD(0), RAD(-45)), 1 / 4) | |
1038 | Neck.C0 = Clerp(Neck.C0, NECKC0 * CF(0, 0, 0 + ((1*SIZE) - 1)) * ANGLES(RAD(-15), RAD(0), RAD(45)), 1 / 4) | |
1039 | RightShoulder.C0 = Clerp(RightShoulder.C0, CF(1.5*SIZE, 0.25*SIZE, 0.2*SIZE) * ANGLES(RAD(90), RAD(0), RAD(0)) * RIGHTSHOULDERC0, 1 / 4) | |
1040 | LeftShoulder.C0 = Clerp(LeftShoulder.C0, CF(-1.1*SIZE, 0.45*SIZE, -1*SIZE) * ANGLES(RAD(110), RAD(0), RAD(25)) * LEFTSHOULDERC0, 2 / 4) | |
1041 | RightHip.C0 = Clerp(RightHip.C0, CF(1*SIZE, -1*SIZE, 0*SIZE) * ANGLES(RAD(0), RAD(90), RAD(0)) * ANGLES(RAD(0), RAD(0), RAD(0)), 1 / 4) | |
1042 | LeftHip.C0 = Clerp(LeftHip.C0, CF(-1*SIZE, -1*SIZE, 0*SIZE) * ANGLES(RAD(0), RAD(-90), RAD(0)) * ANGLES(RAD(0), RAD(0), RAD(0)), 1 / 4) | |
1043 | end | |
1044 | FIST:Disconnect() | |
1045 | COMBO = 1 | |
1046 | for i=0, 0.2, 0.15 / Animation_Speed do | |
1047 | Swait() | |
1048 | RootJoint.C0 = Clerp(RootJoint.C0,ROOTC0 * CF(0*SIZE, -20, 0*SIZE) * ANGLES(RAD(15), RAD(0), RAD(-15)), 1 / 4) | |
1049 | Neck.C0 = Clerp(Neck.C0, NECKC0 * CF(0, 0, 0 + ((1*SIZE) - 1)) * ANGLES(RAD(-15), RAD(0), RAD(15)), 0.15 / 4) | |
1050 | RightShoulder.C0 = Clerp(RightShoulder.C0, CF(1.5*SIZE, 0.5*SIZE, 0.5*SIZE) * ANGLES(RAD(90), RAD(0), RAD(0)) * RIGHTSHOULDERC0, 1 / 4) | |
1051 | LeftShoulder.C0 = Clerp(LeftShoulder.C0, CF(-1.5*SIZE, 0.25*SIZE, 0.2*SIZE) * ANGLES(RAD(90), RAD(0), RAD(0)) * LEFTSHOULDERC0, 1 / 4) | |
1052 | RightHip.C0 = Clerp(RightHip.C0, CF(1*SIZE, -1*SIZE, 0*SIZE) * ANGLES(RAD(0), RAD(90), RAD(0)) * ANGLES(RAD(0), RAD(0), RAD(0)), 1 / 4) | |
1053 | LeftHip.C0 = Clerp(LeftHip.C0, CF(-1*SIZE, -1*SIZE, 0*SIZE) * ANGLES(RAD(0), RAD(-90), RAD(0)) * ANGLES(RAD(0), RAD(0), RAD(0)), 1 / 4) | |
1054 | end | |
1055 | local FIST = PUNCH(RightArm) | |
1056 | CreateSound(1268140357, LeftArm, 2, (MRANDOM(90,130)/100)+0.15, false) | |
1057 | for i=0, 0.2, 0.15 / Animation_Speed do | |
1058 | Swait() | |
1059 | RootJoint.C0 = Clerp(RootJoint.C0,ROOTC0 * CF(0*SIZE, -20, 0*SIZE) * ANGLES(RAD(35), RAD(0), RAD(45)), 1 / 4) | |
1060 | Neck.C0 = Clerp(Neck.C0, NECKC0 * CF(0, 0, 0 + ((1*SIZE) - 1)) * ANGLES(RAD(-15), RAD(0), RAD(-45)), 0.15 / 4) | |
1061 | RightShoulder.C0 = Clerp(RightShoulder.C0, CF(1.1*SIZE, 0.45*SIZE, -1*SIZE) * ANGLES(RAD(110), RAD(0), RAD(-25)) * RIGHTSHOULDERC0, 2 / 4) | |
1062 | LeftShoulder.C0 = Clerp(LeftShoulder.C0, CF(-1.5*SIZE, 0.25*SIZE, 0.2*SIZE) * ANGLES(RAD(90), RAD(0), RAD(0)) * LEFTSHOULDERC0, 1 / 4) | |
1063 | RightHip.C0 = Clerp(RightHip.C0, CF(1*SIZE, -1*SIZE, 0*SIZE) * ANGLES(RAD(0), RAD(90), RAD(0)) * ANGLES(RAD(0), RAD(0), RAD(0)), 1 / 4) | |
1064 | LeftHip.C0 = Clerp(LeftHip.C0, CF(-1*SIZE, -1*SIZE, 0*SIZE) * ANGLES(RAD(0), RAD(-90), RAD(0)) * ANGLES(RAD(0), RAD(0), RAD(0)), 1 / 4) | |
1065 | end | |
1066 | FIST:Disconnect() | |
1067 | for _, c in pairs(Character:GetChildren()) do | |
1068 | if c:FindFirstChild("face") then | |
1069 | c.face.Texture = "http://www.roblox.com/asset/?id=145914523" | |
1070 | end | |
1071 | end | |
1072 | ATTACK = false | |
1073 | Rooted = false | |
1074 | end | |
1075 | ||
1076 | function ORAORA() | |
1077 | ATTACK = true | |
1078 | Rooted = false | |
1079 | ORA:Play() | |
1080 | sick.Volume = 0 | |
1081 | for _, c in pairs(Character:GetChildren()) do | |
1082 | if c:FindFirstChild("face") then | |
1083 | c.face.Texture = "http://www.roblox.com/asset/?id=1156642909" | |
1084 | end | |
1085 | end | |
1086 | repeat | |
1087 | if COMBO == 1 then | |
1088 | COMBO = 2 | |
1089 | for i=0, 0.03, 0.15 / Animation_Speed do | |
1090 | Swait() | |
1091 | RootJoint.C0 = Clerp(RootJoint.C0,ROOTC0 * CF(0*SIZE, 0*SIZE, 0*SIZE) * ANGLES(RAD(15), RAD(0), RAD(15)), 1 / 4) | |
1092 | Neck.C0 = Clerp(Neck.C0, NECKC0 * CF(0, 0, 0 + ((1*SIZE) - 1)) * ANGLES(RAD(-15), RAD(0), RAD(-15)), 1 / 1) | |
1093 | RightShoulder.C0 = Clerp(RightShoulder.C0, CF(1.5*SIZE, 0.25*SIZE, 0.2*SIZE) * ANGLES(RAD(90), RAD(0), RAD(0)) * RIGHTSHOULDERC0, 1 / 4) | |
1094 | LeftShoulder.C0 = Clerp(LeftShoulder.C0, CF(-1.5*SIZE, 0.5*SIZE, 0.5*SIZE) * ANGLES(RAD(90), RAD(0), RAD(0)) * LEFTSHOULDERC0, 1 / 4) | |
1095 | RightHip.C0 = Clerp(RightHip.C0, CF(1*SIZE, -1*SIZE, 0*SIZE) * ANGLES(RAD(0), RAD(90), RAD(0)) * ANGLES(RAD(0), RAD(0), RAD(0)), 1 / 4) | |
1096 | LeftHip.C0 = Clerp(LeftHip.C0, CF(-1*SIZE, -1*SIZE, 0*SIZE) * ANGLES(RAD(0), RAD(-90), RAD(0)) * ANGLES(RAD(0), RAD(0), RAD(0)), 1 / 4) | |
1097 | end | |
1098 | local FIST = PUNCH(LeftArm) | |
1099 | for i=0, 0.03, 0.15 / Animation_Speed do | |
1100 | Swait() | |
1101 | RootJoint.C0 = Clerp(RootJoint.C0,ROOTC0 * CF(0*SIZE, 0*SIZE, 0*SIZE) * ANGLES(RAD(35), RAD(0), RAD(-45)), 1 / 4) | |
1102 | Neck.C0 = Clerp(Neck.C0, NECKC0 * CF(0, 0, 0 + ((1*SIZE) - 1)) * ANGLES(RAD(-15), RAD(0), RAD(45)), 1 / 4) | |
1103 | RightShoulder.C0 = Clerp(RightShoulder.C0, CF(1.5*SIZE, 0.25*SIZE, 0.2*SIZE) * ANGLES(RAD(90), RAD(0), RAD(0)) * RIGHTSHOULDERC0, 1 / 4) | |
1104 | LeftShoulder.C0 = Clerp(LeftShoulder.C0, CF(-1.1*SIZE, 0.45*SIZE, -1*SIZE) * ANGLES(RAD(110), RAD(0), RAD(25)) * LEFTSHOULDERC0, 2 / 4) | |
1105 | RightHip.C0 = Clerp(RightHip.C0, CF(1*SIZE, -1*SIZE, 0*SIZE) * ANGLES(RAD(0), RAD(90), RAD(0)) * ANGLES(RAD(0), RAD(0), RAD(0)), 1 / 4) | |
1106 | LeftHip.C0 = Clerp(LeftHip.C0, CF(-1*SIZE, -1*SIZE, 0*SIZE) * ANGLES(RAD(0), RAD(-90), RAD(0)) * ANGLES(RAD(0), RAD(0), RAD(0)), 1 / 4) | |
1107 | end | |
1108 | FIST:Disconnect() | |
1109 | else | |
1110 | COMBO = 1 | |
1111 | for i=0, 0.03, 0.15 / Animation_Speed do | |
1112 | Swait() | |
1113 | RootJoint.C0 = Clerp(RootJoint.C0,ROOTC0 * CF(0*SIZE, 0*SIZE, 0*SIZE) * ANGLES(RAD(15), RAD(0), RAD(-15)), 1 / 4) | |
1114 | Neck.C0 = Clerp(Neck.C0, NECKC0 * CF(0, 0, 0 + ((1*SIZE) - 1)) * ANGLES(RAD(-15), RAD(0), RAD(15)), 0.15 / 4) | |
1115 | RightShoulder.C0 = Clerp(RightShoulder.C0, CF(1.5*SIZE, 0.5*SIZE, 0.5*SIZE) * ANGLES(RAD(90), RAD(0), RAD(0)) * RIGHTSHOULDERC0, 1 / 4) | |
1116 | LeftShoulder.C0 = Clerp(LeftShoulder.C0, CF(-1.5*SIZE, 0.25*SIZE, 0.2*SIZE) * ANGLES(RAD(90), RAD(0), RAD(0)) * LEFTSHOULDERC0, 1 / 4) | |
1117 | RightHip.C0 = Clerp(RightHip.C0, CF(1*SIZE, -1*SIZE, 0*SIZE) * ANGLES(RAD(0), RAD(90), RAD(0)) * ANGLES(RAD(0), RAD(0), RAD(0)), 1 / 4) | |
1118 | LeftHip.C0 = Clerp(LeftHip.C0, CF(-1*SIZE, -1*SIZE, 0*SIZE) * ANGLES(RAD(0), RAD(-90), RAD(0)) * ANGLES(RAD(0), RAD(0), RAD(0)), 1 / 4) | |
1119 | end | |
1120 | local FIST = PUNCH(RightArm) | |
1121 | for i=0, 0.03, 0.15 / Animation_Speed do | |
1122 | Swait() | |
1123 | RootJoint.C0 = Clerp(RootJoint.C0,ROOTC0 * CF(0*SIZE, 0*SIZE, 0*SIZE) * ANGLES(RAD(35), RAD(0), RAD(45)), 1 / 4) | |
1124 | Neck.C0 = Clerp(Neck.C0, NECKC0 * CF(0, 0, 0 + ((1*SIZE) - 1)) * ANGLES(RAD(-15), RAD(0), RAD(-45)), 0.15 / 4) | |
1125 | RightShoulder.C0 = Clerp(RightShoulder.C0, CF(1.1*SIZE, 0.45*SIZE, -1*SIZE) * ANGLES(RAD(110), RAD(0), RAD(-25)) * RIGHTSHOULDERC0, 2 / 4) | |
1126 | LeftShoulder.C0 = Clerp(LeftShoulder.C0, CF(-1.5*SIZE, 0.25*SIZE, 0.2*SIZE) * ANGLES(RAD(90), RAD(0), RAD(0)) * LEFTSHOULDERC0, 1 / 4) | |
1127 | RightHip.C0 = Clerp(RightHip.C0, CF(1*SIZE, -1*SIZE, 0*SIZE) * ANGLES(RAD(0), RAD(90), RAD(0)) * ANGLES(RAD(0), RAD(0), RAD(0)), 1 / 4) | |
1128 | LeftHip.C0 = Clerp(LeftHip.C0, CF(-1*SIZE, -1*SIZE, 0*SIZE) * ANGLES(RAD(0), RAD(-90), RAD(0)) * ANGLES(RAD(0), RAD(0), RAD(0)), 1 / 4) | |
1129 | end | |
1130 | FIST:Disconnect() | |
1131 | end | |
1132 | until ORA.Playing == false | |
1133 | for _, c in pairs(Character:GetChildren()) do | |
1134 | if c:FindFirstChild("face") then | |
1135 | c.face.Texture = "http://www.roblox.com/asset/?id=145914523" | |
1136 | end | |
1137 | end | |
1138 | sick.Volume = 2.5 | |
1139 | ATTACK = false | |
1140 | Rooted = false | |
1141 | end | |
1142 | ||
1143 | function YesPlease() | |
1144 | ATTACK = true | |
1145 | Rooted = true | |
1146 | CreateSound(1535471840,Head,6,1.1,false) | |
1147 | for i=0, 4.01, 0.1 / Animation_Speed do | |
1148 | Swait() | |
1149 | RootJoint.C0 = Clerp(RootJoint.C0,ROOTC0 * CF(0*SIZE, 0*SIZE, -0.3*SIZE) * ANGLES(RAD(25), RAD(0), RAD(0)), 1 / Animation_Speed) | |
1150 | Neck.C0 = Clerp(Neck.C0, NECKC0 * CF(0, 0, 0 + ((1*SIZE) - 1)) * ANGLES(RAD(-25), RAD(0), RAD(0)), 0.15 / Animation_Speed) | |
1151 | RightShoulder.C0 = Clerp(RightShoulder.C0, CF(2+(MRANDOM(-5,5)/100)*SIZE, (0.45+(MRANDOM(-5,5)/100))*SIZE, -0.5*SIZE) * ANGLES(RAD(75), RAD(0), RAD(-65)) * RIGHTSHOULDERC0, 2 / Animation_Speed) | |
1152 | LeftShoulder.C0 = Clerp(LeftShoulder.C0, CF(-2+(MRANDOM(-5,5)/100)*SIZE, (0.65+(MRANDOM(-5,5)/100))*SIZE, -0.5*SIZE) * ANGLES(RAD(65), RAD(0), RAD(65)) * LEFTSHOULDERC0, 2 / Animation_Speed) | |
1153 | RightHip.C0 = Clerp(RightHip.C0, CF(1*SIZE, -0.85*SIZE, -0.6*SIZE) * ANGLES(RAD(25), RAD(80), RAD(0)) * ANGLES(RAD(0), RAD(0), RAD(0)), 1 / Animation_Speed) | |
1154 | LeftHip.C0 = Clerp(LeftHip.C0, CF(-1*SIZE, -0.85*SIZE, -0.6*SIZE) * ANGLES(RAD(25), RAD(-80), RAD(0)) * ANGLES(RAD(0), RAD(0), RAD(0)), 1 / Animation_Speed) | |
1155 | end | |
1156 | ATTACK = false | |
1157 | Rooted = false | |
1158 | end | |
1159 | ||
1160 | --//=================================\\ | |
1161 | --|| ASSIGN THINGS TO KEYS | |
1162 | --\\=================================// | |
1163 | ||
1164 | Mouse.Button1Down:connect(function(NEWKEY) | |
1165 | if ATTACK == false then | |
1166 | Yeet() | |
1167 | end | |
1168 | end) | |
1169 | Mouse.KeyDown:connect(function(NEWKEY) | |
1170 | if NEWKEY == "t" and ATTACK == false then | |
1171 | YesPlease() | |
1172 | elseif NEWKEY == "q" and ATTACK == false then | |
1173 | ORAORA() | |
1174 | elseif NEWKEY == "e" and ATTACK == false then | |
1175 | DORAH() | |
1176 | elseif NEWKEY == "r" and ATTACK == false then | |
1177 | kICKS() | |
1178 | end | |
1179 | end) | |
1180 | ||
1181 | --//=================================\\ | |
1182 | --\\=================================// | |
1183 | ||
1184 | function unanchor() | |
1185 | if UNANCHOR == true then | |
1186 | g = Character:GetChildren() | |
1187 | for i = 1, #g do | |
1188 | if g[i].ClassName == "Part" then | |
1189 | g[i].Anchored = false | |
1190 | end | |
1191 | end | |
1192 | end | |
1193 | end | |
1194 | ||
1195 | --//=================================\\ | |
1196 | --|| WRAP THE WHOLE SCRIPT UP | |
1197 | --\\=================================// | |
1198 | ||
1199 | Humanoid.Changed:connect(function(Jump) | |
1200 | if Jump == "Jump" and (Disable_Jump == true) then | |
1201 | Humanoid.Jump = false | |
1202 | end | |
1203 | end) | |
1204 | ||
1205 | local FF = IT("ForceField",Character) | |
1206 | FF.Visible = false | |
1207 | ||
1208 | while true do | |
1209 | Swait() | |
1210 | script.Parent = WEAPONGUI | |
1211 | ANIMATE.Parent = nil | |
1212 | for _,v in next, Humanoid:GetPlayingAnimationTracks() do | |
1213 | v:Stop(); | |
1214 | end | |
1215 | SINE = SINE + CHANGE | |
1216 | local TORSOVELOCITY = (RootPart.Velocity * VT(1, 0, 1)).magnitude | |
1217 | local TORSOVERTICALVELOCITY = RootPart.Velocity.y | |
1218 | local HITFLOOR = Raycast(RootPart.Position, (CF(RootPart.Position, RootPart.Position + VT(0, -1, 0))).lookVector, 4*SIZE, Character) | |
1219 | local WALKSPEEDVALUE = 6 / (Humanoid.WalkSpeed / 16) | |
1220 | if ANIM == "Walk" and TORSOVELOCITY > 1 then | |
1221 | RootJoint.C1 = Clerp(RootJoint.C1, ROOTC0 * CF(0, 0, -0.15 * COS(SINE / (WALKSPEEDVALUE / 2))) * ANGLES(RAD(0), RAD(0) - RootPart.RotVelocity.Y / 75, RAD(0)), 2 / Animation_Speed) | |
1222 | Neck.C1 = Clerp(Neck.C1, CF(0, -0.5, 0) * 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) | |
1223 | RightHip.C1 = Clerp(RightHip.C1, CF(0.5*SIZE, 0.875*SIZE - 0.125 * SIN(SINE / WALKSPEEDVALUE)*SIZE - 0.15 * COS(SINE / WALKSPEEDVALUE*2), -0.125 * COS(SINE / WALKSPEEDVALUE) +0.5- 0.5 * COS(SINE / WALKSPEEDVALUE)) * ANGLES(RAD(0), RAD(90), RAD(0)) * ANGLES(RAD(0) - RightLeg.RotVelocity.Y / 75, RAD(0), RAD(76 * COS(SINE / WALKSPEEDVALUE))), 0.2 * (Humanoid.WalkSpeed / 16) / Animation_Speed) | |
1224 | LeftHip.C1 = Clerp(LeftHip.C1, CF(-0.5*SIZE, 0.875*SIZE + 0.125 * SIN(SINE / WALKSPEEDVALUE)*SIZE - 0.15 * COS(SINE / WALKSPEEDVALUE*2), 0.125 * COS(SINE / WALKSPEEDVALUE) +0.5+ 0.5 * COS(SINE / WALKSPEEDVALUE)) * ANGLES(RAD(0), RAD(-90), RAD(0)) * ANGLES(RAD(0) + LeftLeg.RotVelocity.Y / 75, RAD(0), RAD(76 * COS(SINE / WALKSPEEDVALUE))), 0.2 * (Humanoid.WalkSpeed / 16) / Animation_Speed) | |
1225 | elseif (ANIM ~= "Walk") or (TORSOVELOCITY < 1) then | |
1226 | RootJoint.C1 = Clerp(RootJoint.C1, ROOTC0 * CF(0, 0, 0) * ANGLES(RAD(0), RAD(0), RAD(0)), 0.2 / Animation_Speed) | |
1227 | Neck.C1 = Clerp(Neck.C1, CF(0, -0.5, 0) * ANGLES(RAD(-90), RAD(0), RAD(180)) * ANGLES(RAD(0), RAD(0), RAD(0)), 1 / Animation_Speed) | |
1228 | RightHip.C1 = Clerp(RightHip.C1, CF(0.5*SIZE, 1*SIZE, 0) * ANGLES(RAD(0), RAD(90), RAD(0)) * ANGLES(RAD(0), RAD(0), RAD(0)), 1 / Animation_Speed) | |
1229 | LeftHip.C1 = Clerp(LeftHip.C1, CF(-0.5*SIZE, 1*SIZE, 0) * ANGLES(RAD(0), RAD(-90), RAD(0)) * ANGLES(RAD(0), RAD(0), RAD(0)), 1 / Animation_Speed) | |
1230 | end | |
1231 | if HITFLOOR == nil then | |
1232 | ANIM = "Midair" | |
1233 | if ATTACK == false then | |
1234 | RootJoint.C0 = Clerp(RootJoint.C0, ROOTC0 * CF(0*SIZE, 0*SIZE, 0*SIZE) * ANGLES(RAD(15), RAD(0), RAD(0)), 1 / Animation_Speed) | |
1235 | Neck.C0 = Clerp(Neck.C0, NECKC0 * CF(0*SIZE, 0*SIZE, 0 + ((1*SIZE) - 1)) * ANGLES(RAD(0), RAD(0), RAD(0)), 1 / Animation_Speed) | |
1236 | RightShoulder.C0 = Clerp(RightShoulder.C0, CF(1.45*SIZE, 0.15*SIZE, -0.5*SIZE) * ANGLES(RAD(145), RAD(0), RAD(0)) * RIGHTSHOULDERC0, 1 / Animation_Speed) | |
1237 | LeftShoulder.C0 = Clerp(LeftShoulder.C0, CF(-1.5*SIZE, 0.45*SIZE, 0.3*SIZE) * ANGLES(RAD(35), RAD(0), RAD(0)) * LEFTSHOULDERC0, 1 / Animation_Speed) | |
1238 | RightHip.C0 = Clerp(RightHip.C0, CF(1*SIZE, -0.2*SIZE, -0.7*SIZE) * ANGLES(RAD(0), RAD(80), RAD(0)) * ANGLES(RAD(0), RAD(0), RAD(20)), 1 / Animation_Speed) | |
1239 | LeftHip.C0 = Clerp(LeftHip.C0, CF(-1*SIZE, -1*SIZE, 0*SIZE) * ANGLES(RAD(0), RAD(-80), RAD(0)) * ANGLES(RAD(0), RAD(0), RAD(10)), 1 / Animation_Speed) | |
1240 | end | |
1241 | elseif TORSOVELOCITY < 1 and HITFLOOR ~= nil then | |
1242 | ANIM = "Idle" | |
1243 | if ATTACK == false then | |
1244 | RootJoint.C0 = Clerp(RootJoint.C0,ROOTC0 * CF(0*SIZE, 0*SIZE, 0*SIZE) * ANGLES(RAD(0), RAD(0), RAD(0)), 1 / Animation_Speed) | |
1245 | Neck.C0 = Clerp(Neck.C0, NECKC0 * CF(0, 0, 0 + ((1*SIZE) - 1)) * ANGLES(RAD(0), RAD(0), RAD(0)), 1 / Animation_Speed) | |
1246 | - | ORA.SoundId = "rbxassetid://791374350" |
1246 | + | |
1247 | LeftShoulder.C0 = Clerp(LeftShoulder.C0, CF(-1.55*SIZE, 0.5*SIZE, 0.1*SIZE) * ANGLES(RAD(15), RAD(0), RAD(12)) * LEFTSHOULDERC0, 1 / Animation_Speed) | |
1248 | RightHip.C0 = Clerp(RightHip.C0, CF(1*SIZE, -1*SIZE - 0.05*SIZE, -0.01*SIZE) * ANGLES(RAD(0), RAD(70), RAD(0)) * ANGLES(RAD(-2), RAD(0), RAD(0)), 1 / Animation_Speed) | |
1249 | LeftHip.C0 = Clerp(LeftHip.C0, CF(-1*SIZE, -1*SIZE - 0.05*SIZE, -0.01*SIZE) * ANGLES(RAD(0), RAD(-70), RAD(0)) * ANGLES(RAD(-2), RAD(0), RAD(0)), 1 / Animation_Speed) | |
1250 | end | |
1251 | - | muda.SoundId = "rbxassetid://904811971" |
1251 | + | |
1252 | ANIM = "Walk" | |
1253 | - | muda.Pitch = (MRANDOM(80,140)/100)+0.13 |
1253 | + | |
1254 | RootJoint.C0 = Clerp(RootJoint.C0,ROOTC0 * CF(0*SIZE, 0*SIZE, -0.1*SIZE) * ANGLES(RAD(20), RAD(0), RAD(0)), 1 / Animation_Speed) | |
1255 | Neck.C0 = Clerp(Neck.C0, NECKC0 * CF(0, 0, 0 + ((1*SIZE) - 1)) * ANGLES(RAD(-10), RAD(0), RAD(0)), 1/ Animation_Speed) | |
1256 | RightShoulder.C0 = Clerp(RightShoulder.C0, CF(1.5*SIZE, (0.35+0.15 * COS(SINE / WALKSPEEDVALUE))*SIZE, 0*SIZE) * ANGLES(RAD(25+70 * COS(SINE / WALKSPEEDVALUE)), RAD(0), RAD(5)) * RIGHTSHOULDERC0, 1 / Animation_Speed) | |
1257 | LeftShoulder.C0 = Clerp(LeftShoulder.C0, CF(-1.5*SIZE, (0.35-0.15 * COS(SINE / WALKSPEEDVALUE))*SIZE, 0*SIZE) * ANGLES(RAD(25-70 * COS(SINE / WALKSPEEDVALUE)), RAD(0), RAD(-5)) * LEFTSHOULDERC0, 1 / Animation_Speed) | |
1258 | RightHip.C0 = Clerp(RightHip.C0, CF(1*SIZE , -1*SIZE, 0*SIZE) * ANGLES(RAD(0), RAD(90), RAD(0)) * ANGLES(RAD(0), RAD(0), RAD(-15)), 2 / Animation_Speed) | |
1259 | LeftHip.C0 = Clerp(LeftHip.C0, CF(-1*SIZE, -1*SIZE, 0*SIZE) * ANGLES(RAD(0), RAD(-90), RAD(0)) * ANGLES(RAD(0), RAD(0), RAD(15)), 2 / Animation_Speed) | |
1260 | end | |
1261 | end | |
1262 | unanchor() | |
1263 | Humanoid.MaxHealth = 5e7 | |
1264 | Humanoid.Health = 5e7 | |
1265 | Humanoid.Name = "BigJoJoFanBoie" | |
1266 | if Rooted == false then | |
1267 | Disable_Jump = false | |
1268 | Humanoid.WalkSpeed = Speed | |
1269 | elseif Rooted == true then | |
1270 | Disable_Jump = true | |
1271 | Humanoid.WalkSpeed = 0 | |
1272 | end | |
1273 | for _, c in pairs(Character:GetChildren()) do | |
1274 | if c.ClassName == "Part" then | |
1275 | c.Material = "SmoothPlastic" | |
1276 | if c:FindFirstChildOfClass("ParticleEmitter") then | |
1277 | c:FindFirstChildOfClass("ParticleEmitter"):remove() | |
1278 | end | |
1279 | if c == Torso or c.Name == "Muscle" then | |
1280 | c.BrickColor = BRICKC"Bright blue" | |
1281 | elseif c == RightLeg or c == LeftLeg then | |
1282 | c.BrickColor = BRICKC"Br. yellowish green" | |
1283 | else | |
1284 | c.BrickColor = BRICKC"Bright yellow" | |
1285 | end | |
1286 | if c == Head and ATTACK == false then | |
1287 | if c:FindFirstChild("face") then | |
1288 | c.face.Texture = "http://www.roblox.com/asset/?id=145914523" | |
1289 | end | |
1290 | end | |
1291 | elseif c.ClassName == "CharacterMesh" or c.ClassName == "Accessory" or c.Name == "Body Colors" then | |
1292 | c:remove() | |
1293 | elseif (c.ClassName == "Shirt" or c.ClassName == "Pants") and c.Name ~= "Cloth" then | |
1294 | c:remove() | |
1295 | end | |
1296 | end | |
1297 | if ATTACK == false then | |
1298 | sick.SoundId = "rbxassetid://292480358" | |
1299 | sick.Looped = true | |
1300 | sick.Pitch = (MRANDOM(95,105)/100)+0.1 | |
1301 | sick.Volume = 2.5 | |
1302 | sick:Resume() | |
1303 | end | |
1304 | sick.Parent = Torso | |
1305 | ORA.SoundId = "rbxassetid://2553978464" | |
1306 | ORA.Looped = false | |
1307 | ORA.Pitch = (MRANDOM(90,110)/100)+0.13 | |
1308 | ORA.Volume = 10 | |
1309 | ORA.Parent = Torso | |
1310 | muda.SoundId = "rbxassetid://869166432" | |
1311 | muda.Looped = false | |
1312 | muda.Pitch = 100 | |
1313 | muda.Volume = 10 | |
1314 | muda.Parent = Torso | |
1315 | Humanoid.JumpPower = 150 | |
1316 | TEXT.Text = KILLCOUNT | |
1317 | if 0 < #Effects then | |
1318 | for e = 1, #Effects do | |
1319 | if Effects[e] ~= nil then | |
1320 | local Thing = Effects[e] | |
1321 | if Thing ~= nil then | |
1322 | local Part = Thing[1] | |
1323 | local Mode = Thing[2] | |
1324 | local Delay = Thing[3] | |
1325 | local IncX = Thing[4] | |
1326 | local IncY = Thing[5] | |
1327 | local IncZ = Thing[6] | |
1328 | if 1 >= Thing[1].Transparency then | |
1329 | if Thing[2] == "Block1" then | |
1330 | Thing[1].CFrame = Thing[1].CFrame * CFrame.fromEulerAnglesXYZ(math.random(-50, 50), math.random(-50, 50), math.random(-50, 50)) | |
1331 | local Mesh = Thing[1].Mesh | |
1332 | Mesh.Scale = Mesh.Scale + Vector3.new(Thing[4], Thing[5], Thing[6]) | |
1333 | Thing[1].Transparency = Thing[1].Transparency + Thing[3] | |
1334 | elseif Thing[2] == "Block2" then | |
1335 | Thing[1].CFrame = Thing[1].CFrame + Vector3.new(0, 0, 0) | |
1336 | local Mesh = Thing[7] | |
1337 | Mesh.Scale = Mesh.Scale + Vector3.new(Thing[4], Thing[5], Thing[6]) | |
1338 | Thing[1].Transparency = Thing[1].Transparency + Thing[3] | |
1339 | elseif Thing[2] == "Block3" then | |
1340 | Thing[1].CFrame = Thing[1].CFrame * CFrame.fromEulerAnglesXYZ(math.random(-50, 50), math.random(-50, 50), math.random(-50, 50)) + Vector3.new(0, 0.15, 0) | |
1341 | local Mesh = Thing[7] | |
1342 | Mesh.Scale = Mesh.Scale + Vector3.new(Thing[4], Thing[5], Thing[6]) | |
1343 | Thing[1].Transparency = Thing[1].Transparency + Thing[3] | |
1344 | elseif Thing[2] == "Cylinder" then | |
1345 | local Mesh = Thing[1].Mesh | |
1346 | Mesh.Scale = Mesh.Scale + Vector3.new(Thing[4], Thing[5], Thing[6]) | |
1347 | Thing[1].Transparency = Thing[1].Transparency + Thing[3] | |
1348 | elseif Thing[2] == "Blood" then | |
1349 | local Mesh = Thing[7] | |
1350 | Thing[1].CFrame = Thing[1].CFrame * Vector3.new(0, 0.5, 0) | |
1351 | Mesh.Scale = Mesh.Scale + Vector3.new(Thing[4], Thing[5], Thing[6]) | |
1352 | Thing[1].Transparency = Thing[1].Transparency + Thing[3] | |
1353 | elseif Thing[2] == "Elec" then local Mesh = Thing[1].Mesh | |
1354 | Mesh.Scale = Mesh.Scale + Vector3.new(Thing[7], Thing[8], Thing[9]) | |
1355 | Thing[1].Transparency = Thing[1].Transparency + Thing[3] | |
1356 | elseif Thing[2] == "Disappear" then | |
1357 | Thing[1].Transparency = Thing[1].Transparency + Thing[3] | |
1358 | elseif Thing[2] == "Shatter" then | |
1359 | Thing[1].Transparency = Thing[1].Transparency + Thing[3] | |
1360 | Thing[4] = Thing[4] * CFrame.new(0, Thing[7], 0) | |
1361 | Thing[1].CFrame = Thing[4] * CFrame.fromEulerAnglesXYZ(Thing[6], 0, 0) | |
1362 | Thing[6] = Thing[6] + Thing[5] | |
1363 | end | |
1364 | else | |
1365 | Part.Parent = nil | |
1366 | table.remove(Effects, e) | |
1367 | end | |
1368 | end | |
1369 | end | |
1370 | end | |
1371 | end | |
1372 | end | |
1373 | ||
1374 | --//=================================\\ | |
1375 | --\\=================================// | |
1376 | ||
1377 | ||
1378 | ||
1379 | ||
1380 | ||
1381 | --//====================================================\\-- | |
1382 | --|| END OF SCRIPT | |
1383 | --\\====================================================//-- |