Advertisement
lafur

Untitled

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