Advertisement
yabagaba

Untitled

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