Advertisement
EnderPlayBro

cat

May 28th, 2019
215
0
Never
Not a member of Pastebin yet? Sign Up, it unlocks many cool features!
text 119.15 KB | None | 0 0
  1. if game:GetService("RunService"):IsClient() then error("Script must be server-side in order to work; use h/ and not hl/") end
  2. local Player,game,owner = owner,game
  3. local RealPlayer = Player
  4. do
  5. local rp = RealPlayer
  6. script.Parent = rp.Character
  7.  
  8. --RemoteEvent for communicating
  9. local Event = Instance.new("RemoteEvent")
  10. Event.Name = "UserInput_Event"
  11.  
  12. --Fake event to make stuff like Mouse.KeyDown work
  13. local function fakeEvent()
  14. local t = {_fakeEvent=true,Functions={},Connect=function(self,f)table.insert(self.Functions,f) end}
  15. t.connect = t.Connect
  16. return t
  17. end
  18.  
  19. --Creating fake input objects with fake variables
  20. local m = {Target=nil,Hit=CFrame.new(),KeyUp=fakeEvent(),KeyDown=fakeEvent(),Button1Up=fakeEvent(),Button1Down=fakeEvent()}
  21. local UIS = {InputBegan=fakeEvent(),InputEnded=fakeEvent()}
  22. local CAS = {Actions={},BindAction=function(self,name,fun,touch,...)
  23. CAS.Actions[name] = fun and {Name=name,Function=fun,Keys={...}} or nil
  24. end}
  25. --Merged 2 functions into one by checking amount of arguments
  26. CAS.UnbindAction = CAS.BindAction
  27.  
  28. --This function will trigger the events that have been :Connect()'ed
  29. local function te(self,ev,...)
  30. local t = m[ev]
  31. if t and t._fakeEvent then
  32. for _,f in pairs(t.Functions) do
  33. f(...)
  34. end
  35. end
  36. end
  37. m.TrigEvent = te
  38. UIS.TrigEvent = te
  39.  
  40. Event.OnServerEvent:Connect(function(plr,io)
  41. if plr~=rp then return end
  42. m.Target = io.Target
  43. m.Hit = io.Hit
  44. if not io.isMouse then
  45. local b = io.UserInputState == Enum.UserInputState.Begin
  46. if io.UserInputType == Enum.UserInputType.MouseButton1 then
  47. return m:TrigEvent(b and "Button1Down" or "Button1Up")
  48. end
  49. for _,t in pairs(CAS.Actions) do
  50. for _,k in pairs(t.Keys) do
  51. if k==io.KeyCode then
  52. t.Function(t.Name,io.UserInputState,io)
  53. end
  54. end
  55. end
  56. m:TrigEvent(b and "KeyDown" or "KeyUp",io.KeyCode.Name:lower())
  57. UIS:TrigEvent(b and "InputBegan" or "InputEnded",io,false)
  58. end
  59. end)
  60. Event.Parent = NLS([==[
  61. local Player = owner
  62. local Event = script:WaitForChild("UserInput_Event")
  63.  
  64. local UIS = game:GetService("UserInputService")
  65. local input = function(io,a)
  66. if a then return end
  67. --Since InputObject is a client-side instance, we create and pass table instead
  68. Event:FireServer({KeyCode=io.KeyCode,UserInputType=io.UserInputType,UserInputState=io.UserInputState,Hit=Mouse.Hit,Target=Mouse.Target})
  69. end
  70. UIS.InputBegan:Connect(input)
  71. UIS.InputEnded:Connect(input)
  72.  
  73. local h,t
  74. --Give the server mouse data 30 times every second, but only if the values changed
  75. --If player is not moving their mouse, client won't fire events
  76. while wait(1/30) do
  77. if h~=Mouse.Hit or t~=Mouse.Target then
  78. h,t=Mouse.Hit,Mouse.Target
  79. Event:FireServer({isMouse=true,Target=t,Hit=h})
  80. end
  81. end]==],Player.Character)
  82.  
  83. ----Sandboxed game object that allows the usage of client-side methods and services
  84. --Real game object
  85. local _rg = game
  86.  
  87. --Metatable for fake service
  88. local fsmt = {
  89. __index = function(self,k)
  90. local s = rawget(self,"_RealService")
  91. if s then return s[k] end
  92. end,
  93. __newindex = function(self,k,v)
  94. local s = rawget(self,"_RealService")
  95. if s then s[k]=v end
  96. end,
  97. __call = function(self,...)
  98. local s = rawget(self,"_RealService")
  99. if s then return s(...) end
  100. end
  101. }
  102. local function FakeService(t,RealService)
  103. t._RealService = typeof(RealService)=="string" and _rg:GetService(RealService) or RealService
  104. return setmetatable(t,fsmt)
  105. end
  106.  
  107. --Fake game object
  108. local g = {
  109. GetService = function(self,s)
  110. return self[s]
  111. end,
  112. Players = FakeService({
  113. LocalPlayer = FakeService({GetMouse=function(self)return m end},Player)
  114. },"Players"),
  115. UserInputService = FakeService(UIS,"UserInputService"),
  116. ContextActionService = FakeService(CAS,"ContextActionService"),
  117. }
  118. rawset(g.Players,"localPlayer",g.Players.LocalPlayer)
  119. g.service = g.GetService
  120.  
  121. g.RunService = FakeService({
  122. RenderStepped = _rg:GetService("RunService").Heartbeat,
  123. BindToRenderStep = function(self,name,_,fun)
  124. self._btrs[name] = self.Heartbeat:Connect(fun)
  125. end,
  126. UnbindFromRenderStep = function(self,name)
  127. self._btrs[name]:Disconnect()
  128. end,
  129. },"RunService")
  130.  
  131. setmetatable(g,{
  132. __index=function(self,s)
  133. return _rg:GetService(s) or typeof(_rg[s])=="function"
  134. and function(_,...)return _rg[s](_rg,...)end or _rg[s]
  135. end,
  136. __newindex = fsmt.__newindex,
  137. __call = fsmt.__call
  138. })
  139. --Changing owner to fake player object to support owner:GetMouse()
  140. game,owner = g,g.Players.LocalPlayer
  141. end
  142.  
  143. RemoteEvent = Instance.new("RemoteEvent")
  144. RemoteEvent.Name = "PlayerWaiting.."
  145. RemoteEvent.Parent = game.ReplicatedStorage
  146. Debris = game:GetService("Debris")
  147. PhysicsService = game:GetService("PhysicsService")
  148. TweenService = game:GetService("TweenService")
  149. success, failure = pcall(function()
  150. PhysicsService:CreateCollisionGroup("TopLimbs")
  151. PhysicsService:CreateCollisionGroup("BottomLimbs")
  152. PhysicsService:CreateCollisionGroup("BignSmallLimbs")
  153. PhysicsService:CollisionGroupSetCollidable("TopLimbs", "BignSmallLimbs", false)
  154. PhysicsService:CollisionGroupSetCollidable("BottomLimbs", "BignSmallLimbs", false)
  155. end)
  156. interruptingaction = false
  157. Character = nil
  158. Playerr = nil
  159. Tail = nil
  160.  
  161. RShoulder = nil
  162. LShoulder = nil
  163. RHip = nil
  164. LHip = nil
  165. Neck = nil
  166. RJoint = nil
  167.  
  168. shiftdown = false
  169. walking = false
  170. running = false
  171. action = false
  172. enabled = false
  173. shotavailable = true
  174. GunEquipped = false
  175. shoutplaying = false
  176. shooting = false
  177. music = false
  178. freefall = false
  179. grabbed = false
  180. on = "true"
  181.  
  182. Orange = Color3.new(244 / 255, 119 / 255, 70 / 255)
  183.  
  184. Gun = Instance.new("Part")
  185. Gun.Size = Vector3.new(1, 0.4, 1)
  186. Gun.CanCollide = false
  187.  
  188. GunMesh = Instance.new("SpecialMesh")
  189. GunMesh.MeshId = "http://www.roblox.com/asset/?id=4372594"
  190. GunMesh.Scale = Vector3.new(1.2, 1.2, 1.2)
  191. GunMesh.VertexColor = Vector3.new(1, 1, 1)
  192.  
  193. GunGradient = Instance.new("Decal")
  194. GunGradient.Color3 = Color3.new(1, 1, 1)
  195. GunGradient.Texture = "http://www.roblox.com/asset/?id=156579757"
  196. GunGradient.Face = "Top"
  197.  
  198. GunWeld = Instance.new("Weld")
  199. GunWeld.C1 = CFrame.new(0, 0, 0, 1, 0, 0, 0, 1, 0, 0, 0, 1)
  200. GunWeld.C0 = CFrame.new(0.00025177002, -1.30018997, 4.76837158e-05, 1.00000012, -4.7326088e-05, 8.3854422e-05, -8.38935375e-05, 9.13441181e-06, 1, -4.73186374e-05, -1, 9.13441181e-06)
  201.  
  202. GunMesh.Parent = Gun
  203. GunGradient.Parent = Gun
  204. GunWeld.Parent = Gun
  205.  
  206. Explosion1 = Instance.new("Part")
  207. Explosion1.Shape = "Ball"
  208. Explosion1.Transparency = 0.4
  209. Explosion1.Color = Color3.new(226/255, 155/255, 64/255)
  210. Explosion1.Size = Vector3.new(20.65, 20.65, 20.65)
  211. Explosion1.CanCollide = false
  212. Explosion1.Material = "SmoothPlastic"
  213. Explosion1.Anchored = true
  214. Explosion2 = Instance.new("Part")
  215. Explosion2.Shape = "Ball"
  216. Explosion2.Transparency = 0.5
  217. Explosion2.Color = Color3.new(140/255, 140/255, 22/255)
  218. Explosion2.Size = Vector3.new(15.05, 15.05, 15.05)
  219. Explosion2.CanCollide = false
  220. Explosion2.Material = "SmoothPlastic"
  221. Explosion2.Anchored = true
  222.  
  223. SightModel = Instance.new("Model")
  224. SightModel.Name = "LaserSight"
  225.  
  226. GunHole = Instance.new("Part")
  227. GunHole.Shape = "Cylinder"
  228. GunHole.Material = "SmoothPlastic"
  229. GunHole.Size = Vector3.new(0.15, 0.1, 0.1)
  230. GunHole.CanCollide = false
  231. GunHole.Anchored = false
  232. GunHole.Color = Color3.new(17/255, 17/255, 17/255)
  233. GunHole.Parent = SightModel
  234.  
  235. GunSightBall = Instance.new("Part")
  236. GunSightBall.Shape = "Ball"
  237. GunSightBall.Material = "SmoothPlastic"
  238. GunSightBall.Size = Vector3.new(0.35, 0.35, 0.35)
  239. GunSightBall.CanCollide = false
  240. GunSightBall.Anchored = false
  241. GunSightBall.Color = Color3.new(99/255, 95/255, 98/255)
  242. GunSightBall.Parent = SightModel
  243.  
  244. GunSightCylinder = Instance.new("Part")
  245. GunSightCylinder.Shape = "Cylinder"
  246. GunSightCylinder.Material = "SmoothPlastic"
  247. GunSightCylinder.Size = Vector3.new(0.35, 0.35, 0.35)
  248. GunSightCylinder.CanCollide = false
  249. GunSightCylinder.Anchored = false
  250. GunSightCylinder.Color = Color3.new(99/255, 95/255, 98/255)
  251. GunSightCylinder.Parent = SightModel
  252.  
  253. GunLaser1 = Instance.new("Part")
  254. GunLaser1.Shape = "Cylinder"
  255. GunLaser1.Material = "SmoothPlastic"
  256. GunLaser1.Size = Vector3.new(2.8, 0.05, 0.05)
  257. GunLaser1.CanCollide = false
  258. GunLaser1.Anchored = false
  259. GunLaser1.Color = Color3.new(1, 0, 0)
  260. GunLaser1.Transparency = 1
  261. GunLaser1.Parent = SightModel
  262.  
  263. GunLaser2 = Instance.new("Part")
  264. GunLaser2.Shape = "Cylinder"
  265. GunLaser2.Material = "SmoothPlastic"
  266. GunLaser2.Size = Vector3.new(0.975, 0.05, 0.05)
  267. GunLaser2.CanCollide = false
  268. GunLaser2.Anchored = false
  269. GunLaser2.Color = Color3.new(1, 0, 0)
  270. GunLaser2.Transparency = 1
  271. GunLaser2.Parent = SightModel
  272.  
  273. GunLaser3 = Instance.new("Part")
  274. GunLaser3.Shape = "Cylinder"
  275. GunLaser3.Material = "SmoothPlastic"
  276. GunLaser3.Size = Vector3.new(0.975, 0.05, 0.05)
  277. GunLaser3.CanCollide = false
  278. GunLaser3.Anchored = false
  279. GunLaser3.Color = Color3.new(1, 0, 0)
  280. GunLaser3.Transparency = 1
  281. GunLaser3.Parent = SightModel
  282.  
  283. Laser1Weld = Instance.new("Weld")
  284. Laser1Weld.C0 = CFrame.new(1.36249876, 0, 0, 1, 0, 0, 0, 1, 0, 0, 0, 1)
  285. Laser1Weld.Part0 = GunHole
  286. Laser1Weld.Part1 = GunLaser1
  287. Laser1Weld.Parent = SightModel
  288.  
  289. Laser2Weld = Instance.new("Weld")
  290. Laser2Weld.C0 = CFrame.new(1.88750744, 0, 0, 1, 0, 0, 0, 1, 0, 0, 0, 1)
  291. Laser2Weld.Part0 = GunLaser1
  292. Laser2Weld.Part1 = GunLaser2
  293. Laser2Weld.Parent = SightModel
  294.  
  295. Laser3Weld = Instance.new("Weld")
  296. Laser3Weld.C0 = CFrame.new(0.975002289, 0, 0, 1, 0, 0, 0, 1, 0, 0, 0, 1)
  297. Laser3Weld.Part0 = GunLaser2
  298. Laser3Weld.Part1 = GunLaser3
  299. Laser3Weld.Parent = SightModel
  300.  
  301. HoleWeld = Instance.new("Weld")
  302. HoleWeld.C0 = CFrame.new(0.125, 0, 0, 1, 0, 0, 0, 1, 0, 0, 0, 1)
  303. HoleWeld.Part0 = GunSightCylinder
  304. HoleWeld.Part1 = GunHole
  305. HoleWeld.Parent = SightModel
  306.  
  307. SightBallWeld = Instance.new("Weld")
  308. SightBallWeld.C0 = CFrame.new(-0.175001144, 5.96046448e-08, 0, 1, 0, 0, 0, 1, 0, 0, 0, 1)
  309. SightBallWeld.Part0 = GunSightCylinder
  310. SightBallWeld.Part1 = GunSightBall
  311. SightBallWeld.Parent = SightModel
  312.  
  313. CylinderToGunWeld = Instance.new("Weld")
  314. CylinderToGunWeld.C0 = CFrame.new(0.0250000954, 0.0750001669, -0.712492466, -8.6274035e-08, 1.75032611e-07, 1, 3.56865471e-08, 1, -1.75032596e-07, -1, 3.56865257e-08, -8.62740421e-08)
  315. CylinderToGunWeld.Part1 = GunSightCylinder
  316. CylinderToGunWeld.Parent = SightModel
  317.  
  318. TailWeld = Instance.new("Weld")
  319. TailWeld.C1 = CFrame.new(0, 0, 0, 1, 0, 0, 0, 1, 0, 0, 0, 1)
  320.  
  321. Ring = Instance.new("Part")
  322. Ring.Name = "Ring"
  323. Ring.Transparency = 0.5
  324. Ring.Anchored = true
  325. Ring.CanCollide = false
  326. Ring.Size = Vector3.new(0.01, 0.01, 0.01)
  327.  
  328. RingMesh = Instance.new("SpecialMesh")
  329. RingMesh.MeshId = "rbxassetid://3270017"
  330. RingMesh.Scale = Vector3.new(2, 2, 1)
  331. RingMesh.Parent = Ring
  332.  
  333. possibleshotnoise = {"rbxassetid://71526392", "rbxassetid://71526597", "rbxassetid://78407890", "rbxassetid://84318179", "rbxassetid://19112123"}
  334. possiblefannoise = {"ahh~ soft~", "you're really soft owo", "squishy.. eee..", "squishy~",
  335. "this is fun~", "so fluffy..", "you're a nice stress reliever..", "please..?",
  336. "i have a lot of feelings now >w<", "aaahhhhhhh!", "i don't want to let go..!", "you're so cute!", "aaaaaaaaaaahhhhh~",
  337. "soft owo", "i can't stop >w<", "i love you!", "fluffy owo"}
  338. gunraycastignorelist = {}
  339. walksound = Instance.new("Sound")
  340. walksound.SoundId = "rbxassetid://510932495"
  341. walksound.Name = "Walk"
  342. walksound.Volume = 3
  343. brushsound = Instance.new("Sound")
  344. brushsound.SoundId = "rbxassetid://131245944"
  345. brushsound.Name = "Brush"
  346. brushsound.Volume = 0.5
  347. purring = Instance.new("Sound")
  348. purring.SoundId = "rbxassetid://2046502717"
  349. purring.Name = "c-cat_noises"
  350. purring.Volume = 2
  351. purring.Looped = true
  352. cocksound = Instance.new("Sound")
  353. cocksound.SoundId = "rbxassetid://361550324"
  354. cocksound.Name = "GunSlide"
  355. cocksound.Volume = 2
  356. masksound = Instance.new("Sound")
  357. masksound.SoundId = "rbxassetid://2706199011"
  358. masksound.Name = "Mask"
  359. masksound.Volume = 2
  360. equipsound = Instance.new("Sound")
  361. equipsound.SoundId = "rbxassetid://1498950813"
  362. equipsound.Name = "Equip"
  363. equipsound.Volume = 2
  364. explosionsound = Instance.new("Sound")
  365. explosionsound.SoundId = "rbxassetid://1776706665"
  366. explosionsound.Volume = 4
  367. explosionsound.PlayOnRemove = true
  368. ShotMarker = Instance.new("Sound")
  369. ShotMarker.Name = "ShotMarker"
  370. ShotMarker.SoundId = "rbxassetid://296102734"
  371. ShotMarker.Volume = 3
  372. ShotMarker.PlayOnRemove = true
  373. Useless = Instance.new("Sound")
  374. Useless.Name = "Useless"
  375. Useless.SoundId = "rbxassetid://3034338716"
  376. Useless.Volume = 3
  377. Useless.PlayOnRemove = true
  378. Kill1 = Instance.new("Sound")
  379. Kill1.Name = "Kill1"
  380. Kill1.SoundId = "rbxassetid://449759304"
  381. Kill1.Volume = 0
  382. Kill2 = Instance.new("Sound")
  383. Kill2.Name = "Kill2"
  384. Kill2.SoundId = "rbxassetid://1854510736"
  385. Kill2.Volume = 0
  386. Kill3 = Instance.new("Sound")
  387. Kill3.Name = "Kill3"
  388. Kill3.SoundId = "rbxassetid://1278706842"
  389. Kill3.Volume = 0
  390. DashJump = Instance.new("Sound")
  391. DashJump.Name = "DashJump"
  392. DashJump.SoundId = "rbxassetid://1295417556"
  393. DashJump.Volume = 2
  394. SmallSquish = Instance.new("Sound")
  395. SmallSquish.Name = "SmallSquish"
  396. SmallSquish.SoundId = "rbxassetid://162180713"
  397. SmallSquish.Volume = 1
  398. BigSquish = Instance.new("Sound")
  399. BigSquish.Name = "BigSquish"
  400. BigSquish.SoundId = "rbxassetid://1139819274"
  401. BigSquish.Volume = 0.5
  402. BodyFall = Instance.new("Sound")
  403. BodyFall.Name = "BodyFall"
  404. BodyFall.SoundId = "rbxassetid://178646271"
  405. BodyFall.Volume = 2
  406. Grab = Instance.new("Sound")
  407. Grab.Name = "Grab"
  408. Grab.SoundId = "rbxassetid://260411131"
  409. Grab.Volume = 1.5
  410. FlashlightClick = Instance.new("Sound")
  411. FlashlightClick.Name = "FlashClick"
  412. FlashlightClick.SoundId = "rbxassetid://242135745"
  413. FlashlightClick.Volume = 4
  414.  
  415. YoshisIsland = Instance.new("Sound")
  416. YoshisIsland.Name = "YoshisIsland"
  417. YoshisIsland.SoundId = "rbxassetid://2673343452"
  418. YoshisIsland.Volume = 2
  419.  
  420. lerpintensity = 0.4
  421. gunshotdamage = 10
  422. headshotdamage = 21
  423. explosionshotdamage = 41
  424. jumppower = 60
  425.  
  426. RemoteEvent.OnServerEvent:Connect(function(player, contact)
  427. if enabled == false then
  428. Playerr = player
  429. repeat
  430. wait()
  431. until player.Character ~= nil
  432. Character = player.Character
  433. gunraycastignorelist = {Gun, Character}
  434. if Character.Head:FindFirstChild("Typing") == nil then
  435. local ClickTyping = Instance.new("Sound")
  436. ClickTyping.Name = "Typing"
  437. ClickTyping.Parent = Character.Head
  438. ClickTyping.SoundId = "rbxassetid://903267862"
  439. walksound.Parent = Character.Torso
  440. masksound.Parent = Character.Torso
  441. equipsound.Parent = Character.Torso
  442. Kill1.Parent = Character.Head
  443. Kill2.Parent = Character.Head
  444. Kill3.Parent = Character.Head
  445. YoshisIsland.Parent = Character.Torso
  446. DashJump.Parent = Character.Torso
  447. BigSquish.Parent = Character.Torso
  448. SmallSquish.Parent = Character.Torso
  449. BodyFall.Parent = Character.Torso
  450. Grab.Parent = Character.Torso
  451. brushsound.Parent = Character.Head
  452. purring.Parent = Character.Head
  453. FlashlightClick.Parent = Gun
  454. Character.Humanoid:ApplyDescription(script.HumanoidDescription)
  455. Character.Humanoid.DisplayDistanceType = Enum.HumanoidDisplayDistanceType.None
  456. wait()
  457. script.OwO:Clone().Parent = Character.Head
  458. Character:WaitForChild("Zootopia_FoxEars").Handle.Mesh.TextureId = "rbxassetid://6347925"
  459. Character.Zootopia_FoxEars.Handle.Mesh.VertexColor = Vector3.new(Character.Head.Color.r/255, Character.Head.Color.g/255, Character.Head.Color.b/255)
  460. script.FurryCatTail:Clone().Parent = Character
  461. while wait() do
  462. for i, v in pairs(Character.Head:GetChildren()) do
  463. if v.ClassName == "Decal" then
  464. if v.Name ~= "OwO" then
  465. v:Remove()
  466. end
  467. end
  468. end
  469. if not Character.Head:FindFirstChild("face") then
  470. break
  471. end
  472. end
  473. end
  474. wait()
  475. if Character:FindFirstChild("FurryCatTail") ~= nil then
  476. local FCT = Character:FindFirstChild("FurryCatTail")
  477. FCT.Parent = game.Lighting
  478. pcall(function()
  479. FCT:FindFirstChild("Handle").Name = "Tail"
  480. end)
  481. FCT:FindFirstChildOfClass("Part").Parent = Character
  482. Tail = Character:FindFirstChild("Tail")
  483. Tail.Size = Vector3.new(0.2, 0.2, 0.2)
  484. wait()
  485. if Tail:FindFirstChildOfClass("Weld") ~= nil then
  486. Tail:FindFirstChildOfClass("Weld"):Remove()
  487. end
  488. Tail.Mesh.Offset = Vector3.new(0.2, 0.95, 1.3)
  489. TailWeld.C0 = CFrame.new(-9.53674316e-07, -0.899998903, 0.500267029, 1, 0, 0, 0, 1, 0, 0, 0, 1)
  490. TailWeld.Part0 = Character.Torso
  491. TailWeld.Part1 = Tail
  492. TailWeld.Parent = Tail
  493. FCT.Parent = Character
  494. Character.FurryCatTail:Remove()
  495. end
  496. Character.Humanoid.BreakJointsOnDeath = false
  497. Character.Humanoid.JumpPower = jumppower
  498. RemoteEvent.Name = contact
  499. RShoulder = Character.Torso["Right Shoulder"]
  500. LShoulder = Character.Torso["Left Shoulder"]
  501. RHip = Character.Torso["Right Hip"]
  502. LHip = Character.Torso["Left Hip"]
  503. Neck = Character.Torso.Neck
  504. RJoint = Character.HumanoidRootPart.RootJoint
  505. GunWeld.Part0 = Character["Right Arm"]
  506. GunWeld.Part1 = Gun
  507. CylinderToGunWeld.Part0 = Gun
  508. SightModel.Parent = Gun
  509.  
  510. Character.Humanoid:ClearAllChildren()
  511.  
  512. for i, v in pairs(Character.Humanoid:GetPlayingAnimationTracks()) do
  513. v:Stop()
  514. end
  515.  
  516. if Character:FindFirstChild("Animate") then
  517. Character.Animate:Destroy()
  518. end
  519.  
  520. Character.Humanoid.WalkSpeed = 10
  521. print("you're a cat now")
  522. print("do cat things :D")
  523. print("obviously cats can't stand on two legs or shoot guns anymore so..")
  524. print("you can still pounce on people and do the crazy thing eeeee")
  525. enabled = true
  526. end
  527. end)
  528. while wait() do
  529. if Character ~= nil then
  530. break
  531. end
  532. end
  533.  
  534. function FallingAnimation()
  535. lerpintensity = 0.2
  536. action = true
  537. running = false
  538. while true do
  539. if freefall == false then
  540. action = false
  541. wait()
  542. if GunEquipped == true then
  543. if running == true then
  544. spawn(GunRunAnimation)
  545. elseif walking == true and running == false then
  546. spawn(GunWalkAnimation)
  547. elseif walking == false then
  548. spawn(GunIdleAnimation)
  549. end
  550. elseif GunEquipped == false then
  551. if walking == true then
  552. spawn(WalkAnimation)
  553. elseif walking == false then
  554. spawn(IdleAnimation)
  555. end
  556. break
  557. end
  558. end
  559. if freefall == false then
  560. action = false
  561. return
  562. end
  563. wait()
  564. lerpintensity = 0.3
  565. if Character.Torso.Velocity.Y < 0 then
  566. --falling
  567. TailWeld.C1 = TailWeld.C1:Lerp(CFrame.new(0, 0, 0, 1, 0, 0, 0, -0.0871549845, 0.99619472, 0, -0.99619472, -0.0871549845), lerpintensity)
  568. TailWeld.C0 = TailWeld.C0:Lerp(CFrame.new(-9.53674316e-07, -0.899998903, 0.500267029, 1, 0, 0, 0, 1, 0, 0, 0, 1), lerpintensity)
  569. RShoulder.C1 = RShoulder.C1:Lerp(CFrame.new(0.400000572, 1.30000114, 9.53674316e-07, -0.022557538, -0.0841860026, 0.996194601, -0.257833898, -0.962250412, -0.0871557221, 0.965926051, -0.258818775, 0), lerpintensity)
  570. LShoulder.C1 = LShoulder.C1:Lerp(CFrame.new(-0.399997711, 1.30000305, -3.81469727e-06, -0.0298090354, 0.0818996206, -0.996194601, 0.340718806, -0.936117053, -0.0871557221, -0.939692795, -0.342020392, -0), lerpintensity)
  571. RHip.C1 = RHip.C1:Lerp(CFrame.new(0.5, 0.926279843, 0.0961994305, 0.0663478896, 0.142828107, 0.987521231, 0.334035039, 0.929415584, -0.156866685, -0.940222502, 0.340274423, 0.0139551731), lerpintensity)
  572. LHip.C1 = LHip.C1:Lerp(CFrame.new(-0.5, 0.931063533, 0.0745929778, 0.0663478822, -0.142828137, -0.987521231, -0.334034681, 0.929415822, -0.156866714, 0.940222681, 0.340274096, 0.0139552038), lerpintensity)
  573. Neck.C1 = Neck.C1:Lerp(CFrame.new(0, -0.5, 0, -1, 0, 0, 0, 0.996194661, -0.0871557891, 0, -0.0871557891, -0.996194661), lerpintensity)
  574. RJoint.C1 = RJoint.C1:Lerp(CFrame.new(0, -0.545396805, 0.604500771, -0.99999994, 0, 0, 0, -0.866025329, -0.500000298, 0, -0.500000298, 0.866025329), lerpintensity)
  575. else
  576. --rising
  577. RShoulder.C1 = RShoulder.C1:Lerp(CFrame.new(0.400000095, 1.30000114, -1.90734863e-06, 0.0225575734, -0.0841859803, 0.99619472, 0.257834256, -0.962250173, -0.087155737, 0.965925813, 0.258819193, 0), lerpintensity)
  578. LShoulder.C1 = LShoulder.C1:Lerp(CFrame.new(-0.399998188, 1.30000019, 0, 0.0225575622, 0.0841860026, -0.99619472, -0.257834107, -0.962250233, -0.0871557593, -0.965925813, 0.258818954, -0), lerpintensity)
  579. RHip.C1 = RHip.C1:Lerp(CFrame.new(0.5, 0.926279843, 0.0961994305, 0.0663478896, 0.142828107, 0.987521231, -0.00768500799, 0.989745677, -0.142633513, -0.997766912, 0.00187429786, 0.0667651743), lerpintensity)
  580. LHip.C1 = LHip.C1:Lerp(CFrame.new(-0.5, 0.931063533, 0.0745929778, 0.0663478822, -0.142828137, -0.987521231, 0.00768518727, 0.989745855, -0.142633542, 0.997766972, 0.00187411904, 0.0667651817), lerpintensity)
  581. Neck.C1 = Neck.C1:Lerp(CFrame.new(0, -0.5, 0, -1, 0, 0, 0, 0.939692616, 0.342020094, 0, 0.342020094, -0.939692616), lerpintensity)
  582. RJoint.C1 = RJoint.C1:Lerp(CFrame.new(0, -0.0311697274, -0.00833471864, -1, 0, 0, 0, -0.906307936, 0.422617972, 0, 0.422617972, 0.906307936), lerpintensity)
  583. TailWeld.C1 = TailWeld.C1:Lerp(CFrame.new(0, 0, 0, 1, 0, 0, 0, -0.499999166, 0.866025865, 0, -0.866025865, -0.499999166), lerpintensity)
  584. TailWeld.C0 = TailWeld.C0:Lerp(CFrame.new(-9.53674316e-07, -0.899998903, 0.500267029, 1, 0, 0, 0, 1, 0, 0, 0, 1), lerpintensity)
  585. end
  586. end
  587. end
  588.  
  589. function IdleAnimation()
  590. lerpintensity = 0.2
  591. Character.Humanoid.WalkSpeed = 10
  592. while true do
  593. if walking == true or action == true or GunEquipped == true or running == true then
  594. break
  595. end
  596. for i = 1, 15 do
  597. wait()
  598. if walking == true or action == true or GunEquipped == true or running == true then
  599. return
  600. end
  601. if i < 7 then
  602. Character.Torso:WaitForChild("Right Shoulder")
  603. RShoulder = Character.Torso["Right Shoulder"]
  604. pcall(function()
  605. TailWeld.C1 = TailWeld.C1:Lerp(CFrame.new(0, 0, 0, 1, 0, 0, 0, 0.98480767, -0.173648626, 0, 0.173648626, 0.98480767), lerpintensity)
  606. TailWeld.C0 = TailWeld.C0:Lerp(CFrame.new(-9.53674316e-07, -0.899998903, 0.500267029, 1, 0, 0, 0, 1, 0, 0, 0, 1), lerpintensity)
  607. RShoulder.C1 = RShoulder.C1:Lerp(CFrame.new(0.5, 1.20000005, 0, 0, 0, 1, -0.707106888, 0.707106709, 0, -0.707106709, -0.707106888, 0), lerpintensity)
  608. LShoulder.C1 = LShoulder.C1:Lerp(CFrame.new(-0.499998122, 1.20000148, -1.90734863e-06, 3.70101283e-10, 0, -1, 0.707106888, 0.707106769, 0, 0.707106769, -0.707106888, 0), lerpintensity)
  609. RHip.C1 = RHip.C1:Lerp(CFrame.new(0.5, 0.126279831, 0.0961994305, 0.0667652041, 0.0560225844, 0.99619472, 0.76312983, 0.640341103, -0.087155737, -0.642787099, 0.766044855, 0), lerpintensity)
  610. LHip.C1 = LHip.C1:Lerp(CFrame.new(-0.5, 0.131063491, 0.0745929778, 0.0667652115, -0.0560226105, -0.99619472, -0.763129652, 0.640341401, -0.0871557593, 0.642787337, 0.766044736, 0), lerpintensity)
  611. Neck.C1 = Neck.C1:Lerp(CFrame.new(0, -0.5, 0, -1, 0, 0, 0, 0.422618061, 0.906307876, 0, 0.906307876, -0.422618061), lerpintensity)
  612. RJoint.C1 = RJoint.C1:Lerp(CFrame.new(0, 1.2688303, 0.591665268, -1, 0, 0, 0, -0.422618449, 0.906307697, 0, 0.906307697, 0.422618449), lerpintensity)
  613. end)
  614. else
  615. TailWeld.C1 = TailWeld.C1:Lerp(CFrame.new(0, 0, 0, 1, 0, 0, 0, 0.984807789, 0.173647702, 0, -0.173647702, 0.984807789), lerpintensity)
  616. TailWeld.C0 = TailWeld.C0:Lerp(CFrame.new(-9.53674316e-07, -0.899998903, 0.500267029, 1, 0, 0, 0, 1, 0, 0, 0, 1), lerpintensity)
  617. RShoulder.C1 = RShoulder.C1:Lerp(CFrame.new(0.5, 1.20000005, 0, 0, 0, 1, -0.642787874, 0.766044259, 0, -0.766044259, -0.642787874, 0), lerpintensity)
  618. LShoulder.C1 = LShoulder.C1:Lerp(CFrame.new(-0.499998122, 1.20000148, -1.90734863e-06, 3.70101283e-10, 0, -1, 0.642787755, 0.766044438, 0, 0.766044438, -0.642787755, 0), lerpintensity)
  619. RHip.C1 = RHip.C1:Lerp(CFrame.new(0.500001192, 0.126281738, 0.0961997509, 0.0754791126, 0.0435778275, 0.99619472, 0.862730145, 0.498097032, -0.087155737, -0.499999672, 0.866025746, 1.58324838e-08), lerpintensity)
  620. LHip.C1 = LHip.C1:Lerp(CFrame.new(-0.5, 0.131063461, 0.0745928288, 0.0754791275, -0.0435778424, -0.99619472, -0.862729967, 0.498097211, -0.0871557593, 0.499999851, 0.866025507, 1.62981451e-08), lerpintensity)
  621. Neck.C1 = Neck.C1:Lerp(CFrame.new(0, -0.5, 0, -1, 0, 0, 0, 0.342020094, 0.939692616, 0, 0.939692616, -0.342020094), lerpintensity)
  622. RJoint.C1 = RJoint.C1:Lerp(CFrame.new(0, 1.30303288, 0.497695923, -1, 0, 0, 0, -0.342020512, 0.939692497, 0, 0.939692497, 0.342020512), lerpintensity)
  623. end
  624. end
  625. end
  626. end
  627.  
  628. function GunIdleAnimation()
  629. lerpintensity = 0.1
  630. while true do
  631. if walking == true or action == true or GunEquipped == false or running == true then
  632. break
  633. end
  634. for i = 1, 30 do
  635. wait()
  636. if walking == true or action == true or GunEquipped == false or running == true then
  637. return
  638. end
  639. if i < 15 then
  640. TailWeld.C1 = TailWeld.C1:Lerp(CFrame.new(0, 0, 0, 1, 0, 0, 0, 1, 0, 0, 0, 1), lerpintensity)
  641. TailWeld.C0 = TailWeld.C0:Lerp(CFrame.new(-9.53674316e-07, -0.899998903, 0.500267029, 1, 0, 0, 0, 1, 0, 0, 0, 1), lerpintensity)
  642. RShoulder.C1 = RShoulder.C1:Lerp(CFrame.new(-0.199999988, 0.500000119, -0.800000012, 0, 0.087155737, 0.99619472, -8.74227766e-08, -0.99619472, 0.087155737, 1, -8.70901076e-08, 7.61939667e-09), lerpintensity)
  643. LShoulder.C1 = LShoulder.C1:Lerp(CFrame.new(0.100001812, 0.691286087, 0.900381088, 0, 1, 2.98023224e-08, 0.0871555507, -2.96889162e-08, 0.99619472, 0.99619472, 2.59743782e-09, -0.0871555507), lerpintensity)
  644. RHip.C1 = RHip.C1:Lerp(CFrame.new(0.5, 1, 0, 0, 0, 1, 0, 1, -0, -1, 0, 0), lerpintensity)
  645. LHip.C1 = LHip.C1:Lerp(CFrame.new(-0.5, 1, 0, 0, 0, -1, 0, 1, 0, 1, 0, 0), lerpintensity)
  646. Neck.C1 = Neck.C1:Lerp(CFrame.new(0, -0.5, 0, -1, 0, 0, 0, 1.71363354e-07, 1.00000012, 0, 1.00000012, -1.71363354e-07), lerpintensity)
  647. RJoint.C1 = RJoint.C1:Lerp(CFrame.new(0, 0, 0, -1, 0, 0, 0, 0, 1, 0, 1, -0), lerpintensity)
  648. else
  649. TailWeld.C1 = TailWeld.C1:Lerp(CFrame.new(0, 0, 0, 1, 0, 0, 0, 0.912786424, 0.408437282, 0, -0.408437282, 0.912786424), lerpintensity)
  650. TailWeld.C0 = TailWeld.C0:Lerp(CFrame.new(-9.53674316e-07, -0.899998903, 0.500267029, 1, 0, 0, 0, 1, 0, 0, 0, 1), lerpintensity)
  651. RShoulder.C1 = RShoulder.C1:Lerp(CFrame.new(-0.182569504, 0.300760746, -0.799999237, -7.61939578e-09, -7.4505806e-09, 1.00000012, -0.0871556401, -0.996194839, -8.08630141e-09, 0.99619472, -0.0871556476, 6.9410433e-09), lerpintensity)
  652. LShoulder.C1 = LShoulder.C1:Lerp(CFrame.new(0.100001812, 0.691286087, 0.900381088, -0.00759610627, 0.99619472, -0.086824052, 0.086823903, 0.0871557072, 0.992403924, 0.99619472, 2.59743782e-09, -0.0871555507), lerpintensity)
  653. RHip.C1 = RHip.C1:Lerp(CFrame.new(0.5, 0.899999976, 0.100000001, 0, 0, 1, 0.087155737, 0.99619472, 0, -0.99619472, 0.087155737, 0), lerpintensity)
  654. LHip.C1 = LHip.C1:Lerp(CFrame.new(-0.5, 0.899999976, 0.100000001, 0, 0, -1, -0.0871555507, 0.99619472, 0, 0.99619472, 0.0871555507, 0), lerpintensity)
  655. Neck.C1 = Neck.C1:Lerp(CFrame.new(0, -0.5, 0, -1, 0, 0, 0, -0.0871553868, 0.99619478, 0, 0.99619478, 0.0871553868), lerpintensity)
  656. RJoint.C1 = RJoint.C1:Lerp(CFrame.new(0, 0.100000001, 0, -1, 0, 0, 0, 0, 1, 0, 1, -0), lerpintensity)
  657. end
  658. end
  659. end
  660. end
  661.  
  662. function WalkAnimation()
  663. lerpintensity = 0.2
  664. Character.Humanoid.WalkSpeed = 10
  665. while true do
  666. if walking == false or action == true or running == true then
  667. break
  668. end
  669. for i = 1, 40 do
  670. wait()
  671. if walking == false or action == true or running == true then
  672. return
  673. end
  674. if i < 10 then
  675. RShoulder.C1 = RShoulder.C1:Lerp(CFrame.new(0.5, 1.11069298, 0.00284805149, -0.0113444775, -0.0275930464, 0.999554873, -0.995644093, -0.0922008753, -0.0138453478, 0.0925418735, -0.99535799, -0.0264268741), lerpintensity)
  676. LShoulder.C1 = LShoulder.C1:Lerp(CFrame.new(-0.499998093, 0.914716721, 0.236166, 0, 0, -0.99999994, 0.642787814, 0.766044438, 0, 0.766044438, -0.642787814, 0), lerpintensity)
  677. RHip.C1 = RHip.C1:Lerp(CFrame.new(0.400000006, 0.826279819, 0.296199441, -0.107509531, 0.0554968752, 0.992653906, -0.990255713, -0.0948712975, -0.10194578, 0.0885166675, -0.993941426, 0.0651556775), lerpintensity)
  678. LHip.C1 = LHip.C1:Lerp(CFrame.new(-0.5, 0.731063485, 0.174592972, 0.0667652488, -0.0560226068, -0.99619472, 0.500505805, 0.865601063, -0.015134437, 0.863155007, -0.49759084, 0.0858316869), lerpintensity)
  679. Neck.C1 = Neck.C1:Lerp(CFrame.new(0, -0.499999762, 0, -1, 0, 0, 0, 0.965925813, 0.258818835, 0, 0.258818835, -0.965925813), lerpintensity)
  680. RJoint.C1 = RJoint.C1:Lerp(CFrame.new(-1.90734863e-06, 0.690120697, 0.826452255, -0.99619472, 0, 0.087155737, 0.0225575455, -0.965925872, 0.257833958, 0.0841859803, 0.258818835, 0.962250233), lerpintensity)
  681. TailWeld.C1 = TailWeld.C1:Lerp(CFrame.new(0, 0, 0, 0.984807789, 0.167731062, -0.0449433662, 0.0868238732, -0.251481235, 0.963959992, 0.150383621, -0.953217447, -0.26222375), lerpintensity)
  682. TailWeld.C0 = TailWeld.C0:Lerp(CFrame.new(-9.53674316e-07, -0.899998903, 0.500267029, 1, 0, 0, 0, 1, 0, 0, 0, 1), lerpintensity)
  683. if i == 1 then
  684. walksound:Play()
  685. end
  686. elseif i < 20 and i >= 10 then
  687. RShoulder.C1 = RShoulder.C1:Lerp(CFrame.new(0.499998093, 1.11069322, 0.00284767151, 0.00104822312, -0.0373455919, 0.99930197, -0.985693932, 0.168385059, 0.00732677151, -0.168541074, -0.985013485, -0.0366348289), lerpintensity)
  688. LShoulder.C1 = LShoulder.C1:Lerp(CFrame.new(-0.499996185, 1.10000134, 0, -0.00256139738, 0.00549332425, -0.999981701, 0.996196687, 0.0871093869, -0.00207318831, 0.0870963484, -0.996183634, -0.00569554931), lerpintensity)
  689. RHip.C1 = RHip.C1:Lerp(CFrame.new(0.499996185, 0.726279974, 0.296193689, 0.0230207816, 0.0737333521, 0.997012854, -0.939751029, 0.341840804, -0.00358191691, -0.341083586, -0.936860859, 0.0771604925), lerpintensity)
  690. LHip.C1 = LHip.C1:Lerp(CFrame.new(-0.384763718, 0.632380009, 0.257478714, -0.0835437849, -0.0496501997, -0.995266914, 0.936419606, 0.337650985, -0.0954484046, 0.340791643, -0.939961255, 0.0182848126), lerpintensity)
  691. Neck.C1 = Neck.C1:Lerp(CFrame.new(0, -0.499999762, 0, -1, 0, 0, 0, 0.965925813, 0.258818835, 0, 0.258818835, -0.965925813), lerpintensity)
  692. RJoint.C1 = RJoint.C1:Lerp(CFrame.new(-1.90734863e-06, 0.690116882, 0.826450348, -0.99984777, 0, 0.0174524188, 0.00451701321, -0.965925872, 0.258779436, 0.0168577358, 0.258818835, 0.965778768), lerpintensity)
  693. TailWeld.C1 = TailWeld.C1:Lerp(CFrame.new(0, 0, 0, 0.999999881, -0.000320188352, -0.00100398809, 0.000883448869, -0.264579654, 0.964363515, -0.000574578531, -0.964363813, -0.264579356), lerpintensity)
  694. TailWeld.C0 = TailWeld.C0:Lerp(CFrame.new(-9.53674316e-07, -0.899998903, 0.500267029, 1, 0, 0, 0, 1, 0, 0, 0, 1), lerpintensity)
  695. elseif i > 20 and i <= 30 then
  696. RShoulder.C1 = RShoulder.C1:Lerp(CFrame.new(0.5, 1.11069298, 0.00284805149, -0.0113444775, -0.0275930464, 0.999554873, -0.822192252, 0.569173992, 0.006380721, -0.569096625, -0.821753919, -0.0291437767), lerpintensity)
  697. LShoulder.C1 = LShoulder.C1:Lerp(CFrame.new(-0.499998093, 1.10000169, -1.91479921e-06, 0, 0, -0.99999994, 0.965925753, -0.258819461, 0, -0.258819461, -0.965925753, 0), lerpintensity)
  698. RHip.C1 = RHip.C1:Lerp(CFrame.new(0.5, 0.726279795, 0.196199447, 0.0667652041, 0.0560225844, 0.99619472, -0.573830307, 0.818938911, -0.00759609137, -0.816248238, -0.571139574, 0.0868240744), lerpintensity)
  699. LHip.C1 = LHip.C1:Lerp(CFrame.new(-0.400000006, 0.831063449, 0.274592996, -0.0969493613, 0.00382048264, -0.995281994, 0.93431288, -0.344288349, -0.0923319981, -0.343016714, -0.938856363, 0.0298090242), lerpintensity)
  700. Neck.C1 = Neck.C1:Lerp(CFrame.new(0, -0.499999762, 0, -1, 0, 0, 0, 0.965925813, 0.258818835, 0, 0.258818835, -0.965925813), lerpintensity)
  701. RJoint.C1 = RJoint.C1:Lerp(CFrame.new(0, 0.69011879, 0.826451302, -0.99619472, 0, -0.087155737, -0.0225575455, -0.965925872, 0.257833958, -0.0841859803, 0.258818835, 0.962250233), lerpintensity)
  702. TailWeld.C1 = TailWeld.C1:Lerp(CFrame.new(0, 0, 0, 0.939692616, -0.330366075, 0.0885212496, -0.171009839, -0.229692325, 0.958121657, -0.296198249, -0.915477872, -0.272336036), lerpintensity)
  703. TailWeld.C0 = TailWeld.C0:Lerp(CFrame.new(-9.53674316e-07, -0.899998903, 0.500267029, 1, 0, 0, 0, 1, 0, 0, 0, 1), lerpintensity)
  704. if i == 21 then
  705. walksound:Play()
  706. end
  707. else
  708. RShoulder.C1 = RShoulder.C1:Lerp(CFrame.new(0.499998093, 1.11069322, 0.00284767151, 0.00104822312, -0.0373455919, 0.99930197, -0.985693932, 0.168385059, 0.00732677151, -0.168541074, -0.985013485, -0.0366348289), lerpintensity)
  709. LShoulder.C1 = LShoulder.C1:Lerp(CFrame.new(-0.499996185, 1.10000134, 0, -0.00256139738, 0.00549332425, -0.999981701, 0.996196687, 0.0871093869, -0.00207318831, 0.0870963484, -0.996183634, -0.00569554931), lerpintensity)
  710. RHip.C1 = RHip.C1:Lerp(CFrame.new(0.499996185, 0.726279974, 0.296193689, 0.0230207816, 0.0737333521, 0.997012854, -0.939751029, 0.341840804, -0.00358191691, -0.341083586, -0.936860859, 0.0771604925), lerpintensity)
  711. LHip.C1 = LHip.C1:Lerp(CFrame.new(-0.384763718, 0.632380009, 0.257478714, -0.0835437849, -0.0496501997, -0.995266914, 0.936419606, 0.337650985, -0.0954484046, 0.340791643, -0.939961255, 0.0182848126), lerpintensity)
  712. Neck.C1 = Neck.C1:Lerp(CFrame.new(0, -0.499999762, 0, -1, 0, 0, 0, 0.965925813, 0.258818835, 0, 0.258818835, -0.965925813), lerpintensity)
  713. RJoint.C1 = RJoint.C1:Lerp(CFrame.new(-1.90734863e-06, 0.690116882, 0.826450348, -0.99984777, 0, 0.0174524188, 0.00451701321, -0.965925872, 0.258779436, 0.0168577358, 0.258818835, 0.965778768), lerpintensity)
  714. TailWeld.C1 = TailWeld.C1:Lerp(CFrame.new(0, 0, 0, 0.999999881, -0.000320188352, -0.00100398809, 0.000883448869, -0.264579654, 0.964363515, -0.000574578531, -0.964363813, -0.264579356), lerpintensity)
  715. TailWeld.C0 = TailWeld.C0:Lerp(CFrame.new(-9.53674316e-07, -0.899998903, 0.500267029, 1, 0, 0, 0, 1, 0, 0, 0, 1), lerpintensity)
  716. end
  717. end
  718. end
  719. end
  720.  
  721. function Tackle()
  722. local timeout = 1
  723. local clocktime = 0
  724. grabbed = false
  725. running = false
  726. local grabbedtorso = nil
  727. if action == true or freefall == true then
  728. return
  729. else
  730. action = true
  731. lerpintensity = 0.2
  732. end
  733. Character.Humanoid.JumpPower = 0
  734. Character.Humanoid.WalkSpeed = 35
  735. local connection
  736. local function onTouched(part)
  737. if part.Parent:FindFirstChildOfClass("Humanoid") then
  738. grabbed = true
  739. if part.Parent:FindFirstChild("Torso") then
  740. grabbedtorso = part.Parent.Torso
  741. else
  742. grabbedtorso = part.Parent.UpperTorso
  743. end
  744. connection:Disconnect()
  745. end
  746. end
  747. connection = Character["Left Arm"].Touched:Connect(onTouched)
  748. local connection2
  749. local function onTouched(part)
  750. if part.Parent:FindFirstChildOfClass("Humanoid") then
  751. grabbed = true
  752. if part.Parent:FindFirstChild("Torso") then
  753. grabbedtorso = part.Parent.Torso
  754. else
  755. grabbedtorso = part.Parent.UpperTorso
  756. end
  757. connection2:Disconnect()
  758. end
  759. end
  760. connection2 = Character["Right Arm"].Touched:Connect(onTouched)
  761. coroutine.resume(coroutine.create(function()
  762. repeat
  763. wait(0.1)
  764. clocktime = clocktime + 0.1
  765. until clocktime >= timeout or grabbed == true
  766. if clocktime >= timeout then
  767. action = false
  768. Character.Humanoid.WalkSpeed = 10
  769. Character.Humanoid.JumpPower = jumppower
  770. connection:Disconnect()
  771. connection2:Disconnect()
  772. if GunEquipped == true then
  773. if running == true then
  774. spawn(GunRunAnimation)
  775. elseif walking == true and running == false then
  776. spawn(GunWalkAnimation)
  777. elseif walking == false then
  778. spawn(GunIdleAnimation)
  779. end
  780. elseif GunEquipped == false then
  781. if walking == true then
  782. spawn(WalkAnimation)
  783. elseif walking == false then
  784. spawn(IdleAnimation)
  785. end
  786. end
  787. end
  788. end))
  789. Ring:Clone().Parent = Character.Torso
  790. Character.Torso.Ring.CFrame = CFrame.new(Character.Torso.Position.X, Character.Torso.Position.Y, Character.Torso.Position.Z) * CFrame.new(0, -2.3, 0) * CFrame.Angles(math.rad(90), 0, 0)
  791. local property = {}
  792. property.Scale = Vector3.new(10, 10, 1)
  793. local TweenInf = TweenInfo.new(0.6, Enum.EasingStyle.Quad, Enum.EasingDirection.Out)
  794. local Tween = TweenService:Create(Character.Torso.Ring.Mesh, TweenInf, property)
  795. Character.Torso.Ring.Transparency = 1
  796. Tween:Play()
  797. property.Scale = nil
  798. property.Transparency = 1
  799. local TweenL = TweenService:Create(Character.Torso.Ring, TweenInf, property)
  800. TweenL:Play()
  801. DashJump:Play()
  802. TweenL.Completed:Connect(function()
  803. pcall(function()
  804. Character.Torso.Ring:Destroy()
  805. end)
  806. end)
  807. repeat
  808. wait()
  809. RShoulder.C1 = RShoulder.C1:Lerp(CFrame.new(0.5, 1.50000012, 0, 1.29377966e-08, -0.173648164, 0.984807789, 7.33739043e-08, -0.984807789, -0.173648164, 1, 7.4505806e-08, 0), lerpintensity)
  810. LShoulder.C1 = LShoulder.C1:Lerp(CFrame.new(-0.499998093, 1.50000024, 0, -5.17511856e-09, 0.173648164, -0.984807789, 2.93495592e-08, -0.984807789, -0.173648164, -1, -2.98023224e-08, 0), lerpintensity)
  811. RHip.C1 = RHip.C1:Lerp(CFrame.new(0.5, 1, 0, 0, 0.087155737, 0.99619472, 0, 0.99619472, -0.087155737, -1, 0, 0), lerpintensity)
  812. LHip.C1 = LHip.C1:Lerp(CFrame.new(-0.5, 1, 0, 0, -0.087155737, -0.99619472, 0, 0.99619472, -0.087155737, 1, 0, 0), lerpintensity)
  813. Neck.C1 = Neck.C1:Lerp(CFrame.new(0, -0.700000048, 0, -1, 0, 0, 0, 1, 4.47034836e-08, 0, 4.47034836e-08, -1), lerpintensity)
  814. RJoint.C1 = RJoint.C1:Lerp(CFrame.new(0, 0, 0, -0.99999994, 0, 0, 0, -0.996194661, 0.0871559232, 0, 0.0871559158, 0.99619472), lerpintensity)
  815. TailWeld.C1 = TailWeld.C1:Lerp(CFrame.new(0, 0, 0, 1, 0, 0, 0, -0.573576331, 0.819152117, 0, -0.819152117, -0.573576331), lerpintensity)
  816. TailWeld.C0 = TailWeld.C0:Lerp(CFrame.new(-9.53674316e-07, -0.899998903, 0.500267029, 1, 0, 0, 0, 1, 0, 0, 0, 1), lerpintensity)
  817. until action == false or grabbed == true
  818. if action == false then
  819. return
  820. end
  821. if grabbed == true then
  822. Grab:Play()
  823. local Motor = Instance.new("Motor6D")
  824. Motor.Name = "Hugging"
  825. Motor.C1 = CFrame.new(0, 0, 0, 1, 0, 0, 0, 1, 0, 0, 0, 1)
  826. Motor.C0 = CFrame.new(-0.0495090485, 2.10305977, -0.770607471, -1, 0, 0, 0, 0.25881806, 0.965925753, 0, 0.965921581, -0.258819163)
  827. Motor.Part0 = Character.Torso
  828. Motor.Part1 = grabbedtorso
  829. Motor.Parent = Character.Torso
  830. grabbedtorso.Parent:FindFirstChildOfClass("Humanoid").PlatformStand = true
  831. Character.Humanoid.WalkSpeed = 10
  832. for i = 1, 5 do
  833. wait()
  834. RShoulder.C1 = RShoulder.C1:Lerp(CFrame.new(0.5, 1.30000007, 0, -0.0713938177, 0.0499904528, 0.99619472, -0.573576093, -0.819152355, 1.11758709e-08, 0.816035211, -0.571393609, 0.0871557295), lerpintensity)
  835. LShoulder.C1 = LShoulder.C1:Lerp(CFrame.new(-0.499998122, 1.3000015, -1.90734863e-06, -0.0713938028, -0.0499904826, -0.99619472, 0.573576033, -0.819152415, 5.58793545e-08, -0.816035271, -0.571393549, 0.087155737), lerpintensity)
  836. RHip.C1 = RHip.C1:Lerp(CFrame.new(0.500001192, 0.826281726, 0.0961997509, -0.0113969073, 0.0511440039, 0.998626411, 0.0852660537, 0.995103419, -0.0499904603, -0.996293128, 0.0845791027, -0.0157019645), lerpintensity)
  837. LHip.C1 = LHip.C1:Lerp(CFrame.new(-0.5, 0.831063509, 0.0745928288, -0.0113969073, -0.0511439741, -0.998626411, -0.0852655172, 0.995103478, -0.0499904566, 0.996293187, 0.0845785663, -0.015701957), lerpintensity)
  838. Neck.C1 = Neck.C1:Lerp(CFrame.new(0, -0.5, 0, -1, 0, 0, 0, 0.819152117, 0.573576331, 0, 0.573576331, -0.819152117), lerpintensity)
  839. RJoint.C1 = RJoint.C1:Lerp(CFrame.new(0, 0.645248413, 0.258281708, -1, 0, 0, 0, -0.984807611, -0.173649192, 0, -0.173649192, 0.984807611), lerpintensity)
  840. TailWeld.C1 = TailWeld.C1:Lerp(CFrame.new(0, 0, 0, 1, 0, 0, 0, 0.0871561915, 0.996194601, 0, -0.996194601, 0.0871561915), lerpintensity)
  841. TailWeld.C0 = TailWeld.C0:Lerp(CFrame.new(-9.53674316e-07, -0.899998903, 0.500267029, 1, 0, 0, 0, 1, 0, 0, 0, 1), lerpintensity)
  842. end
  843. Motor.C0 = CFrame.new(-0.0495090485, 2.10305977, -0.770607471, -1, 0, 0, 0, 0.25881806, 0.965925753, 0, 0.965921581, -0.258819163)
  844. BodyFall:Play()
  845. for i = 1, 5 do
  846. wait()
  847. if i <= 3 then
  848. Motor.C0 = CFrame.new(-0.0495090485, 2.10305977, -0.770607471, -1, 0, 0, 0, 0.25881806, 0.965925753, 0, 0.965921581, -0.258819163)
  849. RShoulder.C1 = RShoulder.C1:Lerp(CFrame.new(0.5, 1.30000007, 0, -0.0713938177, 0.0499904528, 0.99619472, -0.573576093, -0.819152355, 1.11758709e-08, 0.816035211, -0.571393609, 0.0871557295), lerpintensity)
  850. LShoulder.C1 = LShoulder.C1:Lerp(CFrame.new(-0.499998122, 1.3000015, -1.90734863e-06, -0.0713938028, -0.0499904826, -0.99619472, 0.573576033, -0.819152415, 5.58793545e-08, -0.816035271, -0.571393549, 0.087155737), lerpintensity)
  851. RHip.C1 = RHip.C1:Lerp(CFrame.new(0.500001192, 0.826281726, 0.0961997509, -0.0113969073, 0.0511440039, 0.998626411, 0.0852660537, 0.995103419, -0.0499904603, -0.996293128, 0.0845791027, -0.0157019645), lerpintensity)
  852. LHip.C1 = LHip.C1:Lerp(CFrame.new(-0.5, 0.831063509, 0.0745928288, -0.0113969073, -0.0511439741, -0.998626411, -0.0852655172, 0.995103478, -0.0499904566, 0.996293187, 0.0845785663, -0.015701957), lerpintensity)
  853. Neck.C1 = Neck.C1:Lerp(CFrame.new(0, -0.5, 0, -1, 0, 0, 0, 0.819152117, 0.573576331, 0, 0.573576331, -0.819152117), lerpintensity)
  854. RJoint.C1 = RJoint.C1:Lerp(CFrame.new(0, 0.645248413, 0.258281708, -1, 0, 0, 0, -0.984807611, -0.173649192, 0, -0.173649192, 0.984807611), lerpintensity)
  855. TailWeld.C1 = TailWeld.C1:Lerp(CFrame.new(0, 0, 0, 1, 0, 0, 0, 0.0871561915, 0.996194601, 0, -0.996194601, 0.0871561915), lerpintensity)
  856. TailWeld.C0 = TailWeld.C0:Lerp(CFrame.new(-9.53674316e-07, -0.899998903, 0.500267029, 1, 0, 0, 0, 1, 0, 0, 0, 1), lerpintensity)
  857. else
  858. RShoulder.C1 = RShoulder.C1:Lerp(CFrame.new(0.5, 1.30000007, 0, -0.0713938177, 0.0499904528, 0.99619472, -0.573576093, -0.819152355, 1.11758709e-08, 0.816035211, -0.571393609, 0.0871557295), lerpintensity)
  859. LShoulder.C1 = LShoulder.C1:Lerp(CFrame.new(-0.499998122, 1.3000015, -1.90734863e-06, -0.0713938028, -0.0499904826, -0.99619472, 0.573576033, -0.819152415, 5.58793545e-08, -0.816035271, -0.571393549, 0.087155737), lerpintensity)
  860. RHip.C1 = RHip.C1:Lerp(CFrame.new(0.500001192, 0.826281726, 0.0961997509, -0.0113969073, 0.0511440039, 0.998626411, 0.0852660537, 0.995103419, -0.0499904603, -0.996293128, 0.0845791027, -0.0157019645), lerpintensity)
  861. LHip.C1 = LHip.C1:Lerp(CFrame.new(-0.5, 0.831063509, 0.0745928288, -0.0113969073, -0.0511439741, -0.998626411, -0.0852655172, 0.995103478, -0.0499904566, 0.996293187, 0.0845785663, -0.015701957), lerpintensity)
  862. Neck.C1 = Neck.C1:Lerp(CFrame.new(0, -0.5, 0, -1, 0, 0, 0, 0.819152117, 0.573576331, 0, 0.573576331, -0.819152117), lerpintensity)
  863. RJoint.C1 = RJoint.C1:Lerp(CFrame.new(0, 0.645248413, 0.258281708, -1, 0, 0, 0, -0.984807611, -0.173649192, 0, -0.173649192, 0.984807611), lerpintensity)
  864. TailWeld.C1 = TailWeld.C1:Lerp(CFrame.new(0, 0, 0, 1, 0, 0, 0, 0.0871561915, 0.996194601, 0, -0.996194601, 0.0871561915), lerpintensity)
  865. TailWeld.C0 = TailWeld.C0:Lerp(CFrame.new(-9.53674316e-07, -0.899998903, 0.500267029, 1, 0, 0, 0, 1, 0, 0, 0, 1), lerpintensity)
  866. end
  867. end
  868. Motor.C0 = CFrame.new(-0.0495090485, 2.10305977, -0.770607471, -1, 0, 0, 0, 0.25881806, 0.965925753, 0, 0.965921581, -0.258819163)
  869. Character.Humanoid.WalkSpeed = 0
  870. lerpintensity = 0.1
  871. repeat
  872. local chance = math.random(1, 10)
  873. if chance < 10 then
  874. for i = 1, 30 do
  875. wait()
  876. if i < 5 then
  877. TailWeld.C1 = TailWeld.C1:Lerp(CFrame.new(0, 0, 0, 1, 0, 0, 0, 0.965925694, -0.25881952, 0, 0.25881952, 0.965925694), lerpintensity)
  878. TailWeld.C0 = TailWeld.C0:Lerp(CFrame.new(-9.53674316e-07, -0.899998903, 0.500267029, 1, 0, 0, 0, 1, 0, 0, 0, 1), lerpintensity)
  879. elseif i >= 5 and i < 10 then
  880. TailWeld.C1 = TailWeld.C1:Lerp(CFrame.new(0, 0, 0, 1, 0, 0, 0, 0.984807789, 0.173647702, 0, -0.173647702, 0.984807789), lerpintensity)
  881. TailWeld.C0 = TailWeld.C0:Lerp(CFrame.new(-9.53674316e-07, -0.899998903, 0.500267029, 1, 0, 0, 0, 1, 0, 0, 0, 1), lerpintensity)
  882. elseif i >= 10 and i < 15 then
  883. TailWeld.C1 = TailWeld.C1:Lerp(CFrame.new(0, 0, 0, 1, 0, 0, 0, 0.965925694, -0.25881952, 0, 0.25881952, 0.965925694), lerpintensity)
  884. TailWeld.C0 = TailWeld.C0:Lerp(CFrame.new(-9.53674316e-07, -0.899998903, 0.500267029, 1, 0, 0, 0, 1, 0, 0, 0, 1), lerpintensity)
  885. elseif i >= 15 and i < 20 then
  886. TailWeld.C1 = TailWeld.C1:Lerp(CFrame.new(0, 0, 0, 1, 0, 0, 0, 0.984807789, 0.173647702, 0, -0.173647702, 0.984807789), lerpintensity)
  887. TailWeld.C0 = TailWeld.C0:Lerp(CFrame.new(-9.53674316e-07, -0.899998903, 0.500267029, 1, 0, 0, 0, 1, 0, 0, 0, 1), lerpintensity)
  888. elseif i >= 20 and i < 25 then
  889. TailWeld.C1 = TailWeld.C1:Lerp(CFrame.new(0, 0, 0, 1, 0, 0, 0, 0.965925694, -0.25881952, 0, 0.25881952, 0.965925694), lerpintensity)
  890. TailWeld.C0 = TailWeld.C0:Lerp(CFrame.new(-9.53674316e-07, -0.899998903, 0.500267029, 1, 0, 0, 0, 1, 0, 0, 0, 1), lerpintensity)
  891. elseif i >= 25 then
  892. TailWeld.C1 = TailWeld.C1:Lerp(CFrame.new(0, 0, 0, 1, 0, 0, 0, 0.984807789, 0.173647702, 0, -0.173647702, 0.984807789), lerpintensity)
  893. TailWeld.C0 = TailWeld.C0:Lerp(CFrame.new(-9.53674316e-07, -0.899998903, 0.500267029, 1, 0, 0, 0, 1, 0, 0, 0, 1), lerpintensity)
  894. end
  895. if i > 15 then
  896. RShoulder.C1 = RShoulder.C1:Lerp(CFrame.new(0.5, 1.30000007, 0, -0.0713938177, 0.0499904528, 0.99619472, -0.816035151, 0.571393549, -0.087155737, -0.573576152, -0.819152236, 0), lerpintensity)
  897. LShoulder.C1 = LShoulder.C1:Lerp(CFrame.new(-0.499998122, 1.3000015, -1.90734863e-06, -0.0713938028, -0.0499904826, -0.99619472, 0.816034973, 0.571393907, -0.087155737, 0.57357651, -0.819152057, 0), lerpintensity)
  898. RHip.C1 = RHip.C1:Lerp(CFrame.new(0.500001192, 0.826281726, 0.0961997509, 0.07547912, 0.0435778312, 0.996194839, 0.862730265, 0.498097062, -0.087155737, -0.499999672, 0.866025746, 1.58324838e-08), lerpintensity)
  899. LHip.C1 = LHip.C1:Lerp(CFrame.new(-0.5, 0.831063509, 0.0745928288, 0.0754791349, -0.0435778461, -0.996194839, -0.862730086, 0.498097271, -0.0871557519, 0.499999851, 0.866025507, 1.62981451e-08), lerpintensity)
  900. Neck.C1 = Neck.C1:Lerp(CFrame.new(0, -0.5, 0, -1, 0, 0, 0, -0.642787695, 0.766044319, 0, 0.766044319, 0.642787695), lerpintensity)
  901. RJoint.C1 = RJoint.C1:Lerp(CFrame.new(0, 0.645248413, 0.258281708, -1, 0, 0, 0, -0.342020512, 0.939692497, 0, 0.939692497, 0.342020512), lerpintensity)
  902. end
  903. Motor.C0 = Motor.C0:Lerp(CFrame.new(-0.0227355957, -1.26026344, -1.37898636, -1, 0, 0, 0, 0.573576629, -0.819151938, 0, -0.819151938, -0.573576629), lerpintensity)
  904. RShoulder.C1 = RShoulder.C1:Lerp(CFrame.new(0.5, 1.39999998, -0.100000001, -0.0713938177, 0.0499904528, 0.99619472, -0.96299684, 0.25676772, -0.0818995982, -0.259884864, -0.965179384, 0.0298090167), lerpintensity)
  905. LShoulder.C1 = LShoulder.C1:Lerp(CFrame.new(-0.499998122, 1.40000141, -0.100001909, -0.0713938028, -0.0499904826, -0.99619472, 0.962996662, 0.256768346, -0.0818996057, 0.25988543, -0.965179324, 0.0298089981), lerpintensity)
  906. RHip.C1 = RHip.C1:Lerp(CFrame.new(0.500001192, 0.42628178, 0.0961997509, 0.07547912, 0.0435778312, 0.996194839, 0.639691591, 0.76425612, -0.0818996131, -0.764916778, 0.643439114, 0.0298089981), lerpintensity)
  907. LHip.C1 = LHip.C1:Lerp(CFrame.new(-0.5, 0.431063563, 0.0745928288, 0.0754791349, -0.0435778461, -0.996194839, -0.639691174, 0.764256358, -0.0818996206, 0.764917135, 0.643438578, 0.0298090223), lerpintensity)
  908. Neck.C1 = Neck.C1:Lerp(CFrame.new(0, -0.5, 0, -1, 0, 0, 0, -0.707106829, 0.70710665, 0, 0.70710665, 0.707106829), lerpintensity)
  909. RJoint.C1 = RJoint.C1:Lerp(CFrame.new(0, 0.645248413, 0.258281708, -1, 0, 0, 0, -0.573576629, 0.819151938, 0, 0.819151938, 0.573576629), lerpintensity)
  910. end
  911. else
  912. local squishnoise = math.random(1, 2)
  913. if squishnoise == 1 then
  914. SmallSquish:Play()
  915. else
  916. BigSquish:Play()
  917. end
  918. lerpintensity = 0.2
  919. for i = 1, 7 do
  920. wait()
  921. if i > 3 then
  922. TailWeld.C1 = TailWeld.C1:Lerp(CFrame.new(0, 0, 0, 1, 0, 0, 0, 0.984807789, 0.173647702, 0, -0.173647702, 0.984807789), lerpintensity)
  923. TailWeld.C0 = TailWeld.C0:Lerp(CFrame.new(-9.53674316e-07, -0.899998903, 0.500267029, 1, 0, 0, 0, 1, 0, 0, 0, 1), lerpintensity)
  924. else
  925. TailWeld.C1 = TailWeld.C1:Lerp(CFrame.new(0, 0, 0, 1, 0, 0, 0, 0.965925932, 0.258818567, 0, -0.258818567, 0.965925932), lerpintensity)
  926. TailWeld.C0 = TailWeld.C0:Lerp(CFrame.new(-9.53674316e-07, -0.899998903, 0.500267029, 1, 0, 0, 0, 1, 0, 0, 0, 1), lerpintensity)
  927. end
  928. Motor.C0 = Motor.C0:Lerp(CFrame.new(-0.0227355957, -1.26026344, -1.37898636, -1, 0, 0, 0, 0.573576629, -0.819151938, 0, -0.819151938, -0.573576629), lerpintensity)
  929. RShoulder.C1 = RShoulder.C1:Lerp(CFrame.new(0.5, 1.39999998, -0.100000001, -0.0713938177, 0.0499904528, 0.99619472, -0.96299684, 0.25676772, -0.0818995982, -0.259884864, -0.965179384, 0.0298090167), lerpintensity)
  930. LShoulder.C1 = LShoulder.C1:Lerp(CFrame.new(-0.499998122, 1.40000141, -0.100001909, -0.0713938028, -0.0499904826, -0.99619472, 0.962996662, 0.256768346, -0.0818996057, 0.25988543, -0.965179324, 0.0298089981), lerpintensity)
  931. RHip.C1 = RHip.C1:Lerp(CFrame.new(0.500001192, 0.42628178, 0.0961997509, 0.07547912, 0.0435778312, 0.996194839, 0.639691591, 0.76425612, -0.0818996131, -0.764916778, 0.643439114, 0.0298089981), lerpintensity)
  932. LHip.C1 = LHip.C1:Lerp(CFrame.new(-0.5, 0.431063563, 0.0745928288, 0.0754791349, -0.0435778461, -0.996194839, -0.639691174, 0.764256358, -0.0818996206, 0.764917135, 0.643438578, 0.0298090223), lerpintensity)
  933. Neck.C1 = Neck.C1:Lerp(CFrame.new(0, -0.5, 0, -1, 0, 0, 0, -0.707106829, 0.70710665, 0, 0.70710665, 0.707106829), lerpintensity)
  934. RJoint.C1 = RJoint.C1:Lerp(CFrame.new(0, 0.645248413, 0.258281708, -1, 0, 0, 0, -0.573576629, 0.819151938, 0, 0.819151938, 0.573576629), lerpintensity)
  935. end
  936. end
  937. until on == "more" or on == "false"
  938. local first = false
  939. purring:Play()
  940. repeat
  941. if on == "false" then
  942. break
  943. end
  944. if first == false then
  945. first = true
  946. coroutine.resume(coroutine.create(function()
  947. Talk("prrrrrrrrrrrr...")
  948. end))
  949. else
  950. coroutine.resume(coroutine.create(function()
  951. Talk("prrrrrrrrrrrr...")
  952. end))
  953. end
  954. lerpintensity = 0.15
  955. for i = 1, 15 do
  956. wait()
  957. if i <= 7 then
  958. if i == 1 then
  959. brushsound:Play()
  960. local chance = math.random(8, 13)
  961. purring.PlaybackSpeed = chance/10
  962. end
  963. Motor.C0 = Motor.C0:Lerp(CFrame.new(0.0583114624, -0.512584686, -1.41906452, -0.99619472, 0, -0.087155737, 0.0298089981, 0.939692736, -0.340718448, 0.0818996131, -0.342019916, -0.936116934), lerpintensity)
  964. TailWeld.C1 = TailWeld.C1:Lerp(CFrame.new(0, 0, 0, 0.438678026, 0.680997431, 0.586348057, -0.474547088, -0.378539503, 0.794677913, 0.763129473, -0.626857519, 0.157108307), lerpintensity)
  965. TailWeld.C0 = TailWeld.C0:Lerp(CFrame.new(-9.53674316e-07, -0.899998903, 0.500267029, 1, 0, 0, 0, 1, 0, 0, 0, 1), lerpintensity)
  966. RShoulder.C1 = RShoulder.C1:Lerp(CFrame.new(0.300007641, 0.600003064, -0.100000381, -0.230375499, 0.115933135, 0.966171086, -0.934927404, 0.249000192, -0.252803802, -0.269885123, -0.961539626, 0.0510255098), lerpintensity)
  967. LShoulder.C1 = LShoulder.C1:Lerp(CFrame.new(-0.273846447, 0.619167328, -0.0977859497, -0.389224023, -0.157410368, -0.907593906, 0.880719543, 0.225086316, -0.41673708, 0.269885838, -0.961539865, 0.051025331), lerpintensity)
  968. RHip.C1 = RHip.C1:Lerp(CFrame.new(0.497009277, -0.173597336, 0.196154714, 0.0262007248, -0.0151497796, 0.999542058, 0.343312234, 0.939207077, 0.00523614883, -0.938855946, 0.343017817, 0.0298089981), lerpintensity)
  969. LHip.C1 = LHip.C1:Lerp(CFrame.new(-0.497009277, -0.168815613, 0.174548149, 0.0854182094, -0.148172021, -0.98526603, -0.33354643, 0.927569389, -0.16841206, 0.938856184, 0.34301731, 0.0298090223), lerpintensity)
  970. Neck.C1 = Neck.C1:Lerp(CFrame.new(0.200912476, -0.709360123, 0.458553314, -0.800952435, 0.101351067, 0.590087712, 0.368687898, -0.693053365, 0.619472563, 0.471746415, 0.713726521, 0.517735839), lerpintensity)
  971. RJoint.C1 = RJoint.C1:Lerp(CFrame.new(0.298843384, 0.105287552, 1.00426102, -0.99619472, 0, 0.087155737, 0.0298089981, -0.939692736, 0.340718448, 0.0818996131, 0.342019916, 0.936116934), lerpintensity)
  972. else
  973. if i == 8 then
  974. brushsound:Play()
  975. end
  976. Motor.C0 = Motor.C0:Lerp(CFrame.new(0.195236206, -0.504997253, -1.39821768, -0.99619472, 0, 0.087155737, -0.0298089981, 0.939692736, -0.340718448, -0.0818996131, -0.342019916, -0.936116934), lerpintensity)
  977. RShoulder.C1 = RShoulder.C1:Lerp(CFrame.new(0.300018311, 0.600002289, -0.100000381, -0.386793852, 0.164786592, 0.90732348, -0.880415916, 0.226710796, -0.416497767, -0.274333209, -0.959920764, 0.0573903918), lerpintensity)
  978. LShoulder.C1 = LShoulder.C1:Lerp(CFrame.new(-0.273849487, 0.619165421, -0.0977859497, -0.232747033, -0.108718231, -0.966441572, 0.935460567, 0.246745914, -0.253043085, 0.265976012, -0.962962985, 0.0442721732), lerpintensity)
  979. RHip.C1 = RHip.C1:Lerp(CFrame.new(0.497024536, -0.173601151, 0.196154594, 0.116779052, 0.226236105, 0.967047155, 0.343777001, 0.904307723, -0.25307247, -0.93176204, 0.362002134, 0.0278293937), lerpintensity)
  980. LHip.C1 = LHip.C1:Lerp(CFrame.new(-0.497009277, -0.168815613, 0.174548388, 0.0265306477, 0.0151176825, -0.999533892, -0.347999454, 0.937482119, 0.00494225696, 0.937119603, 0.347706079, 0.0301329084), lerpintensity)
  981. Neck.C1 = Neck.C1:Lerp(CFrame.new(0.570289612, -0.803970337, -0.0138549805, 0.00520382822, 0.624937713, 0.78065753, -0.286788315, -0.746941745, 0.59985894, 0.957979977, -0.22700496, 0.175337881), lerpintensity)
  982. RJoint.C1 = RJoint.C1:Lerp(CFrame.new(0, 0.11423111, 1.02883196, -0.99619472, 0, -0.087155737, -0.0298089981, -0.939692736, 0.340718448, -0.0818996131, 0.342019916, 0.936116934), lerpintensity)
  983. TailWeld.C1 = TailWeld.C1:Lerp(CFrame.new(0, 0, 0, 0.9468472, -0.225056857, 0.229848579, -0.193389788, 0.172739729, 0.965796232, -0.257062763, -0.95891124, 0.120034307), lerpintensity)
  984. TailWeld.C0 = TailWeld.C0:Lerp(CFrame.new(-9.53674316e-07, -0.899998903, 0.500267029, 1, 0, 0, 0, 1, 0, 0, 0, 1), lerpintensity)
  985. end
  986. end
  987. until on == "false"
  988. coroutine.resume(coroutine.create(function()
  989. Talk("-w-")
  990. end))
  991. purring:Stop()
  992. for i = 1, 5 do
  993. wait()
  994. RShoulder.C1 = RShoulder.C1:Lerp(CFrame.new(0.5, 1.30000007, 0, -0.0713938177, 0.0499904528, 0.99619472, -0.816035151, 0.571393549, -0.087155737, -0.573576152, -0.819152236, 0), lerpintensity)
  995. LShoulder.C1 = LShoulder.C1:Lerp(CFrame.new(-0.499998122, 1.3000015, -1.90734863e-06, -0.0713938028, -0.0499904826, -0.99619472, 0.816034973, 0.571393907, -0.087155737, 0.57357651, -0.819152057, 0), lerpintensity)
  996. RHip.C1 = RHip.C1:Lerp(CFrame.new(0.500001192, 0.826281726, 0.0961997509, 0.07547912, 0.0435778312, 0.996194839, 0.862730265, 0.498097062, -0.087155737, -0.499999672, 0.866025746, 1.58324838e-08), lerpintensity)
  997. LHip.C1 = LHip.C1:Lerp(CFrame.new(-0.5, 0.831063509, 0.0745928288, 0.0754791349, -0.0435778461, -0.996194839, -0.862730086, 0.498097271, -0.0871557519, 0.499999851, 0.866025507, 1.62981451e-08), lerpintensity)
  998. Neck.C1 = Neck.C1:Lerp(CFrame.new(0, -0.5, 0, -1, 0, 0, 0, -0.642787695, 0.766044319, 0, 0.766044319, 0.642787695), lerpintensity)
  999. RJoint.C1 = RJoint.C1:Lerp(CFrame.new(0, 0.645248413, 0.258281708, -1, 0, 0, 0, -0.342020512, 0.939692497, 0, 0.939692497, 0.342020512), lerpintensity)
  1000. end
  1001. grabbedtorso.Anchored = true
  1002. coroutine.resume(coroutine.create(function()
  1003. wait(0.2)
  1004. grabbedtorso.Anchored = false
  1005. end))
  1006. on = true
  1007. action = false
  1008. pcall(function()
  1009. for i, v in pairs(Character.Torso:GetChildren()) do
  1010. if v.Name == "Hugging" and v.ClassName == "Motor6D" then
  1011. v:Destroy()
  1012. end
  1013. end
  1014. end)
  1015. grabbedtorso.Parent:FindFirstChildOfClass("Humanoid").PlatformStand = false
  1016. if walking == true then
  1017. spawn(WalkAnimation)
  1018. elseif walking == false then
  1019. spawn(IdleAnimation)
  1020. end
  1021. Character.Humanoid.WalkSpeed = 10
  1022. Character.Humanoid.JumpPower = jumppower
  1023. end
  1024. end
  1025.  
  1026. function Groom()
  1027. local timeout = 1
  1028. local clocktime = 0
  1029. grabbed = false
  1030. running = false
  1031. local grabbedtorso = nil
  1032. if action == true or freefall == true then
  1033. return
  1034. else
  1035. action = true
  1036. lerpintensity = 0.2
  1037. end
  1038. Character.Humanoid.JumpPower = 0
  1039. Character.Humanoid.WalkSpeed = 35
  1040. coroutine.resume(coroutine.create(function()
  1041. repeat
  1042. wait(0.1)
  1043. clocktime = clocktime + 0.1
  1044. until clocktime >= timeout or grabbed == true
  1045. if clocktime >= timeout then
  1046. action = false
  1047. Character.Humanoid.WalkSpeed = 10
  1048. Character.Humanoid.JumpPower = jumppower
  1049. if GunEquipped == true then
  1050. if running == true then
  1051. spawn(GunRunAnimation)
  1052. elseif walking == true and running == false then
  1053. spawn(GunWalkAnimation)
  1054. elseif walking == false then
  1055. spawn(GunIdleAnimation)
  1056. end
  1057. elseif GunEquipped == false then
  1058. if walking == true then
  1059. spawn(WalkAnimation)
  1060. elseif walking == false then
  1061. spawn(IdleAnimation)
  1062. end
  1063. end
  1064. end
  1065. end))
  1066. Ring:Clone().Parent = Character.Torso
  1067. Character.Torso.Ring.CFrame = CFrame.new(Character.Torso.Position.X, Character.Torso.Position.Y, Character.Torso.Position.Z) * CFrame.new(0, -2.3, 0) * CFrame.Angles(math.rad(90), 0, 0)
  1068. local property = {}
  1069. property.Scale = Vector3.new(10, 10, 1)
  1070. local TweenInf = TweenInfo.new(0.6, Enum.EasingStyle.Quad, Enum.EasingDirection.Out)
  1071. local Tween = TweenService:Create(Character.Torso.Ring.Mesh, TweenInf, property)
  1072. Character.Torso.Ring.Transparency = 1
  1073. Tween:Play()
  1074. property.Scale = nil
  1075. property.Transparency = 1
  1076. local TweenL = TweenService:Create(Character.Torso.Ring, TweenInf, property)
  1077. TweenL:Play()
  1078. TweenL.Completed:Connect(function()
  1079. pcall(function()
  1080. Character.Torso.Ring:Destroy()
  1081. end)
  1082. end)
  1083. purring:Play()
  1084. grabbed = true
  1085. if action == false then
  1086. return
  1087. end
  1088. if grabbed == true then
  1089. end
  1090. Character.Humanoid.WalkSpeed = 0
  1091. lerpintensity = 0.1
  1092. for i = 1, 15 do
  1093. wait()
  1094. TailWeld.C1 = TailWeld.C1:Lerp(CFrame.new(0, 0, 0, 1, 0, 0, 0, 0.98480767, -0.173648626, 0, 0.173648626, 0.98480767), lerpintensity)
  1095. TailWeld.C0 = TailWeld.C0:Lerp(CFrame.new(-9.53674316e-07, -0.899998903, 0.500267029, 1, 0, 0, 0, 1, 0, 0, 0, 1), lerpintensity)
  1096. RShoulder.C1 = RShoulder.C1:Lerp(CFrame.new(0.500001907, 0.700000763, 3.81469727e-06, -0.212012142, 0.148452476, 0.965925813, -0.791240156, 0.554032147, -0.258819044, -0.573576331, -0.819152117, 0), lerpintensity)
  1097. LShoulder.C1 = LShoulder.C1:Lerp(CFrame.new(-0.499998122, 0.50000149, -1.90734863e-06, -0.54167527, -0.54167521, -0.642787635, 0.45451957, 0.45451948, -0.766044438, 0.707106769, -0.707106888, 0), lerpintensity)
  1098. RHip.C1 = RHip.C1:Lerp(CFrame.new(-0.206653118, 0.875644684, -0.290397644, 0.599353969, -0.78719008, 0.145280719, -0.726487219, -0.611128151, -0.314227045, 0.336141646, 0.0827887207, -0.938165724), lerpintensity)
  1099. LHip.C1 = LHip.C1:Lerp(CFrame.new(-0.200000018, 0.631063461, 0.274592966, -0.696535289, -0.623583138, -0.354940355, 0.632912159, -0.300920159, -0.713350654, 0.338024706, -0.721520066, 0.604274809), lerpintensity)
  1100. Neck.C1 = Neck.C1:Lerp(CFrame.new(0, -0.5, 0, -0.939692557, -0.309975654, -0.14454414, 0.0298090428, -0.495236635, 0.868246615, -0.340718865, 0.811576068, 0.47461018), lerpintensity)
  1101. RJoint.C1 = RJoint.C1:Lerp(CFrame.new(0, 1.2688303, 0.591665268, -1, 0, 0, 0, -0.422618449, 0.906307697, 0, 0.906307697, 0.422618449), lerpintensity)
  1102. end
  1103. repeat
  1104. for i = 1, 30 do
  1105. wait()
  1106. if i > 15 then
  1107. TailWeld.C1 = TailWeld.C1:Lerp(CFrame.new(0, 0, 0, 1, 0, 0, 0, 0.98480767, -0.173648626, 0, 0.173648626, 0.98480767), lerpintensity)
  1108. TailWeld.C0 = TailWeld.C0:Lerp(CFrame.new(-9.53674316e-07, -0.899998903, 0.500267029, 1, 0, 0, 0, 1, 0, 0, 0, 1), lerpintensity)
  1109. RShoulder.C1 = RShoulder.C1:Lerp(CFrame.new(0.380865097, 0.944504738, 0.102607727, -0.298836291, 0.298836201, 0.906307757, -0.640856564, 0.640856266, -0.42261827, -0.707106888, -0.707106948, 3.36828379e-08), lerpintensity)
  1110. LShoulder.C1 = LShoulder.C1:Lerp(CFrame.new(-0.359044552, 0.955858231, 0.102600098, -0.353553444, -0.353553385, -0.866025209, 0.612372696, 0.612372339, -0.5, 0.707106948, -0.707106948, -5.05242355e-08), lerpintensity)
  1111. RHip.C1 = RHip.C1:Lerp(CFrame.new(0.199999988, 1.12627983, -0.103800572, 0.549776137, 0.331297398, 0.76680398, -0.668760061, -0.375469327, 0.64170301, 0.500505924, -0.865600824, 0.0151344091), lerpintensity)
  1112. LHip.C1 = LHip.C1:Lerp(CFrame.new(-0.5, 1.03106344, -0.525407076, 0.0667652041, -0.0560226068, -0.996194661, 0.256431252, -0.963922322, 0.0713938028, -0.964253783, -0.260222107, -0.0499905124), lerpintensity)
  1113. Neck.C1 = Neck.C1:Lerp(CFrame.new(0.200000003, -0.800000012, 0, -1, 0, 0, 0, -0.939692795, 0.342019498, 0, 0.342019498, 0.939692795), lerpintensity)
  1114. RJoint.C1 = RJoint.C1:Lerp(CFrame.new(0, 1.45009613, 0.676193237, -1, 2.30967999e-07, 0, -9.68575478e-08, -0.422618479, 0.906307697, 1.86264515e-07, 0.906307757, 0.422618449), lerpintensity)
  1115. else
  1116. if i == 1 then
  1117. brushsound:Play()
  1118. end
  1119. TailWeld.C1 = TailWeld.C1:Lerp(CFrame.new(0, 0, 0, 1, 0, 0, 0, 0.98480767, -0.173648626, 0, 0.173648626, 0.98480767), lerpintensity)
  1120. TailWeld.C0 = TailWeld.C0:Lerp(CFrame.new(-9.53674316e-07, -0.899998903, 0.500267029, 1, 0, 0, 0, 1, 0, 0, 0, 1), lerpintensity)
  1121. RShoulder.C1 = RShoulder.C1:Lerp(CFrame.new(0.385093689, 0.95358181, 0.126781464, -0.29883635, 0.298836231, 0.906307757, -0.640856504, 0.640856326, -0.42261824, -0.707106948, -0.707106948, 1.54024349e-08), lerpintensity)
  1122. LShoulder.C1 = LShoulder.C1:Lerp(CFrame.new(-0.364051819, 0.964536667, 0.126785278, -0.353553474, -0.353553414, -0.866025388, 0.612372637, 0.612372458, -0.5, 0.707107008, -0.707107008, -1.54024349e-08), lerpintensity)
  1123. RHip.C1 = RHip.C1:Lerp(CFrame.new(0.199996948, 1.12628174, -0.10380125, 0.665907323, 0.373565733, 0.645768106, -0.553245008, -0.333425283, 0.763379157, 0.500487685, -0.865607619, -0.0153569616), lerpintensity)
  1124. LHip.C1 = LHip.C1:Lerp(CFrame.new(-0.5, 1.03106344, -0.525407076, 0.0667652041, -0.0560226068, -0.996194661, 0.085094586, -0.994465292, 0.0616284087, -0.994133413, -0.0888853818, -0.061628446), lerpintensity)
  1125. Neck.C1 = Neck.C1:Lerp(CFrame.new(0.200001717, -0.782634735, 0.0984802246, -1, 5.21098116e-08, -3.27107017e-08, 5.63623104e-08, -0.866026402, 0.499999702, -7.43935971e-08, 0.499999642, 0.866025925), lerpintensity)
  1126. RJoint.C1 = RJoint.C1:Lerp(CFrame.new(0, 1.42257214, 0.754058838, -1, 2.30967999e-07, 0, -8.02549565e-08, -0.342020363, 0.939692616, 1.93997408e-07, 0.939692676, 0.342020333), lerpintensity)
  1127. end
  1128. end
  1129. until on == "more" or on == "false"
  1130. for i = 1, 15 do
  1131. wait()
  1132. TailWeld.C1 = TailWeld.C1:Lerp(CFrame.new(0, 0, 0, 1, 0, 0, 0, 0.98480767, -0.173648626, 0, 0.173648626, 0.98480767), lerpintensity)
  1133. TailWeld.C0 = TailWeld.C0:Lerp(CFrame.new(-9.53674316e-07, -0.899998903, 0.500267029, 1, 0, 0, 0, 1, 0, 0, 0, 1), lerpintensity)
  1134. RShoulder.C1 = RShoulder.C1:Lerp(CFrame.new(0.300000012, 0.700000048, 0, -0.640856445, 0.640856266, 0.42261827, -0.298836231, 0.298836172, -0.906307697, -0.707106709, -0.707106888, 0), lerpintensity)
  1135. LShoulder.C1 = LShoulder.C1:Lerp(CFrame.new(-0.537373543, 0.410797119, 0.514456749, -0.429610223, -0.797377706, 0.423821598, 0.859225631, -0.505339205, -0.0797840059, 0.27779156, 0.329882175, 0.902224898), lerpintensity)
  1136. RHip.C1 = RHip.C1:Lerp(CFrame.new(0.413868725, 0.029406786, -0.140187263, -0.851848006, -0.495542467, 0.169690445, -0.154495448, -0.0718461946, -0.985377789, 0.500487924, -0.865607798, -0.015357133), lerpintensity)
  1137. LHip.C1 = LHip.C1:Lerp(CFrame.new(-0.5, 0.531063378, 0.474592924, -0.78243959, -0.0379041135, -0.621571779, 0.617411792, 0.0829073936, -0.782258809, 0.0811837018, -0.995836377, -0.0414675511), lerpintensity)
  1138. Neck.C1 = Neck.C1:Lerp(CFrame.new(2.1904707e-06, -0.61192739, 0.169189453, -1, 8.48723403e-09, -1.63108695e-07, 2.87404873e-08, -0.4226197, 0.906308532, -2.53046608e-07, 0.906308353, 0.422618985), lerpintensity)
  1139. RJoint.C1 = RJoint.C1:Lerp(CFrame.new(-0.375876427, 1.14027405, 0.544895172, -0.939692616, 2.30967999e-07, -0.342020124, -0.321393877, -0.342020363, 0.883022189, -0.116977654, 0.939692676, 0.321394026), lerpintensity)
  1140. end
  1141. local first = false
  1142. repeat
  1143. if on == "false" then
  1144. break
  1145. end
  1146. if first == false then
  1147. first = true
  1148. coroutine.resume(coroutine.create(function()
  1149. Talk("prrrrrrrrrrrr...")
  1150. end))
  1151. else
  1152. coroutine.resume(coroutine.create(function()
  1153. Talk("prrrrrrrrrrrr...")
  1154. end))
  1155. end
  1156. lerpintensity = 0.15
  1157. for i = 1, 30 do
  1158. wait()
  1159. if i <= 15 then
  1160. if i == 1 then
  1161. local chance = math.random(8, 13)
  1162. purring.PlaybackSpeed = chance/10
  1163. end
  1164. TailWeld.C1 = TailWeld.C1:Lerp(CFrame.new(0, 0, 0, 1, 0, 0, 0, 0.98480767, -0.173648626, 0, 0.173648626, 0.98480767), lerpintensity)
  1165. TailWeld.C0 = TailWeld.C0:Lerp(CFrame.new(-9.53674316e-07, -0.899998903, 0.500267029, 1, 0, 0, 0, 1, 0, 0, 0, 1), lerpintensity)
  1166. RShoulder.C1 = RShoulder.C1:Lerp(CFrame.new(0.5, 1.20000005, 0, 0, 0, 1, -0.707106888, 0.707106709, 0, -0.707106709, -0.707106888, 0), lerpintensity)
  1167. LShoulder.C1 = LShoulder.C1:Lerp(CFrame.new(0.700001895, 1.50501728e-06, 0.799998105, 0.178606153, 0.383022219, 0.906307817, -0.135401472, -0.902787268, 0.408217847, 0.974559665, -0.195625648, -0.109381542), lerpintensity)
  1168. RHip.C1 = RHip.C1:Lerp(CFrame.new(0.5, 0.126279831, 0.0961994305, 0.0667652041, 0.0560225844, 0.99619472, 0.76312983, 0.640341103, -0.087155737, -0.642787099, 0.766044855, 0), lerpintensity)
  1169. LHip.C1 = LHip.C1:Lerp(CFrame.new(-0.5, 0.131063491, 0.0745929778, 0.0667652115, -0.0560226105, -0.99619472, -0.763129652, 0.640341401, -0.0871557593, 0.642787337, 0.766044736, 0), lerpintensity)
  1170. Neck.C1 = Neck.C1:Lerp(CFrame.new(0, -0.5, 0, -1, 0, 0, 0, -0.422618657, 0.906307638, 0, 0.906307638, 0.422618657), lerpintensity)
  1171. RJoint.C1 = RJoint.C1:Lerp(CFrame.new(0, 1.2688303, 0.591665268, -1, 0, 0, 0, -0.422618449, 0.906307697, 0, 0.906307697, 0.422618449), lerpintensity)
  1172. else
  1173. if i == 16 then
  1174. brushsound:Play()
  1175. end
  1176. TailWeld.C1 = TailWeld.C1:Lerp(CFrame.new(0, 0, 0, 1, 0, 0, 0, 0.98480767, -0.173648626, 0, 0.173648626, 0.98480767), lerpintensity)
  1177. TailWeld.C0 = TailWeld.C0:Lerp(CFrame.new(-9.53674316e-07, -0.899998903, 0.500267029, 1, 0, 0, 0, 1, 0, 0, 0, 1), lerpintensity)
  1178. RShoulder.C1 = RShoulder.C1:Lerp(CFrame.new(0.5, 1.20000005, 0, 0, 0, 1, -0.707106888, 0.707106709, 0, -0.707106709, -0.707106888, 0), lerpintensity)
  1179. LShoulder.C1 = LShoulder.C1:Lerp(CFrame.new(0.700001895, -0.0999984965, 0.699998081, 0.178606153, 0.383022219, 0.906307817, -0.219824702, -0.882301986, 0.416197687, 0.959050179, -0.273564339, -0.0733867884), lerpintensity)
  1180. RHip.C1 = RHip.C1:Lerp(CFrame.new(0.5, 0.126279831, 0.0961994305, 0.0667652041, 0.0560225844, 0.99619472, 0.76312983, 0.640341103, -0.087155737, -0.642787099, 0.766044855, 0), lerpintensity)
  1181. LHip.C1 = LHip.C1:Lerp(CFrame.new(-0.5, 0.131063491, 0.0745929778, 0.0667652115, -0.0560226105, -0.99619472, -0.763129652, 0.640341401, -0.0871557593, 0.642787337, 0.766044736, 0), lerpintensity)
  1182. Neck.C1 = Neck.C1:Lerp(CFrame.new(0, -0.5, 0, -1, 0, 0, 0, -0.258819461, 0.965925813, 0, 0.965925813, 0.258819461), lerpintensity)
  1183. RJoint.C1 = RJoint.C1:Lerp(CFrame.new(0, 1.2688303, 0.591665268, -1, 0, 0, 0, -0.422618449, 0.906307697, 0, 0.906307697, 0.422618449), lerpintensity)
  1184. end
  1185. end
  1186. until on == "owo" or on == "false"
  1187. on = "false"
  1188. repeat
  1189. if on == "false" then
  1190. break
  1191. end
  1192. for i = 1, 30 do
  1193. wait()
  1194. if i <= 15 then
  1195. TailWeld.C1 = TailWeld.C1:Lerp(CFrame.new(0, 0, 0, 1, 0, 0, 0, 0.98480767, -0.173648626, 0, 0.173648626, 0.98480767), lerpintensity)
  1196. TailWeld.C0 = TailWeld.C0:Lerp(CFrame.new(-9.53674316e-07, -0.899998903, 0.500267029, 1, 0, 0, 0, 1, 0, 0, 0, 1), lerpintensity)
  1197. RShoulder.C1 = RShoulder.C1:Lerp(CFrame.new(0.399999976, 0.700000048, 0.5, -0.353553444, 0.353553355, 0.866025388, 0.227985561, 0.930470407, -0.286788166, -0.907205939, 0.0960462689, -0.409576058), lerpintensity)
  1198. LShoulder.C1 = LShoulder.C1:Lerp(CFrame.new(-0.399998128, 0.600001454, 0.599998116, -0.351084054, -0.082283318, -0.932721436, -0.316419363, 0.947955728, 0.0354755521, 0.881259918, 0.307585865, -0.358848125), lerpintensity)
  1199. RHip.C1 = RHip.C1:Lerp(CFrame.new(0.5, 0.826279819, -0.00380057096, -0.0577223599, 0.537662208, 0.841182172, -0.755746245, -0.574083865, 0.315080076, 0.652315617, -0.617533088, 0.439473718), lerpintensity)
  1200. LHip.C1 = LHip.C1:Lerp(CFrame.new(-0.399999529, 0.531062007, -0.0254074335, -0.465810895, -0.352879643, -0.81147778, 0.541474938, 0.611641765, -0.576800704, 0.699874997, -0.708075047, -0.0938339308), lerpintensity)
  1201. Neck.C1 = Neck.C1:Lerp(CFrame.new(0, -1.29999352, 0.119611315, -1, 0, 0, 0, -0.965925992, -0.258818388, 0, -0.258818388, 0.965925992), lerpintensity)
  1202. RJoint.C1 = RJoint.C1:Lerp(CFrame.new(0, 1.97360229, -1.11223984, -1, 0, 0, 0, 0.819151938, 0.57357657, 0, 0.57357657, -0.819151938), lerpintensity)
  1203. else
  1204. if i == 16 then
  1205. brushsound:Play()
  1206. end
  1207. TailWeld.C1 = TailWeld.C1:Lerp(CFrame.new(0, 0, 0, 1, 0, 0, 0, 0.98480767, -0.173648626, 0, 0.173648626, 0.98480767), lerpintensity)
  1208. TailWeld.C0 = TailWeld.C0:Lerp(CFrame.new(-9.53674316e-07, -0.899998903, 0.500267029, 1, 0, 0, 0, 1, 0, 0, 0, 1), lerpintensity)
  1209. RShoulder.C1 = RShoulder.C1:Lerp(CFrame.new(0.399999976, 0.700000048, 0.5, -0.353553444, 0.353553355, 0.866025388, 0.227985561, 0.930470407, -0.286788166, -0.907205939, 0.0960462689, -0.409576058), lerpintensity)
  1210. LShoulder.C1 = LShoulder.C1:Lerp(CFrame.new(-0.399998128, 0.600001454, 0.599998116, -0.351084054, -0.082283318, -0.932721436, -0.316419363, 0.947955728, 0.0354755521, 0.881259918, 0.307585865, -0.358848125), lerpintensity)
  1211. RHip.C1 = RHip.C1:Lerp(CFrame.new(0.5, 0.826279819, -0.00380057096, -0.0577223599, 0.537662208, 0.841182172, -0.63099128, -0.672595739, 0.386607111, 0.773639441, -0.508462787, 0.378084034), lerpintensity)
  1212. LHip.C1 = LHip.C1:Lerp(CFrame.new(-0.399999529, 0.531062007, -0.0254074335, -0.465810895, -0.352879643, -0.81147778, 0.478416353, 0.671027124, -0.566427648, 0.744404435, -0.652072549, -0.143748358), lerpintensity)
  1213. Neck.C1 = Neck.C1:Lerp(CFrame.new(0, -1.29999352, 0.119611315, -1, 0, 0, 0, -0.984807849, -0.173647508, 0, -0.173647508, 0.984807849), lerpintensity)
  1214. RJoint.C1 = RJoint.C1:Lerp(CFrame.new(0, 1.97360229, -1.11223984, -1, 0, 0, 0, 0.819151938, 0.57357657, 0, 0.57357657, -0.819151938), lerpintensity)
  1215. end
  1216. end
  1217. until on == "false"
  1218. coroutine.resume(coroutine.create(function()
  1219. Talk("-w-")
  1220. end))
  1221. purring:Stop()
  1222. on = true
  1223. action = false
  1224. if walking == true then
  1225. spawn(WalkAnimation)
  1226. elseif walking == false then
  1227. spawn(IdleAnimation)
  1228. end
  1229. Character.Humanoid.WalkSpeed = 10
  1230. Character.Humanoid.JumpPower = jumppower
  1231. end
  1232.  
  1233.  
  1234. function GunWalkAnimation()
  1235. lerpintensity = 0.15
  1236. while true do
  1237. if walking == false or action == true or GunEquipped == false or running == true then
  1238. break
  1239. end
  1240. for i = 1, 20 do
  1241. wait()
  1242. if walking == false or action == true or GunEquipped == false or running == true then
  1243. break
  1244. end
  1245. if i < 5 then
  1246. TailWeld.C1 = TailWeld.C1:Lerp(CFrame.new(0, 0, 0, 0.953098297, 0.221296161, 0.206474632, -0.267031431, 0.935967088, 0.229476914, -0.142471164, -0.273849219, 0.951161504), lerpintensity)
  1247. TailWeld.C0 = TailWeld.C0:Lerp(CFrame.new(-9.53674316e-07, -0.899998903, 0.500267029, 1, 0, 0, 0, 1, 0, 0, 0, 1), lerpintensity)
  1248. RShoulder.C1 = RShoulder.C1:Lerp(CFrame.new(-0.199999988, 0.500000119, -0.800000012, 0, 0.087155737, 0.99619472, -8.74227766e-08, -0.99619472, 0.087155737, 1, -8.70901076e-08, 7.61939667e-09), lerpintensity)
  1249. LShoulder.C1 = LShoulder.C1:Lerp(CFrame.new(0.100001812, 0.691286087, 0.900381088, 0, 1, 2.98023224e-08, 0.0871555507, -2.96889162e-08, 0.99619472, 0.99619472, 2.59743782e-09, -0.0871555507), lerpintensity)
  1250. RHip.C1 = RHip.C1:Lerp(CFrame.new(0.5, 1.10000229, -0.173206329, -0.173648134, 0, 0.984807551, 0.492403775, 0.866025448, 0.0868240669, -0.852868378, 0.5, -0.150383696), lerpintensity)
  1251. LHip.C1 = LHip.C1:Lerp(CFrame.new(-0.5, 1.05000019, 0.0866088867, 0.173648134, 0, -0.984807551, 0.492404044, 0.866025329, 0.0868241116, 0.852868319, -0.500000179, 0.150383681), lerpintensity)
  1252. Neck.C1 = Neck.C1:Lerp(CFrame.new(0, -0.5, 0, -1, 0, 0, 0, 1.71363354e-07, 1.00000012, 0, 1.00000012, -1.71363354e-07), lerpintensity)
  1253. RJoint.C1 = RJoint.C1:Lerp(CFrame.new(0, 0, 0, -0.98480773, -0.173648179, 0, 0, 0, 1, -0.173648179, 0.98480773, 0), lerpintensity)
  1254. if i == 1 then
  1255. walksound:Play()
  1256. end
  1257. elseif i >= 5 and i < 10 then
  1258. TailWeld.C1 = TailWeld.C1:Lerp(CFrame.new(0, 0, 0, 0.953098297, 0.221296161, 0.206474632, -0.267031431, 0.935967088, 0.229476914, -0.142471164, -0.273849219, 0.951161504), lerpintensity)
  1259. TailWeld.C0 = TailWeld.C0:Lerp(CFrame.new(-9.53674316e-07, -0.899998903, 0.500267029, 1, 0, 0, 0, 1, 0, 0, 0, 1), lerpintensity)
  1260. RShoulder.C1 = RShoulder.C1:Lerp(CFrame.new(-0.199999988, 0.500000119, -0.800000012, 0, 0.087155737, 0.99619472, -8.74227766e-08, -0.99619472, 0.087155737, 1, -8.70901076e-08, 7.61939667e-09), lerpintensity)
  1261. LShoulder.C1 = LShoulder.C1:Lerp(CFrame.new(0.100001812, 0.691286087, 0.900381088, 0, 1, 2.98023224e-08, 0.0871555507, -2.96889162e-08, 0.99619472, 0.99619472, 2.59743782e-09, -0.0871555507), lerpintensity)
  1262. RHip.C1 = RHip.C1:Lerp(CFrame.new(0.5, 1.10000229, -0.173206329, -0.173648134, 0, 0.984807551, 0.492403775, 0.866025448, 0.0868240669, -0.852868378, 0.5, -0.150383696), lerpintensity)
  1263. LHip.C1 = LHip.C1:Lerp(CFrame.new(-0.5, 1.05000019, 0.0866088867, 0.173648134, 0, -0.984807551, 0.492404044, 0.866025329, 0.0868241116, 0.852868319, -0.500000179, 0.150383681), lerpintensity)
  1264. Neck.C1 = Neck.C1:Lerp(CFrame.new(0, -0.5, 0, -1, 0, 0, 0, 1.71363354e-07, 1.00000012, 0, 1.00000012, -1.71363354e-07), lerpintensity)
  1265. RJoint.C1 = RJoint.C1:Lerp(CFrame.new(0, 0.0999999046, 0, -0.98480773, -0.173648179, 0, 0, 0, 1, -0.173648179, 0.98480773, 0), lerpintensity)
  1266. elseif i >= 10 and i < 15 then
  1267. TailWeld.C1 = TailWeld.C1:Lerp(CFrame.new(0, 0, 0, 0.696813047, 0.600698888, -0.391934067, -0.432968378, 0.787925243, 0.437849402, 0.571830273, -0.135404035, 0.809120178), lerpintensity)
  1268. TailWeld.C0 = TailWeld.C0:Lerp(CFrame.new(-9.53674316e-07, -0.899998903, 0.500267029, 1, 0, 0, 0, 1, 0, 0, 0, 1), lerpintensity)
  1269. RShoulder.C1 = RShoulder.C1:Lerp(CFrame.new(-0.199999988, 0.500000119, -0.800000012, 0, 0.087155737, 0.99619472, -8.74227766e-08, -0.99619472, 0.087155737, 1, -8.70901076e-08, 7.61939667e-09), lerpintensity)
  1270. LShoulder.C1 = LShoulder.C1:Lerp(CFrame.new(0.100001812, 0.691286087, 0.900381088, 0, 1, 2.98023224e-08, 0.0871555507, -2.96889162e-08, 0.99619472, 0.99619472, 2.59743782e-09, -0.0871555507), lerpintensity)
  1271. RHip.C1 = RHip.C1:Lerp(CFrame.new(0.499996185, 1.19015789, 0.129904747, 0.173648402, -1.62060473e-07, 0.984807253, -0.564862609, 0.819151878, 0.0996008292, -0.806706905, -0.573576272, 0.142244384), lerpintensity)
  1272. LHip.C1 = LHip.C1:Lerp(CFrame.new(-0.5, 1.15000057, -0.0866012573, -0.173648402, 1.54857418e-07, -0.984807372, -0.492403805, 0.866025448, 0.0868243426, 0.852868497, 0.499999762, -0.150383979), lerpintensity)
  1273. Neck.C1 = Neck.C1:Lerp(CFrame.new(0, -0.5, 0, -1, 0, 0, 0, 1.71363354e-07, 1.00000012, 0, 1.00000012, -1.71363354e-07), lerpintensity)
  1274. RJoint.C1 = RJoint.C1:Lerp(CFrame.new(0, 0, 0, -0.98480767, 0.173648551, 0, 0, 0, 1, 0.173648551, 0.98480767, 0), lerpintensity)
  1275. if i == 10 then
  1276. walksound:Play()
  1277. end
  1278. elseif i >= 15 then
  1279. TailWeld.C1 = TailWeld.C1:Lerp(CFrame.new(0, 0, 0, 0.696813047, 0.600698888, -0.391934067, -0.432968378, 0.787925243, 0.437849402, 0.571830273, -0.135404035, 0.809120178), lerpintensity)
  1280. TailWeld.C0 = TailWeld.C0:Lerp(CFrame.new(-9.53674316e-07, -0.899998903, 0.500267029, 1, 0, 0, 0, 1, 0, 0, 0, 1), lerpintensity)
  1281. RShoulder.C1 = RShoulder.C1:Lerp(CFrame.new(-0.199999988, 0.500000119, -0.800000012, 0, 0.087155737, 0.99619472, -8.74227766e-08, -0.99619472, 0.087155737, 1, -8.70901076e-08, 7.61939667e-09), lerpintensity)
  1282. LShoulder.C1 = LShoulder.C1:Lerp(CFrame.new(0.100001812, 0.691286087, 0.900381088, 0, 1, 2.98023224e-08, 0.0871555507, -2.96889162e-08, 0.99619472, 0.99619472, 2.59743782e-09, -0.0871555507), lerpintensity)
  1283. RHip.C1 = RHip.C1:Lerp(CFrame.new(0.499996185, 1.19015789, 0.129904747, 0.173648402, -1.62060473e-07, 0.984807253, -0.564862609, 0.819151878, 0.0996008292, -0.806706905, -0.573576272, 0.142244384), lerpintensity)
  1284. LHip.C1 = LHip.C1:Lerp(CFrame.new(-0.5, 1.15000057, -0.0866012573, -0.173648402, 1.54857418e-07, -0.984807372, -0.492403805, 0.866025448, 0.0868243426, 0.852868497, 0.499999762, -0.150383979), lerpintensity)
  1285. Neck.C1 = Neck.C1:Lerp(CFrame.new(0, -0.5, 0, -1, 0, 0, 0, 1.71363354e-07, 1.00000012, 0, 1.00000012, -1.71363354e-07), lerpintensity)
  1286. RJoint.C1 = RJoint.C1:Lerp(CFrame.new(0, 0.0999999046, 0, -0.98480767, 0.173648551, 0, 0, 0, 1, 0.173648551, 0.98480767, 0), lerpintensity)
  1287. end
  1288. end
  1289. end
  1290. end
  1291.  
  1292. function GunRunAnimation()
  1293. lerpintensity = 0.5
  1294. if running == true then
  1295. return
  1296. end
  1297. running = true
  1298. while true do
  1299. if action == true and running == false then
  1300. stoprunning()
  1301. running = false
  1302. break
  1303. elseif walking == false then
  1304. stoprunning()
  1305. running = false
  1306. return
  1307. end
  1308. for i = 1, 12 do
  1309. wait()
  1310. if action == true and running == false then
  1311. stoprunning()
  1312. running = false
  1313. return
  1314. elseif walking == false then
  1315. stoprunning()
  1316. running = false
  1317. return
  1318. end
  1319. if i < 3 then
  1320. TailWeld.C1 = TailWeld.C1:Lerp(CFrame.new(0, 0, 0, 0.999999881, -0.000320188352, -0.00100398809, 0.000969801738, -0.0931002796, 0.995656371, -0.000412440335, -0.995656729, -0.0931000262), lerpintensity)
  1321. TailWeld.C0 = TailWeld.C0:Lerp(CFrame.new(-9.53674316e-07, -0.899998903, 0.500267029, 1, 0, 0, 0, 1, 0, 0, 0, 1), lerpintensity)
  1322. RShoulder.C1 = RShoulder.C1:Lerp(CFrame.new(0.499998093, 1.11069322, 0.00284767151, 0.00104822579, -0.0373455845, 0.99930197, -0.769365489, 0.638332546, 0.0246625859, -0.638807893, -0.768854201, -0.0280633103), lerpintensity)
  1323. LShoulder.C1 = LShoulder.C1:Lerp(CFrame.new(-0.499996185, 1.10000134, 0, -0.0025613904, 0.00549331307, -0.999981642, 0.766080141, 0.642743289, 0.00156857644, 0.64274013, -0.766061962, -0.00585465133), lerpintensity)
  1324. RHip.C1 = RHip.C1:Lerp(CFrame.new(0.399996161, 0.726279974, 0.19619368, -0.570106149, -0.145601541, 0.80856663, -0.703167975, -0.422509432, -0.571875095, 0.424892604, -0.8945871, 0.138492972), lerpintensity)
  1325. LHip.C1 = LHip.C1:Lerp(CFrame.new(-0.1847637, 0.732380033, 0.257478714, -0.633421242, -0.0332981311, -0.773090959, 0.734873354, -0.338801771, -0.587516189, -0.242361262, -0.940268636, 0.2390742), lerpintensity)
  1326. Neck.C1 = Neck.C1:Lerp(CFrame.new(0, -0.499999762, 0, -1, 0, 0, 0, 0.965925813, 0.258818835, 0, 0.258818835, -0.965925813), lerpintensity)
  1327. RJoint.C1 = RJoint.C1:Lerp(CFrame.new(-1.90734863e-06, 0.690116882, 0.826450348, -0.99984777, 0, 0.0174524188, 0.00152107805, -0.99619472, 0.0871424824, 0.0173860006, 0.0871557295, 0.996042967), lerpintensity)
  1328. elseif i >= 3 and i < 6 then
  1329. RShoulder.C1 = RShoulder.C1:Lerp(CFrame.new(0.499998093, 1.11069322, 0.00284767151, 0.00104822579, -0.0373455845, 0.99930197, -0.99572897, -0.0922928452, -0.00240467861, 0.0923182517, -0.995031238, -0.0372828394), lerpintensity)
  1330. LShoulder.C1 = LShoulder.C1:Lerp(CFrame.new(-0.499996185, 1.10000134, 0, -0.0025613904, 0.00549331307, -0.999981642, 0.996186376, -0.0871997625, -0.00303071458, -0.0872148126, -0.996175826, -0.00524901412), lerpintensity)
  1331. RHip.C1 = RHip.C1:Lerp(CFrame.new(0.199996173, 0.726279974, -0.00380632281, -0.486058295, -0.180515736, 0.855080307, -0.80583936, 0.471205562, -0.358592451, -0.338186681, -0.863353729, -0.374500334), lerpintensity)
  1332. LHip.C1 = LHip.C1:Lerp(CFrame.new(-0.1847637, 0.632380009, 0.15747872, -0.413873613, 0.211198509, -0.885496855, 0.714891076, 0.677620411, -0.172516018, 0.563595235, -0.704433382, -0.43143332), lerpintensity)
  1333. Neck.C1 = Neck.C1:Lerp(CFrame.new(0, -0.499999762, 0, -1, 0, 0, 0, 0.965925813, 0.258818835, 0, 0.258818835, -0.965925813), lerpintensity)
  1334. RJoint.C1 = RJoint.C1:Lerp(CFrame.new(-1.90734863e-06, 0.690116882, 0.826450348, -0.99984777, 0, 0.0174524188, 0.00303057628, -0.984807789, 0.17362155, 0.0171872713, 0.17364797, 0.984657824), lerpintensity)
  1335. TailWeld.C1 = TailWeld.C1:Lerp(CFrame.new(0, 0, 0, 0.999999881, -0.000320188352, -0.00100398809, 0.000704634411, -0.505159855, 0.863025546, -0.000783653464, -0.863025784, -0.505159497), lerpintensity)
  1336. TailWeld.C0 = TailWeld.C0:Lerp(CFrame.new(-9.53674316e-07, -0.899998903, 0.500267029, 1, 0, 0, 0, 1, 0, 0, 0, 1), lerpintensity)
  1337. if i == 3 then
  1338. walksound:Play()
  1339. end
  1340. elseif i >= 6 and i < 9 then
  1341. RShoulder.C1 = RShoulder.C1:Lerp(CFrame.new(0.499998093, 1.11069322, 0.00284767151, 0.00104822591, -0.0373455882, 0.99930203, -0.569322526, -0.821562707, -0.0301060043, 0.822113454, -0.568893552, -0.0221228637), lerpintensity)
  1342. LShoulder.C1 = LShoulder.C1:Lerp(CFrame.new(-0.499996185, 1.10000134, 0, -0.0025613904, 0.00549331307, -0.999981642, 0.573526025, -0.819165647, -0.00596908294, -0.819183469, -0.573530793, -0.00105234119), lerpintensity)
  1343. RHip.C1 = RHip.C1:Lerp(CFrame.new(0.499996185, 0.726279974, 0.296193689, 0.0152609367, 0.160046577, 0.986992121, -0.0897005647, 0.983345449, -0.158068463, -0.995851815, -0.0861214399, 0.0293631069), lerpintensity)
  1344. LHip.C1 = LHip.C1:Lerp(CFrame.new(-0.484763712, 0.632380009, 0.257478714, -0.0973621383, -0.221604943, -0.970264375, 0.0710586309, 0.970860004, -0.228871584, 0.99270916, -0.0912289917, -0.0787781402), lerpintensity)
  1345. Neck.C1 = Neck.C1:Lerp(CFrame.new(0, -0.499999762, 0, -1, 0, 0, 0, 0.965925813, 0.258818835, 0, 0.258818835, -0.965925813), lerpintensity)
  1346. RJoint.C1 = RJoint.C1:Lerp(CFrame.new(-1.90734863e-06, 0.690116882, 0.826450348, -0.99984777, 0, 0.0174524188, 0.00737570506, -0.906307876, 0.422553718, 0.0158172604, 0.422618091, 0.906169891), lerpintensity)
  1347. TailWeld.C1 = TailWeld.C1:Lerp(CFrame.new(0, 0, 0, 0.999999881, -0.000320188352, -0.00100398809, 0.000557849184, -0.647348344, 0.762194097, -0.000894106633, -0.762194157, -0.647347927), lerpintensity)
  1348. TailWeld.C0 = TailWeld.C0:Lerp(CFrame.new(-9.53674316e-07, -0.899998903, 0.500267029, 1, 0, 0, 0, 1, 0, 0, 0, 1), lerpintensity)
  1349. elseif i >= 9 then
  1350. RShoulder.C1 = RShoulder.C1:Lerp(CFrame.new(0.499998093, 1.11069322, 0.00284767151, 0.00104822579, -0.0373455845, 0.99930197, -0.99572897, -0.0922928452, -0.00240467861, 0.0923182517, -0.995031238, -0.0372828394), lerpintensity)
  1351. LShoulder.C1 = LShoulder.C1:Lerp(CFrame.new(-0.499996185, 1.10000134, 0, -0.0025613904, 0.00549331307, -0.999981642, 0.996186376, -0.0871997625, -0.00303071458, -0.0872148126, -0.996175826, -0.00524901412), lerpintensity)
  1352. RHip.C1 = RHip.C1:Lerp(CFrame.new(0.199996173, 0.726279974, -0.00380632281, -0.486058295, -0.180515736, 0.855080307, -0.80583936, 0.471205562, -0.358592451, -0.338186681, -0.863353729, -0.374500334), lerpintensity)
  1353. LHip.C1 = LHip.C1:Lerp(CFrame.new(-0.1847637, 0.632380009, 0.15747872, -0.413873613, 0.211198509, -0.885496855, 0.714891076, 0.677620411, -0.172516018, 0.563595235, -0.704433382, -0.43143332), lerpintensity)
  1354. Neck.C1 = Neck.C1:Lerp(CFrame.new(0, -0.499999762, 0, -1, 0, 0, 0, 0.965925813, 0.258818835, 0, 0.258818835, -0.965925813), lerpintensity)
  1355. RJoint.C1 = RJoint.C1:Lerp(CFrame.new(-1.90734863e-06, 0.690116882, 0.826450348, -0.99984777, 0, 0.0174524188, 0.00303057628, -0.984807789, 0.17362155, 0.0171872713, 0.17364797, 0.984657824), lerpintensity)
  1356. TailWeld.C1 = TailWeld.C1:Lerp(CFrame.new(0, 0, 0, 0.999999881, -0.000320188352, -0.00100398809, 0.000704634411, -0.505159855, 0.863025546, -0.000783653464, -0.863025784, -0.505159497), lerpintensity)
  1357. TailWeld.C0 = TailWeld.C0:Lerp(CFrame.new(-9.53674316e-07, -0.899998903, 0.500267029, 1, 0, 0, 0, 1, 0, 0, 0, 1), lerpintensity)
  1358. end
  1359. end
  1360. end
  1361. end
  1362.  
  1363. function GunTakeOut()
  1364. if action == true then
  1365. return
  1366. else
  1367. action = true
  1368. end
  1369. lerpintensity = 0.3
  1370. Character.Humanoid.WalkSpeed = 0
  1371. Character.Humanoid.JumpPower = 0
  1372. if Tail ~= nil then
  1373.  
  1374. end
  1375. if GunEquipped == false then
  1376. local random = nil
  1377. if Tail ~= nil then
  1378. random = math.random(1, 2)
  1379. else
  1380. random = math.random(2, 2)
  1381. end
  1382.  
  1383. if random == 1 then
  1384. for i = 1, 45 do
  1385. wait()
  1386. if i >= 1 and i < 15 then
  1387. TailWeld.C1 = TailWeld.C1:Lerp(CFrame.new(0.459564209, 0.892467499, 0.967061996, 0.3538284, 0.925181389, 0.137275308, 0.732968211, -0.36545071, 0.573762238, 0.581001699, -0.102394968, -0.807435691), lerpintensity)
  1388. TailWeld.C0 = TailWeld.C0:Lerp(CFrame.new(-9.53674316e-07, -0.899998903, 0.500267029, 1, 0, 0, 0, 1, 0, 0, 0, 1), lerpintensity)
  1389. RShoulder.C1 = RShoulder.C1:Lerp(CFrame.new(-0.5, 0.500000119, 0, 0, 0.087155737, 0.99619472, 0, 0.99619472, -0.087155737, -1, 0, 0), lerpintensity)
  1390. LShoulder.C1 = LShoulder.C1:Lerp(CFrame.new(0.500001907, 0.500000238, 0, 0, -0.0871557593, -0.99619472, 0, 0.99619472, -0.0871557593, 1, 0, 0), lerpintensity)
  1391. RHip.C1 = RHip.C1:Lerp(CFrame.new(0.5, 1, 0, 0, 0, 1, 0, 1, -0, -1, 0, 0), lerpintensity)
  1392. LHip.C1 = LHip.C1:Lerp(CFrame.new(-0.5, 1, 0, 0, 0, -1, 0, 1, 0, 1, 0, 0), lerpintensity)
  1393. Neck.C1 = Neck.C1:Lerp(CFrame.new(0, -0.5, 0, -0.766044438, 0.620885134, 0.166365698, -0.321393549, -0.59411478, 0.737383127, 0.556670487, 0.511399388, 0.654666781), lerpintensity)
  1394. RJoint.C1 = RJoint.C1:Lerp(CFrame.new(0, 0, 0, -1, 0, 0, 0, 0, 1, 0, 1, -0), lerpintensity)
  1395. elseif i >= 15 and i < 30 then
  1396. if i == 15 then
  1397. Gun.Parent = Tail
  1398. cocksound.Parent = Gun
  1399. cocksound:Play()
  1400. GunWeld.Part0 = Tail
  1401. GunWeld.Part1 = Gun
  1402. GunWeld.C1 = GunWeld.C1:Lerp(CFrame.new(0, 0, 0, 1, 0, 0, 0, 1, 0, 0, 0, 1), 1)
  1403. GunWeld.C0 = GunWeld.C0:Lerp(CFrame.new(-0.136752129, 0.964542389, 2.05783081, -0.118005216, 0.918902755, 0.3764202, -0.431004584, -0.388897091, 0.81424433, 0.894600451, -0.0661537051, 0.441943228), 1)
  1404. end
  1405. RShoulder.C1 = RShoulder.C1:Lerp(CFrame.new(-0.500000954, 0.499999881, 0, 0, 0.087155737, 0.99619478, 0, 0.99619478, -0.087155737, -1, 0, 0), lerpintensity)
  1406. LShoulder.C1 = LShoulder.C1:Lerp(CFrame.new(0.500001907, 0.500000238, 0, 0, -0.0871557593, -0.99619472, 0, 0.99619472, -0.0871557593, 1, 0, 0), lerpintensity)
  1407. RHip.C1 = RHip.C1:Lerp(CFrame.new(0.5, 1, 0, 0, 0, 1, 0, 1, -0, -1, 0, 0), lerpintensity)
  1408. LHip.C1 = LHip.C1:Lerp(CFrame.new(-0.5, 1, 0, 0, 0, -1, 0, 1, 0, 1, 0, 0), lerpintensity)
  1409. Neck.C1 = Neck.C1:Lerp(CFrame.new(0, -0.5, 0, -0.766044438, 0.620885134, 0.166365698, -0.321393549, -0.59411478, 0.737383127, 0.556670487, 0.511399388, 0.654666781), lerpintensity)
  1410. RJoint.C1 = RJoint.C1:Lerp(CFrame.new(0, 0, 0, -1, 0, 0, 0, 0, 1, 0, 1, -0), lerpintensity)
  1411. TailWeld.C1 = TailWeld.C1:Lerp(CFrame.new(-0.0357952118, -0.133686066, 0.153659821, -0.156166315, 0.978144765, 0.137275308, 0.817494452, 0.0499944985, 0.573762238, 0.554359674, 0.201824218, -0.807435691), lerpintensity)
  1412. TailWeld.C0 = TailWeld.C0:Lerp(CFrame.new(-9.53674316e-07, -0.899998903, 0.500267029, 1, 0, 0, 0, 1, 0, 0, 0, 1), lerpintensity)
  1413. elseif i >= 30 then
  1414. RShoulder.C1 = RShoulder.C1:Lerp(CFrame.new(-0.500011444, 0.699986637, 2.67028809e-05, -0.115969479, 0.31778273, 0.941044807, -0.557318985, 0.763417304, -0.326480567, -0.822159767, -0.562323868, 0.0885732472), lerpintensity)
  1415. LShoulder.C1 = LShoulder.C1:Lerp(CFrame.new(0.700001895, 1.10000026, 0, 0.951251209, 0.2387826, -0.195202321, 0.0950286984, 0.375202537, 0.92205888, 0.29341203, -0.895659447, 0.334220678), lerpintensity)
  1416. RHip.C1 = RHip.C1:Lerp(CFrame.new(0.5, 1, 0, 0, 0, 1, 0, 1, -0, -1, 0, 0), lerpintensity)
  1417. LHip.C1 = LHip.C1:Lerp(CFrame.new(-0.5, 1, 0, 0, 0, -1, 0, 1, 0, 1, 0, 0), lerpintensity)
  1418. Neck.C1 = Neck.C1:Lerp(CFrame.new(-3.81469727e-06, -0.499997854, 5.7220459e-06, -0.76603961, 0.620893061, 0.166358367, -0.413185656, -0.673885822, 0.612499475, 0.49240315, 0.400461972, 0.772767425), lerpintensity)
  1419. RJoint.C1 = RJoint.C1:Lerp(CFrame.new(-0.000455379486, -9.98973846e-05, 0.00012588501, -1.00000155, -1.95503235e-05, -1.08927488e-05, -1.69947743e-05, 1.19060287e-05, 0.999993205, -1.01029873e-05, 0.999999881, -7.64429569e-06), lerpintensity)
  1420. TailWeld.C1 = TailWeld.C1:Lerp(CFrame.new(-0.0357913971, -0.133386612, 0.154045105, 0.151821822, 0.941880465, 0.299685538, 0.876633883, -0.268372595, 0.399361014, 0.456577718, 0.202082798, -0.866429031), lerpintensity)
  1421. TailWeld.C0 = TailWeld.C0:Lerp(CFrame.new(-9.53674316e-07, -0.899998903, 0.500267029, 1, 0, 0, 0, 1, 0, 0, 0, 1), lerpintensity)
  1422. end
  1423. end
  1424. else
  1425. for i = 1, 45 do
  1426. wait()
  1427. if i >= 1 and i < 15 then
  1428. if i == 1 then
  1429. masksound:Play()
  1430. end
  1431. RShoulder.C1 = RShoulder.C1:Lerp(CFrame.new(-0.5, 0.500000119, 0, -0.0885213241, -0.411008537, 0.907323539, 0.243210346, 0.874410391, 0.41982758, -0.965925813, 0.257834166, 0.0225575641), lerpintensity)
  1432. LShoulder.C1 = LShoulder.C1:Lerp(CFrame.new(0.500001907, 0.500000238, 0, -0.00644042995, 0.0771135688, -0.997001529, 0.036346633, 0.996381342, 0.0768309459, 0.999318421, -0.035742797, -0.00922000408), lerpintensity)
  1433. RHip.C1 = RHip.C1:Lerp(CFrame.new(0.5, 1, 0, 0, 0, 1, 0, 1, -0, -1, 0, 0), lerpintensity)
  1434. LHip.C1 = LHip.C1:Lerp(CFrame.new(-0.5, 1, 0, 0, 0, -1, 0, 1, 0, 1, 0, 0), lerpintensity)
  1435. Neck.C1 = Neck.C1:Lerp(CFrame.new(0, -0.5, 0, -0.817427635, 0.574380577, 0.0435779542, -0.306258202, -0.49742949, 0.811646461, 0.487870991, 0.650116205, 0.582521319), lerpintensity)
  1436. RJoint.C1 = RJoint.C1:Lerp(CFrame.new(0, 0, 0, -1, 0, 0, 0, 0, 1, 0, 1, -0), lerpintensity)
  1437. elseif i >= 15 and i < 30 then
  1438. if i == 15 then
  1439. Gun.Parent = Character["Right Arm"]
  1440. cocksound.Parent = Gun
  1441. cocksound:Play()
  1442. end
  1443. RShoulder.C1 = RShoulder.C1:Lerp(CFrame.new(-0.499996185, 0.500000954, -0.299999237, 0.573117733, 0.450334728, 0.684641957, -0.810699165, 0.189650699, 0.553894997, 0.119595334, -0.872485697, 0.473778099), lerpintensity)
  1444. LShoulder.C1 = LShoulder.C1:Lerp(CFrame.new(0.500001907, 0.500000238, 0, 0, 0.0871557593, -0.99619472, 0, 0.99619472, 0.0871557593, 1, 0, 0), lerpintensity)
  1445. RHip.C1 = RHip.C1:Lerp(CFrame.new(0.5, 1, 0, 0, 0, 1, 0, 1, -0, -1, 0, 0), lerpintensity)
  1446. LHip.C1 = LHip.C1:Lerp(CFrame.new(-0.5, 1, 0, 0, 0, -1, 0, 1, 0, 1, 0, 0), lerpintensity)
  1447. Neck.C1 = Neck.C1:Lerp(CFrame.new(0, -0.5, 0, -0.836516201, 0.247167766, 0.489028335, 0.224143848, -0.660038292, 0.717013896, 0.500000179, 0.709406495, 0.496731579), lerpintensity)
  1448. RJoint.C1 = RJoint.C1:Lerp(CFrame.new(0, 0, 0, -1, 0, 0, 0, 0, 1, 0, 1, -0), lerpintensity)
  1449. elseif i >= 30 then
  1450. RShoulder.C1 = RShoulder.C1:Lerp(CFrame.new(-0.399996191, 0.500000954, -0.0999992415, 0.390131444, -0.530427456, 0.752624869, -0.810699165, 0.189650699, 0.553894997, -0.436536878, -0.826244116, -0.356028348), lerpintensity)
  1451. LShoulder.C1 = LShoulder.C1:Lerp(CFrame.new(0.500001907, 0.500000238, 0, 0, 0.0871557593, -0.99619472, 0, 0.99619472, 0.0871557593, 1, 0, 0), lerpintensity)
  1452. RHip.C1 = RHip.C1:Lerp(CFrame.new(0.5, 1, 0, 0, 0, 1, 0, 1, -0, -1, 0, 0), lerpintensity)
  1453. LHip.C1 = LHip.C1:Lerp(CFrame.new(-0.5, 1, 0, 0, 0, -1, 0, 1, 0, 1, 0, 0), lerpintensity)
  1454. Neck.C1 = Neck.C1:Lerp(CFrame.new(0, -0.5, 0, -0.859785378, 0.00365444645, 0.51064235, 0.365998089, -0.692931056, 0.621201932, 0.356110126, 0.720994592, 0.59443444), lerpintensity)
  1455. RJoint.C1 = RJoint.C1:Lerp(CFrame.new(0, 0, 0, -1, 0, 0, 0, 0, 1, 0, 1, -0), lerpintensity)
  1456. end
  1457. end
  1458. end
  1459. GunWeld.Part1 = Character["Right Arm"]
  1460. GunWeld.Part0 = Gun
  1461. GunWeld.C0 = CFrame.new(0, 0, 0, 1, 0, 0, 0, 1, 0, 0, 0, 1)
  1462. GunWeld.C1 = CFrame.new(0.00025177002, -1.30018997, 4.76837158e-05, 1.00000012, -4.7326088e-05, 8.3854422e-05, -8.38935375e-05, 9.13441181e-06, 1, -4.73186374e-05, -1, 9.13441181e-06)
  1463. FlashlightClick.PlaybackSpeed = 1.1
  1464. FlashlightClick:Play()
  1465. GunLaser1.Transparency = 0.6
  1466. GunLaser2.Transparency = 0.8
  1467. GunLaser3.Transparency = 0.95
  1468. action = false
  1469. walking = false
  1470. running = false
  1471. GunEquipped = true
  1472. Character.Humanoid.WalkSpeed = 10
  1473. GunIdleAnimation()
  1474. Character.Humanoid.JumpPower = jumppower
  1475. else
  1476. action = true
  1477. GunEquipped = false
  1478. running = false
  1479. shiftdown = false
  1480. FlashlightClick.PlaybackSpeed = 0.9
  1481. FlashlightClick:Play()
  1482. GunLaser1.Transparency = 1
  1483. GunLaser2.Transparency = 1
  1484. GunLaser3.Transparency = 1
  1485. Character.Humanoid.JumpPower = 0
  1486. for i = 1, 15 do
  1487. wait()
  1488. if i == 1 then
  1489. masksound:Play()
  1490. elseif i == 14 then
  1491. equipsound:Play()
  1492. end
  1493. TailWeld.C1 = TailWeld.C1:Lerp(CFrame.new(0, 0, 0, 1, 0, 0, 0, 0.866025448, 0.499999762, 0, -0.499999762, 0.866025448), lerpintensity)
  1494. TailWeld.C0 = TailWeld.C0:Lerp(CFrame.new(-9.53674316e-07, -0.899998903, 0.500267029, 1, 0, 0, 0, 1, 0, 0, 0, 1), lerpintensity)
  1495. RShoulder.C1 = RShoulder.C1:Lerp(CFrame.new(-0.5, 0.500000119, 0, -0.0885213241, -0.411008537, 0.907323539, 0.243210346, 0.874410391, 0.41982758, -0.965925813, 0.257834166, 0.0225575641), lerpintensity)
  1496. LShoulder.C1 = LShoulder.C1:Lerp(CFrame.new(0.500001907, 0.500000238, 0, -0.00644042995, 0.0771135688, -0.997001529, 0.036346633, 0.996381342, 0.0768309459, 0.999318421, -0.035742797, -0.00922000408), lerpintensity)
  1497. RHip.C1 = RHip.C1:Lerp(CFrame.new(0.5, 1, 0, 0, 0, 1, 0, 1, -0, -1, 0, 0), lerpintensity)
  1498. LHip.C1 = LHip.C1:Lerp(CFrame.new(-0.5, 1, 0, 0, 0, -1, 0, 1, 0, 1, 0, 0), lerpintensity)
  1499. Neck.C1 = Neck.C1:Lerp(CFrame.new(0, -0.5, 0, -0.817427635, 0.574380577, 0.0435779542, -0.306258202, -0.49742949, 0.811646461, 0.487870991, 0.650116205, 0.582521319), lerpintensity)
  1500. RJoint.C1 = RJoint.C1:Lerp(CFrame.new(0, 0, 0, -1, 0, 0, 0, 0, 1, 0, 1, -0), lerpintensity)
  1501. end
  1502. Gun.Parent = nil
  1503. action = false
  1504. walking = false
  1505. running = false
  1506. shiftdown = false
  1507. wait()
  1508. Character.Humanoid.WalkSpeed = 10
  1509. Character.Humanoid.JumpPower = jumppower
  1510. IdleAnimation()
  1511. end
  1512. end
  1513.  
  1514. function GunFire(hitP)
  1515. if action == true then
  1516. return
  1517. else
  1518. action = true
  1519. shooting = true
  1520. lerpintensity = 0.7
  1521. end
  1522. Character.Humanoid.JumpPower = 0
  1523. for i = 1, 5 do
  1524. wait()
  1525. TailWeld.C1 = TailWeld.C1:Lerp(CFrame.new(0, 0, 0, 1, 0, 0, 0, 0.866025448, 0.499999762, 0, -0.499999762, 0.866025448), lerpintensity)
  1526. TailWeld.C0 = TailWeld.C0:Lerp(CFrame.new(-9.53674316e-07, -0.899998903, 0.500267029, 1, 0, 0, 0, 1, 0, 0, 0, 1), lerpintensity)
  1527. RShoulder.C1 = RShoulder.C1:Lerp(CFrame.new(0.200000018, 1.10000014, 0, -1.94808241e-08, -1.49011603e-08, 0.99999994, -1, 1.87256603e-07, -2.00234354e-08, -1.78955474e-07, -1.00000012, 8.75252168e-16), lerpintensity)
  1528. LShoulder.C1 = LShoulder.C1:Lerp(CFrame.new(0.500001907, 1.10000026, 0, 0.819151998, -3.58062735e-08, -0.573576331, 0.573576391, -2.50718202e-08, 0.819151938, -4.37113883e-08, -1, 0), lerpintensity)
  1529. RHip.C1 = RHip.C1:Lerp(CFrame.new(0.5, 1, 0, 0, 0, 1, 0, 1, -0, -1, 0, 0), lerpintensity)
  1530. LHip.C1 = LHip.C1:Lerp(CFrame.new(-0.5, 1, 0, 0, 0, -1, 0, 1, 0, 1, 0, 0), lerpintensity)
  1531. Neck.C1 = Neck.C1:Lerp(CFrame.new(0, -0.5, 0, -1, 0, 0, 0, 0.0871559083, 0.99619472, 0, 0.99619472, -0.0871559083), lerpintensity)
  1532. RJoint.C1 = RJoint.C1:Lerp(CFrame.new(0, 0, 0, -1, 0, 0, 0, 0, 1, 0, 1, -0), lerpintensity)
  1533. end
  1534. local Rya = Ray.new(Gun.CFrame.p, (hitP - Gun.CFrame.p).unit * 500)
  1535. if not game.Workspace:FindFirstChild("ShotFolder") then
  1536. local Folder = Instance.new("Folder")
  1537. Folder.Name = "ShotFolder"
  1538. Folder.Parent = game.Workspace
  1539. RemoteEvent:FireClient(Playerr, "folderexists")
  1540. end
  1541. for i, v in pairs(game.Workspace.ShotFolder:GetChildren()) do
  1542. table.insert(gunraycastignorelist, 1, v)
  1543. end
  1544. for i, v in pairs(game.Workspace:GetDescendants()) do
  1545. if v.ClassName == "Accessory" then
  1546. table.insert(gunraycastignorelist, 1, v)
  1547. end
  1548. end
  1549. local part, hitposition = workspace:FindPartOnRayWithIgnoreList(Rya, gunraycastignorelist)
  1550. local FireBeam = Instance.new("Part")
  1551. local Magn = (Gun.Position - hitposition).magnitude
  1552. if part then
  1553. if part.Parent:FindFirstChildOfClass("Humanoid") ~= nil then
  1554. if part.Name == "Head" then
  1555. if part.Parent:FindFirstChildOfClass("Humanoid").Health - headshotdamage <= 0 and part.Parent:FindFirstChildOfClass("Humanoid"):GetState() ~= Enum.HumanoidStateType.Dead then
  1556. if shoutplaying == true then
  1557. return
  1558. else
  1559. local chance = math.random(1, 3)
  1560. if chance == 1 then
  1561. Character.Head.Kill1:Play()
  1562. Character.Head.Kill1.Ended:Connect(function()
  1563. shoutplaying = false
  1564. end)
  1565. elseif chance == 2 then
  1566. Character.Head.Kill2:Play()
  1567. Character.Head.Kill2.Ended:Connect(function()
  1568. shoutplaying = false
  1569. end)
  1570. elseif chance == 3 then
  1571. Character.Head.Kill3:Play()
  1572. Character.Head.Kill3.Ended:Connect(function()
  1573. shoutplaying = false
  1574. end)
  1575. end
  1576. end
  1577. end
  1578. if headshotdamage <= part.Parent:FindFirstChildOfClass("Humanoid").Health / 40 then
  1579. Useless:Clone().Parent = part
  1580. part.Useless.PlaybackSpeed = (math.random(9, 12)) / 10
  1581. part.Useless:Remove()
  1582. else
  1583. ShotMarker:Clone().Parent = part
  1584. part.ShotMarker.PlaybackSpeed = 1.4
  1585. part.ShotMarker:Remove()
  1586. end
  1587. part.Parent:FindFirstChildOfClass("Humanoid"):TakeDamage(headshotdamage)
  1588. else
  1589. if part.Parent:FindFirstChildOfClass("Humanoid").Health - gunshotdamage <= 0 and part.Parent:FindFirstChildOfClass("Humanoid"):GetState() ~= Enum.HumanoidStateType.Dead then
  1590. if shoutplaying == true then
  1591. return
  1592. else
  1593. local chance = math.random(1, 3)
  1594. if chance == 1 then
  1595. Character.Head.Kill1:Play()
  1596. Character.Head.Kill1.Ended:Connect(function()
  1597. shoutplaying = false
  1598. end)
  1599. elseif chance == 2 then
  1600. Character.Head.Kill2:Play()
  1601. Character.Head.Kill2.Ended:Connect(function()
  1602. shoutplaying = false
  1603. end)
  1604. elseif chance == 3 then
  1605. Character.Head.Kill3:Play()
  1606. Character.Head.Kill3.Ended:Connect(function()
  1607. shoutplaying = false
  1608. end)
  1609. end
  1610. end
  1611. end
  1612. if gunshotdamage <= part.Parent:FindFirstChildOfClass("Humanoid").Health / 60 then
  1613. Useless:Clone().Parent = part
  1614. part.Useless.PlaybackSpeed = (math.random(9, 12)) / 10
  1615. part.Useless:Remove()
  1616. else
  1617. ShotMarker:Clone().Parent = part
  1618. part.ShotMarker.PlaybackSpeed = 1
  1619. part.ShotMarker:Remove()
  1620. end
  1621. part.Parent:FindFirstChildOfClass("Humanoid"):TakeDamage(gunshotdamage)
  1622. end
  1623. end
  1624. end
  1625. FireBeam.Transparency = 0.4
  1626. FireBeam.CanCollide = false
  1627. if part then
  1628. FireBeam.Size = Vector3.new(0.3, 0.3, Magn)
  1629. else
  1630. FireBeam.Size = Vector3.new(0.3, 0.3, 500)
  1631. end
  1632. FireBeam.Material = "Neon"
  1633. FireBeam.CFrame = Gun.CFrame:Lerp(CFrame.new(hitposition), 0.5)
  1634. FireBeam.CFrame = CFrame.new(FireBeam.Position, hitposition)
  1635. FireBeam.Anchored = true
  1636. FireBeam.Name = "PlayerGunFire"
  1637. FireBeam.Parent = game.Workspace.ShotFolder
  1638. local properties = {}
  1639. properties.Transparency = 1
  1640. properties.Size = FireBeam.Size + Vector3.new(1, 1, 0)
  1641. local TweenEnfo = TweenInfo.new(0.3, Enum.EasingStyle.Linear)
  1642. local TTween = TweenService:Create(FireBeam, TweenEnfo, properties)
  1643. TTween:Play()
  1644. TTween.Completed:Connect(function()
  1645. FireBeam:Destroy()
  1646. end)
  1647. local chance = possibleshotnoise[math.random(1, #possibleshotnoise)]
  1648. if chance == possibleshotnoise[1] then
  1649. if not Gun:FindFirstChild("first") then
  1650. local FireSound = Instance.new("Sound")
  1651. FireSound.Name = "first"
  1652. FireSound.Volume = 4
  1653. FireSound.SoundId = possibleshotnoise[1]
  1654. FireSound.Parent = Gun
  1655. end
  1656. Gun.first.Pitch = (math.random(8,12)) / 10
  1657. Gun.first:Play()
  1658. elseif chance == possibleshotnoise[2] then
  1659. if not Gun:FindFirstChild("second") then
  1660. local FireSound = Instance.new("Sound")
  1661. FireSound.Name = "second"
  1662. FireSound.Volume = 4
  1663. FireSound.SoundId = possibleshotnoise[2]
  1664. FireSound.Parent = Gun
  1665. end
  1666. Gun.second.Pitch = (math.random(8,12)) / 10
  1667. Gun.second:Play()
  1668. elseif chance == possibleshotnoise[3] then
  1669. if not Gun:FindFirstChild("third") then
  1670. local FireSound = Instance.new("Sound")
  1671. FireSound.Name = "third"
  1672. FireSound.Volume = 4
  1673. FireSound.SoundId = possibleshotnoise[3]
  1674. FireSound.Parent = Gun
  1675. end
  1676. Gun.third.Pitch = (math.random(8,12)) / 10
  1677. Gun.third:Play()
  1678. elseif chance == possibleshotnoise[4] then
  1679. if not Gun:FindFirstChild("fourth") then
  1680. local FireSound = Instance.new("Sound")
  1681. FireSound.Name = "fourth"
  1682. FireSound.Volume = 4
  1683. FireSound.SoundId = possibleshotnoise[4]
  1684. FireSound.Parent = Gun
  1685. end
  1686. Gun.fourth.Pitch = (math.random(8,12)) / 10
  1687. Gun.fourth:Play()
  1688. elseif chance == possibleshotnoise[5] then
  1689. if not Gun:FindFirstChild("fifth") then
  1690. local FireSound = Instance.new("Sound")
  1691. FireSound.Name = "fifth"
  1692. FireSound.Volume = 4
  1693. FireSound.SoundId = possibleshotnoise[5]
  1694. FireSound.Parent = Gun
  1695. end
  1696. Gun.fifth.Pitch = (math.random(8,12)) / 10
  1697. Gun.fifth:Play()
  1698. end
  1699. action = false
  1700. if walking == true then
  1701. if running == true then
  1702. GunRunAnimation()
  1703. else
  1704. GunWalkAnimation()
  1705. end
  1706. else
  1707. GunIdleAnimation()
  1708. end
  1709. shooting = false
  1710. Character.Humanoid.JumpPower = jumppower
  1711. gunraycastignorelist = {Gun, Character}
  1712. end
  1713.  
  1714. function GunExplosionFire(hitP)
  1715. local Cooldown = coroutine.wrap(function(cooldowntime)
  1716. repeat
  1717. wait(0.1)
  1718. cooldowntime = cooldowntime - 0.1
  1719. until cooldowntime <= 0
  1720. shotavailable = true
  1721. end)
  1722. if action == true then
  1723. return
  1724. else
  1725. action = true
  1726. end
  1727. Character.Humanoid.JumpPower = 0
  1728. lerpintensity = 0.7
  1729. shooting = true
  1730. shotavailable = false
  1731. for i = 1, 5 do
  1732. wait()
  1733. TailWeld.C1 = TailWeld.C1:Lerp(CFrame.new(0, 0, 0, 1, 0, 0, 0, 0.866025448, 0.499999762, 0, -0.499999762, 0.866025448), lerpintensity)
  1734. TailWeld.C0 = TailWeld.C0:Lerp(CFrame.new(-9.53674316e-07, -0.899998903, 0.500267029, 1, 0, 0, 0, 1, 0, 0, 0, 1), lerpintensity)
  1735. RShoulder.C1 = RShoulder.C1:Lerp(CFrame.new(0.200000018, 1.10000014, 0, -1.94808241e-08, -1.49011603e-08, 0.99999994, -1, 1.87256603e-07, -2.00234354e-08, -1.78955474e-07, -1.00000012, 8.75252168e-16), lerpintensity)
  1736. LShoulder.C1 = LShoulder.C1:Lerp(CFrame.new(0.500001907, 1.10000026, 0, 0.819151998, -3.58062735e-08, -0.573576331, 0.573576391, -2.50718202e-08, 0.819151938, -4.37113883e-08, -1, 0), lerpintensity)
  1737. RHip.C1 = RHip.C1:Lerp(CFrame.new(0.5, 1, 0, 0, 0, 1, 0, 1, -0, -1, 0, 0), lerpintensity)
  1738. LHip.C1 = LHip.C1:Lerp(CFrame.new(-0.5, 1, 0, 0, 0, -1, 0, 1, 0, 1, 0, 0), lerpintensity)
  1739. Neck.C1 = Neck.C1:Lerp(CFrame.new(0, -0.5, 0, -1, 0, 0, 0, 0.0871559083, 0.99619472, 0, 0.99619472, -0.0871559083), lerpintensity)
  1740. RJoint.C1 = RJoint.C1:Lerp(CFrame.new(0, 0, 0, -1, 0, 0, 0, 0, 1, 0, 1, -0), lerpintensity)
  1741. end
  1742. local Rya = Ray.new(Gun.CFrame.p, (hitP - Gun.CFrame.p).unit * 500)
  1743. if not game.Workspace:FindFirstChild("ShotFolder") then
  1744. local Folder = Instance.new("Folder")
  1745. Folder.Name = "ShotFolder"
  1746. Folder.Parent = game.Workspace
  1747. RemoteEvent:FireClient(Playerr, "folderexists")
  1748. end
  1749. for i, v in pairs(game.Workspace.ShotFolder:GetChildren()) do
  1750. if v.Name == "PlayerGunFire" then
  1751. table.insert(gunraycastignorelist, 1, v)
  1752. end
  1753. end
  1754. local part, hitposition = workspace:FindPartOnRayWithIgnoreList(Rya, gunraycastignorelist)
  1755. local FireBeam = Instance.new("Part")
  1756. FireBeam.Color = Orange
  1757. local Magn = (Gun.Position - hitposition).magnitude
  1758. FireBeam.Transparency = 0.4
  1759. FireBeam.CanCollide = false
  1760. if part then
  1761. FireBeam.Size = Vector3.new(0.3, 0.3, Magn)
  1762. else
  1763. FireBeam.Size = Vector3.new(0.3, 0.3, 500)
  1764. end
  1765. FireBeam.Material = "Neon"
  1766. FireBeam.CFrame = Gun.CFrame:Lerp(CFrame.new(hitposition), 0.5)
  1767. FireBeam.CFrame = CFrame.new(FireBeam.Position, hitposition)
  1768. FireBeam.Anchored = true
  1769. FireBeam.Name = "PlayerGunFire"
  1770. local SecondBeam = FireBeam:Clone()
  1771. SecondBeam.Size = FireBeam.Size + Vector3.new(0.7, 0.7, 0)
  1772. SecondBeam.Name = "PlayerGunFire"
  1773. FireBeam.Parent = game.Workspace.ShotFolder
  1774. SecondBeam.Parent = game.Workspace.ShotFolder
  1775. local properties = {}
  1776. properties.Transparency = 1
  1777. properties.CFrame = FireBeam.CFrame
  1778. properties.Size = FireBeam.Size + Vector3.new(FireBeam.Size.X + 1, FireBeam.Size.Y + 1, 0)
  1779. local TweenEnfo = TweenInfo.new(0.3, Enum.EasingStyle.Linear)
  1780. local TTween = TweenService:Create(FireBeam, TweenEnfo, properties)
  1781. TTween:Play()
  1782. TTween = TweenService:Create(SecondBeam, TweenEnfo, properties)
  1783. TTween:Play()
  1784. TTween.Completed:Connect(function()
  1785. FireBeam:Destroy()
  1786. SecondBeam:Destroy()
  1787. end)
  1788. local Explosioo1 = Explosion1:Clone()
  1789. local Explosioo2 = Explosion2:Clone()
  1790. properties.Size = Vector3.new(Explosioo1.Size.X + 1, Explosioo1.Size.Y + 1, Explosioo1.Size.Z + 1)
  1791. properties.CFrame = CFrame.new(hitposition)
  1792. Explosioo1.CFrame = CFrame.new(hitposition)
  1793. Explosioo1.Parent = game.Workspace
  1794. TTween = TweenService:Create(Explosioo1, TweenEnfo, properties)
  1795. TTween:Play()
  1796. Explosioo2.CFrame = CFrame.new(hitposition)
  1797. Explosioo2.Parent = game.Workspace
  1798. explosionsound:Clone().Parent = Explosioo2
  1799. Explosioo2.Sound:Remove()
  1800. TTween = TweenService:Create(Explosioo2, TweenEnfo, properties)
  1801. TTween:Play()
  1802. TTween.Completed:Connect(function()
  1803. Explosioo1:Destroy()
  1804. Explosioo2:Destroy()
  1805. wait()
  1806. end)
  1807. local Explosion = Instance.new("Explosion")
  1808. Explosion.BlastPressure = 500000
  1809. Explosion.BlastRadius = 18
  1810. Explosion.DestroyJointRadiusPercent = 0
  1811. Explosion.ExplosionType = Enum.ExplosionType.NoCraters
  1812. Explosion.Visible = false
  1813. Explosion.Position = Explosioo1.Position
  1814. Explosion.Parent = game.Workspace
  1815. Explosioo1.Touched:Connect(function(hit)
  1816. if hit.Parent:FindFirstChildOfClass("Humanoid") ~= nil then
  1817. if hit.Parent:FindFirstChildOfClass("Humanoid"):FindFirstChild("Hit") then
  1818. return
  1819. end
  1820. if hit.Parent:FindFirstChildOfClass("Humanoid") ~= nil then
  1821. if hit.Parent:FindFirstChildOfClass("Humanoid").Health - explosionshotdamage <= 0 and hit.Parent:FindFirstChildOfClass("Humanoid"):GetState() ~= Enum.HumanoidStateType.Dead then
  1822. if shoutplaying == true then
  1823. return
  1824. else
  1825. local chance = math.random(1, 3)
  1826. if chance == 1 then
  1827. Character.Head.Kill1:Play()
  1828. Character.Head.Kill1.Ended:Connect(function()
  1829. shoutplaying = false
  1830. end)
  1831. elseif chance == 2 then
  1832. Character.Head.Kill2:Play()
  1833. Character.Head.Kill2.Ended:Connect(function()
  1834. shoutplaying = false
  1835. end)
  1836. elseif chance == 3 then
  1837. Character.Head.Kill3:Play()
  1838. Character.Head.Kill3.Ended:Connect(function()
  1839. shoutplaying = false
  1840. end)
  1841. end
  1842. end
  1843. end
  1844. if explosionshotdamage <= hit.Parent:FindFirstChildOfClass("Humanoid").Health / 20 then
  1845. Useless:Clone().Parent = hit
  1846. hit.Useless.PlaybackSpeed = (math.random(9, 12)) / 10
  1847. hit.Useless:Remove()
  1848. end
  1849. local Haet = Instance.new("NumberValue")
  1850. Haet.Name = "Hit"
  1851. Haet.Parent = hit.Parent:FindFirstChildOfClass("Humanoid")
  1852. hit.Parent:FindFirstChildOfClass("Humanoid"):TakeDamage(explosionshotdamage)
  1853. end
  1854. end
  1855. end)
  1856. local chance = possibleshotnoise[math.random(1, #possibleshotnoise)]
  1857. if chance == possibleshotnoise[1] then
  1858. if not Gun:FindFirstChild("first") then
  1859. local FireSound = Instance.new("Sound")
  1860. FireSound.Name = "first"
  1861. FireSound.Volume = 4
  1862. FireSound.Parent = Gun
  1863. end
  1864. Gun.first.Pitch = (math.random(8,12)) / 10
  1865. Gun.first:Play()
  1866. elseif chance == possibleshotnoise[2] then
  1867. if not Gun:FindFirstChild("second") then
  1868. local FireSound = Instance.new("Sound")
  1869. FireSound.Name = "second"
  1870. FireSound.Volume = 4
  1871. FireSound.Parent = Gun
  1872. end
  1873. Gun.second.Pitch = (math.random(8,12)) / 10
  1874. Gun.second:Play()
  1875. elseif chance == possibleshotnoise[3] then
  1876. if not Gun:FindFirstChild("third") then
  1877. local FireSound = Instance.new("Sound")
  1878. FireSound.Name = "third"
  1879. FireSound.Volume = 4
  1880. FireSound.Parent = Gun
  1881. end
  1882. Gun.third.Pitch = (math.random(8,12)) / 10
  1883. Gun.third:Play()
  1884. elseif chance == possibleshotnoise[4] then
  1885. if not Gun:FindFirstChild("fourth") then
  1886. local FireSound = Instance.new("Sound")
  1887. FireSound.Name = "fourth"
  1888. FireSound.Volume = 4
  1889. FireSound.Parent = Gun
  1890. end
  1891. Gun.fourth.Pitch = (math.random(8,12)) / 10
  1892. Gun.fourth:Play()
  1893. elseif chance == possibleshotnoise[5] then
  1894. if not Gun:FindFirstChild("fifth") then
  1895. local FireSound = Instance.new("Sound")
  1896. FireSound.Name = "fifth"
  1897. FireSound.Volume = 4
  1898. FireSound.Parent = Gun
  1899. end
  1900. Gun.fifth.Pitch = (math.random(8,12)) / 10
  1901. Gun.fifth:Play()
  1902. end
  1903. action = false
  1904. Cooldown(2)
  1905. if walking == true then
  1906. if running == true then
  1907. GunRunAnimation()
  1908. else
  1909. GunWalkAnimation()
  1910. end
  1911. else
  1912. GunIdleAnimation()
  1913. end
  1914. lerpintensity = 0.2
  1915. gunraycastignorelist = {Gun, Character}
  1916. shooting = false
  1917. Character.Humanoid.JumpPower = jumppower
  1918. wait()
  1919. for i, v in pairs(game.Workspace:GetDescendants()) do
  1920. if v.ClassName == "NumberValue" and v.Name == "Hit" then
  1921. v:Destroy()
  1922. end
  1923. end
  1924. end
  1925.  
  1926. function Ragdoll()
  1927. Character.Humanoid.AutoRotate = false
  1928.  
  1929. local xrandom = 0
  1930. local yrandom = 0
  1931. local zrandom = 0
  1932.  
  1933. xrandom = math.random(1,2)
  1934. yrandom = math.random(1,2)
  1935. zrandom = math.random(1,2)
  1936.  
  1937. if xrandom == 1 then
  1938. xrandom = -10
  1939. else
  1940. xrandom = 10
  1941. end
  1942. if yrandom == 1 then
  1943. yrandom = -10
  1944. else
  1945. yrandom = 10
  1946. end
  1947. if zrandom == 1 then
  1948. zrandom = -10
  1949. else
  1950. yrandom = 10
  1951. end
  1952.  
  1953. Character.Torso.RotVelocity = Vector3.new(Character.Torso.RotVelocity.X + xrandom, Character.Torso.RotVelocity.Y + yrandom, Character.Torso.RotVelocity.Z + zrandom)
  1954. local LeftC = Instance.new("Attachment")
  1955. LeftC.Position = Vector3.new(0.5, 1, -0)
  1956. LeftC.Name = "LeftCollarAttachment"
  1957. local RightC = Instance.new("Attachment")
  1958. RightC.Position = Vector3.new(-0.5, 1, -0)
  1959. RightC.Name = "RightCollarAttachment"
  1960. local LeftH = Instance.new("Attachment")
  1961. LeftH.Position = Vector3.new(0.1, 1, -0)
  1962. LeftH.Name = "LeftHipAttachment"
  1963. local LeftHOrig = Instance.new("Attachment")
  1964. LeftHOrig.Position = Vector3.new(-0.4, -1, 0)
  1965. LeftHOrig.Name = "LeftHipAttachmentOrig"
  1966. local RightH = Instance.new("Attachment")
  1967. RightH.Position = Vector3.new(-0.1, 1, 0)
  1968. RightH.Name = "RightHipAttachment"
  1969. local RightHOrig = Instance.new("Attachment")
  1970. RightHOrig.Position = Vector3.new(0.4, -1, 0)
  1971. RightHOrig.Name = "RightHipAttachmentOrig"
  1972. local NH = Instance.new("Attachment")
  1973. NH.Position = Vector3.new(0, -0.5, 0)
  1974. NH.Name = "NeckAttachment"
  1975.  
  1976. local LeftArmdoll = Instance.new("BallSocketConstraint")
  1977. LeftArmdoll.TwistLimitsEnabled = false
  1978. LeftArmdoll.Name = "LeftArmdoll"
  1979. local RightArmdoll = Instance.new("BallSocketConstraint")
  1980. RightArmdoll.TwistLimitsEnabled = false
  1981. RightArmdoll.Name = "RightArmdoll"
  1982. local LeftLegdoll = Instance.new("BallSocketConstraint")
  1983. LeftLegdoll.TwistLimitsEnabled = false
  1984. LeftLegdoll.Name = "LeftLegdoll"
  1985. local RightLegdoll = Instance.new("BallSocketConstraint")
  1986. RightLegdoll.TwistLimitsEnabled = false
  1987. RightLegdoll.Name = "RightLegdoll"
  1988. local Neckdoll = Instance.new("BallSocketConstraint")
  1989. Neckdoll.TwistLimitsEnabled = false
  1990. Neckdoll.Name = "Neckdoll"
  1991.  
  1992. LeftC:Clone().Parent = Character["Left Arm"]
  1993. RightC:Clone().Parent = Character["Right Arm"]
  1994. LeftH:Clone().Parent = Character["Left Leg"]
  1995. LeftHOrig:Clone().Parent = Character.Torso
  1996. RightH:Clone().Parent = Character["Right Leg"]
  1997. RightHOrig:Clone().Parent = Character.Torso
  1998. NH:Clone().Parent = Character["Head"]
  1999.  
  2000.  
  2001. LeftArmdoll:Clone().Parent = Character.Torso
  2002. RightArmdoll:Clone().Parent = Character.Torso
  2003. LeftLegdoll:Clone().Parent = Character.Torso
  2004. RightLegdoll:Clone().Parent = Character.Torso
  2005. Neckdoll:Clone().Parent = Character.Torso
  2006.  
  2007. Character.Torso.LeftArmdoll.Attachment0 = Character.Torso.LeftCollarAttachment
  2008. Character.Torso.LeftArmdoll.Attachment1 = Character["Left Arm"].LeftCollarAttachment
  2009. Character.Torso.RightArmdoll.Attachment0 = Character.Torso.RightCollarAttachment
  2010. Character.Torso.RightArmdoll.Attachment1 = Character["Right Arm"].RightCollarAttachment
  2011. Character.Torso.LeftLegdoll.Attachment0 = Character.Torso.LeftHipAttachmentOrig
  2012. Character.Torso.LeftLegdoll.Attachment1 = Character["Left Leg"].LeftHipAttachment
  2013. Character.Torso.RightLegdoll.Attachment0 = Character.Torso.RightHipAttachmentOrig
  2014. Character.Torso.RightLegdoll.Attachment1 = Character["Right Leg"].RightHipAttachment
  2015. Character.Torso.Neckdoll.Attachment0 = Character.Torso.NeckAttachment
  2016. Character.Torso.Neckdoll.Attachment1 = Character.Head.NeckAttachment
  2017. for i, v in pairs(Character:GetChildren()) do
  2018. if v:IsA("BasePart") then
  2019. if v.Name == "Right Arm" or v.Name == "Left Arm" then
  2020. v.CustomPhysicalProperties = PhysicalProperties.new(0.1, 0, 0, 0, 0)
  2021. local legpart = Instance.new("Part")
  2022. legpart.Size = Vector3.new(1,2,1)
  2023. legpart.Transparency = 1
  2024. legpart.Parent = v
  2025.  
  2026. local weld = Instance.new("ManualWeld")
  2027. weld.Parent = script.Parent
  2028. weld.Part0 = legpart
  2029. weld.Part1 = v
  2030.  
  2031. weld.C0 = CFrame.new(0,0,0)
  2032. weld.C1 = CFrame.new(0,0,0)
  2033.  
  2034.  
  2035. PhysicsService:SetPartCollisionGroup(legpart, "TopLimbs")
  2036. elseif v.Name == "Left Leg" or v.Name == "Right Leg" then
  2037. v.CustomPhysicalProperties = PhysicalProperties.new(0.1, 0, 0, 0, 0)
  2038. local legpart = Instance.new("Part")
  2039. legpart.Size = Vector3.new(1,2,1)
  2040. legpart.Transparency = 1
  2041. legpart.Parent = v
  2042.  
  2043. local weld = Instance.new("ManualWeld")
  2044. weld.Parent = script.Parent
  2045. weld.Part0 = legpart
  2046. weld.Part1 = v
  2047.  
  2048. weld.C0 = CFrame.new(0,0,0)
  2049. weld.C1 = CFrame.new(0,0,0)
  2050.  
  2051.  
  2052. PhysicsService:SetPartCollisionGroup(legpart, "BottomLimbs")
  2053. elseif v.Name == "Torso" or v.Name == "Head" then
  2054. if v.Size == Vector3.new(2, 1, 1) then
  2055. v.CustomPhysicalProperties = PhysicalProperties.new(0.1, 0, 0, 0, 0)
  2056. local headpart = Instance.new("Part")
  2057. headpart.Size = Vector3.new(2,1,1)
  2058. headpart.Transparency = 1
  2059. headpart.Parent = v
  2060.  
  2061. local weld = Instance.new("ManualWeld")
  2062. weld.Parent = script.Parent
  2063. weld.Part0 = headpart
  2064. weld.Part1 = v
  2065.  
  2066. weld.C0 = CFrame.new(0,0,0)
  2067. weld.C1 = CFrame.new(0,0,0)
  2068. else
  2069. local torsopart = Instance.new("Part")
  2070. torsopart.Size = Vector3.new(2,2,1)
  2071. torsopart.Transparency = 1
  2072. torsopart.Parent = v
  2073.  
  2074. local weld = Instance.new("ManualWeld")
  2075. weld.Parent = script.Parent
  2076. weld.Part0 = torsopart
  2077. weld.Part1 = v
  2078.  
  2079. weld.C0 = CFrame.new(0,0,0)
  2080. weld.C1 = CFrame.new(0,0,0)
  2081. end
  2082. PhysicsService:SetPartCollisionGroup(v, "BignSmallLimbs")
  2083. end
  2084. end
  2085. end
  2086.  
  2087. for i, v in pairs(Character:GetDescendants()) do
  2088. if v.ClassName == "Motor6D" then
  2089. v:Remove()
  2090. end
  2091. end
  2092. end
  2093.  
  2094. function SelfTerminate()
  2095. while wait() do
  2096. if Character == nil then
  2097. wait(1)
  2098. script:Destroy()
  2099. end
  2100. end
  2101. end
  2102.  
  2103. function Talk(chatmessage)
  2104. local WhatHeSaid = chatmessage
  2105. if Character.Torso:FindFirstChild("BillboardGui") ~= nil then
  2106. Character.Torso.BillboardGui:Destroy()
  2107. elseif Character.Torso:FindFirstChild("SecondBoard") ~= nil then
  2108. Character.Torso.SecondBoard:Destroy()
  2109. end
  2110. local BillboardGui = Instance.new("BillboardGui")
  2111. BillboardGui.Parent = Character.Torso
  2112. BillboardGui.StudsOffset = Vector3.new(0, 4, 0)
  2113. BillboardGui.Size = UDim2.new(1, 0, 1, 0)
  2114. local Text = Instance.new("TextLabel")
  2115. Text.Text = ""
  2116. Text.Size = UDim2.new(1, 0, 1, 0)
  2117. Text.BackgroundTransparency = 1
  2118. Text.Parent = BillboardGui
  2119. Text.TextSize = 16
  2120. Text.TextColor3 = Color3.new(1, 1, 1)
  2121. Text.TextStrokeTransparency = 0
  2122. Text.TextStrokeColor3 = Color3.new(0.4, 0.4, 0.4)
  2123. Text.Text = WhatHeSaid
  2124. wait(1)
  2125. local chance = math.random(1, 2)
  2126. local properties = {}
  2127. properties.TextTransparency = 1
  2128. properties.TextStrokeTransparency = 1
  2129. if chance == 1 then
  2130. properties.Rotation = -45
  2131. else
  2132. properties.Rotation = 45
  2133. end
  2134. local TweenInfo = TweenInfo.new(1, Enum.EasingStyle.Quad, Enum.EasingDirection.In)
  2135. local Tween = TweenService:Create(Text, TweenInfo, properties)
  2136. Tween:Play()
  2137. Tween.Completed:Connect(function()
  2138. if BillboardGui then
  2139. BillboardGui:Destroy()
  2140. end
  2141. end)
  2142. properties.TextTransparency = nil
  2143. properties.TextStrokeTransparency = nil
  2144. properties.Rotation = nil
  2145. Tween = TweenService:Create(BillboardGui, TweenInfo, properties)
  2146. Tween:Play()
  2147. end
  2148.  
  2149. Character.Humanoid.Running:Connect(function(spd)
  2150. if spd > 0.1 then
  2151. if action == true or walking == true then
  2152. return
  2153. end
  2154. if GunEquipped == true then
  2155. walking = true
  2156. GunWalkAnimation()
  2157. else
  2158. walking = true
  2159. WalkAnimation()
  2160. end
  2161. elseif spd <= 0.1 then
  2162. if action == true or walking == false then
  2163. return
  2164. end
  2165. if GunEquipped == true then
  2166. walking = false
  2167. GunIdleAnimation()
  2168. else
  2169. walking = false
  2170. IdleAnimation()
  2171. end
  2172. end
  2173. end)
  2174.  
  2175. Character.Humanoid.StateChanged:Connect(function(old, new)
  2176. if freefall == true and Character.Humanoid:GetState() ~= Enum.HumanoidStateType.Freefall then
  2177. freefall = false
  2178. end
  2179. if Character.Humanoid:GetState() == Enum.HumanoidStateType.Dead then
  2180. Ragdoll()
  2181. if Gun.Parent ~= nil and Gun:FindFirstChildOfClass("ManualWeld") then
  2182. Gun.ManualWeld:Destroy()
  2183. end
  2184. wait(0.1)
  2185. script:Destroy()
  2186. elseif Character.Humanoid:GetState() == Enum.HumanoidStateType.Freefall then
  2187. freefall = true
  2188. FallingAnimation()
  2189. end
  2190. end)
  2191.  
  2192. Playerr.Chatted:Connect(function(chatmessage)
  2193. Talk(chatmessage)
  2194. end)
  2195.  
  2196. function stoprunning()
  2197. if GunEquipped == false then
  2198. return
  2199. end
  2200. shiftdown = false
  2201. running = false
  2202. Character.Humanoid.WalkSpeed = 10
  2203. if walking == true then
  2204. GunWalkAnimation()
  2205. else
  2206. GunIdleAnimation()
  2207. end
  2208. end
  2209.  
  2210. RemoteEvent.OnServerEvent:Connect(function(player, contact, contact2)
  2211. if contact == "gunhold" then
  2212. if GunEquipped == true then
  2213. return
  2214. end
  2215. if action == true then
  2216. if grabbed == true then
  2217. if on == "true" then
  2218. on = "more"
  2219. return
  2220. elseif on == "more" then
  2221. on = "owo"
  2222. end
  2223. end
  2224. return
  2225. end
  2226. on = "true"
  2227. Groom()
  2228. elseif contact == "gunfire" then
  2229. if GunEquipped == true then
  2230. GunFire(contact2)
  2231. end
  2232. elseif contact == "explosionfire" then
  2233. if GunEquipped == true and shotavailable == true then
  2234. GunExplosionFire(contact2)
  2235. end
  2236. elseif contact == "startrunning" then
  2237. if action == true then
  2238. return
  2239. end
  2240. if walking == true then
  2241. shiftdown = true
  2242. Character.Humanoid.WalkSpeed = 50
  2243. GunRunAnimation()
  2244. end
  2245. elseif contact == "stoprunning" then
  2246. shiftdown = false
  2247. if action == true or running == false then
  2248. return
  2249. end
  2250. stoprunning()
  2251. elseif contact == "musicswitch" then
  2252. if music == false then
  2253. YoshisIsland:Play()
  2254. music = true
  2255. else
  2256. YoshisIsland:Stop()
  2257. music = false
  2258. end
  2259. elseif contact == "tacklehug" then
  2260. if GunEquipped == true then
  2261. return
  2262. end
  2263. if action == true then
  2264. if grabbed == true then
  2265. if on == "true" then
  2266. on = "more"
  2267. return
  2268. end
  2269. end
  2270. return
  2271. end
  2272. on = "true"
  2273. Tackle()
  2274. elseif contact == "stoptacklehug" then
  2275. if GunEquipped == true then
  2276. return
  2277. end
  2278. on = "false"
  2279. end
  2280. end)
  2281.  
  2282. spawn(SelfTerminate)
  2283. wait()
  2284. IdleAnimation()
Advertisement
Add Comment
Please, Sign In to add comment
Advertisement