Advertisement
Kermit1900

d

Aug 11th, 2019
95
0
Never
Not a member of Pastebin yet? Sign Up, it unlocks many cool features!
text 113.91 KB | None | 0 0
  1. RemoteEvent = Instance.new("RemoteEvent")
  2. RemoteEvent.Name = "PlayerWaiting.."
  3. RemoteEvent.Parent = game.ReplicatedStorage
  4. Debris = game:GetService("Debris")
  5. PhysicsService = game:GetService("PhysicsService")
  6. TweenService = game:GetService("TweenService")
  7. success, failure = pcall(function()
  8. PhysicsService:CreateCollisionGroup("TopLimbs")
  9. PhysicsService:CreateCollisionGroup("BottomLimbs")
  10. PhysicsService:CreateCollisionGroup("BignSmallLimbs")
  11. PhysicsService:CollisionGroupSetCollidable("TopLimbs", "BignSmallLimbs", false)
  12. PhysicsService:CollisionGroupSetCollidable("BottomLimbs", "BignSmallLimbs", false)
  13. end)
  14. interruptingaction = false
  15. Character = nil
  16. Playerr = nil
  17. Tail = nil
  18.  
  19. RShoulder = nil
  20. LShoulder = nil
  21. RHip = nil
  22. LHip = nil
  23. Neck = nil
  24. RJoint = nil
  25.  
  26. shiftdown = false
  27. walking = false
  28. running = false
  29. action = false
  30. enabled = false
  31. shotavailable = true
  32. GunEquipped = false
  33. shoutplaying = false
  34. shooting = false
  35. music = false
  36. freefall = false
  37. grabbed = false
  38. on = "true"
  39.  
  40. Orange = Color3.new(244 / 255, 119 / 255, 70 / 255)
  41.  
  42. Gun = Instance.new("Part")
  43. Gun.Size = Vector3.new(1, 0.4, 1)
  44. Gun.CanCollide = false
  45.  
  46. GunMesh = Instance.new("SpecialMesh")
  47. GunMesh.MeshId = "http://www.roblox.com/asset/?id=4372594"
  48. GunMesh.Scale = Vector3.new(1.2, 1.2, 1.2)
  49. GunMesh.VertexColor = Vector3.new(1, 1, 1)
  50.  
  51. GunGradient = Instance.new("Decal")
  52. GunGradient.Color3 = Color3.new(1, 1, 1)
  53. GunGradient.Texture = "http://www.roblox.com/asset/?id=156579757"
  54. GunGradient.Face = "Top"
  55.  
  56. GunWeld = Instance.new("Weld")
  57. GunWeld.C1 = CFrame.new(0, 0, 0, 1, 0, 0, 0, 1, 0, 0, 0, 1)
  58. 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)
  59.  
  60. GunMesh.Parent = Gun
  61. GunGradient.Parent = Gun
  62. GunWeld.Parent = Gun
  63.  
  64. Explosion1 = Instance.new("Part")
  65. Explosion1.Shape = "Ball"
  66. Explosion1.Transparency = 0.4
  67. Explosion1.Color = Color3.new(226/255, 155/255, 64/255)
  68. Explosion1.Size = Vector3.new(20.65, 20.65, 20.65)
  69. Explosion1.CanCollide = false
  70. Explosion1.Material = "SmoothPlastic"
  71. Explosion1.Anchored = true
  72. Explosion2 = Instance.new("Part")
  73. Explosion2.Shape = "Ball"
  74. Explosion2.Transparency = 0.5
  75. Explosion2.Color = Color3.new(140/255, 140/255, 22/255)
  76. Explosion2.Size = Vector3.new(15.05, 15.05, 15.05)
  77. Explosion2.CanCollide = false
  78. Explosion2.Material = "SmoothPlastic"
  79. Explosion2.Anchored = true
  80.  
  81. SightModel = Instance.new("Model")
  82. SightModel.Name = "LaserSight"
  83.  
  84. GunHole = Instance.new("Part")
  85. GunHole.Shape = "Cylinder"
  86. GunHole.Material = "SmoothPlastic"
  87. GunHole.Size = Vector3.new(0.15, 0.1, 0.1)
  88. GunHole.CanCollide = false
  89. GunHole.Anchored = false
  90. GunHole.Color = Color3.new(17/255, 17/255, 17/255)
  91. GunHole.Parent = SightModel
  92.  
  93. GunSightBall = Instance.new("Part")
  94. GunSightBall.Shape = "Ball"
  95. GunSightBall.Material = "SmoothPlastic"
  96. GunSightBall.Size = Vector3.new(0.35, 0.35, 0.35)
  97. GunSightBall.CanCollide = false
  98. GunSightBall.Anchored = false
  99. GunSightBall.Color = Color3.new(99/255, 95/255, 98/255)
  100. GunSightBall.Parent = SightModel
  101.  
  102. GunSightCylinder = Instance.new("Part")
  103. GunSightCylinder.Shape = "Cylinder"
  104. GunSightCylinder.Material = "SmoothPlastic"
  105. GunSightCylinder.Size = Vector3.new(0.35, 0.35, 0.35)
  106. GunSightCylinder.CanCollide = false
  107. GunSightCylinder.Anchored = false
  108. GunSightCylinder.Color = Color3.new(99/255, 95/255, 98/255)
  109. GunSightCylinder.Parent = SightModel
  110.  
  111. GunLaser1 = Instance.new("Part")
  112. GunLaser1.Shape = "Cylinder"
  113. GunLaser1.Material = "SmoothPlastic"
  114. GunLaser1.Size = Vector3.new(2.8, 0.05, 0.05)
  115. GunLaser1.CanCollide = false
  116. GunLaser1.Anchored = false
  117. GunLaser1.Color = Color3.new(1, 0, 0)
  118. GunLaser1.Transparency = 1
  119. GunLaser1.Parent = SightModel
  120.  
  121. GunLaser2 = Instance.new("Part")
  122. GunLaser2.Shape = "Cylinder"
  123. GunLaser2.Material = "SmoothPlastic"
  124. GunLaser2.Size = Vector3.new(0.975, 0.05, 0.05)
  125. GunLaser2.CanCollide = false
  126. GunLaser2.Anchored = false
  127. GunLaser2.Color = Color3.new(1, 0, 0)
  128. GunLaser2.Transparency = 1
  129. GunLaser2.Parent = SightModel
  130.  
  131. GunLaser3 = Instance.new("Part")
  132. GunLaser3.Shape = "Cylinder"
  133. GunLaser3.Material = "SmoothPlastic"
  134. GunLaser3.Size = Vector3.new(0.975, 0.05, 0.05)
  135. GunLaser3.CanCollide = false
  136. GunLaser3.Anchored = false
  137. GunLaser3.Color = Color3.new(1, 0, 0)
  138. GunLaser3.Transparency = 1
  139. GunLaser3.Parent = SightModel
  140.  
  141. Laser1Weld = Instance.new("Weld")
  142. Laser1Weld.C0 = CFrame.new(1.36249876, 0, 0, 1, 0, 0, 0, 1, 0, 0, 0, 1)
  143. Laser1Weld.Part0 = GunHole
  144. Laser1Weld.Part1 = GunLaser1
  145. Laser1Weld.Parent = SightModel
  146.  
  147. Laser2Weld = Instance.new("Weld")
  148. Laser2Weld.C0 = CFrame.new(1.88750744, 0, 0, 1, 0, 0, 0, 1, 0, 0, 0, 1)
  149. Laser2Weld.Part0 = GunLaser1
  150. Laser2Weld.Part1 = GunLaser2
  151. Laser2Weld.Parent = SightModel
  152.  
  153. Laser3Weld = Instance.new("Weld")
  154. Laser3Weld.C0 = CFrame.new(0.975002289, 0, 0, 1, 0, 0, 0, 1, 0, 0, 0, 1)
  155. Laser3Weld.Part0 = GunLaser2
  156. Laser3Weld.Part1 = GunLaser3
  157. Laser3Weld.Parent = SightModel
  158.  
  159. HoleWeld = Instance.new("Weld")
  160. HoleWeld.C0 = CFrame.new(0.125, 0, 0, 1, 0, 0, 0, 1, 0, 0, 0, 1)
  161. HoleWeld.Part0 = GunSightCylinder
  162. HoleWeld.Part1 = GunHole
  163. HoleWeld.Parent = SightModel
  164.  
  165. SightBallWeld = Instance.new("Weld")
  166. SightBallWeld.C0 = CFrame.new(-0.175001144, 5.96046448e-08, 0, 1, 0, 0, 0, 1, 0, 0, 0, 1)
  167. SightBallWeld.Part0 = GunSightCylinder
  168. SightBallWeld.Part1 = GunSightBall
  169. SightBallWeld.Parent = SightModel
  170.  
  171. CylinderToGunWeld = Instance.new("Weld")
  172. 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)
  173. CylinderToGunWeld.Part1 = GunSightCylinder
  174. CylinderToGunWeld.Parent = SightModel
  175.  
  176. TailWeld = Instance.new("Weld")
  177. TailWeld.C1 = CFrame.new(0, 0, 0, 1, 0, 0, 0, 1, 0, 0, 0, 1)
  178.  
  179. Ring = Instance.new("Part")
  180. Ring.Name = "Ring"
  181. Ring.Transparency = 0.5
  182. Ring.Anchored = true
  183. Ring.CanCollide = false
  184. Ring.Size = Vector3.new(0.01, 0.01, 0.01)
  185.  
  186. RingMesh = Instance.new("SpecialMesh")
  187. RingMesh.MeshId = "rbxassetid://3270017"
  188. RingMesh.Scale = Vector3.new(2, 2, 1)
  189. RingMesh.Parent = Ring
  190.  
  191. possibleshotnoise = {"rbxassetid://71526392", "rbxassetid://71526597", "rbxassetid://78407890", "rbxassetid://84318179", "rbxassetid://19112123"}
  192. possiblefannoise = {"ahh~ soft~", "you're really soft owo", "squishy.. eee..", "squishy~",
  193. "this is fun~", "so fluffy..", "you're a nice stress reliever..", "please..?",
  194. "i have a lot of feelings now >w<", "aaahhhhhhh!", "i don't want to let go..!", "you're so cute!", "aaaaaaaaaaahhhhh~",
  195. "soft owo", "i can't stop >w<", "i love you!", "fluffy owo"}
  196. gunraycastignorelist = {}
  197. walksound = Instance.new("Sound")
  198. walksound.SoundId = "rbxassetid://510932495"
  199. walksound.Name = "Walk"
  200. walksound.Volume = 3
  201. brushsound = Instance.new("Sound")
  202. brushsound.SoundId = "rbxassetid://131245944"
  203. brushsound.Name = "Brush"
  204. brushsound.Volume = 0.5
  205. purring = Instance.new("Sound")
  206. purring.SoundId = "rbxassetid://2046502717"
  207. purring.Name = "c-cat_noises"
  208. purring.Volume = 2
  209. purring.Looped = true
  210. cocksound = Instance.new("Sound")
  211. cocksound.SoundId = "rbxassetid://361550324"
  212. cocksound.Name = "GunSlide"
  213. cocksound.Volume = 2
  214. masksound = Instance.new("Sound")
  215. masksound.SoundId = "rbxassetid://2706199011"
  216. masksound.Name = "Mask"
  217. masksound.Volume = 2
  218. equipsound = Instance.new("Sound")
  219. equipsound.SoundId = "rbxassetid://1498950813"
  220. equipsound.Name = "Equip"
  221. equipsound.Volume = 2
  222. explosionsound = Instance.new("Sound")
  223. explosionsound.SoundId = "rbxassetid://1776706665"
  224. explosionsound.Volume = 4
  225. explosionsound.PlayOnRemove = true
  226. ShotMarker = Instance.new("Sound")
  227. ShotMarker.Name = "ShotMarker"
  228. ShotMarker.SoundId = "rbxassetid://296102734"
  229. ShotMarker.Volume = 3
  230. ShotMarker.PlayOnRemove = true
  231. Useless = Instance.new("Sound")
  232. Useless.Name = "Useless"
  233. Useless.SoundId = "rbxassetid://3034338716"
  234. Useless.Volume = 3
  235. Useless.PlayOnRemove = true
  236. Kill1 = Instance.new("Sound")
  237. Kill1.Name = "Kill1"
  238. Kill1.SoundId = "rbxassetid://449759304"
  239. Kill1.Volume = 0
  240. Kill2 = Instance.new("Sound")
  241. Kill2.Name = "Kill2"
  242. Kill2.SoundId = "rbxassetid://1854510736"
  243. Kill2.Volume = 0
  244. Kill3 = Instance.new("Sound")
  245. Kill3.Name = "Kill3"
  246. Kill3.SoundId = "rbxassetid://1278706842"
  247. Kill3.Volume = 0
  248. DashJump = Instance.new("Sound")
  249. DashJump.Name = "DashJump"
  250. DashJump.SoundId = "rbxassetid://1295417556"
  251. DashJump.Volume = 2
  252. SmallSquish = Instance.new("Sound")
  253. SmallSquish.Name = "SmallSquish"
  254. SmallSquish.SoundId = "rbxassetid://162180713"
  255. SmallSquish.Volume = 1
  256. BigSquish = Instance.new("Sound")
  257. BigSquish.Name = "BigSquish"
  258. BigSquish.SoundId = "rbxassetid://1139819274"
  259. BigSquish.Volume = 0.5
  260. BodyFall = Instance.new("Sound")
  261. BodyFall.Name = "BodyFall"
  262. BodyFall.SoundId = "rbxassetid://178646271"
  263. BodyFall.Volume = 2
  264. Grab = Instance.new("Sound")
  265. Grab.Name = "Grab"
  266. Grab.SoundId = "rbxassetid://260411131"
  267. Grab.Volume = 1.5
  268. FlashlightClick = Instance.new("Sound")
  269. FlashlightClick.Name = "FlashClick"
  270. FlashlightClick.SoundId = "rbxassetid://242135745"
  271. FlashlightClick.Volume = 4
  272.  
  273. YoshisIsland = Instance.new("Sound")
  274. YoshisIsland.Name = "YoshisIsland"
  275. YoshisIsland.SoundId = "rbxassetid://2673343452"
  276. YoshisIsland.Volume = 2
  277.  
  278. lerpintensity = 0.4
  279. gunshotdamage = 10
  280. headshotdamage = 21
  281. explosionshotdamage = 41
  282. jumppower = 60
  283.  
  284. RemoteEvent.OnServerEvent:Connect(function(player, contact)
  285. if enabled == false then
  286. Playerr = player
  287. repeat
  288. wait()
  289. until player.Character ~= nil
  290. Character = player.Character
  291. gunraycastignorelist = {Gun, Character}
  292. if Character.Head:FindFirstChild("Typing") == nil then
  293. local ClickTyping = Instance.new("Sound")
  294. ClickTyping.Name = "Typing"
  295. ClickTyping.Parent = Character.Head
  296. ClickTyping.SoundId = "rbxassetid://903267862"
  297. walksound.Parent = Character.Torso
  298. masksound.Parent = Character.Torso
  299. equipsound.Parent = Character.Torso
  300. Kill1.Parent = Character.Head
  301. Kill2.Parent = Character.Head
  302. Kill3.Parent = Character.Head
  303. YoshisIsland.Parent = Character.Torso
  304. DashJump.Parent = Character.Torso
  305. BigSquish.Parent = Character.Torso
  306. SmallSquish.Parent = Character.Torso
  307. BodyFall.Parent = Character.Torso
  308. Grab.Parent = Character.Torso
  309. brushsound.Parent = Character.Head
  310. purring.Parent = Character.Head
  311. FlashlightClick.Parent = Gun
  312. Character.Humanoid:ApplyDescription(script.HumanoidDescription)
  313. Character.Humanoid.DisplayDistanceType = Enum.HumanoidDisplayDistanceType.None
  314. wait()
  315. script.OwO:Clone().Parent = Character.Head
  316. Character:WaitForChild("Zootopia_FoxEars").Handle.Mesh.TextureId = "rbxassetid://6347925"
  317. Character.Zootopia_FoxEars.Handle.Mesh.VertexColor = Vector3.new(Character.Head.Color.r/255, Character.Head.Color.g/255, Character.Head.Color.b/255)
  318. script.FurryCatTail:Clone().Parent = Character
  319. while wait() do
  320. for i, v in pairs(Character.Head:GetChildren()) do
  321. if v.ClassName == "Decal" then
  322. if v.Name ~= "OwO" then
  323. v:Remove()
  324. end
  325. end
  326. end
  327. if not Character.Head:FindFirstChild("face") then
  328. break
  329. end
  330. end
  331. end
  332. wait()
  333. if Character:FindFirstChild("FurryCatTail") ~= nil then
  334. local FCT = Character:FindFirstChild("FurryCatTail")
  335. FCT.Parent = game.Lighting
  336. pcall(function()
  337. FCT:FindFirstChild("Handle").Name = "Tail"
  338. end)
  339. FCT:FindFirstChildOfClass("Part").Parent = Character
  340. Tail = Character:FindFirstChild("Tail")
  341. Tail.Size = Vector3.new(0.2, 0.2, 0.2)
  342. wait()
  343. if Tail:FindFirstChildOfClass("Weld") ~= nil then
  344. Tail:FindFirstChildOfClass("Weld"):Remove()
  345. end
  346. Tail.Mesh.Offset = Vector3.new(0.2, 0.95, 1.3)
  347. TailWeld.C0 = CFrame.new(-9.53674316e-07, -0.899998903, 0.500267029, 1, 0, 0, 0, 1, 0, 0, 0, 1)
  348. TailWeld.Part0 = Character.Torso
  349. TailWeld.Part1 = Tail
  350. TailWeld.Parent = Tail
  351. FCT.Parent = Character
  352. Character.FurryCatTail:Remove()
  353. end
  354. Character.Humanoid.BreakJointsOnDeath = false
  355. Character.Humanoid.JumpPower = jumppower
  356. RemoteEvent.Name = contact
  357. RShoulder = Character.Torso["Right Shoulder"]
  358. LShoulder = Character.Torso["Left Shoulder"]
  359. RHip = Character.Torso["Right Hip"]
  360. LHip = Character.Torso["Left Hip"]
  361. Neck = Character.Torso.Neck
  362. RJoint = Character.HumanoidRootPart.RootJoint
  363. GunWeld.Part0 = Character["Right Arm"]
  364. GunWeld.Part1 = Gun
  365. CylinderToGunWeld.Part0 = Gun
  366. SightModel.Parent = Gun
  367.  
  368. Character.Humanoid:ClearAllChildren()
  369.  
  370. for i, v in pairs(Character.Humanoid:GetPlayingAnimationTracks()) do
  371. v:Stop()
  372. end
  373.  
  374. if Character:FindFirstChild("Animate") then
  375. Character.Animate:Destroy()
  376. end
  377.  
  378. Character.Humanoid.WalkSpeed = 10
  379. print("you're a cat now")
  380. print("do cat things :D")
  381. print("obviously cats can't stand on two legs or shoot guns anymore so..")
  382. print("you can still pounce on people and do the crazy thing eeeee")
  383. enabled = true
  384. end
  385. end)
  386. while wait() do
  387. if Character ~= nil then
  388. break
  389. end
  390. end
  391.  
  392. function FallingAnimation()
  393. lerpintensity = 0.2
  394. action = true
  395. running = false
  396. while true do
  397. if freefall == false then
  398. action = false
  399. wait()
  400. if GunEquipped == true then
  401. if running == true then
  402. spawn(GunRunAnimation)
  403. elseif walking == true and running == false then
  404. spawn(GunWalkAnimation)
  405. elseif walking == false then
  406. spawn(GunIdleAnimation)
  407. end
  408. elseif GunEquipped == false then
  409. if walking == true then
  410. spawn(WalkAnimation)
  411. elseif walking == false then
  412. spawn(IdleAnimation)
  413. end
  414. break
  415. end
  416. end
  417. if freefall == false then
  418. action = false
  419. return
  420. end
  421. wait()
  422. lerpintensity = 0.3
  423. if Character.Torso.Velocity.Y < 0 then
  424. --falling
  425. TailWeld.C1 = TailWeld.C1:Lerp(CFrame.new(0, 0, 0, 1, 0, 0, 0, -0.0871549845, 0.99619472, 0, -0.99619472, -0.0871549845), lerpintensity)
  426. TailWeld.C0 = TailWeld.C0:Lerp(CFrame.new(-9.53674316e-07, -0.899998903, 0.500267029, 1, 0, 0, 0, 1, 0, 0, 0, 1), lerpintensity)
  427. 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)
  428. 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)
  429. 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)
  430. 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)
  431. 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)
  432. 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)
  433. else
  434. --rising
  435. 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)
  436. 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)
  437. 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)
  438. 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)
  439. 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)
  440. 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)
  441. TailWeld.C1 = TailWeld.C1:Lerp(CFrame.new(0, 0, 0, 1, 0, 0, 0, -0.499999166, 0.866025865, 0, -0.866025865, -0.499999166), lerpintensity)
  442. TailWeld.C0 = TailWeld.C0:Lerp(CFrame.new(-9.53674316e-07, -0.899998903, 0.500267029, 1, 0, 0, 0, 1, 0, 0, 0, 1), lerpintensity)
  443. end
  444. end
  445. end
  446.  
  447. function IdleAnimation()
  448. lerpintensity = 0.2
  449. Character.Humanoid.WalkSpeed = 10
  450. while true do
  451. if walking == true or action == true or GunEquipped == true or running == true then
  452. break
  453. end
  454. for i = 1, 15 do
  455. wait()
  456. if walking == true or action == true or GunEquipped == true or running == true then
  457. return
  458. end
  459. if i < 7 then
  460. Character.Torso:WaitForChild("Right Shoulder")
  461. RShoulder = Character.Torso["Right Shoulder"]
  462. pcall(function()
  463. TailWeld.C1 = TailWeld.C1:Lerp(CFrame.new(0, 0, 0, 1, 0, 0, 0, 0.98480767, -0.173648626, 0, 0.173648626, 0.98480767), lerpintensity)
  464. TailWeld.C0 = TailWeld.C0:Lerp(CFrame.new(-9.53674316e-07, -0.899998903, 0.500267029, 1, 0, 0, 0, 1, 0, 0, 0, 1), lerpintensity)
  465. 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)
  466. 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)
  467. 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)
  468. 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)
  469. 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)
  470. 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)
  471. end)
  472. else
  473. TailWeld.C1 = TailWeld.C1:Lerp(CFrame.new(0, 0, 0, 1, 0, 0, 0, 0.984807789, 0.173647702, 0, -0.173647702, 0.984807789), lerpintensity)
  474. TailWeld.C0 = TailWeld.C0:Lerp(CFrame.new(-9.53674316e-07, -0.899998903, 0.500267029, 1, 0, 0, 0, 1, 0, 0, 0, 1), lerpintensity)
  475. 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)
  476. 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)
  477. 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)
  478. 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)
  479. 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)
  480. 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)
  481. end
  482. end
  483. end
  484. end
  485.  
  486. function GunIdleAnimation()
  487. lerpintensity = 0.1
  488. while true do
  489. if walking == true or action == true or GunEquipped == false or running == true then
  490. break
  491. end
  492. for i = 1, 30 do
  493. wait()
  494. if walking == true or action == true or GunEquipped == false or running == true then
  495. return
  496. end
  497. if i < 15 then
  498. TailWeld.C1 = TailWeld.C1:Lerp(CFrame.new(0, 0, 0, 1, 0, 0, 0, 1, 0, 0, 0, 1), lerpintensity)
  499. TailWeld.C0 = TailWeld.C0:Lerp(CFrame.new(-9.53674316e-07, -0.899998903, 0.500267029, 1, 0, 0, 0, 1, 0, 0, 0, 1), lerpintensity)
  500. 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)
  501. 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)
  502. RHip.C1 = RHip.C1:Lerp(CFrame.new(0.5, 1, 0, 0, 0, 1, 0, 1, -0, -1, 0, 0), lerpintensity)
  503. LHip.C1 = LHip.C1:Lerp(CFrame.new(-0.5, 1, 0, 0, 0, -1, 0, 1, 0, 1, 0, 0), lerpintensity)
  504. 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)
  505. RJoint.C1 = RJoint.C1:Lerp(CFrame.new(0, 0, 0, -1, 0, 0, 0, 0, 1, 0, 1, -0), lerpintensity)
  506. else
  507. TailWeld.C1 = TailWeld.C1:Lerp(CFrame.new(0, 0, 0, 1, 0, 0, 0, 0.912786424, 0.408437282, 0, -0.408437282, 0.912786424), lerpintensity)
  508. TailWeld.C0 = TailWeld.C0:Lerp(CFrame.new(-9.53674316e-07, -0.899998903, 0.500267029, 1, 0, 0, 0, 1, 0, 0, 0, 1), lerpintensity)
  509. 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)
  510. 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)
  511. 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)
  512. 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)
  513. 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)
  514. RJoint.C1 = RJoint.C1:Lerp(CFrame.new(0, 0.100000001, 0, -1, 0, 0, 0, 0, 1, 0, 1, -0), lerpintensity)
  515. end
  516. end
  517. end
  518. end
  519.  
  520. function WalkAnimation()
  521. lerpintensity = 0.2
  522. Character.Humanoid.WalkSpeed = 10
  523. while true do
  524. if walking == false or action == true or running == true then
  525. break
  526. end
  527. for i = 1, 40 do
  528. wait()
  529. if walking == false or action == true or running == true then
  530. return
  531. end
  532. if i < 10 then
  533. 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)
  534. 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)
  535. 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)
  536. 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)
  537. 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)
  538. 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)
  539. 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)
  540. TailWeld.C0 = TailWeld.C0:Lerp(CFrame.new(-9.53674316e-07, -0.899998903, 0.500267029, 1, 0, 0, 0, 1, 0, 0, 0, 1), lerpintensity)
  541. if i == 1 then
  542. walksound:Play()
  543. end
  544. elseif i < 20 and i >= 10 then
  545. 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)
  546. 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)
  547. 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)
  548. 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)
  549. 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)
  550. 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)
  551. 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)
  552. TailWeld.C0 = TailWeld.C0:Lerp(CFrame.new(-9.53674316e-07, -0.899998903, 0.500267029, 1, 0, 0, 0, 1, 0, 0, 0, 1), lerpintensity)
  553. elseif i > 20 and i <= 30 then
  554. 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)
  555. 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)
  556. 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)
  557. 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)
  558. 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)
  559. 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)
  560. 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)
  561. TailWeld.C0 = TailWeld.C0:Lerp(CFrame.new(-9.53674316e-07, -0.899998903, 0.500267029, 1, 0, 0, 0, 1, 0, 0, 0, 1), lerpintensity)
  562. if i == 21 then
  563. walksound:Play()
  564. end
  565. else
  566. 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)
  567. 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)
  568. 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)
  569. 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)
  570. 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)
  571. 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)
  572. 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)
  573. TailWeld.C0 = TailWeld.C0:Lerp(CFrame.new(-9.53674316e-07, -0.899998903, 0.500267029, 1, 0, 0, 0, 1, 0, 0, 0, 1), lerpintensity)
  574. end
  575. end
  576. end
  577. end
  578.  
  579. function Tackle()
  580. local timeout = 1
  581. local clocktime = 0
  582. grabbed = false
  583. running = false
  584. local grabbedtorso = nil
  585. if action == true or freefall == true then
  586. return
  587. else
  588. action = true
  589. lerpintensity = 0.2
  590. end
  591. Character.Humanoid.JumpPower = 0
  592. Character.Humanoid.WalkSpeed = 35
  593. local connection
  594. local function onTouched(part)
  595. if part.Parent:FindFirstChildOfClass("Humanoid") then
  596. grabbed = true
  597. if part.Parent:FindFirstChild("Torso") then
  598. grabbedtorso = part.Parent.Torso
  599. else
  600. grabbedtorso = part.Parent.UpperTorso
  601. end
  602. connection:Disconnect()
  603. end
  604. end
  605. connection = Character["Left Arm"].Touched:Connect(onTouched)
  606. local connection2
  607. local function onTouched(part)
  608. if part.Parent:FindFirstChildOfClass("Humanoid") then
  609. grabbed = true
  610. if part.Parent:FindFirstChild("Torso") then
  611. grabbedtorso = part.Parent.Torso
  612. else
  613. grabbedtorso = part.Parent.UpperTorso
  614. end
  615. connection2:Disconnect()
  616. end
  617. end
  618. connection2 = Character["Right Arm"].Touched:Connect(onTouched)
  619. coroutine.resume(coroutine.create(function()
  620. repeat
  621. wait(0.1)
  622. clocktime = clocktime + 0.1
  623. until clocktime >= timeout or grabbed == true
  624. if clocktime >= timeout then
  625. action = false
  626. Character.Humanoid.WalkSpeed = 10
  627. Character.Humanoid.JumpPower = jumppower
  628. connection:Disconnect()
  629. connection2:Disconnect()
  630. if GunEquipped == true then
  631. if running == true then
  632. spawn(GunRunAnimation)
  633. elseif walking == true and running == false then
  634. spawn(GunWalkAnimation)
  635. elseif walking == false then
  636. spawn(GunIdleAnimation)
  637. end
  638. elseif GunEquipped == false then
  639. if walking == true then
  640. spawn(WalkAnimation)
  641. elseif walking == false then
  642. spawn(IdleAnimation)
  643. end
  644. end
  645. end
  646. end))
  647. Ring:Clone().Parent = Character.Torso
  648. 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)
  649. local property = {}
  650. property.Scale = Vector3.new(10, 10, 1)
  651. local TweenInf = TweenInfo.new(0.6, Enum.EasingStyle.Quad, Enum.EasingDirection.Out)
  652. local Tween = TweenService:Create(Character.Torso.Ring.Mesh, TweenInf, property)
  653. Character.Torso.Ring.Transparency = 1
  654. Tween:Play()
  655. property.Scale = nil
  656. property.Transparency = 1
  657. local TweenL = TweenService:Create(Character.Torso.Ring, TweenInf, property)
  658. TweenL:Play()
  659. DashJump:Play()
  660. TweenL.Completed:Connect(function()
  661. pcall(function()
  662. Character.Torso.Ring:Destroy()
  663. end)
  664. end)
  665. repeat
  666. wait()
  667. 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)
  668. 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)
  669. 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)
  670. 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)
  671. 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)
  672. 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)
  673. TailWeld.C1 = TailWeld.C1:Lerp(CFrame.new(0, 0, 0, 1, 0, 0, 0, -0.573576331, 0.819152117, 0, -0.819152117, -0.573576331), lerpintensity)
  674. TailWeld.C0 = TailWeld.C0:Lerp(CFrame.new(-9.53674316e-07, -0.899998903, 0.500267029, 1, 0, 0, 0, 1, 0, 0, 0, 1), lerpintensity)
  675. until action == false or grabbed == true
  676. if action == false then
  677. return
  678. end
  679. if grabbed == true then
  680. Grab:Play()
  681. local Motor = Instance.new("Motor6D")
  682. Motor.Name = "Hugging"
  683. Motor.C1 = CFrame.new(0, 0, 0, 1, 0, 0, 0, 1, 0, 0, 0, 1)
  684. Motor.C0 = CFrame.new(-0.0495090485, 2.10305977, -0.770607471, -1, 0, 0, 0, 0.25881806, 0.965925753, 0, 0.965921581, -0.258819163)
  685. Motor.Part0 = Character.Torso
  686. Motor.Part1 = grabbedtorso
  687. Motor.Parent = Character.Torso
  688. grabbedtorso.Parent:FindFirstChildOfClass("Humanoid").PlatformStand = true
  689. Character.Humanoid.WalkSpeed = 10
  690. for i = 1, 5 do
  691. wait()
  692. 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)
  693. 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)
  694. 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)
  695. 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)
  696. 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)
  697. 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)
  698. TailWeld.C1 = TailWeld.C1:Lerp(CFrame.new(0, 0, 0, 1, 0, 0, 0, 0.0871561915, 0.996194601, 0, -0.996194601, 0.0871561915), lerpintensity)
  699. TailWeld.C0 = TailWeld.C0:Lerp(CFrame.new(-9.53674316e-07, -0.899998903, 0.500267029, 1, 0, 0, 0, 1, 0, 0, 0, 1), lerpintensity)
  700. end
  701. Motor.C0 = CFrame.new(-0.0495090485, 2.10305977, -0.770607471, -1, 0, 0, 0, 0.25881806, 0.965925753, 0, 0.965921581, -0.258819163)
  702. BodyFall:Play()
  703. for i = 1, 5 do
  704. wait()
  705. if i <= 3 then
  706. Motor.C0 = CFrame.new(-0.0495090485, 2.10305977, -0.770607471, -1, 0, 0, 0, 0.25881806, 0.965925753, 0, 0.965921581, -0.258819163)
  707. 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)
  708. 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)
  709. 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)
  710. 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)
  711. 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)
  712. 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)
  713. TailWeld.C1 = TailWeld.C1:Lerp(CFrame.new(0, 0, 0, 1, 0, 0, 0, 0.0871561915, 0.996194601, 0, -0.996194601, 0.0871561915), lerpintensity)
  714. TailWeld.C0 = TailWeld.C0:Lerp(CFrame.new(-9.53674316e-07, -0.899998903, 0.500267029, 1, 0, 0, 0, 1, 0, 0, 0, 1), lerpintensity)
  715. else
  716. 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)
  717. 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)
  718. 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)
  719. 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)
  720. 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)
  721. 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)
  722. TailWeld.C1 = TailWeld.C1:Lerp(CFrame.new(0, 0, 0, 1, 0, 0, 0, 0.0871561915, 0.996194601, 0, -0.996194601, 0.0871561915), lerpintensity)
  723. TailWeld.C0 = TailWeld.C0:Lerp(CFrame.new(-9.53674316e-07, -0.899998903, 0.500267029, 1, 0, 0, 0, 1, 0, 0, 0, 1), lerpintensity)
  724. end
  725. end
  726. Motor.C0 = CFrame.new(-0.0495090485, 2.10305977, -0.770607471, -1, 0, 0, 0, 0.25881806, 0.965925753, 0, 0.965921581, -0.258819163)
  727. Character.Humanoid.WalkSpeed = 0
  728. lerpintensity = 0.1
  729. repeat
  730. local chance = math.random(1, 10)
  731. if chance < 10 then
  732. for i = 1, 30 do
  733. wait()
  734. if i < 5 then
  735. TailWeld.C1 = TailWeld.C1:Lerp(CFrame.new(0, 0, 0, 1, 0, 0, 0, 0.965925694, -0.25881952, 0, 0.25881952, 0.965925694), lerpintensity)
  736. TailWeld.C0 = TailWeld.C0:Lerp(CFrame.new(-9.53674316e-07, -0.899998903, 0.500267029, 1, 0, 0, 0, 1, 0, 0, 0, 1), lerpintensity)
  737. elseif i >= 5 and i < 10 then
  738. TailWeld.C1 = TailWeld.C1:Lerp(CFrame.new(0, 0, 0, 1, 0, 0, 0, 0.984807789, 0.173647702, 0, -0.173647702, 0.984807789), lerpintensity)
  739. TailWeld.C0 = TailWeld.C0:Lerp(CFrame.new(-9.53674316e-07, -0.899998903, 0.500267029, 1, 0, 0, 0, 1, 0, 0, 0, 1), lerpintensity)
  740. elseif i >= 10 and i < 15 then
  741. TailWeld.C1 = TailWeld.C1:Lerp(CFrame.new(0, 0, 0, 1, 0, 0, 0, 0.965925694, -0.25881952, 0, 0.25881952, 0.965925694), lerpintensity)
  742. TailWeld.C0 = TailWeld.C0:Lerp(CFrame.new(-9.53674316e-07, -0.899998903, 0.500267029, 1, 0, 0, 0, 1, 0, 0, 0, 1), lerpintensity)
  743. elseif i >= 15 and i < 20 then
  744. TailWeld.C1 = TailWeld.C1:Lerp(CFrame.new(0, 0, 0, 1, 0, 0, 0, 0.984807789, 0.173647702, 0, -0.173647702, 0.984807789), lerpintensity)
  745. TailWeld.C0 = TailWeld.C0:Lerp(CFrame.new(-9.53674316e-07, -0.899998903, 0.500267029, 1, 0, 0, 0, 1, 0, 0, 0, 1), lerpintensity)
  746. elseif i >= 20 and i < 25 then
  747. TailWeld.C1 = TailWeld.C1:Lerp(CFrame.new(0, 0, 0, 1, 0, 0, 0, 0.965925694, -0.25881952, 0, 0.25881952, 0.965925694), lerpintensity)
  748. TailWeld.C0 = TailWeld.C0:Lerp(CFrame.new(-9.53674316e-07, -0.899998903, 0.500267029, 1, 0, 0, 0, 1, 0, 0, 0, 1), lerpintensity)
  749. elseif i >= 25 then
  750. TailWeld.C1 = TailWeld.C1:Lerp(CFrame.new(0, 0, 0, 1, 0, 0, 0, 0.984807789, 0.173647702, 0, -0.173647702, 0.984807789), lerpintensity)
  751. TailWeld.C0 = TailWeld.C0:Lerp(CFrame.new(-9.53674316e-07, -0.899998903, 0.500267029, 1, 0, 0, 0, 1, 0, 0, 0, 1), lerpintensity)
  752. end
  753. if i > 15 then
  754. 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)
  755. 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)
  756. 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)
  757. 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)
  758. 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)
  759. 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)
  760. end
  761. 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)
  762. 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)
  763. 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)
  764. 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)
  765. 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)
  766. 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)
  767. 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)
  768. end
  769. else
  770. local squishnoise = math.random(1, 2)
  771. if squishnoise == 1 then
  772. SmallSquish:Play()
  773. else
  774. BigSquish:Play()
  775. end
  776. lerpintensity = 0.2
  777. for i = 1, 7 do
  778. wait()
  779. if i > 3 then
  780. TailWeld.C1 = TailWeld.C1:Lerp(CFrame.new(0, 0, 0, 1, 0, 0, 0, 0.984807789, 0.173647702, 0, -0.173647702, 0.984807789), lerpintensity)
  781. TailWeld.C0 = TailWeld.C0:Lerp(CFrame.new(-9.53674316e-07, -0.899998903, 0.500267029, 1, 0, 0, 0, 1, 0, 0, 0, 1), lerpintensity)
  782. else
  783. TailWeld.C1 = TailWeld.C1:Lerp(CFrame.new(0, 0, 0, 1, 0, 0, 0, 0.965925932, 0.258818567, 0, -0.258818567, 0.965925932), lerpintensity)
  784. TailWeld.C0 = TailWeld.C0:Lerp(CFrame.new(-9.53674316e-07, -0.899998903, 0.500267029, 1, 0, 0, 0, 1, 0, 0, 0, 1), lerpintensity)
  785. end
  786. 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)
  787. 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)
  788. 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)
  789. 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)
  790. 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)
  791. 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)
  792. 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)
  793. end
  794. end
  795. until on == "more" or on == "false"
  796. local first = false
  797. purring:Play()
  798. repeat
  799. if on == "false" then
  800. break
  801. end
  802. if first == false then
  803. first = true
  804. coroutine.resume(coroutine.create(function()
  805. Talk("prrrrrrrrrrrr...")
  806. end))
  807. else
  808. coroutine.resume(coroutine.create(function()
  809. Talk("prrrrrrrrrrrr...")
  810. end))
  811. end
  812. lerpintensity = 0.15
  813. for i = 1, 15 do
  814. wait()
  815. if i <= 7 then
  816. if i == 1 then
  817. brushsound:Play()
  818. local chance = math.random(8, 13)
  819. purring.PlaybackSpeed = chance/10
  820. end
  821. 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)
  822. 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)
  823. TailWeld.C0 = TailWeld.C0:Lerp(CFrame.new(-9.53674316e-07, -0.899998903, 0.500267029, 1, 0, 0, 0, 1, 0, 0, 0, 1), lerpintensity)
  824. 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)
  825. 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)
  826. 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)
  827. 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)
  828. 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)
  829. 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)
  830. else
  831. if i == 8 then
  832. brushsound:Play()
  833. end
  834. 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)
  835. 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)
  836. 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)
  837. 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)
  838. 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)
  839. 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)
  840. 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)
  841. 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)
  842. TailWeld.C0 = TailWeld.C0:Lerp(CFrame.new(-9.53674316e-07, -0.899998903, 0.500267029, 1, 0, 0, 0, 1, 0, 0, 0, 1), lerpintensity)
  843. end
  844. end
  845. until on == "false"
  846. coroutine.resume(coroutine.create(function()
  847. Talk("-w-")
  848. end))
  849. purring:Stop()
  850. for i = 1, 5 do
  851. wait()
  852. 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)
  853. 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)
  854. 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)
  855. 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)
  856. 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)
  857. 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)
  858. end
  859. grabbedtorso.Anchored = true
  860. coroutine.resume(coroutine.create(function()
  861. wait(0.2)
  862. grabbedtorso.Anchored = false
  863. end))
  864. on = true
  865. action = false
  866. pcall(function()
  867. for i, v in pairs(Character.Torso:GetChildren()) do
  868. if v.Name == "Hugging" and v.ClassName == "Motor6D" then
  869. v:Destroy()
  870. end
  871. end
  872. end)
  873. grabbedtorso.Parent:FindFirstChildOfClass("Humanoid").PlatformStand = false
  874. if walking == true then
  875. spawn(WalkAnimation)
  876. elseif walking == false then
  877. spawn(IdleAnimation)
  878. end
  879. Character.Humanoid.WalkSpeed = 10
  880. Character.Humanoid.JumpPower = jumppower
  881. end
  882. end
  883.  
  884. function Groom()
  885. local timeout = 1
  886. local clocktime = 0
  887. grabbed = false
  888. running = false
  889. local grabbedtorso = nil
  890. if action == true or freefall == true then
  891. return
  892. else
  893. action = true
  894. lerpintensity = 0.2
  895. end
  896. Character.Humanoid.JumpPower = 0
  897. Character.Humanoid.WalkSpeed = 35
  898. coroutine.resume(coroutine.create(function()
  899. repeat
  900. wait(0.1)
  901. clocktime = clocktime + 0.1
  902. until clocktime >= timeout or grabbed == true
  903. if clocktime >= timeout then
  904. action = false
  905. Character.Humanoid.WalkSpeed = 10
  906. Character.Humanoid.JumpPower = jumppower
  907. if GunEquipped == true then
  908. if running == true then
  909. spawn(GunRunAnimation)
  910. elseif walking == true and running == false then
  911. spawn(GunWalkAnimation)
  912. elseif walking == false then
  913. spawn(GunIdleAnimation)
  914. end
  915. elseif GunEquipped == false then
  916. if walking == true then
  917. spawn(WalkAnimation)
  918. elseif walking == false then
  919. spawn(IdleAnimation)
  920. end
  921. end
  922. end
  923. end))
  924. Ring:Clone().Parent = Character.Torso
  925. 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)
  926. local property = {}
  927. property.Scale = Vector3.new(10, 10, 1)
  928. local TweenInf = TweenInfo.new(0.6, Enum.EasingStyle.Quad, Enum.EasingDirection.Out)
  929. local Tween = TweenService:Create(Character.Torso.Ring.Mesh, TweenInf, property)
  930. Character.Torso.Ring.Transparency = 1
  931. Tween:Play()
  932. property.Scale = nil
  933. property.Transparency = 1
  934. local TweenL = TweenService:Create(Character.Torso.Ring, TweenInf, property)
  935. TweenL:Play()
  936. TweenL.Completed:Connect(function()
  937. pcall(function()
  938. Character.Torso.Ring:Destroy()
  939. end)
  940. end)
  941. purring:Play()
  942. grabbed = true
  943. if action == false then
  944. return
  945. end
  946. if grabbed == true then
  947. end
  948. Character.Humanoid.WalkSpeed = 0
  949. lerpintensity = 0.1
  950. for i = 1, 15 do
  951. wait()
  952. TailWeld.C1 = TailWeld.C1:Lerp(CFrame.new(0, 0, 0, 1, 0, 0, 0, 0.98480767, -0.173648626, 0, 0.173648626, 0.98480767), lerpintensity)
  953. TailWeld.C0 = TailWeld.C0:Lerp(CFrame.new(-9.53674316e-07, -0.899998903, 0.500267029, 1, 0, 0, 0, 1, 0, 0, 0, 1), lerpintensity)
  954. 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)
  955. 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)
  956. 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)
  957. 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)
  958. 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)
  959. 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)
  960. end
  961. repeat
  962. for i = 1, 30 do
  963. wait()
  964. if i > 15 then
  965. TailWeld.C1 = TailWeld.C1:Lerp(CFrame.new(0, 0, 0, 1, 0, 0, 0, 0.98480767, -0.173648626, 0, 0.173648626, 0.98480767), lerpintensity)
  966. TailWeld.C0 = TailWeld.C0:Lerp(CFrame.new(-9.53674316e-07, -0.899998903, 0.500267029, 1, 0, 0, 0, 1, 0, 0, 0, 1), lerpintensity)
  967. 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)
  968. 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)
  969. 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)
  970. 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)
  971. 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)
  972. 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)
  973. else
  974. if i == 1 then
  975. brushsound:Play()
  976. end
  977. TailWeld.C1 = TailWeld.C1:Lerp(CFrame.new(0, 0, 0, 1, 0, 0, 0, 0.98480767, -0.173648626, 0, 0.173648626, 0.98480767), lerpintensity)
  978. TailWeld.C0 = TailWeld.C0:Lerp(CFrame.new(-9.53674316e-07, -0.899998903, 0.500267029, 1, 0, 0, 0, 1, 0, 0, 0, 1), lerpintensity)
  979. 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)
  980. 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)
  981. 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)
  982. 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)
  983. 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)
  984. 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)
  985. end
  986. end
  987. until on == "more" or on == "false"
  988. for i = 1, 15 do
  989. wait()
  990. TailWeld.C1 = TailWeld.C1:Lerp(CFrame.new(0, 0, 0, 1, 0, 0, 0, 0.98480767, -0.173648626, 0, 0.173648626, 0.98480767), lerpintensity)
  991. TailWeld.C0 = TailWeld.C0:Lerp(CFrame.new(-9.53674316e-07, -0.899998903, 0.500267029, 1, 0, 0, 0, 1, 0, 0, 0, 1), lerpintensity)
  992. 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)
  993. 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)
  994. 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)
  995. 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)
  996. 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)
  997. 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)
  998. end
  999. local first = false
  1000. repeat
  1001. if on == "false" then
  1002. break
  1003. end
  1004. if first == false then
  1005. first = true
  1006. coroutine.resume(coroutine.create(function()
  1007. Talk("prrrrrrrrrrrr...")
  1008. end))
  1009. else
  1010. coroutine.resume(coroutine.create(function()
  1011. Talk("prrrrrrrrrrrr...")
  1012. end))
  1013. end
  1014. lerpintensity = 0.15
  1015. for i = 1, 30 do
  1016. wait()
  1017. if i <= 15 then
  1018. if i == 1 then
  1019. local chance = math.random(8, 13)
  1020. purring.PlaybackSpeed = chance/10
  1021. end
  1022. TailWeld.C1 = TailWeld.C1:Lerp(CFrame.new(0, 0, 0, 1, 0, 0, 0, 0.98480767, -0.173648626, 0, 0.173648626, 0.98480767), lerpintensity)
  1023. TailWeld.C0 = TailWeld.C0:Lerp(CFrame.new(-9.53674316e-07, -0.899998903, 0.500267029, 1, 0, 0, 0, 1, 0, 0, 0, 1), lerpintensity)
  1024. 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)
  1025. 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)
  1026. 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)
  1027. 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)
  1028. 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)
  1029. 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)
  1030. else
  1031. if i == 16 then
  1032. brushsound:Play()
  1033. end
  1034. TailWeld.C1 = TailWeld.C1:Lerp(CFrame.new(0, 0, 0, 1, 0, 0, 0, 0.98480767, -0.173648626, 0, 0.173648626, 0.98480767), lerpintensity)
  1035. TailWeld.C0 = TailWeld.C0:Lerp(CFrame.new(-9.53674316e-07, -0.899998903, 0.500267029, 1, 0, 0, 0, 1, 0, 0, 0, 1), lerpintensity)
  1036. 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)
  1037. 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)
  1038. 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)
  1039. 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)
  1040. 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)
  1041. 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)
  1042. end
  1043. end
  1044. until on == "owo" or on == "false"
  1045. on = "false"
  1046. repeat
  1047. if on == "false" then
  1048. break
  1049. end
  1050. for i = 1, 30 do
  1051. wait()
  1052. if i <= 15 then
  1053. TailWeld.C1 = TailWeld.C1:Lerp(CFrame.new(0, 0, 0, 1, 0, 0, 0, 0.98480767, -0.173648626, 0, 0.173648626, 0.98480767), lerpintensity)
  1054. TailWeld.C0 = TailWeld.C0:Lerp(CFrame.new(-9.53674316e-07, -0.899998903, 0.500267029, 1, 0, 0, 0, 1, 0, 0, 0, 1), lerpintensity)
  1055. 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)
  1056. 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)
  1057. 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)
  1058. 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)
  1059. 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)
  1060. 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)
  1061. else
  1062. if i == 16 then
  1063. brushsound:Play()
  1064. end
  1065. TailWeld.C1 = TailWeld.C1:Lerp(CFrame.new(0, 0, 0, 1, 0, 0, 0, 0.98480767, -0.173648626, 0, 0.173648626, 0.98480767), lerpintensity)
  1066. TailWeld.C0 = TailWeld.C0:Lerp(CFrame.new(-9.53674316e-07, -0.899998903, 0.500267029, 1, 0, 0, 0, 1, 0, 0, 0, 1), lerpintensity)
  1067. 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)
  1068. 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)
  1069. 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)
  1070. 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)
  1071. 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)
  1072. 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)
  1073. end
  1074. end
  1075. until on == "false"
  1076. coroutine.resume(coroutine.create(function()
  1077. Talk("-w-")
  1078. end))
  1079. purring:Stop()
  1080. on = true
  1081. action = false
  1082. if walking == true then
  1083. spawn(WalkAnimation)
  1084. elseif walking == false then
  1085. spawn(IdleAnimation)
  1086. end
  1087. Character.Humanoid.WalkSpeed = 10
  1088. Character.Humanoid.JumpPower = jumppower
  1089. end
  1090.  
  1091.  
  1092. function GunWalkAnimation()
  1093. lerpintensity = 0.15
  1094. while true do
  1095. if walking == false or action == true or GunEquipped == false or running == true then
  1096. break
  1097. end
  1098. for i = 1, 20 do
  1099. wait()
  1100. if walking == false or action == true or GunEquipped == false or running == true then
  1101. break
  1102. end
  1103. if i < 5 then
  1104. 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)
  1105. TailWeld.C0 = TailWeld.C0:Lerp(CFrame.new(-9.53674316e-07, -0.899998903, 0.500267029, 1, 0, 0, 0, 1, 0, 0, 0, 1), lerpintensity)
  1106. 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)
  1107. 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)
  1108. 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)
  1109. 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)
  1110. 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)
  1111. RJoint.C1 = RJoint.C1:Lerp(CFrame.new(0, 0, 0, -0.98480773, -0.173648179, 0, 0, 0, 1, -0.173648179, 0.98480773, 0), lerpintensity)
  1112. if i == 1 then
  1113. walksound:Play()
  1114. end
  1115. elseif i >= 5 and i < 10 then
  1116. 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)
  1117. TailWeld.C0 = TailWeld.C0:Lerp(CFrame.new(-9.53674316e-07, -0.899998903, 0.500267029, 1, 0, 0, 0, 1, 0, 0, 0, 1), lerpintensity)
  1118. 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)
  1119. 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)
  1120. 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)
  1121. 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)
  1122. 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)
  1123. 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)
  1124. elseif i >= 10 and i < 15 then
  1125. 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)
  1126. TailWeld.C0 = TailWeld.C0:Lerp(CFrame.new(-9.53674316e-07, -0.899998903, 0.500267029, 1, 0, 0, 0, 1, 0, 0, 0, 1), lerpintensity)
  1127. 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)
  1128. 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)
  1129. 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)
  1130. 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)
  1131. 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)
  1132. RJoint.C1 = RJoint.C1:Lerp(CFrame.new(0, 0, 0, -0.98480767, 0.173648551, 0, 0, 0, 1, 0.173648551, 0.98480767, 0), lerpintensity)
  1133. if i == 10 then
  1134. walksound:Play()
  1135. end
  1136. elseif i >= 15 then
  1137. 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)
  1138. TailWeld.C0 = TailWeld.C0:Lerp(CFrame.new(-9.53674316e-07, -0.899998903, 0.500267029, 1, 0, 0, 0, 1, 0, 0, 0, 1), lerpintensity)
  1139. 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)
  1140. 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)
  1141. 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)
  1142. 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)
  1143. 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)
  1144. 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)
  1145. end
  1146. end
  1147. end
  1148. end
  1149.  
  1150. function GunRunAnimation()
  1151. lerpintensity = 0.5
  1152. if running == true then
  1153. return
  1154. end
  1155. running = true
  1156. while true do
  1157. if action == true and running == false then
  1158. stoprunning()
  1159. running = false
  1160. break
  1161. elseif walking == false then
  1162. stoprunning()
  1163. running = false
  1164. return
  1165. end
  1166. for i = 1, 12 do
  1167. wait()
  1168. if action == true and running == false then
  1169. stoprunning()
  1170. running = false
  1171. return
  1172. elseif walking == false then
  1173. stoprunning()
  1174. running = false
  1175. return
  1176. end
  1177. if i < 3 then
  1178. 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)
  1179. TailWeld.C0 = TailWeld.C0:Lerp(CFrame.new(-9.53674316e-07, -0.899998903, 0.500267029, 1, 0, 0, 0, 1, 0, 0, 0, 1), lerpintensity)
  1180. 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)
  1181. 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)
  1182. 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)
  1183. 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)
  1184. 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)
  1185. 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)
  1186. elseif i >= 3 and i < 6 then
  1187. 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)
  1188. 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)
  1189. 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)
  1190. 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)
  1191. 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)
  1192. 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)
  1193. 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)
  1194. TailWeld.C0 = TailWeld.C0:Lerp(CFrame.new(-9.53674316e-07, -0.899998903, 0.500267029, 1, 0, 0, 0, 1, 0, 0, 0, 1), lerpintensity)
  1195. if i == 3 then
  1196. walksound:Play()
  1197. end
  1198. elseif i >= 6 and i < 9 then
  1199. 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)
  1200. 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)
  1201. 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)
  1202. 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)
  1203. 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)
  1204. 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)
  1205. 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)
  1206. TailWeld.C0 = TailWeld.C0:Lerp(CFrame.new(-9.53674316e-07, -0.899998903, 0.500267029, 1, 0, 0, 0, 1, 0, 0, 0, 1), lerpintensity)
  1207. elseif i >= 9 then
  1208. 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)
  1209. 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)
  1210. 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)
  1211. 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)
  1212. 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)
  1213. 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)
  1214. 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)
  1215. TailWeld.C0 = TailWeld.C0:Lerp(CFrame.new(-9.53674316e-07, -0.899998903, 0.500267029, 1, 0, 0, 0, 1, 0, 0, 0, 1), lerpintensity)
  1216. end
  1217. end
  1218. end
  1219. end
  1220.  
  1221. function GunTakeOut()
  1222. if action == true then
  1223. return
  1224. else
  1225. action = true
  1226. end
  1227. lerpintensity = 0.3
  1228. Character.Humanoid.WalkSpeed = 0
  1229. Character.Humanoid.JumpPower = 0
  1230. if Tail ~= nil then
  1231.  
  1232. end
  1233. if GunEquipped == false then
  1234. local random = nil
  1235. if Tail ~= nil then
  1236. random = math.random(1, 2)
  1237. else
  1238. random = math.random(2, 2)
  1239. end
  1240.  
  1241. if random == 1 then
  1242. for i = 1, 45 do
  1243. wait()
  1244. if i >= 1 and i < 15 then
  1245. 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)
  1246. TailWeld.C0 = TailWeld.C0:Lerp(CFrame.new(-9.53674316e-07, -0.899998903, 0.500267029, 1, 0, 0, 0, 1, 0, 0, 0, 1), lerpintensity)
  1247. 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)
  1248. 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)
  1249. RHip.C1 = RHip.C1:Lerp(CFrame.new(0.5, 1, 0, 0, 0, 1, 0, 1, -0, -1, 0, 0), lerpintensity)
  1250. LHip.C1 = LHip.C1:Lerp(CFrame.new(-0.5, 1, 0, 0, 0, -1, 0, 1, 0, 1, 0, 0), lerpintensity)
  1251. 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)
  1252. RJoint.C1 = RJoint.C1:Lerp(CFrame.new(0, 0, 0, -1, 0, 0, 0, 0, 1, 0, 1, -0), lerpintensity)
  1253. elseif i >= 15 and i < 30 then
  1254. if i == 15 then
  1255. Gun.Parent = Tail
  1256. cocksound.Parent = Gun
  1257. cocksound:Play()
  1258. GunWeld.Part0 = Tail
  1259. GunWeld.Part1 = Gun
  1260. GunWeld.C1 = GunWeld.C1:Lerp(CFrame.new(0, 0, 0, 1, 0, 0, 0, 1, 0, 0, 0, 1), 1)
  1261. 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)
  1262. end
  1263. 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)
  1264. 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)
  1265. RHip.C1 = RHip.C1:Lerp(CFrame.new(0.5, 1, 0, 0, 0, 1, 0, 1, -0, -1, 0, 0), lerpintensity)
  1266. LHip.C1 = LHip.C1:Lerp(CFrame.new(-0.5, 1, 0, 0, 0, -1, 0, 1, 0, 1, 0, 0), lerpintensity)
  1267. 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)
  1268. RJoint.C1 = RJoint.C1:Lerp(CFrame.new(0, 0, 0, -1, 0, 0, 0, 0, 1, 0, 1, -0), lerpintensity)
  1269. 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)
  1270. TailWeld.C0 = TailWeld.C0:Lerp(CFrame.new(-9.53674316e-07, -0.899998903, 0.500267029, 1, 0, 0, 0, 1, 0, 0, 0, 1), lerpintensity)
  1271. elseif i >= 30 then
  1272. 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)
  1273. 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)
  1274. RHip.C1 = RHip.C1:Lerp(CFrame.new(0.5, 1, 0, 0, 0, 1, 0, 1, -0, -1, 0, 0), lerpintensity)
  1275. LHip.C1 = LHip.C1:Lerp(CFrame.new(-0.5, 1, 0, 0, 0, -1, 0, 1, 0, 1, 0, 0), lerpintensity)
  1276. 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)
  1277. 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)
  1278. 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)
  1279. TailWeld.C0 = TailWeld.C0:Lerp(CFrame.new(-9.53674316e-07, -0.899998903, 0.500267029, 1, 0, 0, 0, 1, 0, 0, 0, 1), lerpintensity)
  1280. end
  1281. end
  1282. else
  1283. for i = 1, 45 do
  1284. wait()
  1285. if i >= 1 and i < 15 then
  1286. if i == 1 then
  1287. masksound:Play()
  1288. end
  1289. 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)
  1290. 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)
  1291. RHip.C1 = RHip.C1:Lerp(CFrame.new(0.5, 1, 0, 0, 0, 1, 0, 1, -0, -1, 0, 0), lerpintensity)
  1292. LHip.C1 = LHip.C1:Lerp(CFrame.new(-0.5, 1, 0, 0, 0, -1, 0, 1, 0, 1, 0, 0), lerpintensity)
  1293. 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)
  1294. RJoint.C1 = RJoint.C1:Lerp(CFrame.new(0, 0, 0, -1, 0, 0, 0, 0, 1, 0, 1, -0), lerpintensity)
  1295. elseif i >= 15 and i < 30 then
  1296. if i == 15 then
  1297. Gun.Parent = Character["Right Arm"]
  1298. cocksound.Parent = Gun
  1299. cocksound:Play()
  1300. end
  1301. 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)
  1302. 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)
  1303. RHip.C1 = RHip.C1:Lerp(CFrame.new(0.5, 1, 0, 0, 0, 1, 0, 1, -0, -1, 0, 0), lerpintensity)
  1304. LHip.C1 = LHip.C1:Lerp(CFrame.new(-0.5, 1, 0, 0, 0, -1, 0, 1, 0, 1, 0, 0), lerpintensity)
  1305. 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)
  1306. RJoint.C1 = RJoint.C1:Lerp(CFrame.new(0, 0, 0, -1, 0, 0, 0, 0, 1, 0, 1, -0), lerpintensity)
  1307. elseif i >= 30 then
  1308. 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)
  1309. 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)
  1310. RHip.C1 = RHip.C1:Lerp(CFrame.new(0.5, 1, 0, 0, 0, 1, 0, 1, -0, -1, 0, 0), lerpintensity)
  1311. LHip.C1 = LHip.C1:Lerp(CFrame.new(-0.5, 1, 0, 0, 0, -1, 0, 1, 0, 1, 0, 0), lerpintensity)
  1312. 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)
  1313. RJoint.C1 = RJoint.C1:Lerp(CFrame.new(0, 0, 0, -1, 0, 0, 0, 0, 1, 0, 1, -0), lerpintensity)
  1314. end
  1315. end
  1316. end
  1317. GunWeld.Part1 = Character["Right Arm"]
  1318. GunWeld.Part0 = Gun
  1319. GunWeld.C0 = CFrame.new(0, 0, 0, 1, 0, 0, 0, 1, 0, 0, 0, 1)
  1320. 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)
  1321. FlashlightClick.PlaybackSpeed = 1.1
  1322. FlashlightClick:Play()
  1323. GunLaser1.Transparency = 0.6
  1324. GunLaser2.Transparency = 0.8
  1325. GunLaser3.Transparency = 0.95
  1326. action = false
  1327. walking = false
  1328. running = false
  1329. GunEquipped = true
  1330. Character.Humanoid.WalkSpeed = 10
  1331. GunIdleAnimation()
  1332. Character.Humanoid.JumpPower = jumppower
  1333. else
  1334. action = true
  1335. GunEquipped = false
  1336. running = false
  1337. shiftdown = false
  1338. FlashlightClick.PlaybackSpeed = 0.9
  1339. FlashlightClick:Play()
  1340. GunLaser1.Transparency = 1
  1341. GunLaser2.Transparency = 1
  1342. GunLaser3.Transparency = 1
  1343. Character.Humanoid.JumpPower = 0
  1344. for i = 1, 15 do
  1345. wait()
  1346. if i == 1 then
  1347. masksound:Play()
  1348. elseif i == 14 then
  1349. equipsound:Play()
  1350. end
  1351. TailWeld.C1 = TailWeld.C1:Lerp(CFrame.new(0, 0, 0, 1, 0, 0, 0, 0.866025448, 0.499999762, 0, -0.499999762, 0.866025448), lerpintensity)
  1352. TailWeld.C0 = TailWeld.C0:Lerp(CFrame.new(-9.53674316e-07, -0.899998903, 0.500267029, 1, 0, 0, 0, 1, 0, 0, 0, 1), lerpintensity)
  1353. 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)
  1354. 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)
  1355. RHip.C1 = RHip.C1:Lerp(CFrame.new(0.5, 1, 0, 0, 0, 1, 0, 1, -0, -1, 0, 0), lerpintensity)
  1356. LHip.C1 = LHip.C1:Lerp(CFrame.new(-0.5, 1, 0, 0, 0, -1, 0, 1, 0, 1, 0, 0), lerpintensity)
  1357. 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)
  1358. RJoint.C1 = RJoint.C1:Lerp(CFrame.new(0, 0, 0, -1, 0, 0, 0, 0, 1, 0, 1, -0), lerpintensity)
  1359. end
  1360. Gun.Parent = nil
  1361. action = false
  1362. walking = false
  1363. running = false
  1364. shiftdown = false
  1365. wait()
  1366. Character.Humanoid.WalkSpeed = 10
  1367. Character.Humanoid.JumpPower = jumppower
  1368. IdleAnimation()
  1369. end
  1370. end
  1371.  
  1372. function GunFire(hitP)
  1373. if action == true then
  1374. return
  1375. else
  1376. action = true
  1377. shooting = true
  1378. lerpintensity = 0.7
  1379. end
  1380. Character.Humanoid.JumpPower = 0
  1381. for i = 1, 5 do
  1382. wait()
  1383. TailWeld.C1 = TailWeld.C1:Lerp(CFrame.new(0, 0, 0, 1, 0, 0, 0, 0.866025448, 0.499999762, 0, -0.499999762, 0.866025448), lerpintensity)
  1384. TailWeld.C0 = TailWeld.C0:Lerp(CFrame.new(-9.53674316e-07, -0.899998903, 0.500267029, 1, 0, 0, 0, 1, 0, 0, 0, 1), lerpintensity)
  1385. 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)
  1386. 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)
  1387. RHip.C1 = RHip.C1:Lerp(CFrame.new(0.5, 1, 0, 0, 0, 1, 0, 1, -0, -1, 0, 0), lerpintensity)
  1388. LHip.C1 = LHip.C1:Lerp(CFrame.new(-0.5, 1, 0, 0, 0, -1, 0, 1, 0, 1, 0, 0), lerpintensity)
  1389. 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)
  1390. RJoint.C1 = RJoint.C1:Lerp(CFrame.new(0, 0, 0, -1, 0, 0, 0, 0, 1, 0, 1, -0), lerpintensity)
  1391. end
  1392. local Rya = Ray.new(Gun.CFrame.p, (hitP - Gun.CFrame.p).unit * 500)
  1393. if not game.Workspace:FindFirstChild("ShotFolder") then
  1394. local Folder = Instance.new("Folder")
  1395. Folder.Name = "ShotFolder"
  1396. Folder.Parent = game.Workspace
  1397. RemoteEvent:FireClient(Playerr, "folderexists")
  1398. end
  1399. for i, v in pairs(game.Workspace.ShotFolder:GetChildren()) do
  1400. table.insert(gunraycastignorelist, 1, v)
  1401. end
  1402. for i, v in pairs(game.Workspace:GetDescendants()) do
  1403. if v.ClassName == "Accessory" then
  1404. table.insert(gunraycastignorelist, 1, v)
  1405. end
  1406. end
  1407. local part, hitposition = workspace:FindPartOnRayWithIgnoreList(Rya, gunraycastignorelist)
  1408. local FireBeam = Instance.new("Part")
  1409. local Magn = (Gun.Position - hitposition).magnitude
  1410. if part then
  1411. if part.Parent:FindFirstChildOfClass("Humanoid") ~= nil then
  1412. if part.Name == "Head" then
  1413. if part.Parent:FindFirstChildOfClass("Humanoid").Health - headshotdamage <= 0 and part.Parent:FindFirstChildOfClass("Humanoid"):GetState() ~= Enum.HumanoidStateType.Dead then
  1414. if shoutplaying == true then
  1415. return
  1416. else
  1417. local chance = math.random(1, 3)
  1418. if chance == 1 then
  1419. Character.Head.Kill1:Play()
  1420. Character.Head.Kill1.Ended:Connect(function()
  1421. shoutplaying = false
  1422. end)
  1423. elseif chance == 2 then
  1424. Character.Head.Kill2:Play()
  1425. Character.Head.Kill2.Ended:Connect(function()
  1426. shoutplaying = false
  1427. end)
  1428. elseif chance == 3 then
  1429. Character.Head.Kill3:Play()
  1430. Character.Head.Kill3.Ended:Connect(function()
  1431. shoutplaying = false
  1432. end)
  1433. end
  1434. end
  1435. end
  1436. if headshotdamage <= part.Parent:FindFirstChildOfClass("Humanoid").Health / 40 then
  1437. Useless:Clone().Parent = part
  1438. part.Useless.PlaybackSpeed = (math.random(9, 12)) / 10
  1439. part.Useless:Remove()
  1440. else
  1441. ShotMarker:Clone().Parent = part
  1442. part.ShotMarker.PlaybackSpeed = 1.4
  1443. part.ShotMarker:Remove()
  1444. end
  1445. part.Parent:FindFirstChildOfClass("Humanoid"):TakeDamage(headshotdamage)
  1446. else
  1447. if part.Parent:FindFirstChildOfClass("Humanoid").Health - gunshotdamage <= 0 and part.Parent:FindFirstChildOfClass("Humanoid"):GetState() ~= Enum.HumanoidStateType.Dead then
  1448. if shoutplaying == true then
  1449. return
  1450. else
  1451. local chance = math.random(1, 3)
  1452. if chance == 1 then
  1453. Character.Head.Kill1:Play()
  1454. Character.Head.Kill1.Ended:Connect(function()
  1455. shoutplaying = false
  1456. end)
  1457. elseif chance == 2 then
  1458. Character.Head.Kill2:Play()
  1459. Character.Head.Kill2.Ended:Connect(function()
  1460. shoutplaying = false
  1461. end)
  1462. elseif chance == 3 then
  1463. Character.Head.Kill3:Play()
  1464. Character.Head.Kill3.Ended:Connect(function()
  1465. shoutplaying = false
  1466. end)
  1467. end
  1468. end
  1469. end
  1470. if gunshotdamage <= part.Parent:FindFirstChildOfClass("Humanoid").Health / 60 then
  1471. Useless:Clone().Parent = part
  1472. part.Useless.PlaybackSpeed = (math.random(9, 12)) / 10
  1473. part.Useless:Remove()
  1474. else
  1475. ShotMarker:Clone().Parent = part
  1476. part.ShotMarker.PlaybackSpeed = 1
  1477. part.ShotMarker:Remove()
  1478. end
  1479. part.Parent:FindFirstChildOfClass("Humanoid"):TakeDamage(gunshotdamage)
  1480. end
  1481. end
  1482. end
  1483. FireBeam.Transparency = 0.4
  1484. FireBeam.CanCollide = false
  1485. if part then
  1486. FireBeam.Size = Vector3.new(0.3, 0.3, Magn)
  1487. else
  1488. FireBeam.Size = Vector3.new(0.3, 0.3, 500)
  1489. end
  1490. FireBeam.Material = "Neon"
  1491. FireBeam.CFrame = Gun.CFrame:Lerp(CFrame.new(hitposition), 0.5)
  1492. FireBeam.CFrame = CFrame.new(FireBeam.Position, hitposition)
  1493. FireBeam.Anchored = true
  1494. FireBeam.Name = "PlayerGunFire"
  1495. FireBeam.Parent = game.Workspace.ShotFolder
  1496. local properties = {}
  1497. properties.Transparency = 1
  1498. properties.Size = FireBeam.Size + Vector3.new(1, 1, 0)
  1499. local TweenEnfo = TweenInfo.new(0.3, Enum.EasingStyle.Linear)
  1500. local TTween = TweenService:Create(FireBeam, TweenEnfo, properties)
  1501. TTween:Play()
  1502. TTween.Completed:Connect(function()
  1503. FireBeam:Destroy()
  1504. end)
  1505. local chance = possibleshotnoise[math.random(1, #possibleshotnoise)]
  1506. if chance == possibleshotnoise[1] then
  1507. if not Gun:FindFirstChild("first") then
  1508. local FireSound = Instance.new("Sound")
  1509. FireSound.Name = "first"
  1510. FireSound.Volume = 4
  1511. FireSound.SoundId = possibleshotnoise[1]
  1512. FireSound.Parent = Gun
  1513. end
  1514. Gun.first.Pitch = (math.random(8,12)) / 10
  1515. Gun.first:Play()
  1516. elseif chance == possibleshotnoise[2] then
  1517. if not Gun:FindFirstChild("second") then
  1518. local FireSound = Instance.new("Sound")
  1519. FireSound.Name = "second"
  1520. FireSound.Volume = 4
  1521. FireSound.SoundId = possibleshotnoise[2]
  1522. FireSound.Parent = Gun
  1523. end
  1524. Gun.second.Pitch = (math.random(8,12)) / 10
  1525. Gun.second:Play()
  1526. elseif chance == possibleshotnoise[3] then
  1527. if not Gun:FindFirstChild("third") then
  1528. local FireSound = Instance.new("Sound")
  1529. FireSound.Name = "third"
  1530. FireSound.Volume = 4
  1531. FireSound.SoundId = possibleshotnoise[3]
  1532. FireSound.Parent = Gun
  1533. end
  1534. Gun.third.Pitch = (math.random(8,12)) / 10
  1535. Gun.third:Play()
  1536. elseif chance == possibleshotnoise[4] then
  1537. if not Gun:FindFirstChild("fourth") then
  1538. local FireSound = Instance.new("Sound")
  1539. FireSound.Name = "fourth"
  1540. FireSound.Volume = 4
  1541. FireSound.SoundId = possibleshotnoise[4]
  1542. FireSound.Parent = Gun
  1543. end
  1544. Gun.fourth.Pitch = (math.random(8,12)) / 10
  1545. Gun.fourth:Play()
  1546. elseif chance == possibleshotnoise[5] then
  1547. if not Gun:FindFirstChild("fifth") then
  1548. local FireSound = Instance.new("Sound")
  1549. FireSound.Name = "fifth"
  1550. FireSound.Volume = 4
  1551. FireSound.SoundId = possibleshotnoise[5]
  1552. FireSound.Parent = Gun
  1553. end
  1554. Gun.fifth.Pitch = (math.random(8,12)) / 10
  1555. Gun.fifth:Play()
  1556. end
  1557. action = false
  1558. if walking == true then
  1559. if running == true then
  1560. GunRunAnimation()
  1561. else
  1562. GunWalkAnimation()
  1563. end
  1564. else
  1565. GunIdleAnimation()
  1566. end
  1567. shooting = false
  1568. Character.Humanoid.JumpPower = jumppower
  1569. gunraycastignorelist = {Gun, Character}
  1570. end
  1571.  
  1572. function GunExplosionFire(hitP)
  1573. local Cooldown = coroutine.wrap(function(cooldowntime)
  1574. repeat
  1575. wait(0.1)
  1576. cooldowntime = cooldowntime - 0.1
  1577. until cooldowntime <= 0
  1578. shotavailable = true
  1579. end)
  1580. if action == true then
  1581. return
  1582. else
  1583. action = true
  1584. end
  1585. Character.Humanoid.JumpPower = 0
  1586. lerpintensity = 0.7
  1587. shooting = true
  1588. shotavailable = false
  1589. for i = 1, 5 do
  1590. wait()
  1591. TailWeld.C1 = TailWeld.C1:Lerp(CFrame.new(0, 0, 0, 1, 0, 0, 0, 0.866025448, 0.499999762, 0, -0.499999762, 0.866025448), lerpintensity)
  1592. TailWeld.C0 = TailWeld.C0:Lerp(CFrame.new(-9.53674316e-07, -0.899998903, 0.500267029, 1, 0, 0, 0, 1, 0, 0, 0, 1), lerpintensity)
  1593. 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)
  1594. 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)
  1595. RHip.C1 = RHip.C1:Lerp(CFrame.new(0.5, 1, 0, 0, 0, 1, 0, 1, -0, -1, 0, 0), lerpintensity)
  1596. LHip.C1 = LHip.C1:Lerp(CFrame.new(-0.5, 1, 0, 0, 0, -1, 0, 1, 0, 1, 0, 0), lerpintensity)
  1597. 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)
  1598. RJoint.C1 = RJoint.C1:Lerp(CFrame.new(0, 0, 0, -1, 0, 0, 0, 0, 1, 0, 1, -0), lerpintensity)
  1599. end
  1600. local Rya = Ray.new(Gun.CFrame.p, (hitP - Gun.CFrame.p).unit * 500)
  1601. if not game.Workspace:FindFirstChild("ShotFolder") then
  1602. local Folder = Instance.new("Folder")
  1603. Folder.Name = "ShotFolder"
  1604. Folder.Parent = game.Workspace
  1605. RemoteEvent:FireClient(Playerr, "folderexists")
  1606. end
  1607. for i, v in pairs(game.Workspace.ShotFolder:GetChildren()) do
  1608. if v.Name == "PlayerGunFire" then
  1609. table.insert(gunraycastignorelist, 1, v)
  1610. end
  1611. end
  1612. local part, hitposition = workspace:FindPartOnRayWithIgnoreList(Rya, gunraycastignorelist)
  1613. local FireBeam = Instance.new("Part")
  1614. FireBeam.Color = Orange
  1615. local Magn = (Gun.Position - hitposition).magnitude
  1616. FireBeam.Transparency = 0.4
  1617. FireBeam.CanCollide = false
  1618. if part then
  1619. FireBeam.Size = Vector3.new(0.3, 0.3, Magn)
  1620. else
  1621. FireBeam.Size = Vector3.new(0.3, 0.3, 500)
  1622. end
  1623. FireBeam.Material = "Neon"
  1624. FireBeam.CFrame = Gun.CFrame:Lerp(CFrame.new(hitposition), 0.5)
  1625. FireBeam.CFrame = CFrame.new(FireBeam.Position, hitposition)
  1626. FireBeam.Anchored = true
  1627. FireBeam.Name = "PlayerGunFire"
  1628. local SecondBeam = FireBeam:Clone()
  1629. SecondBeam.Size = FireBeam.Size + Vector3.new(0.7, 0.7, 0)
  1630. SecondBeam.Name = "PlayerGunFire"
  1631. FireBeam.Parent = game.Workspace.ShotFolder
  1632. SecondBeam.Parent = game.Workspace.ShotFolder
  1633. local properties = {}
  1634. properties.Transparency = 1
  1635. properties.CFrame = FireBeam.CFrame
  1636. properties.Size = FireBeam.Size + Vector3.new(FireBeam.Size.X + 1, FireBeam.Size.Y + 1, 0)
  1637. local TweenEnfo = TweenInfo.new(0.3, Enum.EasingStyle.Linear)
  1638. local TTween = TweenService:Create(FireBeam, TweenEnfo, properties)
  1639. TTween:Play()
  1640. TTween = TweenService:Create(SecondBeam, TweenEnfo, properties)
  1641. TTween:Play()
  1642. TTween.Completed:Connect(function()
  1643. FireBeam:Destroy()
  1644. SecondBeam:Destroy()
  1645. end)
  1646. local Explosioo1 = Explosion1:Clone()
  1647. local Explosioo2 = Explosion2:Clone()
  1648. properties.Size = Vector3.new(Explosioo1.Size.X + 1, Explosioo1.Size.Y + 1, Explosioo1.Size.Z + 1)
  1649. properties.CFrame = CFrame.new(hitposition)
  1650. Explosioo1.CFrame = CFrame.new(hitposition)
  1651. Explosioo1.Parent = game.Workspace
  1652. TTween = TweenService:Create(Explosioo1, TweenEnfo, properties)
  1653. TTween:Play()
  1654. Explosioo2.CFrame = CFrame.new(hitposition)
  1655. Explosioo2.Parent = game.Workspace
  1656. explosionsound:Clone().Parent = Explosioo2
  1657. Explosioo2.Sound:Remove()
  1658. TTween = TweenService:Create(Explosioo2, TweenEnfo, properties)
  1659. TTween:Play()
  1660. TTween.Completed:Connect(function()
  1661. Explosioo1:Destroy()
  1662. Explosioo2:Destroy()
  1663. wait()
  1664. end)
  1665. local Explosion = Instance.new("Explosion")
  1666. Explosion.BlastPressure = 500000
  1667. Explosion.BlastRadius = 18
  1668. Explosion.DestroyJointRadiusPercent = 0
  1669. Explosion.ExplosionType = Enum.ExplosionType.NoCraters
  1670. Explosion.Visible = false
  1671. Explosion.Position = Explosioo1.Position
  1672. Explosion.Parent = game.Workspace
  1673. Explosioo1.Touched:Connect(function(hit)
  1674. if hit.Parent:FindFirstChildOfClass("Humanoid") ~= nil then
  1675. if hit.Parent:FindFirstChildOfClass("Humanoid"):FindFirstChild("Hit") then
  1676. return
  1677. end
  1678. if hit.Parent:FindFirstChildOfClass("Humanoid") ~= nil then
  1679. if hit.Parent:FindFirstChildOfClass("Humanoid").Health - explosionshotdamage <= 0 and hit.Parent:FindFirstChildOfClass("Humanoid"):GetState() ~= Enum.HumanoidStateType.Dead then
  1680. if shoutplaying == true then
  1681. return
  1682. else
  1683. local chance = math.random(1, 3)
  1684. if chance == 1 then
  1685. Character.Head.Kill1:Play()
  1686. Character.Head.Kill1.Ended:Connect(function()
  1687. shoutplaying = false
  1688. end)
  1689. elseif chance == 2 then
  1690. Character.Head.Kill2:Play()
  1691. Character.Head.Kill2.Ended:Connect(function()
  1692. shoutplaying = false
  1693. end)
  1694. elseif chance == 3 then
  1695. Character.Head.Kill3:Play()
  1696. Character.Head.Kill3.Ended:Connect(function()
  1697. shoutplaying = false
  1698. end)
  1699. end
  1700. end
  1701. end
  1702. if explosionshotdamage <= hit.Parent:FindFirstChildOfClass("Humanoid").Health / 20 then
  1703. Useless:Clone().Parent = hit
  1704. hit.Useless.PlaybackSpeed = (math.random(9, 12)) / 10
  1705. hit.Useless:Remove()
  1706. end
  1707. local Haet = Instance.new("NumberValue")
  1708. Haet.Name = "Hit"
  1709. Haet.Parent = hit.Parent:FindFirstChildOfClass("Humanoid")
  1710. hit.Parent:FindFirstChildOfClass("Humanoid"):TakeDamage(explosionshotdamage)
  1711. end
  1712. end
  1713. end)
  1714. local chance = possibleshotnoise[math.random(1, #possibleshotnoise)]
  1715. if chance == possibleshotnoise[1] then
  1716. if not Gun:FindFirstChild("first") then
  1717. local FireSound = Instance.new("Sound")
  1718. FireSound.Name = "first"
  1719. FireSound.Volume = 4
  1720. FireSound.Parent = Gun
  1721. end
  1722. Gun.first.Pitch = (math.random(8,12)) / 10
  1723. Gun.first:Play()
  1724. elseif chance == possibleshotnoise[2] then
  1725. if not Gun:FindFirstChild("second") then
  1726. local FireSound = Instance.new("Sound")
  1727. FireSound.Name = "second"
  1728. FireSound.Volume = 4
  1729. FireSound.Parent = Gun
  1730. end
  1731. Gun.second.Pitch = (math.random(8,12)) / 10
  1732. Gun.second:Play()
  1733. elseif chance == possibleshotnoise[3] then
  1734. if not Gun:FindFirstChild("third") then
  1735. local FireSound = Instance.new("Sound")
  1736. FireSound.Name = "third"
  1737. FireSound.Volume = 4
  1738. FireSound.Parent = Gun
  1739. end
  1740. Gun.third.Pitch = (math.random(8,12)) / 10
  1741. Gun.third:Play()
  1742. elseif chance == possibleshotnoise[4] then
  1743. if not Gun:FindFirstChild("fourth") then
  1744. local FireSound = Instance.new("Sound")
  1745. FireSound.Name = "fourth"
  1746. FireSound.Volume = 4
  1747. FireSound.Parent = Gun
  1748. end
  1749. Gun.fourth.Pitch = (math.random(8,12)) / 10
  1750. Gun.fourth:Play()
  1751. elseif chance == possibleshotnoise[5] then
  1752. if not Gun:FindFirstChild("fifth") then
  1753. local FireSound = Instance.new("Sound")
  1754. FireSound.Name = "fifth"
  1755. FireSound.Volume = 4
  1756. FireSound.Parent = Gun
  1757. end
  1758. Gun.fifth.Pitch = (math.random(8,12)) / 10
  1759. Gun.fifth:Play()
  1760. end
  1761. action = false
  1762. Cooldown(2)
  1763. if walking == true then
  1764. if running == true then
  1765. GunRunAnimation()
  1766. else
  1767. GunWalkAnimation()
  1768. end
  1769. else
  1770. GunIdleAnimation()
  1771. end
  1772. lerpintensity = 0.2
  1773. gunraycastignorelist = {Gun, Character}
  1774. shooting = false
  1775. Character.Humanoid.JumpPower = jumppower
  1776. wait()
  1777. for i, v in pairs(game.Workspace:GetDescendants()) do
  1778. if v.ClassName == "NumberValue" and v.Name == "Hit" then
  1779. v:Destroy()
  1780. end
  1781. end
  1782. end
  1783.  
  1784. function Ragdoll()
  1785. Character.Humanoid.AutoRotate = false
  1786.  
  1787. local xrandom = 0
  1788. local yrandom = 0
  1789. local zrandom = 0
  1790.  
  1791. xrandom = math.random(1,2)
  1792. yrandom = math.random(1,2)
  1793. zrandom = math.random(1,2)
  1794.  
  1795. if xrandom == 1 then
  1796. xrandom = -10
  1797. else
  1798. xrandom = 10
  1799. end
  1800. if yrandom == 1 then
  1801. yrandom = -10
  1802. else
  1803. yrandom = 10
  1804. end
  1805. if zrandom == 1 then
  1806. zrandom = -10
  1807. else
  1808. yrandom = 10
  1809. end
  1810.  
  1811. Character.Torso.RotVelocity = Vector3.new(Character.Torso.RotVelocity.X + xrandom, Character.Torso.RotVelocity.Y + yrandom, Character.Torso.RotVelocity.Z + zrandom)
  1812. local LeftC = Instance.new("Attachment")
  1813. LeftC.Position = Vector3.new(0.5, 1, -0)
  1814. LeftC.Name = "LeftCollarAttachment"
  1815. local RightC = Instance.new("Attachment")
  1816. RightC.Position = Vector3.new(-0.5, 1, -0)
  1817. RightC.Name = "RightCollarAttachment"
  1818. local LeftH = Instance.new("Attachment")
  1819. LeftH.Position = Vector3.new(0.1, 1, -0)
  1820. LeftH.Name = "LeftHipAttachment"
  1821. local LeftHOrig = Instance.new("Attachment")
  1822. LeftHOrig.Position = Vector3.new(-0.4, -1, 0)
  1823. LeftHOrig.Name = "LeftHipAttachmentOrig"
  1824. local RightH = Instance.new("Attachment")
  1825. RightH.Position = Vector3.new(-0.1, 1, 0)
  1826. RightH.Name = "RightHipAttachment"
  1827. local RightHOrig = Instance.new("Attachment")
  1828. RightHOrig.Position = Vector3.new(0.4, -1, 0)
  1829. RightHOrig.Name = "RightHipAttachmentOrig"
  1830. local NH = Instance.new("Attachment")
  1831. NH.Position = Vector3.new(0, -0.5, 0)
  1832. NH.Name = "NeckAttachment"
  1833.  
  1834. local LeftArmdoll = Instance.new("BallSocketConstraint")
  1835. LeftArmdoll.TwistLimitsEnabled = false
  1836. LeftArmdoll.Name = "LeftArmdoll"
  1837. local RightArmdoll = Instance.new("BallSocketConstraint")
  1838. RightArmdoll.TwistLimitsEnabled = false
  1839. RightArmdoll.Name = "RightArmdoll"
  1840. local LeftLegdoll = Instance.new("BallSocketConstraint")
  1841. LeftLegdoll.TwistLimitsEnabled = false
  1842. LeftLegdoll.Name = "LeftLegdoll"
  1843. local RightLegdoll = Instance.new("BallSocketConstraint")
  1844. RightLegdoll.TwistLimitsEnabled = false
  1845. RightLegdoll.Name = "RightLegdoll"
  1846. local Neckdoll = Instance.new("BallSocketConstraint")
  1847. Neckdoll.TwistLimitsEnabled = false
  1848. Neckdoll.Name = "Neckdoll"
  1849.  
  1850. LeftC:Clone().Parent = Character["Left Arm"]
  1851. RightC:Clone().Parent = Character["Right Arm"]
  1852. LeftH:Clone().Parent = Character["Left Leg"]
  1853. LeftHOrig:Clone().Parent = Character.Torso
  1854. RightH:Clone().Parent = Character["Right Leg"]
  1855. RightHOrig:Clone().Parent = Character.Torso
  1856. NH:Clone().Parent = Character["Head"]
  1857.  
  1858.  
  1859. LeftArmdoll:Clone().Parent = Character.Torso
  1860. RightArmdoll:Clone().Parent = Character.Torso
  1861. LeftLegdoll:Clone().Parent = Character.Torso
  1862. RightLegdoll:Clone().Parent = Character.Torso
  1863. Neckdoll:Clone().Parent = Character.Torso
  1864.  
  1865. Character.Torso.LeftArmdoll.Attachment0 = Character.Torso.LeftCollarAttachment
  1866. Character.Torso.LeftArmdoll.Attachment1 = Character["Left Arm"].LeftCollarAttachment
  1867. Character.Torso.RightArmdoll.Attachment0 = Character.Torso.RightCollarAttachment
  1868. Character.Torso.RightArmdoll.Attachment1 = Character["Right Arm"].RightCollarAttachment
  1869. Character.Torso.LeftLegdoll.Attachment0 = Character.Torso.LeftHipAttachmentOrig
  1870. Character.Torso.LeftLegdoll.Attachment1 = Character["Left Leg"].LeftHipAttachment
  1871. Character.Torso.RightLegdoll.Attachment0 = Character.Torso.RightHipAttachmentOrig
  1872. Character.Torso.RightLegdoll.Attachment1 = Character["Right Leg"].RightHipAttachment
  1873. Character.Torso.Neckdoll.Attachment0 = Character.Torso.NeckAttachment
  1874. Character.Torso.Neckdoll.Attachment1 = Character.Head.NeckAttachment
  1875. for i, v in pairs(Character:GetChildren()) do
  1876. if v:IsA("BasePart") then
  1877. if v.Name == "Right Arm" or v.Name == "Left Arm" then
  1878. v.CustomPhysicalProperties = PhysicalProperties.new(0.1, 0, 0, 0, 0)
  1879. local legpart = Instance.new("Part")
  1880. legpart.Size = Vector3.new(1,2,1)
  1881. legpart.Transparency = 1
  1882. legpart.Parent = v
  1883.  
  1884. local weld = Instance.new("ManualWeld")
  1885. weld.Parent = script.Parent
  1886. weld.Part0 = legpart
  1887. weld.Part1 = v
  1888.  
  1889. weld.C0 = CFrame.new(0,0,0)
  1890. weld.C1 = CFrame.new(0,0,0)
  1891.  
  1892.  
  1893. PhysicsService:SetPartCollisionGroup(legpart, "TopLimbs")
  1894. elseif v.Name == "Left Leg" or v.Name == "Right Leg" then
  1895. v.CustomPhysicalProperties = PhysicalProperties.new(0.1, 0, 0, 0, 0)
  1896. local legpart = Instance.new("Part")
  1897. legpart.Size = Vector3.new(1,2,1)
  1898. legpart.Transparency = 1
  1899. legpart.Parent = v
  1900.  
  1901. local weld = Instance.new("ManualWeld")
  1902. weld.Parent = script.Parent
  1903. weld.Part0 = legpart
  1904. weld.Part1 = v
  1905.  
  1906. weld.C0 = CFrame.new(0,0,0)
  1907. weld.C1 = CFrame.new(0,0,0)
  1908.  
  1909.  
  1910. PhysicsService:SetPartCollisionGroup(legpart, "BottomLimbs")
  1911. elseif v.Name == "Torso" or v.Name == "Head" then
  1912. if v.Size == Vector3.new(2, 1, 1) then
  1913. v.CustomPhysicalProperties = PhysicalProperties.new(0.1, 0, 0, 0, 0)
  1914. local headpart = Instance.new("Part")
  1915. headpart.Size = Vector3.new(2,1,1)
  1916. headpart.Transparency = 1
  1917. headpart.Parent = v
  1918.  
  1919. local weld = Instance.new("ManualWeld")
  1920. weld.Parent = script.Parent
  1921. weld.Part0 = headpart
  1922. weld.Part1 = v
  1923.  
  1924. weld.C0 = CFrame.new(0,0,0)
  1925. weld.C1 = CFrame.new(0,0,0)
  1926. else
  1927. local torsopart = Instance.new("Part")
  1928. torsopart.Size = Vector3.new(2,2,1)
  1929. torsopart.Transparency = 1
  1930. torsopart.Parent = v
  1931.  
  1932. local weld = Instance.new("ManualWeld")
  1933. weld.Parent = script.Parent
  1934. weld.Part0 = torsopart
  1935. weld.Part1 = v
  1936.  
  1937. weld.C0 = CFrame.new(0,0,0)
  1938. weld.C1 = CFrame.new(0,0,0)
  1939. end
  1940. PhysicsService:SetPartCollisionGroup(v, "BignSmallLimbs")
  1941. end
  1942. end
  1943. end
  1944.  
  1945. for i, v in pairs(Character:GetDescendants()) do
  1946. if v.ClassName == "Motor6D" then
  1947. v:Remove()
  1948. end
  1949. end
  1950. end
  1951.  
  1952. function SelfTerminate()
  1953. while wait() do
  1954. if Character == nil then
  1955. wait(1)
  1956. script:Destroy()
  1957. end
  1958. end
  1959. end
  1960.  
  1961. function Talk(chatmessage)
  1962. local WhatHeSaid = chatmessage
  1963. if Character.Torso:FindFirstChild("BillboardGui") ~= nil then
  1964. Character.Torso.BillboardGui:Destroy()
  1965. elseif Character.Torso:FindFirstChild("SecondBoard") ~= nil then
  1966. Character.Torso.SecondBoard:Destroy()
  1967. end
  1968. local BillboardGui = Instance.new("BillboardGui")
  1969. BillboardGui.Parent = Character.Torso
  1970. BillboardGui.StudsOffset = Vector3.new(0, 4, 0)
  1971. BillboardGui.Size = UDim2.new(1, 0, 1, 0)
  1972. local Text = Instance.new("TextLabel")
  1973. Text.Text = ""
  1974. Text.Size = UDim2.new(1, 0, 1, 0)
  1975. Text.BackgroundTransparency = 1
  1976. Text.Parent = BillboardGui
  1977. Text.TextSize = 16
  1978. Text.TextColor3 = Color3.new(1, 1, 1)
  1979. Text.TextStrokeTransparency = 0
  1980. Text.TextStrokeColor3 = Color3.new(0.4, 0.4, 0.4)
  1981. Text.Text = WhatHeSaid
  1982. wait(1)
  1983. local chance = math.random(1, 2)
  1984. local properties = {}
  1985. properties.TextTransparency = 1
  1986. properties.TextStrokeTransparency = 1
  1987. if chance == 1 then
  1988. properties.Rotation = -45
  1989. else
  1990. properties.Rotation = 45
  1991. end
  1992. local TweenInfo = TweenInfo.new(1, Enum.EasingStyle.Quad, Enum.EasingDirection.In)
  1993. local Tween = TweenService:Create(Text, TweenInfo, properties)
  1994. Tween:Play()
  1995. Tween.Completed:Connect(function()
  1996. if BillboardGui then
  1997. BillboardGui:Destroy()
  1998. end
  1999. end)
  2000. properties.TextTransparency = nil
  2001. properties.TextStrokeTransparency = nil
  2002. properties.Rotation = nil
  2003. Tween = TweenService:Create(BillboardGui, TweenInfo, properties)
  2004. Tween:Play()
  2005. end
  2006.  
  2007. Character.Humanoid.Running:Connect(function(spd)
  2008. if spd > 0.1 then
  2009. if action == true or walking == true then
  2010. return
  2011. end
  2012. if GunEquipped == true then
  2013. walking = true
  2014. GunWalkAnimation()
  2015. else
  2016. walking = true
  2017. WalkAnimation()
  2018. end
  2019. elseif spd <= 0.1 then
  2020. if action == true or walking == false then
  2021. return
  2022. end
  2023. if GunEquipped == true then
  2024. walking = false
  2025. GunIdleAnimation()
  2026. else
  2027. walking = false
  2028. IdleAnimation()
  2029. end
  2030. end
  2031. end)
  2032.  
  2033. Character.Humanoid.StateChanged:Connect(function(old, new)
  2034. if freefall == true and Character.Humanoid:GetState() ~= Enum.HumanoidStateType.Freefall then
  2035. freefall = false
  2036. end
  2037. if Character.Humanoid:GetState() == Enum.HumanoidStateType.Dead then
  2038. Ragdoll()
  2039. if Gun.Parent ~= nil and Gun:FindFirstChildOfClass("ManualWeld") then
  2040. Gun.ManualWeld:Destroy()
  2041. end
  2042. wait(0.1)
  2043. script:Destroy()
  2044. elseif Character.Humanoid:GetState() == Enum.HumanoidStateType.Freefall then
  2045. freefall = true
  2046. FallingAnimation()
  2047. end
  2048. end)
  2049.  
  2050. Playerr.Chatted:Connect(function(chatmessage)
  2051. Talk(chatmessage)
  2052. end)
  2053.  
  2054. function stoprunning()
  2055. if GunEquipped == false then
  2056. return
  2057. end
  2058. shiftdown = false
  2059. running = false
  2060. Character.Humanoid.WalkSpeed = 10
  2061. if walking == true then
  2062. GunWalkAnimation()
  2063. else
  2064. GunIdleAnimation()
  2065. end
  2066. end
  2067.  
  2068. RemoteEvent.OnServerEvent:Connect(function(player, contact, contact2)
  2069. if contact == "gunhold" then
  2070. if GunEquipped == true then
  2071. return
  2072. end
  2073. if action == true then
  2074. if grabbed == true then
  2075. if on == "true" then
  2076. on = "more"
  2077. return
  2078. elseif on == "more" then
  2079. on = "owo"
  2080. end
  2081. end
  2082. return
  2083. end
  2084. on = "true"
  2085. Groom()
  2086. elseif contact == "gunfire" then
  2087. if GunEquipped == true then
  2088. GunFire(contact2)
  2089. end
  2090. elseif contact == "explosionfire" then
  2091. if GunEquipped == true and shotavailable == true then
  2092. GunExplosionFire(contact2)
  2093. end
  2094. elseif contact == "startrunning" then
  2095. if action == true then
  2096. return
  2097. end
  2098. if walking == true then
  2099. shiftdown = true
  2100. Character.Humanoid.WalkSpeed = 50
  2101. GunRunAnimation()
  2102. end
  2103. elseif contact == "stoprunning" then
  2104. shiftdown = false
  2105. if action == true or running == false then
  2106. return
  2107. end
  2108. stoprunning()
  2109. elseif contact == "musicswitch" then
  2110. if music == false then
  2111. YoshisIsland:Play()
  2112. music = true
  2113. else
  2114. YoshisIsland:Stop()
  2115. music = false
  2116. end
  2117. elseif contact == "tacklehug" then
  2118. if GunEquipped == true then
  2119. return
  2120. end
  2121. if action == true then
  2122. if grabbed == true then
  2123. if on == "true" then
  2124. on = "more"
  2125. return
  2126. end
  2127. end
  2128. return
  2129. end
  2130. on = "true"
  2131. Tackle()
  2132. elseif contact == "stoptacklehug" then
  2133. if GunEquipped == true then
  2134. return
  2135. end
  2136. on = "false"
  2137. end
  2138. end)
  2139.  
  2140. spawn(SelfTerminate)
  2141. wait()
  2142. IdleAnimation()
Advertisement
Add Comment
Please, Sign In to add comment
Advertisement