Advertisement
uor

Untitled

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