Advertisement
AK2GUCXUL

Untitled

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