Advertisement
cobblecorn

Untitled

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