Advertisement
DarkScriptZEditors

Virus V2 FE

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