AirdHeee

Untitled

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