voyqgo

Test1

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