Advertisement
yabagaba

Untitled

May 31st, 2019
200
0
Never
Not a member of Pastebin yet? Sign Up, it unlocks many cool features!
text 71.97 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 = "http://www.roblox.com/asset/?id="..MESHID
  335. end
  336. if TEXTUREID ~= "nil" and TEXTUREID ~= "" then
  337. NEWMESH.TextureId = "http://www.roblox.com/asset/?id="..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 = "http://www.roblox.com/asset/?id="..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", "76062497", "", 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", "99856331", "", 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. local LASTPART = Head
  702. for i = 1, 20 do
  703. local MATH = (1-(i/25))
  704. if LASTPART == Head then
  705. local Horn = CreatePart(3, Character, "SmoothPlastic", 0, 0, "Dirt brown", "Horn", VT(0.25*MATH,0.25,0.25*MATH),false)
  706. CreateWeldOrSnapOrMotor("Weld", LASTPART, LASTPART, Horn, CF(0.3, 0.7, -0.35) * ANGLES(RAD(-55), RAD(15), RAD(-15)), CF(0, 0, 0))
  707. LASTPART = Horn
  708. Horn.Color = C3((i*3-3)/255,0,0)
  709. else
  710. local Horn = CreatePart(3, Character, "SmoothPlastic", 0, 0, "Dirt brown", "Horn", VT(0.25*MATH,0.25,0.25*MATH),false)
  711. CreateWeldOrSnapOrMotor("Weld", LASTPART, LASTPART, Horn, CF(0, Horn.Size.Y/1.8, 0) * ANGLES(RAD(6), RAD(-0.3), RAD(0)), CF(0, 0, 0))
  712. LASTPART = Horn
  713. Horn.Color = C3((i*3-3)/255,0,0)
  714. end
  715. end
  716. local LASTPART = Head
  717. for i = 1, 20 do
  718. local MATH = (1-(i/25))
  719. if LASTPART == Head then
  720. local Horn = CreatePart(3, Character, "SmoothPlastic", 0, 0, "Dirt brown", "Horn", VT(0.25*MATH,0.25,0.25*MATH),false)
  721. CreateWeldOrSnapOrMotor("Weld", LASTPART, LASTPART, Horn, CF(-0.3, 0.7, -0.35) * ANGLES(RAD(-55), RAD(-15), RAD(15)), CF(0, 0, 0))
  722. LASTPART = Horn
  723. Horn.Color = C3((i*3-3)/255,0,0)
  724. else
  725. local Horn = CreatePart(3, Character, "SmoothPlastic", 0, 0, "Dirt brown", "Horn", VT(0.25*MATH,0.25,0.25*MATH),false)
  726. CreateWeldOrSnapOrMotor("Weld", LASTPART, LASTPART, Horn, CF(0, Horn.Size.Y/1.8, 0) * ANGLES(RAD(6), RAD(0.3), RAD(0)), CF(0, 0, 0))
  727. LASTPART = Horn
  728. Horn.Color = C3((i*3-3)/255,0,0)
  729. end
  730. end
  731. local Hair = CreatePart(3, Character, "Fabric", 0, 0, "Really red", "Hair", VT(1,1,1),false)
  732. local HairWeld1 = CreateWeldOrSnapOrMotor("Weld", Hair, Head, Hair, CF(0,0.1,-0.25) * ANGLES(RAD(0), RAD(0), RAD(0)), CF(0, 0, 0))
  733. CreateMesh("SpecialMesh", Hair, "FileMesh", "873651376", "", VT(0.025, 0.025, 0.02), VT(0,0,0))
  734. local Hair = CreatePart(3, Character, "Fabric", 0, 0, "Really red", "Hair", VT(1,1,1),false)
  735. local HairWeld2 = CreateWeldOrSnapOrMotor("Weld", Hair, Head, Hair, CF(0,0.2,-0.3) * ANGLES(RAD(0), RAD(0), RAD(0)), CF(0, 0, 0))
  736. CreateMesh("SpecialMesh", Hair, "FileMesh", "873651376", "", VT(0.03, 0.015, 0.01), VT(0,0,-0.1))
  737.  
  738. local BODY = {}
  739.  
  740. for _, c in pairs(Character:GetDescendants()) do
  741. if c:IsA("BasePart") and c.Name ~= "Handle" then
  742. if c ~= RootPart and c ~= Torso and c ~= Head and c ~= RightArm and c ~= LeftArm and c ~= RightLeg and c ~= LeftLeg then
  743. c.CustomPhysicalProperties = PhysicalProperties.new(0, 0, 0, 0, 0)
  744. end
  745. table.insert(BODY,{c,c.Parent,c.Material,c.Color,c.Transparency})
  746. elseif c:IsA("JointInstance") then
  747. table.insert(BODY,{c,c.Parent,nil,nil,nil})
  748. end
  749. end
  750.  
  751. for e = 1, #BODY do
  752. if BODY[e] ~= nil then
  753. local STUFF = BODY[e]
  754. local PART = STUFF[1]
  755. local PARENT = STUFF[2]
  756. local MATERIAL = STUFF[3]
  757. local COLOR = STUFF[4]
  758. local TRANSPARENCY = STUFF[5]
  759. if PART.ClassName == "Part" and PART ~= RootPart then
  760. PART.Material = MATERIAL
  761. PART.Color = COLOR
  762. PART.Transparency = TRANSPARENCY
  763. end
  764. PART.AncestryChanged:Connect(function()
  765. PART.Parent = PARENT
  766. end)
  767. end
  768. end
  769.  
  770. CreateWeldOrSnapOrMotor("Weld", Handle, LeftBarrel, Part, CF(0, 2.415, 0.15) * ANGLES(RAD(180), RAD(0), RAD(0)), CF(0, 0, 0))
  771. local LeftHole = CreatePart(3, Character, "Metal", 0, 0, "Mid gray", "Eye", VT(0.2,0,0.2),false)
  772. MakeForm(LeftHole,"Cyl")
  773. CreateWeldOrSnapOrMotor("Weld", Handle, LeftBarrel, LeftHole, CF(0, 2.5, 0), CF(0, 0, 0))
  774. local Eye = CreatePart(3, Character, "Neon", 0, 0, "Really red", "Eye", VT(0.6,0.1,1)/2,false)
  775. MakeForm(Eye,"Ball")
  776. CreateWeldOrSnapOrMotor("Weld", Eye, Head, Eye, CF(0,0.2,0) * ANGLES(RAD(0), RAD(-18), RAD(15)), CF(0, 0, 0.4))
  777. local Eye = CreatePart(3, Character, "Neon", 0, 0, "Really red", "Eye", VT(0.6,0.1,1)/2,false)
  778. MakeForm(Eye,"Ball")
  779. CreateWeldOrSnapOrMotor("Weld", Eye, Head, Eye, CF(0,0.2,0) * ANGLES(RAD(0), RAD(18), RAD(-15)), CF(0, 0, 0.4))
  780. local Eye = CreatePart(3, Character, "Neon", 0, 0, "Really red", "Eye", VT(0.1,1,1)/2,false)
  781. MakeForm(Eye,"Ball")
  782. CreateWeldOrSnapOrMotor("Weld", Eye, Head, Eye, CF(0,0.15,0) * ANGLES(RAD(0), RAD(-18), RAD(0)), CF(0, 0, 0.4))
  783. local Eye = CreatePart(3, Character, "Neon", 0, 0, "Really red", "Eye", VT(0.1,1,1)/2,false)
  784. MakeForm(Eye,"Ball")
  785. CreateWeldOrSnapOrMotor("Weld", Eye, Head, Eye, CF(0,0.15,0) * ANGLES(RAD(0), RAD(18), RAD(0)), CF(0, 0, 0.4))
  786. local A = IT("Attachment",Torso)
  787. A.Position = VT(1,1.3,0)
  788. A.Orientation = VT(-0.098, -89.999, 0.227)
  789. local B = IT("Attachment",Torso)
  790. B.Position = VT(-1.3,-0.6,0)
  791. B.Orientation = VT(-88.911, -68.808, 158.782)
  792. local ChainLink = IT("Beam",Torso)
  793. ChainLink.Texture = "rbxassetid://73042633"
  794. ChainLink.Color = ColorSequence.new(C3(1,0,0))
  795. ChainLink.TextureSpeed = 1
  796. ChainLink.FaceCamera = true
  797. ChainLink.Width0 = 1
  798. ChainLink.Width1 = 1
  799. ChainLink.TextureLength = 3
  800. ChainLink.Attachment0 = A
  801. ChainLink.Attachment1 = B
  802. ChainLink.CurveSize0 = 1.6
  803. ChainLink.CurveSize1 = 1.6
  804. ChainLink.FaceCamera = true
  805. ChainLink.Transparency = NumberSequence.new(0)
  806. local ChainLink = IT("Beam",Torso)
  807. ChainLink.Texture = "rbxassetid://73042633"
  808. ChainLink.Color = ColorSequence.new(C3(1,0,0))
  809. ChainLink.TextureSpeed = 1
  810. ChainLink.FaceCamera = true
  811. ChainLink.Width0 = 1
  812. ChainLink.Width1 = 1
  813. ChainLink.TextureLength = 3
  814. ChainLink.Attachment0 = B
  815. ChainLink.Attachment1 = A
  816. ChainLink.CurveSize0 = 1.6
  817. ChainLink.CurveSize1 = 1.6
  818. ChainLink.FaceCamera = true
  819. ChainLink.Transparency = NumberSequence.new(0)
  820. local A = IT("Attachment",Torso)
  821. A.Position = VT(1.3,-0.85,0)
  822. A.Orientation = VT(-0.098, -89.999, 0.227)
  823. local B = IT("Attachment",Torso)
  824. B.Position = VT(-1,2,0)
  825. B.Orientation = VT(-88.911, -68.808, 158.782)
  826. local ChainLink = IT("Beam",Torso)
  827. ChainLink.Texture = "rbxassetid://73042633"
  828. ChainLink.Color = ColorSequence.new(C3(1,0,0))
  829. ChainLink.TextureSpeed = 1
  830. ChainLink.FaceCamera = true
  831. ChainLink.Width0 = 1
  832. ChainLink.Width1 = 1
  833. ChainLink.TextureLength = 3
  834. ChainLink.Attachment0 = A
  835. ChainLink.Attachment1 = B
  836. ChainLink.CurveSize0 = 1.3
  837. ChainLink.CurveSize1 = 1.3
  838. ChainLink.FaceCamera = true
  839. ChainLink.Transparency = NumberSequence.new(0)
  840. local ChainLink = IT("Beam",Torso)
  841. ChainLink.Texture = "rbxassetid://73042633"
  842. ChainLink.Color = ColorSequence.new(C3(1,0,0))
  843. ChainLink.TextureSpeed = 1
  844. ChainLink.FaceCamera = true
  845. ChainLink.Width0 = 1
  846. ChainLink.Width1 = 1
  847. ChainLink.TextureLength = 3
  848. ChainLink.Attachment0 = B
  849. ChainLink.Attachment1 = A
  850. ChainLink.CurveSize0 = 1.3
  851. ChainLink.CurveSize1 = 1.3
  852. ChainLink.FaceCamera = true
  853. ChainLink.Transparency = NumberSequence.new(0)
  854.  
  855. local A = IT("Attachment",RightBarrel)
  856. A.Position = VT(0,-2.5,0)
  857. local B = IT("Attachment",RightBarrel)
  858. B.Position = VT(0,2.5,0)
  859. local Trail = IT("Trail",RightBarrel)
  860. Trail.Attachment0 = A
  861. Trail.Attachment1 = B
  862. Trail.Lifetime = 0.2
  863. Trail.Color = ColorSequence.new(BRICKC"Really red".Color)
  864. Trail.Transparency = NumberSequence.new(0, 1)
  865. Trail.Enabled = false
  866.  
  867. local Particle = IT("ParticleEmitter",nil)
  868. Particle.Enabled = false
  869. Particle.Transparency = NumberSequence.new({NumberSequenceKeypoint.new(0,0.3),NumberSequenceKeypoint.new(0.3,0),NumberSequenceKeypoint.new(1,1)})
  870. Particle.LightEmission = 0.5
  871. Particle.Rate = 150
  872. Particle.ZOffset = 0.2
  873. Particle.Rotation = NumberRange.new(-180, 180)
  874. Particle.RotSpeed = NumberRange.new(-180, 180)
  875. Particle.Texture = "http://www.roblox.com/asset/?id=304437537"
  876. Particle.Color = ColorSequence.new(C3(1,0,0),C3(0.4,0,0))
  877.  
  878. --ParticleEmitter({Speed = 5, Drag = 0, Size1 = 1, Size2 = 5, Lifetime1 = 1, Lifetime2 = 1.5, Parent = Torso, Emit = 100, Offset = 360, Enabled = false})
  879. function ParticleEmitter(Table)
  880. local PRTCL = Particle:Clone()
  881. local Speed = Table.Speed or 5
  882. local Drag = Table.Drag or 0
  883. local Size1 = Table.Size1 or 1
  884. local Size2 = Table.Size2 or 5
  885. local Lifetime1 = Table.Lifetime1 or 1
  886. local Lifetime2 = Table.Lifetime2 or 1.5
  887. local Parent = Table.Parent or Torso
  888. local Emit = Table.Emit or 100
  889. local Offset = Table.Offset or 360
  890. local Acel = Table.Acel or VT(0,0,0)
  891. local Enabled = Table.Enabled or false
  892. PRTCL.Parent = Parent
  893. PRTCL.Size = NumberSequence.new(Size1,Size2)
  894. PRTCL.Lifetime = NumberRange.new(Lifetime1,Lifetime2)
  895. PRTCL.Speed = NumberRange.new(Speed)
  896. PRTCL.VelocitySpread = Offset
  897. PRTCL.Drag = Drag
  898. PRTCL.Acceleration = Acel
  899. if Enabled == false then
  900. PRTCL:Emit(Emit)
  901. Debris:AddItem(PRTCL,Lifetime2)
  902. else
  903. PRTCL.Enabled = true
  904. end
  905. return PRTCL
  906. end
  907.  
  908. local Handle = CreatePart(3, Weapon, "Metal", 0, 0, "Mid gray", "Part", VT(0.2,0.6,0.2),false)
  909. local RightArmGrasp = CreateWeldOrSnapOrMotor("Weld", Handle, LeftArm, Handle, CF(0,-1, 0) * ANGLES(RAD(90), RAD(0), RAD(0)), CF(0, 0.21, 0))
  910. local Part = CreatePart(3, Weapon, "Metal", 0, 0, "Mid gray", "Part", VT(0.2,0.5,0.2),false)
  911. MakeForm(Part,"Wedge")
  912. CreateWeldOrSnapOrMotor("Weld", Handle, Handle, Part, CF(0, -0.3, 0.2) * ANGLES(RAD(0), RAD(180), RAD(0)), CF(0, 0, 0))
  913. local Part = CreatePart(3, Weapon, "Metal", 0, 0, "Mid gray", "Part", VT(0.2,0.3,0.2),false)
  914. MakeForm(Part,"Wedge")
  915. CreateWeldOrSnapOrMotor("Weld", Handle, Handle, Part, CF(0, -0.4, 0) * ANGLES(RAD(0), RAD(0), RAD(180)), CF(0, 0, 0))
  916. local Part = CreatePart(3, Weapon, "Metal", 0, 0, "Mid gray", "Part", VT(0.3,0.3,0.3),false)
  917. CreateWeldOrSnapOrMotor("Weld", Handle, Handle, Part, CF(0, -0.5, 0.2) * ANGLES(RAD(0), RAD(0), RAD(0)), CF(0, 0, 0))
  918. local Part = CreatePart(3, Weapon, "Metal", 0, 0, "Mid gray", "Part", VT(0.3,0.5,0.5),false)
  919. CreateWeldOrSnapOrMotor("Weld", Handle, Handle, Part, CF(0, -0.6, 0.5) * ANGLES(RAD(0), RAD(0), RAD(0)), CF(0, 0, 0))
  920. local Part = CreatePart(3, Weapon, "Metal", 0, 0, "Mid gray", "Part", VT(0.4,0.4,0.4),false)
  921. MakeForm(Part,"Cyl")
  922. CreateWeldOrSnapOrMotor("Weld", Handle, Handle, Part, CF(0, -0.6, 0.5) * ANGLES(RAD(90), RAD(0), RAD(0)), CF(0, 0, 0))
  923. for i = 1, 8 do
  924. local Piece = CreatePart(3, Weapon, "Metal", 0, 0, "Mid gray", "Eye", VT(0,0.35,0.41),false)
  925. CreateWeldOrSnapOrMotor("Weld", Handle, Part, Piece, CF(0, 0, 0) * ANGLES(RAD(0), RAD((360/8)*i), RAD(0)), CF(0, 0, 0))
  926. end
  927. local Part = CreatePart(3, Weapon, "Metal", 0, 0, "Mid gray", "Eye", VT(0.38,0.41,0.38),false)
  928. MakeForm(Part,"Cyl")
  929. CreateWeldOrSnapOrMotor("Weld", Handle, Handle, Part, CF(0, -0.6, 0.5) * ANGLES(RAD(90), RAD(0), RAD(0)), CF(0, 0, 0))
  930. local Part = CreatePart(3, Weapon, "Metal", 0, 0, "Mid gray", "Part", VT(0.37,0.5,0.37),false)
  931. MakeForm(Part,"Ball")
  932. CreateWeldOrSnapOrMotor("Weld", Handle, Handle, Part, CF(0, -0.6, 0.3) * ANGLES(RAD(90), RAD(0), RAD(0)), CF(0, 0, 0))
  933. local Part = CreatePart(3, Weapon, "Metal", 0, 0, "Mid gray", "Part", VT(0.2,0.7,0.4),false)
  934. MakeForm(Part,"Wedge")
  935. CreateWeldOrSnapOrMotor("Weld", Handle, Handle, Part, CF(0, -0.7, 0.5) * ANGLES(RAD(90), RAD(180), RAD(180)), CF(0, 0, 0))
  936. local Part = CreatePart(3, Weapon, "Metal", 0, 0, "Mid gray", "Part", VT(0.3,0.4,0.2),false)
  937. CreateWeldOrSnapOrMotor("Weld", Handle, Handle, Part, CF(0, -0.6, 0.7) * ANGLES(RAD(0), RAD(0), RAD(0)), CF(0, 0, 0))
  938. local Part = CreatePart(3, Weapon, "Metal", 0, 0, "Mid gray", "Part", VT(0.35,0.35,0.35),false)
  939. MakeForm(Part,"Cyl")
  940. CreateWeldOrSnapOrMotor("Weld", Handle, Handle, Part, CF(0, -0.6, 0.7) * ANGLES(RAD(90), RAD(0), RAD(0)), CF(0, 0, 0))
  941. local Part = CreatePart(3, Weapon, "Metal", 0, 0, "Mid gray", "Part", VT(0.5,0.1,0.5),false)
  942. MakeForm(Part,"Cyl")
  943. CreateWeldOrSnapOrMotor("Weld", Handle, Handle, Part, CF(0, -0.6, 1) * ANGLES(RAD(90), RAD(0), RAD(0)), CF(0, 0, 0))
  944. local Part = CreatePart(3, Weapon, "Metal", 0, 0, "Mid gray", "Part", VT(0.5,0.1,0.45),false)
  945. MakeForm(Part,"Cyl")
  946. CreateWeldOrSnapOrMotor("Weld", Handle, Handle, Part, CF(0, -0.6, 1.1) * ANGLES(RAD(90), RAD(0), RAD(0)), CF(0, 0, 0))
  947. local Part = CreatePart(3, Weapon, "Metal", 0, 0, "Mid gray", "Part", VT(0.2,0.5,0.2),false)
  948. MakeForm(Part,"Wedge")
  949. CreateWeldOrSnapOrMotor("Weld", Handle, Handle, Part, CF(0, -0.55, 0.2) * ANGLES(RAD(-135), RAD(0), RAD(0)), CF(0, -0.3, 0))
  950. local LASTPART = Handle
  951. for i = 1, 10 do
  952. if LASTPART == Handle then
  953. local Part = CreatePart(3, Weapon, "Metal", 0, 0, "Mid gray", "Part", VT(0.1,0.2,0),false)
  954. LASTPART = Part
  955. CreateWeldOrSnapOrMotor("Weld", Handle, Handle, Part, CF(0, -0.1, 0.2) * ANGLES(RAD(90), RAD(0), RAD(0)), CF(0, 0, 0))
  956. else
  957. local Part = CreatePart(3, Weapon, "Metal", 0, 0, "Mid gray", "Part", VT(0.1,0.05,0),false)
  958. CreateWeldOrSnapOrMotor("Weld", Handle, LASTPART, Part, CF(0, 0.025, 0) * ANGLES(RAD(8), RAD(0), RAD(0)), CF(0, -0.025, 0))
  959. LASTPART = Part
  960. end
  961. end
  962.  
  963. local Barrel = CreatePart(3, Weapon, "Metal", 0, 0, "Mid gray", "Part", VT(0.15,2,0.15),false)
  964. MakeForm(Barrel,"Cyl")
  965. CreateWeldOrSnapOrMotor("Weld", Handle, Handle, Barrel, CF(0, -0.6, 1.8) * ANGLES(RAD(90), RAD(0), RAD(0)), CF(0, 0, 0))
  966. local Part = CreatePart(3, Weapon, "Metal", 0, 0, "Mid gray", "Part", VT(0.25,1,0.25),false)
  967. MakeForm(Part,"Cyl")
  968. CreateWeldOrSnapOrMotor("Weld", Handle, Barrel, Part, CF(0, -0.6, 0), CF(0, 0, 0))
  969. local Part = CreatePart(3, Weapon, "Metal", 0, 0, "Mid gray", "Part", VT(0,0.1,0.2),false)
  970. MakeForm(Part,"Wedge")
  971. CreateWeldOrSnapOrMotor("Weld", Handle, Barrel, Part, CF(0, 0.945, 0.1) * ANGLES(RAD(180), RAD(0), RAD(0)), CF(0, 0, 0))
  972. local Hole = CreatePart(3, Weapon, "Metal", 0, 0, "Mid gray", "Eye", VT(0.125,0,0.125),false)
  973. MakeForm(Hole,"Cyl")
  974. CreateWeldOrSnapOrMotor("Weld", Handle, Barrel, Hole, CF(0, 0.98, 0), CF(0, 0, 0))
  975. local Part = CreatePart(3, Weapon, "Metal", 0, 0, "Mid gray", "Part", VT(0,0,0),false)
  976. local GEARWELD = CreateWeldOrSnapOrMotor("Weld", Handle, Handle, Part, CF(0, -0.6, 0.7), CF(0, 0, 0))
  977. CreateMesh("SpecialMesh", Part, "FileMesh", 156292343, "", VT(0.8,0.8,1.5), VT(0,0,0.2))
  978. local Part = CreatePart(3, Weapon, "Metal", 0, 0.5, "Mid gray", "Eye", VT(0,0,0),false)
  979. local GEARWELD2 = CreateWeldOrSnapOrMotor("Weld", Handle, Handle, Part, CF(0, -0.6, 0.7), CF(0, 0, 0))
  980. CreateMesh("SpecialMesh", Part, "FileMesh", 156292343, "", VT(0.9,0.9,0.3), VT(0,0,0.2))
  981. coroutine.resume(coroutine.create(function()
  982. while wait() do
  983. GEARWELD.C0 = GEARWELD.C0 * ANGLES(RAD(0), RAD(0), RAD(5))
  984. GEARWELD2.C0 = GEARWELD2.C0 * ANGLES(RAD(0), RAD(0), RAD(-5))
  985. end
  986. end))
  987.  
  988. local Handle = CreatePart(3, Weapon, "Metal", 0, 0, "Mid gray", "Part", VT(0.2,0.6,0.2),false)
  989. local RightArmGrasp = CreateWeldOrSnapOrMotor("Weld", Handle, RightArm, Handle, CF(0,-1, 0) * ANGLES(RAD(90), RAD(0), RAD(0)), CF(0, 0.21, 0))
  990. local Part = CreatePart(3, Weapon, "Metal", 0, 0, "Mid gray", "Part", VT(0.2,0.5,0.2),false)
  991. MakeForm(Part,"Wedge")
  992. CreateWeldOrSnapOrMotor("Weld", Handle, Handle, Part, CF(0, -0.3, 0.2) * ANGLES(RAD(0), RAD(180), RAD(0)), CF(0, 0, 0))
  993. local Part = CreatePart(3, Weapon, "Metal", 0, 0, "Mid gray", "Part", VT(0.2,0.3,0.2),false)
  994. MakeForm(Part,"Wedge")
  995. CreateWeldOrSnapOrMotor("Weld", Handle, Handle, Part, CF(0, -0.4, 0) * ANGLES(RAD(0), RAD(0), RAD(180)), CF(0, 0, 0))
  996. local Part = CreatePart(3, Weapon, "Metal", 0, 0, "Mid gray", "Part", VT(0.3,0.3,0.3),false)
  997. CreateWeldOrSnapOrMotor("Weld", Handle, Handle, Part, CF(0, -0.5, 0.2) * ANGLES(RAD(0), RAD(0), RAD(0)), CF(0, 0, 0))
  998. local Part = CreatePart(3, Weapon, "Metal", 0, 0, "Mid gray", "Part", VT(0.3,0.5,0.5),false)
  999. CreateWeldOrSnapOrMotor("Weld", Handle, Handle, Part, CF(0, -0.6, 0.5) * ANGLES(RAD(0), RAD(0), RAD(0)), CF(0, 0, 0))
  1000. local Part = CreatePart(3, Weapon, "Metal", 0, 0, "Mid gray", "Part", VT(0.4,0.4,0.4),false)
  1001. MakeForm(Part,"Cyl")
  1002. CreateWeldOrSnapOrMotor("Weld", Handle, Handle, Part, CF(0, -0.6, 0.5) * ANGLES(RAD(90), RAD(0), RAD(0)), CF(0, 0, 0))
  1003. for i = 1, 8 do
  1004. local Piece = CreatePart(3, Weapon, "Metal", 0, 0, "Mid gray", "Eye", VT(0,0.35,0.41),false)
  1005. CreateWeldOrSnapOrMotor("Weld", Handle, Part, Piece, CF(0, 0, 0) * ANGLES(RAD(0), RAD((360/8)*i), RAD(0)), CF(0, 0, 0))
  1006. end
  1007. local Part = CreatePart(3, Weapon, "Metal", 0, 0, "Mid gray", "Eye", VT(0.38,0.41,0.38),false)
  1008. MakeForm(Part,"Cyl")
  1009. CreateWeldOrSnapOrMotor("Weld", Handle, Handle, Part, CF(0, -0.6, 0.5) * ANGLES(RAD(90), RAD(0), RAD(0)), CF(0, 0, 0))
  1010. local Part = CreatePart(3, Weapon, "Metal", 0, 0, "Mid gray", "Part", VT(0.37,0.5,0.37),false)
  1011. MakeForm(Part,"Ball")
  1012. CreateWeldOrSnapOrMotor("Weld", Handle, Handle, Part, CF(0, -0.6, 0.3) * ANGLES(RAD(90), RAD(0), RAD(0)), CF(0, 0, 0))
  1013. local Part = CreatePart(3, Weapon, "Metal", 0, 0, "Mid gray", "Part", VT(0.2,0.7,0.4),false)
  1014. MakeForm(Part,"Wedge")
  1015. CreateWeldOrSnapOrMotor("Weld", Handle, Handle, Part, CF(0, -0.7, 0.5) * ANGLES(RAD(90), RAD(180), RAD(180)), CF(0, 0, 0))
  1016. local Part = CreatePart(3, Weapon, "Metal", 0, 0, "Mid gray", "Part", VT(0.3,0.4,0.2),false)
  1017. CreateWeldOrSnapOrMotor("Weld", Handle, Handle, Part, CF(0, -0.6, 0.7) * ANGLES(RAD(0), RAD(0), RAD(0)), CF(0, 0, 0))
  1018. local Part = CreatePart(3, Weapon, "Metal", 0, 0, "Mid gray", "Part", VT(0.35,0.35,0.35),false)
  1019. MakeForm(Part,"Cyl")
  1020. CreateWeldOrSnapOrMotor("Weld", Handle, Handle, Part, CF(0, -0.6, 0.7) * ANGLES(RAD(90), RAD(0), RAD(0)), CF(0, 0, 0))
  1021. local Part = CreatePart(3, Weapon, "Metal", 0, 0, "Mid gray", "Part", VT(0.5,0.1,0.5),false)
  1022. MakeForm(Part,"Cyl")
  1023. CreateWeldOrSnapOrMotor("Weld", Handle, Handle, Part, CF(0, -0.6, 1) * ANGLES(RAD(90), RAD(0), RAD(0)), CF(0, 0, 0))
  1024. local Part = CreatePart(3, Weapon, "Metal", 0, 0, "Mid gray", "Part", VT(0.5,0.1,0.45),false)
  1025. MakeForm(Part,"Cyl")
  1026. CreateWeldOrSnapOrMotor("Weld", Handle, Handle, Part, CF(0, -0.6, 1.1) * ANGLES(RAD(90), RAD(0), RAD(0)), CF(0, 0, 0))
  1027. local Part = CreatePart(3, Weapon, "Metal", 0, 0, "Mid gray", "Part", VT(0.2,0.5,0.2),false)
  1028. MakeForm(Part,"Wedge")
  1029. CreateWeldOrSnapOrMotor("Weld", Handle, Handle, Part, CF(0, -0.55, 0.2) * ANGLES(RAD(-135), RAD(0), RAD(0)), CF(0, -0.3, 0))
  1030. local LASTPART = Handle
  1031. for i = 1, 10 do
  1032. if LASTPART == Handle then
  1033. local Part = CreatePart(3, Weapon, "Metal", 0, 0, "Mid gray", "Part", VT(0.1,0.2,0),false)
  1034. LASTPART = Part
  1035. CreateWeldOrSnapOrMotor("Weld", Handle, Handle, Part, CF(0, -0.1, 0.2) * ANGLES(RAD(90), RAD(0), RAD(0)), CF(0, 0, 0))
  1036. else
  1037. local Part = CreatePart(3, Weapon, "Metal", 0, 0, "Mid gray", "Part", VT(0.1,0.05,0),false)
  1038. CreateWeldOrSnapOrMotor("Weld", Handle, LASTPART, Part, CF(0, 0.025, 0) * ANGLES(RAD(8), RAD(0), RAD(0)), CF(0, -0.025, 0))
  1039. LASTPART = Part
  1040. end
  1041. end
  1042.  
  1043. local Barrel = CreatePart(3, Weapon, "Metal", 0, 0, "Mid gray", "Part", VT(0.15,2,0.15),false)
  1044. MakeForm(Barrel,"Cyl")
  1045. CreateWeldOrSnapOrMotor("Weld", Handle, Handle, Barrel, CF(0, -0.6, 1.8) * ANGLES(RAD(90), RAD(0), RAD(0)), CF(0, 0, 0))
  1046. local Part = CreatePart(3, Weapon, "Metal", 0, 0, "Mid gray", "Part", VT(0.25,1,0.25),false)
  1047. MakeForm(Part,"Cyl")
  1048. CreateWeldOrSnapOrMotor("Weld", Handle, Barrel, Part, CF(0, -0.6, 0), CF(0, 0, 0))
  1049. local Part = CreatePart(3, Weapon, "Metal", 0, 0, "Mid gray", "Part", VT(0,0.1,0.2),false)
  1050. MakeForm(Part,"Wedge")
  1051. CreateWeldOrSnapOrMotor("Weld", Handle, Barrel, Part, CF(0, 0.945, 0.1) * ANGLES(RAD(180), RAD(0), RAD(0)), CF(0, 0, 0))
  1052. local Hole = CreatePart(3, Weapon, "Metal", 0, 0, "Mid gray", "Eye", VT(0.125,0,0.125),false)
  1053. MakeForm(Hole,"Cyl")
  1054. CreateWeldOrSnapOrMotor("Weld", Handle, Barrel, Hole, CF(0, 0.98, 0), CF(0, 0, 0))
  1055. local Part = CreatePart(3, Weapon, "Metal", 0, 0, "Mid gray", "Part", VT(0,0,0),false)
  1056. local GEARWELD = CreateWeldOrSnapOrMotor("Weld", Handle, Handle, Part, CF(0, -0.6, 0.7), CF(0, 0, 0))
  1057. CreateMesh("SpecialMesh", Part, "FileMesh", 156292343, "", VT(0.8,0.8,1.5), VT(0,0,0.2))
  1058. local Part = CreatePart(3, Weapon, "Metal", 0, 0.5, "Mid gray", "Eye", VT(0,0,0),false)
  1059. local GEARWELD2 = CreateWeldOrSnapOrMotor("Weld", Handle, Handle, Part, CF(0, -0.6, 0.7), CF(0, 0, 0))
  1060. CreateMesh("SpecialMesh", Part, "FileMesh", 156292343, "", VT(0.9,0.9,0.3), VT(0,0,0.2))
  1061. coroutine.resume(coroutine.create(function()
  1062. while wait() do
  1063. GEARWELD.C0 = GEARWELD.C0 * ANGLES(RAD(0), RAD(0), RAD(5))
  1064. GEARWELD2.C0 = GEARWELD2.C0 * ANGLES(RAD(0), RAD(0), RAD(-5))
  1065. end
  1066. end))
  1067.  
  1068. 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)})
  1069. --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)})
  1070.  
  1071. for _, c in pairs(Weapon:GetDescendants()) do
  1072. if c.ClassName == "Part" and c.Name ~= "Eye" and c.Parent ~= Effects and c.Parent.Parent ~= Effects then
  1073. c.Material = "Glass"
  1074. c.Color = C3(0,0,0)
  1075. elseif c.ClassName == "Part" and c.Name == "Eye" then
  1076. c.Color = C3(1,0,0)
  1077. c.Material = "Neon"
  1078. end
  1079. end
  1080.  
  1081. Weapon.Parent = Character
  1082. for _, c in pairs(Weapon:GetChildren()) do
  1083. if c.ClassName == "Part" then
  1084. c.CustomPhysicalProperties = PhysicalProperties.new(0, 0, 0, 0, 0)
  1085. end
  1086. end
  1087.  
  1088. local SKILLTEXTCOLOR = C3(1,0,0)
  1089. local SKILLFONT = "Antique"
  1090. local SKILLTEXTSIZE = 7
  1091.  
  1092. Humanoid.Died:connect(function()
  1093. ATTACK = true
  1094. end)
  1095.  
  1096. 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")
  1097. --[[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")
  1098. 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")
  1099. 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")
  1100. 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")
  1101. ]]
  1102. local SKILL1TEXT = CreateLabel(SKILL1FRAME, "[Z] Banisher Bullet", SKILLTEXTCOLOR, SKILLTEXTSIZE, SKILLFONT, 0, 2, 0.7, "Text 1")
  1103. --[[local SKILL2TEXT = CreateLabel(SKILL2FRAME, "[B] Morning_Star", SKILLTEXTCOLOR, SKILLTEXTSIZE, SKILLFONT, 0, 2, 0.7, "Text 2")
  1104. local SKILL3TEXT = CreateLabel(SKILL3FRAME, "[C] Ability 3", SKILLTEXTCOLOR, SKILLTEXTSIZE, SKILLFONT, 0, 2, 0.7, "Text 3")
  1105. local SKILL4TEXT = CreateLabel(SKILL4FRAME, "[V] Ability 4", SKILLTEXTCOLOR, SKILLTEXTSIZE, SKILLFONT, 0, 2, 0.7, "Text 4")
  1106. local SKILL5TEXT = CreateLabel(SKILL5FRAME, "[X] Mercy", SKILLTEXTCOLOR, SKILLTEXTSIZE, SKILLFONT, 0, 2, 0.7, "Text 5")
  1107. ]]
  1108. function printbye(Name)
  1109. 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, "}
  1110. warn(MESSAGES[MRANDOM(1,#MESSAGES)]..Name..".")
  1111. end
  1112.  
  1113. workspace.ChildAdded:connect(function(instance)
  1114. for BANISH = 1, #TOBANISH do
  1115. if TOBANISH[BANISH] ~= nil then
  1116. if instance.Name == TOBANISH[BANISH] then
  1117. coroutine.resume(coroutine.create(function()
  1118. printbye(instance.Name)
  1119. instance:ClearAllChildren()
  1120. Debris:AddItem(instance,0.0005)
  1121. end))
  1122. end
  1123. end
  1124. end
  1125. end)
  1126.  
  1127. --//=================================\\
  1128. --|| DAMAGING
  1129. --\\=================================//
  1130.  
  1131. local Decal = IT("Decal")
  1132. function MagicRing()
  1133. local O1 = CreatePart(3, Effects, "Neon", 0, 1, "Really red", "Warphole", VT(0, 0, 0))
  1134. O1.CFrame = RootPart.CFrame * CF(0, 0, -3) * ANGLES(RAD(90), RAD(0), RAD(0))
  1135. local decal = Decal:Clone()
  1136. decal.Parent = O1
  1137. decal.Face = "Top"
  1138. decal.Texture = "http://www.roblox.com/asset/?id=917750924"
  1139. local decal2 = Decal:Clone()
  1140. decal2.Parent = O1
  1141. decal2.Face = "Bottom"
  1142. decal2.Texture = "http://www.roblox.com/asset/?id=917750924"
  1143. return O1
  1144. end
  1145. function Dolor_Pluvia()
  1146. local POWER = LEVEL
  1147. local CENTER = MagicRing()
  1148. CENTER.CFrame = CF(Mouse.Hit.p)
  1149. CreateSound("424777055", CENTER, 10, 1)
  1150. local RAIN = {}
  1151. for i = 1, 45 do
  1152. Swait()
  1153. CENTER.Size = CENTER.Size + VT(POWER, 0, POWER)
  1154. CENTER.CFrame = CENTER.CFrame * ANGLES(RAD(0), RAD(i), RAD(0))
  1155. end
  1156. for i = 1, 35 do
  1157. Swait()
  1158. coroutine.resume(coroutine.create(function()
  1159. local DROP = CreatePart(3, Effects, "Neon", 0, 0, "Gold", "Raindrop", VT(POWER / 2, POWER / 2, POWER * 5))
  1160. 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)))
  1161. table.insert(RAIN, DROP)
  1162. particles(DROP)
  1163. MakeForm(DROP, "Ball")
  1164. local IMPACT = false
  1165. for i = 1, 80 do
  1166. Swait()
  1167. DROP.CFrame = DROP.CFrame * CF(0, 0, -7)
  1168. local HIT = Raycast(DROP.Position, DROP.CFrame.lookVector, 6, Character)
  1169. if HIT ~= nil then
  1170. IMPACT = true
  1171. break
  1172. end
  1173. end
  1174. table.remove(RAIN, 1)
  1175. if IMPACT == true then
  1176. DROP.OVERLORDAURA.Enabled = false
  1177. MagicSphere(VT(0, 0, 0), 25, DROP.CFrame, BRICKC("Gold").Color, VT(POWER, POWER, POWER) / 2)
  1178. killnearest(DROP.Position, POWER * 5, 500)
  1179. Debris:AddItem(DROP, 5)
  1180. else
  1181. DROP:remove()
  1182. end
  1183. end))
  1184. end
  1185. repeat
  1186. Swait()
  1187. until #RAIN == 0
  1188. for i = 1, 45 do
  1189. Swait()
  1190. CENTER.Size = CENTER.Size - VT(POWER, 0, POWER)
  1191. CENTER.CFrame = CENTER.CFrame * ANGLES(RAD(0), RAD(i), RAD(0))
  1192. end
  1193. CENTER:remove()
  1194. end
  1195.  
  1196. function Banish(Foe)
  1197. if Foe then
  1198. coroutine.resume(coroutine.create(function()
  1199. --if game.Players:FindFirstChild(Foe.Name) then
  1200. table.insert(TOBANISH,Foe.Name)
  1201. printbye(Foe.Name)
  1202. --end
  1203. Foe.Archivable = true
  1204. local CLONE = Foe:Clone()
  1205. Foe:Destroy()
  1206. CLONE.Parent = Effects
  1207. CLONE:BreakJoints()
  1208. local MATERIALS = {"Glass","Neon"}
  1209. for _, c in pairs(CLONE:GetDescendants()) do
  1210. if c:IsA("BasePart") then
  1211. if c.Name == "Torso" or c.Name == "UpperTorso" or c == CLONE.PrimaryPart then
  1212. CreateSound(340722848, c, 10, 1, false)
  1213. end
  1214. c.Anchored = true
  1215. c.Material = MATERIALS[MRANDOM(1,2)]
  1216. c.Color = C3(1,0,0)
  1217. if c.ClassName == "MeshPart" then
  1218. c.TextureID = ""
  1219. end
  1220. if c:FindFirstChildOfClass("SpecialMesh") then
  1221. c:FindFirstChildOfClass("SpecialMesh").TextureId = ""
  1222. end
  1223. if c:FindFirstChildOfClass("Decal") then
  1224. c:FindFirstChildOfClass("Decal"):remove()
  1225. end
  1226. c.Name = "Banished"
  1227. c.CanCollide = false
  1228. else
  1229. c:remove()
  1230. end
  1231. end
  1232. local A = false
  1233. for i = 1, 35 do
  1234. if A == false then
  1235. A = true
  1236. elseif A == true then
  1237. A = false
  1238. end
  1239. for _, c in pairs(CLONE:GetDescendants()) do
  1240. if c:IsA("BasePart") then
  1241. c.Anchored = true
  1242. c.Material = MATERIALS[MRANDOM(1,2)]
  1243. if A == false then
  1244. c.CFrame = c.CFrame*CF(MRANDOM(-45,45)/45,MRANDOM(-45,45)/45,MRANDOM(-45,45)/45)
  1245. elseif A == true then
  1246. c.CFrame = c.CFrame*CF(MRANDOM(-45,45)/45,MRANDOM(-45,45)/45,MRANDOM(-45,45)/45)
  1247. end
  1248. end
  1249. end
  1250. Swait()
  1251. end
  1252. CLONE:remove()
  1253. end))
  1254. end
  1255. end
  1256.  
  1257. function ApplyAoE(POSITION,RANGE,ISBANISH)
  1258. local CHILDREN = workspace:GetDescendants()
  1259. for index, CHILD in pairs(CHILDREN) do
  1260. if CHILD.ClassName == "Model" and CHILD ~= Character then
  1261. local HUM = CHILD:FindFirstChildOfClass("Humanoid")
  1262. if HUM then
  1263. local TORSO = CHILD:FindFirstChild("Torso") or CHILD:FindFirstChild("UpperTorso")
  1264. if TORSO then
  1265. if (TORSO.Position - POSITION).Magnitude <= RANGE then
  1266. if ISBANISH == true then
  1267. Banish(CHILD)
  1268. else
  1269. if ISBANISH == "Gravity" then
  1270. HUM.PlatformStand = true
  1271. if TORSO:FindFirstChild("V3BanishForce"..Player.Name) then
  1272. local grav = Instance.new("BodyPosition",TORSO)
  1273. grav.D = 15
  1274. grav.P = 20000
  1275. grav.maxForce = Vector3.new(math.huge,math.huge,math.huge)
  1276. grav.position = TORSO.Position
  1277. grav.Name = "V3BanishForce"..Player.Name
  1278. else
  1279. TORSO:FindFirstChild("V3BanishForce"..Player.Name).position = TORSO.Position+VT(0,0.3,0)
  1280. TORSO.RotVelocity = VT(MRANDOM(-25,25),MRANDOM(-25,25),MRANDOM(-25,25))
  1281. end
  1282. else
  1283. HUM.PlatformStand = false
  1284. end
  1285. end
  1286. elseif ISBANISH == "Gravity" then
  1287. if TORSO:FindFirstChild("V3BanishForce"..Player.Name) then
  1288. TORSO:FindFirstChild("V3BanishForce"..Player.Name):remove()
  1289. HUM.PlatformStand = false
  1290. end
  1291. end
  1292. end
  1293. end
  1294. end
  1295. end
  1296. end
  1297.  
  1298. --//=================================\\
  1299. --|| ATTACK FUNCTIONS AND STUFF
  1300. --\\=================================//
  1301.  
  1302. function Hop()
  1303. ATTACK = true
  1304. Rooted = false
  1305. local O1 = MagicRing()
  1306. local O2 = MagicRing()
  1307. local POS = VT(RootPart.Position.X, Mouse.Hit.p.Y + 6, RootPart.Position.Z)
  1308. O1.CFrame = RootPart.CFrame * CF(0, 0, -3) * ANGLES(RAD(90), RAD(0), RAD(0))
  1309. O2.CFrame = CF(Mouse.Hit.p + VT(0, 6, 0), POS) * ANGLES(RAD(90), RAD(0), RAD(0))
  1310. local ROOT = CreatePart(3, Effects, "Neon", 0, 1, "Really red", "Warphole", VT(0, 0, 0))
  1311. ROOT.CFrame = CF(O2.Position, RootPart.Position)
  1312. CreateSound("814168787", O1, 10, 0.7)
  1313. CreateSound("814168787", O2, 10, 0.7)
  1314. for i = 1, 75 do
  1315. Swait()
  1316. O1.Size = O1.Size + VT(0.15, 0, 0.15)
  1317. O1.CFrame = RootPart.CFrame * CF(0, 0, -3) * ANGLES(RAD(90), RAD(i), RAD(0))
  1318. O2.Size = O2.Size + VT(0.15, 0, 0.15)
  1319. O2.CFrame = O2.CFrame * ANGLES(RAD(0), RAD(i), RAD(0))
  1320. 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)
  1321. 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)
  1322. 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)
  1323. 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)
  1324. 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)
  1325. 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)
  1326. end
  1327. Rooted = true
  1328. UNANCHOR = false
  1329. RootPart.Anchored = true
  1330. VALUE1 = true
  1331. for i = 1, 15 do
  1332. Swait()
  1333. RootPart.CFrame = RootPart.CFrame * CF(0, 0, -0.13)
  1334. 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)
  1335. 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)
  1336. 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)
  1337. 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)
  1338. 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)
  1339. 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)
  1340. end
  1341. RootPart.CFrame = ROOT.CFrame
  1342. ROOT:remove()
  1343. for i = 1, 15 do
  1344. Swait()
  1345. RootPart.CFrame = RootPart.CFrame * CF(0, 0, -0.5)
  1346. 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)
  1347. 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)
  1348. 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)
  1349. 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)
  1350. 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)
  1351. 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)
  1352. end
  1353. VALUE1 = false
  1354. coroutine.resume(coroutine.create(function()
  1355. for i = 1, 75 do
  1356. Swait()
  1357. O1.Size = O1.Size - VT(0.15, 0, 0.15)
  1358. O1.CFrame = O1.CFrame * ANGLES(RAD(0), RAD(i), RAD(0))
  1359. O2.Size = O2.Size - VT(0.15, 0, 0.15)
  1360. O2.CFrame = O2.CFrame * ANGLES(RAD(0), RAD(i), RAD(0))
  1361. end
  1362. O1:remove()
  1363. O2:remove()
  1364. end))
  1365. UNANCHOR = true
  1366. RootPart.Anchored = false
  1367. ATTACK = false
  1368. Rooted = false
  1369. end
  1370.  
  1371. function Morning_Star()
  1372. ATTACK = true
  1373. Rooted = true
  1374. for i=0, 1, 0.1 / Animation_Speed do
  1375. Swait()
  1376. 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)
  1377. 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)
  1378. RightShoulder.C0 = Clerp(RightShoulder.C0, CF(1.5, 0.5, -0.5) * ANGLES(RAD(0), RAD(0), RAD(-85)) * RIGHTSHOULDERC0, 1 / Animation_Speed)
  1379. LeftShoulder.C0 = Clerp(LeftShoulder.C0, CF(-1.5, 0.15, -0.5) * ANGLES(RAD(-15), RAD(0), RAD(85)) * LEFTSHOULDERC0, 1 / Animation_Speed)
  1380. 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)
  1381. 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)
  1382. end
  1383. coroutine.resume(coroutine.create(function()
  1384. local POS = Mouse.Hit.p
  1385. local RAY = CreatePart(3, Effects, "Neon", 0, 0, "Really red", "Strike", VT(0,2000,0))
  1386. MakeForm(RAY,"Cyl")
  1387. local SPHERE = CreatePart(3, Effects, "Neon", 0, 0, "Really red", "Strike", VT(0,0,0))
  1388. MakeForm(SPHERE,"Ball")
  1389. local SHIELD = CreatePart(3, Effects, "Neon", 0, 0.5, "Really black", "Strike", VT(0,0,0))
  1390. MakeForm(SHIELD,"Ball")
  1391. SHIELD.CFrame = CF(POS)
  1392. RAY.CFrame = CF(POS)
  1393. SPHERE.CFrame = CF(POS)
  1394. CreateSound(440145570, SPHERE, 10, 0.8, false)
  1395. CreateSound(415700134, SPHERE, 10, 0.8, false)
  1396. for i = 1, 200 do
  1397. Swait()
  1398. 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})
  1399. RAY.Size = RAY.Size + VT(0.05,0,0.05)
  1400. SPHERE.Size = SPHERE.Size + VT(2,2,2)
  1401. SHIELD.Size = SPHERE.Size + VT(3,3,3)
  1402. ApplyAoE(SPHERE.Position,SPHERE.Size.X/2,true)
  1403. end
  1404. for i = 1, 45 do
  1405. Swait()
  1406. RAY.Transparency = RAY.Transparency + 1/45
  1407. SPHERE.Transparency = RAY.Transparency
  1408. SHIELD.Transparency = SPHERE.Transparency + 1/45
  1409. end
  1410. RAY:remove()
  1411. SHIELD:remove()
  1412. SPHERE:remove()
  1413. end))
  1414. for i=0, 1, 0.1 / Animation_Speed do
  1415. Swait()
  1416. 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)
  1417. 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)
  1418. RightShoulder.C0 = Clerp(RightShoulder.C0, CF(1.5, 0.5, -0.15) * ANGLES(RAD(65), RAD(-45), RAD(85)) * RIGHTSHOULDERC0, 1 / Animation_Speed)
  1419. LeftShoulder.C0 = Clerp(LeftShoulder.C0, CF(-1.5, 0.5, -0.15) * ANGLES(RAD(65), RAD(45), RAD(-85)) * LEFTSHOULDERC0, 1 / Animation_Speed)
  1420. 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)
  1421. 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)
  1422. end
  1423. ATTACK = false
  1424. Rooted = false
  1425. end
  1426.  
  1427. function Banisher_Bullet()
  1428. ATTACK = true
  1429. Rooted = false
  1430. for i=0, 0.05, 0.1 / Animation_Speed do
  1431. Swait()
  1432. turnto(Mouse.Hit.p)
  1433. RootJoint.C0 = Clerp(RootJoint.C0,ROOTC0 * CF(0, 0, 0) * ANGLES(RAD(0), RAD(0), RAD(90)), 0.5 / Animation_Speed)
  1434. Neck.C0 = Clerp(Neck.C0, NECKC0 * CF(0, 0, 0) * ANGLES(RAD(0), RAD(0), RAD(-90)), 0.5 / Animation_Speed)
  1435. RightShoulder.C0 = Clerp(RightShoulder.C0, CF(1.5, 0.5, 0) * ANGLES(RAD(90), RAD(0), RAD(90)) * RIGHTSHOULDERC0, 0.5 / Animation_Speed)
  1436. LeftShoulder.C0 = Clerp(LeftShoulder.C0, CF(-1.5, 0.6, 0) * ANGLES(RAD(-45), RAD(0), RAD(45)) * LEFTSHOULDERC0, 0.5 / Animation_Speed)
  1437. 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)
  1438. 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)
  1439. end
  1440. repeat
  1441. for i=0, 0.05, 0.1 / Animation_Speed do
  1442. Swait()
  1443. turnto(Mouse.Hit.p)
  1444. RootJoint.C0 = Clerp(RootJoint.C0,ROOTC0 * CF(0, 0, 0) * ANGLES(RAD(0), RAD(0), RAD(90)), 0.5 / Animation_Speed)
  1445. Neck.C0 = Clerp(Neck.C0, NECKC0 * CF(0, 0, 0) * ANGLES(RAD(0), RAD(0), RAD(-90)), 0.5 / Animation_Speed)
  1446. RightShoulder.C0 = Clerp(RightShoulder.C0, CF(1.5, 0.5, 0) * ANGLES(RAD(90), RAD(0), RAD(90)) * RIGHTSHOULDERC0, 0.5 / Animation_Speed)
  1447. LeftShoulder.C0 = Clerp(LeftShoulder.C0, CF(-1.5, 0.6, 0) * ANGLES(RAD(-45), RAD(0), RAD(45)) * LEFTSHOULDERC0, 0.5 / Animation_Speed)
  1448. 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)
  1449. 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)
  1450. end
  1451. local HIT,POS = CastProperRay(Hole.Position, Mouse.Hit.p, 1000, Character)
  1452. SpawnTrail(Hole.Position,POS)
  1453. if HIT ~= nil then
  1454. if HIT.Parent ~= workspace and HIT.Parent.ClassName ~= "Folder" then
  1455. Banish(HIT.Parent)
  1456. end
  1457. end
  1458. 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})
  1459. 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})
  1460. 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})
  1461. 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})
  1462. for i=0, 0.05, 0.1 / Animation_Speed do
  1463. Swait()
  1464. RootJoint.C0 = Clerp(RootJoint.C0,ROOTC0 * CF(0, 0, 0) * ANGLES(RAD(0), RAD(0), RAD(90)), 0.5 / Animation_Speed)
  1465. Neck.C0 = Clerp(Neck.C0, NECKC0 * CF(0, 0, 0) * ANGLES(RAD(0), RAD(0), RAD(-90)), 0.25 / Animation_Speed)
  1466. RightShoulder.C0 = Clerp(RightShoulder.C0, CF(1.5, 0.5, 0) * ANGLES(RAD(130), RAD(15), RAD(90)) * RIGHTSHOULDERC0, 0.5 / Animation_Speed)
  1467. LeftShoulder.C0 = Clerp(LeftShoulder.C0, CF(-1.5, 0.6, 0) * ANGLES(RAD(-45), RAD(0), RAD(45)) * LEFTSHOULDERC0, 0.5 / Animation_Speed)
  1468. 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)
  1469. 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)
  1470. end
  1471. until KEYHOLD == false
  1472. ATTACK = false
  1473. Rooted = false
  1474. end
  1475.  
  1476. function AttackTemplate()
  1477. ATTACK = true
  1478. Rooted = false
  1479. for i=0, 1, 0.1 / Animation_Speed do
  1480. Swait()
  1481. 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)
  1482. 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)
  1483. RightShoulder.C0 = Clerp(RightShoulder.C0, CF(1.5, 0.5, 0) * ANGLES(RAD(0), RAD(0), RAD(12)) * RIGHTSHOULDERC0, 0.15 / Animation_Speed)
  1484. LeftShoulder.C0 = Clerp(LeftShoulder.C0, CF(-1.5, 0.5, 0) * ANGLES(RAD(0), RAD(0), RAD(-12)) * LEFTSHOULDERC0, 0.15 / Animation_Speed)
  1485. 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)
  1486. 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)
  1487. end
  1488. ATTACK = false
  1489. Rooted = false
  1490. end
  1491.  
  1492. --//=================================\\
  1493. --|| ASSIGN THINGS TO KEYS
  1494. --\\=================================//
  1495.  
  1496. function MouseDown(Mouse)
  1497. if ATTACK == false then
  1498. end
  1499. end
  1500.  
  1501. function MouseUp(Mouse)
  1502. HOLD = false
  1503. end
  1504.  
  1505. function KeyDown(Key)
  1506. KEYHOLD = true
  1507. if Key == "z" and ATTACK == false then
  1508. Banisher_Bullet()
  1509. end
  1510.  
  1511. if Key == "b" and ATTACK == false then
  1512. Morning_Star()
  1513. end
  1514.  
  1515. if Key == "c" and ATTACK == false then
  1516. Hop()
  1517. end
  1518.  
  1519. if Key == "v" and ATTACK == false then
  1520. end
  1521.  
  1522. if Key == "x" and ATTACK == false then
  1523. end
  1524. end
  1525.  
  1526. function KeyUp(Key)
  1527. KEYHOLD = false
  1528. end
  1529.  
  1530. Mouse.Button1Down:connect(function(NEWKEY)
  1531. MouseDown(NEWKEY)
  1532. end)
  1533. Mouse.Button1Up:connect(function(NEWKEY)
  1534. MouseUp(NEWKEY)
  1535. end)
  1536. Mouse.KeyDown:connect(function(NEWKEY)
  1537. KeyDown(NEWKEY)
  1538. end)
  1539. Mouse.KeyUp:connect(function(NEWKEY)
  1540. KeyUp(NEWKEY)
  1541. end)
  1542.  
  1543. --//=================================\\
  1544. --\\=================================//
  1545.  
  1546.  
  1547. Humanoid.Changed:connect(function(Jump)
  1548. if Jump == "Jump" and (Disable_Jump == true) then
  1549. Humanoid.Jump = false
  1550. end
  1551. end)
  1552.  
  1553. while true do
  1554. Swait()
  1555. script.Parent = WEAPONGUI
  1556. for _,v in next, Humanoid:GetPlayingAnimationTracks() do
  1557. v:Stop();
  1558. end
  1559. ANIMATE.Parent = nil
  1560. SINE = SINE + CHANGE*1.5
  1561. local TORSOVELOCITY = (RootPart.Velocity * VT(1, 0, 1)).magnitude
  1562. local TORSOVERTICALVELOCITY = RootPart.Velocity.y
  1563. local HITFLOOR = Raycast(RootPart.Position, (CF(RootPart.Position, RootPart.Position + VT(0, -1, 0))).lookVector, 4*SIZE, Character)
  1564. local WALKSPEEDVALUE = 10 / (Humanoid.WalkSpeed / 16)
  1565. if ANIM == "Walk" and TORSOVELOCITY > 1 then
  1566. 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)
  1567. 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)
  1568. RightHip.C1 = Clerp(RightHip.C1, CF(0.5*SIZE, 0.875*SIZE - 0.125 * SIN(SINE / WALKSPEEDVALUE)*SIZE - 0.15 * COS(SINE / WALKSPEEDVALUE*2), 0 +0.5+ 0.2 * COS(SINE / WALKSPEEDVALUE)) * ANGLES(RAD(0), RAD(90), RAD(0)) * ANGLES(RAD(0) - RightLeg.RotVelocity.Y / 75, RAD(0), RAD(25+80 * COS(SINE / WALKSPEEDVALUE))), 0.2 * (Humanoid.WalkSpeed / 16) / Animation_Speed)
  1569. LeftHip.C1 = Clerp(LeftHip.C1, CF(-0.5*SIZE, 0.875*SIZE + 0.125 * SIN(SINE / WALKSPEEDVALUE)*SIZE - 0.15 * COS(SINE / WALKSPEEDVALUE*2), 0 +0.5+ -0.2 * COS(SINE / WALKSPEEDVALUE)) * ANGLES(RAD(0), RAD(-90), RAD(0)) * ANGLES(RAD(0) + LeftLeg.RotVelocity.Y / 75, RAD(0), RAD(-25+80 * COS(SINE / WALKSPEEDVALUE))), 0.2 * (Humanoid.WalkSpeed / 16) / Animation_Speed)
  1570. elseif (ANIM ~= "Walk") or (TORSOVELOCITY < 1) then
  1571. RootJoint.C1 = Clerp(RootJoint.C1, ROOTC0 * CF(0, 0, 0) * ANGLES(RAD(0), RAD(0), RAD(0)), 0.2 / Animation_Speed)
  1572. Neck.C1 = Clerp(Neck.C1, CF(0, -0.5, 0) * ANGLES(RAD(-90), RAD(0), RAD(180)) * ANGLES(RAD(0), RAD(0), RAD(0)), 1 / Animation_Speed)
  1573. RightHip.C1 = Clerp(RightHip.C1, CF(0.5*SIZE, 1*SIZE, 0) * ANGLES(RAD(0), RAD(90), RAD(0)) * ANGLES(RAD(0), RAD(0), RAD(0)), 1 / Animation_Speed)
  1574. LeftHip.C1 = Clerp(LeftHip.C1, CF(-0.5*SIZE, 1*SIZE, 0) * ANGLES(RAD(0), RAD(-90), RAD(0)) * ANGLES(RAD(0), RAD(0), RAD(0)), 1 / Animation_Speed)
  1575. end
  1576. if TORSOVERTICALVELOCITY > 1 and HITFLOOR == nil then
  1577. ANIM = "Jump"
  1578. if ATTACK == false then
  1579. RootJoint.C0 = Clerp(RootJoint.C0, ROOTC0 * CF(0*SIZE, 0*SIZE, 0*SIZE) * ANGLES(RAD(0), RAD(0), RAD(0)), 1 / Animation_Speed)
  1580. Neck.C0 = Clerp(Neck.C0, NECKC0 * CF(0*SIZE, 0*SIZE, 0 + ((1.1*SIZE) - 1)) * ANGLES(RAD(-20), RAD(0), RAD(0)), 1 / Animation_Speed)
  1581. RightShoulder.C0 = Clerp(RightShoulder.C0, CF(1.5*SIZE, 0.5*SIZE, 0*SIZE) * ANGLES(RAD(-40), RAD(0), RAD(20)) * RIGHTSHOULDERC0, 1 / Animation_Speed)
  1582. LeftShoulder.C0 = Clerp(LeftShoulder.C0, CF(-1.5*SIZE, 0.5*SIZE, 0*SIZE) * ANGLES(RAD(-40), RAD(0), RAD(-20)) * LEFTSHOULDERC0, 1 / Animation_Speed)
  1583. RightHip.C0 = Clerp(RightHip.C0, CF(1*SIZE, -1*SIZE, -0.3*SIZE) * ANGLES(RAD(0), RAD(90), RAD(0)) * ANGLES(RAD(-5), RAD(0), RAD(-20)), 1 / Animation_Speed)
  1584. LeftHip.C0 = Clerp(LeftHip.C0, CF(-1*SIZE, -1*SIZE, -0.3*SIZE) * ANGLES(RAD(0), RAD(-90), RAD(0)) * ANGLES(RAD(-5), RAD(0), RAD(20)), 1 / Animation_Speed)
  1585. end
  1586. elseif TORSOVERTICALVELOCITY < -1 and HITFLOOR == nil then
  1587. ANIM = "Fall"
  1588. if ATTACK == false then
  1589. RootJoint.C0 = Clerp(RootJoint.C0, ROOTC0 * CF(0*SIZE, 0*SIZE, 0*SIZE) * ANGLES(RAD(0), RAD(0), RAD(0)), 1 / Animation_Speed)
  1590. Neck.C0 = Clerp(Neck.C0, NECKC0 * CF(0*SIZE, 0*SIZE, 0 + ((1.1*SIZE) - 1)) * ANGLES(RAD(20), RAD(0), RAD(0)), 1 / Animation_Speed)
  1591. RightShoulder.C0 = Clerp(RightShoulder.C0, CF(1.5*SIZE, 0.5*SIZE, 0*SIZE) * ANGLES(RAD(0), RAD(0), RAD(60)) * RIGHTSHOULDERC0, 1 / Animation_Speed)
  1592. LeftShoulder.C0 = Clerp(LeftShoulder.C0, CF(-1.5*SIZE, 0.5*SIZE, 0*SIZE) * ANGLES(RAD(0), RAD(0), RAD(-60)) * LEFTSHOULDERC0, 1 / Animation_Speed)
  1593. RightHip.C0 = Clerp(RightHip.C0, CF(1*SIZE, -1*SIZE, 0*SIZE) * ANGLES(RAD(0), RAD(90), RAD(0)) * ANGLES(RAD(0), RAD(0), RAD(20)), 1 / Animation_Speed)
  1594. LeftHip.C0 = Clerp(LeftHip.C0, CF(-1*SIZE, -1*SIZE, 0*SIZE) * ANGLES(RAD(0), RAD(-90), RAD(0)) * ANGLES(RAD(0), RAD(0), RAD(10)), 1 / Animation_Speed)
  1595. end
  1596. elseif TORSOVELOCITY < 1 and HITFLOOR ~= nil then
  1597. ANIM = "Idle"
  1598. if ATTACK == false then
  1599. RootJoint.C0 = Clerp(RootJoint.C0,ROOTC0 * CF(0 - 0.04 * SIN(SINE / 24)*SIZE, 0 + 0.04 * SIN(SINE / 12)*SIZE, 0 + 0.05*SIZE * COS(SINE / 12)) * ANGLES(RAD(0 - 2.5 * SIN(SINE / 12)), RAD(0 - 2.5 * SIN(SINE / 24)), RAD(0)), 1 / Animation_Speed)
  1600. Neck.C0 = Clerp(Neck.C0, NECKC0 * CF(0, 0, 0 + ((1.1*SIZE) - 1)) * ANGLES(RAD(25 - 4 * SIN(SINE / 12)), RAD(0), RAD(0)), 1 / Animation_Speed)
  1601. RightShoulder.C0 = Clerp(RightShoulder.C0, CF(1.25*SIZE, 0.5*SIZE, 0.5*SIZE) * ANGLES(RAD(-35), RAD(-25 + 2.5 * SIN(SINE / 12)), RAD(-55 + 2.5 * SIN(SINE / 12))) * RIGHTSHOULDERC0, 1 / Animation_Speed)
  1602. LeftShoulder.C0 = Clerp(LeftShoulder.C0, CF(-1.25*SIZE, 0.5*SIZE, 0.5*SIZE) * ANGLES(RAD(-35), RAD(25 - 2.5 * SIN(SINE / 12)), RAD(55 - 2.5 * SIN(SINE / 12))) * LEFTSHOULDERC0, 1 / Animation_Speed)
  1603. RightHip.C0 = Clerp(RightHip.C0, CF(1*SIZE, -1*SIZE + 0.06 * SIN(SINE / 24) - 0.05*SIZE * COS(SINE / 12), -0.01*SIZE) * ANGLES(RAD(0 - 2.5 * SIN(SINE / 12)), RAD(75), RAD(0)) * ANGLES(RAD(-2 - 2.5 * SIN(SINE / 24)), RAD(0), RAD(0)), 1 / Animation_Speed)
  1604. LeftHip.C0 = Clerp(LeftHip.C0, CF(-1*SIZE, -1*SIZE - 0.06 * SIN(SINE / 24) - 0.05*SIZE * COS(SINE / 12), -0.01*SIZE) * ANGLES(RAD(0 - 2.5 * SIN(SINE / 12)), RAD(-75), RAD(0)) * ANGLES(RAD(-2 + 2.5 * SIN(SINE / 24)), RAD(0), RAD(0)), 1 / Animation_Speed)
  1605. end
  1606. elseif TORSOVELOCITY > 1 and HITFLOOR ~= nil then
  1607. ANIM = "Walk"
  1608. if ATTACK == false then
  1609. if Humanoid.WalkSpeed <= 30 then
  1610. RootJoint.C0 = Clerp(RootJoint.C0,ROOTC0 * CF(0*SIZE, 0*SIZE, -0.1*SIZE) * ANGLES(RAD(5), RAD(0), RAD(0)), 1 / Animation_Speed)
  1611. Neck.C0 = Clerp(Neck.C0, NECKC0 * CF(0, 0, 0 + ((1.1*SIZE) - 1)) * ANGLES(RAD(15 - 1 * SIN(SINE / (WALKSPEEDVALUE / 2))), RAD(0), RAD(0)), 1/ Animation_Speed)
  1612. RightShoulder.C0 = Clerp(RightShoulder.C0, CF(1.25*SIZE, 0.5*SIZE, 0.5*SIZE) * ANGLES(RAD(-35), RAD(-25 + 2.5 * SIN(SINE / WALKSPEEDVALUE)), RAD(-55 + 2.5 * SIN(SINE / WALKSPEEDVALUE))) * RIGHTSHOULDERC0, 1 / Animation_Speed)
  1613. LeftShoulder.C0 = Clerp(LeftShoulder.C0, CF(-1.25*SIZE, 0.5*SIZE, 0.5*SIZE) * ANGLES(RAD(-35), RAD(25 - 2.5 * SIN(SINE / WALKSPEEDVALUE)), RAD(55 - 2.5 * SIN(SINE / WALKSPEEDVALUE))) * LEFTSHOULDERC0, 1 / Animation_Speed)
  1614. RightHip.C0 = Clerp(RightHip.C0, CF(1*SIZE , -1*SIZE, 0*SIZE) * ANGLES(RAD(0), RAD(85), RAD(0)) * ANGLES(RAD(0), RAD(0), RAD(0)), 2 / Animation_Speed)
  1615. LeftHip.C0 = Clerp(LeftHip.C0, CF(-1*SIZE, -1*SIZE, 0*SIZE) * ANGLES(RAD(0), RAD(-85), RAD(0)) * ANGLES(RAD(0), RAD(0), RAD(0)), 2 / Animation_Speed)
  1616. end
  1617. end
  1618. end
  1619. unanchor()
  1620. Humanoid.MaxHealth = "inf"
  1621. Humanoid.Health = "inf"
  1622. if Rooted == false then
  1623. Disable_Jump = false
  1624. Humanoid.WalkSpeed = Speed
  1625. elseif Rooted == true then
  1626. Disable_Jump = true
  1627. Humanoid.WalkSpeed = 0
  1628. end
  1629. sick.Parent = Torso
  1630. sick:resume()
  1631. sick.Volume = 5
  1632. sick.Pitch = 1
  1633. sick.SoundId = "rbxassetid://924339757"
  1634. sick.Name = "BanishV3Music"
  1635. end
  1636.  
  1637. --//=================================\\
  1638. --\\=================================//
  1639.  
  1640.  
  1641.  
  1642.  
  1643.  
  1644. --//====================================================\\--
  1645. --|| END OF SCRIPT
  1646. --\\====================================================//--
Advertisement
Add Comment
Please, Sign In to add comment
Advertisement