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