Advertisement
sIendytubble

neko cat other

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