Advertisement
Guest User

Untitled

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