Advertisement
Guest User

Head Hunter Edit By Destroy666j

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