Advertisement
memberhero

Banisher V3.5

Jun 23rd, 2018
2,193
0
Never
Not a member of Pastebin yet? Sign Up, it unlocks many cool features!
text 79.49 KB | None | 0 0
  1. wait(1)
  2. Player = game.Players.LocalPlayer
  3. Character = Player.Character
  4. local txt = Instance.new("BillboardGui", Character)
  5. txt.Adornee = Character.Head
  6. txt.Name = "_status"
  7. txt.Size = UDim2.new(2, 0, 1.2, 0)
  8. txt.StudsOffset = Vector3.new(-9, 8, 0)
  9. local text = Instance.new("TextLabel", txt)
  10. text.Size = UDim2.new(10, 0, 7, 0)
  11. text.FontSize = "Size24"
  12. text.TextScaled = true
  13. text.TextTransparency = 0
  14. text.BackgroundTransparency = 1
  15. text.TextTransparency = 0
  16. text.TextStrokeTransparency = 0
  17. text.Font = "Antique"
  18. text.TextStrokeColor3 = Color3.new(170,0,0)
  19. text.Text = "Head Hunter"
  20. script.Name = "Banisher Gun V3 / 1"
  21. --//====================================================\\--
  22. --|| CREATED BY SHACKLUSTER
  23. --\\====================================================//--
  24.  
  25. script:ClearAllChildren()
  26. wait(0.2)
  27.  
  28. Player = game:GetService("Players").LocalPlayer
  29. PlayerGui = Player.PlayerGui
  30. Cam = workspace.CurrentCamera
  31. Backpack = Player.Backpack
  32. Character = Player.Character
  33. Humanoid = Character.Humanoid
  34. Mouse = Player:GetMouse()
  35. RootPart = Character["HumanoidRootPart"]
  36. Torso = Character["Torso"]
  37. Head = Character["Head"]
  38. RightArm = Character["Right Arm"]
  39. LeftArm = Character["Left Arm"]
  40. RightLeg = Character["Right Leg"]
  41. LeftLeg = Character["Left Leg"]
  42. RootJoint = RootPart["RootJoint"]
  43. Neck = Torso["Neck"]
  44. RightShoulder = Torso["Right Shoulder"]
  45. LeftShoulder = Torso["Left Shoulder"]
  46. RightHip = Torso["Right Hip"]
  47. LeftHip = Torso["Left Hip"]
  48. local TIME = 0
  49. local sick = Instance.new("Sound",Torso)
  50. Player_Size = 1.15 --Size of the player.
  51. Animation_Speed = 1.2
  52. Attack_Animation_Speed = 2.5
  53. Frame_Speed = 1 / 60 -- (1 / 30) OR (1 / 60)
  54. IT = Instance.new
  55. CF = CFrame.new
  56. VT = Vector3.new
  57. RAD = math.rad
  58. C3 = Color3.new
  59. UD2 = UDim2.new
  60. BRICKC = BrickColor.new
  61. ANGLES = CFrame.Angles
  62. EULER = CFrame.fromEulerAnglesXYZ
  63. COS = math.cos
  64. ACOS = math.acos
  65. SIN = math.sin
  66. ASIN = math.asin
  67. ABS = math.abs
  68. MRANDOM = math.random
  69. FLOOR = math.floor
  70.  
  71. --//=================================\\
  72. --|| USEFUL VALUES
  73. --\\=================================//
  74. local LAUGHS = {834001699,834001752,834001797,834001828}
  75. Animation_Speed = 3
  76. local FORCERESET = false
  77. Frame_Speed = 1 / 60 -- (1 / 30) OR (1 / 60)
  78. local Speed = 16
  79. local ROOTC0 = CF(0, 0, 0) * ANGLES(RAD(-90), RAD(0), RAD(180))
  80. local NECKC0 = CF(0, 1, 0) * ANGLES(RAD(-90), RAD(0), RAD(180))
  81. local RIGHTSHOULDERC0 = CF(-0.5, 0, 0) * ANGLES(RAD(0), RAD(90), RAD(0))
  82. local LEFTSHOULDERC0 = CF(0.5, 0, 0) * ANGLES(RAD(0), RAD(-90), RAD(0))
  83. local DAMAGEMULTIPLIER = 1
  84. local ANIM = "Idle"
  85. local ATTACK = false
  86. local EQUIPPED = false
  87. local HOLD = false
  88. local COMBO = 1
  89. local Rooted = false
  90. local SINE = 0
  91. local KEYHOLD = false
  92. local CHANGE = 2 / Animation_Speed
  93. local WALKINGANIM = false
  94. local VALUE1 = false
  95. local VALUE2 = false
  96. local ROBLOXIDLEANIMATION = IT("Animation")
  97. ROBLOXIDLEANIMATION.Name = "Roblox Idle Animation"
  98. ROBLOXIDLEANIMATION.AnimationId = "http://www.roblox.com/asset/?id=180435571"
  99. --ROBLOXIDLEANIMATION.Parent = Humanoid
  100. local WEAPONGUI = IT("ScreenGui", PlayerGui)
  101. WEAPONGUI.Name = "BanishV3Gui"
  102. local Weapon = IT("Model")
  103. Weapon.Name = "Adds"
  104. local Effects = IT("Folder", Weapon)
  105. Effects.Name = "Effects"
  106. local ANIMATOR = Humanoid.Animator
  107. local ANIMATE = Character:FindFirstChild("Animate")
  108. local UNANCHOR = true
  109. local TOBANISH = {}
  110. script.Parent = PlayerGui
  111.  
  112. --//=================================\\
  113. --\\=================================//
  114.  
  115.  
  116. --//=================================\\
  117. --|| SAZERENOS' ARTIFICIAL HEARTBEAT
  118. --\\=================================//
  119.  
  120. ArtificialHB = Instance.new("BindableEvent", script)
  121. ArtificialHB.Name = "ArtificialHB"
  122.  
  123. script:WaitForChild("ArtificialHB")
  124.  
  125. frame = Frame_Speed
  126. tf = 0
  127. allowframeloss = false
  128. tossremainder = false
  129. lastframe = tick()
  130. script.ArtificialHB:Fire()
  131.  
  132. game:GetService("RunService").Heartbeat:connect(function(s, p)
  133. tf = tf + s
  134. if tf >= frame then
  135. if allowframeloss then
  136. script.ArtificialHB:Fire()
  137. lastframe = tick()
  138. else
  139. for i = 1, math.floor(tf / frame) do
  140. script.ArtificialHB:Fire()
  141. end
  142. lastframe = tick()
  143. end
  144. if tossremainder then
  145. tf = 0
  146. else
  147. tf = tf - frame * math.floor(tf / frame)
  148. end
  149. end
  150. end)
  151.  
  152. --//=================================\\
  153. --\\=================================//
  154.  
  155. --//=================================\\
  156. --|| SOME FUNCTIONS
  157. --\\=================================//
  158.  
  159. function Raycast(POSITION, DIRECTION, RANGE, IGNOREDECENDANTS)
  160. return workspace:FindPartOnRay(Ray.new(POSITION, DIRECTION.unit * RANGE), IGNOREDECENDANTS)
  161. end
  162.  
  163. function PositiveAngle(NUMBER)
  164. if NUMBER >= 0 then
  165. NUMBER = 0
  166. end
  167. return NUMBER
  168. end
  169.  
  170. function NegativeAngle(NUMBER)
  171. if NUMBER <= 0 then
  172. NUMBER = 0
  173. end
  174. return NUMBER
  175. end
  176.  
  177. function Swait(NUMBER)
  178. if NUMBER == 0 or NUMBER == nil then
  179. ArtificialHB.Event:wait()
  180. else
  181. for i = 1, NUMBER do
  182. ArtificialHB.Event:wait()
  183. end
  184. end
  185. end
  186.  
  187. function CreateMesh(MESH, PARENT, MESHTYPE, MESHID, TEXTUREID, SCALE, OFFSET)
  188. local NEWMESH = IT(MESH)
  189. if MESH == "SpecialMesh" then
  190. NEWMESH.MeshType = MESHTYPE
  191. if MESHID ~= "nil" and MESHID ~= "" then
  192. NEWMESH.MeshId = "http://www.roblox.com/asset/?id="..MESHID
  193. end
  194. if TEXTUREID ~= "nil" and TEXTUREID ~= "" then
  195. NEWMESH.TextureId = "http://www.roblox.com/asset/?id="..TEXTUREID
  196. end
  197. end
  198. NEWMESH.Offset = OFFSET or VT(0, 0, 0)
  199. NEWMESH.Scale = SCALE
  200. NEWMESH.Parent = PARENT
  201. return NEWMESH
  202. end
  203.  
  204. function CreatePart(FORMFACTOR, PARENT, MATERIAL, REFLECTANCE, TRANSPARENCY, BRICKCOLOR, NAME, SIZE, ANCHOR)
  205. local NEWPART = IT("Part")
  206. NEWPART.formFactor = FORMFACTOR
  207. NEWPART.Reflectance = REFLECTANCE
  208. NEWPART.Transparency = TRANSPARENCY
  209. NEWPART.CanCollide = false
  210. NEWPART.Locked = true
  211. NEWPART.Anchored = true
  212. if ANCHOR == false then
  213. NEWPART.Anchored = false
  214. end
  215. NEWPART.BrickColor = BRICKC(tostring(BRICKCOLOR))
  216. NEWPART.Name = NAME
  217. NEWPART.Size = SIZE
  218. NEWPART.Position = Torso.Position
  219. NEWPART.Material = MATERIAL
  220. NEWPART:BreakJoints()
  221. NEWPART.Parent = PARENT
  222. return NEWPART
  223. end
  224.  
  225. local function weldBetween(a, b)
  226. local weldd = Instance.new("ManualWeld")
  227. weldd.Part0 = a
  228. weldd.Part1 = b
  229. weldd.C0 = CFrame.new()
  230. weldd.C1 = b.CFrame:inverse() * a.CFrame
  231. weldd.Parent = a
  232. return weldd
  233. end
  234.  
  235.  
  236. function QuaternionFromCFrame(cf)
  237. local mx, my, mz, m00, m01, m02, m10, m11, m12, m20, m21, m22 = cf:components()
  238. local trace = m00 + m11 + m22
  239. if trace > 0 then
  240. local s = math.sqrt(1 + trace)
  241. local recip = 0.5 / s
  242. return (m21 - m12) * recip, (m02 - m20) * recip, (m10 - m01) * recip, s * 0.5
  243. else
  244. local i = 0
  245. if m11 > m00 then
  246. i = 1
  247. end
  248. if m22 > (i == 0 and m00 or m11) then
  249. i = 2
  250. end
  251. if i == 0 then
  252. local s = math.sqrt(m00 - m11 - m22 + 1)
  253. local recip = 0.5 / s
  254. return 0.5 * s, (m10 + m01) * recip, (m20 + m02) * recip, (m21 - m12) * recip
  255. elseif i == 1 then
  256. local s = math.sqrt(m11 - m22 - m00 + 1)
  257. local recip = 0.5 / s
  258. return (m01 + m10) * recip, 0.5 * s, (m21 + m12) * recip, (m02 - m20) * recip
  259. elseif i == 2 then
  260. local s = math.sqrt(m22 - m00 - m11 + 1)
  261. local recip = 0.5 / s return (m02 + m20) * recip, (m12 + m21) * recip, 0.5 * s, (m10 - m01) * recip
  262. end
  263. end
  264. end
  265.  
  266. function QuaternionToCFrame(px, py, pz, x, y, z, w)
  267. local xs, ys, zs = x + x, y + y, z + z
  268. local wx, wy, wz = w * xs, w * ys, w * zs
  269. local xx = x * xs
  270. local xy = x * ys
  271. local xz = x * zs
  272. local yy = y * ys
  273. local yz = y * zs
  274. local zz = z * zs
  275. 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))
  276. end
  277.  
  278. function QuaternionSlerp(a, b, t)
  279. local cosTheta = a[1] * b[1] + a[2] * b[2] + a[3] * b[3] + a[4] * b[4]
  280. local startInterp, finishInterp;
  281. if cosTheta >= 0.0001 then
  282. if (1 - cosTheta) > 0.0001 then
  283. local theta = ACOS(cosTheta)
  284. local invSinTheta = 1 / SIN(theta)
  285. startInterp = SIN((1 - t) * theta) * invSinTheta
  286. finishInterp = SIN(t * theta) * invSinTheta
  287. else
  288. startInterp = 1 - t
  289. finishInterp = t
  290. end
  291. else
  292. if (1 + cosTheta) > 0.0001 then
  293. local theta = ACOS(-cosTheta)
  294. local invSinTheta = 1 / SIN(theta)
  295. startInterp = SIN((t - 1) * theta) * invSinTheta
  296. finishInterp = SIN(t * theta) * invSinTheta
  297. else
  298. startInterp = t - 1
  299. finishInterp = t
  300. end
  301. end
  302. 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
  303. end
  304.  
  305. function Clerp(a, b, t)
  306. local qa = {QuaternionFromCFrame(a)}
  307. local qb = {QuaternionFromCFrame(b)}
  308. local ax, ay, az = a.x, a.y, a.z
  309. local bx, by, bz = b.x, b.y, b.z
  310. local _t = 1 - t
  311. return QuaternionToCFrame(_t * ax + t * bx, _t * ay + t * by, _t * az + t * bz, QuaternionSlerp(qa, qb, t))
  312. end
  313.  
  314. function CreateFrame(PARENT, TRANSPARENCY, BORDERSIZEPIXEL, POSITION, SIZE, COLOR, BORDERCOLOR, NAME)
  315. local frame = IT("Frame")
  316. frame.BackgroundTransparency = TRANSPARENCY
  317. frame.BorderSizePixel = BORDERSIZEPIXEL
  318. frame.Position = POSITION
  319. frame.Size = SIZE
  320. frame.BackgroundColor3 = COLOR
  321. frame.BorderColor3 = BORDERCOLOR
  322. frame.Name = NAME
  323. frame.Parent = PARENT
  324. return frame
  325. end
  326.  
  327. function CreateLabel(PARENT, TEXT, TEXTCOLOR, TEXTFONTSIZE, TEXTFONT, TRANSPARENCY, BORDERSIZEPIXEL, STROKETRANSPARENCY, NAME)
  328. local label = IT("TextLabel")
  329. label.BackgroundTransparency = 1
  330. label.Size = UD2(1, 0, 1, 0)
  331. label.Position = UD2(0, 0, 0, 0)
  332. label.TextColor3 = TEXTCOLOR
  333. label.TextStrokeTransparency = STROKETRANSPARENCY
  334. label.TextTransparency = TRANSPARENCY
  335. label.FontSize = TEXTFONTSIZE
  336. label.Font = TEXTFONT
  337. label.BorderSizePixel = BORDERSIZEPIXEL
  338. label.TextScaled = false
  339. label.Text = TEXT
  340. label.Name = NAME
  341. label.Parent = PARENT
  342. return label
  343. end
  344.  
  345. function NoOutlines(PART)
  346. PART.TopSurface, PART.BottomSurface, PART.LeftSurface, PART.RightSurface, PART.FrontSurface, PART.BackSurface = 10, 10, 10, 10, 10, 10
  347. end
  348.  
  349. function CreateWeldOrSnapOrMotor(TYPE, PARENT, PART0, PART1, C0, C1)
  350. local NEWWELD = IT(TYPE)
  351. NEWWELD.Part0 = PART0
  352. NEWWELD.Part1 = PART1
  353. NEWWELD.C0 = C0
  354. NEWWELD.C1 = C1
  355. NEWWELD.Parent = PARENT
  356. return NEWWELD
  357. end
  358.  
  359. local S = IT("Sound")
  360. function CreateSound(ID, PARENT, VOLUME, PITCH, DOESLOOP)
  361. local NEWSOUND = nil
  362. coroutine.resume(coroutine.create(function()
  363. NEWSOUND = S:Clone()
  364. NEWSOUND.Parent = PARENT
  365. NEWSOUND.Volume = VOLUME
  366. NEWSOUND.Pitch = PITCH
  367. NEWSOUND.SoundId = "http://www.roblox.com/asset/?id="..ID
  368. NEWSOUND:play()
  369. if DOESLOOP == true then
  370. NEWSOUND.Looped = true
  371. else
  372. repeat wait(1) until NEWSOUND.Playing == false or NEWSOUND.Parent ~= PARENT
  373. NEWSOUND:remove()
  374. end
  375. end))
  376. return NEWSOUND
  377. end
  378.  
  379. function CFrameFromTopBack(at, top, back)
  380. local right = top:Cross(back)
  381. 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)
  382. end
  383.  
  384. --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})
  385. function WACKYEFFECT(Table)
  386. local TYPE = (Table.EffectType or "Sphere")
  387. local SIZE = (Table.Size or VT(1,1,1))
  388. local ENDSIZE = (Table.Size2 or VT(0,0,0))
  389. local TRANSPARENCY = (Table.Transparency or 0)
  390. local ENDTRANSPARENCY = (Table.Transparency2 or 1)
  391. local CFRAME = (Table.CFrame or Torso.CFrame)
  392. local MOVEDIRECTION = (Table.MoveToPos or nil)
  393. local ROTATION1 = (Table.RotationX or 0)
  394. local ROTATION2 = (Table.RotationY or 0)
  395. local ROTATION3 = (Table.RotationZ or 0)
  396. local MATERIAL = (Table.Material or "Neon")
  397. local COLOR = (Table.Color or C3(1,1,1))
  398. local TIME = (Table.Time or 45)
  399. local SOUNDID = (Table.SoundID or nil)
  400. local SOUNDPITCH = (Table.SoundPitch or nil)
  401. local SOUNDVOLUME = (Table.SoundVolume or nil)
  402. coroutine.resume(coroutine.create(function()
  403. local PLAYSSOUND = false
  404. local SOUND = nil
  405. local EFFECT = CreatePart(3, Effects, MATERIAL, 0, TRANSPARENCY, BRICKC("Pearl"), "Effect", VT(1,1,1), true)
  406. if SOUNDID ~= nil and SOUNDPITCH ~= nil and SOUNDVOLUME ~= nil then
  407. PLAYSSOUND = true
  408. SOUND = CreateSound(SOUNDID, EFFECT, SOUNDVOLUME, SOUNDPITCH, false)
  409. end
  410. EFFECT.Color = COLOR
  411. local MSH = nil
  412. if TYPE == "Sphere" then
  413. MSH = CreateMesh("SpecialMesh", EFFECT, "Sphere", "", "", SIZE, VT(0,0,0))
  414. elseif TYPE == "Block" then
  415. MSH = IT("BlockMesh",EFFECT)
  416. MSH.Scale = VT(SIZE.X,SIZE.X,SIZE.X)
  417. elseif TYPE == "Wave" then
  418. MSH = CreateMesh("SpecialMesh", EFFECT, "FileMesh", "20329976", "", SIZE, VT(0,0,-SIZE.X/8))
  419. elseif TYPE == "Ring" then
  420. MSH = CreateMesh("SpecialMesh", EFFECT, "FileMesh", "559831844", "", VT(SIZE.X,SIZE.X,0.1), VT(0,0,0))
  421. elseif TYPE == "Slash" then
  422. MSH = CreateMesh("SpecialMesh", EFFECT, "FileMesh", "662586858", "", VT(SIZE.X/10,0,SIZE.X/10), VT(0,0,0))
  423. elseif TYPE == "Round Slash" then
  424. MSH = CreateMesh("SpecialMesh", EFFECT, "FileMesh", "662585058", "", VT(SIZE.X/10,0,SIZE.X/10), VT(0,0,0))
  425. elseif TYPE == "Swirl" then
  426. MSH = CreateMesh("SpecialMesh", EFFECT, "FileMesh", "1051557", "", SIZE, VT(0,0,0))
  427. elseif TYPE == "Skull" then
  428. MSH = CreateMesh("SpecialMesh", EFFECT, "FileMesh", "4770583", "", SIZE, VT(0,0,0))
  429. elseif TYPE == "Crystal" then
  430. MSH = CreateMesh("SpecialMesh", EFFECT, "FileMesh", "9756362", "", SIZE, VT(0,0,0))
  431. end
  432. if MSH ~= nil then
  433. local MOVESPEED = nil
  434. if MOVEDIRECTION ~= nil then
  435. MOVESPEED = (CFRAME.p - MOVEDIRECTION).Magnitude/TIME
  436. end
  437. local GROWTH = SIZE - ENDSIZE
  438. local TRANS = TRANSPARENCY - ENDTRANSPARENCY
  439. if TYPE == "Block" then
  440. EFFECT.CFrame = CFRAME*ANGLES(RAD(MRANDOM(0,360)),RAD(MRANDOM(0,360)),RAD(MRANDOM(0,360)))
  441. else
  442. EFFECT.CFrame = CFRAME
  443. end
  444. for LOOP = 1, TIME+1 do
  445. Swait()
  446. MSH.Scale = MSH.Scale - GROWTH/TIME
  447. if TYPE == "Wave" then
  448. MSH.Offset = VT(0,0,-MSH.Scale.X/8)
  449. end
  450. EFFECT.Transparency = EFFECT.Transparency - TRANS/TIME
  451. if TYPE == "Block" then
  452. EFFECT.CFrame = CFRAME*ANGLES(RAD(MRANDOM(0,360)),RAD(MRANDOM(0,360)),RAD(MRANDOM(0,360)))
  453. else
  454. EFFECT.CFrame = EFFECT.CFrame*ANGLES(RAD(ROTATION1),RAD(ROTATION2),RAD(ROTATION3))
  455. end
  456. if MOVEDIRECTION ~= nil then
  457. local ORI = EFFECT.Orientation
  458. EFFECT.CFrame = CF(EFFECT.Position,MOVEDIRECTION)*CF(0,0,-MOVESPEED)
  459. EFFECT.Orientation = ORI
  460. end
  461. end
  462. if PLAYSSOUND == false then
  463. EFFECT:remove()
  464. else
  465. SOUND.Stopped:Connect(function()
  466. EFFECT:remove()
  467. end)
  468. end
  469. else
  470. if PLAYSSOUND == false then
  471. EFFECT:remove()
  472. else
  473. repeat Swait() until SOUND.Playing == false
  474. EFFECT:remove()
  475. end
  476. end
  477. end))
  478. end
  479.  
  480. function MakeForm(PART,TYPE)
  481. if TYPE == "Cyl" then
  482. local MSH = IT("CylinderMesh",PART)
  483. elseif TYPE == "Ball" then
  484. local MSH = IT("SpecialMesh",PART)
  485. MSH.MeshType = "Sphere"
  486. elseif TYPE == "Wedge" then
  487. local MSH = IT("SpecialMesh",PART)
  488. MSH.MeshType = "Wedge"
  489. end
  490. end
  491.  
  492. function SpawnTrail(FROM,TO,BIG)
  493. local TRAIL = CreatePart(3, Effects, "Neon", 0, 0.5, "Really red", "Trail", VT(0,0,0))
  494. MakeForm(TRAIL,"Cyl")
  495. local DIST = (FROM - TO).Magnitude
  496. if BIG == true then
  497. TRAIL.Size = VT(0.5,DIST,0.5)
  498. else
  499. TRAIL.Size = VT(0.25,DIST,0.25)
  500. end
  501. TRAIL.CFrame = CF(FROM, TO) * CF(0, 0, -DIST/2) * ANGLES(RAD(90),RAD(0),RAD(0))
  502. coroutine.resume(coroutine.create(function()
  503. for i = 1, 5 do
  504. Swait()
  505. TRAIL.Transparency = TRAIL.Transparency + 0.1
  506. end
  507. TRAIL:remove()
  508. end))
  509. end
  510.  
  511. Debris = game:GetService("Debris")
  512.  
  513. function CastProperRay(StartPos, EndPos, Distance, Ignore)
  514. local DIRECTION = CF(StartPos,EndPos).lookVector
  515. return Raycast(StartPos, DIRECTION, Distance, Ignore)
  516. end
  517.  
  518. function turnto(position)
  519. RootPart.CFrame=CFrame.new(RootPart.CFrame.p,VT(position.X,RootPart.Position.Y,position.Z)) * CFrame.new(0, 0, 0)
  520. end
  521.  
  522. --//=================================\\
  523. --|| WEAPON CREATION
  524. --\\=================================//
  525.  
  526. local Particle = IT("ParticleEmitter",nil)
  527. Particle.Enabled = false
  528. Particle.Transparency = NumberSequence.new({NumberSequenceKeypoint.new(0,0.3),NumberSequenceKeypoint.new(0.3,0),NumberSequenceKeypoint.new(1,1)})
  529. Particle.LightEmission = 0.5
  530. Particle.Rate = 150
  531. Particle.ZOffset = 0.2
  532. Particle.Rotation = NumberRange.new(-180, 180)
  533. Particle.RotSpeed = NumberRange.new(-180, 180)
  534. Particle.Texture = "http://www.roblox.com/asset/?id=304437537"
  535. Particle.Color = ColorSequence.new(C3(1,0,0),C3(0.4,0,0))
  536.  
  537. --ParticleEmitter({Speed = 5, Drag = 0, Size1 = 1, Size2 = 5, Lifetime1 = 1, Lifetime2 = 1.5, Parent = Torso, Emit = 100, Offset = 360, Enabled = false})
  538. function ParticleEmitter(Table)
  539. local PRTCL = Particle:Clone()
  540. local Speed = Table.Speed or 5
  541. local Drag = Table.Drag or 0
  542. local Size1 = Table.Size1 or 1
  543. local Size2 = Table.Size2 or 5
  544. local Lifetime1 = Table.Lifetime1 or 1
  545. local Lifetime2 = Table.Lifetime2 or 1.5
  546. local Parent = Table.Parent or Torso
  547. local Emit = Table.Emit or 100
  548. local Offset = Table.Offset or 360
  549. local Acel = Table.Acel or VT(0,0,0)
  550. local Enabled = Table.Enabled or false
  551. PRTCL.Parent = Parent
  552. PRTCL.Size = NumberSequence.new(Size1,Size2)
  553. PRTCL.Lifetime = NumberRange.new(Lifetime1,Lifetime2)
  554. PRTCL.Speed = NumberRange.new(Speed)
  555. PRTCL.VelocitySpread = Offset
  556. PRTCL.Drag = Drag
  557. PRTCL.Acceleration = Acel
  558. if Enabled == false then
  559. PRTCL:Emit(Emit)
  560. Debris:AddItem(PRTCL,Lifetime2)
  561. else
  562. PRTCL.Enabled = true
  563. end
  564. return PRTCL
  565. end
  566.  
  567. local Handle = CreatePart(3, Weapon, "Metal", 0, 0, "Mid gray", "Part", VT(0.2,0.6,0.2),false)
  568. local RightArmGrasp = CreateWeldOrSnapOrMotor("Weld", Handle, RightArm, Handle, CF(0,-1, 0) * ANGLES(RAD(90), RAD(0), RAD(0)), CF(0, 0.21, 0))
  569. local Part = CreatePart(3, Weapon, "Metal", 0, 0, "Mid gray", "Part", VT(0.2,0.5,0.2),false)
  570. MakeForm(Part,"Wedge")
  571. CreateWeldOrSnapOrMotor("Weld", Handle, Handle, Part, CF(0, -0.3, 0.2) * ANGLES(RAD(0), RAD(180), RAD(0)), CF(0, 0, 0))
  572. local Part = CreatePart(3, Weapon, "Metal", 0, 0, "Mid gray", "Part", VT(0.2,0.3,0.2),false)
  573. MakeForm(Part,"Wedge")
  574. CreateWeldOrSnapOrMotor("Weld", Handle, Handle, Part, CF(0, -0.4, 0) * ANGLES(RAD(0), RAD(0), RAD(180)), CF(0, 0, 0))
  575. local Part = CreatePart(3, Weapon, "Metal", 0, 0, "Mid gray", "Part", VT(0.3,0.3,0.3),false)
  576. CreateWeldOrSnapOrMotor("Weld", Handle, Handle, Part, CF(0, -0.5, 0.2) * ANGLES(RAD(0), RAD(0), RAD(0)), CF(0, 0, 0))
  577. local Part = CreatePart(3, Weapon, "Metal", 0, 0, "Mid gray", "Part", VT(0.3,0.5,0.5),false)
  578. CreateWeldOrSnapOrMotor("Weld", Handle, Handle, Part, CF(0, -0.6, 0.5) * ANGLES(RAD(0), RAD(0), RAD(0)), CF(0, 0, 0))
  579. local Part = CreatePart(3, Weapon, "Metal", 0, 0, "Mid gray", "Part", VT(0.4,0.4,0.4),false)
  580. MakeForm(Part,"Cyl")
  581. CreateWeldOrSnapOrMotor("Weld", Handle, Handle, Part, CF(0, -0.6, 0.5) * ANGLES(RAD(90), RAD(0), RAD(0)), CF(0, 0, 0))
  582. for i = 1, 8 do
  583. local Piece = CreatePart(3, Weapon, "Metal", 0, 0, "Mid gray", "Eye", VT(0,0.35,0.41),false)
  584. CreateWeldOrSnapOrMotor("Weld", Handle, Part, Piece, CF(0, 0, 0) * ANGLES(RAD(0), RAD((360/8)*i), RAD(0)), CF(0, 0, 0))
  585. end
  586. local Part = CreatePart(3, Weapon, "Metal", 0, 0, "Mid gray", "Eye", VT(0.38,0.41,0.38),false)
  587. MakeForm(Part,"Cyl")
  588. CreateWeldOrSnapOrMotor("Weld", Handle, Handle, Part, CF(0, -0.6, 0.5) * ANGLES(RAD(90), RAD(0), RAD(0)), CF(0, 0, 0))
  589. local Part = CreatePart(3, Weapon, "Metal", 0, 0, "Mid gray", "Part", VT(0.37,0.5,0.37),false)
  590. MakeForm(Part,"Ball")
  591. CreateWeldOrSnapOrMotor("Weld", Handle, Handle, Part, CF(0, -0.6, 0.3) * ANGLES(RAD(90), RAD(0), RAD(0)), CF(0, 0, 0))
  592. local Part = CreatePart(3, Weapon, "Metal", 0, 0, "Mid gray", "Part", VT(0.2,0.7,0.4),false)
  593. MakeForm(Part,"Wedge")
  594. CreateWeldOrSnapOrMotor("Weld", Handle, Handle, Part, CF(0, -0.7, 0.5) * ANGLES(RAD(90), RAD(180), RAD(180)), CF(0, 0, 0))
  595. local Part = CreatePart(3, Weapon, "Metal", 0, 0, "Mid gray", "Part", VT(0.3,0.4,0.2),false)
  596. CreateWeldOrSnapOrMotor("Weld", Handle, Handle, Part, CF(0, -0.6, 0.7) * ANGLES(RAD(0), RAD(0), RAD(0)), CF(0, 0, 0))
  597. local Part = CreatePart(3, Weapon, "Metal", 0, 0, "Mid gray", "Part", VT(0.35,0.35,0.35),false)
  598. MakeForm(Part,"Cyl")
  599. CreateWeldOrSnapOrMotor("Weld", Handle, Handle, Part, CF(0, -0.6, 0.7) * ANGLES(RAD(90), RAD(0), RAD(0)), CF(0, 0, 0))
  600. local Part = CreatePart(3, Weapon, "Metal", 0, 0, "Mid gray", "Part", VT(0.5,0.1,0.5),false)
  601. MakeForm(Part,"Cyl")
  602. CreateWeldOrSnapOrMotor("Weld", Handle, Handle, Part, CF(0, -0.6, 1) * ANGLES(RAD(90), RAD(0), RAD(0)), CF(0, 0, 0))
  603. local Part = CreatePart(3, Weapon, "Metal", 0, 0, "Mid gray", "Part", VT(0.5,0.1,0.45),false)
  604. MakeForm(Part,"Cyl")
  605. CreateWeldOrSnapOrMotor("Weld", Handle, Handle, Part, CF(0, -0.6, 1.1) * ANGLES(RAD(90), RAD(0), RAD(0)), CF(0, 0, 0))
  606. local Part = CreatePart(3, Weapon, "Metal", 0, 0, "Mid gray", "Part", VT(0.2,0.5,0.2),false)
  607. MakeForm(Part,"Wedge")
  608. CreateWeldOrSnapOrMotor("Weld", Handle, Handle, Part, CF(0, -0.55, 0.2) * ANGLES(RAD(-135), RAD(0), RAD(0)), CF(0, -0.3, 0))
  609. local LASTPART = Handle
  610. for i = 1, 10 do
  611. if LASTPART == Handle then
  612. local Part = CreatePart(3, Weapon, "Metal", 0, 0, "Mid gray", "Part", VT(0.1,0.2,0),false)
  613. LASTPART = Part
  614. CreateWeldOrSnapOrMotor("Weld", Handle, Handle, Part, CF(0, -0.1, 0.2) * ANGLES(RAD(90), RAD(0), RAD(0)), CF(0, 0, 0))
  615. else
  616. local Part = CreatePart(3, Weapon, "Metal", 0, 0, "Mid gray", "Part", VT(0.1,0.05,0),false)
  617. CreateWeldOrSnapOrMotor("Weld", Handle, LASTPART, Part, CF(0, 0.025, 0) * ANGLES(RAD(8), RAD(0), RAD(0)), CF(0, -0.025, 0))
  618. LASTPART = Part
  619. end
  620. end
  621.  
  622. local Barrel = CreatePart(3, Weapon, "Metal", 0, 0, "Mid gray", "Part", VT(0.15,2,0.15),false)
  623. MakeForm(Barrel,"Cyl")
  624. CreateWeldOrSnapOrMotor("Weld", Handle, Handle, Barrel, CF(0, -0.6, 1.8) * ANGLES(RAD(90), RAD(0), RAD(0)), CF(0, 0, 0))
  625. local Part = CreatePart(3, Weapon, "Metal", 0, 0, "Mid gray", "Part", VT(0.25,1,0.25),false)
  626. MakeForm(Part,"Cyl")
  627. CreateWeldOrSnapOrMotor("Weld", Handle, Barrel, Part, CF(0, -0.6, 0), CF(0, 0, 0))
  628. local Part = CreatePart(3, Weapon, "Metal", 0, 0, "Mid gray", "Part", VT(0,0.1,0.2),false)
  629. MakeForm(Part,"Wedge")
  630. CreateWeldOrSnapOrMotor("Weld", Handle, Barrel, Part, CF(0, 0.945, 0.1) * ANGLES(RAD(180), RAD(0), RAD(0)), CF(0, 0, 0))
  631. local Hole = CreatePart(3, Weapon, "Metal", 0, 0, "Mid gray", "Eye", VT(0.125,0,0.125),false)
  632. MakeForm(Hole,"Cyl")
  633. CreateWeldOrSnapOrMotor("Weld", Handle, Barrel, Hole, CF(0, 0.98, 0), CF(0, 0, 0))
  634. local Part = CreatePart(3, Weapon, "Metal", 0, 0, "Mid gray", "Part", VT(0,0,0),false)
  635. local GEARWELD = CreateWeldOrSnapOrMotor("Weld", Handle, Handle, Part, CF(0, -0.6, 0.7), CF(0, 0, 0))
  636. CreateMesh("SpecialMesh", Part, "FileMesh", 156292343, "", VT(0.8,0.8,1.5), VT(0,0,0.2))
  637. local Part = CreatePart(3, Weapon, "Metal", 0, 0.5, "Mid gray", "Eye", VT(0,0,0),false)
  638. local GEARWELD2 = CreateWeldOrSnapOrMotor("Weld", Handle, Handle, Part, CF(0, -0.6, 0.7), CF(0, 0, 0))
  639. CreateMesh("SpecialMesh", Part, "FileMesh", 156292343, "", VT(0.9,0.9,0.3), VT(0,0,0.2))
  640. coroutine.resume(coroutine.create(function()
  641. while wait() do
  642. GEARWELD.C0 = GEARWELD.C0 * ANGLES(RAD(0), RAD(0), RAD(5))
  643. GEARWELD2.C0 = GEARWELD2.C0 * ANGLES(RAD(0), RAD(0), RAD(-5))
  644. end
  645. end))
  646.  
  647. 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)})
  648. --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)})
  649.  
  650. for _, c in pairs(Weapon:GetDescendants()) do
  651. if c.ClassName == "Part" and c.Name ~= "Eye" and c.Parent ~= Effects and c.Parent.Parent ~= Effects then
  652. c.Material = "Glass"
  653. c.Color = C3(0,0,0)
  654. elseif c.ClassName == "Part" and c.Name == "Eye" then
  655. c.Color = C3(1,0,0)
  656. c.Material = "Neon"
  657. end
  658. end
  659.  
  660. Weapon.Parent = Character
  661. for _, c in pairs(Weapon:GetChildren()) do
  662. if c.ClassName == "Part" then
  663. c.CustomPhysicalProperties = PhysicalProperties.new(0, 0, 0, 0, 0)
  664. end
  665. end
  666. local BODY = {}
  667.  
  668. for _, c in pairs(Character:GetDescendants()) do
  669. if c:IsA("BasePart") and c.Name ~= "Handle" then
  670. if c ~= RootPart and c ~= Torso and c ~= Head and c ~= RightArm and c ~= LeftArm and c ~= RightLeg and c ~= LeftLeg then
  671. c.CustomPhysicalProperties = PhysicalProperties.new(0, 0, 0, 0, 0)
  672. end
  673. table.insert(BODY,{c,c.Parent,c.Material,c.Color,c.Transparency})
  674. elseif c:IsA("JointInstance") then
  675. table.insert(BODY,{c,c.Parent,nil,nil,nil})
  676. end
  677. end
  678.  
  679. for e = 1, #BODY do
  680. if BODY[e] ~= nil then
  681. local STUFF = BODY[e]
  682. local PART = STUFF[1]
  683. local PARENT = STUFF[2]
  684. local MATERIAL = STUFF[3]
  685. local COLOR = STUFF[4]
  686. local TRANSPARENCY = STUFF[5]
  687. if PART.ClassName == "Part" and PART ~= RootPart then
  688. PART.Material = MATERIAL
  689. PART.Color = COLOR
  690. PART.Transparency = TRANSPARENCY
  691. end
  692. PART.AncestryChanged:Connect(function()
  693. PART.Parent = PARENT
  694. end)
  695. end
  696. end
  697.  
  698. function refit()
  699. Character.Parent = workspace
  700. for e = 1, #BODY do
  701. if BODY[e] ~= nil then
  702. local STUFF = BODY[e]
  703. local PART = STUFF[1]
  704. local PARENT = STUFF[2]
  705. local MATERIAL = STUFF[3]
  706. local COLOR = STUFF[4]
  707. local TRANSPARENCY = STUFF[5]
  708. if PART.ClassName == "Part" and PART ~= RootPart then
  709. PART.Material = MATERIAL
  710. PART.Color = COLOR
  711. PART.Transparency = TRANSPARENCY
  712. end
  713. if PART.Parent ~= PARENT then
  714. Humanoid:remove()
  715. PART.Parent = PARENT
  716. Humanoid = IT("Humanoid",Character)
  717. end
  718. end
  719. end
  720. end
  721. local SKILLTEXTCOLOR = C3(1,0,0)
  722. local SKILLFONT = "Antique"
  723. local SKILLTEXTSIZE = 7
  724. Humanoid.Died:connect(function()
  725. refit()
  726. end)
  727. Humanoid.Died:connect(function()
  728. ATTACK = true
  729. end)
  730.  
  731. 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")
  732. ---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")
  733. ---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")
  734. --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")
  735. 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")
  736. local SKILL6FRAME = CreateFrame(WEAPONGUI, 1, 2, UD2(0.6, 0, 0.90, 0), UD2(0.26, 0, 0.07, 0), C3(0,0,0), C3(0, 0, 0), "Skill 5 Frame")
  737.  
  738. local SKILL1TEXT = CreateLabel(SKILL1FRAME, "[Z] Banisher Bullet", SKILLTEXTCOLOR, SKILLTEXTSIZE, SKILLFONT, 0, 2, 0.7, "Text 1")
  739. --local SKILL2TEXT = CreateLabel(SKILL2FRAME, "[B] Ability 2", SKILLTEXTCOLOR, SKILLTEXTSIZE, SKILLFONT, 0, 2, 0.7, "Text 2")
  740. --local SKILL3TEXT = CreateLabel(SKILL3FRAME, "[C] Ability 3", SKILLTEXTCOLOR, SKILLTEXTSIZE, SKILLFONT, 0, 2, 0.7, "Text 3")
  741. --local SKILL4TEXT = CreateLabel(SKILL4FRAME, "[V] Ability 4", SKILLTEXTCOLOR, SKILLTEXTSIZE, SKILLFONT, 0, 2, 0.7, "Text 4")
  742. local SKILL5TEXT = CreateLabel(SKILL5FRAME, "[X] Banisherbound", SKILLTEXTCOLOR, SKILLTEXTSIZE, SKILLFONT, 0, 2, 0.7, "Text 5")
  743. local SKILL6TEXT = CreateLabel(SKILL6FRAME, "[C] Smite/Meteor", SKILLTEXTCOLOR, SKILLTEXTSIZE, SKILLFONT, 0, 2, 0.7, "Text 5")
  744.  
  745. function printbye(Name)
  746. 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, "}
  747. warn(MESSAGES[MRANDOM(1,#MESSAGES)]..Name..".")
  748. end
  749.  
  750. workspace.ChildAdded:connect(function(instance)
  751. for BANISH = 1, #TOBANISH do
  752. if TOBANISH[BANISH] ~= nil then
  753. if instance.Name == TOBANISH[BANISH] then
  754. coroutine.resume(coroutine.create(function()
  755. printbye(instance.Name)
  756. instance:ClearAllChildren()
  757. Debris:AddItem(instance,0.0005)
  758. end))
  759. end
  760. end
  761. end
  762. end)
  763.  
  764. --//=================================\\
  765. --|| DAMAGING
  766. --\\=================================//
  767. local asd = Instance.new("ParticleEmitter")
  768. asd.Color = ColorSequence.new(Color3.new(0.5, 0, 0), Color3.new(.3, 0, 0))
  769. asd.LightEmission = .1
  770. asd.Texture = "http://www.roblox.com/asset/?ID=291880914"
  771. aaa = NumberSequence.new({NumberSequenceKeypoint.new(0, 0.6),NumberSequenceKeypoint.new(1, 2)})
  772. bbb = NumberSequence.new({NumberSequenceKeypoint.new(0, 1),NumberSequenceKeypoint.new(0.0636, 0), NumberSequenceKeypoint.new(1, 1)})
  773. asd.Transparency = bbb
  774. asd.Size = aaa
  775. asd.ZOffset = .9
  776. asd.Acceleration = Vector3.new(0, -15, 0)
  777. asd.LockedToPart = false
  778. asd.EmissionDirection = "Back"
  779. asd.Lifetime = NumberRange.new(1, 2)
  780. asd.Rotation = NumberRange.new(-100, 100)
  781. asd.RotSpeed = NumberRange.new(-100, 100)
  782. asd.Speed = NumberRange.new(10)
  783. asd.Enabled = false
  784. asd.VelocitySpread = 999
  785.  
  786. function getbloody(victim,amount)
  787. local PART = CreatePart(3, Effects, "Metal", 0, 1, "Mid gray", "Blood", victim.Size)
  788. PART.CFrame = victim.CFrame
  789. local HITPLAYERSOUNDS = {"356551938","264486467"}
  790. Debris:AddItem(PART,5)
  791. CreateSound(HITPLAYERSOUNDS[MRANDOM(1, #HITPLAYERSOUNDS)], PART, 1, (math.random(8,12)/10))
  792. CreateSound(HITPLAYERSOUNDS[MRANDOM(1, #HITPLAYERSOUNDS)], PART, 1, (math.random(8,12)/10))
  793. CreateSound(HITPLAYERSOUNDS[MRANDOM(1, #HITPLAYERSOUNDS)], PART, 1, (math.random(8,12)/10))
  794. local prtcl = asd:Clone()
  795. prtcl.Parent = PART
  796. prtcl:Emit(amount*10)
  797. end
  798. function Kill(Char)
  799. local NewCharacter = IT("Model",Effects)
  800. NewCharacter.Name = "Ow im ded ;-;"
  801. for _, c in pairs(Char:GetDescendants()) do
  802. if c:IsA("BasePart") and c.Transparency == 0 then
  803. if c.Parent == Char then
  804. getbloody(c,5)
  805. end
  806. c:BreakJoints()
  807. c.Material = "Glass"
  808. c.Color = C3(0.5,0,0)
  809. c.CanCollide = true
  810. c.Transparency = 0.3
  811. if c:FindFirstChildOfClass("SpecialMesh") then
  812. c:FindFirstChildOfClass("SpecialMesh").TextureId = ""
  813. end
  814. if c.Name == "Head" then
  815. c:ClearAllChildren()
  816. c.Size = VT(c.Size.Y,c.Size.Y,c.Size.Y)
  817. end
  818. if c.ClassName == "MeshPart" then
  819. c.TextureID = ""
  820. end
  821. if c:FindFirstChildOfClass("BodyPosition") then
  822. c:FindFirstChildOfClass("BodyPosition"):remove()
  823. end
  824. if c:FindFirstChildOfClass("ParticleEmitter") then
  825. c:FindFirstChildOfClass("ParticleEmitter"):remove()
  826. end
  827. c.Parent = NewCharacter
  828. c.Name = "DeadPart"
  829. c.Velocity = VT(MRANDOM(-45,45),MRANDOM(-45,45),MRANDOM(-45,45))/15
  830. c.RotVelocity = VT(MRANDOM(-45,45),MRANDOM(-15,85),MRANDOM(-45,45))
  831. end
  832. end
  833. Char:remove()
  834. Debris:AddItem(NewCharacter,5)
  835. end
  836.  
  837. function Banish(Foe)
  838. if Foe then
  839. coroutine.resume(coroutine.create(function()
  840. --if game.Players:FindFirstChild(Foe.Name) then
  841. table.insert(TOBANISH,Foe.Name)
  842. printbye(Foe.Name)
  843. --end
  844. Foe.Archivable = true
  845. local CLONE = Foe:Clone()
  846. Foe:Destroy()
  847. CLONE.Parent = Effects
  848. CLONE:BreakJoints()
  849. local MATERIALS = {"Glass","Neon"}
  850. for _, c in pairs(CLONE:GetDescendants()) do
  851. if c:IsA("BasePart") then
  852. if c.Name == "Torso" or c.Name == "UpperTorso" or c == CLONE.PrimaryPart then
  853. CreateSound(340722848, c, 10, 1, false)
  854. end
  855. c.Anchored = true
  856. c.Transparency = c.Transparency + 0.2
  857. c.Material = MATERIALS[MRANDOM(1,2)]
  858. c.Color = C3(1,0,0)
  859. if c.ClassName == "MeshPart" then
  860. c.TextureID = ""
  861. end
  862. if c:FindFirstChildOfClass("SpecialMesh") then
  863. c:FindFirstChildOfClass("SpecialMesh").TextureId = ""
  864. end
  865. if c:FindFirstChildOfClass("Decal") then
  866. c:FindFirstChildOfClass("Decal"):remove()
  867. end
  868. c.Name = "Banished"
  869. c.CanCollide = false
  870. else
  871. c:remove()
  872. end
  873. end
  874. local A = false
  875. for i = 1, 35 do
  876. if A == false then
  877. A = true
  878. elseif A == true then
  879. A = false
  880. end
  881. for _, c in pairs(CLONE:GetDescendants()) do
  882. if c:IsA("BasePart") then
  883. c.Anchored = true
  884. c.Material = MATERIALS[MRANDOM(1,2)]
  885. c.Transparency = c.Transparency + 0.8/35
  886. if A == false then
  887. c.CFrame = c.CFrame*CF(MRANDOM(-45,45)/45,MRANDOM(-45,45)/45,MRANDOM(-45,45)/45)
  888. elseif A == true then
  889. c.CFrame = c.CFrame*CF(MRANDOM(-45,45)/45,MRANDOM(-45,45)/45,MRANDOM(-45,45)/45)
  890. end
  891. end
  892. end
  893. Swait()
  894. end
  895. CLONE:remove()
  896. end))
  897. end
  898. end
  899.  
  900. function ApplyAoE(POSITION,RANGE,ISBANISH)
  901. local CHILDREN = workspace:GetDescendants()
  902. for index, CHILD in pairs(CHILDREN) do
  903. if CHILD.ClassName == "Model" and CHILD ~= Character then
  904. local HUM = CHILD:FindFirstChildOfClass("Humanoid")
  905. if HUM then
  906. local TORSO = CHILD:FindFirstChild("Torso") or CHILD:FindFirstChild("UpperTorso")
  907. if TORSO then
  908. if (TORSO.Position - POSITION).Magnitude <= RANGE then
  909. if ISBANISH == true then
  910. Banish(CHILD)
  911. else
  912. if ISBANISH == "Gravity" then
  913. HUM.PlatformStand = true
  914. if TORSO:FindFirstChild("V3BanishForce"..Player.Name) then
  915. local grav = Instance.new("BodyPosition",TORSO)
  916. grav.D = 15
  917. grav.P = 20000
  918. grav.maxForce = Vector3.new(math.huge,math.huge,math.huge)
  919. grav.position = TORSO.Position
  920. grav.Name = "V3BanishForce"..Player.Name
  921. else
  922. TORSO:FindFirstChild("V3BanishForce"..Player.Name).position = TORSO.Position+VT(0,0.3,0)
  923. TORSO.RotVelocity = VT(MRANDOM(-25,25),MRANDOM(-25,25),MRANDOM(-25,25))
  924. end
  925. else
  926. HUM.PlatformStand = false
  927. end
  928. end
  929. elseif ISBANISH == "Gravity" then
  930. if TORSO:FindFirstChild("V3BanishForce"..Player.Name) then
  931. TORSO:FindFirstChild("V3BanishForce"..Player.Name):remove()
  932. HUM.PlatformStand = false
  933. end
  934. end
  935. end
  936. end
  937. end
  938. end
  939. end
  940.  
  941. --//=================================\\
  942. --|| ATTACK FUNCTIONS AND STUFF
  943. --\\=================================//
  944. function RayCast(Position, Direction, MaxDistance, IgnoreList)
  945. return game:GetService("Workspace"):FindPartOnRayWithIgnoreList(Ray.new(Position, Direction.unit * (MaxDistance or 999.999)), IgnoreList)
  946. end
  947. function CreateWave(inair,size,doesrotate,rotatedirection,waitt,part,offset)
  948. local wave = CreatePart(3, Effects, "Neon", 0, 0.5, Torso.BrickColor, "Effect", VT(0,0,0))
  949. local mesh = IT("SpecialMesh",wave)
  950. mesh.MeshType = "FileMesh"
  951. mesh.MeshId = "http://www.roblox.com/asset/?id=20329976"
  952. mesh.Scale = VT(size,size,size)
  953. mesh.Offset = VT(0,0,-size/8)
  954. wave.CFrame = CF(part.Position) * CF(0,offset,0) * ANGLES(RAD(inair),RAD(0),RAD(0))
  955. coroutine.resume(coroutine.create(function(PART)
  956. for i = 1, waitt do
  957. Swait()
  958. mesh.Scale = mesh.Scale + VT(size/5,0,size/5)
  959. mesh.Offset = VT(0,0,-(mesh.Scale.X/8))
  960. if doesrotate == true then
  961. wave.CFrame = wave.CFrame * CFrame.fromEulerAnglesXYZ(0, rotatedirection, 0)
  962. end
  963. wave.Transparency = wave.Transparency + (0.5/waitt)
  964. if wave.Transparency > 0.99 then
  965. wave:remove()
  966. end
  967. end
  968. end))
  969. end
  970.  
  971. function CreateRing(inair,size,doesrotate,rotatedirection,waitt,part,offset,spin1,spin2)
  972. local wave = CreatePart(3, Effects, "Neon", 0, 0.5, Torso.BrickColor, "Effect", VT(0,0,0))
  973. local mesh = IT("SpecialMesh",wave)
  974. mesh.MeshType = "FileMesh"
  975. mesh.MeshId = "http://www.roblox.com/asset/?id=3270017"
  976. mesh.Scale = VT(size,size,size)
  977. mesh.Offset = VT(0,0,0)
  978. wave.CFrame = CF(part.Position) * CF(0,offset,0) * ANGLES(RAD(inair),RAD(0),RAD(0))
  979. coroutine.resume(coroutine.create(function(PART)
  980. for i = 1, waitt do
  981. Swait()
  982. mesh.Scale = mesh.Scale + VT(size/5,size/5,size/5)
  983. if doesrotate == true then
  984. wave.CFrame = wave.CFrame * CFrame.fromEulerAnglesXYZ(spin2, rotatedirection, spin1)
  985. end
  986. wave.Transparency = wave.Transparency + (0.5/waitt)
  987. if wave.Transparency > 0.99 then
  988. wave:remove()
  989. end
  990. end
  991. end))
  992. end
  993.  
  994. function CreatePentagram(size,doesrotate,rotatedirection,waitt,cframe,offset)
  995. local sinkhole = IT("Part",Effects)
  996. sinkhole.Size = VT(size,0,size)
  997. sinkhole.CFrame = cframe * CF(0,offset,0)
  998. sinkhole.Material = "Neon"
  999. sinkhole.Color = C3(170, 0, 170)
  1000. sinkhole.Anchored = true
  1001. sinkhole.CanCollide = false
  1002. sinkhole.Transparency = 1
  1003. local decal = IT("Decal",sinkhole)
  1004. decal.Face = "Top"
  1005. decal.Texture = "http://www.roblox.com/asset/?id=177470914"
  1006. coroutine.resume(coroutine.create(function(PART)
  1007. for i = 1, waitt do
  1008. Swait()
  1009. if doesrotate == true then
  1010. sinkhole.CFrame = sinkhole.CFrame * CFrame.fromEulerAnglesXYZ(0, rotatedirection, 0)
  1011. end
  1012. if i > waitt-11 then
  1013. decal.Transparency = decal.Transparency + 0.1
  1014. end
  1015. end
  1016. sinkhole:remove()
  1017. end))
  1018. return sinkhole
  1019. end
  1020. function CreateWave(inair,size,doesrotate,rotatedirection,waitt,part,offset)
  1021. local wave = CreatePart(3, Effects, "Neon", 0, 0.5, Torso.BrickColor, "Effect", VT(0,0,0))
  1022. local mesh = IT("SpecialMesh",wave)
  1023. mesh.MeshType = "FileMesh"
  1024. mesh.MeshId = "http://www.roblox.com/asset/?id=20329976"
  1025. mesh.Scale = VT(size,size,size)
  1026. mesh.Offset = VT(0,0,-size/8)
  1027. wave.CFrame = CF(part.Position) * CF(0,offset,0) * ANGLES(RAD(inair),RAD(0),RAD(0))
  1028. coroutine.resume(coroutine.create(function(PART)
  1029. for i = 1, waitt do
  1030. Swait()
  1031. mesh.Scale = mesh.Scale + VT(size/5,0,size/5)
  1032. mesh.Offset = VT(0,0,-(mesh.Scale.X/8))
  1033. if doesrotate == true then
  1034. wave.CFrame = wave.CFrame * CFrame.fromEulerAnglesXYZ(0, rotatedirection, 0)
  1035. end
  1036. wave.Transparency = wave.Transparency + (0.5/waitt)
  1037. if wave.Transparency > 0.99 then
  1038. wave:remove()
  1039. end
  1040. end
  1041. end))
  1042. end
  1043. function StatLabel(LABELTYPE, CFRAME, TEXT, COLOR)
  1044. local STATPART = CreatePart(3, Effects, "Neon", 0, 1, "Really black", "Effect", VT())
  1045. STATPART.CFrame = CF(CFRAME.p + VT(0, 1.5, 0))
  1046. local BODYGYRO = IT("BodyGyro", STATPART)
  1047. local BODYPOSITION = IT("BodyPosition", STATPART)
  1048. BODYPOSITION.P = 2000
  1049. BODYPOSITION.D = 100
  1050. BODYPOSITION.maxForce = VT(math.huge, math.huge, math.huge)
  1051. if LABELTYPE == "Normal" then
  1052. BODYPOSITION.position = STATPART.Position + VT(MRANDOM(-2, 2), 6, MRANDOM(-2, 2))
  1053. elseif LABELTYPE == "Debuff" then
  1054. BODYPOSITION.position = STATPART.Position + VT(MRANDOM(-2, 2), 8, MRANDOM(-2, 2))
  1055. elseif LABELTYPE == "Interruption" then
  1056. BODYPOSITION.position = STATPART.Position + VT(MRANDOM(-2,2), 8, MRANDOM(-2, 2))
  1057. end
  1058. game:GetService("Debris"):AddItem(STATPART ,5)
  1059. local BILLBOARDGUI = Instance.new("BillboardGui", STATPART)
  1060. BILLBOARDGUI.Adornee = STATPART
  1061. BILLBOARDGUI.Size = UD2(2.5, 0, 2.5 ,0)
  1062. BILLBOARDGUI.StudsOffset = VT(-2, 2, 0)
  1063. BILLBOARDGUI.AlwaysOnTop = true
  1064. local TEXTLABEL = Instance.new("TextLabel", BILLBOARDGUI)
  1065. TEXTLABEL.BackgroundTransparency = 1
  1066. TEXTLABEL.Size = UD2(2.5, 0, 2.5, 0)
  1067. TEXTLABEL.Text = TEXT
  1068. TEXTLABEL.Font = "Antique"
  1069. TEXTLABEL.FontSize="Size42"
  1070. TEXTLABEL.TextColor3 = COLOR
  1071. TEXTLABEL.TextStrokeTransparency = 1
  1072. TEXTLABEL.TextScaled = true
  1073. TEXTLABEL.TextWrapped = true
  1074. coroutine.resume(coroutine.create(function(THEPART, THEBODYPOSITION, THETEXTLABEL)
  1075. wait(0.2)
  1076. for i=1, 5 do
  1077. wait()
  1078. THEBODYPOSITION.Position = THEPART.Position - VT(0, 0.5 ,0)
  1079. end
  1080. wait(1.2)
  1081. for i=1, 5 do
  1082. wait()
  1083. THETEXTLABEL.TextTransparency = THETEXTLABEL.TextTransparency + 0.2
  1084. THETEXTLABEL.TextStrokeTransparency = THETEXTLABEL.TextStrokeTransparency + 0.2
  1085. THEBODYPOSITION.position = THEPART.Position + VT(0, 0.5, 0)
  1086. end
  1087. THEPART.Parent = nil
  1088. end),STATPART, BODYPOSITION, TEXTLABEL)
  1089. end
  1090. function AoEDamage(position,radius,min,max,maxstrength,beserk,critrate,critmultiplier,CanBeDodgedByJumping)
  1091. local dmg = math.random(min,max)
  1092. for i,v in ipairs(workspace:GetChildren()) do
  1093. if v:FindFirstChild("HitBy"..Player.Name) == nil then
  1094. local body = v:GetChildren()
  1095. for part = 1, #body do
  1096. if(v:FindFirstChild("HitBy"..Player.Name) == nil and (body[part].ClassName == "Part" or body[part].ClassName == "MeshPart") and v ~= Character) then
  1097. if(body[part].Position - position).Magnitude < radius then
  1098. if v.ClassName == "Model" then
  1099. if v:FindFirstChild("Humanoid") then
  1100. if v.Humanoid.Health ~= 0 then
  1101. if CanBeDodgedByJumping == true then
  1102. if body[part].Position.Y < position.Y+5 then
  1103. if math.random(1,100) < critrate+1 then
  1104. v.Humanoid.Health = v.Humanoid.Health - dmg*critmultiplier
  1105. StatLabel("Normal", body[part].CFrame * CF(0, 0 + (body[part].Size.z - 1), 0), "CRIT/"..dmg*critmultiplier, C3(255/255, 0, 0))
  1106. else
  1107. v.Humanoid.Health = v.Humanoid.Health - dmg
  1108. StatLabel("Normal", body[part].CFrame * CF(0, 0 + (body[part].Size.z - 1), 0), dmg, C3(0, 0, 0))
  1109. end
  1110. local defence = Instance.new("BoolValue",v)
  1111. defence.Name = ("HitBy"..Player.Name)
  1112. game:GetService("Debris"):AddItem(defence, 0.5)
  1113. end
  1114. else
  1115. if beserk == true then
  1116. v.Humanoid.Health = 0
  1117. end
  1118. if math.random(1,100) < critrate+1 then
  1119. v.Humanoid.Health = v.Humanoid.Health - dmg*critmultiplier
  1120. StatLabel("Normal", body[part].CFrame * CF(0, 0 + (body[part].Size.z - 1), 0), "CRIT/"..dmg*critmultiplier, C3(255/255, 0, 0))
  1121. else
  1122. v.Humanoid.Health = v.Humanoid.Health - dmg
  1123. StatLabel("Normal", body[part].CFrame * CF(0, 0 + (body[part].Size.z - 1), 0), dmg, C3(0, 0, 0))
  1124. end
  1125. local defence = Instance.new("BoolValue",v)
  1126. defence.Name = ("HitBy"..Player.Name)
  1127. game:GetService("Debris"):AddItem(defence, 0.5)
  1128. end
  1129. end
  1130. end
  1131. end
  1132. body[part].Velocity = CFrame.new(position,body[part].Position).lookVector*5*maxstrength
  1133. end
  1134. end
  1135. end
  1136. if v.ClassName == "Part" then
  1137. if v.Anchored == false and (v.Position - position).Magnitude < radius then
  1138. v.Velocity = CFrame.new(position,v.Position).lookVector*5*maxstrength
  1139. end
  1140. end
  1141. end
  1142. end
  1143. end
  1144. function killnearest(position,range,maxstrength)
  1145. for i,v in ipairs(workspace:GetChildren()) do
  1146. local body = v:GetChildren()
  1147. for part = 1, #body do
  1148. if((body[part].ClassName == "Part" or body[part].ClassName == "MeshPart") and v ~= Character) then
  1149. if(body[part].Position - position).Magnitude < range then
  1150. if v.ClassName == "Model" then
  1151. v:BreakJoints()
  1152. end
  1153. --table.insert(Effects2,{body[part],"Disappear",0.02,2,2,2,2})
  1154. body[part].Velocity = CFrame.new(position,body[part].Position).lookVector*5*maxstrength
  1155. end
  1156. end
  1157. end
  1158. if v.ClassName == "Part" then
  1159. if v.Anchored == false and (v.Position - position).Magnitude < range then
  1160. --table.insert(Effects2,{v,"Disappear",0.02,2,2,2,2})
  1161. v.Velocity = CFrame.new(position,v.Position).lookVector*5*maxstrength
  1162. end
  1163. end
  1164. end
  1165. end
  1166.  
  1167. local EyeSizes={
  1168. NumberSequenceKeypoint.new(0,1.2,0),
  1169. NumberSequenceKeypoint.new(1,0,0)
  1170. }
  1171. local EyeTrans={
  1172. NumberSequenceKeypoint.new(0,0.8,0),
  1173. NumberSequenceKeypoint.new(1,1,0)
  1174. }
  1175. local PE=Instance.new("ParticleEmitter")
  1176. PE.LightEmission=0
  1177. PE.Size=NumberSequence.new(EyeSizes)
  1178. PE.Transparency=NumberSequence.new(EyeTrans)
  1179. PE.Lifetime=NumberRange.new(0.35,0.35,0.35)
  1180. PE.Rotation=NumberRange.new(0,360)
  1181. PE.Rate=999
  1182. PE.Acceleration = Vector3.new(0,0,0)
  1183. PE.Drag = 5
  1184. PE.LockedToPart = false
  1185. PE.Speed = NumberRange.new(0,0,0)
  1186. PE.Rotation = NumberRange.new(-100, 100)
  1187. PE.RotSpeed = NumberRange.new(-100, 100)
  1188. PE.Texture="http://www.roblox.com/asset/?id=669492379"
  1189. PE.Color = ColorSequence.new(Color3.new(170, 0, 170))
  1190. PE.ZOffset = 0
  1191. PE.Name = "Reign"
  1192. PE.Enabled = false
  1193. PE.VelocitySpread = 10000
  1194. function particles(art)
  1195. local o = PE:Clone()
  1196. o.Parent = art
  1197. o.Enabled = true
  1198. return o
  1199. end
  1200. function Shot()
  1201. ATTACK = true
  1202. Rooted = false
  1203. for i=0, 0.4, 0.1 / Animation_Speed do
  1204. Swait()
  1205. turnto(Mouse.Hit.p)
  1206. RootJoint.C0 = Clerp(RootJoint.C0,ROOTC0 * CF(0, 0, 0) * ANGLES(RAD(0), RAD(0), RAD(90)), 0.5 / Animation_Speed)
  1207. Neck.C0 = Clerp(Neck.C0, NECKC0 * CF(0, 0, 0) * ANGLES(RAD(0), RAD(0), RAD(-90)), 0.5 / Animation_Speed)
  1208. RightShoulder.C0 = Clerp(RightShoulder.C0, CF(1.5, 0.5, 0) * ANGLES(RAD(90), RAD(0), RAD(90)) * RIGHTSHOULDERC0, 0.5 / Animation_Speed)
  1209. LeftShoulder.C0 = Clerp(LeftShoulder.C0, CF(-1.5, 0.6, 0) * ANGLES(RAD(-45), RAD(0), RAD(45)) * LEFTSHOULDERC0, 0.5 / Animation_Speed)
  1210. 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)
  1211. 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)
  1212. end
  1213. repeat
  1214. for i=0, 0.2, 0.1 / Animation_Speed do
  1215. Swait()
  1216. turnto(Mouse.Hit.p)
  1217. RootJoint.C0 = Clerp(RootJoint.C0,ROOTC0 * CF(0, 0, 0) * ANGLES(RAD(0), RAD(0), RAD(90)), 0.5 / Animation_Speed)
  1218. Neck.C0 = Clerp(Neck.C0, NECKC0 * CF(0, 0, 0) * ANGLES(RAD(0), RAD(0), RAD(-90)), 0.5 / Animation_Speed)
  1219. RightShoulder.C0 = Clerp(RightShoulder.C0, CF(1.5, 0.5, 0) * ANGLES(RAD(90), RAD(0), RAD(90)) * RIGHTSHOULDERC0, 0.5 / Animation_Speed)
  1220. LeftShoulder.C0 = Clerp(LeftShoulder.C0, CF(-1.5, 0.6, 0) * ANGLES(RAD(-45), RAD(0), RAD(45)) * LEFTSHOULDERC0, 0.5 / Animation_Speed)
  1221. 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)
  1222. 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)
  1223. end
  1224. local HIT,POS = CastProperRay(Hole.Position, Mouse.Hit.p, 1000, Character)
  1225. SpawnTrail(Hole.Position,POS)
  1226. if HIT ~= nil then
  1227. if HIT.Parent ~= workspace and HIT.Parent.ClassName ~= "Folder" then
  1228. Banish(HIT.Parent)
  1229. end
  1230. end
  1231. 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})
  1232. 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 = 904440937, SoundPitch = MRANDOM(8,11)/10, SoundVolume = 8})
  1233. 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})
  1234. 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})
  1235. for i=0, 0.3, 0.1 / Animation_Speed do
  1236. Swait()
  1237. RootJoint.C0 = Clerp(RootJoint.C0,ROOTC0 * CF(0, 0, 0) * ANGLES(RAD(0), RAD(0), RAD(90)), 0.5 / Animation_Speed)
  1238. Neck.C0 = Clerp(Neck.C0, NECKC0 * CF(0, 0, 0) * ANGLES(RAD(0), RAD(0), RAD(-90)), 0.25 / Animation_Speed)
  1239. RightShoulder.C0 = Clerp(RightShoulder.C0, CF(1.5, 0.5, 0) * ANGLES(RAD(90), RAD(15), RAD(90)) * RIGHTSHOULDERC0, 0.5 / Animation_Speed)
  1240. LeftShoulder.C0 = Clerp(LeftShoulder.C0, CF(-1.5, 0.6, 0) * ANGLES(RAD(-45), RAD(0), RAD(45)) * LEFTSHOULDERC0, 0.5 / Animation_Speed)
  1241. 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)
  1242. 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)
  1243. end
  1244. until KEYHOLD == false
  1245. ATTACK = false
  1246. Rooted = false
  1247. end
  1248. function Sinnerwave()
  1249. ATTACK = true
  1250. Rooted = true
  1251. for i=0, 2, 0.1 / Animation_Speed do
  1252. Swait()
  1253. Rooted = true
  1254. RootJoint.C0 = Clerp(RootJoint.C0,ROOTC0 * CF(0 * Player_Size, 0.35 * Player_Size, 0 * Player_Size + 0.05 * COS(SINE / 12) * Player_Size) * ANGLES(RAD(-5), RAD(0), RAD(0)), 0.15 / Animation_Speed)
  1255. Neck.C0 = Clerp(Neck.C0, NECKC0 * CF(0 * Player_Size, 0 * Player_Size, 0 + ((1 * Player_Size) - 1)) * ANGLES(RAD(5), RAD(0), RAD(0)), 0.15 / Animation_Speed)
  1256. RightShoulder.C0 = Clerp(RightShoulder.C0, CF(1.5 * Player_Size, 0.5 * Player_Size, 0.5 * Player_Size) * ANGLES(RAD(90), RAD(0), RAD(0)) * RIGHTSHOULDERC0, 0.15 / Animation_Speed)
  1257. LeftShoulder.C0 = Clerp(LeftShoulder.C0, CF(-1.5 * Player_Size, 0.5 * Player_Size, 0.5 * Player_Size) * ANGLES(RAD(90), RAD(0), RAD(0)) * LEFTSHOULDERC0, 0.15 / Animation_Speed)
  1258. RightHip.C0 = Clerp(RightHip.C0, CF(1 * Player_Size, -1 * Player_Size, -0 * Player_Size) * ANGLES(RAD(0), RAD(90), RAD(15)) * ANGLES(RAD(0), RAD(0), RAD(0)), 0.15 / Animation_Speed)
  1259. LeftHip.C0 = Clerp(LeftHip.C0, CF(-1 * Player_Size, -1 * Player_Size, -0 * Player_Size) * ANGLES(RAD(0), RAD(-90), RAD(-5)) * ANGLES(RAD(0), RAD(0), RAD(0)), 0.15 / Animation_Speed)
  1260. end
  1261. Rooted = true
  1262. local Animation_Speed2 = Animation_Speed/2
  1263. for i=0, 1, 0.1 / Animation_Speed2 do
  1264. Swait()
  1265. Rooted = true
  1266. RootJoint.C0 = Clerp(RootJoint.C0,ROOTC0 * CF(0 * Player_Size, -0.35 * Player_Size, 0 * Player_Size + 0.05 * COS(SINE / 12) * Player_Size) * ANGLES(RAD(5), RAD(0), RAD(0)), 0.15 / Animation_Speed2)
  1267. Neck.C0 = Clerp(Neck.C0, NECKC0 * CF(0 * Player_Size, 0 * Player_Size, 0 + ((1 * Player_Size) - 1)) * ANGLES(RAD(-5), RAD(0), RAD(0)), 0.15 / Animation_Speed2)
  1268. RightShoulder.C0 = Clerp(RightShoulder.C0, CF(1.5 * Player_Size, 0.5 * Player_Size, -0.5 * Player_Size) * ANGLES(RAD(90), RAD(0), RAD(0)) * RIGHTSHOULDERC0, 0.15 / Animation_Speed2)
  1269. LeftShoulder.C0 = Clerp(LeftShoulder.C0, CF(-1.5 * Player_Size, 0.5 * Player_Size, -0.5 * Player_Size) * ANGLES(RAD(90), RAD(0), RAD(0)) * LEFTSHOULDERC0, 0.15 / Animation_Speed2)
  1270. RightHip.C0 = Clerp(RightHip.C0, CF(1 * Player_Size, -1 * Player_Size, -0 * Player_Size) * ANGLES(RAD(0), RAD(90), RAD(-15)) * ANGLES(RAD(0), RAD(0), RAD(0)), 0.15 / Animation_Speed2)
  1271. LeftHip.C0 = Clerp(LeftHip.C0, CF(-1 * Player_Size, -1 * Player_Size, -0 * Player_Size) * ANGLES(RAD(0), RAD(-90), RAD(5)) * ANGLES(RAD(0), RAD(0), RAD(0)), 0.15 / Animation_Speed2)
  1272. end
  1273. CreateWave(0,4,true,0.2,45,RootPart,-5)
  1274. CreateWave(0,4.5,true,-0.2,40,RootPart,-5)
  1275. CreateWave(0,5,true,0.2,35,RootPart,-5)
  1276. CreateWave(0,5.5,true,-0.2,30,RootPart,-5)
  1277. CreateWave(0,6,true,0.2,25,RootPart,-5)
  1278. CreateSound("971126018", Torso, 2, 1)
  1279. coroutine.resume(coroutine.create(function()
  1280. local RayHit, RayPos = RayCast(Torso.Position, Vector3.new(0, -1, 0), (10000), {Character})
  1281. local SpawnPosition = RayPos
  1282. local floor = RayHit
  1283. local needcframe = RootPart.CFrame
  1284. local LastPosition = RootPart.Position
  1285. local Delay = 1
  1286. for i = 1, 6 do
  1287. local RayHit, RayPos = RayCast(LastPosition, needcframe.lookVector, 10, {workspace})
  1288. local End = RayPos
  1289. LastPosition = End
  1290. local locatepart = Instance.new("Part",Effects)
  1291. locatepart.Size = VT(0.5,0.5,0.5)
  1292. locatepart.Position = End
  1293. locatepart.CanCollide = false
  1294. locatepart.Anchored = true
  1295. locatepart.Transparency = 1
  1296. if SpawnPosition then
  1297. if i ~= 6 then
  1298. CreateSound("971125740", locatepart, 7, 1)
  1299. AoEDamage(End,15,25,30,15,false,5,3,false)
  1300. CreateWave(0,2.5,true,-0.05,25,locatepart,-2)
  1301. CreateWave(0,2,true,0.05,25,locatepart,-2)
  1302. CreateWave(0,1.5,true,-0.05,25,locatepart,-2)
  1303. CreateWave(0,1,true,0.05,25,locatepart,-2)
  1304. else
  1305. CreateRing(0,15,true,-0.2,35,locatepart,0,0.3,0.3)
  1306. CreateRing(0,12.5,true,0.2,35,locatepart,0,0.3,-0.3)
  1307. CreateRing(0,10,true,-0.2,35,locatepart,0,-0.3,0.3)
  1308. CreateRing(0,7.5,true,0.2,35,locatepart,0,-0.3,-0.3)
  1309. CreatePentagram(85,true,-0.05,75,CF(End),0)
  1310. CreateSound("971125740", locatepart, 7, 0.5)
  1311. AoEDamage(End,25,45,60,15,false,5,3,false)
  1312. CreateWave(0,6.5,true,-0.05,45,locatepart,-2)
  1313. CreateWave(0,6,true,0.05,45,locatepart,-2)
  1314. CreateWave(0,5.5,true,-0.05,45,locatepart,-2)
  1315. CreateWave(0,5,true,0.05,45,locatepart,-2)
  1316. local particle = particles(locatepart)
  1317. particle.Enabled = false
  1318. particle.Drag = 1
  1319. particle.Lifetime=NumberRange.new(2.35,2.35,2.35)
  1320. particle.Speed = NumberRange.new(25,25,25)
  1321. particle:Emit(250)
  1322. end
  1323. end
  1324. Swait(5)
  1325. game:GetService("Debris"):AddItem(locatepart, 5)
  1326. end
  1327. end))
  1328. Swait(50)
  1329. ATTACK = false
  1330. Rooted = false
  1331. end
  1332. function CreateDebreeRing(FLOOR,POSITION,SIZE,BLOCKSIZE,SWAIT)
  1333. if FLOOR ~= nil then
  1334. coroutine.resume(coroutine.create(function()
  1335. local PART = CreatePart(3, Effects, "Plastic", 0, 1, "Pearl", "DebreeCenter", VT(0,0,0))
  1336. PART.CFrame = CF(POSITION)
  1337. for i = 1, 45 do
  1338. local RingPiece = CreatePart(3, Effects, "Plastic", 0, 0, "Pearl", "DebreePart", BLOCKSIZE)
  1339. RingPiece.Material = FLOOR.Material
  1340. RingPiece.Color = FLOOR.Color
  1341. 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)))
  1342. Debris:AddItem(RingPiece,SWAIT)
  1343. end
  1344. PART:remove()
  1345. end))
  1346. end
  1347. end
  1348.  
  1349. function CreateFlyingDebree(FLOOR,POSITION,AMOUNT,BLOCKSIZE,SWAIT,STRENGTH)
  1350. if FLOOR ~= nil then
  1351. for i = 1, AMOUNT do
  1352. local DEBREE = CreatePart(3, Effects, "Neon", FLOOR.Reflectance, FLOOR.Transparency, "Peal", "Debree", BLOCKSIZE, false)
  1353. DEBREE.Material = FLOOR.Material
  1354. DEBREE.Color = FLOOR.Color
  1355. DEBREE.CFrame = POSITION * ANGLES(RAD(MRANDOM(-360,360)),RAD(MRANDOM(-360,360)),RAD(MRANDOM(-360,360)))
  1356. DEBREE.Velocity = VT(MRANDOM(-STRENGTH,STRENGTH),MRANDOM(-STRENGTH,STRENGTH),MRANDOM(-STRENGTH,STRENGTH))
  1357. coroutine.resume(coroutine.create(function()
  1358. Swait(15)
  1359. DEBREE.Parent = workspace
  1360. DEBREE.CanCollide = true
  1361. Debris:AddItem(DEBREE,SWAIT)
  1362. end))
  1363. end
  1364. end
  1365. end
  1366.  
  1367. function SpawnSmite(POS)
  1368. local HITFLOOR,HITPOS = Raycast(POS+VT(0,1,0), (CF(POS, POS + VT(0, -1, 0))).lookVector, 100, Character)
  1369. local EMITPOS = HITPOS
  1370. if HITFLOOR ~= nil then
  1371. if HITFLOOR.Parent:FindFirstChildOfClass("Humanoid") then
  1372. HITFLOOR,HITPOS = Raycast(POS+VT(0,1,0), (CF(POS, POS + VT(0, -1, 0))).lookVector, 100, HITFLOOR.Parent)
  1373. EMITPOS = HITPOS
  1374. elseif HITFLOOR.Parent.Parent:FindFirstChildOfClass("Humanoid") then
  1375. HITFLOOR,HITPOS = Raycast(POS+VT(0,1,0), (CF(POS, POS + VT(0, -1, 0))).lookVector, 100, HITFLOOR.Parent.Parent)
  1376. EMITPOS = HITPOS
  1377. end
  1378. end
  1379. if HITFLOOR ~= nil then
  1380. ApplyAoE(EMITPOS,10)
  1381. 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})
  1382. 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})
  1383. 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})
  1384. for i = 1, 5 do
  1385. local TOPOS = CF(EMITPOS)*ANGLES(RAD(MRANDOM(0,360)),RAD(MRANDOM(0,360)),RAD(MRANDOM(0,360)))*CF(0,0,12)
  1386. 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})
  1387. end
  1388. end
  1389. end
  1390. function SpawnMeteor(POS,SIZE,ISDEBREE,ORIPOS)
  1391. coroutine.resume(coroutine.create(function()
  1392. local METEOR = IT("Model",Effects)
  1393. METEOR.Name = "Meteorite"
  1394. local CENTER = CreatePart(3, METEOR, "Granite", 0, 0, "Really black", "MeteorCenter", VT(5,5,5)*SIZE)
  1395. METEOR.PrimaryPart = CENTER
  1396. local PRT = CreatePart(3, METEOR, "Granite", 0, 0, "Really black", "MeteorCenter", VT(5,5,5)*SIZE)
  1397. PRT.CFrame = CENTER.CFrame*ANGLES(RAD(MRANDOM(0,360)),RAD(MRANDOM(0,360)),RAD(MRANDOM(0,360)))
  1398. for i = 1, 15 do
  1399. local FIRE = CreatePart(3, METEOR, "Neon", 0, 0, "Really red", "Fire", VT(5.1,1,5.1)*SIZE)
  1400. FIRE.CFrame = CENTER.CFrame*ANGLES(RAD(MRANDOM(0,360)),RAD(MRANDOM(0,360)),RAD(MRANDOM(0,360)))
  1401. end
  1402. if ISDEBREE ~= true then
  1403. 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))))
  1404. else
  1405. METEOR:SetPrimaryPartCFrame(CF(ORIPOS,POS) * ANGLES(RAD(MRANDOM(0,360)),RAD(MRANDOM(0,360)),RAD(MRANDOM(0,360))))
  1406. end
  1407. local IMPACT = false
  1408. CreateSound(463593339, CENTER, 10, 0.6)
  1409. if SIZE >= 3.5 then
  1410. for i = 1, MRANDOM(3,7) do
  1411. 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)
  1412. end
  1413. end
  1414. for i = 1, 200 do
  1415. Swait()
  1416. local HITFLOOR,HITPOS = Raycast(CENTER.Position, CF(CENTER.Position,POS).lookVector, 3, Character)
  1417. if HITFLOOR == nil then
  1418. local ORI = CENTER.Orientation
  1419. METEOR:SetPrimaryPartCFrame(CF(HITPOS) * ANGLES(RAD(MRANDOM(0,360)),RAD(MRANDOM(0,360)),RAD(MRANDOM(0,360))))
  1420. else
  1421. if HITFLOOR.Anchored == true then
  1422. CreateDebreeRing(HITFLOOR,HITPOS,30*SIZE,VT(6,6,6)*SIZE,5)
  1423. CreateFlyingDebree(HITFLOOR,CF(HITPOS),8,VT(4,4,4)*SIZE,5,175)
  1424. end
  1425. IMPACT = true
  1426. break
  1427. end
  1428. end
  1429. if IMPACT == true then
  1430. 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})
  1431. 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})
  1432. 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})
  1433. ApplyAoE(CENTER.Position,30*SIZE)
  1434. end
  1435. METEOR:remove()
  1436. end))
  1437. end
  1438.  
  1439. function Deathbound()
  1440. CreateSound(LAUGHS[MRANDOM(1,#LAUGHS)], Torso, 10, 1, false)
  1441. ATTACK = true
  1442. Rooted = true
  1443. for i=0, 1, 0.1 / Animation_Speed do
  1444. Swait()
  1445. RootJoint.C0 = Clerp(RootJoint.C0,ROOTC0 * CF(0, 0, 1 + 0.25 * COS(SINE / 12)) * ANGLES(RAD(0), RAD(0), RAD(0)), 1 / Animation_Speed)
  1446. Neck.C0 = Clerp(Neck.C0, NECKC0 * CF(0, 0, 0 + ((1) - 1)) * ANGLES(RAD(15 - 2.5 * SIN(SINE / 12)), RAD(0), RAD(0)), 1 / Animation_Speed)
  1447. RightShoulder.C0 = Clerp(RightShoulder.C0, CF(1.5, 1, 0) * ANGLES(RAD(15), RAD(0), RAD(12)) * RIGHTSHOULDERC0, 1 / Animation_Speed)
  1448. LeftShoulder.C0 = Clerp(LeftShoulder.C0, CF(-1.5, 1, 0) * ANGLES(RAD(15), RAD(0), RAD(-12)) * LEFTSHOULDERC0, 1 / Animation_Speed)
  1449. RightHip.C0 = Clerp(RightHip.C0, CF(1, -1, -0.01) * ANGLES(RAD(-35-2.5 * SIN(SINE / 12)), RAD(75), RAD(0)) * ANGLES(RAD(-8 - 2.5 * SIN(SINE / 12)), RAD(0), RAD(0)), 1 / Animation_Speed)
  1450. LeftHip.C0 = Clerp(LeftHip.C0, CF(-1, -0.5, -0.5) * ANGLES(RAD(-35-2.5 * SIN(SINE / 12)), RAD(-90), RAD(0)) * ANGLES(RAD(-8 - 2.5 * SIN(SINE / 12)), RAD(0), RAD(0)), 1 / Animation_Speed)
  1451. end
  1452. local DONE = false
  1453. local GATE = nil
  1454. local GATESPIN = true
  1455. coroutine.resume(coroutine.create(function()
  1456. repeat
  1457. Swait()
  1458. if GATE ~= nil then
  1459. GATE.CFrame = GATE.CFrame * ANGLES(RAD(0), RAD(-3), RAD(0))
  1460. end
  1461. until GATESPIN == false
  1462. end))
  1463. coroutine.resume(coroutine.create(function()
  1464. repeat
  1465. Swait()
  1466. RootJoint.C0 = Clerp(RootJoint.C0,ROOTC0 * CF(0, 0, 0.2 - 0.25 * COS(SINE / 12)) * ANGLES(RAD(15), RAD(0), RAD(0)), 1 / Animation_Speed)
  1467. Neck.C0 = Clerp(Neck.C0, NECKC0 * CF(0, 0, 0 + ((1) - 1)) * ANGLES(RAD(5 - 2.5 * SIN(SINE / 12)), RAD(0), RAD(0)), 1 / Animation_Speed)
  1468. RightShoulder.C0 = Clerp(RightShoulder.C0, CF(1.5, 0.5 + 0.25 * COS(SINE / 12), 0) * ANGLES(RAD(15), RAD(0), RAD(5)) * RIGHTSHOULDERC0, 1 / Animation_Speed)
  1469. LeftShoulder.C0 = Clerp(LeftShoulder.C0, CF(-1.5, 0.5 + 0.25 * COS(SINE / 12), 0) * ANGLES(RAD(15), RAD(0), RAD(-5)) * LEFTSHOULDERC0, 1 / Animation_Speed)
  1470. RightHip.C0 = Clerp(RightHip.C0, CF(1, -1, -0.01) * ANGLES(RAD(-35-2.5 * SIN(SINE / 12)), RAD(75), RAD(0)) * ANGLES(RAD(-8 - 2.5 * SIN(SINE / 12)), RAD(0), RAD(0)), 1 / Animation_Speed)
  1471. LeftHip.C0 = Clerp(LeftHip.C0, CF(-1, -0.5, -0.5) * ANGLES(RAD(-35-2.5 * SIN(SINE / 12)), RAD(-90), RAD(0)) * ANGLES(RAD(-8 - 2.5 * SIN(SINE / 12)), RAD(0), RAD(0)), 1 / Animation_Speed)
  1472. until DONE == true
  1473. Swait(50)
  1474. for i = 1, 35 do
  1475. Swait(4)
  1476. local FIRED = false
  1477. local CHILDREN = workspace:GetDescendants()
  1478. for index, CHILD in pairs(CHILDREN) do
  1479. if CHILD.ClassName == "Model" and CHILD ~= Character then
  1480. local HUM = CHILD:FindFirstChildOfClass("Humanoid")
  1481. if HUM then
  1482. local TORSO = CHILD:FindFirstChild("Torso") or CHILD:FindFirstChild("UpperTorso")
  1483. if TORSO then
  1484. if (TORSO.Position - GATE.Position).Magnitude <= GATE.Size.X/2.5 + TORSO.Size.Magnitude/5 then
  1485. local HITFLOOR,HITPOS = Raycast(TORSO.Position, (CF(TORSO.Position, TORSO.Position + VT(0, -1, 0))).lookVector, 15, Character)
  1486. local CFRAME = CF(HITPOS)*ANGLES(RAD(MRANDOM(-15,15)),RAD(MRANDOM(-15,15)),RAD(MRANDOM(-15,15)))
  1487. WACKYEFFECT({Time = 25, EffectType = "Wave", Size = VT(0.3,0,0.3), Size2 = VT(1,1.5,1), Transparency = 0, Transparency2 = 1, CFrame = CFRAME, MoveToPos = CFRAME*CF(0,0.5,0).p, RotationX = 0, RotationY = -15, RotationZ = 0, Material = "Neon", Color = C3(1,0,0), SoundID = 145080998, SoundPitch = 1.5, SoundVolume = 6})
  1488. WACKYEFFECT({Time = 25, EffectType = "Wave", Size = VT(0.3,0,0.3), Size2 = VT(2,0.5,2), Transparency = 0, Transparency2 = 1, CFrame = CFRAME, MoveToPos = nil, RotationX = 0, RotationY = -15, RotationZ = 0, Material = "Neon", Color = C3(1,0,0), SoundID = nil, SoundPitch = nil, SoundVolume = nil})
  1489. SpawnTrail(CFRAME.p,CFRAME*CF(0,1000,0).p)
  1490. Banish(CHILD)
  1491. FIRED = true
  1492. break
  1493. end
  1494. end
  1495. end
  1496. end
  1497. end
  1498. if FIRED == false then
  1499. local CFRAME = GATE.CFrame*ANGLES(RAD(0),RAD(MRANDOM(0,360)),RAD(0))*CF(0,0,MRANDOM(2,math.ceil(GATE.Size.X/2.5)))*ANGLES(RAD(MRANDOM(-15,15)),RAD(MRANDOM(-15,15)),RAD(MRANDOM(-15,15)))
  1500. WACKYEFFECT({Time = 25, EffectType = "Wave", Size = VT(0.3,0,0.3), Size2 = VT(1,1.5,1), Transparency = 0, Transparency2 = 1, CFrame = CFRAME, MoveToPos = CFRAME*CF(0,0.5,0).p, RotationX = 0, RotationY = -15, RotationZ = 0, Material = "Neon", Color = C3(1,0,0), SoundID = 145080998, SoundPitch = 1.5, SoundVolume = 6})
  1501. WACKYEFFECT({Time = 25, EffectType = "Wave", Size = VT(0.3,0,0.3), Size2 = VT(2,0.5,2), Transparency = 0, Transparency2 = 1, CFrame = CFRAME, MoveToPos = nil, RotationX = 0, RotationY = -15, RotationZ = 0, Material = "Neon", Color = C3(1,0,0), SoundID = nil, SoundPitch = nil, SoundVolume = nil})
  1502. SpawnTrail(CFRAME.p,CFRAME*CF(0,1000,0).p)
  1503. local HITBOD = Raycast(CFRAME.p, (CF(CFRAME.p, CFRAME.p + VT(0, 1, 0))).lookVector, 1000, Character)
  1504. if HITBOD ~= nil then
  1505. if HITBOD.Parent:FindFirstChildOfClass("Humanoid") then
  1506. Banish(HITBOD.Parent)
  1507. end
  1508. end
  1509. end
  1510. end
  1511. for i = 1, 45 do
  1512. Swait()
  1513. GATE.Size = GATE.Size - VT(3,0,3)
  1514. end
  1515. GATESPIN = false
  1516. GATE:remove()
  1517. end))
  1518. Swait(15)
  1519. local HITFLOOR,HITPOS = Raycast(RootPart.Position, (CF(RootPart.Position, RootPart.Position + VT(0, -1, 0))).lookVector, 15, Character)
  1520. GATE = CreatePart(3, Effects, "Neon", 0, 1, "Really red", "Gate", VT(0,0,0))
  1521. local DECAL = IT("Decal",GATE)
  1522. DECAL.Texture = "http://www.roblox.com/asset/?id=1526406096"
  1523. DECAL.Face = "Top"
  1524. GATE.CFrame = CF(HITPOS)
  1525. CreateSound(160772554, GATE, 7, 1.3, false)
  1526. for i = 1, 45 do
  1527. Swait()
  1528. GATE.Size = GATE.Size + VT(3,0,3)
  1529. end
  1530. CreateSound(145080998, Handle, 7, 1, false)
  1531. CreateSound(145080998, Handle, 7, 1, false)
  1532. WACKYEFFECT({Time = 25, EffectType = "Wave", Size = VT(0.3,0,0.3), Size2 = VT(2,2,2), Transparency = 0, Transparency2 = 1, CFrame = Handle.CFrame*CF(0,-1,0) * ANGLES(RAD(180), RAD(0), RAD(0)), MoveToPos = nil, RotationX = 0, RotationY = -5, RotationZ = 0, Material = "Neon", Color = C3(1,0,0), SoundID = nil, SoundPitch = nil, SoundVolume = nil})
  1533. WACKYEFFECT({Time = 25, EffectType = "Wave", Size = VT(0.3,0,0.3), Size2 = VT(2,2,2), Transparency = 0, Transparency2 = 1, CFrame = Handle.CFrame*CF(0,-1,0) * ANGLES(RAD(180), RAD(0), RAD(0)), MoveToPos = nil, RotationX = 0, RotationY = 5, RotationZ = 0, Material = "Neon", Color = C3(1,0,0), SoundID = nil, SoundPitch = nil, SoundVolume = nil})
  1534. ATTACK = false
  1535. Rooted = false
  1536. DONE = true
  1537. end
  1538. function AttackTemplate()
  1539. ATTACK = true
  1540. Rooted = false
  1541. for i=0, 1, 0.1 / Animation_Speed do
  1542. Swait()
  1543. 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)
  1544. 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)
  1545. RightShoulder.C0 = Clerp(RightShoulder.C0, CF(1.5, 0.5, 0) * ANGLES(RAD(0), RAD(0), RAD(12)) * RIGHTSHOULDERC0, 0.15 / Animation_Speed)
  1546. LeftShoulder.C0 = Clerp(LeftShoulder.C0, CF(-1.5, 0.5, 0) * ANGLES(RAD(0), RAD(0), RAD(-12)) * LEFTSHOULDERC0, 0.15 / Animation_Speed)
  1547. 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)
  1548. 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)
  1549. end
  1550. ATTACK = false
  1551. Rooted = false
  1552. end
  1553. function Smite()
  1554. ATTACK = true
  1555. Rooted = false
  1556. CreateSound(1368573150, RightArm, 3, 1.5)
  1557. for i=0, 0.6, 0.1 / Animation_Speed do
  1558. Swait()
  1559. WACKYEFFECT({TIME = 15, EffectType = "Block", Size = VT(3,3,3)/3, Size2 = VT(1,1,1)/3, Transparency = 0.5, Transparency2 = 1, CFrame = RightArm.CFrame*CF(0,-1.3,0), MoveToPos = nil, RotationX = 0, RotationY = 0, RotationZ = 0, Material = "Neon", Color = C3(1,0,0), SoundID = nil, SoundPitch = 1, SoundVolume = 5})
  1560. Neck.C0 = Clerp(Neck.C0, NECKC0 * CF(0, 0, 0 + ((1) - 1)) * ANGLES(RAD(-15 - 2.5 * SIN(SINE / 12)), RAD(0), RAD(0)), 1 / Animation_Speed)
  1561. RightShoulder.C0 = Clerp(RightShoulder.C0, CF(1.6, 0.75, -0.5) * ANGLES(RAD(0), RAD(-45), RAD(12)) * ANGLES(RAD(125 - 2.5 * COS(SINE / 12) + 2.5 * SIN(SINE / 12)), RAD(0), RAD(0)) * RIGHTSHOULDERC0, 2.5 / Animation_Speed)
  1562. end
  1563. local POWER = 0
  1564. repeat
  1565. Swait()
  1566. WACKYEFFECT({EffectType = "Block", Size = VT(3,3,3)/3, Size2 = VT(1,1,1)/3, Transparency = 0.5, Transparency2 = 1, CFrame = RightArm.CFrame*CF(0,-1.3,0), MoveToPos = nil, RotationX = 0, RotationY = 0, RotationZ = 0, Material = "Neon", Color = C3(1,0,0), SoundID = nil, SoundPitch = 1, SoundVolume = 5})
  1567. Neck.C0 = Clerp(Neck.C0, NECKC0 * CF(0, 0, 0 + ((1) - 1)) * ANGLES(RAD(-15 - 2.5 * SIN(SINE / 12)), RAD(0), RAD(0)), 1 / Animation_Speed)
  1568. RightShoulder.C0 = Clerp(RightShoulder.C0, CF(1.6, 0.75, -0.5) * ANGLES(RAD(0), RAD(-45), RAD(12)) * ANGLES(RAD(125 - 2.5 * COS(SINE / 12) + 2.5 * SIN(SINE / 12)), RAD(0), RAD(0)) * RIGHTSHOULDERC0, 2.5 / Animation_Speed)
  1569. POWER = POWER + 0.5
  1570. if POWER >= 85 then
  1571. POWER = 85
  1572. end
  1573. until KEYHOLD == false
  1574. if POWER < 0.6 then
  1575. SpawnSmite(Mouse.Hit.p)
  1576. else
  1577. if POWER < 15 then
  1578. POWER = 15
  1579. end
  1580. SpawnMeteor(Mouse.Hit.p,POWER/15)
  1581. end
  1582. ATTACK = false
  1583. Rooted = false
  1584. end
  1585. function Taunt()
  1586. ATTACK = true
  1587. Rooted = false
  1588. local TAUNT = true
  1589. for i=0, 0.1, 0.1 / Animation_Speed do
  1590. Swait()
  1591. Neck.C0 = Clerp(Neck.C0, NECKC0 * CF(0, 0, 0 + ((1) - 1)) * ANGLES(RAD(5 - 2.5), RAD(0), RAD(0)), 0.15 / Animation_Speed)
  1592. RightShoulder.C0 = Clerp(RightShoulder.C0, CF(1.5, 0.5, 0) * ANGLES(RAD(0), RAD(0), RAD(12)) * RIGHTSHOULDERC0, 2 / Animation_Speed)
  1593. LeftShoulder.C0 = Clerp(LeftShoulder.C0, CF(-1.5, 0.5, 0) * ANGLES(RAD(0), RAD(0), RAD(-12)) * LEFTSHOULDERC0, 2 / Animation_Speed)
  1594. end
  1595. for i=0, 3, 0.1 / Animation_Speed do
  1596. Swait()
  1597. Neck.C0 = Clerp(Neck.C0, NECKC0 * CF(0, 0, 0 + ((1) - 1)) * ANGLES(RAD(5 - 2.5), RAD(0), RAD(0)), 0.15 / Animation_Speed)
  1598. RightShoulder.C0 = Clerp(RightShoulder.C0, CF(1.5, 0.5, 0) * ANGLES(RAD(170), RAD(0), RAD(-15)) * RIGHTSHOULDERC0, 0.15 / Animation_Speed)
  1599. LeftShoulder.C0 = Clerp(LeftShoulder.C0, CF(-1.5, 0.5, 0) * ANGLES(RAD(170), RAD(0), RAD(15)) * LEFTSHOULDERC0, 0.15 / Animation_Speed)
  1600. end
  1601. CreateSound(363808674, Torso, 10, 1.3)
  1602. for i=0, 1, 0.1 / Animation_Speed do
  1603. Swait()
  1604. Neck.C0 = Clerp(Neck.C0, NECKC0 * CF(0, 0, 0 + ((1) - 1)) * ANGLES(RAD(5 - 2.5), RAD(0), RAD(120)), 3 / Animation_Speed)
  1605. RightShoulder.C0 = Clerp(RightShoulder.C0, CF(1.5, 0.5, 0) * ANGLES(RAD(150), RAD(0), RAD(-25)) * RIGHTSHOULDERC0, 3/ Animation_Speed)
  1606. LeftShoulder.C0 = Clerp(LeftShoulder.C0, CF(-1.5, 0.5, 0) * ANGLES(RAD(230), RAD(0), RAD(35)) * LEFTSHOULDERC0, 3 / Animation_Speed)
  1607. end
  1608. WACKYEFFECT({EffectType = "Block", Size = VT(6,6,6), Size2 = VT(15,15,15), Transparency = 0, Transparency2 = 1, CFrame = Torso.CFrame, MoveToPos = nil, RotationX = 0, RotationY = 0, RotationZ = 0, Material = "Neon", Color = C3(1,0,0), SoundID = nil, SoundPitch = 1, SoundVolume = 5})
  1609. CreateSound(649634100, Torso, 10, 0.8)
  1610. for i=0, 0.01, 0.1 / Animation_Speed do
  1611. Swait()
  1612. Neck.C0 = Clerp(Neck.C0, NECKC0 * CF(0, 0, 0 + ((1) - 1)) * ANGLES(RAD(15 - 2.5 * SIN(SINE / 12)), RAD(0), RAD(0)), 3 / Animation_Speed)
  1613. RightShoulder.C0 = Clerp(RightShoulder.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)) * RIGHTSHOULDERC0, 3 / Animation_Speed)
  1614. 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, 3 / Animation_Speed)
  1615. end
  1616. ATTACK = false
  1617. Rooted = false
  1618. TAUNT = false
  1619. end
  1620. --//=================================\\
  1621. --|| ASSIGN THINGS TO KEYS
  1622. --\\=================================//
  1623.  
  1624. function MouseDown(Mouse)
  1625. if ATTACK == false then
  1626. end
  1627. end
  1628.  
  1629. function MouseUp(Mouse)
  1630. HOLD = false
  1631. end
  1632.  
  1633. function KeyDown(Key)
  1634. KEYHOLD = true
  1635. if Key == "z" and ATTACK == false then
  1636. Shot()
  1637. end
  1638.  
  1639. if Key == "b" and ATTACK == false then
  1640. end
  1641.  
  1642. if Key == "c" and ATTACK == false then
  1643. Smite()
  1644. end
  1645.  
  1646. if Key == "v" and ATTACK == false then
  1647. end
  1648.  
  1649. if Key == "t" and ATTACK == false then
  1650. Taunt()
  1651. end
  1652.  
  1653. if Key == "x" and ATTACK == false then
  1654. Deathbound()
  1655. end
  1656. end
  1657.  
  1658. function KeyUp(Key)
  1659. KEYHOLD = false
  1660. end
  1661.  
  1662. Mouse.Button1Down:connect(function(NEWKEY)
  1663. MouseDown(NEWKEY)
  1664. end)
  1665. Mouse.Button1Up:connect(function(NEWKEY)
  1666. MouseUp(NEWKEY)
  1667. end)
  1668. Mouse.KeyDown:connect(function(NEWKEY)
  1669. KeyDown(NEWKEY)
  1670. end)
  1671. Mouse.KeyUp:connect(function(NEWKEY)
  1672. KeyUp(NEWKEY)
  1673. end)
  1674.  
  1675. --//=================================\\
  1676. --\\=================================//
  1677.  
  1678.  
  1679. function unanchor()
  1680. if UNANCHOR == true then
  1681. g = Character:GetChildren()
  1682. for i = 1, #g do
  1683. if g[i].ClassName == "Part" then
  1684. g[i].Anchored = false
  1685. end
  1686. end
  1687. end
  1688. end
  1689.  
  1690.  
  1691. --//=================================\\
  1692. --|| WRAP THE WHOLE SCRIPT UP
  1693. --\\=================================//
  1694.  
  1695. Humanoid.Changed:connect(function(Jump)
  1696. if Jump == "Jump" and (Disable_Jump == true) then
  1697. Humanoid.Jump = false
  1698. end
  1699. end)
  1700.  
  1701. local CONNECT = nil
  1702.  
  1703. while true do
  1704. Swait()
  1705. ANIMATE.Parent = nil
  1706. if Character:FindFirstChildOfClass("Humanoid") == nil then
  1707. Humanoid = IT("Humanoid",Character)
  1708. end
  1709. for _,v in next, Humanoid:GetPlayingAnimationTracks() do
  1710. v:Stop();
  1711. end
  1712. SINE = SINE + CHANGE
  1713. local TORSOVELOCITY = (RootPart.Velocity * VT(1, 0, 1)).magnitude
  1714. local TORSOVERTICALVELOCITY = RootPart.Velocity.y
  1715. local HITFLOOR = Raycast(RootPart.Position, (CF(RootPart.Position, RootPart.Position + VT(0, -1, 0))).lookVector, 4, Character)
  1716. local WALKSPEEDVALUE = 6 / (Humanoid.WalkSpeed / 16)
  1717. if ANIM == "Walk" and TORSOVELOCITY > 1 then
  1718. 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)
  1719. 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)
  1720. 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)
  1721. 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)
  1722. elseif (ANIM ~= "Walk") or (TORSOVELOCITY < 1) then
  1723. RootJoint.C1 = Clerp(RootJoint.C1, ROOTC0 * CF(0, 0, 0) * ANGLES(RAD(0), RAD(0), RAD(0)), 0.2 / Animation_Speed)
  1724. 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)
  1725. 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)
  1726. 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)
  1727. end
  1728. if TORSOVERTICALVELOCITY > 1 and HITFLOOR == nil then
  1729. ANIM = "Jump"
  1730. if ATTACK == false then
  1731. RootJoint.C0 = Clerp(RootJoint.C0, ROOTC0 * CF(0, 0, 0) * ANGLES(RAD(0), RAD(0), RAD(0)), 0.2 / Animation_Speed)
  1732. Neck.C0 = Clerp(Neck.C0, NECKC0 * CF(0, 0, 0 + ((1) - 1)) * ANGLES(RAD(-20), RAD(0), RAD(0)), 0.2 / Animation_Speed)
  1733. RightShoulder.C0 = Clerp(RightShoulder.C0, CF(1.5, 0.5, 0) * ANGLES(RAD(45), RAD(0), RAD(25))* RIGHTSHOULDERC0, 0.15 / Animation_Speed)
  1734. LeftShoulder.C0 = Clerp(LeftShoulder.C0, CF(-1.5, 0.5, 0) * ANGLES(RAD(-40), RAD(0), RAD(-20)) * LEFTSHOULDERC0, 0.2 / Animation_Speed)
  1735. 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)
  1736. 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)
  1737. end
  1738. elseif TORSOVERTICALVELOCITY < -1 and HITFLOOR == nil then
  1739. ANIM = "Fall"
  1740. if ATTACK == false then
  1741. RootJoint.C0 = Clerp(RootJoint.C0, ROOTC0 * CF(0, 0, 0 ) * ANGLES(RAD(0), RAD(0), RAD(0)), 0.2 / Animation_Speed)
  1742. Neck.C0 = Clerp(Neck.C0, NECKC0 * CF(0, 0 , 0 + ((1) - 1)) * ANGLES(RAD(20), RAD(0), RAD(0)), 0.2 / Animation_Speed)
  1743. RightShoulder.C0 = Clerp(RightShoulder.C0, CF(1.5, 0.5, 0) * ANGLES(RAD(45), RAD(0), RAD(25))* RIGHTSHOULDERC0, 0.15 / Animation_Speed)
  1744. LeftShoulder.C0 = Clerp(LeftShoulder.C0, CF(-1.5, 0.5, 0) * ANGLES(RAD(0), RAD(0), RAD(-60)) * LEFTSHOULDERC0, 0.2 / Animation_Speed)
  1745. RightHip.C0 = Clerp(RightHip.C0, CF(1, -1, 0) * ANGLES(RAD(0), RAD(90), RAD(0)) * ANGLES(RAD(0), RAD(0), RAD(20)), 0.2 / Animation_Speed)
  1746. LeftHip.C0 = Clerp(LeftHip.C0, CF(-1, -1, 0) * ANGLES(RAD(0), RAD(-90), RAD(0)) * ANGLES(RAD(0), RAD(0), RAD(10)), 0.2 / Animation_Speed)
  1747. end
  1748. elseif TORSOVELOCITY < 1 and HITFLOOR ~= nil then
  1749. ANIM = "Idle"
  1750. if ATTACK == false then
  1751. RootJoint.C0 = Clerp(RootJoint.C0,ROOTC0 * CF(0, 0, 0 + 0.05 * COS(SINE / 12)) * ANGLES(RAD(0), RAD(0), RAD(-45)), 0.15 / Animation_Speed)
  1752. Neck.C0 = Clerp(Neck.C0, NECKC0 * CF(0, 0, 0 + ((1) - 1)) * ANGLES(RAD(0 - 2.5 * SIN(SINE / 12)), RAD(0), RAD(45)), 0.15 / Animation_Speed)
  1753. RightShoulder.C0 = Clerp(RightShoulder.C0, CF(1.35, 0.5, -0.5) * ANGLES(RAD(75), RAD(45), RAD(-25))* RIGHTSHOULDERC0, 0.15 / Animation_Speed)
  1754. LeftShoulder.C0 = Clerp(LeftShoulder.C0, CF(-1.25, 0.5, 0.5) * ANGLES(RAD(-45), RAD(0), RAD(45)) * LEFTSHOULDERC0, 0.15 / Animation_Speed)
  1755. RightHip.C0 = Clerp(RightHip.C0, CF(1, -1 - 0.05 * COS(SINE / 12), -0.01) * ANGLES(RAD(0), RAD(75), RAD(0)) * ANGLES(RAD(-8), RAD(0), RAD(0)), 0.15 / Animation_Speed)
  1756. LeftHip.C0 = Clerp(LeftHip.C0, CF(-1, -1 - 0.05 * COS(SINE / 12), -0.01) * ANGLES(RAD(0), RAD(-50), RAD(0)) * ANGLES(RAD(-8), RAD(0), RAD(0)), 0.15 / Animation_Speed)
  1757. end
  1758. elseif TORSOVELOCITY > 1 and HITFLOOR ~= nil then
  1759. ANIM = "Walk"
  1760. if ATTACK == false then
  1761. RootJoint.C0 = Clerp(RootJoint.C0,ROOTC0 * CF(0, 0, -0.1) * ANGLES(RAD(5), RAD(0), RAD(0)), 0.15 / Animation_Speed)
  1762. Neck.C0 = Clerp(Neck.C0, NECKC0 * CF(0, 0, 0 + ((1) - 1)) * ANGLES(RAD(5 - 8 * SIN(SINE / (WALKSPEEDVALUE / 2))), RAD(0), RAD(0)), 0.15 / Animation_Speed)
  1763. RightShoulder.C0 = Clerp(RightShoulder.C0, CF(1.5, 0.1, -0.4) * ANGLES(RAD(150), RAD(0), RAD(0))* RIGHTSHOULDERC0, 0.15 / Animation_Speed)
  1764. LeftShoulder.C0 = Clerp(LeftShoulder.C0, CF(-1.5, 0.5, 0) * ANGLES(RAD(-60 * COS(SINE / WALKSPEEDVALUE)), RAD(0), RAD(-5)) * LEFTSHOULDERC0, 0.35 / Animation_Speed)
  1765. RightHip.C0 = Clerp(RightHip.C0, CF(1 , -1, 0) * ANGLES(RAD(0), RAD(90), RAD(0)) * ANGLES(RAD(0), RAD(0), RAD(-15)), 2 / Animation_Speed)
  1766. LeftHip.C0 = Clerp(LeftHip.C0, CF(-1, -1, 0) * ANGLES(RAD(0), RAD(-90), RAD(0)) * ANGLES(RAD(0), RAD(0), RAD(15)), 2 / Animation_Speed)
  1767. end
  1768. end
  1769. unanchor()
  1770. Humanoid.MaxHealth = "inf"
  1771. Humanoid.Health = "inf"
  1772. if Rooted == false then
  1773. Disable_Jump = false
  1774. Humanoid.WalkSpeed = Speed
  1775. elseif Rooted == true then
  1776. Disable_Jump = true
  1777. Humanoid.WalkSpeed = 0
  1778. end
  1779. sick.Parent = Torso
  1780. sick:resume()
  1781. sick.Volume = 8.2
  1782. sick.Pitch = 1
  1783. sick.SoundId = "rbxassetid://900318768"
  1784. sick.Name = "Dead"
  1785.  
  1786. end
  1787.  
  1788.  
  1789.  
  1790.  
  1791.  
  1792. --//====================================================\\--
  1793. --|| ANTI DEATH
  1794. --\\====================================================//--
  1795.  
  1796.  
  1797.  
  1798. --//====================================================\\--
  1799. --|| END OF SCRIPT
  1800. --\\====================================================//--
Advertisement
Add Comment
Please, Sign In to add comment
Advertisement