Advertisement
AndyWolf6610

A test

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