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