Advertisement
bmrx13

wat

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