Advertisement
Mz_TH_edit

Untitled

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