Advertisement
1x11337

Unkown V2.4.1

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