Advertisement
yabagaba

Untitled

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