Advertisement
SniperZazzy

Untitled

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