Advertisement
Goo345

fdsd

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