Advertisement
SakuraScriptLab

Pain V2 SS

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