Advertisement
zXzGamePROzXz

Cream banish

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