Advertisement
Ebicgamermolment

Banisher switcher

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