Advertisement
Christoffer07700Extr

Chain Banisher

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