Advertisement
Guest User

Untitled

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