SHOW:
|
|
- or go back to the newest paste.
1 | ---//====================================================\\-- | |
2 | --|| 'Calmed Murderer' BY SHACKLUSTER | |
3 | --|| EDIT BY WANTH092 | |
4 | --|| TASTE OF BLOOD. | |
5 | --|| IT'S MURDER, WAS IT WORTH IT? | |
6 | --|| THIS IS YOUR FAULTH, YOU CHOSE THIS PATH. | |
7 | --\\====================================================//-- | |
8 | ||
9 | wait(0.2) | |
10 | ||
11 | Player = game:GetService("Players").LocalPlayer | |
12 | Mouse = Player:GetMouse() | |
13 | PlayerGui = Player.PlayerGui | |
14 | Cam = workspace.CurrentCamera | |
15 | Backpack = Player.Backpack | |
16 | Character = Player.Character | |
17 | Humanoid = Character.Humanoid | |
18 | RootPart = Character["HumanoidRootPart"] | |
19 | Torso = Character["Torso"] | |
20 | Head = Character["Head"] | |
21 | RightArm = Character["Right Arm"] | |
22 | LeftArm = Character["Left Arm"] | |
23 | RightLeg = Character["Right Leg"] | |
24 | LeftLeg = Character["Left Leg"] | |
25 | RootJoint = RootPart["RootJoint"] | |
26 | Neck = Torso["Neck"] | |
27 | RightShoulder = Torso["Right Shoulder"] | |
28 | LeftShoulder = Torso["Left Shoulder"] | |
29 | RightHip = Torso["Right Hip"] | |
30 | LeftHip = Torso["Left Hip"] | |
31 | ||
32 | IT = Instance.new | |
33 | CF = CFrame.new | |
34 | VT = Vector3.new | |
35 | RAD = math.rad | |
36 | C3 = Color3.new | |
37 | UD2 = UDim2.new | |
38 | BRICKC = BrickColor.new | |
39 | ANGLES = CFrame.Angles | |
40 | EULER = CFrame.fromEulerAnglesXYZ | |
41 | COS = math.cos | |
42 | ACOS = math.acos | |
43 | SIN = math.sin | |
44 | ASIN = math.asin | |
45 | ABS = math.abs | |
46 | MRANDOM = math.random | |
47 | FLOOR = math.floor | |
48 | ||
49 | --//=================================\\ | |
50 | --|| USEFUL VALUES | |
51 | --\\=================================// | |
52 | ||
53 | Animation_Speed = 3 | |
54 | Frame_Speed = 1 / 60 -- (1 / 30) OR (1 / 60) | |
55 | local Speed = 20 | |
56 | local ROOTC0 = CF(0, 0, 0) * ANGLES(RAD(-90), RAD(0), RAD(180)) | |
57 | local NECKC0 = CF(0, 1, 0) * ANGLES(RAD(-90), RAD(0), RAD(180)) | |
58 | local RIGHTSHOULDERC0 = CF(-0.5, 0, 0) * ANGLES(RAD(0), RAD(90), RAD(0)) | |
59 | local LEFTSHOULDERC0 = CF(0.5, 0, 0) * ANGLES(RAD(0), RAD(-90), RAD(0)) | |
60 | local DAMAGEMULTIPLIER = 1 | |
61 | local ANIM = "Idle" | |
62 | local ATTACK = false | |
63 | local EQUIPPED = false | |
64 | local HOLD = false | |
65 | local COMBO = 1 | |
66 | local Rooted = false | |
67 | local SINE = 0 | |
68 | local KEYHOLD = false | |
69 | local CHANGE = 2 / Animation_Speed | |
70 | local WALKINGANIM = false | |
71 | local VALUE1 = false | |
72 | local VALUE2 = false | |
73 | local ROBLOXIDLEANIMATION = IT("Animation") | |
74 | ROBLOXIDLEANIMATION.Name = "Roblox Idle Animation" | |
75 | ROBLOXIDLEANIMATION.AnimationId = "http://www.roblox.com/asset/?id=180435571" | |
76 | --ROBLOXIDLEANIMATION.Parent = Humanoid | |
77 | local WEAPONGUI = IT("ScreenGui", PlayerGui) | |
78 | WEAPONGUI.Name = "[M U R D E R]" | |
79 | local Effects = IT("Folder", Character) | |
80 | Effects.Name = "Effects" | |
81 | local Weapon = IT("Folder", Character) | |
82 | Weapon.Name = "Weapon" | |
83 | local KnifeF = IT("Folder", Character) | |
84 | KnifeF.Name = "KnifeF" | |
85 | local Horn1 = IT("Folder", Character) | |
86 | Horn1.Name = "Horn1" | |
87 | local Horn2 = IT("Folder", Character) | |
88 | Horn2.Name = "Horn2" | |
89 | local Axe = IT("Folder", Character) | |
90 | Axe.Name = "Axe" | |
91 | local ANIMATOR = Humanoid.Animator | |
92 | local ANIMATE = Character.Animate | |
93 | local UNANCHOR = true | |
94 | local FACE = 300139178 | |
95 | - | local MODE = "Murderer" |
95 | + | local MODE = "MICHEAL THE EVELYN SLAVE" |
96 | ||
97 | for i,v in pairs(char:children()) do | |
98 | if v:IsA("Shirt") and v:IsA("Pants") and v:IsA("Hat") and v:IsA("Accessory") then | |
99 | v:Remove() | |
100 | end | |
101 | end | |
102 | shirt = Instance.new("Shirt", char) | |
103 | shirt.Name = "Shirt" | |
104 | pants = Instance.new("Pants", char) | |
105 | pants.Name = "Pants" | |
106 | char.Shirt.ShirtTemplate = "rbxassetid://58751185" | |
107 | char.Pants.PantsTemplate = "rbxassetid://58751185" | |
108 | ||
109 | ||
110 | --//=================================\\ | |
111 | --\\=================================// | |
112 | ||
113 | ||
114 | --//=================================\\ | |
115 | --|| SAZERENOS' ARTIFICIAL HEARTBEAT | |
116 | --\\=================================// | |
117 | ||
118 | ArtificialHB = Instance.new("BindableEvent", script) | |
119 | ArtificialHB.Name = "ArtificialHB" | |
120 | ||
121 | script:WaitForChild("ArtificialHB") | |
122 | ||
123 | frame = Frame_Speed | |
124 | tf = 0 | |
125 | allowframeloss = false | |
126 | tossremainder = false | |
127 | lastframe = tick() | |
128 | script.ArtificialHB:Fire() | |
129 | ||
130 | game:GetService("RunService").Heartbeat:connect(function(s, p) | |
131 | tf = tf + s | |
132 | if tf >= frame then | |
133 | if allowframeloss then | |
134 | script.ArtificialHB:Fire() | |
135 | lastframe = tick() | |
136 | else | |
137 | for i = 1, math.floor(tf / frame) do | |
138 | script.ArtificialHB:Fire() | |
139 | end | |
140 | lastframe = tick() | |
141 | end | |
142 | if tossremainder then | |
143 | tf = 0 | |
144 | else | |
145 | tf = tf - frame * math.floor(tf / frame) | |
146 | end | |
147 | end | |
148 | end) | |
149 | ||
150 | --//=================================\\ | |
151 | --\\=================================// | |
152 | ||
153 | --//=================================\\ | |
154 | --|| SOME FUNCTIONS | |
155 | --\\=================================// | |
156 | ||
157 | function Raycast(POSITION, DIRECTION, RANGE, IGNOREDECENDANTS) | |
158 | return workspace:FindPartOnRay(Ray.new(POSITION, DIRECTION.unit * RANGE), IGNOREDECENDANTS) | |
159 | end | |
160 | ||
161 | function PositiveAngle(NUMBER) | |
162 | if NUMBER >= 0 then | |
163 | NUMBER = 0 | |
164 | end | |
165 | return NUMBER | |
166 | end | |
167 | ||
168 | function NegativeAngle(NUMBER) | |
169 | if NUMBER <= 0 then | |
170 | NUMBER = 0 | |
171 | end | |
172 | return NUMBER | |
173 | end | |
174 | ||
175 | function Swait(NUMBER) | |
176 | if NUMBER == 0 or NUMBER == nil then | |
177 | ArtificialHB.Event:wait() | |
178 | else | |
179 | for i = 1, NUMBER do | |
180 | ArtificialHB.Event:wait() | |
181 | end | |
182 | end | |
183 | end | |
184 | ||
185 | function CreateMesh(MESH, PARENT, MESHTYPE, MESHID, TEXTUREID, SCALE, OFFSET) | |
186 | local NEWMESH = IT(MESH) | |
187 | if MESH == "SpecialMesh" then | |
188 | NEWMESH.MeshType = MESHTYPE | |
189 | if MESHID ~= "nil" and MESHID ~= "" then | |
190 | NEWMESH.MeshId = "http://www.roblox.com/asset/?id="..MESHID | |
191 | end | |
192 | if TEXTUREID ~= "nil" and TEXTUREID ~= "" then | |
193 | NEWMESH.TextureId = "http://www.roblox.com/asset/?id="..TEXTUREID | |
194 | end | |
195 | end | |
196 | NEWMESH.Offset = OFFSET or VT(0, 0, 0) | |
197 | NEWMESH.Scale = SCALE | |
198 | NEWMESH.Parent = PARENT | |
199 | return NEWMESH | |
200 | end | |
201 | ||
202 | function CreatePart(FORMFACTOR, PARENT, MATERIAL, REFLECTANCE, TRANSPARENCY, BRICKCOLOR, NAME, SIZE, ANCHOR) | |
203 | local NEWPART = IT("Part") | |
204 | NEWPART.formFactor = FORMFACTOR | |
205 | NEWPART.Reflectance = REFLECTANCE | |
206 | NEWPART.Transparency = TRANSPARENCY | |
207 | NEWPART.CanCollide = false | |
208 | NEWPART.Locked = true | |
209 | NEWPART.Anchored = true | |
210 | if ANCHOR == false then | |
211 | NEWPART.Anchored = false | |
212 | end | |
213 | NEWPART.BrickColor = BRICKC(tostring(BRICKCOLOR)) | |
214 | NEWPART.Name = NAME | |
215 | NEWPART.Size = SIZE | |
216 | NEWPART.Position = Torso.Position | |
217 | NEWPART.Material = MATERIAL | |
218 | NEWPART:BreakJoints() | |
219 | NEWPART.Parent = PARENT | |
220 | return NEWPART | |
221 | end | |
222 | ||
223 | local function weldBetween(a, b) | |
224 | local weldd = Instance.new("ManualWeld") | |
225 | weldd.Part0 = a | |
226 | weldd.Part1 = b | |
227 | weldd.C0 = CFrame.new() | |
228 | weldd.C1 = b.CFrame:inverse() * a.CFrame | |
229 | weldd.Parent = a | |
230 | return weldd | |
231 | end | |
232 | ||
233 | ||
234 | function QuaternionFromCFrame(cf) | |
235 | local mx, my, mz, m00, m01, m02, m10, m11, m12, m20, m21, m22 = cf:components() | |
236 | local trace = m00 + m11 + m22 | |
237 | if trace > 0 then | |
238 | local s = math.sqrt(1 + trace) | |
239 | local recip = 0.5 / s | |
240 | return (m21 - m12) * recip, (m02 - m20) * recip, (m10 - m01) * recip, s * 0.5 | |
241 | else | |
242 | local i = 0 | |
243 | if m11 > m00 then | |
244 | i = 1 | |
245 | end | |
246 | if m22 > (i == 0 and m00 or m11) then | |
247 | i = 2 | |
248 | end | |
249 | if i == 0 then | |
250 | local s = math.sqrt(m00 - m11 - m22 + 1) | |
251 | local recip = 0.5 / s | |
252 | return 0.5 * s, (m10 + m01) * recip, (m20 + m02) * recip, (m21 - m12) * recip | |
253 | elseif i == 1 then | |
254 | local s = math.sqrt(m11 - m22 - m00 + 1) | |
255 | local recip = 0.5 / s | |
256 | return (m01 + m10) * recip, 0.5 * s, (m21 + m12) * recip, (m02 - m20) * recip | |
257 | elseif i == 2 then | |
258 | local s = math.sqrt(m22 - m00 - m11 + 1) | |
259 | local recip = 0.5 / s return (m02 + m20) * recip, (m12 + m21) * recip, 0.5 * s, (m10 - m01) * recip | |
260 | end | |
261 | end | |
262 | end | |
263 | ||
264 | function QuaternionToCFrame(px, py, pz, x, y, z, w) | |
265 | local xs, ys, zs = x + x, y + y, z + z | |
266 | local wx, wy, wz = w * xs, w * ys, w * zs | |
267 | local xx = x * xs | |
268 | local xy = x * ys | |
269 | local xz = x * zs | |
270 | local yy = y * ys | |
271 | local yz = y * zs | |
272 | local zz = z * zs | |
273 | 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)) | |
274 | end | |
275 | ||
276 | function PuddleOfBlood(Position,MaxDrop,Model,MaxSize) | |
277 | local HITFLOOR, HITPOS = Raycast(Position, (CF(Position, Position + VT(0, -1, 0))).lookVector, MaxDrop, Model) | |
278 | if HITFLOOR ~= nil then | |
279 | if HITFLOOR.Parent ~= Weapon and HITFLOOR.Parent ~= Character then | |
280 | if HITFLOOR.Name == "BloodPuddle" then | |
281 | local DIST = (Position - HITFLOOR.Position).Magnitude | |
282 | if (HITFLOOR.Size.Z <= 5 and HITFLOOR.Size.Z < MaxSize) or (HITFLOOR.Size.Z > 5 and HITFLOOR.Size.Z < MaxSize and DIST < HITFLOOR.Size.Z/3) then | |
283 | HITFLOOR.Size = HITFLOOR.Size + VT(0.1,0,0.1) | |
284 | end | |
285 | else | |
286 | if HITFLOOR.Anchored == true then | |
287 | local BLOOD = CreatePart(3, Effects, "Glass", 0, 0, "Maroon", "BloodPuddle", VT(1,0,1)) | |
288 | BLOOD.CFrame = CF(HITPOS) | |
289 | MakeForm(BLOOD,"Cyl") | |
290 | coroutine.resume(coroutine.create(function() | |
291 | Swait(75) | |
292 | while true do | |
293 | Swait() | |
294 | BLOOD.Size = BLOOD.Size - VT(0.02,0,0.02) | |
295 | if BLOOD.Size.Z < 0.051 then | |
296 | BLOOD:remove() | |
297 | break | |
298 | end | |
299 | end | |
300 | end)) | |
301 | end | |
302 | end | |
303 | end | |
304 | end | |
305 | end | |
306 | ||
307 | function SprayBlood(POSITION,DIRECTION,BloodSize) | |
308 | local BLOOD = CreatePart(3, Effects, "Glass", 0, 0, "Maroon", "BloodPuddle", VT(0.5,0.5,0.5),false) | |
309 | BLOOD.CFrame = CF(POSITION) | |
310 | MakeForm(BLOOD,"Ball") | |
311 | local bv = Instance.new("BodyVelocity",BLOOD) | |
312 | bv.maxForce = Vector3.new(1e9, 1e9, 1e9) | |
313 | bv.velocity = CF(POSITION,DIRECTION+VT(MRANDOM(-3,3)/30,MRANDOM(-3,3)/30,MRANDOM(-3,3)/30)).lookVector*15 | |
314 | bv.Name = "MOVE" | |
315 | Debris:AddItem(bv,0.05) | |
316 | coroutine.resume(coroutine.create(function() | |
317 | local HASTOUCHEDGROUND = false | |
318 | local HIT = BLOOD.Touched:Connect(function(hit) | |
319 | if hit.Anchored == true then | |
320 | HASTOUCHEDGROUND = true | |
321 | PuddleOfBlood(BLOOD.Position+VT(0,1,0),2,BLOOD,BloodSize) | |
322 | end | |
323 | end) | |
324 | for i = 1, 50 do | |
325 | Swait() | |
326 | if HASTOUCHEDGROUND == true then | |
327 | break | |
328 | end | |
329 | BLOOD.Size = BLOOD.Size * 0.9 | |
330 | end | |
331 | BLOOD:remove() | |
332 | end)) | |
333 | end | |
334 | ||
335 | function QuaternionSlerp(a, b, t) | |
336 | local cosTheta = a[1] * b[1] + a[2] * b[2] + a[3] * b[3] + a[4] * b[4] | |
337 | local startInterp, finishInterp; | |
338 | if cosTheta >= 0.0001 then | |
339 | if (1 - cosTheta) > 0.0001 then | |
340 | local theta = ACOS(cosTheta) | |
341 | local invSinTheta = 1 / SIN(theta) | |
342 | startInterp = SIN((1 - t) * theta) * invSinTheta | |
343 | finishInterp = SIN(t * theta) * invSinTheta | |
344 | else | |
345 | startInterp = 1 - t | |
346 | finishInterp = t | |
347 | end | |
348 | else | |
349 | if (1 + cosTheta) > 0.0001 then | |
350 | local theta = ACOS(-cosTheta) | |
351 | local invSinTheta = 1 / SIN(theta) | |
352 | startInterp = SIN((t - 1) * theta) * invSinTheta | |
353 | finishInterp = SIN(t * theta) * invSinTheta | |
354 | else | |
355 | startInterp = t - 1 | |
356 | finishInterp = t | |
357 | end | |
358 | end | |
359 | 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 | |
360 | end | |
361 | ||
362 | function Clerp(a, b, t) | |
363 | local qa = {QuaternionFromCFrame(a)} | |
364 | local qb = {QuaternionFromCFrame(b)} | |
365 | local ax, ay, az = a.x, a.y, a.z | |
366 | local bx, by, bz = b.x, b.y, b.z | |
367 | local _t = 1 - t | |
368 | return QuaternionToCFrame(_t * ax + t * bx, _t * ay + t * by, _t * az + t * bz, QuaternionSlerp(qa, qb, t)) | |
369 | end | |
370 | ||
371 | function CreateFrame(PARENT, TRANSPARENCY, BORDERSIZEPIXEL, POSITION, SIZE, COLOR, BORDERCOLOR, NAME) | |
372 | local frame = IT("Frame") | |
373 | frame.BackgroundTransparency = TRANSPARENCY | |
374 | frame.BorderSizePixel = BORDERSIZEPIXEL | |
375 | frame.Position = POSITION | |
376 | frame.Size = SIZE | |
377 | frame.BackgroundColor3 = COLOR | |
378 | frame.BorderColor3 = BORDERCOLOR | |
379 | frame.Name = NAME | |
380 | frame.Parent = PARENT | |
381 | return frame | |
382 | end | |
383 | ||
384 | function CreateLabel(PARENT, TEXT, TEXTCOLOR, TEXTFONTSIZE, TEXTFONT, TRANSPARENCY, BORDERSIZEPIXEL, STROKETRANSPARENCY, NAME) | |
385 | local label = IT("TextLabel") | |
386 | label.BackgroundTransparency = 1 | |
387 | label.Size = UD2(1, 0, 1, 0) | |
388 | label.Position = UD2(0, 0, 0, 0) | |
389 | label.TextColor3 = TEXTCOLOR | |
390 | label.TextStrokeTransparency = STROKETRANSPARENCY | |
391 | label.TextTransparency = TRANSPARENCY | |
392 | label.FontSize = TEXTFONTSIZE | |
393 | label.Font = TEXTFONT | |
394 | label.BorderSizePixel = BORDERSIZEPIXEL | |
395 | label.TextScaled = false | |
396 | label.Text = TEXT | |
397 | label.Name = NAME | |
398 | label.Parent = PARENT | |
399 | return label | |
400 | end | |
401 | ||
402 | function NoOutlines(PART) | |
403 | PART.TopSurface, PART.BottomSurface, PART.LeftSurface, PART.RightSurface, PART.FrontSurface, PART.BackSurface = 10, 10, 10, 10, 10, 10 | |
404 | end | |
405 | ||
406 | function CreateWeldOrSnapOrMotor(TYPE, PARENT, PART0, PART1, C0, C1) | |
407 | local NEWWELD = IT(TYPE) | |
408 | NEWWELD.Part0 = PART0 | |
409 | NEWWELD.Part1 = PART1 | |
410 | NEWWELD.C0 = C0 | |
411 | NEWWELD.C1 = C1 | |
412 | NEWWELD.Parent = PARENT | |
413 | return NEWWELD | |
414 | end | |
415 | ||
416 | local S = IT("Sound") | |
417 | function CreateSound(ID, PARENT, VOLUME, PITCH, DOESLOOP) | |
418 | local NEWSOUND = nil | |
419 | coroutine.resume(coroutine.create(function() | |
420 | NEWSOUND = S:Clone() | |
421 | NEWSOUND.Parent = PARENT | |
422 | NEWSOUND.Volume = VOLUME | |
423 | NEWSOUND.Pitch = PITCH | |
424 | NEWSOUND.SoundId = "http://www.roblox.com/asset/?id="..ID | |
425 | NEWSOUND:play() | |
426 | if DOESLOOP == true then | |
427 | NEWSOUND.Looped = true | |
428 | else | |
429 | repeat wait(1) until NEWSOUND.Playing == false | |
430 | NEWSOUND:remove() | |
431 | end | |
432 | end)) | |
433 | return NEWSOUND | |
434 | end | |
435 | local asd = Instance.new("ParticleEmitter") | |
436 | asd.Color = ColorSequence.new(Color3.new(0.5, 0, 0), Color3.new(.1, 0, 0)) | |
437 | asd.LightEmission = .1 | |
438 | asd.Size = NumberSequence.new(0.2) | |
439 | asd.Texture = "http://www.roblox.com/asset/?ID=291880914" | |
440 | aaa = NumberSequence.new({NumberSequenceKeypoint.new(0, 0.2),NumberSequenceKeypoint.new(1, 5)}) | |
441 | bbb = NumberSequence.new({NumberSequenceKeypoint.new(0, 1),NumberSequenceKeypoint.new(0.0636, 0), NumberSequenceKeypoint.new(1, 1)}) | |
442 | asd.Transparency = bbb | |
443 | asd.Size = aaa | |
444 | asd.ZOffset = .9 | |
445 | asd.Acceleration = Vector3.new(0, -5, 0) | |
446 | asd.LockedToPart = false | |
447 | asd.EmissionDirection = "Back" | |
448 | asd.Lifetime = NumberRange.new(1, 2) | |
449 | asd.Rotation = NumberRange.new(-100, 100) | |
450 | asd.RotSpeed = NumberRange.new(-100, 100) | |
451 | asd.Speed = NumberRange.new(2) | |
452 | asd.Enabled = false | |
453 | asd.VelocitySpread = 10000 | |
454 | ||
455 | function CFrameFromTopBack(at, top, back) | |
456 | local right = top:Cross(back) | |
457 | 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) | |
458 | end | |
459 | ||
460 | function getbloody(victim,amount) | |
461 | local prtcl = asd:Clone() | |
462 | prtcl.Parent = victim | |
463 | prtcl:Emit(amount) | |
464 | end | |
465 | ||
466 | function Ragdoll(Character2,CharTorso) | |
467 | local svch = Character2 | |
468 | local hum = Character2:findFirstChild("Humanoid") | |
469 | local q = Character2:GetChildren() | |
470 | local CLONE = IT("Model",Effects) | |
471 | local DummyHead = nil | |
472 | for i = 1,#q do | |
473 | if q[i].ClassName ~= "Humanoid" and q[i].ClassName ~= "LocalScript" and q[i].ClassName ~= "Script" and q[i].ClassName ~= "Accessory" and q[i].ClassName ~= "Hat" and q[i].ClassName ~= "Gear" then | |
474 | q[i].Parent = CLONE | |
475 | if q[i].Name == "Head" then | |
476 | DummyHead = CLONE.Head:Clone() | |
477 | q[i]:ClearAllChildren() | |
478 | q[i].Transparency = 1 | |
479 | end | |
480 | else | |
481 | if q[i].ClassName ~= "Humanoid" then | |
482 | q[i]:remove() | |
483 | end | |
484 | end | |
485 | end | |
486 | end | |
487 | ||
488 | --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}) | |
489 | function WACKYEFFECT(Table) | |
490 | local TYPE = (Table.EffectType or "Sphere") | |
491 | local SIZE = (Table.Size or VT(1,1,1)) | |
492 | local ENDSIZE = (Table.Size2 or VT(0,0,0)) | |
493 | local TRANSPARENCY = (Table.Transparency or 0) | |
494 | local ENDTRANSPARENCY = (Table.Transparency2 or 1) | |
495 | local CFRAME = (Table.CFrame or Torso.CFrame) | |
496 | local MOVEDIRECTION = (Table.MoveToPos or nil) | |
497 | local ROTATION1 = (Table.RotationX or 0) | |
498 | local ROTATION2 = (Table.RotationY or 0) | |
499 | local ROTATION3 = (Table.RotationZ or 0) | |
500 | local MATERIAL = (Table.Material or "Neon") | |
501 | local COLOR = (Table.Color or C3(1,1,1)) | |
502 | local TIME = (Table.Time or 45) | |
503 | local SOUNDID = (Table.SoundID or nil) | |
504 | local SOUNDPITCH = (Table.SoundPitch or nil) | |
505 | local SOUNDVOLUME = (Table.SoundVolume or nil) | |
506 | coroutine.resume(coroutine.create(function() | |
507 | local PLAYSSOUND = false | |
508 | local SOUND = nil | |
509 | local EFFECT = CreatePart(3, Effects, MATERIAL, 0, TRANSPARENCY, BRICKC("Pearl"), "Effect", VT(1,1,1), true) | |
510 | if SOUNDID ~= nil and SOUNDPITCH ~= nil and SOUNDVOLUME ~= nil then | |
511 | PLAYSSOUND = true | |
512 | SOUND = CreateSound(SOUNDID, EFFECT, SOUNDVOLUME, SOUNDPITCH, false) | |
513 | end | |
514 | EFFECT.Color = COLOR | |
515 | local MSH = nil | |
516 | if TYPE == "Sphere" then | |
517 | MSH = CreateMesh("SpecialMesh", EFFECT, "Sphere", "", "", SIZE, VT(0,0,0)) | |
518 | elseif TYPE == "Block" or TYPE == "Box" then | |
519 | MSH = IT("BlockMesh",EFFECT) | |
520 | MSH.Scale = SIZE | |
521 | elseif TYPE == "Wave" then | |
522 | MSH = CreateMesh("SpecialMesh", EFFECT, "FileMesh", "20329976", "", SIZE, VT(0,0,-SIZE.X/8)) | |
523 | elseif TYPE == "Ring" then | |
524 | MSH = CreateMesh("SpecialMesh", EFFECT, "FileMesh", "559831844", "", VT(SIZE.X,SIZE.X,0.1), VT(0,0,0)) | |
525 | elseif TYPE == "Slash" then | |
526 | MSH = CreateMesh("SpecialMesh", EFFECT, "FileMesh", "662586858", "", VT(SIZE.X/10,0,SIZE.X/10), VT(0,0,0)) | |
527 | elseif TYPE == "Round Slash" then | |
528 | MSH = CreateMesh("SpecialMesh", EFFECT, "FileMesh", "662585058", "", VT(SIZE.X/10,0,SIZE.X/10), VT(0,0,0)) | |
529 | elseif TYPE == "Swirl" then | |
530 | MSH = CreateMesh("SpecialMesh", EFFECT, "FileMesh", "1051557", "", SIZE, VT(0,0,0)) | |
531 | elseif TYPE == "Skull" then | |
532 | MSH = CreateMesh("SpecialMesh", EFFECT, "FileMesh", "4770583", "", SIZE, VT(0,0,0)) | |
533 | elseif TYPE == "Crystal" then | |
534 | MSH = CreateMesh("SpecialMesh", EFFECT, "FileMesh", "9756362", "", SIZE, VT(0,0,0)) | |
535 | end | |
536 | if MSH ~= nil then | |
537 | local MOVESPEED = nil | |
538 | if MOVEDIRECTION ~= nil then | |
539 | MOVESPEED = (CFRAME.p - MOVEDIRECTION).Magnitude/TIME | |
540 | end | |
541 | local GROWTH = SIZE - ENDSIZE | |
542 | local TRANS = TRANSPARENCY - ENDTRANSPARENCY | |
543 | if TYPE == "Block" then | |
544 | EFFECT.CFrame = CFRAME*ANGLES(RAD(MRANDOM(0,360)),RAD(MRANDOM(0,360)),RAD(MRANDOM(0,360))) | |
545 | else | |
546 | EFFECT.CFrame = CFRAME | |
547 | end | |
548 | for LOOP = 1, TIME+1 do | |
549 | Swait() | |
550 | MSH.Scale = MSH.Scale - GROWTH/TIME | |
551 | if TYPE == "Wave" then | |
552 | MSH.Offset = VT(0,0,-MSH.Scale.X/8) | |
553 | end | |
554 | EFFECT.Transparency = EFFECT.Transparency - TRANS/TIME | |
555 | if TYPE == "Block" then | |
556 | EFFECT.CFrame = CFRAME*ANGLES(RAD(MRANDOM(0,360)),RAD(MRANDOM(0,360)),RAD(MRANDOM(0,360))) | |
557 | else | |
558 | EFFECT.CFrame = EFFECT.CFrame*ANGLES(RAD(ROTATION1),RAD(ROTATION2),RAD(ROTATION3)) | |
559 | end | |
560 | if MOVEDIRECTION ~= nil then | |
561 | local ORI = EFFECT.Orientation | |
562 | EFFECT.CFrame = CF(EFFECT.Position,MOVEDIRECTION)*CF(0,0,-MOVESPEED) | |
563 | EFFECT.Orientation = ORI | |
564 | end | |
565 | end | |
566 | if PLAYSSOUND == false then | |
567 | EFFECT:remove() | |
568 | else | |
569 | repeat Swait() until EFFECT:FindFirstChildOfClass("Sound") == nil | |
570 | EFFECT:remove() | |
571 | end | |
572 | else | |
573 | if PLAYSSOUND == false then | |
574 | EFFECT:remove() | |
575 | else | |
576 | repeat Swait() until EFFECT:FindFirstChildOfClass("Sound") == nil | |
577 | EFFECT:remove() | |
578 | end | |
579 | end | |
580 | end)) | |
581 | end | |
582 | ||
583 | Debris = game:GetService("Debris") | |
584 | ||
585 | function CharacterFade(COLOR,TIMER) | |
586 | coroutine.resume(coroutine.create(function() | |
587 | local FADE = IT("Model",Effects) | |
588 | FADE.Name = "FadingEffect" | |
589 | for _, c in pairs(Character:GetChildren()) do | |
590 | if c.ClassName == "Part" and c ~= RootPart then | |
591 | local FADER = c:Clone() | |
592 | FADER.Color = COLOR | |
593 | FADER.CFrame = c.CFrame | |
594 | FADER.Parent = FADE | |
595 | FADER.Anchored = true | |
596 | FADER.Transparency = 0.25+c.Transparency | |
597 | FADER:BreakJoints() | |
598 | FADER.Material = "Neon" | |
599 | if FADER.Name == "Head" then | |
600 | FADER:ClearAllChildren() | |
601 | FADER.Size = VT(1,1,1) | |
602 | end | |
603 | FADER.CanCollide = false | |
604 | end | |
605 | end | |
606 | local TRANS = 0.75/TIMER | |
607 | for i = 1, TIMER do | |
608 | Swait() | |
609 | for _, c in pairs(FADE:GetChildren()) do | |
610 | if c.ClassName == "Part" then | |
611 | c.Transparency = c.Transparency + TRANS | |
612 | end | |
613 | end | |
614 | end | |
615 | FADE:remove() | |
616 | end)) | |
617 | end | |
618 | ||
619 | function Chunks(PART) | |
620 | for i = 1, MRANDOM(3,5) do | |
621 | coroutine.resume(coroutine.create(function() | |
622 | local CHUNK = CreatePart(3, workspace, PART.Material, 0, PART.Transparency, PART.BrickColor, "Chunk", VT(0.3,0.3,0.3)*MRANDOM(7,13)/10, false) | |
623 | CHUNK.CFrame = PART.CFrame*ANGLES(RAD(MRANDOM(0,360)),RAD(MRANDOM(0,360)),RAD(MRANDOM(0,360))) | |
624 | local CFRAME = PART.CFrame*CF(MRANDOM(-4,4)/2,MRANDOM(-4,4)/2,-6) | |
625 | CHUNK.Velocity = CF(PART.Position,CFRAME.p).lookVector*MRANDOM(15,65) | |
626 | wait(0.1) | |
627 | CHUNK.CanCollide = true | |
628 | wait(MRANDOM(15,25)/5) | |
629 | for i = 1, 25 do | |
630 | Swait() | |
631 | CHUNK.Transparency = CHUNK.Transparency + 1/25 | |
632 | end | |
633 | CHUNK:remove() | |
634 | end)) | |
635 | end | |
636 | end | |
637 | ||
638 | function CreateFlyingDebree(FLOOR,POSITION,AMOUNT,BLOCKSIZE,SWAIT,STRENGTH) | |
639 | if FLOOR ~= nil then | |
640 | for i = 1, AMOUNT do | |
641 | local DEBREE = CreatePart(3, Effects, "Neon", FLOOR.Reflectance, FLOOR.Transparency, "Peal", "Debree", BLOCKSIZE, false) | |
642 | DEBREE.Material = FLOOR.Material | |
643 | DEBREE.Color = FLOOR.Color | |
644 | DEBREE.CFrame = POSITION * ANGLES(RAD(MRANDOM(-360,360)),RAD(MRANDOM(-360,360)),RAD(MRANDOM(-360,360))) | |
645 | DEBREE.Velocity = VT(MRANDOM(-STRENGTH,STRENGTH),MRANDOM(-STRENGTH,STRENGTH),MRANDOM(-STRENGTH,STRENGTH)) | |
646 | coroutine.resume(coroutine.create(function() | |
647 | Swait(15) | |
648 | - | local Sin = {"murde rer","Mur derer","mU rderer","muRd erer","murDer er","mu rdErer","murdeR er","murder Er","mur dereR","MuRd erer","mUrDere r","m urDeRer","mur dErEr","Mur dereR","MUrde rer","muR Derer","murd ERer","murde rER","Mr Rderer","MurDe rer","Murd Erer","Mur deRer","Mu rderEr","mURder er","mUrD erer","mUrdEre r","m UrdeRer","m Ur derEr","mUrder eR","mu RdErer","muRdeR er","muR derEr","muRd ereR"} |
648 | + | |
649 | DEBREE.CanCollide = true | |
650 | Debris:AddItem(DEBREE,SWAIT) | |
651 | end)) | |
652 | end | |
653 | end | |
654 | end | |
655 | ||
656 | --//=================================\\ | |
657 | --|| SOME TAG EDIT | |
658 | --\\=================================// | |
659 | ||
660 | local Sin = {MICHEAL EVELYN SLAVE","MICHEAL EVELYN SLAVE","MICHEAL EVELYN SLAVE","MICHEAL EVELYN SLAVE","HE WILL BECOME SLAVE","HELP ME....","EVELYN SLAVE","SHE TURN ME IN THIS","IM DONT WANT KILL YOU","MuRd erer","mUrDere r","m urDeRer","mur dErEr","Mur dereR","MUrde rer","muR Derer","murd ERer","murde rER","Mr Rderer","MurDe rer","Murd Erer","Mur deRer","Mu rderEr","mURder er","mUrD erer","mUrdEre r","m UrdeRer","m Ur derEr","mUrder eR","mu RdErer","muRdeR er","muR derEr","muRd ereR"} | |
661 | ||
662 | m = game:GetService("Players").LocalPlayer | |
663 | char = m.Character | |
664 | local txt = Instance.new("BillboardGui", char) | |
665 | txt.Adornee = char.Head | |
666 | txt.Name = "_status" | |
667 | txt.Size = UDim2.new(2, 0, 1.2, 0) | |
668 | txt.StudsOffset = Vector3.new(-9, 10, 0) | |
669 | local text = Instance.new("TextLabel", txt) | |
670 | text.Size = UDim2.new(10, 0, 7, 0) | |
671 | text.FontSize = "Size24" | |
672 | text.TextScaled = true | |
673 | text.TextTransparency = 0 | |
674 | text.BackgroundTransparency = 1 | |
675 | text.TextTransparency = 0 | |
676 | text.TextStrokeTransparency = 0 | |
677 | text.Font = "Bodoni" | |
678 | text.TextStrokeColor3 = Color3.new(0, 0, 0) | |
679 | v = Instance.new("Part") | |
680 | v.Name = "ColorBrick" | |
681 | v.Parent = m.Character | |
682 | v.FormFactor = "Symmetric" | |
683 | v.Anchored = true | |
684 | v.CanCollide = false | |
685 | v.BottomSurface = "Smooth" | |
686 | v.TopSurface = "Smooth" | |
687 | v.Size = Vector3.new(10, 5, 3) | |
688 | v.Transparency = 1 | |
689 | v.CFrame = char.Torso.CFrame | |
690 | v.BrickColor = BrickColor.new("Really black") | |
691 | v.Transparency = 1 | |
692 | v.Shape = "Block" | |
693 | spawn(function() | |
694 | local TweenService = game:GetService("TweenService") | |
695 | local Colours = {Color3.fromRGB(255,0,0),Color3.fromRGB(0,0,0)} | |
696 | local Int = 0 | |
697 | while wait(0.5) do | |
698 | if Int == #Colours then Int = 0 end | |
699 | Int = Int+1 | |
700 | TweenService:Create(text,TweenInfo.new(1),{TextColor3 = Colours[Int]}):Play() | |
701 | end | |
702 | end) | |
703 | text.Text = Sin[MRANDOM(1,#Sin)] | |
704 | coroutine.resume(coroutine.create(function() | |
705 | repeat | |
706 | wait(0.005) | |
707 | text.Text = Sin[MRANDOM(1,#Sin)] | |
708 | until Humanoid.Health == 0 | |
709 | end)) | |
710 | ||
711 | ||
712 | coroutine.resume(coroutine.create(function() | |
713 | repeat | |
714 | for i = 1, 15 do | |
715 | Swait() | |
716 | text.Rotation = MRANDOM(-15,15) | |
717 | end | |
718 | until Humanoid.Health == 0 | |
719 | end)) | |
720 | ||
721 | function chatfunc(text) | |
722 | local chat = coroutine.wrap(function() | |
723 | if Character:FindFirstChild("TalkingBillBoard")~= nil then | |
724 | Character:FindFirstChild("TalkingBillBoard"):destroy() | |
725 | end | |
726 | local Bill = Instance.new("BillboardGui",Character) | |
727 | Bill.Size = UDim2.new(0,100,0,40) | |
728 | Bill.StudsOffset = Vector3.new(0,3,0) | |
729 | Bill.Adornee = Character.Head | |
730 | Bill.Name = "TalkingBillBoard" | |
731 | local Hehe = Instance.new("TextLabel",Bill) | |
732 | Hehe.BackgroundTransparency = 1 | |
733 | Hehe.BorderSizePixel = 0 | |
734 | Hehe.Text = "" | |
735 | Hehe.Font = "Fantasy" | |
736 | Hehe.TextSize = 40 | |
737 | Hehe.TextStrokeTransparency = 0 | |
738 | Hehe.Size = UDim2.new(1,0,0.5,0) | |
739 | coroutine.resume(coroutine.create(function() | |
740 | while Hehe ~= nil do | |
741 | wait() | |
742 | Hehe.Position = UDim2.new(math.random(-.4,.4),math.random(-5,5),.05,math.random(-5,5)) | |
743 | Hehe.Rotation = math.random(-5,5) | |
744 | Hehe.TextColor3 = Color3.new(0,0,0) | |
745 | Hehe.TextStrokeColor3 = Color3.new(255,0,0) | |
746 | end | |
747 | end)) | |
748 | for i = 1,string.len(text),1 do | |
749 | wait() | |
750 | Hehe.Text = string.sub(text,1,i) | |
751 | end | |
752 | wait(1.5)--Re[math.random(1, 93)] | |
753 | for i = 0, 1, .025 do | |
754 | wait() | |
755 | Bill.ExtentsOffset = Vector3.new(math.random(-i, i), math.random(-i, i), math.random(-i, i)) | |
756 | Hehe.TextStrokeTransparency = i | |
757 | Hehe.TextTransparency = i | |
758 | end | |
759 | Bill:Destroy() | |
760 | end) | |
761 | chat() | |
762 | end | |
763 | ||
764 | function onChatted(msg) | |
765 | chatfunc(msg) | |
766 | end | |
767 | ||
768 | Player.Chatted:connect(onChatted) | |
769 | ||
770 | ||
771 | --//=================================\\ | |
772 | --|| GUIS AND MISC | |
773 | --\\=================================// | |
774 | ||
775 | ||
776 | for i = 1, 10 do | |
777 | local FACE = CreatePart(3, Head, "Fabric", 0, 0+(i-1)/10.2, "Dark stone grey", "FaceGradient", VT(1.01,0.65,1.01),false) | |
778 | FACE.Color = C3(0,0,0) | |
779 | Head:FindFirstChildOfClass("SpecialMesh"):Clone().Parent = FACE | |
780 | CreateWeldOrSnapOrMotor("Weld", Head, Head, FACE, CF(0,0.28-(i-1)/30,0), CF(0, 0, 0)) | |
781 | end | |
782 | local LASTPART = Head | |
783 | for i = 1, 15 do | |
784 | local MATH = (1-(i/16)) | |
785 | if LASTPART == Head then | |
786 | local Horn = CreatePart(3, Horn1, "Granite", 0, 0, "Dirt brown", "Horn", VT(1,0.25,1),false) | |
787 | CreateWeldOrSnapOrMotor("Weld", Horn1, LASTPART, Horn, CF(0.45, 0.5, -0.15) * ANGLES(RAD(-35), RAD(5), RAD(-25)), CF(0, 0, 0)) | |
788 | LASTPART = Horn | |
789 | Horn.Color = C3((i/15),0,0) | |
790 | local MSH = IT("BlockMesh",Horn) | |
791 | MSH.Scale = VT(0.16*MATH,1,0.16*MATH) | |
792 | else | |
793 | local Horn = CreatePart(3, Horn1, "Granite", 0, 0, "Dirt brown", "Horn", VT(1,0.25,1),false) | |
794 | CreateWeldOrSnapOrMotor("Weld", Horn1, LASTPART, Horn, CF(0, Horn.Size.Y/2.1, 0) * ANGLES(RAD(25), RAD(5), RAD(0)), CF(0, -Horn.Size.Y/2.2, 0)) | |
795 | LASTPART = Horn | |
796 | Horn.Color = C3((i/15),0,0) | |
797 | local MSH = IT("BlockMesh",Horn) | |
798 | MSH.Scale = VT(0.16*MATH,1,0.16*MATH) | |
799 | end | |
800 | end | |
801 | local LASTPART = Head | |
802 | for i = 1, 15 do | |
803 | local MATH = (1-(i/16)) | |
804 | if LASTPART == Head then | |
805 | local Horn = CreatePart(3, Horn1, "Granite", 0, 0, "Dirt brown", "Horn", VT(1,0.25,1),false) | |
806 | CreateWeldOrSnapOrMotor("Weld", Horn1, LASTPART, Horn, CF(-0.45, 0.5, -0.15) * ANGLES(RAD(-35), RAD(-5), RAD(25)), CF(0, 0, 0)) | |
807 | LASTPART = Horn | |
808 | Horn.Color = C3((i/15),0,0) | |
809 | local MSH = IT("BlockMesh",Horn) | |
810 | MSH.Scale = VT(0.16*MATH,1,0.16*MATH) | |
811 | else | |
812 | local Horn = CreatePart(3, Horn1, "Granite", 0, 0, "Dirt brown", "Horn", VT(1,0.25,1),false) | |
813 | CreateWeldOrSnapOrMotor("Weld", Horn1, LASTPART, Horn, CF(0, Horn.Size.Y/2.1, 0) * ANGLES(RAD(25), RAD(-5), RAD(0)), CF(0, -Horn.Size.Y/2.2, 0)) | |
814 | LASTPART = Horn | |
815 | Horn.Color = C3((i/15),0,0) | |
816 | local MSH = IT("BlockMesh",Horn) | |
817 | MSH.Scale = VT(0.16*MATH,1,0.16*MATH) | |
818 | end | |
819 | end | |
820 | ||
821 | local LASTPART = Head | |
822 | for i = 1, 20 do | |
823 | local MATH = (1-(i/25)) | |
824 | if LASTPART == Head then | |
825 | local Horn = CreatePart(3, Horn2, "Neon", 0, 0, "Dirt brown", "Horn", VT(0.25*MATH,0.25,0.25*MATH),false) | |
826 | CreateWeldOrSnapOrMotor("Weld", Horn2, LASTPART, Horn, CF(0.3, 0.7, -0.35) * ANGLES(RAD(-55), RAD(15), RAD(-15)), CF(0, 0, 0)) | |
827 | LASTPART = Horn | |
828 | Horn.Color = C3((i*3-3)/255,0,0) | |
829 | else | |
830 | local Horn = CreatePart(3, Horn2, "Neon", 0, 0, "Dirt brown", "Horn", VT(0.25*MATH,0.25,0.25*MATH),false) | |
831 | CreateWeldOrSnapOrMotor("Weld", Horn2, LASTPART, Horn, CF(0, Horn.Size.Y/1.8, 0) * ANGLES(RAD(6), RAD(-0.3), RAD(0)), CF(0, 0, 0)) | |
832 | LASTPART = Horn | |
833 | Horn.Color = C3((i*3-3)/255,0,0) | |
834 | end | |
835 | end | |
836 | local LASTPART = Head | |
837 | for i = 1, 20 do | |
838 | local MATH = (1-(i/25)) | |
839 | if LASTPART == Head then | |
840 | local Horn = CreatePart(3, Horn2, "Neon", 0, 0, "Dirt brown", "Horn", VT(0.25*MATH,0.25,0.25*MATH),false) | |
841 | CreateWeldOrSnapOrMotor("Weld", Horn2, LASTPART, Horn, CF(-0.3, 0.7, -0.35) * ANGLES(RAD(-55), RAD(-15), RAD(15)), CF(0, 0, 0)) | |
842 | LASTPART = Horn | |
843 | Horn.Color = C3((i*3-3)/255,0,0) | |
844 | else | |
845 | local Horn = CreatePart(3, Horn2, "Neon", 0, 0, "Dirt brown", "Horn", VT(0.25*MATH,0.25,0.25*MATH),false) | |
846 | CreateWeldOrSnapOrMotor("Weld", Horn2, LASTPART, Horn, CF(0, Horn.Size.Y/1.8, 0) * ANGLES(RAD(6), RAD(0.3), RAD(0)), CF(0, 0, 0)) | |
847 | LASTPART = Horn | |
848 | Horn.Color = C3((i*3-3)/255,0,0) | |
849 | end | |
850 | end | |
851 | ||
852 | local Gun = CreatePart(3, Weapon, "SmoothPlastic", 0, 0, "Really black", "Gun", VT(0, 0, 0), false) | |
853 | local HandleMesh = CreateMesh("SpecialMesh", Gun, "FileMesh", "430198390", "430198451", VT(0.02, 0.02, 0.02), VT(0, 0, 0)) | |
854 | local Weld = CreateWeldOrSnapOrMotor("Weld", Gun, RightArm, Gun, CF(0, -1.7, -0.2) * ANGLES(RAD(0), RAD(90), RAD(-90)), CF(0, 0, 0)) | |
855 | GunPoint = CreatePart(3, Weapon, "SmoothPlastic", 0, 1, "Really black", "Point blank", VT(0, 0, 0), false) | |
856 | local HandleWeld = CreateWeldOrSnapOrMotor("Weld", GunPoint, RightArm, GunPoint, CF(0, -3.1, -0.8) * ANGLES(RAD(0), RAD(0), RAD(135)), CF(0, 0, 0)) | |
857 | ||
858 | local Knife = CreatePart(3, KnifeF, "Metal", 0, 0, "Mid gray", "Part", VT(0.2,1.2,0.2),false) | |
859 | local Grip = CreateWeldOrSnapOrMotor("Weld", KnifeF, LeftArm, Knife, CF(0.45,-0.5, 0) * ANGLES(RAD(0), RAD(-90), RAD(0)) * ANGLES(RAD(45), RAD(0), RAD(0)), CF(0, 0.3, 0)) | |
860 | CreateMesh("SpecialMesh", Knife, "FileMesh", "470094777", "470149026", VT(0.2,0.2,0.2), VT(0,0,0)) | |
861 | local A = IT("Attachment",Knife) | |
862 | A.Position = VT(-0, 0.2, 0.136) | |
863 | local B = IT("Attachment",Knife) | |
864 | B.Position = VT(-0, -0.95, -0.982) | |
865 | local Trail = IT("Trail",Knife) | |
866 | Trail.Attachment0 = B | |
867 | Trail.Attachment1 = A | |
868 | Trail.Lifetime = 0.1 | |
869 | Trail.Transparency = NumberSequence.new(0.5, 1) | |
870 | Trail.Texture = "http://www.roblox.com/asset/?id=1472703539" | |
871 | Trail.Enabled = true | |
872 | ||
873 | ||
874 | ||
875 | local HandlePart = CreatePart(3, Axe, "SmoothPlastic", 0, 0, "Really black", "Handle", VT(0.2, 3.39, 1.61),false) | |
876 | local HandleMesh = CreateMesh("SpecialMesh", HandlePart, "FileMesh", "145815658", "186913315", VT(1,1,1), VT(0, 0, 0)) | |
877 | local HandleWeld = CreateWeldOrSnapOrMotor("Weld", HandlePart, RightArm, HandlePart, CF(0,-1.2,-0.7) * ANGLES(RAD(-100), RAD(0), RAD(0)), CF(0, 0, 0)) | |
878 | ||
879 | local PRT = CreatePart(3, Axe, "Fabric", 0, 0, "", "The Mask", VT(1,1,1),false) | |
880 | PRT.Color = C3(0,0,0) | |
881 | local MaskWeld = CreateWeldOrSnapOrMotor("Weld", Axe, Head, PRT, CF(0,0.2,0), CF(0, 0.15, 0)) | |
882 | CreateMesh("SpecialMesh", PRT, "FileMesh", "62146989", "145633085", VT(1.1,1.1,1.1)*1.05, VT(0,0,0)) | |
883 | ||
884 | local A = IT("Attachment",HandlePart) | |
885 | A.Position = VT(0, -1.5, 0) | |
886 | local B = IT("Attachment",HandlePart) | |
887 | B.Position = VT(0, 2.2, 0.2) | |
888 | local Trail = IT("Trail",HandlePart) | |
889 | Trail.Attachment0 = A | |
890 | Trail.Attachment1 = B | |
891 | Trail.Lifetime = 0.1 | |
892 | Trail.Transparency = NumberSequence.new(0.8, 1) | |
893 | Trail.Enabled = false | |
894 | ||
895 | for _, c in pairs(Horn2:GetChildren()) do | |
896 | if c.ClassName == "Part" then | |
897 | c.CustomPhysicalProperties = PhysicalProperties.new(0, 0, 0, 0, 0) | |
898 | end | |
899 | end | |
900 | ||
901 | for _, c in pairs(Axe:GetChildren()) do | |
902 | if c.ClassName == "Part" then | |
903 | c.CustomPhysicalProperties = PhysicalProperties.new(0, 0, 0, 0, 0) | |
904 | end | |
905 | end | |
906 | ||
907 | for _, c in pairs(Horn1:GetChildren()) do | |
908 | if c.ClassName == "Part" then | |
909 | c.CustomPhysicalProperties = PhysicalProperties.new(0, 0, 0, 0, 0) | |
910 | end | |
911 | end | |
912 | ||
913 | for _, c in pairs(KnifeF:GetChildren()) do | |
914 | if c.ClassName == "Part" then | |
915 | c.CustomPhysicalProperties = PhysicalProperties.new(0, 0, 0, 0, 0) | |
916 | end | |
917 | end | |
918 | ||
919 | for _, c in pairs(Knife:GetChildren()) do | |
920 | if c.ClassName == "Part" then | |
921 | c.CustomPhysicalProperties = PhysicalProperties.new(0, 0, 0, 0, 0) | |
922 | end | |
923 | end | |
924 | ||
925 | for _, c in pairs(Weapon:GetChildren()) do | |
926 | if c.ClassName == "Part" then | |
927 | c.CustomPhysicalProperties = PhysicalProperties.new(0, 0, 0, 0, 0) | |
928 | end | |
929 | end | |
930 | ||
931 | Axe.Parent = nil | |
932 | Weapon.Parent = nil | |
933 | KnifeF.Parent = nil | |
934 | Horn1.Parent = Character | |
935 | Horn2.Parent = nil | |
936 | ||
937 | local SKILLTEXTCOLOR = C3(1,0,0) | |
938 | local SKILLFONT = "Antique" | |
939 | local SKILLTEXTSIZE = 7 | |
940 | ||
941 | ||
942 | local ATTACKS = {"F","Z","C","G","V"} | |
943 | ||
944 | local GUIS = {} | |
945 | for i = 1, #ATTACKS do | |
946 | local SKILLFRAME = CreateFrame(WEAPONGUI, 1, 2, UD2(0.72, 0, 0.87-(0.02*i), 0), UD2(0.26, 0, 0.07, 0), C3(0,0,0), C3(0, 0, 0), "Skill Frame") | |
947 | local SKILLTEXT = CreateLabel(SKILLFRAME, "["..ATTACKS[i].."]", SKILLTEXTCOLOR, SKILLTEXTSIZE, SKILLFONT, 0, 4, 0.7, "Skill text") | |
948 | SKILLTEXT.TextXAlignment = "Right" | |
949 | table.insert(GUIS,SKILLTEXT) | |
950 | end | |
951 | ||
952 | local sick = IT("Sound",RootPart) | |
953 | sick.SoundId = "rbxassetid://407749940" | |
954 | sick.Looped = true | |
955 | sick.Pitch = 1 | |
956 | sick.Volume = 3 | |
957 | sick:Play() | |
958 | print("Edit by wanTH092 of course") | |
959 | print("This is the cheapy edit so go ahead") | |
960 | print("Next project that i will finish of is >Chaotic_Wings<") | |
961 | warn("Note. I do this alone don't belive anyone or steal the credit >:C") | |
962 | ||
963 | --//=================================\\ | |
964 | --|| INSANITY | |
965 | --\\=================================// | |
966 | ||
967 | local FRAME = CreateFrame(WEAPONGUI, 1, 2, UD2(0, 0, 0, 0), UD2(0.26, 0, 0.07, 0), C3(0,0,0), C3(0, 0, 0), "CALM MAN") | |
968 | local FACEME = {"IT'S NOT DONE","YOU ARE IDIOT","THIS IS TRUSTFUL WORD YA KNOW?","CMON IT'S JUST A LIFE CLEANER","SIN AREN'T REAL!!!","THAT WAS FUN?!","I'M CALM!!!","LEAVE ME!","NO MORE ORDINARY","WHERE DO I PUT MY KNIFE AT??","I GOT DIS GUN!!!"} | |
969 | local INSANITYGUIS = {} | |
970 | for e = 1, 28 do | |
971 | for i = 1, 22 do | |
972 | local MURDERFRAME = FRAME:Clone() | |
973 | MURDERFRAME.Position = UD2(-0.05+i/30, 0, e/30, 0) | |
974 | MURDERFRAME.Parent = WEAPONGUI | |
975 | table.insert(INSANITYGUIS,MURDERFRAME) | |
976 | end | |
977 | end | |
978 | coroutine.resume(coroutine.create(function() | |
979 | while true do | |
980 | wait() | |
981 | coroutine.resume(coroutine.create(function() | |
982 | local COLOR = C3(MRANDOM(100,255)/255,0,0) | |
983 | local APPEARTEXT = FACEME[MRANDOM(1,#FACEME)] | |
984 | local SHOW = "" | |
985 | for i = 1,string.len(APPEARTEXT),1 do | |
986 | local STRING = string.sub(APPEARTEXT,i,i) | |
987 | if MRANDOM(1,2) == 1 then | |
988 | SHOW = SHOW..string.lower(STRING) | |
989 | else | |
990 | SHOW = SHOW..STRING | |
991 | end | |
992 | end | |
993 | local PARENT = INSANITYGUIS[MRANDOM(1,#INSANITYGUIS)] | |
994 | local TEXT = CreateLabel(PARENT, SHOW, COLOR, 6.5, SKILLFONT, 1, 2, 1, "THIS IS ALL YOUR FAULTH") | |
995 | for i = 1, 25 do | |
996 | Swait() | |
997 | TEXT.Rotation = MRANDOM(-15,15) | |
998 | TEXT.TextTransparency = TEXT.TextTransparency - 1/15 | |
999 | end | |
1000 | for i = 1, 25 do | |
1001 | Swait() | |
1002 | TEXT.Rotation = MRANDOM(-15,15) | |
1003 | TEXT.TextTransparency = TEXT.TextTransparency + 1/15 | |
1004 | end | |
1005 | TEXT:Remove() | |
1006 | end)) | |
1007 | end | |
1008 | end)) | |
1009 | FRAME:remove() | |
1010 | --//=================================\\ | |
1011 | --|| DAMAGING | |
1012 | --\\=================================// | |
1013 | ||
1014 | function ApplyDamage(Humanoid,Damage,OneShot) | |
1015 | Damage = Damage * DAMAGEMULTIPLIER | |
1016 | local DEAD = false | |
1017 | if Humanoid.Health < 2000 and OneShot == false then | |
1018 | if Humanoid.Health - Damage > 0 then | |
1019 | Humanoid.Health = Humanoid.Health - Damage | |
1020 | else | |
1021 | Humanoid.Parent:BreakJoints() | |
1022 | DEAD = true | |
1023 | end | |
1024 | else | |
1025 | DEAD = true | |
1026 | Humanoid.Parent:BreakJoints() | |
1027 | end | |
1028 | if DEAD == true then | |
1029 | local PARTS = {} | |
1030 | for index, CHILD in pairs(Humanoid.Parent:GetChildren()) do | |
1031 | if CHILD:IsA("BasePart") then | |
1032 | table.insert(PARTS,CHILD) | |
1033 | end | |
1034 | end | |
1035 | coroutine.resume(coroutine.create(function() | |
1036 | wait(2) | |
1037 | repeat | |
1038 | Swait() | |
1039 | local PIECE = nil | |
1040 | if MRANDOM(1,5) == 1 then | |
1041 | for E = 1, #PARTS do | |
1042 | if MRANDOM(1,5) == 1 then | |
1043 | PIECE = PARTS[E] | |
1044 | table.remove(PARTS,E) | |
1045 | break | |
1046 | end | |
1047 | end | |
1048 | end | |
1049 | if PIECE ~= nil then | |
1050 | if PIECE.Name == "Head" then | |
1051 | WACKYEFFECT({Time = MRANDOM(10,30)*5, EffectType = "Box", Size = VT(PIECE.Size.Z,PIECE.Size.Y,PIECE.Size.Z), Size2 = (VT(PIECE.Size.Z,PIECE.Size.Y,PIECE.Size.Z))*MRANDOM(7,14)/10, Transparency = PIECE.Transparency, Transparency2 = 1, CFrame = PIECE.CFrame, MoveToPos = PIECE.Position+VT(0,MRANDOM(5,8)/1.5,0), RotationX = MRANDOM(-25,25)/35, RotationY = MRANDOM(-25,25)/35, RotationZ = MRANDOM(-25,25)/35, Material = "Neon", Color = C3(0.4,0,0), SoundID = 3264923, SoundPitch = MRANDOM(12,16)/10, SoundVolume = 2}) | |
1052 | else | |
1053 | WACKYEFFECT({Time = MRANDOM(10,30)*5, EffectType = "Box", Size = PIECE.Size, Size2 = PIECE.Size*MRANDOM(7,14)/10, Transparency = PIECE.Transparency, Transparency2 = 1, CFrame = PIECE.CFrame, MoveToPos = PIECE.Position+VT(0,MRANDOM(5,8)/1.5,0), MRANDOM(-25,25)/35, RotationY = MRANDOM(-25,25)/35, RotationZ = MRANDOM(-25,25)/35, Material = "Neon", Color = C3(0.4,0,0), SoundID = 3264923, SoundPitch = MRANDOM(12,16)/10, SoundVolume = 2}) | |
1054 | end | |
1055 | PIECE:remove() | |
1056 | end | |
1057 | until #PARTS == 0 | |
1058 | end)) | |
1059 | end | |
1060 | end | |
1061 | ||
1062 | ||
1063 | function ApplyDamage3(Humanoid,Damage,TorsoPart) | |
1064 | local defence = Instance.new("BoolValue",Humanoid.Parent) | |
1065 | defence.Name = ("HitBy"..Player.Name) | |
1066 | game:GetService("Debris"):AddItem(defence, 0.001) | |
1067 | Damage = Damage * DAMAGEMULTIPLIER | |
1068 | if Humanoid.Health ~= 0 then | |
1069 | local CritChance = MRANDOM(1,100) | |
1070 | if Damage > Humanoid.Health then | |
1071 | Damage = math.ceil(Humanoid.Health) | |
1072 | if Damage == 0 then | |
1073 | Damage = 0.1 | |
1074 | end | |
1075 | end | |
1076 | Humanoid.Health = Humanoid.Health - Damage | |
1077 | end | |
1078 | end | |
1079 | ||
1080 | function ApplyDamage3(Humanoid,Damage,TorsoPart) | |
1081 | local defence = Instance.new("BoolValue",Humanoid.Parent) | |
1082 | defence.Name = ("HitBy"..Player.Name) | |
1083 | game:GetService("Debris"):AddItem(defence, 0.001) | |
1084 | Damage = Damage * DAMAGEMULTIPLIER | |
1085 | if Humanoid.Health ~= 0 then | |
1086 | local CritChance = MRANDOM(1,100) | |
1087 | if Damage > Humanoid.Health then | |
1088 | Damage = math.ceil(Humanoid.Health) | |
1089 | if Damage == 0 then | |
1090 | Damage = 0.1 | |
1091 | end | |
1092 | end | |
1093 | Humanoid.Health = Humanoid.Health - Damage | |
1094 | end | |
1095 | end | |
1096 | ||
1097 | function ApplyAoE3(POSITION,RANGE,MINDMG,MAXDMG,FLING,INSTAKILL) | |
1098 | local CHILDREN = workspace:GetDescendants() | |
1099 | for index, CHILD in pairs(CHILDREN) do | |
1100 | if CHILD.ClassName == "Model" and CHILD ~= Character and CHILD.Parent ~= Effects then | |
1101 | local HUM = CHILD:FindFirstChildOfClass("Humanoid") | |
1102 | if HUM then | |
1103 | local TORSO = CHILD:FindFirstChild("Torso") or CHILD:FindFirstChild("UpperTorso") | |
1104 | if TORSO then | |
1105 | if (TORSO.Position - POSITION).Magnitude <= RANGE then | |
1106 | if INSTAKILL == true then | |
1107 | CHILD:BreakJoints() | |
1108 | else | |
1109 | local DMG = MRANDOM(MINDMG,MAXDMG) | |
1110 | ApplyDamage(HUM,DMG,TORSO) | |
1111 | end | |
1112 | if FLING > 0 then | |
1113 | for _, c in pairs(CHILD:GetChildren()) do | |
1114 | if c:IsA("BasePart") then | |
1115 | local bv = Instance.new("BodyVelocity") | |
1116 | bv.maxForce = Vector3.new(1e9, 1e9, 1e9) | |
1117 | bv.velocity = CF(POSITION,TORSO.Position).lookVector*FLING | |
1118 | bv.Parent = c | |
1119 | Debris:AddItem(bv,0.05) | |
1120 | end | |
1121 | end | |
1122 | end | |
1123 | end | |
1124 | end | |
1125 | end | |
1126 | end | |
1127 | end | |
1128 | end | |
1129 | ||
1130 | function CameraEnshaking(Length, Intensity) | |
1131 | coroutine.resume(coroutine.create(function() | |
1132 | local intensity = 1 * Intensity | |
1133 | local rotM = 0.01 * Intensity | |
1134 | for i = 0, Length, 0.1 do | |
1135 | Swait() | |
1136 | intensity = intensity - 0.05 * Intensity / Length | |
1137 | rotM = rotM - 5.0E-4 * Intensity / Length | |
1138 | Humanoid.CameraOffset = Vector3.new(RAD(MRANDOM(-intensity, intensity)), RAD(MRANDOM(-intensity, intensity)), RAD(MRANDOM(-intensity, intensity))) | |
1139 | Cam.CFrame = Cam.CFrame * CF(RAD(MRANDOM(-intensity, intensity)), RAD(MRANDOM(-intensity, intensity)), RAD(MRANDOM(-intensity, intensity))) * EULER(RAD(MRANDOM(-intensity, intensity)) * rotM, RAD(MRANDOM(-intensity, intensity)) * rotM, RAD(MRANDOM(-intensity, intensity)) * rotM) | |
1140 | end | |
1141 | Humanoid.CameraOffset = Vector3.new(0, 0, 0) | |
1142 | end)) | |
1143 | end | |
1144 | ||
1145 | --//=================================\\ | |
1146 | --|| MURDERER | |
1147 | --\\=================================// | |
1148 | ||
1149 | function Swing() | |
1150 | ATTACK = true | |
1151 | Rooted = false | |
1152 | for i=0, 1, 0.1 / Animation_Speed do | |
1153 | Swait() | |
1154 | RootJoint.C0 = Clerp(RootJoint.C0,ROOTC0 * CF(0, 0, 0 + 0.05 * COS(SINE / 12)) * ANGLES(RAD(0), RAD(0), RAD(-25)), 0.7 / Animation_Speed) | |
1155 | Neck.C0 = Clerp(Neck.C0, NECKC0 * CF(0, 0, 0 + ((1) - 1)) * ANGLES(RAD(0 - 2.5 * SIN(SINE / 12)), RAD(0), RAD(25)), 0.7 / Animation_Speed) | |
1156 | RightShoulder.C0 = Clerp(RightShoulder.C0, CF(1.5, 0.5, 0) * ANGLES(RAD(-5), RAD(0), RAD(90)) * RIGHTSHOULDERC0, 0.5 / Animation_Speed) | |
1157 | LeftShoulder.C0 = Clerp(LeftShoulder.C0, CF(-1.5, 0.5, 0) * ANGLES(RAD(90), RAD(0), RAD(-12)) * LEFTSHOULDERC0, 0.5 / Animation_Speed) | |
1158 | 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) | |
1159 | 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) | |
1160 | HandleWeld.C1 = Clerp(HandleWeld.C1, CF(0, -0.55, 0.35) * ANGLES(RAD(-125), RAD(0), RAD(180)), 0.5 / Animation_Speed) | |
1161 | end | |
1162 | Trail.Enabled = true | |
1163 | HandlePart.CanCollide = true | |
1164 | CreateSound("185687991", HandlePart, 4, (math.random(8,12)/10)) | |
1165 | local HIT = HandlePart.Touched:Connect(function(hit) | |
1166 | Kill(hit.Parent) | |
1167 | end) | |
1168 | for i=0, 0.8, 0.1 / Animation_Speed do | |
1169 | Swait() | |
1170 | if Speed == 25 and TORSOVELOCITY > 0.3 then | |
1171 | RootPart.CFrame = RootPart.CFrame * CF(0,0,-1) | |
1172 | end | |
1173 | RootJoint.C0 = Clerp(RootJoint.C0,ROOTC0 * CF(0, 0, 0 + 0.05 * COS(SINE / 12)) * ANGLES(RAD(0), RAD(0), RAD(25)), 0.7 / Animation_Speed) | |
1174 | Neck.C0 = Clerp(Neck.C0, NECKC0 * CF(0, 0, 0 + ((1) - 1)) * ANGLES(RAD(0 - 2.5 * SIN(SINE / 12)), RAD(0), RAD(-25)), 0.7 / Animation_Speed) | |
1175 | RightShoulder.C0 = Clerp(RightShoulder.C0, CF(1.15, 0.5, -0.7) * ANGLES(RAD(15), RAD(0), RAD(90)) * ANGLES(RAD(140), RAD(0), RAD(0)) * RIGHTSHOULDERC0, 0.5 / Animation_Speed) | |
1176 | LeftShoulder.C0 = Clerp(LeftShoulder.C0, CF(-1.5, 0.5, 0) * ANGLES(RAD(0), RAD(0), RAD(-12)) * LEFTSHOULDERC0, 0.5 / Animation_Speed) | |
1177 | 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) | |
1178 | 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) | |
1179 | HandleWeld.C1 = Clerp(HandleWeld.C1, CF(0, -0.55, 0) * ANGLES(RAD(25), RAD(0), RAD(180)) * ANGLES(RAD(0), RAD(0), RAD(0)), 0.5 / Animation_Speed) | |
1180 | end | |
1181 | Trail.Enabled = false | |
1182 | HandlePart.CanCollide = false | |
1183 | HIT:disconnect() | |
1184 | HandleWeld = CreateWeldOrSnapOrMotor("Weld", HandlePart, RightArm, HandlePart, CF(0,-1.2,-0.7) * ANGLES(RAD(-100), RAD(0), RAD(0)), CF(0, 0, 0)) | |
1185 | ATTACK = false | |
1186 | Rooted = false | |
1187 | end | |
1188 | ||
1189 | function Caac() | |
1190 | local TARGET = Mouse.Target | |
1191 | if TARGET ~= nil then | |
1192 | if TARGET.Parent:FindFirstChildOfClass("Humanoid") then | |
1193 | local HUM = TARGET.Parent:FindFirstChildOfClass("Humanoid") | |
1194 | local ROOT = TARGET.Parent:FindFirstChild("HumanoidRootPart") or TARGET.Parent:FindFirstChild("Torso") or TARGET.Parent:FindFirstChild("UpperTorso") | |
1195 | if ROOT and HUM.Health > 0 then | |
1196 | local FOE = Mouse.Target.Parent | |
1197 | local HEAD = FOE:FindFirstChild("Head") | |
1198 | if HEAD then | |
1199 | ATTACK = true | |
1200 | Rooted = true | |
1201 | chatfunc("Shuuu..") | |
1202 | FACE = 648887959 | |
1203 | CharacterFade(C3(1,0,0),150) | |
1204 | RootPart.CFrame = ROOT.CFrame*CF(0,0,3) | |
1205 | for _, c in pairs(FOE:GetChildren()) do | |
1206 | if c.ClassName == "Part" then | |
1207 | c.Anchored = true | |
1208 | end | |
1209 | end | |
1210 | CreateSound(235097614, Torso, 1, 3, false) | |
1211 | for i=0, 0.75, 0.1 / Animation_Speed do | |
1212 | Swait() | |
1213 | RootJoint.C0 = Clerp(RootJoint.C0,ROOTC0 * CF(0, 0, 0 + 0.05 * COS(SINE / 12)) * ANGLES(RAD(0), RAD(0), RAD(0)), 1 / Animation_Speed) | |
1214 | Neck.C0 = Clerp(Neck.C0, NECKC0 * CF(0, 0, 0 + ((1) - 1)) * ANGLES(RAD(0 - 2.5 * COS(SINE / 12)), RAD(0), RAD(0)), 1 / Animation_Speed) | |
1215 | RightShoulder.C0 = Clerp(RightShoulder.C0, CF(1.5, 0.5, 0) * ANGLES(RAD(-5), RAD(0), RAD(90)) * RIGHTSHOULDERC0, 0.5 / Animation_Speed) | |
1216 | LeftShoulder.C0 = Clerp(LeftShoulder.C0, CF(-1.5, 0.5, 0) * ANGLES(RAD(90), RAD(0), RAD(-12)) * LEFTSHOULDERC0, 0.5 / Animation_Speed) | |
1217 | RightHip.C0 = Clerp(RightHip.C0, CF(1, -1 - 0.05 * COS(SINE / 12), -0.01) * ANGLES(RAD(0), RAD(85), RAD(0)) * ANGLES(RAD(-1), RAD(0), RAD(0)), 1 / Animation_Speed) | |
1218 | LeftHip.C0 = Clerp(LeftHip.C0, CF(-1, -1 - 0.05 * COS(SINE / 12), -0.01) * ANGLES(RAD(0), RAD(-85), RAD(0)) * ANGLES(RAD(-1), RAD(0), RAD(0)), 1 / Animation_Speed) | |
1219 | end | |
1220 | CreateSound(185687991, HEAD, 15, 0.9, false) | |
1221 | if ROOT.Name == "HumanoidRootPart" then | |
1222 | ROOT:remove() | |
1223 | end | |
1224 | FOE:BreakJoints() | |
1225 | ApplyDamage(HUM,0,true) | |
1226 | Chunks(HEAD) | |
1227 | HEAD.CFrame = HEAD.CFrame * CF(-0.75, 0, 0) | |
1228 | HEAD.CFrame = HEAD.CFrame * ANGLES(RAD(0), RAD(90), RAD(0)) | |
1229 | CreateSound(363808674, HEAD, 15, 1, false) | |
1230 | ROOT.Anchored = false | |
1231 | FACE = 300139178 | |
1232 | for i=0, 0.6, 0.1 / Animation_Speed do | |
1233 | Swait() | |
1234 | RootJoint.C0 = Clerp(RootJoint.C0,ROOTC0 * CF(0, 0, 0 + 0.05 * COS(SINE / 12)) * ANGLES(RAD(0), RAD(0), RAD(0)), 1 / Animation_Speed) | |
1235 | Neck.C0 = Clerp(Neck.C0, NECKC0 * CF(0, 0, 0 + ((1) - 1)) * ANGLES(RAD(0 - 2.5 * COS(SINE / 12)), RAD(0), RAD(0)), 1 / Animation_Speed) | |
1236 | RightShoulder.C0 = Clerp(RightShoulder.C0, CF(1.15, 0.5, -0.7) * ANGLES(RAD(50), RAD(0), RAD(88)) * ANGLES(RAD(140), RAD(0), RAD(0)) * RIGHTSHOULDERC0, 0.5 / Animation_Speed) | |
1237 | LeftShoulder.C0 = Clerp(LeftShoulder.C0, CF(-1.5, 0.5, 0) * ANGLES(RAD(0), RAD(0), RAD(-12)) * LEFTSHOULDERC0, 0.5 / Animation_Speed) | |
1238 | RightHip.C0 = Clerp(RightHip.C0, CF(1, -1 - 0.05 * COS(SINE / 12), -0.01) * ANGLES(RAD(0), RAD(85), RAD(0)) * ANGLES(RAD(-1), RAD(0), RAD(0)), 1 / Animation_Speed) | |
1239 | LeftHip.C0 = Clerp(LeftHip.C0, CF(-1, -1 - 0.05 * COS(SINE / 12), -0.01) * ANGLES(RAD(0), RAD(-85), RAD(0)) * ANGLES(RAD(-1), RAD(0), RAD(0)), 1 / Animation_Speed) | |
1240 | end | |
1241 | for _, c in pairs(FOE:GetChildren()) do | |
1242 | if c.ClassName == "Part" then | |
1243 | c.Anchored = false | |
1244 | end | |
1245 | end | |
1246 | ATTACK = false | |
1247 | Rooted = false | |
1248 | end | |
1249 | end | |
1250 | end | |
1251 | end | |
1252 | end | |
1253 | ||
1254 | function Neckless() | |
1255 | local TARGET = Mouse.Target | |
1256 | if TARGET ~= nil then | |
1257 | if TARGET.Parent:FindFirstChildOfClass("Humanoid") then | |
1258 | local HUM = TARGET.Parent:FindFirstChildOfClass("Humanoid") | |
1259 | local ROOT = TARGET.Parent:FindFirstChild("HumanoidRootPart") or TARGET.Parent:FindFirstChild("Torso") or TARGET.Parent:FindFirstChild("UpperTorso") | |
1260 | if ROOT and HUM.Health > 0 then | |
1261 | local FOE = Mouse.Target.Parent | |
1262 | local HEAD = FOE:FindFirstChild("Head") | |
1263 | if HEAD then | |
1264 | ATTACK = true | |
1265 | Rooted = true | |
1266 | chatfunc("Shuuu..") | |
1267 | FACE = 648887959 | |
1268 | CharacterFade(C3(1,0,0),150) | |
1269 | RootPart.CFrame = ROOT.CFrame*CF(0,0,2) | |
1270 | for _, c in pairs(FOE:GetChildren()) do | |
1271 | if c.ClassName == "Part" then | |
1272 | c.Anchored = true | |
1273 | end | |
1274 | end | |
1275 | CreateSound(235097614, Torso, 1, 3, false) | |
1276 | for i=0, 0.75, 0.1 / Animation_Speed do | |
1277 | Swait() | |
1278 | RootJoint.C0 = Clerp(RootJoint.C0,ROOTC0 * CF(0, 0, 0 + 0.05 * COS(SINE / 12)) * ANGLES(RAD(0), RAD(0), RAD(0)), 1 / Animation_Speed) | |
1279 | Neck.C0 = Clerp(Neck.C0, NECKC0 * CF(0, 0, 0 + ((1) - 1)) * ANGLES(RAD(0 - 2.5 * COS(SINE / 12)), RAD(0), RAD(0)), 1 / Animation_Speed) | |
1280 | RightShoulder.C0 = Clerp(RightShoulder.C0, CF(1.1, 0.5, -0.6) * ANGLES(RAD(130), RAD(0), RAD(0)) * RIGHTSHOULDERC0, 1 / Animation_Speed) | |
1281 | LeftShoulder.C0 = Clerp(LeftShoulder.C0, CF(-1.1, 0.5, -0.6) * ANGLES(RAD(130), RAD(0), RAD(0)) * LEFTSHOULDERC0, 1 / Animation_Speed) | |
1282 | RightHip.C0 = Clerp(RightHip.C0, CF(1, -1 - 0.05 * COS(SINE / 12), -0.01) * ANGLES(RAD(0), RAD(85), RAD(0)) * ANGLES(RAD(-1), RAD(0), RAD(0)), 1 / Animation_Speed) | |
1283 | LeftHip.C0 = Clerp(LeftHip.C0, CF(-1, -1 - 0.05 * COS(SINE / 12), -0.01) * ANGLES(RAD(0), RAD(-85), RAD(0)) * ANGLES(RAD(-1), RAD(0), RAD(0)), 1 / Animation_Speed) | |
1284 | end | |
1285 | if ROOT.Name == "HumanoidRootPart" then | |
1286 | ROOT:remove() | |
1287 | end | |
1288 | FOE:BreakJoints() | |
1289 | ApplyDamage(HUM,0,true) | |
1290 | Chunks(HEAD) | |
1291 | HEAD.CFrame = HEAD.CFrame * ANGLES(RAD(0), RAD(90), RAD(0)) | |
1292 | CreateSound(363808674, HEAD, 15, 1, false) | |
1293 | ROOT.Anchored = false | |
1294 | FACE = 300139178 | |
1295 | for i=0, 0.5, 0.1 / Animation_Speed do | |
1296 | Swait() | |
1297 | RootJoint.C0 = Clerp(RootJoint.C0,ROOTC0 * CF(0, 0, 0 + 0.05 * COS(SINE / 12)) * ANGLES(RAD(0), RAD(0), RAD(0)), 1 / Animation_Speed) | |
1298 | Neck.C0 = Clerp(Neck.C0, NECKC0 * CF(0, 0, 0 + ((1) - 1)) * ANGLES(RAD(0 - 2.5 * COS(SINE / 12)), RAD(0), RAD(0)), 1 / Animation_Speed) | |
1299 | RightShoulder.C0 = Clerp(RightShoulder.C0, CF(1.1, 0.65, -1.5) * ANGLES(RAD(130), RAD(0), RAD(-35)) * RIGHTSHOULDERC0, 2 / Animation_Speed) | |
1300 | LeftShoulder.C0 = Clerp(LeftShoulder.C0, CF(-1.1, 0.5, 0) * ANGLES(RAD(130), RAD(0), RAD(0)) * LEFTSHOULDERC0, 2 / Animation_Speed) | |
1301 | RightHip.C0 = Clerp(RightHip.C0, CF(1, -1 - 0.05 * COS(SINE / 12), -0.01) * ANGLES(RAD(0), RAD(85), RAD(0)) * ANGLES(RAD(-1), RAD(0), RAD(0)), 1 / Animation_Speed) | |
1302 | LeftHip.C0 = Clerp(LeftHip.C0, CF(-1, -1 - 0.05 * COS(SINE / 12), -0.01) * ANGLES(RAD(0), RAD(-85), RAD(0)) * ANGLES(RAD(-1), RAD(0), RAD(0)), 1 / Animation_Speed) | |
1303 | end | |
1304 | for _, c in pairs(FOE:GetChildren()) do | |
1305 | if c.ClassName == "Part" then | |
1306 | c.Anchored = false | |
1307 | end | |
1308 | end | |
1309 | ATTACK = false | |
1310 | Rooted = false | |
1311 | end | |
1312 | end | |
1313 | end | |
1314 | end | |
1315 | end | |
1316 | function BraveSpeed() | |
1317 | CreateSound(235097614, Torso, 1, 2, false) | |
1318 | for i = 1, 7 do | |
1319 | CharacterFade(C3(2.5,0,0),6.25+(i*2.5)) | |
1320 | RootPart.CFrame = RootPart.CFrame*CF(0,0,-12) | |
1321 | end | |
1322 | end | |
1323 | function Slashed() | |
1324 | local TARGET = Mouse.Target | |
1325 | if TARGET ~= nil then | |
1326 | if TARGET.Parent:FindFirstChildOfClass("Humanoid") then | |
1327 | local HUM = TARGET.Parent:FindFirstChildOfClass("Humanoid") | |
1328 | local ROOT = TARGET.Parent:FindFirstChild("Torso") or TARGET.Parent:FindFirstChild("UpperTorso") | |
1329 | if ROOT and HUM.Health > 0 then | |
1330 | local FOE = Mouse.Target.Parent | |
1331 | ATTACK = true | |
1332 | KnifeF.Parent = Character | |
1333 | CreateSound(2357201741, Torso, 7, 0.94, false) | |
1334 | coroutine.resume(coroutine.create(function() | |
1335 | repeat | |
1336 | Swait() | |
1337 | RootJoint.C0 = Clerp(RootJoint.C0,ROOTC0 * CF(0, 0.05, -0.05 + 0.05 * COS(SINE / 12)) * ANGLES(RAD(15), RAD(0), RAD(0)), 1 / Animation_Speed) | |
1338 | Neck.C0 = Clerp(Neck.C0, NECKC0 * CF(0, 0, 0 + ((1) - 1)) * ANGLES(RAD(MRANDOM(-5,5) - 2.5 * COS(SINE / 12)), RAD(MRANDOM(-5,5)), RAD(0)), 1 / Animation_Speed) | |
1339 | RightShoulder.C0 = Clerp(RightShoulder.C0, CF(1.45, 0.5, -0.1) * ANGLES(RAD(50), RAD(0), RAD(-30)) * RIGHTSHOULDERC0, 1 / Animation_Speed) | |
1340 | RightHip.C0 = Clerp(RightHip.C0, CF(1, -1 - 0.05 * COS(SINE / 12), -0.01) * ANGLES(RAD(15), RAD(85), RAD(0)) * ANGLES(RAD(-1), RAD(0), RAD(0)), 1 / Animation_Speed) | |
1341 | LeftHip.C0 = Clerp(LeftHip.C0, CF(-1, -1 - 0.05 * COS(SINE / 12), -0.01) * ANGLES(RAD(15), RAD(-85), RAD(0)) * ANGLES(RAD(-1), RAD(0), RAD(0)), 1 / Animation_Speed) | |
1342 | until ATTACK == false | |
1343 | end)) | |
1344 | FACE = 148988280 | |
1345 | chatfunc("This will remind me..") | |
1346 | for i=0, 0.5, 0.1 / Animation_Speed do | |
1347 | Swait() | |
1348 | LeftShoulder.C0 = Clerp(LeftShoulder.C0, CF(-1.5, 0.15, -0.85) * ANGLES(RAD(35), RAD(0), RAD(90)) * ANGLES(RAD(0), RAD(-90), RAD(0)) * LEFTSHOULDERC0, 1 / Animation_Speed) | |
1349 | end | |
1350 | for i=0, 1.2, 0.1 / Animation_Speed do | |
1351 | Swait() | |
1352 | LeftShoulder.C0 = Clerp(LeftShoulder.C0, CF(-1.5, 0.25, -0.5) * ANGLES(RAD(90), RAD(0), RAD(0)) * LEFTSHOULDERC0, 0.2 / Animation_Speed) | |
1353 | end | |
1354 | CreateSound(971125740, LeftArm, 5, 1, false) | |
1355 | for i=0, 0.3, 0.1 / Animation_Speed do | |
1356 | Swait() | |
1357 | WACKYEFFECT({Time = 25, EffectType = "Box", Size = VT(1,2,1), Size2 = VT(1,2,1), Transparency = 0.2, Transparency2 = 1, CFrame = LeftArm.CFrame, MoveToPos = nil, RotationX = 0, RotationY = 0, RotationZ = 0, Material = "Neon", Color = C3(1,0,0), SoundID = nil, SoundPitch = nil, SoundVolume = nil}) | |
1358 | LeftShoulder.C0 = Clerp(LeftShoulder.C0, CF(-1.1, 0.15, -0.85) * ANGLES(RAD(35), RAD(0), RAD(90)) * ANGLES(RAD(0), RAD(-90), RAD(0)) * LEFTSHOULDERC0, 2 / Animation_Speed) | |
1359 | end | |
1360 | ROOT.CFrame = ROOT.CFrame * ANGLES(RAD(-15), RAD(0), RAD(15)) | |
1361 | WACKYEFFECT({Time = 30, EffectType = "Sphere", Size = VT(1,0.1,1), Size2 = VT(6,0,6)*ROOT.Size.Z, Transparency = 0, Transparency2 = 1, CFrame = ROOT.CFrame, MoveToPos = nil, RotationX = 0, RotationY = 0, RotationZ = 0, Material = "Neon", Color = C3(1,0,0), SoundID = 971126018, SoundPitch = 1.5, SoundVolume = 4}) | |
1362 | WACKYEFFECT({Time = 30, EffectType = "Sphere", Size = VT(1,0.1,1), Size2 = VT(6,0,6)*ROOT.Size.Z, Transparency = 0, Transparency2 = 1, CFrame = Torso.CFrame, MoveToPos = nil, RotationX = 0, RotationY = 0, RotationZ = 0, Material = "Neon", Color = C3(1,0,0), SoundID = 971126018, SoundPitch = 1.5, SoundVolume = 4}) | |
1363 | coroutine.resume(coroutine.create(function() | |
1364 | for i = 1, 5 do | |
1365 | Chunks(ROOT) | |
1366 | end | |
1367 | local FAKEROOT1 = CreatePart(3, FOE, ROOT.Material, 0, 0, ROOT.BrickColor, "SlicedTorso", VT(ROOT.Size.X,ROOT.Size.Y/2,ROOT.Size.Z),false) | |
1368 | FAKEROOT1.CanCollide = true | |
1369 | local FAKEROOT2 = CreatePart(3, FOE, ROOT.Material, 0, 0, ROOT.BrickColor, "SlicedTorso", VT(ROOT.Size.X,ROOT.Size.Y/2,ROOT.Size.Z),false) | |
1370 | FAKEROOT2.CanCollide = true | |
1371 | FAKEROOT1.CFrame = ROOT.CFrame*CF(0,ROOT.Size.Y/4,0) | |
1372 | FAKEROOT2.CFrame = ROOT.CFrame*CF(0,-ROOT.Size.Y/4,0) | |
1373 | ROOT:Remove() | |
1374 | ApplyDamage(HUM,0,true) | |
1375 | end)) | |
1376 | for i=0, 0.4, 0.1 / Animation_Speed do | |
1377 | Swait() | |
1378 | LeftShoulder.C0 = Clerp(LeftShoulder.C0, CF(-1.1, 0.15, -0.85) * ANGLES(RAD(35), RAD(0), RAD(90)) * ANGLES(RAD(0), RAD(-90), RAD(0)) * LEFTSHOULDERC0, 2 / Animation_Speed) | |
1379 | end | |
1380 | KnifeF.Parent = nil | |
1381 | FACE = 300139178 | |
1382 | ATTACK = false | |
1383 | end | |
1384 | end | |
1385 | end | |
1386 | end | |
1387 | function Dirtface() | |
1388 | local TARGET = Mouse.Target | |
1389 | if TARGET ~= nil then | |
1390 | if TARGET.Parent:FindFirstChildOfClass("Humanoid") then | |
1391 | local HUM = TARGET.Parent:FindFirstChildOfClass("Humanoid") | |
1392 | local ROOT = TARGET.Parent:FindFirstChild("HumanoidRootPart") or TARGET.Parent:FindFirstChild("Torso") or TARGET.Parent:FindFirstChild("UpperTorso") | |
1393 | if ROOT and HUM.Health > 0 then | |
1394 | local FOE = Mouse.Target.Parent | |
1395 | local HEAD = FOE:FindFirstChild("Head") | |
1396 | local HITFLOOR = Raycast(ROOT.Position, (CF(RootPart.Position, RootPart.Position + VT(0, -1, 0))).lookVector, 4*ROOT.Size.Z, FOE) | |
1397 | if HEAD and HITFLOOR then | |
1398 | ATTACK = true | |
1399 | Rooted = true | |
1400 | CharacterFade(C3(1,0,0),150) | |
1401 | RootPart.CFrame = ROOT.CFrame*CF(0,0,2) | |
1402 | ROOT.Anchored = true | |
1403 | CreateSound(235097614, Torso, 2, 3, false) | |
1404 | FACE = 398671601 | |
1405 | chatfunc("Stuggled..") | |
1406 | CreateSound(160212585, Torso, 10, 1, false) | |
1407 | for i=0, 0.4, 0.1 / Animation_Speed do | |
1408 | Swait() | |
1409 | RootJoint.C0 = Clerp(RootJoint.C0,ROOTC0 * CF(0, 0, 0 + 0.05 * COS(SINE / 12)) * ANGLES(RAD(0), RAD(0), RAD(-25)), 1 / Animation_Speed) | |
1410 | Neck.C0 = Clerp(Neck.C0, NECKC0 * CF(0, 0, 0 + ((1) - 1)) * ANGLES(RAD(-10 - 2.5 * COS(SINE / 12)), RAD(0), RAD(25)), 1 / Animation_Speed) | |
1411 | RightShoulder.C0 = Clerp(RightShoulder.C0, CF(1.5, 0.5, 0) * ANGLES(RAD(140), RAD(0), RAD(0)) * RIGHTSHOULDERC0, 1 / Animation_Speed) | |
1412 | LeftShoulder.C0 = Clerp(LeftShoulder.C0, CF(-1.5, 0.5, 0) * ANGLES(RAD(0), RAD(0), RAD(0)) * LEFTSHOULDERC0, 1 / Animation_Speed) | |
1413 | RightHip.C0 = Clerp(RightHip.C0, CF(1, -1 - 0.05 * COS(SINE / 12), -0.01) * ANGLES(RAD(0), RAD(85), RAD(0)) * ANGLES(RAD(-1), RAD(0), RAD(0)), 1 / Animation_Speed) | |
1414 | LeftHip.C0 = Clerp(LeftHip.C0, CF(-1, -1 - 0.05 * COS(SINE / 12), -0.01) * ANGLES(RAD(0), RAD(-65), RAD(0)) * ANGLES(RAD(-1), RAD(0), RAD(0)), 1 / Animation_Speed) | |
1415 | end | |
1416 | for i=0, 0.1, 0.1 / Animation_Speed do | |
1417 | Swait() | |
1418 | RootJoint.C0 = Clerp(RootJoint.C0,ROOTC0 * CF(0, 0, 0 + 0.05 * COS(SINE / 12)) * ANGLES(RAD(0), RAD(0), RAD(25)), 1 / Animation_Speed) | |
1419 | Neck.C0 = Clerp(Neck.C0, NECKC0 * CF(0, 0, 0 + ((1) - 1)) * ANGLES(RAD(-10 - 2.5 * COS(SINE / 12)), RAD(0), RAD(-25)), 1 / Animation_Speed) | |
1420 | RightShoulder.C0 = Clerp(RightShoulder.C0, CF(1.5, 0.5, 0) * ANGLES(RAD(140), RAD(0), RAD(25)) * RIGHTSHOULDERC0, 1 / Animation_Speed) | |
1421 | LeftShoulder.C0 = Clerp(LeftShoulder.C0, CF(-1.5, 0.5, 0) * ANGLES(RAD(0), RAD(0), RAD(0)) * LEFTSHOULDERC0, 1 / Animation_Speed) | |
1422 | RightHip.C0 = Clerp(RightHip.C0, CF(1, -1 - 0.05 * COS(SINE / 12), -0.01) * ANGLES(RAD(0), RAD(65), RAD(0)) * ANGLES(RAD(-1), RAD(0), RAD(0)), 1 / Animation_Speed) | |
1423 | LeftHip.C0 = Clerp(LeftHip.C0, CF(-1, -1 - 0.05 * COS(SINE / 12), -0.01) * ANGLES(RAD(0), RAD(-85), RAD(0)) * ANGLES(RAD(-1), RAD(0), RAD(0)), 1 / Animation_Speed) | |
1424 | end | |
1425 | ROOT.Anchored = false | |
1426 | UNANCHOR = false | |
1427 | local DEAD = false | |
1428 | local CFRAME = RootPart.CFrame | |
1429 | CreateSound(260411131, Torso, 2, 3, false) | |
1430 | coroutine.resume(coroutine.create(function() | |
1431 | repeat | |
1432 | Swait() | |
1433 | RootPart.CFrame = CFRAME | |
1434 | HEAD.CFrame = RightArm.CFrame*CF(0,-(1+HEAD.Size.Z/2),0) * ANGLES(RAD(-90), RAD(0), RAD(0)) | |
1435 | HEAD.Velocity = VT(0,0,0) | |
1436 | HUM.PlatformStand = true | |
1437 | until DEAD == true | |
1438 | end)) | |
1439 | for i=0, 0.2, 0.1 / Animation_Speed do | |
1440 | Swait() | |
1441 | RootJoint.C0 = Clerp(RootJoint.C0,ROOTC0 * CF(0, 0, 0 + 0.05 * COS(SINE / 12)) * ANGLES(RAD(0), RAD(0), RAD(25)), 1 / Animation_Speed) | |
1442 | Neck.C0 = Clerp(Neck.C0, NECKC0 * CF(0, 0, 0 + ((1) - 1)) * ANGLES(RAD(-10 - 2.5 * COS(SINE / 12)), RAD(0), RAD(-25)), 1 / Animation_Speed) | |
1443 | RightShoulder.C0 = Clerp(RightShoulder.C0, CF(1.45, 0.5, -0.3) * ANGLES(RAD(140), RAD(0), RAD(-15)) * RIGHTSHOULDERC0, 0.3 / Animation_Speed) | |
1444 | LeftShoulder.C0 = Clerp(LeftShoulder.C0, CF(-1.5, 0.5, 0) * ANGLES(RAD(0), RAD(0), RAD(0)) * LEFTSHOULDERC0, 1 / Animation_Speed) | |
1445 | RightHip.C0 = Clerp(RightHip.C0, CF(1, -1 - 0.05 * COS(SINE / 12), -0.01) * ANGLES(RAD(0), RAD(65), RAD(0)) * ANGLES(RAD(-1), RAD(0), RAD(0)), 1 / Animation_Speed) | |
1446 | LeftHip.C0 = Clerp(LeftHip.C0, CF(-1, -1 - 0.05 * COS(SINE / 12), -0.01) * ANGLES(RAD(0), RAD(-85), RAD(0)) * ANGLES(RAD(-1), RAD(0), RAD(0)), 1 / Animation_Speed) | |
1447 | end | |
1448 | for i=0, 1, 0.1 / Animation_Speed do | |
1449 | Swait() | |
1450 | RootJoint.C0 = Clerp(RootJoint.C0,ROOTC0 * CF(0, 0, 0 + 0.05 * COS(SINE / 12)) * ANGLES(RAD(0), RAD(0), RAD(-15)), 1 / Animation_Speed) | |
1451 | Neck.C0 = Clerp(Neck.C0, NECKC0 * CF(0, 0, 0 + ((1) - 1)) * ANGLES(RAD(15 - 2.5 * COS(SINE / 12)), RAD(0), RAD(15)), 1 / Animation_Speed) | |
1452 | RightShoulder.C0 = Clerp(RightShoulder.C0, CF(1.45, 0.5, 0) * ANGLES(RAD(60), RAD(0), RAD(0)) * RIGHTSHOULDERC0, 1 / Animation_Speed) | |
1453 | LeftShoulder.C0 = Clerp(LeftShoulder.C0, CF(-1.5, 0.5, 0) * ANGLES(RAD(0), RAD(0), RAD(0)) * LEFTSHOULDERC0, 1 / Animation_Speed) | |
1454 | RightHip.C0 = Clerp(RightHip.C0, CF(1, -1 - 0.05 * COS(SINE / 12), -0.01) * ANGLES(RAD(0), RAD(85), RAD(0)) * ANGLES(RAD(-1), RAD(0), RAD(0)), 1 / Animation_Speed) | |
1455 | LeftHip.C0 = Clerp(LeftHip.C0, CF(-1, -1 - 0.05 * COS(SINE / 12), -0.01) * ANGLES(RAD(0), RAD(-70), RAD(0)) * ANGLES(RAD(-1), RAD(0), RAD(0)), 1 / Animation_Speed) | |
1456 | end | |
1457 | local ERUPT = function() | |
1458 | local HITFLOOR,HITPOS = Raycast(HEAD.CFrame*CF(0,0.2,0).p+VT(0,0.2,0), (CF(RootPart.Position, RootPart.Position + VT(0, -1, 0))).lookVector, 4*ROOT.Size.X, FOE) | |
1459 | if HITFLOOR then | |
1460 | for i = 1, 5 do | |
1461 | CreateFlyingDebree(HITFLOOR,CF(HITPOS),MRANDOM(1,2),VT(MRANDOM(10,60)/20,MRANDOM(10,60)/20,MRANDOM(10,60)/20),5,MRANDOM(45,85)) | |
1462 | end | |
1463 | Chunks(HEAD) | |
1464 | WACKYEFFECT({Time = 25, EffectType = "Wave", Size = VT(1,2,1), Size2 = VT(15,0,15), Transparency = 0, Transparency2 = 1, CFrame = CF(HITPOS) * ANGLES(RAD(0), RAD(MRANDOM(0,360)), RAD(0)) , MoveToPos = nil, RotationX = 0, RotationY = 0, RotationZ = 0, Material = "Neon", Color = C3(1,1,1), SoundID = 765590102, SoundPitch = MRANDOM(8,12)/10, SoundVolume = 4}) | |
1465 | end | |
1466 | end | |
1467 | for i=0, 1, 0.1 / Animation_Speed do | |
1468 | Swait() | |
1469 | RootJoint.C0 = Clerp(RootJoint.C0,ROOTC0 * CF(0, 0, -0.75 + 0.05 * COS(SINE / 12)) * ANGLES(RAD(45), RAD(0), RAD(15)), 1 / Animation_Speed) | |
1470 | Neck.C0 = Clerp(Neck.C0, NECKC0 * CF(0, 0, 0 + ((1) - 1)) * ANGLES(RAD(15 + MRANDOM(-5,5) - 2.5 * COS(SINE / 12)), RAD(MRANDOM(-5,5)), RAD(10)), 1 / Animation_Speed) | |
1471 | RightShoulder.C0 = Clerp(RightShoulder.C0, CF(1.45, 0.5, 1) * ANGLES(RAD(60 + MRANDOM(-5,5)), RAD(0), RAD(25 + MRANDOM(-5,5))) * ANGLES(RAD(0), RAD(80), RAD(0)) * RIGHTSHOULDERC0, 1 / Animation_Speed) | |
1472 | LeftShoulder.C0 = Clerp(LeftShoulder.C0, CF(-1.5, 0.5, 0) * ANGLES(RAD(5), RAD(0), RAD(5)) * LEFTSHOULDERC0, 1 / Animation_Speed) | |
1473 | RightHip.C0 = Clerp(RightHip.C0, CF(1, -0.25 - 0.05 * COS(SINE / 12), -0.5) * ANGLES(RAD(40), RAD(70), RAD(0)) * ANGLES(RAD(-5), RAD(0), RAD(0)), 1 / Animation_Speed) | |
1474 | LeftHip.C0 = Clerp(LeftHip.C0, CF(-1, -1 - 0.05 * COS(SINE / 12), -0.3) * ANGLES(RAD(0), RAD(-85), RAD(0)) * ANGLES(RAD(-1), RAD(0), RAD(0)), 1 / Animation_Speed) | |
1475 | end | |
1476 | local ATE = false | |
1477 | local DEPTH = 1 | |
1478 | coroutine.resume(coroutine.create(function() | |
1479 | repeat | |
1480 | Swait() | |
1481 | RootJoint.C0 = Clerp(RootJoint.C0,ROOTC0 * CF(0, 0, -0.75 + 0.05 * COS(SINE / 12)) * ANGLES(RAD(45), RAD(0), RAD(15)), 1 / Animation_Speed) | |
1482 | Neck.C0 = Clerp(Neck.C0, NECKC0 * CF(0, 0, 0 + ((1) - 1)) * ANGLES(RAD(15 + MRANDOM(-5,5) - 2.5 * COS(SINE / 12)), RAD(MRANDOM(-5,5)), RAD(10)), 1 / Animation_Speed) | |
1483 | RightShoulder.C0 = Clerp(RightShoulder.C0, CF(1.45, 1-DEPTH/4, -DEPTH/4) * ANGLES(RAD(60 + MRANDOM(-5,5)), RAD(0), RAD(25 + MRANDOM(-5,5))) * ANGLES(RAD(0), RAD(80), RAD(0)) * RIGHTSHOULDERC0, 1 / Animation_Speed) | |
1484 | LeftShoulder.C0 = Clerp(LeftShoulder.C0, CF(-1.5, 0.5, 0) * ANGLES(RAD(5), RAD(0), RAD(5)) * LEFTSHOULDERC0, 1 / Animation_Speed) | |
1485 | RightHip.C0 = Clerp(RightHip.C0, CF(1, -0.25 - 0.05 * COS(SINE / 12), -0.5) * ANGLES(RAD(40), RAD(70), RAD(0)) * ANGLES(RAD(-5), RAD(0), RAD(0)), 1 / Animation_Speed) | |
1486 | LeftHip.C0 = Clerp(LeftHip.C0, CF(-1, -1 - 0.05 * COS(SINE / 12), -0.3) * ANGLES(RAD(0), RAD(-85), RAD(0)) * ANGLES(RAD(-1), RAD(0), RAD(0)), 1 / Animation_Speed) | |
1487 | until ATE == true | |
1488 | end)) | |
1489 | coroutine.resume(coroutine.create(function() | |
1490 | wait(1) | |
1491 | for i=0, 2, 0.1 / Animation_Speed do | |
1492 | Swait() | |
1493 | RootJoint.C0 = Clerp(RootJoint.C0,ROOTC0 * CF(0, 0, -0.75 + 0.05 * COS(SINE / 12)) * ANGLES(RAD(45), RAD(0), RAD(15)), 1 / Animation_Speed) | |
1494 | Neck.C0 = Clerp(Neck.C0, NECKC0 * CF(0, 0, 0 + ((1) - 1)) * ANGLES(RAD(15 + MRANDOM(-5,5) - 2.5 * COS(SINE / 12)), RAD(MRANDOM(-5,5)), RAD(10)), 1 / Animation_Speed) | |
1495 | RightShoulder.C0 = Clerp(RightShoulder.C0, CF(1.45, 0.5, 1) * ANGLES(RAD(60 + MRANDOM(-5,5)), RAD(0), RAD(25 + MRANDOM(-5,5))) * ANGLES(RAD(0), RAD(80), RAD(0)) * RIGHTSHOULDERC0, 1 / Animation_Speed) | |
1496 | LeftShoulder.C0 = Clerp(LeftShoulder.C0, CF(-1.5, 0.5, 0) * ANGLES(RAD(5), RAD(0), RAD(5)) * LEFTSHOULDERC0, 1 / Animation_Speed) | |
1497 | RightHip.C0 = Clerp(RightHip.C0, CF(1, -0.25 - 0.05 * COS(SINE / 12), -0.5) * ANGLES(RAD(40), RAD(70), RAD(0)) * ANGLES(RAD(-5), RAD(0), RAD(0)), 1 / Animation_Speed) | |
1498 | LeftHip.C0 = Clerp(LeftHip.C0, CF(-1, -1 - 0.05 * COS(SINE / 12), -0.3) * ANGLES(RAD(0), RAD(-85), RAD(0)) * ANGLES(RAD(-1), RAD(0), RAD(0)), 1 / Animation_Speed) | |
1499 | end | |
1500 | wait(1) | |
1501 | for i=0, 2, 0.1 / Animation_Speed do | |
1502 | Swait() | |
1503 | RootJoint.C0 = Clerp(RootJoint.C0,ROOTC0 * CF(0, 0, -0.75 + 0.05 * COS(SINE / 12)) * ANGLES(RAD(45), RAD(0), RAD(15)), 1 / Animation_Speed) | |
1504 | Neck.C0 = Clerp(Neck.C0, NECKC0 * CF(0, 0, 0 + ((1) - 1)) * ANGLES(RAD(15 + MRANDOM(-5,5) - 2.5 * COS(SINE / 12)), RAD(MRANDOM(-5,5)), RAD(10)), 1 / Animation_Speed) | |
1505 | RightShoulder.C0 = Clerp(RightShoulder.C0, CF(1.45, 0.5, 1) * ANGLES(RAD(60 + MRANDOM(-5,5)), RAD(0), RAD(25 + MRANDOM(-5,5))) * ANGLES(RAD(0), RAD(80), RAD(0)) * RIGHTSHOULDERC0, 1 / Animation_Speed) | |
1506 | LeftShoulder.C0 = Clerp(LeftShoulder.C0, CF(-1.5, 0.5, 0) * ANGLES(RAD(5), RAD(0), RAD(5)) * LEFTSHOULDERC0, 1 / Animation_Speed) | |
1507 | RightHip.C0 = Clerp(RightHip.C0, CF(1, -0.25 - 0.05 * COS(SINE / 12), -0.5) * ANGLES(RAD(40), RAD(70), RAD(0)) * ANGLES(RAD(-5), RAD(0), RAD(0)), 1 / Animation_Speed) | |
1508 | LeftHip.C0 = Clerp(LeftHip.C0, CF(-1, -1 - 0.05 * COS(SINE / 12), -0.3) * ANGLES(RAD(0), RAD(-85), RAD(0)) * ANGLES(RAD(-1), RAD(0), RAD(0)), 1 / Animation_Speed) | |
1509 | end | |
1510 | wait(1.5) | |
1511 | for i=0, 3, 0.1 / Animation_Speed do | |
1512 | Swait() | |
1513 | RootJoint.C0 = Clerp(RootJoint.C0,ROOTC0 * CF(0, 0, -0.75 + 0.05 * COS(SINE / 12)) * ANGLES(RAD(45), RAD(0), RAD(15)), 1 / Animation_Speed) | |
1514 | Neck.C0 = Clerp(Neck.C0, NECKC0 * CF(0, 0, 0 + ((1) - 1)) * ANGLES(RAD(15 + MRANDOM(-5,5) - 2.5 * COS(SINE / 12)), RAD(MRANDOM(-5,5)), RAD(10)), 1 / Animation_Speed) | |
1515 | RightShoulder.C0 = Clerp(RightShoulder.C0, CF(1.45, 0.5, 2) * ANGLES(RAD(60 + MRANDOM(-5,5)), RAD(0), RAD(25 + MRANDOM(-5,5))) * ANGLES(RAD(0), RAD(80), RAD(-15)) * RIGHTSHOULDERC0, 0.3 / Animation_Speed) | |
1516 | LeftShoulder.C0 = Clerp(LeftShoulder.C0, CF(-1.5, 0.5, 0) * ANGLES(RAD(5), RAD(0), RAD(5)) * LEFTSHOULDERC0, 1 / Animation_Speed) | |
1517 | RightHip.C0 = Clerp(RightHip.C0, CF(1, -0.25 - 0.05 * COS(SINE / 12), -0.5) * ANGLES(RAD(40), RAD(70), RAD(0)) * ANGLES(RAD(-5), RAD(0), RAD(0)), 1 / Animation_Speed) | |
1518 | LeftHip.C0 = Clerp(LeftHip.C0, CF(-1, -1 - 0.05 * COS(SINE / 12), -0.3) * ANGLES(RAD(0), RAD(-85), RAD(0)) * ANGLES(RAD(-1), RAD(0), RAD(0)), 1 / Animation_Speed) | |
1519 | end | |
1520 | end)) | |
1521 | wait() | |
1522 | ERUPT() | |
1523 | ERUPT() | |
1524 | DEPTH = 2 | |
1525 | wait(2) | |
1526 | ERUPT() | |
1527 | DEPTH = 2.5 | |
1528 | wait(2) | |
1529 | ERUPT() | |
1530 | DEPTH = 2.5 | |
1531 | wait(1.75) | |
1532 | CreateSound(159882598, Torso, 10, 0.9, false) | |
1533 | wait(0.25) | |
1534 | chatfunc("D I E") | |
1535 | wait(1) | |
1536 | ERUPT() | |
1537 | ERUPT() | |
1538 | HEAD:remove() | |
1539 | DEAD = true | |
1540 | ApplyDamage(HUM,0,true) | |
1541 | wait(0.2) | |
1542 | ATE = true | |
1543 | FACE = 300139178 | |
1544 | UNANCHOR = true | |
1545 | ATTACK = false | |
1546 | Rooted = false | |
1547 | end | |
1548 | end | |
1549 | end | |
1550 | end | |
1551 | end | |
1552 | function TrustIssues() | |
1553 | ATTACK = true | |
1554 | Rooted = false | |
1555 | CreateSound(649634100,Head,10,0.7,false) | |
1556 | FACE = 148988280 | |
1557 | chatfunc("Ha ha ha..") | |
1558 | for i=1, 80 do | |
1559 | Swait() | |
1560 | RootJoint.C0 = Clerp(RootJoint.C0,ROOTC0 * CF(0, 0, 0 + 0.15* COS(i / 5)) * ANGLES(RAD(0), RAD(0), RAD(0)), 1 / Animation_Speed) | |
1561 | Neck.C0 = Clerp(Neck.C0, NECKC0 * CF(0, 0, 0 + ((1) - 1)) * ANGLES(RAD(-25 + MRANDOM(-5,5)), RAD(MRANDOM(-5,5)), RAD(0)), 1 / Animation_Speed) | |
1562 | RightShoulder.C0 = Clerp(RightShoulder.C0, CF(1.5, 0.5 + 0.15 * SIN(i / 5), 0) * ANGLES(RAD(0), RAD(-15), RAD(5)) * RIGHTSHOULDERC0, 1 / Animation_Speed) | |
1563 | LeftShoulder.C0 = Clerp(LeftShoulder.C0, CF(-1.5, 0.5 + 0.15 * SIN(i / 5), 0) * ANGLES(RAD(0), RAD(15), RAD(-5)) * LEFTSHOULDERC0, 1 / Animation_Speed) | |
1564 | RightHip.C0 = Clerp(RightHip.C0, CF(1, -1 - 0.15 * COS(i / 5), -0.01) * ANGLES(RAD(0), RAD(85), RAD(0)) * ANGLES(RAD(-1), RAD(0), RAD(0)), 1 / Animation_Speed) | |
1565 | LeftHip.C0 = Clerp(LeftHip.C0, CF(-1, -1 - 0.15 * COS(i / 5), -0.01) * ANGLES(RAD(0), RAD(-85), RAD(0)) * ANGLES(RAD(-1), RAD(0), RAD(0)), 1 / Animation_Speed) | |
1566 | end | |
1567 | FACE = 300139178 | |
1568 | ATTACK = false | |
1569 | Rooted = false | |
1570 | end | |
1571 | ||
1572 | --//=================================\\ | |
1573 | --|| PSYCHOTIC | |
1574 | --\\=================================// | |
1575 | ||
1576 | function CreateCrown(SIZE,WAIT,CFRAME,DOESROT,ROT,COLOR,GROW) | |
1577 | local wave = CreatePart(3, Effects, "Neon", 0, 0.5, BRICKC(COLOR), "Effect", VT(0,0,0)) | |
1578 | local mesh = IT("SpecialMesh",wave) | |
1579 | mesh.MeshType = "FileMesh" | |
1580 | mesh.MeshId = "http://www.roblox.com/asset/?id=1078075" | |
1581 | mesh.Scale = SIZE | |
1582 | mesh.Offset = VT(0,0,-SIZE.X/8) | |
1583 | wave.CFrame = CFRAME | |
1584 | coroutine.resume(coroutine.create(function(PART) | |
1585 | for i = 1, WAIT do | |
1586 | Swait() | |
1587 | mesh.Scale = mesh.Scale + GROW | |
1588 | mesh.Offset = VT(0,0,-(mesh.Scale.X/8)) | |
1589 | if DOESROT == true then | |
1590 | wave.CFrame = wave.CFrame * CFrame.fromEulerAnglesXYZ(0,ROT,0) | |
1591 | end | |
1592 | wave.Transparency = wave.Transparency + (0.5/WAIT) | |
1593 | if wave.Transparency > 0.99 then | |
1594 | wave:remove() | |
1595 | end | |
1596 | end | |
1597 | end)) | |
1598 | end | |
1599 | ||
1600 | function MagicSphere(SIZE,WAIT,CFRAME,COLOR,GROW) | |
1601 | local wave = CreatePart(3, Effects, "Neon", 0, 0, BRICKC(COLOR), "Effect", VT(1,1,1), true) | |
1602 | local mesh = IT("SpecialMesh",wave) | |
1603 | mesh.MeshType = "Sphere" | |
1604 | mesh.Scale = SIZE | |
1605 | mesh.Offset = VT(0,0,0) | |
1606 | wave.CFrame = CFRAME | |
1607 | coroutine.resume(coroutine.create(function(PART) | |
1608 | for i = 1, WAIT do | |
1609 | Swait() | |
1610 | mesh.Scale = mesh.Scale + GROW | |
1611 | wave.Transparency = wave.Transparency + (1/WAIT) | |
1612 | if wave.Transparency > 0.99 then | |
1613 | wave:remove() | |
1614 | end | |
1615 | end | |
1616 | end)) | |
1617 | end | |
1618 | ||
1619 | function AoEDamage(position,radius,min,max,maxstrength,critrate,critmultiplier) | |
1620 | local dmg = math.random(min,max) | |
1621 | for i,v in ipairs(workspace:GetChildren()) do | |
1622 | if v:FindFirstChild("HitBy"..Player.Name) == nil then | |
1623 | local body = v:GetChildren() | |
1624 | for part = 1, #body do | |
1625 | if(v:FindFirstChild("HitBy"..Player.Name) == nil and (body[part].ClassName == "Part" or body[part].ClassName == "MeshPart") and v ~= Character) then | |
1626 | if(body[part].Position - position).Magnitude < radius then | |
1627 | if v.ClassName == "Model" then | |
1628 | if v:FindFirstChildOfClass("Humanoid") then | |
1629 | ApplyDamage(v:FindFirstChildOfClass("Humanoid"),dmg,critrate,critmultiplier) | |
1630 | body[part].Velocity = CFrame.new(position,body[part].Position).lookVector*5*maxstrength | |
1631 | end | |
1632 | end | |
1633 | end | |
1634 | end | |
1635 | end | |
1636 | end | |
1637 | if v:FindFirstChild("HitBy"..Player.Name) then | |
1638 | v:FindFirstChild("HitBy"..Player.Name):remove() | |
1639 | end | |
1640 | end | |
1641 | end | |
1642 | ||
1643 | Debris = game:GetService("Debris") | |
1644 | ||
1645 | function CastProperRay(StartPos, EndPos, Distance, Ignore) | |
1646 | local DIRECTION = CF(StartPos,EndPos).lookVector | |
1647 | return Raycast(StartPos, DIRECTION, Distance, Ignore) | |
1648 | end | |
1649 | ||
1650 | local EyeSizes={ | |
1651 | NumberSequenceKeypoint.new(0,1,0), | |
1652 | NumberSequenceKeypoint.new(1,0,0) | |
1653 | } | |
1654 | local EyeTrans={ | |
1655 | NumberSequenceKeypoint.new(0,0.8,0), | |
1656 | NumberSequenceKeypoint.new(1,1,0) | |
1657 | } | |
1658 | local PE=Instance.new("ParticleEmitter",nil) | |
1659 | PE.LightEmission=.8 | |
1660 | PE.Color = ColorSequence.new(BRICKC("Really red").Color) | |
1661 | PE.Size=NumberSequence.new(EyeSizes) | |
1662 | PE.Transparency=NumberSequence.new(EyeTrans) | |
1663 | PE.Lifetime=NumberRange.new(0.35,1.5) | |
1664 | PE.Rotation=NumberRange.new(0,360) | |
1665 | PE.Rate=999 | |
1666 | PE.VelocitySpread = 10000 | |
1667 | PE.Acceleration = Vector3.new(0,0,0) | |
1668 | PE.Drag = 5 | |
1669 | PE.Speed = NumberRange.new(0,0,0) | |
1670 | PE.Texture="http://www.roblox.com/asset/?id=1351966707" | |
1671 | PE.ZOffset = -0 | |
1672 | PE.Name = "PE" | |
1673 | PE.Enabled = false | |
1674 | ||
1675 | function particles(art) | |
1676 | local PARTICLES = PE:Clone() | |
1677 | PARTICLES.Parent = art | |
1678 | end | |
1679 | ||
1680 | function StatLabel(CFRAME, TEXT, COLOR) | |
1681 | local STATPART = CreatePart(3, Effects, "SmoothPlastic", 0, 1, "Really black", "Effect", VT()) | |
1682 | STATPART.CFrame = CF(CFRAME.p,CFRAME.p+VT(MRANDOM(-5,5),MRANDOM(0,5),MRANDOM(-5,5))) | |
1683 | local BODYGYRO = IT("BodyGyro", STATPART) | |
1684 | game:GetService("Debris"):AddItem(STATPART ,5) | |
1685 | local BILLBOARDGUI = Instance.new("BillboardGui", STATPART) | |
1686 | BILLBOARDGUI.Adornee = STATPART | |
1687 | BILLBOARDGUI.Size = UD2(2.5, 0, 2.5 ,0) | |
1688 | BILLBOARDGUI.StudsOffset = VT(-2, 2, 0) | |
1689 | BILLBOARDGUI.AlwaysOnTop = false | |
1690 | local TEXTLABEL = Instance.new("TextLabel", BILLBOARDGUI) | |
1691 | TEXTLABEL.BackgroundTransparency = 1 | |
1692 | TEXTLABEL.Size = UD2(2.5, 0, 2.5, 0) | |
1693 | TEXTLABEL.Text = TEXT | |
1694 | TEXTLABEL.Font = SKILLFONT | |
1695 | TEXTLABEL.FontSize="Size42" | |
1696 | TEXTLABEL.TextColor3 = COLOR | |
1697 | TEXTLABEL.TextStrokeTransparency = 0 | |
1698 | TEXTLABEL.TextScaled = true | |
1699 | TEXTLABEL.TextWrapped = true | |
1700 | coroutine.resume(coroutine.create(function(THEPART, THEBODYPOSITION, THETEXTLABEL) | |
1701 | for i = 1, 50 do | |
1702 | Swait() | |
1703 | STATPART.CFrame = STATPART.CFrame * CF(0,0,-0.2) | |
1704 | TEXTLABEL.TextTransparency = TEXTLABEL.TextTransparency + (1/50) | |
1705 | TEXTLABEL.TextStrokeTransparency = TEXTLABEL.TextTransparency | |
1706 | end | |
1707 | THEPART.Parent = nil | |
1708 | end),STATPART, TEXTLABEL) | |
1709 | end | |
1710 | ||
1711 | local WHITELIST = {} | |
1712 | ||
1713 | function KillChildren(v) | |
1714 | v:BreakJoints() | |
1715 | for _, c in pairs(v:GetChildren()) do | |
1716 | if c:IsA("BasePart") then | |
1717 | if c.Transparency < 1 then | |
1718 | if c:FindFirstChildOfClass("Decal") then | |
1719 | c:FindFirstChildOfClass("Decal"):remove() | |
1720 | end | |
1721 | particles(c) | |
1722 | c.PE.Enabled = true | |
1723 | c.Parent = Effects | |
1724 | c.CanCollide = false | |
1725 | c.Material = "Neon" | |
1726 | c.Color = C3(1,0,0) | |
1727 | c.Transparency = 1 | |
1728 | local grav = Instance.new("BodyPosition",c) | |
1729 | grav.P = 20000 | |
1730 | grav.maxForce = Vector3.new(math.huge,math.huge,math.huge) | |
1731 | grav.position = c.Position + VT(MRANDOM(-5,5),MRANDOM(-5,5),MRANDOM(-5,5)) | |
1732 | grav.Name = "GravityForce" | |
1733 | coroutine.resume(coroutine.create(function() | |
1734 | for i = 1, 20 do | |
1735 | Swait() | |
1736 | c.Transparency = c.Transparency + 1/20 | |
1737 | end | |
1738 | c.PE.Enabled = false | |
1739 | Debris:AddItem(c,2) | |
1740 | end)) | |
1741 | end | |
1742 | end | |
1743 | end | |
1744 | end | |
1745 | ||
1746 | function Kill(Target) | |
1747 | if Target.Parent ~= Weapon and Target:FindFirstChildOfClass("Humanoid") then | |
1748 | Target:BreakJoints() | |
1749 | local CFRAME = Target:FindFirstChild("Torso").CFrame or Target:FindFirstChild("UpperTorso") | |
1750 | local CLONE,TORS2,DummyHead = Ragdoll(Target,Torso) | |
1751 | getbloody(DummyHead,45) | |
1752 | if TORS2 ~= nil then | |
1753 | CreateSound("185688060", TORS2, 10, (math.random(8,12)/10)) | |
1754 | CreateSound("337800380", DummyHead, 5, (math.random(8,18)/10)) | |
1755 | local HUM = IT("Humanoid") | |
1756 | HUM.MaxHealth = 0 | |
1757 | HUM.Health = 0 | |
1758 | HUM.Name = "CorpseHumanoid" | |
1759 | HUM.PlatformStand = true | |
1760 | HUM.Parent = CLONE | |
1761 | KILLINSTINCT = KILLINSTINCT + 20 | |
1762 | TORS2.CFrame = CFRAME | |
1763 | coroutine.resume(coroutine.create(function() | |
1764 | for i = 1, 450 do | |
1765 | wait() | |
1766 | SprayBlood(DummyHead.CFrame*CF(0,-0.25,0).p,DummyHead.CFrame*CF(0,-0.7,0).p,5) | |
1767 | SprayBlood(TORS2.CFrame*CF(0,TORS2.Size.Y/2,0).p,TORS2.CFrame*CF(0,TORS2.Size.Y,0).p,10) | |
1768 | --PuddleOfBlood(DummyHead.CFrame*CF(0,-0.25,0).p,4,CLONE,3) | |
1769 | --PuddleOfBlood(TORS2.CFrame*CF(0,TORS2.Size.Y/2,0).p,8,CLONE,6) | |
1770 | end | |
1771 | CLONE:Remove() | |
1772 | end)) | |
1773 | end | |
1774 | end | |
1775 | end | |
1776 | ||
1777 | function ApplyAoE(POSITION,RANGE) | |
1778 | local CHILDREN = workspace:GetDescendants() | |
1779 | for index, CHILD in pairs(CHILDREN) do | |
1780 | if CHILD.ClassName == "Model" and CHILD ~= Character then | |
1781 | local LISTED = false | |
1782 | for LIST = 1, #WHITELIST do | |
1783 | if WHITELIST[LIST] ~= nil then | |
1784 | if CHILD.Name == WHITELIST[LIST] then | |
1785 | LISTED = true | |
1786 | end | |
1787 | end | |
1788 | end | |
1789 | if LISTED == false then | |
1790 | local HUM = CHILD:FindFirstChildOfClass("Humanoid") | |
1791 | if HUM then | |
1792 | local TORSO = CHILD:FindFirstChild("Torso") or CHILD:FindFirstChild("UpperTorso") | |
1793 | if TORSO then | |
1794 | if (TORSO.Position - POSITION).Magnitude <= RANGE+TORSO.Size.Magnitude then | |
1795 | KillChildren(CHILD) | |
1796 | end | |
1797 | end | |
1798 | end | |
1799 | end | |
1800 | end | |
1801 | end | |
1802 | end | |
1803 | ||
1804 | function BloodCurdles() | |
1805 | local HITFLOOR,HITPOS = Raycast(RootPart.Position, (CF(RootPart.Position, RootPart.Position + VT(0, -1, 0))).lookVector, 4, Character) | |
1806 | if HITFLOOR ~= nil then | |
1807 | ATTACK = true | |
1808 | Rooted = true | |
1809 | FACE = 231432333 | |
1810 | chatfunc("Is this familiar..?") | |
1811 | WACKYEFFECT({Time = 60, EffectType = "Sphere", Size = VT(0,0.55,0), Size2 = VT(20,0.55,20), Transparency = 0, Transparency2 = 1, CFrame = RootPart.CFrame.p, MoveToPos = nil, RotationX = 0, RotationY = 0, RotationZ = 0, Material = "Neon", Color = C3(1,0,0), SoundID = nil, SoundPitch = nil, SoundVolume = nil}) | |
1812 | for i=0, 2, 0.1 / Animation_Speed do | |
1813 | Swait() | |
1814 | MagicSphere(VT(0,2,0),60,RootPart.CFrame*CF(0,-3,0),"Dark red",VT(4,0,4)) | |
1815 | RootJoint.C0 = Clerp(RootJoint.C0,ROOTC0 * CF(0, 0, -1.5) * ANGLES(RAD(0), RAD(0), RAD(0)), 0.5 / Animation_Speed) | |
1816 | Neck.C0 = Clerp(Neck.C0, NECKC0 * CF(0, 0, 0 + ((1) - 1)) * ANGLES(RAD(-15 - 2.5 * SIN(SINE / 12)), RAD(-15), RAD(0)), 0.15 / Animation_Speed) | |
1817 | RightShoulder.C0 = Clerp(RightShoulder.C0, CF(1.5, 0.5, 0) * ANGLES(RAD(60), RAD(-90), RAD(0)) * RIGHTSHOULDERC0, 0.5 / Animation_Speed) | |
1818 | LeftShoulder.C0 = Clerp(LeftShoulder.C0, CF(-1.5, 0.5, 0) * ANGLES(RAD(0), RAD(0), RAD(-12)) * LEFTSHOULDERC0, 0.15 / Animation_Speed) | |
1819 | RightHip.C0 = Clerp(RightHip.C0, CF(1, 0.5, -0.75) * ANGLES(RAD(0), RAD(90), RAD(0)) * ANGLES(RAD(5), RAD(0), RAD(0)), 0.5 / Animation_Speed) | |
1820 | LeftHip.C0 = Clerp(LeftHip.C0, CF(-1, -1, -0.4) * ANGLES(RAD(0), RAD(-90), RAD(0)) * ANGLES(RAD(5), RAD(0), RAD(90)), 0.5 / Animation_Speed) | |
1821 | end | |
1822 | CreateSound("588736245", Character, 2, 0.9) | |
1823 | coroutine.resume(coroutine.create(function() | |
1824 | wait() | |
1825 | for i=0, 1, 0.1 / Animation_Speed do | |
1826 | Swait() | |
1827 | ApplyAoE(RootPart.CFrame*CF(0,-3,0).p,110) | |
1828 | MagicSphere(VT(65,2,65),15,RootPart.CFrame*CF(0,-3,0),"Dark red",VT(15,500,15)) | |
1829 | end | |
1830 | end)) | |
1831 | for i=0, 1, 0.1 / Animation_Speed do | |
1832 | Swait() | |
1833 | RootJoint.C0 = Clerp(RootJoint.C0,ROOTC0 * CF(0, 0, -1.5) * ANGLES(RAD(0), RAD(0), RAD(0)), 0.8 / Animation_Speed) | |
1834 | Neck.C0 = Clerp(Neck.C0, NECKC0 * CF(0, 0, 0 + ((1) - 1)) * ANGLES(RAD(15 - 2.5 * SIN(SINE / 12)), RAD(0), RAD(0)), 0.8 / Animation_Speed) | |
1835 | RightShoulder.C0 = Clerp(RightShoulder.C0, CF(1.5, 0.5, 0) * ANGLES(RAD(185), RAD(-90), RAD(0)) * RIGHTSHOULDERC0, 0.8 / Animation_Speed) | |
1836 | LeftShoulder.C0 = Clerp(LeftShoulder.C0, CF(-1.5, 0.5, 0) * ANGLES(RAD(90), RAD(0), RAD(45)) * LEFTSHOULDERC0, 0.8 / Animation_Speed) | |
1837 | RightHip.C0 = Clerp(RightHip.C0, CF(1, 0.5, -0.75) * ANGLES(RAD(0), RAD(90), RAD(0)) * ANGLES(RAD(5), RAD(0), RAD(0)), 0.8 / Animation_Speed) | |
1838 | LeftHip.C0 = Clerp(LeftHip.C0, CF(-1, -1, -0.4) * ANGLES(RAD(0), RAD(-90), RAD(0)) * ANGLES(RAD(5), RAD(0), RAD(90)), 0.8 / Animation_Speed) | |
1839 | end | |
1840 | FACE = 300139178 | |
1841 | ATTACK = false | |
1842 | Rooted = false | |
1843 | end | |
1844 | end | |
1845 | ||
1846 | function BulletMark() | |
1847 | local TARGET = Mouse.Target | |
1848 | if TARGET ~= nil then | |
1849 | if TARGET.Parent:FindFirstChildOfClass("Humanoid") then | |
1850 | local HUM = TARGET.Parent:FindFirstChildOfClass("Humanoid") | |
1851 | local LEG = TARGET.Parent:FindFirstChild("Right Leg") or TARGET.Parent:FindFirstChild("RightLowerLeg") | |
1852 | if LEG and HUM.Health > 0 then | |
1853 | Speed = 6 | |
1854 | ATTACK = true | |
1855 | Rooted = false | |
1856 | local GYRO = IT("BodyGyro",RootPart) | |
1857 | GYRO.D = 2 | |
1858 | GYRO.P = 2000 | |
1859 | GYRO.MaxTorque = VT(0,4000000,0) | |
1860 | coroutine.resume(coroutine.create(function() | |
1861 | repeat | |
1862 | Swait() | |
1863 | GYRO.CFrame = CF(RootPart.Position,LEG.Position) | |
1864 | until ATTACK == false | |
1865 | GYRO:Remove() | |
1866 | end)) | |
1867 | local HIT,POS = CastProperRay(RootPart.Position,LEG.Position,1000,Character) | |
1868 | local PASS = true | |
1869 | for i=0, 0.2, 0.1 / Animation_Speed do | |
1870 | Swait() | |
1871 | HIT,POS = CastProperRay(RootPart.Position,LEG.Position,1000,Character) | |
1872 | if HIT == nil then | |
1873 | PASS = false | |
1874 | break | |
1875 | else | |
1876 | if HIT.Parent ~= TARGET.Parent then | |
1877 | PASS = false | |
1878 | break | |
1879 | end | |
1880 | end | |
1881 | RootJoint.C0 = Clerp(RootJoint.C0,ROOTC0 * CF(0, 0, 0) * ANGLES(RAD(0), RAD(0), RAD(0)), 1 / Animation_Speed) | |
1882 | Neck.C0 = Clerp(Neck.C0, NECKC0 * CF(0, 0, 0 + ((1) - 1)) * ANGLES(RAD(25), RAD(0), RAD(-15)), 1 / Animation_Speed) | |
1883 | RightShoulder.C0 = Clerp(RightShoulder.C0, CF(1.5, 0.5, 0) * ANGLES(RAD(0), RAD(0), RAD(5)) * RIGHTSHOULDERC0, 1 / Animation_Speed) | |
1884 | LeftShoulder.C0 = Clerp(LeftShoulder.C0, CF(-1.525, 0.5, 0) * ANGLES(RAD(0), RAD(0), RAD(5)) * LEFTSHOULDERC0, 1 / Animation_Speed) | |
1885 | 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) | |
1886 | 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) | |
1887 | end | |
1888 | CreateSound(147722227, GunPoint, 6, 1.3, false) | |
1889 | for i=0, 0.4, 0.1 / Animation_Speed do | |
1890 | Swait() | |
1891 | HIT,POS = CastProperRay(RootPart.Position,LEG.Position,1000,Character) | |
1892 | if HIT == nil then | |
1893 | PASS = false | |
1894 | break | |
1895 | else | |
1896 | if HIT.Parent ~= TARGET.Parent then | |
1897 | PASS = false | |
1898 | break | |
1899 | end | |
1900 | end | |
1901 | RootJoint.C0 = Clerp(RootJoint.C0,ROOTC0 * CF(0, 0, 0) * ANGLES(RAD(0), RAD(0), RAD(45)), 1 / Animation_Speed) | |
1902 | Neck.C0 = Clerp(Neck.C0, NECKC0 * CF(0, 0, 0 + ((1) - 1)) * ANGLES(RAD(0), RAD(0), RAD(-45)), 1 / Animation_Speed) | |
1903 | RightShoulder.C0 = Clerp(RightShoulder.C0, CF(1.5, 0.5, 0) * ANGLES(RAD(90), RAD(0), RAD(45)) * RIGHTSHOULDERC0, 1 / Animation_Speed) | |
1904 | LeftShoulder.C0 = Clerp(LeftShoulder.C0, CF(-1.5, 0.5, 0) * ANGLES(RAD(0), RAD(0), RAD(0)) * LEFTSHOULDERC0, 1 / Animation_Speed) | |
1905 | 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) | |
1906 | LeftHip.C0 = Clerp(LeftHip.C0, CF(-1, -1, -0.01) * ANGLES(RAD(0), RAD(-50), RAD(0)) * ANGLES(RAD(-1), RAD(0), RAD(0)), 1 / Animation_Speed) | |
1907 | end | |
1908 | if PASS == true then | |
1909 | local GUNPOS = GunPoint.CFrame*CF(0, 0, 0).p | |
1910 | local DISTANCE = (LEG.Position - GUNPOS).Magnitude | |
1911 | CreateSound(160432334, LEG, 10, 1, false) | |
1912 | local HEAD = HUM.Parent:FindFirstChild("Head") | |
1913 | if HEAD then | |
1914 | CreateSound(535690488, HEAD, 7, 1, false) | |
1915 | end | |
1916 | ApplyDamage(HUM,999,true) | |
1917 | HUM.WalkSpeed = HUM.WalkSpeed - 3 | |
1918 | HUM.PlatformStand = true | |
1919 | coroutine.resume(coroutine.create(function() | |
1920 | wait(0.1) | |
1921 | if HUM.WalkSpeed > 0 then | |
1922 | HUM.PlatformStand = false | |
1923 | end | |
1924 | end)) | |
1925 | WACKYEFFECT({Time = 15, EffectType = "Block", Size = VT(0,0,0), Size2 = VT(0.6,0.6,0.6), Transparency = 0, Transparency2 = 1, CFrame = CF(GUNPOS), MoveToPos = nil, RotationX = 0, RotationY = 0, RotationZ = 0, Material = "Neon", Color = C3(1,0,0), SoundID = 330704232, SoundPitch = 1, SoundVolume = 4}) | |
1926 | WACKYEFFECT({Time = 6, EffectType = "Box", Size = VT(0,0,DISTANCE), Size2 = VT(0.5,0.5,DISTANCE), Transparency = 0, Transparency2 = 1, CFrame = CF(GUNPOS,LEG.Position)*CF(0,0,-DISTANCE/2), MoveToPos = nil, RotationX = 0, RotationY = 0, RotationZ = 0, Material = "Neon", Color = C3(1,0,0), SoundID = nil, SoundPitch = nil, SoundVolume = nil}) | |
1927 | for i=0, 1, 0.1 / Animation_Speed do | |
1928 | Swait() | |
1929 | RootJoint.C0 = Clerp(RootJoint.C0,ROOTC0 * CF(0, 0, 0) * ANGLES(RAD(0), RAD(0), RAD(45)), 1 / Animation_Speed) | |
1930 | Neck.C0 = Clerp(Neck.C0, NECKC0 * CF(0, 0, 0 + ((1) - 1)) * ANGLES(RAD(15), RAD(0), RAD(-45)), 1 / Animation_Speed) | |
1931 | RightShoulder.C0 = Clerp(RightShoulder.C0, CF(1.5, 0.5, 0) * ANGLES(RAD(120), RAD(0), RAD(45)) * RIGHTSHOULDERC0, 1 / Animation_Speed) | |
1932 | LeftShoulder.C0 = Clerp(LeftShoulder.C0, CF(-1.5, 0.5, 0) * ANGLES(RAD(0), RAD(0), RAD(0)) * LEFTSHOULDERC0, 1 / Animation_Speed) | |
1933 | 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) | |
1934 | LeftHip.C0 = Clerp(LeftHip.C0, CF(-1, -1, -0.01) * ANGLES(RAD(0), RAD(-50), RAD(0)) * ANGLES(RAD(-1), RAD(0), RAD(0)), 1 / Animation_Speed) | |
1935 | end | |
1936 | end | |
1937 | for i=0, 0.3, 0.1 / Animation_Speed do | |
1938 | Swait() | |
1939 | RootJoint.C0 = Clerp(RootJoint.C0,ROOTC0 * CF(0, 0, 0) * ANGLES(RAD(0), RAD(0), RAD(0)), 1 / Animation_Speed) | |
1940 | Neck.C0 = Clerp(Neck.C0, NECKC0 * CF(0, 0, 0 + ((1) - 1)) * ANGLES(RAD(25), RAD(0), RAD(15)), 1 / Animation_Speed) | |
1941 | RightShoulder.C0 = Clerp(RightShoulder.C0, CF(1.5, 0.5, 0) * ANGLES(RAD(0), RAD(0), RAD(0)) * RIGHTSHOULDERC0, 1 / Animation_Speed) | |
1942 | LeftShoulder.C0 = Clerp(LeftShoulder.C0, CF(-1.525, 0.5, 0) * ANGLES(RAD(0), RAD(0), RAD(5)) * LEFTSHOULDERC0, 1 / Animation_Speed) | |
1943 | 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) | |
1944 | 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) | |
1945 | end | |
1946 | ATTACK = false | |
1947 | Rooted = false | |
1948 | Speed = 20 | |
1949 | end | |
1950 | end | |
1951 | end | |
1952 | end | |
1953 | ||
1954 | function Finisher() | |
1955 | local TARGET = Mouse.Target | |
1956 | if TARGET ~= nil then | |
1957 | if TARGET.Parent:FindFirstChildOfClass("Humanoid") then | |
1958 | local HUM = TARGET.Parent:FindFirstChildOfClass("Humanoid") | |
1959 | local ROOT = TARGET.Parent:FindFirstChild("HumanoidRootPart") or TARGET.Parent:FindFirstChild("Torso") or TARGET.Parent:FindFirstChild("UpperTorso") | |
1960 | if ROOT and HUM.Health > 0 then | |
1961 | local FOE = Mouse.Target.Parent | |
1962 | ATTACK = true | |
1963 | Rooted = true | |
1964 | CharacterFade(C3(1,0,0),150) | |
1965 | RootPart.CFrame = ROOT.CFrame*CF(-1.35,0,4) | |
1966 | ROOT.Anchored = true | |
1967 | FACE = 1895698679 | |
1968 | CreateSound(670796769, Torso, 9999, 0.6, false) | |
1969 | CreateSound(159882598, Torso, 5, 0.9, false) | |
1970 | chatfunc("JUST DIE!!!") | |
1971 | for i=0, 0.4, 0.1 / Animation_Speed do | |
1972 | Swait() | |
1973 | RootJoint.C0 = Clerp(RootJoint.C0,ROOTC0 * CF(0, 0, 0) * ANGLES(RAD(0), RAD(0), RAD(0)), 1 / Animation_Speed) | |
1974 | Neck.C0 = Clerp(Neck.C0, NECKC0 * CF(0, 0, 0 + ((1) - 1)) * ANGLES(RAD(0), RAD(0), RAD(0)), 1 / Animation_Speed) | |
1975 | RightShoulder.C0 = Clerp(RightShoulder.C0, CF(1.5, 0.5, 0) * ANGLES(RAD(80), RAD(0), RAD(0)) * RIGHTSHOULDERC0, 1 / Animation_Speed) | |
1976 | LeftShoulder.C0 = Clerp(LeftShoulder.C0, CF(-1.5, 0.5, 0) * ANGLES(RAD(0), RAD(0), RAD(0)) * LEFTSHOULDERC0, 1 / Animation_Speed) | |
1977 | 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) | |
1978 | 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) | |
1979 | end | |
1980 | HUM.PlatformStand = true | |
1981 | ROOT.CFrame = ROOT.CFrame * CF(0,-2*ROOT.Size.Z,0) * ANGLES(RAD(-90), RAD(0), RAD(0)) | |
1982 | coroutine.resume(coroutine.create(function() | |
1983 | Swait() | |
1984 | ROOT.Anchored = true | |
1985 | end)) | |
1986 | RootPart.CFrame = RootPart.CFrame*CF(0,0,-0.6) | |
1987 | for i=0, 0.2, 0.1 / Animation_Speed do | |
1988 | Swait() | |
1989 | RootJoint.C0 = Clerp(RootJoint.C0,ROOTC0 * CF(0, 0, 0) * ANGLES(RAD(0), RAD(0), RAD(45)), 1 / Animation_Speed) | |
1990 | Neck.C0 = Clerp(Neck.C0, NECKC0 * CF(0, 0, 0 + ((1) - 1)) * ANGLES(RAD(0), RAD(0), RAD(-45)), 1 / Animation_Speed) | |
1991 | RightShoulder.C0 = Clerp(RightShoulder.C0, CF(1.5, 0.5, -0.5) * ANGLES(RAD(90), RAD(0), RAD(45)) * RIGHTSHOULDERC0, 1 / Animation_Speed) | |
1992 | LeftShoulder.C0 = Clerp(LeftShoulder.C0, CF(-1.5, 0.5, 0) * ANGLES(RAD(0), RAD(0), RAD(0)) * LEFTSHOULDERC0, 1 / Animation_Speed) | |
1993 | 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) | |
1994 | LeftHip.C0 = Clerp(LeftHip.C0, CF(-1, -1, -0.01) * ANGLES(RAD(0), RAD(-50), RAD(0)) * ANGLES(RAD(-1), RAD(0), RAD(0)), 1 / Animation_Speed) | |
1995 | end | |
1996 | FACE = 176217464 | |
1997 | for i=0, 0.2, 0.1 / Animation_Speed do | |
1998 | Swait() | |
1999 | RootJoint.C0 = Clerp(RootJoint.C0,ROOTC0 * CF(0, 0, 0) * ANGLES(RAD(0), RAD(0), RAD(15)), 1 / Animation_Speed) | |
2000 | Neck.C0 = Clerp(Neck.C0, NECKC0 * CF(0, 0, 0 + ((1) - 1)) * ANGLES(RAD(0), RAD(0), RAD(-15)), 1 / Animation_Speed) | |
2001 | RightShoulder.C0 = Clerp(RightShoulder.C0, CF(1.5, 0.5, 0) * ANGLES(RAD(0), RAD(0), RAD(90)) * RIGHTSHOULDERC0, 1 / Animation_Speed) | |
2002 | LeftShoulder.C0 = Clerp(LeftShoulder.C0, CF(-1.5, 0.5, 0) * ANGLES(RAD(0), RAD(0), RAD(0)) * LEFTSHOULDERC0, 1 / Animation_Speed) | |
2003 | RightHip.C0 = Clerp(RightHip.C0, CF(1, -1, -0.01) * ANGLES(RAD(0), RAD(75), RAD(0)) * ANGLES(RAD(0), RAD(0), RAD(0)), 1 / Animation_Speed) | |
2004 | 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) | |
2005 | end | |
2006 | local AMMO = 6 | |
2007 | local FIRING = true | |
2008 | local SHOOTING = false | |
2009 | local TIMER = 70 | |
2010 | CreateSound(147722227, GunPoint, 6, 1.3, false) | |
2011 | for i=0, 0.2, 0.1 / Animation_Speed do | |
2012 | Swait() | |
2013 | RootJoint.C0 = Clerp(RootJoint.C0,ROOTC0 * CF(0, 0, 0) * ANGLES(RAD(0), RAD(0), RAD(45)), 1 / Animation_Speed) | |
2014 | Neck.C0 = Clerp(Neck.C0, NECKC0 * CF(0, 0, 0 + ((1) - 1)) * ANGLES(RAD(0), RAD(0), RAD(-45)), 1 / Animation_Speed) | |
2015 | RightShoulder.C0 = Clerp(RightShoulder.C0, CF(1.5, 0.5, 0) * ANGLES(RAD(30), RAD(0), RAD(45)) * RIGHTSHOULDERC0, 1 / Animation_Speed) | |
2016 | LeftShoulder.C0 = Clerp(LeftShoulder.C0, CF(-1.5, 0.5, 0) * ANGLES(RAD(0), RAD(0), RAD(0)) * LEFTSHOULDERC0, 1 / Animation_Speed) | |
2017 | 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) | |
2018 | LeftHip.C0 = Clerp(LeftHip.C0, CF(-1, -1, -0.01) * ANGLES(RAD(0), RAD(-65), RAD(0)) * ANGLES(RAD(-1), RAD(0), RAD(0)), 1 / Animation_Speed) | |
2019 | end | |
2020 | for i = 1, 6 do | |
2021 | local GUNPOS = GunPoint.CFrame*CF(0, 0, 0).p | |
2022 | local DISTANCE = (FOE.Head.Position - GUNPOS).Magnitude | |
2023 | WACKYEFFECT({Time = 15, EffectType = "Block", Size = VT(0,0,0), Size2 = VT(0.3,0.3,0.3), Transparency = 0, Transparency2 = 1, CFrame = CF(GUNPOS), MoveToPos = nil, RotationX = 0, RotationY = 0, RotationZ = 0, Material = "Neon", Color = C3(1,0,0), SoundID = 330704232, SoundPitch = 1, SoundVolume = 4}) | |
2024 | WACKYEFFECT({Time = 6, EffectType = "Box", Size = VT(0,0,DISTANCE), Size2 = VT(0.1,0.1,DISTANCE), Transparency = 0, Transparency2 = 1, CFrame = CF(GUNPOS,FOE.Head.Position)*CF(0,0,-DISTANCE/2), MoveToPos = nil, RotationX = 0, RotationY = 0, RotationZ = 0, Material = "Neon", Color = C3(1,0,0), SoundID = nil, SoundPitch = nil, SoundVolume = nil}) | |
2025 | HUM.Health = HUM.Health/1.5 | |
2026 | for i=0, 0.2, 0.1 / Animation_Speed do | |
2027 | Swait() | |
2028 | RootJoint.C0 = Clerp(RootJoint.C0,ROOTC0 * CF(0, 0, 0) * ANGLES(RAD(0), RAD(0), RAD(45)), 1 / Animation_Speed) | |
2029 | Neck.C0 = Clerp(Neck.C0, NECKC0 * CF(0, 0, 0 + ((1) - 1)) * ANGLES(RAD(0), RAD(0), RAD(-45)), 1 / Animation_Speed) | |
2030 | RightShoulder.C0 = Clerp(RightShoulder.C0, CF(1.5, 0.5, 0) * ANGLES(RAD(70), RAD(0), RAD(45)) * RIGHTSHOULDERC0, 1 / Animation_Speed) | |
2031 | LeftShoulder.C0 = Clerp(LeftShoulder.C0, CF(-1.5, 0.5, 0) * ANGLES(RAD(0), RAD(0), RAD(0)) * LEFTSHOULDERC0, 1 / Animation_Speed) | |
2032 | 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) | |
2033 | LeftHip.C0 = Clerp(LeftHip.C0, CF(-1, -1, -0.01) * ANGLES(RAD(0), RAD(-65), RAD(0)) * ANGLES(RAD(-1), RAD(0), RAD(0)), 1 / Animation_Speed) | |
2034 | end | |
2035 | for i=0, 0.2, 0.1 / Animation_Speed do | |
2036 | Swait() | |
2037 | RootJoint.C0 = Clerp(RootJoint.C0,ROOTC0 * CF(0, 0, 0) * ANGLES(RAD(0), RAD(0), RAD(45)), 1 / Animation_Speed) | |
2038 | Neck.C0 = Clerp(Neck.C0, NECKC0 * CF(0, 0, 0 + ((1) - 1)) * ANGLES(RAD(0), RAD(0), RAD(-45)), 1 / Animation_Speed) | |
2039 | RightShoulder.C0 = Clerp(RightShoulder.C0, CF(1.5, 0.5, 0) * ANGLES(RAD(30), RAD(0), RAD(45)) * RIGHTSHOULDERC0, 1 / Animation_Speed) | |
2040 | LeftShoulder.C0 = Clerp(LeftShoulder.C0, CF(-1.5, 0.5, 0) * ANGLES(RAD(0), RAD(0), RAD(0)) * LEFTSHOULDERC0, 1 / Animation_Speed) | |
2041 | 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) | |
2042 | LeftHip.C0 = Clerp(LeftHip.C0, CF(-1, -1, -0.01) * ANGLES(RAD(0), RAD(-65), RAD(0)) * ANGLES(RAD(-1), RAD(0), RAD(0)), 1 / Animation_Speed) | |
2043 | end | |
2044 | end | |
2045 | ApplyDamage(HUM,0,true) | |
2046 | FOE:BreakJoints() | |
2047 | ROOT.Anchored = false | |
2048 | for i=0, 0.3, 0.1 / Animation_Speed do | |
2049 | Swait() | |
2050 | RootJoint.C0 = Clerp(RootJoint.C0,ROOTC0 * CF(0, 0, 0) * ANGLES(RAD(0), RAD(0), RAD(0)), 1 / Animation_Speed) | |
2051 | Neck.C0 = Clerp(Neck.C0, NECKC0 * CF(0, 0, 0 + ((1) - 1)) * ANGLES(RAD(25), RAD(0), RAD(15)), 1 / Animation_Speed) | |
2052 | RightShoulder.C0 = Clerp(RightShoulder.C0, CF(1.5, 0.5, 0) * ANGLES(RAD(0), RAD(0), RAD(0)) * RIGHTSHOULDERC0, 1 / Animation_Speed) | |
2053 | LeftShoulder.C0 = Clerp(LeftShoulder.C0, CF(-1.525, 0.5, 0) * ANGLES(RAD(0), RAD(0), RAD(5)) * LEFTSHOULDERC0, 1 / Animation_Speed) | |
2054 | 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) | |
2055 | 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) | |
2056 | end | |
2057 | FACE = 300139178 | |
2058 | ATTACK = false | |
2059 | Rooted = false | |
2060 | end | |
2061 | end | |
2062 | end | |
2063 | end | |
2064 | ||
2065 | function Brave_Position() | |
2066 | ATTACK = true | |
2067 | Rooted = true | |
2068 | local HITFLOOR,HITPOS = Raycast(RootPart.Position, (CF(RootPart.Position, RootPart.Position + VT(0, -1, 0))).lookVector, 4, Character) | |
2069 | if HITFLOOR ~= nil then | |
2070 | WACKYEFFECT({Time = 50*2, EffectType = "Sphere", Size = VT(0,0.55,0), Size2 = VT(50,0.55,50), Transparency = 0, Transparency2 = 1, CFrame = CF(HITPOS), MoveToPos = nil, RotationX = 0, RotationY = 0, RotationZ = 0, Material = "Neon", Color = C3(1,0,0), SoundID = nil, SoundPitch = 1, SoundVolume = 4}) | |
2071 | for i = 0, 1, 0.1 / Animation_Speed do | |
2072 | Swait() | |
2073 | RootJoint.C0 = Clerp(RootJoint.C0, ROOTC0 * CF(0, 0, 0 + 0.05 * COS(SINE / 12)) * ANGLES(RAD(0), RAD(0), RAD(0)), 0.5 / Animation_Speed) | |
2074 | Neck.C0 = Clerp(Neck.C0, NECKC0 * CF(0, 0, 0 + ((1) - 1)) * ANGLES(RAD(25 + MRANDOM(-5,5) - 4 * COS(SINE / 12)), RAD(MRANDOM(-5,5)), RAD(15)), 1 / Animation_Speed) | |
2075 | if MRANDOM(1,10) == 1 then | |
2076 | Neck.C0 = Clerp(Neck.C0, NECKC0 * CF(0, 0, 0 + ((1.2) - 1)) * ANGLES(RAD(0 + MRANDOM(-50,50) - 4 * COS(SINE / 12)), RAD(MRANDOM(-50,50)), RAD(0)), 1.5 / Animation_Speed) | |
2077 | end | |
2078 | RightShoulder.C0 = Clerp(RightShoulder.C0, CF(1.05, 0.5, 0.5) * ANGLES(RAD(-30 - 4 * COS(SINE / 12)), RAD(0), RAD(-45)) * RIGHTSHOULDERC0, 1 / Animation_Speed) | |
2079 | LeftShoulder.C0 = Clerp(LeftShoulder.C0, CF(-1.15, 0.5, 0.5) * ANGLES(RAD(-35 - 4 * COS(SINE / 12)), RAD(0), RAD(45)) * LEFTSHOULDERC0, 1 / Animation_Speed) | |
2080 | RightHip.C0 = Clerp(RightHip.C0, CF(1, -1 - 0.15 * COS(SINE / 9), 0) * ANGLES(RAD(0), RAD(80), RAD(0)) * ANGLES(RAD(-1), RAD(0), RAD(0)), 1 / Animation_Speed) | |
2081 | LeftHip.C0 = Clerp(LeftHip.C0, CF(-1, -1 - 0.15 * COS(SINE / 9), 0) * ANGLES(RAD(0), RAD(-80), RAD(0)) * ANGLES(RAD(-1), RAD(0), RAD(0)), 1 / Animation_Speed) | |
2082 | end | |
2083 | UNANCHOR = false | |
2084 | RootPart.Anchored = true | |
2085 | for i = 0, 2, 0.1 / Animation_Speed do | |
2086 | Swait() | |
2087 | RootJoint.C0 = Clerp(RootJoint.C0, ROOTC0 * CF(0, 0, -10 + 0.05 * COS(SINE / 12)) * ANGLES(RAD(0), RAD(0), RAD(0)), 0.15 / Animation_Speed) | |
2088 | Neck.C0 = Clerp(Neck.C0, NECKC0 * CF(0, 0, 0 + ((1) - 1)) * ANGLES(RAD(25 + MRANDOM(-5,5) - 4 * COS(SINE / 12)), RAD(MRANDOM(-5,5)), RAD(15)), 1 / Animation_Speed) | |
2089 | if MRANDOM(1,10) == 1 then | |
2090 | Neck.C0 = Clerp(Neck.C0, NECKC0 * CF(0, 0, 0 + ((1.2) - 1)) * ANGLES(RAD(0 + MRANDOM(-50,50) - 4 * COS(SINE / 12)), RAD(MRANDOM(-50,50)), RAD(0)), 1.5 / Animation_Speed) | |
2091 | end | |
2092 | RightShoulder.C0 = Clerp(RightShoulder.C0, CF(1.05, 0.5, 0.5) * ANGLES(RAD(-30 - 4 * COS(SINE / 12)), RAD(0), RAD(-45)) * RIGHTSHOULDERC0, 1 / Animation_Speed) | |
2093 | LeftShoulder.C0 = Clerp(LeftShoulder.C0, CF(-1.15, 0.5, 0.5) * ANGLES(RAD(-35 - 4 * COS(SINE / 12)), RAD(0), RAD(45)) * LEFTSHOULDERC0, 1 / Animation_Speed) | |
2094 | RightHip.C0 = Clerp(RightHip.C0, CF(1, -1 - 0.15 * COS(SINE / 9), 0) * ANGLES(RAD(0), RAD(80), RAD(0)) * ANGLES(RAD(-1), RAD(0), RAD(0)), 1 / Animation_Speed) | |
2095 | LeftHip.C0 = Clerp(LeftHip.C0, CF(-1, -1 - 0.15 * COS(SINE / 9), 0) * ANGLES(RAD(0), RAD(-80), RAD(0)) * ANGLES(RAD(-1), RAD(0), RAD(0)), 1 / Animation_Speed) | |
2096 | end | |
2097 | local POS = RootPart.Position | |
2098 | RootPart.CFrame = CF(CF(Mouse.Hit.p) * CF(0, 2.8, 0).p, POS) | |
2099 | WACKYEFFECT({Time = 50*2, EffectType = "Sphere", Size = VT(0,0.55,0), Size2 = VT(50,0.55,50), Transparency = 0, Transparency2 = 1, CFrame = CF(Mouse.Hit.p), MoveToPos = nil, RotationX = 0, RotationY = 0, RotationZ = 0, Material = "Neon", Color = C3(1,0,0), SoundID = nil, SoundPitch = 1, SoundVolume = 4}) | |
2100 | for i = 0, 2, 0.1 / Animation_Speed do | |
2101 | Swait() | |
2102 | RootJoint.C0 = Clerp(RootJoint.C0, ROOTC0 * CF(0, 0, 0.5 + 0.05 * COS(SINE / 12)) * ANGLES(RAD(0), RAD(0), RAD(0)), 0.15 / Animation_Speed) | |
2103 | Neck.C0 = Clerp(Neck.C0, NECKC0 * CF(0, 0, 0 + ((1) - 1)) * ANGLES(RAD(25 + MRANDOM(-5,5) - 4 * COS(SINE / 12)), RAD(MRANDOM(-5,5)), RAD(15)), 1 / Animation_Speed) | |
2104 | if MRANDOM(1,10) == 1 then | |
2105 | Neck.C0 = Clerp(Neck.C0, NECKC0 * CF(0, 0, 0 + ((1.2) - 1)) * ANGLES(RAD(0 + MRANDOM(-50,50) - 4 * COS(SINE / 12)), RAD(MRANDOM(-50,50)), RAD(0)), 1.5 / Animation_Speed) | |
2106 | end | |
2107 | RightShoulder.C0 = Clerp(RightShoulder.C0, CF(1.05, 0.5, 0.5) * ANGLES(RAD(-30 - 4 * COS(SINE / 12)), RAD(0), RAD(-45)) * RIGHTSHOULDERC0, 1 / Animation_Speed) | |
2108 | LeftShoulder.C0 = Clerp(LeftShoulder.C0, CF(-1.15, 0.5, 0.5) * ANGLES(RAD(-35 - 4 * COS(SINE / 12)), RAD(0), RAD(45)) * LEFTSHOULDERC0, 1 / Animation_Speed) | |
2109 | RightHip.C0 = Clerp(RightHip.C0, CF(1, -1 - 0.15 * COS(SINE / 9), 0) * ANGLES(RAD(0), RAD(80), RAD(0)) * ANGLES(RAD(-1), RAD(0), RAD(0)), 1 / Animation_Speed) | |
2110 | LeftHip.C0 = Clerp(LeftHip.C0, CF(-1, -1 - 0.15 * COS(SINE / 9), 0) * ANGLES(RAD(0), RAD(-80), RAD(0)) * ANGLES(RAD(-1), RAD(0), RAD(0)), 1 / Animation_Speed) | |
2111 | end | |
2112 | end | |
2113 | UNANCHOR = true | |
2114 | RootPart.Anchored = false | |
2115 | ATTACK = false | |
2116 | Rooted = false | |
2117 | end | |
2118 | --//=================================\\ | |
2119 | --|| SWITCHING | |
2120 | --\\=================================// | |
2121 | ||
2122 | function Switch() | |
2123 | ATTACK = true | |
2124 | Rooted = true | |
2125 | if MODE == "Murderer" then | |
2126 | Horn2.Parent = Character | |
2127 | Horn1.Parent = nil | |
2128 | CreateSound(147722227, Torso, 10, 1.3, false) | |
2129 | for i=0, 0.6, 0.1 / Animation_Speed do | |
2130 | Swait() | |
2131 | RootJoint.C0 = Clerp(RootJoint.C0,ROOTC0 * CF(0, 0, 0 + 0.05 * COS(SINE / 12)) * ANGLES(RAD(0), RAD(0), RAD(-15)), 1 / Animation_Speed) | |
2132 | Neck.C0 = Clerp(Neck.C0, NECKC0 * CF(0, 0, 0 + ((1) - 1)) * ANGLES(RAD(35), RAD(0), RAD(0)), 1 / Animation_Speed) | |
2133 | RightShoulder.C0 = Clerp(RightShoulder.C0, CF(1.5, 0.5, 0) * ANGLES(RAD(-30), RAD(0), RAD(-15)) * RIGHTSHOULDERC0, 1 / Animation_Speed) | |
2134 | LeftShoulder.C0 = Clerp(LeftShoulder.C0, CF(-1.5, 0.5, 0) * ANGLES(RAD(0), RAD(0), RAD(0)) * LEFTSHOULDERC0, 1 / Animation_Speed) | |
2135 | RightHip.C0 = Clerp(RightHip.C0, CF(1, -1 - 0.05 * COS(SINE / 12), -0.2) * ANGLES(RAD(0), RAD(75), RAD(0)) * ANGLES(RAD(0), RAD(0), RAD(0)), 1 / Animation_Speed) | |
2136 | LeftHip.C0 = Clerp(LeftHip.C0, CF(-1, -1 - 0.05 * COS(SINE / 12), -0.01) * ANGLES(RAD(0), RAD(-75), RAD(0)) * ANGLES(RAD(0), RAD(0), RAD(0)), 1 / Animation_Speed) | |
2137 | end | |
2138 | Weapon.Parent = Character | |
2139 | WACKYEFFECT({Time = 50, EffectType = "Block", Size = VT(2.5,2.5,2.5), Size2 = VT(0,0,0), Transparency = 0, Transparency2 = 1, CFrame = RightArm.CFrame*CF(0,-1,0), MoveToPos = nil, RotationX = 0, RotationY = 0, RotationZ = 0, Material = "Neon", Color = C3(1,0,0), SoundID = nil, SoundPitch = 1, SoundVolume = 4}) | |
2140 | for i=0, 0.8, 0.1 / Animation_Speed do | |
2141 | Swait() | |
2142 | RootJoint.C0 = Clerp(RootJoint.C0,ROOTC0 * CF(0, 0, 0 + 0.05 * COS(SINE / 12)) * ANGLES(RAD(0), RAD(0), RAD(0)), 1 / Animation_Speed) | |
2143 | Neck.C0 = Clerp(Neck.C0, NECKC0 * CF(0, 0, 0 + ((1) - 1)) * ANGLES(RAD(35), RAD(0), RAD(0)), 1 / Animation_Speed) | |
2144 | RightShoulder.C0 = Clerp(RightShoulder.C0, CF(1.5, 0.5, 0) * ANGLES(RAD(0), RAD(0), RAD(25)) * RIGHTSHOULDERC0, 1 / Animation_Speed) | |
2145 | LeftShoulder.C0 = Clerp(LeftShoulder.C0, CF(-1.15, 0.5, 0.5) * ANGLES(RAD(-35 - 4 * COS(SINE / 12)), RAD(0), RAD(45)) * LEFTSHOULDERC0, 1 / Animation_Speed) | |
2146 | RightHip.C0 = Clerp(RightHip.C0, CF(1, -1 - 0.05 * COS(SINE / 12), -0.01) * ANGLES(RAD(0), RAD(83), RAD(0)) * ANGLES(RAD(0), RAD(0), RAD(0)), 1 / Animation_Speed) | |
2147 | LeftHip.C0 = Clerp(LeftHip.C0, CF(-1, -1 - 0.05 * COS(SINE / 12), -0.01) * ANGLES(RAD(0), RAD(-83), RAD(0)) * ANGLES(RAD(0), RAD(0), RAD(0)), 1 / Animation_Speed) | |
2148 | end | |
2149 | Sin = {"psychotic","Psychotic","pSychotic","psYchotic","psyChotic","psycHotic","psychOtic","psychoTic","psychotIc","psychotiC","PSychotic","PsYchotic","PsyChotic","PsycHotic","PsychOtic","PsychoTic","PsychotIc","PsychotiC","pSYchotic","pSyChotic","pSycHotic","pSychOtic","pSychoTic","pSychotIc","pSychotiC","psYChotic","psYChotic","psYcHotic","psYchOtic","psYchoTic","psYchotIc","psYchotiC","psyCHotic","psyChotic","psyChOtic","psyChoTic","psyChotIc","psyChotiC","psycHOtic","psycHoTic","psycHotIc","psycHotiC","psychOTic","psychOtIc","psychOtiC","psychoTIc","psychoTiC","psychotIc","psychotIC","PSYCHOTIC","Psychotic"} | |
2150 | Speed = 16 | |
2151 | MODE = "Psychotic" | |
2152 | elseif MODE == "Psychotic" then | |
2153 | Horn2.Parent = nil | |
2154 | Horn1.Parent = Character | |
2155 | Weapon.Parent = nil | |
2156 | for i=0, 0.3, 0.1 / Animation_Speed do | |
2157 | Swait() | |
2158 | RootJoint.C0 = Clerp(RootJoint.C0,ROOTC0 * CF(0, 0, 0 + 0.05 * COS(SINE / 12)) * ANGLES(RAD(0), RAD(0), RAD(0)), 1 / Animation_Speed) | |
2159 | Neck.C0 = Clerp(Neck.C0, NECKC0 * CF(0, 0, 0 + ((1) - 1)) * ANGLES(RAD(5), RAD(0), RAD(0)), 1 / Animation_Speed) | |
2160 | RightShoulder.C0 = Clerp(RightShoulder.C0, CF(1.5, 0.5, 0) * ANGLES(RAD(0), RAD(0), RAD(25)) * RIGHTSHOULDERC0, 1 / Animation_Speed) | |
2161 | LeftShoulder.C0 = Clerp(LeftShoulder.C0, CF(-1.5, 0.5, 0) * ANGLES(RAD(0), RAD(0), RAD(-25)) * LEFTSHOULDERC0, 1 / Animation_Speed) | |
2162 | RightHip.C0 = Clerp(RightHip.C0, CF(1, -1 - 0.05 * COS(SINE / 12), -0.01) * ANGLES(RAD(0), RAD(83), RAD(0)) * ANGLES(RAD(0), RAD(0), RAD(0)), 1 / Animation_Speed) | |
2163 | LeftHip.C0 = Clerp(LeftHip.C0, CF(-1, -1 - 0.05 * COS(SINE / 12), -0.01) * ANGLES(RAD(0), RAD(-83), RAD(0)) * ANGLES(RAD(0), RAD(0), RAD(0)), 1 / Animation_Speed) | |
2164 | end | |
2165 | for i=0, 0.3, 0.1 / Animation_Speed do | |
2166 | Swait() | |
2167 | RootJoint.C0 = Clerp(RootJoint.C0,ROOTC0 * CF(0, 0, 0 + 0.05 * COS(SINE / 12)) * ANGLES(RAD(0), RAD(0), RAD(0)), 1 / Animation_Speed) | |
2168 | Neck.C0 = Clerp(Neck.C0, NECKC0 * CF(0, 0, 0 + ((1) - 1)) * ANGLES(RAD(5), RAD(0), RAD(0)), 1 / Animation_Speed) | |
2169 | RightShoulder.C0 = Clerp(RightShoulder.C0, CF(1.25, 0.5, -0.5) * ANGLES(RAD(0), RAD(0), RAD(-80)) * RIGHTSHOULDERC0, 1 / Animation_Speed) | |
2170 | LeftShoulder.C0 = Clerp(LeftShoulder.C0, CF(-1.25, 0.35, -0.35) * ANGLES(RAD(0), RAD(0), RAD(80)) * LEFTSHOULDERC0, 1 / Animation_Speed) | |
2171 | RightHip.C0 = Clerp(RightHip.C0, CF(1, -1 - 0.05 * COS(SINE / 12), -0.01) * ANGLES(RAD(0), RAD(83), RAD(0)) * ANGLES(RAD(0), RAD(0), RAD(0)), 1 / Animation_Speed) | |
2172 | LeftHip.C0 = Clerp(LeftHip.C0, CF(-1, -1 - 0.05 * COS(SINE / 12), -0.01) * ANGLES(RAD(0), RAD(-83), RAD(0)) * ANGLES(RAD(0), RAD(0), RAD(0)), 1 / Animation_Speed) | |
2173 | end | |
2174 | CreateSound(363808674, Torso, 10, 1, false) | |
2175 | for i=0, 0.6, 0.1 / Animation_Speed do | |
2176 | Swait() | |
2177 | RootJoint.C0 = Clerp(RootJoint.C0,ROOTC0 * CF(0, 0, 0 + 0.05 * COS(SINE / 12)) * ANGLES(RAD(0), RAD(0), RAD(0)), 1 / Animation_Speed) | |
2178 | Neck.C0 = Clerp(Neck.C0, NECKC0 * CF(0, 0, 0 + ((1) - 1)) * ANGLES(RAD(5), RAD(25), RAD(0)), 1 / Animation_Speed) | |
2179 | RightShoulder.C0 = Clerp(RightShoulder.C0, CF(1.25, 0.5, -0.5) * ANGLES(RAD(100), RAD(0), RAD(-50)) * RIGHTSHOULDERC0, 1 / Animation_Speed) | |
2180 | LeftShoulder.C0 = Clerp(LeftShoulder.C0, CF(-1.25, 0.35, -0.35) * ANGLES(RAD(70), RAD(0), RAD(60)) * LEFTSHOULDERC0, 1 / Animation_Speed) | |
2181 | RightHip.C0 = Clerp(RightHip.C0, CF(1, -1 - 0.05 * COS(SINE / 12), -0.01) * ANGLES(RAD(0), RAD(83), RAD(0)) * ANGLES(RAD(0), RAD(0), RAD(0)), 1 / Animation_Speed) | |
2182 | LeftHip.C0 = Clerp(LeftHip.C0, CF(-1, -1 - 0.05 * COS(SINE / 12), -0.01) * ANGLES(RAD(0), RAD(-83), RAD(0)) * ANGLES(RAD(0), RAD(0), RAD(0)), 1 / Animation_Speed) | |
2183 | end | |
2184 | CreateSound(363808674, Torso, 10, 1, false) | |
2185 | for i=0, 0.6, 0.1 / Animation_Speed do | |
2186 | Swait() | |
2187 | RootJoint.C0 = Clerp(RootJoint.C0,ROOTC0 * CF(0, 0, 0 + 0.05 * COS(SINE / 12)) * ANGLES(RAD(0), RAD(0), RAD(0)), 1 / Animation_Speed) | |
2188 | Neck.C0 = Clerp(Neck.C0, NECKC0 * CF(0, 0, 0 + ((1) - 1)) * ANGLES(RAD(5), RAD(-25), RAD(0)), 1 / Animation_Speed) | |
2189 | RightShoulder.C0 = Clerp(RightShoulder.C0, CF(1.25, 0.5, -0.5) * ANGLES(RAD(100), RAD(0), RAD(-90)) * RIGHTSHOULDERC0, 1 / Animation_Speed) | |
2190 | LeftShoulder.C0 = Clerp(LeftShoulder.C0, CF(-1.25, 0.35, -0.35) * ANGLES(RAD(70), RAD(0), RAD(90)) * LEFTSHOULDERC0, 1 / Animation_Speed) | |
2191 | RightHip.C0 = Clerp(RightHip.C0, CF(1, -1 - 0.05 * COS(SINE / 12), -0.01) * ANGLES(RAD(0), RAD(83), RAD(0)) * ANGLES(RAD(0), RAD(0), RAD(0)), 1 / Animation_Speed) | |
2192 | LeftHip.C0 = Clerp(LeftHip.C0, CF(-1, -1 - 0.05 * COS(SINE / 12), -0.01) * ANGLES(RAD(0), RAD(-83), RAD(0)) * ANGLES(RAD(0), RAD(0), RAD(0)), 1 / Animation_Speed) | |
2193 | end | |
2194 | Sin = {"murde rer","Mur derer","mU rderer","muRd erer","murDer er","mu rdErer","murdeR er","murder Er","mur dereR","MuRd erer","mUrDere r","m urDeRer","mur dErEr","Mur dereR","MUrde rer","muR Derer","murd ERer","murde rER","Mr Rderer","MurDe rer","Murd Erer","Mur deRer","Mu rderEr","mURder er","mUrD erer","mUrdEre r","m UrdeRer","m Ur derEr","mUrder eR","mu RdErer","muRdeR er","muR derEr","muRd ereR"} | |
2195 | Speed = 20 | |
2196 | MODE = "Murderer" | |
2197 | end | |
2198 | ATTACK = false | |
2199 | Rooted = false | |
2200 | end | |
2201 | ||
2202 | function Switch2() | |
2203 | ATTACK = true | |
2204 | Rooted = true | |
2205 | if MODE == "Murderer" then | |
2206 | for i=0, 1, 0.1 / Animation_Speed do | |
2207 | Swait() | |
2208 | RootJoint.C0 = Clerp(RootJoint.C0,ROOTC0 * CF(0, 0, 0 + 0.05 * COS(SINE / 12)) * ANGLES(RAD(0), RAD(0), RAD(0)), 0.3 / Animation_Speed) | |
2209 | Neck.C0 = Clerp(Neck.C0, NECKC0 * CF(0, 0, 0 + ((1) - 1)) * ANGLES(RAD(25), RAD(0), RAD(0)), 0.3 / Animation_Speed) | |
2210 | RightShoulder.C0 = Clerp(RightShoulder.C0, CF(1.5, 0.5, 0) * ANGLES(RAD(0), RAD(0), RAD(25 + 15 * COS(SINE / 12))) * RIGHTSHOULDERC0, 0.3 / Animation_Speed) | |
2211 | LeftShoulder.C0 = Clerp(LeftShoulder.C0, CF(-1.5, 0.5, 0) * ANGLES(RAD(0), RAD(0), RAD(-25 + 15 * COS(SINE / 12))) * LEFTSHOULDERC0, 0.3 / Animation_Speed) | |
2212 | RightHip.C0 = Clerp(RightHip.C0, CF(1, -1 - 0.05 * COS(SINE / 12), -0.01) * ANGLES(RAD(0), RAD(75), RAD(0)) * ANGLES(RAD(0), RAD(0), RAD(0)), 0.3 / Animation_Speed) | |
2213 | LeftHip.C0 = Clerp(LeftHip.C0, CF(-1, -1 - 0.05 * COS(SINE / 12), -0.01) * ANGLES(RAD(0), RAD(-75), RAD(0)) * ANGLES(RAD(0), RAD(0), RAD(0)), 0.3 / Animation_Speed) | |
2214 | end | |
2215 | WACKYEFFECT({Time = MRANDOM(45,65), EffectType = "Sphere", Size = VT(2.5,999,2.5), Size2 = VT(7.5,999,7.5), Transparency = 0, Transparency2 = 1, CFrame = RootPart.CFrame*CF(1.65,-1,-0.35), MoveToPos = nil,RotationX = 0, RotationY = 0, RotationZ = 0, Material = "Neon", Color = C3(0.4,0,0), SoundID = nil, SoundPitch = MRANDOM(12,16)/10, SoundVolume = 2}) | |
2216 | CreateSound(147722227, Torso, 10, 1.3, false) | |
2217 | CreateSound(588736245, Torso, 2.5, 0.7, false) | |
2218 | Horn2.Parent = Character | |
2219 | Horn1.Parent = nil | |
2220 | WACKYEFFECT({Time = 60, EffectType = "Block", Size = VT(4,4,4), Size2 = VT(0,0,0), Transparency = 0, Transparency2 = 1, CFrame = RootPart.CFrame*CF(0,0,0), MoveToPos = nil,RotationX = 0, RotationY = 0, RotationZ = 0, Material = "Neon", Color = C3(0.4,0,0), SoundID = nil, SoundPitch = MRANDOM(12,16)/10, SoundVolume = 2}) | |
2221 | for i=0, 0.5, 0.1 / Animation_Speed do | |
2222 | Swait() | |
2223 | RootJoint.C0 = Clerp(RootJoint.C0,ROOTC0 * CF(0, 0, -1.5 + 0.05 * COS(SINE / 12)) * ANGLES(RAD(15), RAD(0), RAD(0)), 1 / Animation_Speed) | |
2224 | Neck.C0 = Clerp(Neck.C0, NECKC0 * CF(0, 0, 0 + ((1) - 1)) * ANGLES(RAD(35), RAD(0), RAD(0)), 1 / Animation_Speed) | |
2225 | RightShoulder.C0 = Clerp(RightShoulder.C0, CF(1.65, 0.25, -0.35) * ANGLES(RAD(30), RAD(0), RAD(0)) * RIGHTSHOULDERC0, 1 / Animation_Speed) | |
2226 | LeftShoulder.C0 = Clerp(LeftShoulder.C0, CF(-1.5, 0.5, 0) * ANGLES(RAD(0), RAD(0), RAD(0)) * LEFTSHOULDERC0, 1 / Animation_Speed) | |
2227 | RightHip.C0 = Clerp(RightHip.C0, CF(1, 0.5 - 0.05 * COS(SINE / 12), -0.8) * ANGLES(RAD(15), RAD(75), RAD(0)) * ANGLES(RAD(0), RAD(0), RAD(0)), 1 / Animation_Speed) | |
2228 | LeftHip.C0 = Clerp(LeftHip.C0, CF(-1, -1 - 0.05 * COS(SINE / 12), -0.35) * ANGLES(RAD(-75), RAD(-75), RAD(0)) * ANGLES(RAD(0), RAD(0), RAD(0)), 1 / Animation_Speed) | |
2229 | end | |
2230 | Axe.Parent = Character | |
2231 | for i=0, 0.8, 0.1 / Animation_Speed do | |
2232 | Swait() | |
2233 | RootJoint.C0 = Clerp(RootJoint.C0,ROOTC0 * CF(0, 0, 0 + 0.05 * COS(SINE / 12)) * ANGLES(RAD(0), RAD(0), RAD(0)), 1 / Animation_Speed) | |
2234 | Neck.C0 = Clerp(Neck.C0, NECKC0 * CF(0, 0, 0 + ((1) - 1)) * ANGLES(RAD(35), RAD(0), RAD(0)), 1 / Animation_Speed) | |
2235 | RightShoulder.C0 = Clerp(RightShoulder.C0, CF(1.5, 0.5, 0) * ANGLES(RAD(0), RAD(0), RAD(25)) * RIGHTSHOULDERC0, 1 / Animation_Speed) | |
2236 | LeftShoulder.C0 = Clerp(LeftShoulder.C0, CF(-1.15, 0.5, 0.5) * ANGLES(RAD(-35 - 4 * COS(SINE / 12)), RAD(0), RAD(45)) * LEFTSHOULDERC0, 1 / Animation_Speed) | |
2237 | RightHip.C0 = Clerp(RightHip.C0, CF(1, -1 - 0.05 * COS(SINE / 12), -0.01) * ANGLES(RAD(0), RAD(83), RAD(0)) * ANGLES(RAD(0), RAD(0), RAD(0)), 1 / Animation_Speed) | |
2238 | LeftHip.C0 = Clerp(LeftHip.C0, CF(-1, -1 - 0.05 * COS(SINE / 12), -0.01) * ANGLES(RAD(0), RAD(-83), RAD(0)) * ANGLES(RAD(0), RAD(0), RAD(0)), 1 / Animation_Speed) | |
2239 | end | |
2240 | Sin = {"psycho Axe","Psycho aXe","pSycho AxE","psYcho aXe","psyCho axE","psycHo AXe","psychO aXE","psycho AXE","psycho axe","psycho AXE","PSycho AxE","PsYcho aXe","PsyCho Axe","PsycHo axE","PsychO AXe","Psycho aXE","Psycho aXe","Psycho AxE","pSYcho","pSyChotic","pSycHotic","pSychO axE","pSychoaxe","pSychoAxe","pSychoAxE","psYChoaXE","psYChoaXe","psYcHo","psYchO","psYcho xe","psYcho ax","psYcho x","psyCHo e","psyCho aXE","psyChOE","psyChoa","psyChoXE","psyCho AXE","psycHO axe","psycHoAXE"} | |
2241 | Speed = 30 | |
2242 | MODE = "Axe" | |
2243 | elseif MODE == "Axe" then | |
2244 | Axe.Parent = nil | |
2245 | Horn2.Parent = nil | |
2246 | Horn1.Parent = Character | |
2247 | Weapon.Parent = nil | |
2248 | for i=0, 0.3, 0.1 / Animation_Speed do | |
2249 | Swait() | |
2250 | RootJoint.C0 = Clerp(RootJoint.C0,ROOTC0 * CF(0, 0, 0 + 0.05 * COS(SINE / 12)) * ANGLES(RAD(0), RAD(0), RAD(0)), 1 / Animation_Speed) | |
2251 | Neck.C0 = Clerp(Neck.C0, NECKC0 * CF(0, 0, 0 + ((1) - 1)) * ANGLES(RAD(5), RAD(0), RAD(0)), 1 / Animation_Speed) | |
2252 | RightShoulder.C0 = Clerp(RightShoulder.C0, CF(1.5, 0.5, 0) * ANGLES(RAD(0), RAD(0), RAD(25)) * RIGHTSHOULDERC0, 1 / Animation_Speed) | |
2253 | LeftShoulder.C0 = Clerp(LeftShoulder.C0, CF(-1.5, 0.5, 0) * ANGLES(RAD(0), RAD(0), RAD(-25)) * LEFTSHOULDERC0, 1 / Animation_Speed) | |
2254 | RightHip.C0 = Clerp(RightHip.C0, CF(1, -1 - 0.05 * COS(SINE / 12), -0.01) * ANGLES(RAD(0), RAD(83), RAD(0)) * ANGLES(RAD(0), RAD(0), RAD(0)), 1 / Animation_Speed) | |
2255 | LeftHip.C0 = Clerp(LeftHip.C0, CF(-1, -1 - 0.05 * COS(SINE / 12), -0.01) * ANGLES(RAD(0), RAD(-83), RAD(0)) * ANGLES(RAD(0), RAD(0), RAD(0)), 1 / Animation_Speed) | |
2256 | end | |
2257 | for i=0, 0.3, 0.1 / Animation_Speed do | |
2258 | Swait() | |
2259 | RootJoint.C0 = Clerp(RootJoint.C0,ROOTC0 * CF(0, 0, 0 + 0.05 * COS(SINE / 12)) * ANGLES(RAD(0), RAD(0), RAD(0)), 1 / Animation_Speed) | |
2260 | Neck.C0 = Clerp(Neck.C0, NECKC0 * CF(0, 0, 0 + ((1) - 1)) * ANGLES(RAD(5), RAD(0), RAD(0)), 1 / Animation_Speed) | |
2261 | RightShoulder.C0 = Clerp(RightShoulder.C0, CF(1.25, 0.5, -0.5) * ANGLES(RAD(0), RAD(0), RAD(-80)) * RIGHTSHOULDERC0, 1 / Animation_Speed) | |
2262 | LeftShoulder.C0 = Clerp(LeftShoulder.C0, CF(-1.25, 0.35, -0.35) * ANGLES(RAD(0), RAD(0), RAD(80)) * LEFTSHOULDERC0, 1 / Animation_Speed) | |
2263 | RightHip.C0 = Clerp(RightHip.C0, CF(1, -1 - 0.05 * COS(SINE / 12), -0.01) * ANGLES(RAD(0), RAD(83), RAD(0)) * ANGLES(RAD(0), RAD(0), RAD(0)), 1 / Animation_Speed) | |
2264 | LeftHip.C0 = Clerp(LeftHip.C0, CF(-1, -1 - 0.05 * COS(SINE / 12), -0.01) * ANGLES(RAD(0), RAD(-83), RAD(0)) * ANGLES(RAD(0), RAD(0), RAD(0)), 1 / Animation_Speed) | |
2265 | end | |
2266 | CreateSound(363808674, Torso, 10, 1, false) | |
2267 | for i=0, 0.6, 0.1 / Animation_Speed do | |
2268 | Swait() | |
2269 | RootJoint.C0 = Clerp(RootJoint.C0,ROOTC0 * CF(0, 0, 0 + 0.05 * COS(SINE / 12)) * ANGLES(RAD(0), RAD(0), RAD(0)), 1 / Animation_Speed) | |
2270 | Neck.C0 = Clerp(Neck.C0, NECKC0 * CF(0, 0, 0 + ((1) - 1)) * ANGLES(RAD(5), RAD(25), RAD(0)), 1 / Animation_Speed) | |
2271 | RightShoulder.C0 = Clerp(RightShoulder.C0, CF(1.25, 0.5, -0.5) * ANGLES(RAD(100), RAD(0), RAD(-50)) * RIGHTSHOULDERC0, 1 / Animation_Speed) | |
2272 | LeftShoulder.C0 = Clerp(LeftShoulder.C0, CF(-1.25, 0.35, -0.35) * ANGLES(RAD(70), RAD(0), RAD(60)) * LEFTSHOULDERC0, 1 / Animation_Speed) | |
2273 | RightHip.C0 = Clerp(RightHip.C0, CF(1, -1 - 0.05 * COS(SINE / 12), -0.01) * ANGLES(RAD(0), RAD(83), RAD(0)) * ANGLES(RAD(0), RAD(0), RAD(0)), 1 / Animation_Speed) | |
2274 | LeftHip.C0 = Clerp(LeftHip.C0, CF(-1, -1 - 0.05 * COS(SINE / 12), -0.01) * ANGLES(RAD(0), RAD(-83), RAD(0)) * ANGLES(RAD(0), RAD(0), RAD(0)), 1 / Animation_Speed) | |
2275 | end | |
2276 | CreateSound(363808674, Torso, 10, 1, false) | |
2277 | for i=0, 0.6, 0.1 / Animation_Speed do | |
2278 | Swait() | |
2279 | RootJoint.C0 = Clerp(RootJoint.C0,ROOTC0 * CF(0, 0, 0 + 0.05 * COS(SINE / 12)) * ANGLES(RAD(0), RAD(0), RAD(0)), 1 / Animation_Speed) | |
2280 | Neck.C0 = Clerp(Neck.C0, NECKC0 * CF(0, 0, 0 + ((1) - 1)) * ANGLES(RAD(5), RAD(-25), RAD(0)), 1 / Animation_Speed) | |
2281 | RightShoulder.C0 = Clerp(RightShoulder.C0, CF(1.25, 0.5, -0.5) * ANGLES(RAD(100), RAD(0), RAD(-90)) * RIGHTSHOULDERC0, 1 / Animation_Speed) | |
2282 | LeftShoulder.C0 = Clerp(LeftShoulder.C0, CF(-1.25, 0.35, -0.35) * ANGLES(RAD(70), RAD(0), RAD(90)) * LEFTSHOULDERC0, 1 / Animation_Speed) | |
2283 | RightHip.C0 = Clerp(RightHip.C0, CF(1, -1 - 0.05 * COS(SINE / 12), -0.01) * ANGLES(RAD(0), RAD(83), RAD(0)) * ANGLES(RAD(0), RAD(0), RAD(0)), 1 / Animation_Speed) | |
2284 | LeftHip.C0 = Clerp(LeftHip.C0, CF(-1, -1 - 0.05 * COS(SINE / 12), -0.01) * ANGLES(RAD(0), RAD(-83), RAD(0)) * ANGLES(RAD(0), RAD(0), RAD(0)), 1 / Animation_Speed) | |
2285 | end | |
2286 | Sin = {"murde rer","Mur derer","mU rderer","muRd erer","murDer er","mu rdErer","murdeR er","murder Er","mur dereR","MuRd erer","mUrDere r","m urDeRer","mur dErEr","Mur dereR","MUrde rer","muR Derer","murd ERer","murde rER","Mr Rderer","MurDe rer","Murd Erer","Mur deRer","Mu rderEr","mURder er","mUrD erer","mUrdEre r","m UrdeRer","m Ur derEr","mUrder eR","mu RdErer","muRdeR er","muR derEr","muRd ereR"} | |
2287 | Speed = 20 | |
2288 | MODE = "Murderer" | |
2289 | end | |
2290 | ATTACK = false | |
2291 | Rooted = false | |
2292 | end | |
2293 | ||
2294 | --//=================================\\ | |
2295 | --|| ASSIGN THINGS TO KEYS | |
2296 | --\\=================================// | |
2297 | ||
2298 | function MouseDown(Mouse) | |
2299 | if ATTACK == false then | |
2300 | end | |
2301 | end | |
2302 | ||
2303 | function MouseUp(Mouse) | |
2304 | HOLD = false | |
2305 | end | |
2306 | ||
2307 | function KeyDown(Key) | |
2308 | KEYHOLD = true | |
2309 | if Key == "f" and ATTACK == false then | |
2310 | Switch() | |
2311 | end | |
2312 | ||
2313 | if Key == "e" and ATTACK == false then | |
2314 | Switch2() | |
2315 | end | |
2316 | ||
2317 | if Key == "z" and ATTACK == false then | |
2318 | if MODE == "Murderer" then | |
2319 | Neckless() | |
2320 | elseif MODE == "Psychotic" then | |
2321 | BloodCurdles() | |
2322 | elseif MODE == "Axe" then | |
2323 | Caac() | |
2324 | end | |
2325 | end | |
2326 | ||
2327 | if Key == "c" and ATTACK == false then | |
2328 | if MODE == "Murderer" then | |
2329 | BraveSpeed() | |
2330 | elseif MODE == "Psychotic" then | |
2331 | Brave_Position() | |
2332 | elseif MODE == "Axe" then | |
2333 | Swing() | |
2334 | end | |
2335 | end | |
2336 | ||
2337 | if Key == "g" and ATTACK == false then | |
2338 | if MODE == "Murderer" then | |
2339 | Slashed() | |
2340 | elseif MODE == "Psychotic" then | |
2341 | BulletMark() | |
2342 | end | |
2343 | end | |
2344 | ||
2345 | if Key == "v" and ATTACK == false then | |
2346 | if MODE == "Murderer" then | |
2347 | Dirtface() | |
2348 | elseif MODE == "Psychotic" then | |
2349 | Finisher() | |
2350 | end | |
2351 | end | |
2352 | ||
2353 | if Key == "t" and ATTACK == false then | |
2354 | TrustIssues() | |
2355 | end | |
2356 | end | |
2357 | ||
2358 | function KeyUp(Key) | |
2359 | KEYHOLD = false | |
2360 | end | |
2361 | ||
2362 | Mouse.Button1Down:connect(function(NEWKEY) | |
2363 | MouseDown(NEWKEY) | |
2364 | end) | |
2365 | Mouse.Button1Up:connect(function(NEWKEY) | |
2366 | MouseUp(NEWKEY) | |
2367 | end) | |
2368 | Mouse.KeyDown:connect(function(NEWKEY) | |
2369 | KeyDown(NEWKEY) | |
2370 | end) | |
2371 | Mouse.KeyUp:connect(function(NEWKEY) | |
2372 | KeyUp(NEWKEY) | |
2373 | end) | |
2374 | ||
2375 | --//=================================\\ | |
2376 | --\\=================================// | |
2377 | ||
2378 | function unanchor() | |
2379 | for _, c in pairs(Character:GetChildren()) do | |
2380 | if c:IsA("BasePart") and c ~= RootPart then | |
2381 | c.Anchored = false | |
2382 | end | |
2383 | end | |
2384 | if UNANCHOR == true then | |
2385 | RootPart.Anchored = false | |
2386 | else | |
2387 | RootPart.Anchored = true | |
2388 | end | |
2389 | end | |
2390 | ||
2391 | --//=================================\\ | |
2392 | --|| WRAP THE WHOLE SCRIPT UP | |
2393 | --\\=================================// | |
2394 | ||
2395 | Humanoid.Changed:connect(function(Jump) | |
2396 | if Jump == "Jump" and (Disable_Jump == true) then | |
2397 | Humanoid.Jump = false | |
2398 | end | |
2399 | end) | |
2400 | ||
2401 | while true do | |
2402 | if Head:FindFirstChild("face") then | |
2403 | Head.face.Texture = "rbxassetid://"..FACE | |
2404 | end | |
2405 | Swait() | |
2406 | script.Parent = WEAPONGUI | |
2407 | ANIMATE.Parent = nil | |
2408 | for _,v in next, Humanoid:GetPlayingAnimationTracks() do | |
2409 | v:Stop(); | |
2410 | end | |
2411 | SINE = SINE + CHANGE | |
2412 | local TORSOVELOCITY = (RootPart.Velocity * VT(1, 0, 1)).magnitude | |
2413 | local TORSOVERTICALVELOCITY = RootPart.Velocity.y | |
2414 | local HITFLOOR,HITPOS = Raycast(RootPart.Position, (CF(RootPart.Position, RootPart.Position + VT(0, -1, 0))).lookVector, 4, Character) | |
2415 | local WALKSPEEDVALUE = 6 / (Humanoid.WalkSpeed / 16) | |
2416 | if ANIM == "Walk" and TORSOVELOCITY > 1 then | |
2417 | RootJoint.C1 = Clerp(RootJoint.C1, ROOTC0 * CF(0, 0, 0.05 * COS(SINE / (WALKSPEEDVALUE/2))) * ANGLES(RAD(0), RAD(0), RAD(0)), 2 * (Humanoid.WalkSpeed / 16) / Animation_Speed) | |
2418 | Neck.C1 = Clerp(Neck.C1, CF(0, -0.5, 0) * ANGLES(RAD(-90), RAD(0), RAD(180)) * ANGLES(RAD(0), RAD(0), RAD(0) - Head.RotVelocity.Y / 30), 0.2 * (Humanoid.WalkSpeed / 16) / Animation_Speed) | |
2419 | RightHip.C1 = Clerp(RightHip.C1, CF(0.5, 0.875 - 0.125 * SIN(SINE / WALKSPEEDVALUE) - 0.15 * COS(SINE / WALKSPEEDVALUE*2), 0.2 * SIN(SINE / WALKSPEEDVALUE)) * ANGLES(RAD(0), RAD(90), RAD(0)) * ANGLES(RAD(0), RAD(0), RAD(35 * COS(SINE / WALKSPEEDVALUE))), 0.6 / Animation_Speed) | |
2420 | LeftHip.C1 = Clerp(LeftHip.C1, CF(-0.5, 0.875 + 0.125 * SIN(SINE / WALKSPEEDVALUE) - 0.15 * COS(SINE / WALKSPEEDVALUE*2), -0.2 * SIN(SINE / WALKSPEEDVALUE)) * ANGLES(RAD(0), RAD(-90), RAD(0)) * ANGLES(RAD(0), RAD(0), RAD(35 * COS(SINE / WALKSPEEDVALUE))), 0.6 / Animation_Speed) | |
2421 | elseif (ANIM ~= "Walk") or (TORSOVELOCITY < 1) then | |
2422 | RootJoint.C1 = Clerp(RootJoint.C1, ROOTC0 * CF(0, 0, 0) * ANGLES(RAD(0), RAD(0), RAD(0)), 0.2 / Animation_Speed) | |
2423 | Neck.C1 = Clerp(Neck.C1, CF(0, -0.5, 0) * ANGLES(RAD(-90), RAD(0), RAD(180)) * ANGLES(RAD(0), RAD(0), RAD(0)), 0.2 / Animation_Speed) | |
2424 | RightHip.C1 = Clerp(RightHip.C1, CF(0.5, 1, 0) * ANGLES(RAD(0), RAD(90), RAD(0)) * ANGLES(RAD(0), RAD(0), RAD(0)), 0.7 / Animation_Speed) | |
2425 | LeftHip.C1 = Clerp(LeftHip.C1, CF(-0.5, 1, 0) * ANGLES(RAD(0), RAD(-90), RAD(0)) * ANGLES(RAD(0), RAD(0), RAD(0)), 0.7 / Animation_Speed) | |
2426 | end | |
2427 | if TORSOVERTICALVELOCITY > 1 and HITFLOOR == nil then | |
2428 | ANIM = "Jump" | |
2429 | if ATTACK == false then | |
2430 | RootJoint.C0 = Clerp(RootJoint.C0, ROOTC0 * CF(0, 0, 0 ) * ANGLES(RAD(-5), RAD(0), RAD(0)), 1 / Animation_Speed) | |
2431 | Neck.C0 = Clerp(Neck.C0, NECKC0 * CF(0, 0 , 0 + ((1) - 1)) * ANGLES(RAD(-25), RAD(0), RAD(0)), 1 / Animation_Speed) | |
2432 | RightShoulder.C0 = Clerp(RightShoulder.C0, CF(1.5, 0.5, 0) * ANGLES(RAD(-35), RAD(0), RAD(25 + 10 * COS(SINE / 12))) * RIGHTSHOULDERC0, 1 / Animation_Speed) | |
2433 | LeftShoulder.C0 = Clerp(LeftShoulder.C0, CF(-1.5, 0.5, 0) * ANGLES(RAD(-35), RAD(0), RAD(-25 - 10 * COS(SINE / 12))) * LEFTSHOULDERC0, 1 / Animation_Speed) | |
2434 | RightHip.C0 = Clerp(RightHip.C0, CF(1, -0.4, -0.6) * ANGLES(RAD(1), RAD(90), RAD(0)) * ANGLES(RAD(-1 * SIN(SINE / 6)), RAD(0), RAD(0)), 1 / Animation_Speed) | |
2435 | LeftHip.C0 = Clerp(LeftHip.C0, CF(-1, -1, 0) * ANGLES(RAD(0), RAD(-85), RAD(0)) * ANGLES(RAD(-1 * SIN(SINE / 6)), RAD(0), RAD(0)), 1 / Animation_Speed) | |
2436 | end | |
2437 | elseif TORSOVERTICALVELOCITY < -1 and HITFLOOR == nil then | |
2438 | ANIM = "Fall" | |
2439 | if ATTACK == false then | |
2440 | RootJoint.C0 = Clerp(RootJoint.C0, ROOTC0 * CF(0, 0, 0 ) * ANGLES(RAD(-15), RAD(0), RAD(0)), 1 / Animation_Speed) | |
2441 | Neck.C0 = Clerp(Neck.C0, NECKC0 * CF(0, 0 , 0 + ((1) - 1)) * ANGLES(RAD(15), RAD(0), RAD(0)), 1 / Animation_Speed) | |
2442 | RightShoulder.C0 = Clerp(RightShoulder.C0, CF(1.5, 0.5, 0) * ANGLES(RAD(-35 - 4 * COS(SINE / 6)), RAD(0), RAD(45 + 10 * COS(SINE / 12))) * RIGHTSHOULDERC0, 1 / Animation_Speed) | |
2443 | LeftShoulder.C0 = Clerp(LeftShoulder.C0, CF(-1.5, 0.5, 0) * ANGLES(RAD(-35 - 4 * COS(SINE / 6)), RAD(0), RAD(-45 - 10 * COS(SINE / 12))) * LEFTSHOULDERC0, 1 / Animation_Speed) | |
2444 | RightHip.C0 = Clerp(RightHip.C0, CF(1, -0.3, -0.7) * ANGLES(RAD(-25 + 5 * SIN(SINE / 12)), RAD(90), RAD(0)) * ANGLES(RAD(-1 * SIN(SINE / 6)), RAD(0), RAD(0)), 1 / Animation_Speed) | |
2445 | LeftHip.C0 = Clerp(LeftHip.C0, CF(-1, -0.8, -0.3) * ANGLES(RAD(-10), RAD(-80), RAD(0)) * ANGLES(RAD(-1 * SIN(SINE / 6)), RAD(0), RAD(0)), 1 / Animation_Speed) | |
2446 | end | |
2447 | elseif TORSOVELOCITY < 1 and HITFLOOR ~= nil then | |
2448 | ANIM = "Idle" | |
2449 | if ATTACK == false then | |
2450 | if MODE == "Psychotic" then | |
2451 | RootJoint.C0 = Clerp(RootJoint.C0,ROOTC0 * CF(0, 0, 0 + 0.1 * COS(SINE / 9)) * ANGLES(RAD(0), RAD(0), RAD(0)), 1 / Animation_Speed) | |
2452 | Neck.C0 = Clerp(Neck.C0, NECKC0 * CF(0, 0, 0 + ((1) - 1)) * ANGLES(RAD(25 + MRANDOM(-5,5) - 4 * COS(SINE / 12)), RAD(MRANDOM(-5,5)), RAD(15)), 1 / Animation_Speed) | |
2453 | if MRANDOM(1,10) == 1 then | |
2454 | Neck.C0 = Clerp(Neck.C0, NECKC0 * CF(0, 0, 0 + ((1.2) - 1)) * ANGLES(RAD(0 + MRANDOM(-50,50) - 4 * COS(SINE / 12)), RAD(MRANDOM(-50,50)), RAD(0)), 1.5 / Animation_Speed) | |
2455 | end | |
2456 | RightShoulder.C0 = Clerp(RightShoulder.C0, CF(1.05, 0.5, 0.5) * ANGLES(RAD(-30 - 4 * COS(SINE / 12)), RAD(0), RAD(-45)) * RIGHTSHOULDERC0, 1 / Animation_Speed) | |
2457 | LeftShoulder.C0 = Clerp(LeftShoulder.C0, CF(-1.15, 0.5, 0.5) * ANGLES(RAD(-35 - 4 * COS(SINE / 12)), RAD(0), RAD(45)) * LEFTSHOULDERC0, 1 / Animation_Speed) | |
2458 | RightHip.C0 = Clerp(RightHip.C0, CF(1, -1 - 0.15 * COS(SINE / 9), 0) * ANGLES(RAD(0), RAD(80), RAD(0)) * ANGLES(RAD(-1), RAD(0), RAD(0)), 1 / Animation_Speed) | |
2459 | LeftHip.C0 = Clerp(LeftHip.C0, CF(-1, -1 - 0.15 * COS(SINE / 9), 0) * ANGLES(RAD(0), RAD(-80), RAD(0)) * ANGLES(RAD(-1), RAD(0), RAD(0)), 1 / Animation_Speed) | |
2460 | elseif MODE == "Axe" then | |
2461 | RootJoint.C0 = Clerp(RootJoint.C0,ROOTC0 * CF(0, 0, 0 + 0.1 * COS(SINE / 12)) * ANGLES(RAD(0), RAD(0), RAD(0)), 0.15 / Animation_Speed) | |
2462 | Neck.C0 = Clerp(Neck.C0, NECKC0 * CF(0, 0, 0 + ((1) - 1)) * ANGLES(RAD(5), RAD(25), RAD(0)), 0.15 / Animation_Speed) | |
2463 | RightShoulder.C0 = Clerp(RightShoulder.C0, CF(1.5, 0.45 - 0.05 * COS(SINE / 12), 0) * ANGLES(RAD(0), RAD(0), RAD(0)) * RIGHTSHOULDERC0, 0.15 / Animation_Speed) | |
2464 | LeftShoulder.C0 = Clerp(LeftShoulder.C0, CF(-1.5, 0.5, 0) * ANGLES(RAD(0), RAD(0), RAD(0)) * LEFTSHOULDERC0, 0.15 / Animation_Speed) | |
2465 | LeftHip.C0 = Clerp(LeftHip.C0, CF(-1, -1 - 0.1 * COS(SINE / 12), -0.01) * ANGLES(RAD(0), RAD(-90), RAD(0)) * ANGLES(RAD(0), RAD(0), RAD(0)), 0.15 / Animation_Speed) | |
2466 | elseif MODE == "Murderer" then | |
2467 | RootJoint.C0 = Clerp(RootJoint.C0, ROOTC0 * CF(0, 0, 0 + 0.15 * COS(SINE / 10)) * ANGLES(RAD(0), RAD(0), RAD(0)), 1 / Animation_Speed) | |
2468 | Neck.C0 = Clerp(Neck.C0, NECKC0 * CF(0, 0, 0) * ANGLES(RAD(30 - 2.5 * SIN(SINE / 22)), RAD(15), RAD(0)), 1 / Animation_Speed) | |
2469 | if MRANDOM(1,6) == 1 then | |
2470 | Neck.C0 = Clerp(Neck.C0, NECKC0 * CF(0, 0, 0 + ((1.2) - 1)) * ANGLES(RAD(0 + MRANDOM(-25,25) - 4 * COS(SINE / 12)), RAD(MRANDOM(-25,25)), RAD(0)), 1.5 / Animation_Speed) | |
2471 | end | |
2472 | RightShoulder.C0 = Clerp(RightShoulder.C0, CF(1, 0.5, -0.5) * ANGLES(RAD(55 + -11 * COS(SINE / 23)), RAD(-10), RAD(-75)) * RIGHTSHOULDERC0, 1 / Animation_Speed) | |
2473 | LeftShoulder.C0 = Clerp(LeftShoulder.C0, CF(-1, 0.5, -0.5) * ANGLES(RAD(-40 + -11 * COS(SINE / 23)), RAD(25), RAD(75)) * LEFTSHOULDERC0, 1 / Animation_Speed) | |
2474 | RightHip.C0 = Clerp(RightHip.C0, CF(1, -1 - 0.15 * COS(SINE / 10), -0.01) * ANGLES(RAD(0), RAD(80), RAD(0)) * ANGLES(RAD(0), RAD(0), RAD(0)), 1 / Animation_Speed) | |
2475 | LeftHip.C0 = Clerp(LeftHip.C0, CF(-1, -1 - 0.15 * COS(SINE / 10), -0.01) * ANGLES(RAD(0), RAD(-80), RAD(0)) * ANGLES(RAD(0), RAD(0), RAD(0)), 1 / Animation_Speed) | |
2476 | end | |
2477 | end | |
2478 | elseif TORSOVELOCITY > 1 and HITFLOOR ~= nil then | |
2479 | ANIM = "Walk" | |
2480 | if ATTACK == false then | |
2481 | RootJoint.C0 = Clerp(RootJoint.C0,ROOTC0 * CF(0, 0, -0.05) * ANGLES(RAD(8), RAD(0), RAD(0)), 1 / Animation_Speed) | |
2482 | Neck.C0 = Clerp(Neck.C0, NECKC0 * CF(0, 0, 0 + ((1) - 1)) * ANGLES(RAD(15 + MRANDOM(-5,5) - 1 * SIN(SINE / (WALKSPEEDVALUE / 2))), RAD(MRANDOM(-5,5)), RAD(0)), 1 / Animation_Speed) | |
2483 | if MRANDOM(1,10) == 1 then | |
2484 | Neck.C0 = Clerp(Neck.C0, NECKC0 * CF(0, 0, 0 + ((1.2) - 1)) * ANGLES(RAD(0 + MRANDOM(-30,30) - 4 * COS(SINE / 12)), RAD(MRANDOM(-30,30)), RAD(0)), 1.5 / Animation_Speed) | |
2485 | end | |
2486 | LeftShoulder.C0 = Clerp(LeftShoulder.C0, CF(-1, 0.5, -0.5) * ANGLES(RAD(-40 + -11 * COS(SINE / 23)), RAD(25), RAD(75)) * LEFTSHOULDERC0, 1 / Animation_Speed) | |
2487 | RightShoulder.C0 = Clerp(RightShoulder.C0, CF(1.5, 0.45 - 0.05 * COS(SINE / 12), 0) * ANGLES(RAD(0), RAD(0), RAD(0)) * RIGHTSHOULDERC0, 0.15 / Animation_Speed) | |
2488 | RightHip.C0 = Clerp(RightHip.C0, CF(1 , -1, 0) * ANGLES(RAD(0), RAD(80), RAD(0)) * ANGLES(RAD(0), RAD(0), RAD(0)), 2 / Animation_Speed) | |
2489 | LeftHip.C0 = Clerp(LeftHip.C0, CF(-1, -1, 0) * ANGLES(RAD(0), RAD(-80), RAD(0)) * ANGLES(RAD(0), RAD(0), RAD(0)), 2 / Animation_Speed) | |
2490 | end | |
2491 | end | |
2492 | unanchor() | |
2493 | Humanoid.MaxHealth = 1e24 | |
2494 | Humanoid.Health = 1e24 | |
2495 | Humanoid.CameraOffset = VT(MRANDOM(-1,1)/2.5,MRANDOM(-1,1)/2.5,MRANDOM(-1,1)/2.5)/30 | |
2496 | if Rooted == false then | |
2497 | Disable_Jump = false | |
2498 | Humanoid.WalkSpeed = Speed | |
2499 | elseif Rooted == true then | |
2500 | Disable_Jump = true | |
2501 | Humanoid.WalkSpeed = 0 | |
2502 | end | |
2503 | sick.SoundId = "rbxassetid://407749940" | |
2504 | sick.Looped = true | |
2505 | sick.Pitch = 0.89 | |
2506 | sick.Volume = 1.5 | |
2507 | sick.Playing = true | |
2508 | if sick.Parent ~= RootPart then | |
2509 | sick = IT("Sound",RootPart) | |
2510 | end | |
2511 | Humanoid.Name = "NONHUM" | |
2512 | for E = 1, #GUIS do | |
2513 | GUIS[E].Rotation = MRANDOM(-5,5)/5 | |
2514 | end | |
2515 | if HITFLOOR ~= nil then | |
2516 | local POSITION = CF(HITPOS)*ANGLES(RAD(0),RAD(MRANDOM(0,360)),RAD(0))*CF(MRANDOM(10,95),0,0).p | |
2517 | local BOXFLOOR,BOXPOS = Raycast(POSITION+VT(0,1,0), (CF(POSITION, POSITION + VT(0, -1, 0))).lookVector, 5, Character) | |
2518 | local EFFECT = "Box" | |
2519 | local MULTIPLY = 3 | |
2520 | if MRANDOM(1,4) == 1 then | |
2521 | EFFECT = "Skull" | |
2522 | MULTIPLY = 5 | |
2523 | end | |
2524 | if BOXFLOOR ~= nil then | |
2525 | if MRANDOM(1,7) == 1 then | |
2526 | if MODE ~= "Psychotic" then | |
2527 | WACKYEFFECT({Time = MRANDOM(15,25)*2, EffectType = EFFECT, Size = VT(1.5,1.5,1.5)*MULTIPLY, Size2 = VT(0,0,0), Transparency = 0, Transparency2 = 1, CFrame = CF(BOXPOS-VT(0,2,0))*ANGLES(RAD(MRANDOM(0,360)),RAD(MRANDOM(0,360)),RAD(MRANDOM(0,360))), MoveToPos = BOXPOS+VT(0,MRANDOM(45,145)/1.5,0), MRANDOM(-25,25)/35, RotationY = MRANDOM(-25,25)/35, RotationZ = MRANDOM(-25,25)/35, Material = "Neon", Color = C3(0.4,0,0), SoundID = nil, SoundPitch = MRANDOM(12,16)/10, SoundVolume = 2}) | |
2528 | elseif MODE == "Psychotic" then | |
2529 | WACKYEFFECT({Time = MRANDOM(15,25)*2, EffectType = "Box", Size = VT(3,0,3), Size2 = VT(0,15,0), Transparency = 0, Transparency2 = 1, CFrame = RootPart.CFrame*CF(MRANDOM(-20,20),-2.8,MRANDOM(-20,20)), MoveToPos = nil,RotationX = 0, RotationY = 0, RotationZ = 0, Material = "Neon", Color = C3(0.4,0,0), SoundID = nil, SoundPitch = MRANDOM(12,16)/10, SoundVolume = 2}) | |
2530 | end | |
2531 | end | |
2532 | end | |
2533 | end | |
2534 | end | |
2535 | --//=================================\\ | |
2536 | --\\=================================// | |
2537 | ||
2538 | ||
2539 | ||
2540 | ||
2541 | ||
2542 | --//====================================================\\-- | |
2543 | --|| END OF SCRIPT | |
2544 | --\\====================================================//-- |