Advertisement
foxywolf233

Character Clone

Dec 14th, 2021
28
0
Never
Not a member of Pastebin yet? Sign Up, it unlocks many cool features!
text 247.40 KB | None | 0 0
  1. FakeLimbs = {["Head"] = nil,["Torso1"] = nil,["Torso2"] = nil,["Right Arm"] = nil,["Left Arm"] = nil,["Right Leg"] = nil,["Left Leg"] = nil}
  2. Accessorys = {}
  3.  
  4.  
  5. local HumanRoot = game.Players.LocalPlayer.Character.HumanoidRootPart
  6. function StickAcc(Part0,Part1,Angle,Position)
  7. Part0:FindFirstChildWhichIsA("Weld"):Destroy()
  8. local AlignPos = Instance.new('AlignPosition', Part1)
  9. AlignPos.ApplyAtCenterOfMass = true;
  10. AlignPos.MaxForce = 67752;
  11. AlignPos.MaxVelocity = math.huge/9e110;
  12. AlignPos.ReactionForceEnabled = false;
  13. AlignPos.Responsiveness = 200;
  14. AlignPos.RigidityEnabled = false;
  15. local AlignOri = Instance.new('AlignOrientation', Part1)
  16. AlignOri.MaxAngularVelocity = math.huge/9e110;
  17. AlignOri.MaxTorque = 67752;
  18. AlignOri.PrimaryAxisOnly = false;
  19. AlignOri.ReactionTorqueEnabled = false;
  20. AlignOri.Responsiveness = 200;
  21. AlignOri.RigidityEnabled = false;
  22. local AttachmentA=Instance.new('Attachment',Part1)
  23. local AttachmentB=Instance.new('Attachment',Part0)
  24. local AttachmentC=Instance.new('Attachment',Part1)
  25. local AttachmentD=Instance.new('Attachment',Part0)
  26. AlignPos.Attachment1 = AttachmentA;
  27. AlignPos.Attachment0 = AttachmentB;
  28. AlignOri.Attachment1 = AttachmentC;
  29. AlignOri.Attachment0 = AttachmentD;
  30. AttachmentC.Orientation = Angle
  31. Part0.Parent = FakeCharacter
  32. if Position then
  33. AttachmentA.Position = Position
  34. end
  35. game:GetService("RunService").Heartbeat:connect(function()
  36. Part0.Velocity = Vector3.new(0,35,0)
  37. end)
  38. end
  39.  
  40. for i, part in pairs(game.Players.LocalPlayer.Character:GetDescendants()) do
  41. if part:IsA("Accessory") then
  42. if part.Handle.Size == Vector3.new(1, 1, 2) then
  43. if FakeLimbs["Right Arm"] == nil then
  44. FakeLimbs["Right Arm"] = part.Handle
  45. elseif FakeLimbs["Left Arm"] == nil then
  46. FakeLimbs["Left Arm"] = part.Handle
  47.  
  48. elseif FakeLimbs["Right Leg"] == nil then
  49. FakeLimbs["Right Leg"] = part.Handle
  50. elseif FakeLimbs["Left Leg"] == nil then
  51. FakeLimbs["Left Leg"] = part.Handle
  52. elseif FakeLimbs["Torso1"] == nil then
  53. FakeLimbs["Torso1"] = part.Handle
  54. elseif FakeLimbs["Torso2"] == nil then
  55. FakeLimbs["Torso2"] = part.Handle
  56. end
  57. elseif part.Handle.Size == Vector3.new(1,1,1) then
  58. FakeLimbs["Head"] = part.Handle
  59. end
  60. end
  61. end
  62. game.Players.LocalPlayer.Character.Archivable = true
  63. function sandbox(var,func)
  64. local env = getfenv(func)
  65. local newenv = setmetatable({},{
  66. __index = function(self,k)
  67. if k=="script" then
  68. return var
  69. else
  70. return env[k]
  71. end
  72. end,
  73. })
  74. setfenv(func,newenv)
  75. return func
  76. end
  77. cors = {}
  78. mas = Instance.new("Model",game:GetService("Lighting"))
  79. Model0 = Instance.new("Model")
  80. Part1 = Instance.new("Part")
  81. Motor6D2 = Instance.new("Motor6D")
  82. Part3 = Instance.new("Part")
  83. Motor6D4 = Instance.new("Motor6D")
  84. Motor6D5 = Instance.new("Motor6D")
  85. Motor6D6 = Instance.new("Motor6D")
  86. Motor6D7 = Instance.new("Motor6D")
  87. Motor6D8 = Instance.new("Motor6D")
  88. Part9 = Instance.new("Part")
  89. Part10 = Instance.new("Part")
  90. Part11 = Instance.new("Part")
  91. Part12 = Instance.new("Part")
  92. Part13 = Instance.new("Part")
  93. Decal14 = Instance.new("Decal")
  94. SpecialMesh15 = Instance.new("SpecialMesh")
  95. Humanoid16 = Instance.new("Humanoid")
  96. Model0.Name = "Dummy"
  97. Model0.Parent = mas
  98. Model0.PrimaryPart = Part1
  99. Part1.Name = "HumanoidRootPart"
  100. Part1.Parent = Model0
  101. Part1.Position =game.Players.LocalPlayer.Character.HumanoidRootPart.Position
  102. Part1.Transparency = 0.5
  103. Part1.Size = Vector3.new(2, 2, 1)
  104. Part1.Anchored = false
  105. Part1.BottomSurface = Enum.SurfaceType.Smooth
  106. Part1.TopSurface = Enum.SurfaceType.Smooth
  107. Motor6D2.Name = "Root Hip"
  108. Motor6D2.Parent = Part1
  109. Motor6D2.MaxVelocity = 0.10000000149012
  110. Motor6D2.C0 = CFrame.new(0, 0, 0, -1, 0, 0, 0, 0, 1, 0, 1, 0)
  111. Motor6D2.C1 = CFrame.new(0, 0, 0, -1, 0, 0, 0, 0, 1, 0, 1, 0)
  112. Motor6D2.Part0 = Part1
  113. Motor6D2.Part1 = Part3
  114. Motor6D2.part1 = Part3
  115. Part3.Name = "Torso"
  116. Part3.Parent = Model0
  117. Part3.CFrame = CFrame.new(282.536926, 2.99999976, 343.539185, 1, 0, 0, 0, 1, 0, 0, 0, 1)
  118. Part3.Position = Vector3.new(282.53692626953, 2.9999997615814, 343.53918457031)
  119. Part3.Size = Vector3.new(2, 2, 1)
  120. Part3.BottomSurface = Enum.SurfaceType.Smooth
  121. Part3.CanCollide = false
  122. Part3.TopSurface = Enum.SurfaceType.Smooth
  123. Motor6D4.Name = "Left Hip"
  124. Motor6D4.Parent = Part3
  125. Motor6D4.MaxVelocity = 0.10000000149012
  126. Motor6D4.C0 = CFrame.new(-1, -1, 0, -4.37113883e-08, 0, -1, 0, 0.99999994, 0, 1, 0, -4.37113883e-08)
  127. Motor6D4.C1 = CFrame.new(-0.5, 1, 0, -4.37113883e-08, 0, -1, 0, 0.99999994, 0, 1, 0, -4.37113883e-08)
  128. Motor6D4.Part0 = Part3
  129. Motor6D4.Part1 = Part9
  130. Motor6D4.part1 = Part9
  131. Motor6D5.Name = "Right Hip"
  132. Motor6D5.Parent = Part3
  133. Motor6D5.MaxVelocity = 0.10000000149012
  134. Motor6D5.C0 = CFrame.new(1, -1, 0, -4.37113883e-08, 0, 1, -0, 0.99999994, 0, -1, 0, -4.37113883e-08)
  135. Motor6D5.C1 = CFrame.new(0.5, 1, 0, -4.37113883e-08, 0, 1, 0, 0.99999994, 0, -1, 0, -4.37113883e-08)
  136. Motor6D5.Part0 = Part3
  137. Motor6D5.Part1 = Part10
  138. Motor6D5.part1 = Part10
  139. Motor6D6.Name = "Left Shoulder"
  140. Motor6D6.Parent = Part3
  141. Motor6D6.MaxVelocity = 0.10000000149012
  142. Motor6D6.C0 = CFrame.new(-1, 0.5, 0, -4.37113883e-08, 0, -1, 0, 0.99999994, 0, 1, 0, -4.37113883e-08)
  143. Motor6D6.C1 = CFrame.new(0.5, 0.5, 0, -4.37113883e-08, 0, -1, 0, 0.99999994, 0, 1, 0, -4.37113883e-08)
  144. Motor6D6.Part0 = Part3
  145. Motor6D6.Part1 = Part11
  146. Motor6D6.part1 = Part11
  147. Motor6D7.Name = "Right Shoulder"
  148. Motor6D7.Parent = Part3
  149. Motor6D7.MaxVelocity = 0.10000000149012
  150. Motor6D7.C0 = CFrame.new(1, 0.5, 0, -4.37113883e-08, 0, 1, -0, 0.99999994, 0, -1, 0, -4.37113883e-08)
  151. Motor6D7.C1 = CFrame.new(-0.5, 0.5, 0, -4.37113883e-08, 0, 1, 0, 0.99999994, 0, -1, 0, -4.37113883e-08)
  152. Motor6D7.Part0 = Part3
  153. Motor6D7.Part1 = Part12
  154. Motor6D7.part1 = Part12
  155. Motor6D8.Name = "Neck"
  156. Motor6D8.Parent = Part3
  157. Motor6D8.MaxVelocity = 0.10000000149012
  158. Motor6D8.C0 = CFrame.new(0, 1, 0, -1, 0, 0, 0, 0, 1, 0, 1, 0)
  159. Motor6D8.C1 = CFrame.new(0, -0.5, 0, -1, 0, 0, 0, 0, 1, 0, 1, 0)
  160. Motor6D8.Part0 = Part3
  161. Motor6D8.Part1 = Part13
  162. Motor6D8.part1 = Part13
  163. Part9.Name = "Left Leg"
  164. Part9.Parent = Model0
  165. Part9.CFrame = CFrame.new(282.036926, 0.999999881, 343.539185, 1, 0, 0, 0, 0.999999881, 0, 0, 0, 1)
  166. Part9.Position = Vector3.new(282.03692626953, 0.99999988079071, 343.53918457031)
  167. Part9.Size = Vector3.new(1, 2, 1)
  168. Part9.BottomSurface = Enum.SurfaceType.Smooth
  169. Part9.CanCollide = false
  170. Part9.TopSurface = Enum.SurfaceType.Smooth
  171. Part10.Name = "Right Leg"
  172. Part10.Parent = Model0
  173. Part10.CFrame = CFrame.new(283.036926, 0.999999881, 343.539185, 1, 0, 0, 0, 0.999999881, 0, 0, 0, 1)
  174. Part10.Position = Vector3.new(283.03692626953, 0.99999988079071, 343.53918457031)
  175. Part10.Size = Vector3.new(1, 2, 1)
  176. Part10.BottomSurface = Enum.SurfaceType.Smooth
  177. Part10.CanCollide = false
  178. Part10.TopSurface = Enum.SurfaceType.Smooth
  179. Part11.Name = "Left Arm"
  180. Part11.Parent = Model0
  181. Part11.CFrame = CFrame.new(281.036926, 2.99999976, 343.539185, 1, 0, 0, 0, 0.999999881, 0, 0, 0, 1)
  182. Part11.Position = Vector3.new(281.03692626953, 2.9999997615814, 343.53918457031)
  183. Part11.Size = Vector3.new(1, 2, 1)
  184. Part11.BottomSurface = Enum.SurfaceType.Smooth
  185. Part11.CanCollide = false
  186. Part11.TopSurface = Enum.SurfaceType.Smooth
  187. Part12.Name = "Right Arm"
  188. Part12.Parent = Model0
  189. Part12.CFrame = CFrame.new(284.036926, 2.99999976, 343.539185, 1, 0, 0, 0, 0.999999881, 0, 0, 0, 1)
  190. Part12.Position = Vector3.new(284.03692626953, 2.9999997615814, 343.53918457031)
  191. Part12.Size = Vector3.new(1, 2, 1)
  192. Part12.BottomSurface = Enum.SurfaceType.Smooth
  193. Part12.CanCollide = false
  194. Part12.TopSurface = Enum.SurfaceType.Smooth
  195. Part13.Name = "Head"
  196. Part13.Parent = Model0
  197. Part13.CFrame = CFrame.new(282.536926, 4.5, 343.539185, 1, 0, 0, 0, 1, 0, 0, 0, 1)
  198. Part13.Position = Vector3.new(282.53692626953, 4.5, 343.53918457031)
  199. Part13.Size = Vector3.new(2, 1, 1)
  200. Part13.BottomSurface = Enum.SurfaceType.Smooth
  201. Part13.TopSurface = Enum.SurfaceType.Smooth
  202. Decal14.Name = "Face"
  203. Decal14.Parent = Part13
  204. Decal14.Texture = "rbxasset://textures/face.png"
  205. SpecialMesh15.Parent = Part13
  206. SpecialMesh15.Scale = Vector3.new(1.25, 1.25, 1.25)
  207. Humanoid16.Parent = Model0
  208. Humanoid16.LeftLeg = Part9
  209. Humanoid16.RightLeg = Part10
  210. Humanoid16.Torso = Part1
  211. for i,v in pairs(mas:GetChildren()) do
  212. v.Parent = script
  213. pcall(function() v:MakeJoints() end)
  214. end
  215. mas:Destroy()
  216. for i,v in pairs(cors) do
  217. spawn(function()
  218. pcall(v)
  219. end)
  220. end
  221.  
  222.  
  223.  
  224.  
  225.  
  226.  
  227.  
  228.  
  229.  
  230.  
  231.  
  232.  
  233.  
  234. -- Kill Player
  235. FakeCharacter = Model0
  236. FakeCharacter.Parent = workspace
  237.  
  238.  
  239. local gun = Instance.new("Part",workspace)
  240. gun.Size=Vector3.new(4,1.5,0.75)
  241. gun.CanCollide=false
  242. gun.Position = FakeCharacter.HumanoidRootPart.Position
  243. gun.Name="Elite Combine Gun"
  244.  
  245.  
  246.  
  247.  
  248. for i, part in pairs(FakeCharacter:GetDescendants()) do
  249. if part:IsA("Part") or part:IsA("MeshPart") then
  250. part.Transparency = 1
  251. elseif part:IsA("Accessory") then
  252. part:Destroy()
  253. end
  254. end
  255. for i = 1,#Accessorys do
  256. StickAcc(Accessorys[i],FakeCharacter.Head,Vector3.new(0,0,0))
  257. end
  258.  
  259.  
  260.  
  261.  
  262.  
  263.  
  264.  
  265.  
  266. function StickParts(Part0,Part1,Angle,Position)
  267. if Part0:FindFirstChildWhichIsA("Weld") then
  268. Part0:FindFirstChildWhichIsA("Weld"):Destroy()
  269. Part0:FindFirstChildWhichIsA("SpecialMesh"):Destroy()
  270. end
  271. local AlignPos = Instance.new('AlignPosition', Part1)
  272. AlignPos.ApplyAtCenterOfMass = true;
  273. AlignPos.MaxForce = 67752;
  274. AlignPos.MaxVelocity = math.huge/9e110;
  275. AlignPos.ReactionForceEnabled = false;
  276. AlignPos.Responsiveness = 200;
  277. AlignPos.RigidityEnabled = false;
  278. local AlignOri = Instance.new('AlignOrientation', Part1)
  279. AlignOri.MaxAngularVelocity = math.huge/9e110;
  280. AlignOri.MaxTorque = 67752;
  281. AlignOri.PrimaryAxisOnly = false;
  282. AlignOri.ReactionTorqueEnabled = false;
  283. AlignOri.Responsiveness = 200;
  284. AlignOri.RigidityEnabled = false;
  285. local AttachmentA=Instance.new('Attachment',Part1)
  286. local AttachmentB=Instance.new('Attachment',Part0)
  287. local AttachmentC=Instance.new('Attachment',Part1)
  288. local AttachmentD=Instance.new('Attachment',Part0)
  289. AlignPos.Attachment1 = AttachmentA;
  290. AlignPos.Attachment0 = AttachmentB;
  291. AlignOri.Attachment1 = AttachmentC;
  292. AlignOri.Attachment0 = AttachmentD;
  293. AttachmentC.Orientation = Angle
  294. Part0.Parent = FakeCharacter
  295. if Position then
  296. AttachmentA.Position = Position
  297. end
  298. s = game:GetService("RunService").Heartbeat:connect(function()
  299. Part0.Velocity = Vector3.new(0,35,0)
  300. end)
  301. spawn(function()
  302. while true do
  303. wait()
  304. if HumanDied then
  305. s:Disconnect()
  306. break
  307. end
  308. end
  309. end)
  310. end
  311.  
  312.  
  313.  
  314.  
  315. Bypass = "death"
  316. if not Bypass then Bypass = "limbs" end
  317. HumanDied = false
  318.  
  319. CountSCIFIMOVIELOL = 1
  320. function SCIFIMOVIELOL(Part0,Part1,Position,Angle)
  321. local AlignPos = Instance.new('AlignPosition', Part1); AlignPos.Name = "AliP_"..CountSCIFIMOVIELOL
  322. AlignPos.ApplyAtCenterOfMass = true;
  323. AlignPos.MaxForce = 67752;
  324. AlignPos.MaxVelocity = math.huge/9e110;
  325. AlignPos.ReactionForceEnabled = false;
  326. AlignPos.Responsiveness = 200;
  327. AlignPos.RigidityEnabled = false;
  328. local AlignOri = Instance.new('AlignOrientation', Part1); AlignOri.Name = "AliO_"..CountSCIFIMOVIELOL
  329. AlignOri.MaxAngularVelocity = math.huge/9e110;
  330. AlignOri.MaxTorque = 67752;
  331. AlignOri.PrimaryAxisOnly = false;
  332. AlignOri.ReactionTorqueEnabled = false;
  333. AlignOri.Responsiveness = 200;
  334. AlignOri.RigidityEnabled = false;
  335. local AttachmentA=Instance.new('Attachment',Part1); AttachmentA.Name = "AthP_"..CountSCIFIMOVIELOL
  336. local AttachmentB=Instance.new('Attachment',Part0); AttachmentB.Name = "AthP_"..CountSCIFIMOVIELOL
  337. local AttachmentC=Instance.new('Attachment',Part1); AttachmentC.Name = "AthO_"..CountSCIFIMOVIELOL
  338. local AttachmentD=Instance.new('Attachment',Part0); AttachmentD.Name = "AthO_"..CountSCIFIMOVIELOL
  339. AttachmentC.Orientation = Angle
  340. AttachmentA.Position = Position
  341. AlignPos.Attachment1 = AttachmentA;
  342. AlignPos.Attachment0 = AttachmentB;
  343. AlignOri.Attachment1 = AttachmentC;
  344. AlignOri.Attachment0 = AttachmentD;
  345. CountSCIFIMOVIELOL = CountSCIFIMOVIELOL + 1
  346.  
  347. end
  348.  
  349. coroutine.wrap(function()
  350. local player = game.Players.LocalPlayer
  351. local char = player.Character or player.CharacterAdded:wait()
  352. if sethiddenproperty then
  353. while true do
  354. game:GetService("RunService").RenderStepped:Wait()
  355. settings().Physics.AllowSleep = false
  356. local TBL = game:GetService("Players"):GetChildren()
  357. for _ = 1,#TBL do local Players = TBL[_]
  358. if Players ~= game:GetService("Players").LocalPlayer then
  359. Players.MaximumSimulationRadius = 0
  360. sethiddenproperty(Players,"SimulationRadius",0)
  361. end
  362. end
  363. game:GetService("Players").LocalPlayer.MaximumSimulationRadius = math.pow(math.huge,math.huge)
  364. sethiddenproperty(game:GetService("Players").LocalPlayer,"SimulationRadius",math.pow(math.huge,math.huge)*math.huge)
  365. if HumanDied then break end
  366. end
  367. else
  368. while true do
  369. game:GetService("RunService").RenderStepped:Wait()
  370. settings().Physics.AllowSleep = false
  371. local TBL = game:GetService("Players"):GetChildren()
  372. for _ = 1,#TBL do local Players = TBL[_]
  373. if Players ~= game:GetService("Players").LocalPlayer then
  374. Players.MaximumSimulationRadius = 0
  375. end
  376. end
  377. game:GetService("Players").LocalPlayer.MaximumSimulationRadius = math.pow(math.huge,math.huge)
  378. if HumanDied then break end
  379. end
  380. end
  381. end)()
  382.  
  383. if game:GetService("Players").LocalPlayer.Character.Humanoid.RigType == Enum.HumanoidRigType.R6 then
  384. if Bypass == "limbs" then --------------------------------------------------------------------------------------------------------------------
  385. game:GetService("Players").LocalPlayer["Character"].Archivable = true
  386. local CloneChar = game:GetService("Players").LocalPlayer["Character"]:Clone()
  387. CloneChar.Parent = workspace
  388. CloneChar.HumanoidRootPart.CFrame = game:GetService("Players").LocalPlayer["Character"].HumanoidRootPart.CFrame * CFrame.new(0,2,0)
  389. wait()
  390. CloneChar.Humanoid.BreakJointsOnDeath = false
  391. workspace.Camera.CameraSubject = CloneChar.Humanoid
  392. CloneChar.Name = "non"
  393. CloneChar.Humanoid.DisplayDistanceType = "None"
  394. if CloneChar.Head:FindFirstChild("face") then CloneChar.Head:FindFirstChild("face"):Destroy() end
  395. if workspace[game:GetService("Players").LocalPlayer.Name].Head:FindFirstChild("face") then workspace[game:GetService("Players").LocalPlayer.Name].Head:FindFirstChild("face").Parent = CloneChar.Head end
  396.  
  397. local DeadChar = workspace[game:GetService("Players").LocalPlayer.Name]
  398. DeadChar.HumanoidRootPart:Destroy()
  399.  
  400. local LVecPart = Instance.new("Part", workspace) LVecPart.CanCollide = false LVecPart.Transparency = 1
  401. local CONVEC
  402. local function VECTORUNIT()
  403. if HumanDied then CONVEC:Disconnect(); return end
  404. local lookVec = workspace.Camera.CFrame.lookVector
  405. local Root = CloneChar["HumanoidRootPart"]
  406. LVecPart.Position = Root.Position
  407. LVecPart.CFrame = CFrame.new(LVecPart.Position, Vector3.new(lookVec.X * 9999, lookVec.Y, lookVec.Z * 9999))
  408. end
  409. CONVEC = game:GetService("RunService").Heartbeat:Connect(VECTORUNIT)
  410.  
  411. local CONDOWN
  412. local WDown, ADown, SDown, DDown, SpaceDown = false, false, false, false, false
  413. local function KEYDOWN(_,Processed)
  414. if HumanDied then CONDOWN:Disconnect(); return end
  415. if Processed ~= true then
  416. local Key = _.KeyCode
  417. if Key == Enum.KeyCode.W then
  418. WDown = true end
  419. if Key == Enum.KeyCode.A then
  420. ADown = true end
  421. if Key == Enum.KeyCode.S then
  422. SDown = true end
  423. if Key == Enum.KeyCode.D then
  424. DDown = true end
  425. if Key == Enum.KeyCode.Space then
  426. SpaceDown = true end end end
  427. CONDOWN = game:GetService("UserInputService").InputBegan:Connect(KEYDOWN)
  428.  
  429. local CONUP
  430. local function KEYUP(_)
  431. if HumanDied then CONUP:Disconnect(); return end
  432. local Key = _.KeyCode
  433. if Key == Enum.KeyCode.W then
  434. WDown = false end
  435. if Key == Enum.KeyCode.A then
  436. ADown = false end
  437. if Key == Enum.KeyCode.S then
  438. SDown = false end
  439. if Key == Enum.KeyCode.D then
  440. DDown = false end
  441. if Key == Enum.KeyCode.Space then
  442. SpaceDown = false end end
  443. CONUP = game:GetService("UserInputService").InputEnded:Connect(KEYUP)
  444.  
  445. local function MoveClone(X,Y,Z)
  446. VEL = 1
  447. LVecPart.CFrame = LVecPart.CFrame * CFrame.new(-X,Y,-Z)
  448. workspace["non"].Humanoid.WalkToPoint = LVecPart.Position
  449. wait()
  450. VEL = 0
  451. end
  452.  
  453. coroutine.wrap(function()
  454. while true do game:GetService("RunService").RenderStepped:Wait()
  455. if HumanDied then break end
  456. if WDown then MoveClone(0,0,1e4) end
  457. if ADown then MoveClone(1e4,0,0) end
  458. if SDown then MoveClone(0,0,-1e4) end
  459. if DDown then MoveClone(-1e4,0,0) end
  460. if SpaceDown then CloneChar["Humanoid"].Jump = true end
  461. if WDown ~= true and ADown ~= true and SDown ~= true and DDown ~= true then
  462. workspace["non"].Humanoid.WalkToPoint = workspace["non"].HumanoidRootPart.Position end
  463. end
  464. end)()
  465.  
  466. local con
  467. function UnCollide()
  468. if HumanDied then con:Disconnect(); return end
  469. for _,Parts in next, CloneChar:GetDescendants() do
  470. if Parts:IsA("BasePart") then
  471. Parts.CanCollide = false
  472. end
  473. end
  474. for _,Parts in next, DeadChar:GetDescendants() do
  475. if Parts:IsA("BasePart") then
  476. Parts.CanCollide = false
  477. end
  478. end
  479. end
  480. con = game:GetService("RunService").Stepped:Connect(UnCollide)
  481.  
  482. local resetBindable = Instance.new("BindableEvent")
  483. resetBindable.Event:connect(function()
  484. game:GetService("StarterGui"):SetCore("ResetButtonCallback", true)
  485. resetBindable:Destroy()
  486. pcall(function()
  487. CloneChar.Humanoid.Health = 0
  488. DeadChar.Humanoid.Health = 0
  489. end)
  490. end)
  491. game:GetService("StarterGui"):SetCore("ResetButtonCallback", resetBindable)
  492.  
  493. coroutine.wrap(function()
  494. while true do
  495. game:GetService("RunService").RenderStepped:wait()
  496. if not CloneChar or not CloneChar:FindFirstChild("Head") or not CloneChar:FindFirstChild("Humanoid") or CloneChar:FindFirstChild("Humanoid").Health <= 0 or not DeadChar or not DeadChar:FindFirstChild("Head") or not DeadChar:FindFirstChild("Humanoid") or DeadChar:FindFirstChild("Humanoid").Health <= 0 then
  497. HumanDied = true
  498. pcall(function()
  499. game.Players.LocalPlayer.Character = CloneChar
  500. CloneChar:Destroy()
  501. game.Players.LocalPlayer.Character = DeadChar
  502. if resetBindable then
  503. game:GetService("StarterGui"):SetCore("ResetButtonCallback", true)
  504. resetBindable:Destroy()
  505. end
  506. DeadChar.Humanoid.Health = 0
  507. end)
  508. break
  509. end
  510. end
  511. end)()
  512.  
  513. SCIFIMOVIELOL(DeadChar["Head"],CloneChar["Head"],Vector3.new(0,0,0),Vector3.new(0,0,0))
  514. SCIFIMOVIELOL(DeadChar["Torso"],CloneChar["Torso"],Vector3.new(0,0,0),Vector3.new(0,0,0))
  515. SCIFIMOVIELOL(DeadChar["Left Arm"],CloneChar["Left Arm"],Vector3.new(0,0,0),Vector3.new(0,0,0))
  516. SCIFIMOVIELOL(DeadChar["Right Arm"],CloneChar["Right Arm"],Vector3.new(0,0,0),Vector3.new(0,0,0))
  517. SCIFIMOVIELOL(DeadChar["Left Leg"],CloneChar["Left Leg"],Vector3.new(0,0,0),Vector3.new(0,0,0))
  518. SCIFIMOVIELOL(DeadChar["Right Leg"],CloneChar["Right Leg"],Vector3.new(0,0,0),Vector3.new(0,0,0))
  519.  
  520. coroutine.wrap(function()
  521. while true do
  522. game:GetService("RunService").RenderStepped:wait()
  523. if HumanDied then break end
  524. DeadChar["Torso"].CFrame = CloneChar["Torso"].CFrame
  525. end
  526. end)()
  527.  
  528. for _,v in next, DeadChar:GetChildren() do
  529. if v:IsA("Accessory") and table.find(SETHATS,v.Handle) == nil then
  530. SCIFIMOVIELOL(v.Handle,CloneChar[v.Name].Handle,Vector3.new(0,0,0),Vector3.new(0,0,0))
  531. end
  532. end
  533.  
  534. for _,BodyParts in next, CloneChar:GetDescendants() do
  535. if BodyParts:IsA("BasePart") or BodyParts:IsA("Part") then
  536. BodyParts.Transparency = 1 end end
  537.  
  538. DeadChar.Torso["Left Shoulder"]:Destroy()
  539. DeadChar.Torso["Right Shoulder"]:Destroy()
  540. DeadChar.Torso["Left Hip"]:Destroy()
  541. DeadChar.Torso["Right Hip"]:Destroy()
  542.  
  543. elseif Bypass == "death" then --------------------------------------------------------------------------------------------------------------------
  544. game:GetService("Players").LocalPlayer["Character"].Archivable = true
  545. local CloneChar = game:GetService("Players").LocalPlayer["Character"]:Clone()
  546. game:GetService("Players").LocalPlayer["Character"].Humanoid.WalkSpeed = 0
  547. game:GetService("Players").LocalPlayer["Character"].Humanoid.JumpPower = 0
  548. game:GetService("Players").LocalPlayer["Character"].Humanoid.AutoRotate = false
  549. local FalseChar = Instance.new("Model", workspace); FalseChar.Name = ""
  550. Instance.new("Part",FalseChar).Name = "Head"
  551. Instance.new("Part",FalseChar).Name = "Torso"
  552. Instance.new("Humanoid",FalseChar).Name = "Humanoid"
  553. game:GetService("Players").LocalPlayer["Character"] = FalseChar
  554. game:GetService("Players").LocalPlayer["Character"].Humanoid.Name = "FalseHumanoid"
  555. local Clone = game:GetService("Players").LocalPlayer["Character"]:FindFirstChild("FalseHumanoid"):Clone()
  556. Clone.Parent = game:GetService("Players").LocalPlayer["Character"]
  557. Clone.Name = "Humanoid"
  558. game:GetService("Players").LocalPlayer["Character"]:FindFirstChild("FalseHumanoid"):Destroy()
  559. game:GetService("Players").LocalPlayer["Character"].Humanoid.Health = 0
  560. game:GetService("Players").LocalPlayer["Character"] = workspace[game:GetService("Players").LocalPlayer.Name]
  561. wait(5.65)
  562. game:GetService("Players").LocalPlayer["Character"].Humanoid.Health = 0
  563. CloneChar.Parent = workspace
  564. CloneChar.HumanoidRootPart.CFrame = game:GetService("Players").LocalPlayer["Character"].HumanoidRootPart.CFrame * CFrame.new(0,2,0)
  565.  
  566.  
  567. StickParts(FakeLimbs["Head"],CloneChar.Head,Vector3.new(0,0,0))
  568. StickParts(FakeLimbs["Right Arm"],CloneChar["Right Arm"],Vector3.new(90,0,0))
  569. StickParts(FakeLimbs["Left Arm"],CloneChar["Left Arm"],Vector3.new(90,0,0))
  570. StickParts(FakeLimbs["Right Leg"],CloneChar["Right Leg"],Vector3.new(90,0,0))
  571. StickParts(FakeLimbs["Left Leg"],CloneChar["Left Leg"],Vector3.new(90,0,0))
  572. StickParts(FakeLimbs["Torso1"],CloneChar.Torso,Vector3.new(90,0,0),Vector3.new(0.5,0,0))
  573. StickParts(FakeLimbs["Torso2"],CloneChar.Torso,Vector3.new(90,0,0),Vector3.new(-0.5,0,0))
  574.  
  575.  
  576. wait()
  577.  
  578.  
  579.  
  580.  
  581. CloneChar.Humanoid.BreakJointsOnDeath = false
  582. workspace.Camera.CameraSubject = CloneChar.Humanoid
  583. CloneChar.Name = "non"
  584. CloneChar.Humanoid.DisplayDistanceType = "None"
  585. if CloneChar.Head:FindFirstChild("face") then CloneChar.Head:FindFirstChild("face"):Destroy() end
  586. if workspace[game:GetService("Players").LocalPlayer.Name].Head:FindFirstChild("face") then workspace[game:GetService("Players").LocalPlayer.Name].Head:FindFirstChild("face").Parent = CloneChar.Head end
  587.  
  588. FalseChar:Destroy()
  589.  
  590. local DeadChar = workspace[game:GetService("Players").LocalPlayer.Name]
  591.  
  592.  
  593.  
  594.  
  595.  
  596. for _,v in next, DeadChar:GetChildren() do
  597. if v:IsA("Accessory") then
  598. if v.Name == "Lazgewehr-58" then
  599. GunHat = v.Handle
  600.  
  601. elseif v.Name == "AridBadlanderMkII" then
  602. SoldierHelm = v.Handle
  603. StickParts(SoldierHelm,CloneChar.Head,Vector3.new(0, 0,0),Vector3.new(0,0.3,0))
  604. print("lol")
  605. end
  606. end
  607. end
  608.  
  609. local LVecPart = Instance.new("Part", workspace) LVecPart.CanCollide = false LVecPart.Transparency = 1
  610. local CONVEC
  611. local function VECTORUNIT()
  612. if HumanDied then CONVEC:Disconnect(); return end
  613. local lookVec = workspace.Camera.CFrame.lookVector
  614. local Root = CloneChar["HumanoidRootPart"]
  615. LVecPart.Position = Root.Position
  616. LVecPart.CFrame = CFrame.new(LVecPart.Position, Vector3.new(lookVec.X * 9999, lookVec.Y, lookVec.Z * 9999))
  617. end
  618. CONVEC = game:GetService("RunService").Heartbeat:Connect(VECTORUNIT)
  619.  
  620. local CONDOWN
  621. local WDown, ADown, SDown, DDown, SpaceDown = false, false, false, false, false
  622. local function KEYDOWN(_,Processed)
  623. if HumanDied then CONDOWN:Disconnect(); return end
  624. if Processed ~= true then
  625. local Key = _.KeyCode
  626. if Key == Enum.KeyCode.W then
  627. WDown = true end
  628. if Key == Enum.KeyCode.A then
  629. ADown = true end
  630. if Key == Enum.KeyCode.S then
  631. SDown = true end
  632. if Key == Enum.KeyCode.D then
  633. DDown = true end
  634. if Key == Enum.KeyCode.Space then
  635. SpaceDown = true end end end
  636. CONDOWN = game:GetService("UserInputService").InputBegan:Connect(KEYDOWN)
  637.  
  638. local CONUP
  639. local function KEYUP(_)
  640. if HumanDied then CONUP:Disconnect(); return end
  641. local Key = _.KeyCode
  642. if Key == Enum.KeyCode.W then
  643. WDown = false end
  644. if Key == Enum.KeyCode.A then
  645. ADown = false end
  646. if Key == Enum.KeyCode.S then
  647. SDown = false end
  648. if Key == Enum.KeyCode.D then
  649. DDown = false end
  650. if Key == Enum.KeyCode.Space then
  651. SpaceDown = false end end
  652. CONUP = game:GetService("UserInputService").InputEnded:Connect(KEYUP)
  653.  
  654. local function MoveClone(X,Y,Z)
  655. LVecPart.CFrame = LVecPart.CFrame * CFrame.new(-X,Y,-Z)
  656. workspace["non"].Humanoid.WalkToPoint = LVecPart.Position
  657. end
  658.  
  659. coroutine.wrap(function()
  660. while true do game:GetService("RunService").RenderStepped:Wait()
  661. if HumanDied then break end
  662. if WDown then MoveClone(0,0,1e4) end
  663. if ADown then MoveClone(1e4,0,0) end
  664. if SDown then MoveClone(0,0,-1e4) end
  665. if DDown then MoveClone(-1e4,0,0) end
  666. if SpaceDown then CloneChar["Humanoid"].Jump = true end
  667. if WDown ~= true and ADown ~= true and SDown ~= true and DDown ~= true then
  668. CloneChar.Humanoid.WalkToPoint = CloneChar.HumanoidRootPart.Position end
  669. end
  670. end)()
  671.  
  672. local con
  673. function UnCollide()
  674. if HumanDied then con:Disconnect(); return end
  675. for _,Parts in next, CloneChar:GetDescendants() do
  676. if Parts:IsA("BasePart") then
  677. HumanRoot.CanCollide = false
  678. Parts.CanCollide = false
  679. end
  680. end
  681. for _,Parts in next, DeadChar:GetDescendants() do
  682. if Parts:IsA("BasePart") then
  683. Parts.CanCollide = false
  684. HumanRoot.CanCollide = false
  685. end
  686. end
  687. end
  688. con = game:GetService("RunService").Stepped:Connect(UnCollide)
  689.  
  690. local resetBindable = Instance.new("BindableEvent")
  691. resetBindable.Event:connect(function()
  692. game:GetService("StarterGui"):SetCore("ResetButtonCallback", true)
  693. resetBindable:Destroy()
  694. CloneChar.Humanoid.Health = 0
  695. end)
  696. game:GetService("StarterGui"):SetCore("ResetButtonCallback", resetBindable)
  697.  
  698. coroutine.wrap(function()
  699. while true do
  700. game:GetService("RunService").RenderStepped:wait()
  701. if not CloneChar or not CloneChar:FindFirstChild("Head") or not CloneChar:FindFirstChild("Humanoid") or CloneChar:FindFirstChild("Humanoid").Health <= 0 then
  702. HumanDied = true
  703. pcall(function()
  704. game.Players.LocalPlayer.Character = CloneChar
  705. CloneChar:Destroy()
  706. game.Players.LocalPlayer.Character = DeadChar
  707. if resetBindable then
  708. game:GetService("StarterGui"):SetCore("ResetButtonCallback", true)
  709. resetBindable:Destroy()
  710. end
  711. DeadChar.Humanoid.Health = 0
  712. end)
  713. break
  714. end
  715. end
  716. end)()
  717.  
  718.  
  719.  
  720. for _,BodyParts in next, CloneChar:GetDescendants() do
  721. if BodyParts:IsA("BasePart") or BodyParts:IsA("Part") then
  722. BodyParts.Transparency = 1 end end
  723. elseif Bypass == "hats" then
  724. game:GetService("Players").LocalPlayer["Character"].Archivable = true
  725. local DeadChar = game.Players.LocalPlayer.Character
  726. DeadChar.Name = "non"
  727. local HatPosition = Vector3.new(0,0,0)
  728. local HatName = "MediHood"
  729. local HatsLimb = {
  730. Rarm = DeadChar:FindFirstChild("Hat1"),
  731. Larm = DeadChar:FindFirstChild("Pink Hair"),
  732. Rleg = DeadChar:FindFirstChild("Robloxclassicred"),
  733. Lleg = DeadChar:FindFirstChild("Kate Hair"),
  734. Torso1 = DeadChar:FindFirstChild("Pal Hair"),
  735. Torso2 = DeadChar:FindFirstChild("LavanderHair")
  736. }
  737. HatName = DeadChar:FindFirstChild(HatName)
  738.  
  739. coroutine.wrap(function()
  740. while true do
  741. game:GetService("RunService").RenderStepped:wait()
  742. if not DeadChar or not DeadChar:FindFirstChild("Head") or not DeadChar:FindFirstChild("Humanoid") or DeadChar:FindFirstChild("Humanoid").Health <= 0 then
  743. HumanDied = true
  744. pcall(function()
  745. if resetBindable then
  746. game:GetService("StarterGui"):SetCore("ResetButtonCallback", true)
  747. resetBindable:Destroy()
  748. end
  749. DeadChar.Humanoid.Health = 0
  750. end)
  751. break
  752. end
  753. end
  754. end)()
  755.  
  756. local con
  757. function UnCollide()
  758. if HumanDied then con:Disconnect(); return end
  759. for _,Parts in next, DeadChar:GetDescendants() do
  760. if Parts:IsA("BasePart") then
  761. Parts.CanCollide = false
  762. end
  763. end
  764. end
  765. con = game:GetService("RunService").Stepped:Connect(UnCollide)
  766.  
  767. SCIFIMOVIELOL(HatName.Handle,DeadChar["Head"],Vector3.new(0,0,0),Vector3.new(0,0,0))
  768. SCIFIMOVIELOL(HatsLimb.Torso1.Handle,DeadChar["Torso"],Vector3.new(0.5,0,0),Vector3.new(90,0,0))
  769. SCIFIMOVIELOL(HatsLimb.Torso2.Handle,DeadChar["Torso"],Vector3.new(-0.5,0,0),Vector3.new(90,0,0))
  770. SCIFIMOVIELOL(HatsLimb.Larm.Handle,DeadChar["Left Arm"],Vector3.new(0,0,0),Vector3.new(90,0,0))
  771. SCIFIMOVIELOL(HatsLimb.Rarm.Handle,DeadChar["Right Arm"],Vector3.new(0,0,0),Vector3.new(90,0,0))
  772. SCIFIMOVIELOL(HatsLimb.Lleg.Handle,DeadChar["Left Leg"],Vector3.new(0,0,0),Vector3.new(90,0,0))
  773. SCIFIMOVIELOL(HatsLimb.Rleg.Handle,DeadChar["Right Leg"],Vector3.new(0,0,0),Vector3.new(90,0,0))
  774.  
  775.  
  776.  
  777.  
  778.  
  779.  
  780. for i,v in pairs(HatsLimb) do
  781. v.Handle:FindFirstChild("AccessoryWeld"):Destroy()
  782. if v.Handle:FindFirstChild("Mesh") then v.Handle:FindFirstChild("Mesh"):Destroy() end
  783. if v.Handle:FindFirstChild("SpecialMesh") then v.Handle:FindFirstChild("SpecialMesh"):Destroy() end
  784. end
  785. HatName.Handle:FindFirstChild("AccessoryWeld"):Destroy()
  786. end
  787. else
  788. if Bypass == "limbs" then --------------------------------------------------------------------------------------------------------------------
  789. game:GetService("Players").LocalPlayer["Character"].Archivable = true
  790. local CloneChar = game:GetObjects("rbxassetid://5227463276")[1]
  791. CloneChar.Parent = workspace
  792. CloneChar.HumanoidRootPart.CFrame = game:GetService("Players").LocalPlayer["Character"].HumanoidRootPart.CFrame * CFrame.new(0,0.5,0.1)
  793. CloneChar.Humanoid.BreakJointsOnDeath = false
  794. workspace.Camera.CameraSubject = CloneChar.Humanoid
  795. CloneChar.Name = "non"
  796. CloneChar.Humanoid.DisplayDistanceType = "None"
  797. if CloneChar.Head:FindFirstChild("face") then CloneChar.Head:FindFirstChild("face"):Destroy() end
  798. if workspace[game:GetService("Players").LocalPlayer.Name].Head:FindFirstChild("face") then workspace[game:GetService("Players").LocalPlayer.Name].Head:FindFirstChild("face").Parent = CloneChar.Head end
  799.  
  800. local DeadChar = workspace[game:GetService("Players").LocalPlayer.Name]
  801. DeadChar.HumanoidRootPart:Destroy()
  802.  
  803. local LVecPart = Instance.new("Part", workspace) LVecPart.CanCollide = false LVecPart.Transparency = 1
  804. local CONVEC
  805. local function VECTORUNIT()
  806. if HumanDied then CONVEC:Disconnect(); return end
  807. local lookVec = workspace.Camera.CFrame.lookVector
  808. local Root = CloneChar["HumanoidRootPart"]
  809. LVecPart.Position = Root.Position
  810. LVecPart.CFrame = CFrame.new(LVecPart.Position, Vector3.new(lookVec.X * 9999, lookVec.Y, lookVec.Z * 9999))
  811. end
  812. CONVEC = game:GetService("RunService").Heartbeat:Connect(VECTORUNIT)
  813.  
  814. local CONDOWN
  815. local WDown, ADown, SDown, DDown, SpaceDown = false, false, false, false, false
  816. local function KEYDOWN(_,Processed)
  817. if HumanDied then CONDOWN:Disconnect(); return end
  818. if Processed ~= true then
  819. local Key = _.KeyCode
  820. if Key == Enum.KeyCode.W then
  821. WDown = true end
  822. if Key == Enum.KeyCode.A then
  823. ADown = true end
  824. if Key == Enum.KeyCode.S then
  825. SDown = true end
  826. if Key == Enum.KeyCode.D then
  827. DDown = true end
  828. if Key == Enum.KeyCode.Space then
  829. SpaceDown = true end end end
  830. CONDOWN = game:GetService("UserInputService").InputBegan:Connect(KEYDOWN)
  831.  
  832. local CONUP
  833. local function KEYUP(_)
  834. if HumanDied then CONUP:Disconnect(); return end
  835. local Key = _.KeyCode
  836. if Key == Enum.KeyCode.W then
  837. WDown = false end
  838. if Key == Enum.KeyCode.A then
  839. ADown = false end
  840. if Key == Enum.KeyCode.S then
  841. SDown = false end
  842. if Key == Enum.KeyCode.D then
  843. DDown = false end
  844. if Key == Enum.KeyCode.Space then
  845. SpaceDown = false end end
  846. CONUP = game:GetService("UserInputService").InputEnded:Connect(KEYUP)
  847.  
  848. local function MoveClone(X,Y,Z)
  849. LVecPart.CFrame = LVecPart.CFrame * CFrame.new(-X,Y,-Z)
  850. workspace["non"].Humanoid.WalkToPoint = LVecPart.Position
  851. end
  852.  
  853. coroutine.wrap(function()
  854. while true do game:GetService("RunService").RenderStepped:Wait()
  855. if HumanDied then break end
  856. if WDown then MoveClone(0,0,1e4) end
  857. if ADown then MoveClone(1e4,0,0) end
  858. if SDown then MoveClone(0,0,-1e4) end
  859. if DDown then MoveClone(-1e4,0,0) end
  860. if SpaceDown then CloneChar["Humanoid"].Jump = true end
  861. if WDown ~= true and ADown ~= true and SDown ~= true and DDown ~= true then
  862. workspace["non"].Humanoid.WalkToPoint = workspace["non"].HumanoidRootPart.Position end
  863. end
  864. end)()
  865.  
  866. local con
  867. function UnCollide()
  868. if HumanDied then con:Disconnect(); return end
  869. for _,Parts in next, CloneChar:GetDescendants() do
  870. if Parts:IsA("BasePart") then
  871. Parts.CanCollide = false
  872. end
  873. end
  874. for _,Parts in next, DeadChar:GetDescendants() do
  875. if Parts:IsA("BasePart") then
  876. Parts.CanCollide = false
  877. end
  878. end
  879. end
  880. con = game:GetService("RunService").Stepped:Connect(UnCollide)
  881.  
  882. local resetBindable = Instance.new("BindableEvent")
  883. resetBindable.Event:connect(function()
  884. game:GetService("StarterGui"):SetCore("ResetButtonCallback", true)
  885. resetBindable:Destroy()
  886. CloneChar.Humanoid.Health = 0
  887. end)
  888. game:GetService("StarterGui"):SetCore("ResetButtonCallback", resetBindable)
  889.  
  890. coroutine.wrap(function()
  891. while true do
  892. game:GetService("RunService").RenderStepped:wait()
  893. if not CloneChar or not CloneChar:FindFirstChild("Head") or not CloneChar:FindFirstChild("Humanoid") or CloneChar:FindFirstChild("Humanoid").Health <= 0 or not DeadChar or not DeadChar:FindFirstChild("Head") or not DeadChar:FindFirstChild("Humanoid") or DeadChar:FindFirstChild("Humanoid").Health <= 0 then
  894. HumanDied = true
  895. pcall(function()
  896. game.Players.LocalPlayer.Character = CloneChar
  897. CloneChar:Destroy()
  898. game.Players.LocalPlayer.Character = DeadChar
  899. if resetBindable then
  900. game:GetService("StarterGui"):SetCore("ResetButtonCallback", true)
  901. resetBindable:Destroy()
  902. end
  903. DeadChar.Humanoid.Health = 0
  904. end)
  905. break
  906. end
  907. end
  908. end)()
  909.  
  910. for _,v in next, DeadChar:GetChildren() do
  911. if v:IsA("Accessory") then
  912. v:Clone().Parent = CloneChar
  913. end
  914. end
  915.  
  916. for _,v in next, DeadChar:GetDescendants() do
  917. if v:IsA("Motor6D") and v.Name ~= "Neck" then
  918. v:Destroy()
  919. end
  920. end
  921.  
  922. SCIFIMOVIELOL(DeadChar["Head"],CloneChar["Head"],Vector3.new(0,0,0),Vector3.new(0,0,0))
  923. SCIFIMOVIELOL(DeadChar["UpperTorso"],CloneChar["Torso"],Vector3.new(0,0.2,0),Vector3.new(0,0,0))
  924. SCIFIMOVIELOL(DeadChar["LowerTorso"],CloneChar["Torso"],Vector3.new(0,-0.78,0),Vector3.new(0,0,0))
  925. SCIFIMOVIELOL(DeadChar["LeftUpperArm"],CloneChar["Left Arm"],Vector3.new(0,0.375,0),Vector3.new(0,0,0))
  926. SCIFIMOVIELOL(DeadChar["LeftLowerArm"],CloneChar["Left Arm"],Vector3.new(0,-0.215,0),Vector3.new(0,0,0))
  927. SCIFIMOVIELOL(DeadChar["LeftHand"],CloneChar["Left Arm"],Vector3.new(0,-0.825,0),Vector3.new(0,0,0))
  928. SCIFIMOVIELOL(DeadChar["RightUpperArm"],CloneChar["Right Arm"],Vector3.new(0,0.375,0),Vector3.new(0,0,0))
  929. SCIFIMOVIELOL(DeadChar["RightLowerArm"],CloneChar["Right Arm"],Vector3.new(0,-0.215,0),Vector3.new(0,0,0))
  930. SCIFIMOVIELOL(DeadChar["RightHand"],CloneChar["Right Arm"],Vector3.new(0,-0.825,0),Vector3.new(0,0,0))
  931.  
  932. SCIFIMOVIELOL(DeadChar["LeftUpperLeg"],CloneChar["Left Leg"],Vector3.new(0,0.575,0),Vector3.new(0,0,0))
  933. SCIFIMOVIELOL(DeadChar["LeftLowerLeg"],CloneChar["Left Leg"],Vector3.new(0,-0.137,0),Vector3.new(0,0,0))
  934. SCIFIMOVIELOL(DeadChar["LeftFoot"],CloneChar["Left Leg"],Vector3.new(0,-0.787,0),Vector3.new(0,0,0))
  935. SCIFIMOVIELOL(DeadChar["RightUpperLeg"],CloneChar["Right Leg"],Vector3.new(0,0.575,0),Vector3.new(0,0,0))
  936. SCIFIMOVIELOL(DeadChar["RightLowerLeg"],CloneChar["Right Leg"],Vector3.new(0,-0.137,0),Vector3.new(0,0,0))
  937. SCIFIMOVIELOL(DeadChar["RightFoot"],CloneChar["Right Leg"],Vector3.new(0,-0.787,0),Vector3.new(0,0,0))
  938.  
  939. coroutine.wrap(function()
  940. while true do
  941. game:GetService("RunService").RenderStepped:wait()
  942. if HumanDied then break end
  943. DeadChar["UpperTorso"].CFrame = CloneChar["Torso"].CFrame * CFrame.new(0,0.2,0)
  944. end
  945. end)()
  946.  
  947. for _,v in next, DeadChar:GetChildren() do
  948. if v:IsA("Accessory") then
  949. SCIFIMOVIELOL(v.Handle,CloneChar[v.Name].Handle,Vector3.new(0,0,0),Vector3.new(0,0,0))
  950. end
  951. end
  952.  
  953. for _,BodyParts in next, CloneChar:GetDescendants() do
  954. if BodyParts:IsA("BasePart") or BodyParts:IsA("Part") then
  955. BodyParts.Transparency = 1 end end
  956.  
  957. elseif Bypass == "death" then --------------------------------------------------------------------------------------------------------------------
  958. game:GetService("Players").LocalPlayer["Character"].Archivable = true
  959. local CloneChar = game:GetObjects("rbxassetid://5227463276")[1]
  960. game:GetService("Players").LocalPlayer["Character"].Humanoid.WalkSpeed = 0
  961. game:GetService("Players").LocalPlayer["Character"].Humanoid.JumpPower = 0
  962. game:GetService("Players").LocalPlayer["Character"].Humanoid.AutoRotate = false
  963. local FalseChar = Instance.new("Model", workspace); FalseChar.Name = ""
  964. Instance.new("Part",FalseChar).Name = "Head"
  965. Instance.new("Part",FalseChar).Name = "UpperTorso"
  966. Instance.new("Humanoid",FalseChar).Name = "Humanoid"
  967. game:GetService("Players").LocalPlayer["Character"] = FalseChar
  968. game:GetService("Players").LocalPlayer["Character"].Humanoid.Name = "FalseHumanoid"
  969. local Clone = game:GetService("Players").LocalPlayer["Character"]:FindFirstChild("FalseHumanoid"):Clone()
  970. Clone.Parent = game:GetService("Players").LocalPlayer["Character"]
  971. Clone.Name = "Humanoid"
  972. game:GetService("Players").LocalPlayer["Character"]:FindFirstChild("FalseHumanoid"):Destroy()
  973. game:GetService("Players").LocalPlayer["Character"].Humanoid.Health = 0
  974. game:GetService("Players").LocalPlayer["Character"] = workspace[game:GetService("Players").LocalPlayer.Name]
  975. wait(5.65)
  976. game:GetService("Players").LocalPlayer["Character"].Humanoid.Health = 0
  977. CloneChar.Parent = workspace
  978. CloneChar.HumanoidRootPart.CFrame = game:GetService("Players").LocalPlayer["Character"].HumanoidRootPart.CFrame * CFrame.new(0,0.5,0.1)
  979. wait()
  980. CloneChar.Humanoid.BreakJointsOnDeath = false
  981. workspace.Camera.CameraSubject = CloneChar.Humanoid
  982. CloneChar.Name = "non"
  983. CloneChar.Humanoid.DisplayDistanceType = "None"
  984. if CloneChar.Head:FindFirstChild("face") then CloneChar.Head:FindFirstChild("face"):Destroy() end
  985. if workspace[game:GetService("Players").LocalPlayer.Name].Head:FindFirstChild("face") then workspace[game:GetService("Players").LocalPlayer.Name].Head:FindFirstChild("face").Parent = CloneChar.Head end
  986.  
  987. FalseChar:Destroy()
  988.  
  989. local DeadChar = workspace[game:GetService("Players").LocalPlayer.Name]
  990.  
  991. local LVecPart = Instance.new("Part", workspace) LVecPart.CanCollide = false LVecPart.Transparency = 1
  992. local CONVEC
  993. local function VECTORUNIT()
  994. if HumanDied then CONVEC:Disconnect(); return end
  995. local lookVec = workspace.Camera.CFrame.lookVector
  996. local Root = CloneChar["HumanoidRootPart"]
  997. LVecPart.Position = Root.Position
  998. LVecPart.CFrame = CFrame.new(LVecPart.Position, Vector3.new(lookVec.X * 9999, lookVec.Y, lookVec.Z * 9999))
  999. end
  1000. CONVEC = game:GetService("RunService").Heartbeat:Connect(VECTORUNIT)
  1001.  
  1002. local CONDOWN
  1003. local WDown, ADown, SDown, DDown, SpaceDown = false, false, false, false, false
  1004. local function KEYDOWN(_,Processed)
  1005. if HumanDied then CONDOWN:Disconnect(); return end
  1006. if Processed ~= true then
  1007. local Key = _.KeyCode
  1008. if Key == Enum.KeyCode.W then
  1009. WDown = true end
  1010. if Key == Enum.KeyCode.A then
  1011. ADown = true end
  1012. if Key == Enum.KeyCode.S then
  1013. SDown = true end
  1014. if Key == Enum.KeyCode.D then
  1015. DDown = true end
  1016. if Key == Enum.KeyCode.Space then
  1017. SpaceDown = true end end end
  1018. CONDOWN = game:GetService("UserInputService").InputBegan:Connect(KEYDOWN)
  1019.  
  1020. local CONUP
  1021. local function KEYUP(_)
  1022. if HumanDied then CONUP:Disconnect(); return end
  1023. local Key = _.KeyCode
  1024. if Key == Enum.KeyCode.W then
  1025. WDown = false end
  1026. if Key == Enum.KeyCode.A then
  1027. ADown = false end
  1028. if Key == Enum.KeyCode.S then
  1029. SDown = false end
  1030. if Key == Enum.KeyCode.D then
  1031. DDown = false end
  1032. if Key == Enum.KeyCode.Space then
  1033. SpaceDown = false end end
  1034. CONUP = game:GetService("UserInputService").InputEnded:Connect(KEYUP)
  1035.  
  1036. local function MoveClone(X,Y,Z)
  1037. LVecPart.CFrame = LVecPart.CFrame * CFrame.new(-X,Y,-Z)
  1038. workspace["non"].Humanoid.WalkToPoint = LVecPart.Position
  1039. end
  1040.  
  1041. coroutine.wrap(function()
  1042. while true do game:GetService("RunService").RenderStepped:Wait()
  1043. if HumanDied then break end
  1044. if WDown then MoveClone(0,0,1e4) end
  1045. if ADown then MoveClone(1e4,0,0) end
  1046. if SDown then MoveClone(0,0,-1e4) end
  1047. if DDown then MoveClone(-1e4,0,0) end
  1048. if SpaceDown then CloneChar["Humanoid"].Jump = true end
  1049. if WDown ~= true and ADown ~= true and SDown ~= true and DDown ~= true then
  1050. workspace["non"].Humanoid.WalkToPoint = workspace["non"].HumanoidRootPart.Position end
  1051. end
  1052. end)()
  1053.  
  1054. local con
  1055. function UnCollide()
  1056. if HumanDied then con:Disconnect(); return end
  1057. for _,Parts in next, CloneChar:GetDescendants() do
  1058. if Parts:IsA("BasePart") then
  1059. Parts.CanCollide = false
  1060. end
  1061. end
  1062. for _,Parts in next, DeadChar:GetDescendants() do
  1063. if Parts:IsA("BasePart") then
  1064. Parts.CanCollide = false
  1065. end
  1066. end
  1067. end
  1068. con = game:GetService("RunService").Stepped:Connect(UnCollide)
  1069.  
  1070. local resetBindable = Instance.new("BindableEvent")
  1071. resetBindable.Event:connect(function()
  1072. game:GetService("StarterGui"):SetCore("ResetButtonCallback", true)
  1073. resetBindable:Destroy()
  1074. CloneChar.Humanoid.Health = 0
  1075. end)
  1076. game:GetService("StarterGui"):SetCore("ResetButtonCallback", resetBindable)
  1077.  
  1078. coroutine.wrap(function()
  1079. while true do
  1080. game:GetService("RunService").RenderStepped:wait()
  1081. if not CloneChar or not CloneChar:FindFirstChild("Head") or not CloneChar:FindFirstChild("Humanoid") or CloneChar:FindFirstChild("Humanoid").Health <= 0 then
  1082. HumanDied = true
  1083. pcall(function()
  1084. game.Players.LocalPlayer.Character = CloneChar
  1085. CloneChar:Destroy()
  1086. game.Players.LocalPlayer.Character = DeadChar
  1087. if resetBindable then
  1088. game:GetService("StarterGui"):SetCore("ResetButtonCallback", true)
  1089. resetBindable:Destroy()
  1090. end
  1091. DeadChar.Humanoid.Health = 0
  1092. end)
  1093. break
  1094. end
  1095. end
  1096. end)()
  1097.  
  1098. for _,v in next, DeadChar:GetChildren() do
  1099. if v:IsA("Accessory") then
  1100. v:Clone().Parent = CloneChar
  1101. end
  1102. end
  1103.  
  1104. SCIFIMOVIELOL(DeadChar["Head"],CloneChar["Head"],Vector3.new(0,0,0),Vector3.new(0,0,0))
  1105. SCIFIMOVIELOL(DeadChar["UpperTorso"],CloneChar["Torso"],Vector3.new(0,0.2,0),Vector3.new(0,0,0))
  1106. SCIFIMOVIELOL(DeadChar["LowerTorso"],CloneChar["Torso"],Vector3.new(0,-0.78,0),Vector3.new(0,0,0))
  1107. SCIFIMOVIELOL(DeadChar["LeftUpperArm"],CloneChar["Left Arm"],Vector3.new(0,0.375,0),Vector3.new(0,0,0))
  1108. SCIFIMOVIELOL(DeadChar["LeftLowerArm"],CloneChar["Left Arm"],Vector3.new(0,-0.215,0),Vector3.new(0,0,0))
  1109. SCIFIMOVIELOL(DeadChar["LeftHand"],CloneChar["Left Arm"],Vector3.new(0,-0.825,0),Vector3.new(0,0,0))
  1110. SCIFIMOVIELOL(DeadChar["RightUpperArm"],CloneChar["Right Arm"],Vector3.new(0,0.375,0),Vector3.new(0,0,0))
  1111. SCIFIMOVIELOL(DeadChar["RightLowerArm"],CloneChar["Right Arm"],Vector3.new(0,-0.215,0),Vector3.new(0,0,0))
  1112. SCIFIMOVIELOL(DeadChar["RightHand"],CloneChar["Right Arm"],Vector3.new(0,-0.825,0),Vector3.new(0,0,0))
  1113.  
  1114. SCIFIMOVIELOL(DeadChar["LeftUpperLeg"],CloneChar["Left Leg"],Vector3.new(0,0.575,0),Vector3.new(0,0,0))
  1115. SCIFIMOVIELOL(DeadChar["LeftLowerLeg"],CloneChar["Left Leg"],Vector3.new(0,-0.137,0),Vector3.new(0,0,0))
  1116. SCIFIMOVIELOL(DeadChar["LeftFoot"],CloneChar["Left Leg"],Vector3.new(0,-0.787,0),Vector3.new(0,0,0))
  1117. SCIFIMOVIELOL(DeadChar["RightUpperLeg"],CloneChar["Right Leg"],Vector3.new(0,0.575,0),Vector3.new(0,0,0))
  1118. SCIFIMOVIELOL(DeadChar["RightLowerLeg"],CloneChar["Right Leg"],Vector3.new(0,-0.137,0),Vector3.new(0,0,0))
  1119. SCIFIMOVIELOL(DeadChar["RightFoot"],CloneChar["Right Leg"],Vector3.new(0,-0.787,0),Vector3.new(0,0,0))
  1120.  
  1121. SCIFIMOVIELOL(DeadChar["HumanoidRootPart"],CloneChar["HumanoidRootPart"],Vector3.new(0,0,0),Vector3.new(0,0,0))
  1122.  
  1123. for _,v in next, DeadChar:GetChildren() do
  1124. if v:IsA("Accessory") then
  1125. SCIFIMOVIELOL(v.Handle,CloneChar[v.Name].Handle,Vector3.new(0,0,0),Vector3.new(0,0,0))
  1126. end
  1127. end
  1128.  
  1129. for _,BodyParts in next, CloneChar:GetDescendants() do
  1130. if BodyParts:IsA("BasePart") or BodyParts:IsA("Part") then
  1131. BodyParts.Transparency = 1 end end
  1132. if DeadChar.Head:FindFirstChild("Neck") then
  1133. game.Players.LocalPlayer.Character:BreakJoints()
  1134. end
  1135. end
  1136. end
  1137. FakeLimbs["Head"].Transparency = 1
  1138.  
  1139.  
  1140.  
  1141.  
  1142.  
  1143. local CloneChar = workspace.non
  1144. s = game:GetService("RunService").Heartbeat:connect(function()
  1145. game.Players.LocalPlayer.Character.HumanoidRootPart.Velocity = Vector3.new(0,35,0)
  1146. end)
  1147. task.spawn(function()
  1148. while true do
  1149. wait()
  1150. if HumanDied == true then
  1151. s:Disconnect()
  1152. break
  1153. end
  1154. end
  1155. end)
  1156. local SHOW = Instance.new("SelectionBox",workspace)
  1157. SHOW.Adornee = game.Players.LocalPlayer.Character.HumanoidRootPart
  1158.  
  1159.  
  1160.  
  1161.  
  1162.  
  1163.  
  1164.  
  1165.  
  1166.  
  1167.  
  1168.  
  1169.  
  1170.  
  1171.  
  1172.  
  1173.  
  1174.  
  1175.  
  1176.  
  1177.  
  1178.  
  1179.  
  1180.  
  1181. wait(1/30)
  1182. local plr =game.Players.LocalPlayer
  1183. local char = CloneChar
  1184. local hum = char:FindFirstChildWhichIsA('Humanoid')
  1185. local sit,run,crouch = false,false,false
  1186. local repeatkey = false
  1187. local repeatmouse = false
  1188. local MouseHit,MouseTarget,CCFrame,CCordFrame = nil,nil,nil,nil
  1189. local sine = 0
  1190. local attack=false
  1191. local speed = 12
  1192. local effects = Instance.new("Folder",char)
  1193. hum.MaxHealth=150
  1194. hum.Health=150
  1195. local Mouse = plr:GetMouse()
  1196.  
  1197. local Shooting = true
  1198. Mouse.Button1Up:Connect(function()
  1199. Shooting = false
  1200. end)
  1201. Mouse.Button1Down:Connect(function()
  1202. Shooting = true
  1203. repeat
  1204. shoot()
  1205. until Shooting == false
  1206. end)
  1207. Mouse.KeyDown:Connect(function(key)
  1208. if key == "c" then
  1209. if crouch == true then
  1210. crouch = false
  1211. else
  1212. crouch = true
  1213. end
  1214. elseif key == "e" then
  1215. plasma_shoot()
  1216. elseif key == "r" then
  1217. grenadethrow()
  1218. elseif key == "q" then
  1219. if run == true then
  1220. run = false
  1221. else
  1222. run = true
  1223. end
  1224. end
  1225. end)
  1226.  
  1227. for _,a in pairs(char:GetDescendants()) do
  1228. if a:IsA'BasePart' then
  1229. a.BrickColor=BrickColor.new("Really black")
  1230. a.Color=Color3.new(0,0,0)
  1231. if a.Name == "Head" then
  1232. a.Transparency=1
  1233. end
  1234. elseif a.Name=="Animate" or a:IsA'Animator' or a:IsA'BodyColors' or a:IsA'Accessory' or a:IsA'Hat' or a:IsA'Decal' or a:IsA'ShirtGraphic' or a:IsA'Pants' or a:IsA'Shirt' or a:IsA'CharacterMesh' then
  1235. a:Destroy()
  1236. end
  1237. end
  1238. local mus = Instance.new("Sound",char:WaitForChild('Torso'))
  1239. mus.SoundId="rbxassetid://4814569349"
  1240. mus.Volume=1.5
  1241. mus.Pitch=1
  1242. mus.Looped=true
  1243. mus:Play()
  1244. local helmet = Instance.new("Part",char:WaitForChild('Head'))
  1245. helmet.Size=Vector3.new(1.25,1.25,1.25)
  1246. helmet.CanCollide=false
  1247. helmet.Name="Elite Combine Helmet"
  1248. local mesh = Instance.new("SpecialMesh",helmet)
  1249. mesh.MeshType="FileMesh"
  1250. mesh.MeshId="rbxassetid://480000024"
  1251. mesh.TextureId="rbxassetid://480143411"
  1252. mesh.Scale=Vector3.new(0.001525,0.001275,0.0013)
  1253. local eye = Instance.new("Part",helmet) Instance.new("SpecialMesh",eye).MeshType="Sphere"
  1254. eye.Color=Color3.new(1,0,0)
  1255. eye.Material="Neon"
  1256. eye.Size=Vector3.new(0.4,0.4,0.4)
  1257. eye.CanCollide=false
  1258. eye.Name="Neon Eye"
  1259. local blacc = Instance.new("Part",helmet) Instance.new("SpecialMesh",blacc).MeshType="Sphere"
  1260. blacc.Color=Color3.new(0,0,0)
  1261. blacc.Material="Neon"
  1262. blacc.Size=Vector3.new(1.05,1.35,0.5)
  1263. blacc.CanCollide=false
  1264. local bweld = Instance.new("Weld",blacc) bweld.Part0=blacc bweld.Part1 = helmet bweld.C0=CFrame.new(0,0.1,0.5)*CFrame.Angles(math.rad(-10),0,0)
  1265. local eweld = Instance.new("Weld",eye) eweld.Part0=eye eweld.Part1 = helmet eweld.C0=CFrame.new(0,0.31,-0.065)
  1266. local weld = Instance.new("Weld",helmet) weld.Part0=helmet weld.Part1 = char:WaitForChild('Head') weld.C0=CFrame.new(0,0.1,0)*CFrame.Angles(math.rad(90),math.rad(180),0)
  1267. local shirt = Instance.new("Shirt",char)
  1268. shirt.ShirtTemplate="http://www.roblox.com/asset/?id=252315488"
  1269. local pants = Instance.new("Pants",char)
  1270. pants.PantsTemplate="http://www.roblox.com/asset/?id=252315501"
  1271.  
  1272.  
  1273.  
  1274. if GunHat then
  1275. gun.Transparency = 1
  1276. end
  1277.  
  1278. if SoldierHelm then
  1279. eye.Transparency = 1
  1280. helmet.Transparency = 1
  1281. end
  1282.  
  1283. local mesh = Instance.new("SpecialMesh",gun)
  1284. mesh.MeshType="FileMesh"
  1285. mesh.MeshId="rbxassetid://433818517"
  1286. mesh.TextureId="rbxassetid://433818528"
  1287. mesh.Scale=Vector3.new(0.615,0.7,0.675)
  1288. local gumweld = Instance.new("Weld",gun) gumweld.Part0=gun gumweld.Part1 = char:WaitForChild('Right Arm') gumweld.C0=CFrame.new(-1.2,-0.3,0.4)*CFrame.Angles(math.rad(70),math.rad(-5),math.rad(85))
  1289. local p = Instance.new("Part",char)
  1290.  
  1291.  
  1292.  
  1293.  
  1294. StickParts(GunHat,gun,Vector3.new(0.55, -0.59, 45.67),Vector3.new(0,0,0))
  1295.  
  1296.  
  1297.  
  1298.  
  1299.  
  1300. p.Color=Color3.new()
  1301. p.CanCollide=false
  1302. p.Size=Vector3.new(2.1,0.25,1.1)
  1303. p.Name="Things"
  1304. p.Material="Neon"
  1305. local weld = Instance.new("Weld",p) weld.Part0=p weld.Part1 = char:WaitForChild('Torso') weld.C0=CFrame.new(0,0.8,0)
  1306. local grenade = Instance.new("Part",workspace) local mesh = Instance.new("SpecialMesh",grenade) mesh.MeshType="FileMesh" mesh.MeshId="rbxassetid://548193107" mesh.TextureId="rbxassetid://926040988" mesh.Scale=Vector3.new(.1,.1,.1)
  1307. grenade.Size=Vector3.new(.5,1,.5)
  1308. grenade.CanCollide=true
  1309. local weld = Instance.new("Weld",grenade) weld.Part0=grenade weld.Part1=p weld.C0=CFrame.new(0.5,-0.25,-0.75)*CFrame.Angles(math.rad(-5),0,math.rad(-20))
  1310. local radio = Instance.new("Part",p) local mesh = Instance.new("SpecialMesh",radio) mesh.MeshType="FileMesh" mesh.MeshId="rbxassetid://2269958061" mesh.TextureId="rbxassetid://2269958743" mesh.Scale=Vector3.new(.075,.075,.075) mesh.Offset=Vector3.new(0,0,-.05)
  1311. radio.Size=Vector3.new(.25,2.5,.5)
  1312. radio.CanCollide=false
  1313. local weld = Instance.new("Weld",radio) weld.Part0=radio weld.Part1=p weld.C0=CFrame.new(1.15,-0.75,0.15)*CFrame.Angles(math.rad(15),math.rad(180),math.rad(5))
  1314. local fromaxisangle = function(x, y, z) -- credit to phantom forces devs
  1315. if not y then
  1316. x, y, z = x.x, x.y, x.z
  1317. end
  1318. local m = (x * x + y * y + z * z) ^ 0.5
  1319. if m > 1.0E-5 then
  1320. local si = math.sin(m / 2) / m
  1321. return CFrame.new(0, 0, 0, si * x, si * y, si * z, math.cos(m / 2))
  1322. else
  1323. return CFrame.new()
  1324. end
  1325. end
  1326. function fakePhysics(elapsed,cframe,velocity,rotation,acceleration) -- credit to nebula
  1327. local pos = cframe.p
  1328. local matrix = cframe-pos
  1329. return fromaxisangle(elapsed*rotation)*matrix+pos+elapsed*velocity+elapsed*elapsed*acceleration
  1330. end
  1331. function CastRay(startPos,endPos,range,ignoreList)
  1332. local ray = Ray.new(startPos,(endPos-startPos).unit*range)
  1333. local part,pos,norm = workspace:FindPartOnRayWithIgnoreList(ray,ignoreList or {},false,true)
  1334. return part,pos,norm,(pos and (startPos-pos).magnitude)
  1335. end
  1336. function MakeRD(who,power,t,h,f,customend)
  1337. for _,a in pairs(who:GetDescendants()) do
  1338. coroutine.resume(coroutine.create(function()
  1339. if a:IsA'Motor6D' or a:IsA'Motor' or a:IsA'VelocityMotor' or a.Name=="LeftAnkle" or a.Name=="LeftWrist" or a.Name=="LeftElbow" or a.Name=="LeftKnee" or a.Name=="LeftShoulder" or a.Name=="LeftHip" or a.Name=="Root" or a.Name=="RightAnkle" or a.Name=="RightWrist" or a.Name=="RightElbow" or a.Name=="RightKnee" or a.Name=="RightShoulder" or a.Name=="RightHip" or a.Name=="Waist" or a.Name=="Neck" or a.Name=="Left Hip" or a.Name==" Left Shoulder" or a.Name=="Right Hip" or a.Name=="Right Shoulder" or a.Name=="RootJoint" then
  1340. if t==true and h==false and f==false and a.Name ~= "Waist" and a.Name ~= "Left Hip" and a.Name ~= "Right Hip" then
  1341. local ainfo = {a.C0,a.C1,a.Parent,a.Part0,a.Part1,a.Name}
  1342. local h=Instance.new("BallSocketConstraint",ainfo[3]) h.Name=ainfo[6]
  1343. h.LimitsEnabled=true h.TwistUpperAngle=135 h.TwistLimitsEnabled=true h.TwistLowerAngle=-135 h.TwistUpperAngle=135
  1344. local a1=Instance.new("Attachment",ainfo[4]) a1.CFrame=ainfo[1]
  1345. local a2=Instance.new("Attachment",ainfo[5]) a2.CFrame=ainfo[2]
  1346. h.Attachment0=a1 h.Attachment1=a2
  1347. elseif t==false and h==true and f==false and a.Name ~= "Neck" then
  1348. local ainfo = {a.C0,a.C1,a.Parent,a.Part0,a.Part1,a.Name}
  1349. local h=Instance.new("BallSocketConstraint",ainfo[3]) h.Name=ainfo[6]
  1350. h.LimitsEnabled=true h.TwistUpperAngle=135 h.TwistLimitsEnabled=true h.TwistLowerAngle=-135 h.TwistUpperAngle=135
  1351. local a1=Instance.new("Attachment",ainfo[4]) a1.CFrame=ainfo[1]
  1352. local a2=Instance.new("Attachment",ainfo[5]) a2.CFrame=ainfo[2]
  1353. h.Attachment0=a1 h.Attachment1=a2
  1354. elseif h==true and t==true and f==false and a.Name ~= "Neck" and a.Name ~= "Waist" and a.Name ~= "Left Hip" and a.Name ~= "Right Hip" then
  1355. local ainfo = {a.C0,a.C1,a.Parent,a.Part0,a.Part1,a.Name}
  1356. local h=Instance.new("BallSocketConstraint",ainfo[3]) h.Name=ainfo[6]
  1357. h.LimitsEnabled=true h.TwistUpperAngle=135 h.TwistLimitsEnabled=true h.TwistLowerAngle=-135 h.TwistUpperAngle=135
  1358. local a1=Instance.new("Attachment",ainfo[4]) a1.CFrame=ainfo[1]
  1359. local a2=Instance.new("Attachment",ainfo[5]) a2.CFrame=ainfo[2]
  1360. h.Attachment0=a1 h.Attachment1=a2
  1361. elseif t==false and h==false and f==false then
  1362. local ainfo = {a.C0,a.C1,a.Parent,a.Part0,a.Part1,a.Name}
  1363. local h=Instance.new("BallSocketConstraint",ainfo[3]) h.Name=ainfo[6]
  1364. h.LimitsEnabled=true h.TwistUpperAngle=135 h.TwistLimitsEnabled=true h.TwistLowerAngle=-135 h.TwistUpperAngle=135
  1365. local a1=Instance.new("Attachment",ainfo[4]) a1.CFrame=ainfo[1]
  1366. local a2=Instance.new("Attachment",ainfo[5]) a2.CFrame=ainfo[2]
  1367. h.Attachment0=a1 h.Attachment1=a2
  1368. elseif f==true and a.Name ~= "Neck" and a.Name ~= "Left Hip" and a.Name ~= "Right Hip" and a.Name ~= "LeftHip" and a.Name ~= "RightHip" and a.Name ~= "LeftShoulder" and a.Name ~= "RightShoulder" and a.Name ~= "Left Shoulder" and a.Name ~= "Right Shoulder" then
  1369. local ainfo = {a.C0,a.C1,a.Parent,a.Part0,a.Part1,a.Name}
  1370. local h=Instance.new("BallSocketConstraint",ainfo[3]) h.Name=ainfo[6]
  1371. h.LimitsEnabled=true h.TwistUpperAngle=135 h.TwistLimitsEnabled=true h.TwistLowerAngle=-135 h.TwistUpperAngle=135
  1372. local a1=Instance.new("Attachment",ainfo[4]) a1.CFrame=ainfo[1]
  1373. local a2=Instance.new("Attachment",ainfo[5]) a2.CFrame=ainfo[2]
  1374. h.Attachment0=a1 h.Attachment1=a2
  1375. end
  1376. a:Destroy()
  1377. elseif a:IsA'Humanoid' then a.BreakJointsOnDeath=false a.MaxHealth=nil a.Health=nil a.PlatformStand=true
  1378. elseif a:IsA'BasePart' then
  1379. if a.Size == Vector3.new(2,2,1) or a.Size == Vector3.new(2,2.1,1) or a.Size == Vector3.new(1,1.105,1) or a.Size == Vector3.new(1,1.227,1) or a.Size == Vector3.new(1,1.253,1) or a.Size == Vector3.new(1,1.277,1) or a.Size == Vector3.new(1,2,1) or a.Size == Vector3.new(2,1,1) or a.Name == "Head" or a.Name == "Torso" or a.Name == "Right Arm" or a.Name == "Left Arm" or a.Name == "Right Leg" or a.Name == "Left Leg" or a.Name == "RightArm" or a.Name == "LeftArm" or a.Name == "RightLeg" or a.Name == "LeftLeg" or a.Name == "UpperTorso" or a.Name == "HumanoidRootPart" or a.Name == "LowerTorso" or a.Name == "RightHand" or a.Name == "LeftHand" or a.Name == "RightFoot" or a.Name == "LeftFoot" or a.Name == "LeftUpperArm" or a.Name == "LeftLowerArm" or a.Name == "RightUpperArm" or a.Name == "RightLowerArm" or a.Name == "LeftUpperLeg" or a.Name == "LeftLowerLeg" or a.Name == "RightUpperLeg" or a.Name == "RightLowerLeg" then
  1380. spawn(function() a.Anchored=false a.CanCollide=true a.Velocity=Vector3.new(math.random(-power,power),math.random((power/3),(power*1.5)),math.random(-power,power)) while a~=nil do game:GetService("RunService").Heartbeat:Wait() a.Anchored=false a.CanCollide=true end end)
  1381. spawn(function() local bv = Instance.new("BodyVelocity") bv.maxForce = Vector3.new(1000000000, 1000000000, 1000000000) bv.velocity = Vector3.new(math.random(-power,power),math.random((power/3),(power*1.5)),math.random(-power,power)) bv.Parent = a wait(0.06) bv:Destroy() end)
  1382. if a.Name=="HumanoidRootPart" then a:Destroy() end end
  1383. end
  1384. end))
  1385. end
  1386. coroutine.resume(coroutine.create(function()while who~=nil do game:GetService("RunService").Heartbeat:Wait() if who:FindFirstChildOfClass'Humanoid' then local h=who:FindFirstChildOfClass'Humanoid' h.BreakJointsOnDeath=false h.MaxHealth=nil h.Health=nil h.PlatformStand=true end end end))
  1387. if customend == false then
  1388. wait(math.random(15,60))
  1389. if who then
  1390. for _,a in pairs(who:GetDescendants()) do
  1391. coroutine.resume(coroutine.create(function()
  1392. if a:IsA'BasePart' then
  1393. for i=1,50 do wait()
  1394. a.Transparency=a.Transparency+1/50
  1395. end
  1396. a:BreakJoints()
  1397. a:Destroy()
  1398. end
  1399. end))
  1400. end
  1401. end
  1402. end
  1403. end
  1404. local blpr = Instance.new("Part") Instance.new("SpecialMesh",blpr).MeshType="Sphere"
  1405. blpr.Color=Color3.fromRGB(117,0,0)
  1406. blpr.Material="Glass"
  1407. blpr.Anchored=true
  1408. blpr.CanCollide=false
  1409. blpr.Locked=true
  1410. blpr.Size=Vector3.new(.25,.25,.5)
  1411.  
  1412. local blprpl = Instance.new("ParticleEmitter",blpr)
  1413. blprpl.Color=ColorSequence.new(Color3.fromRGB(165,0,0))
  1414. blprpl.LightInfluence=0
  1415. blprpl.Size=NumberSequence.new({NumberSequenceKeypoint.new(0,0.5+math.random(-.25,.25)),NumberSequenceKeypoint.new(1,0)})
  1416. blprpl.Texture="rbxassetid://134531274"
  1417. blprpl.Transparency=NumberSequence.new(0.25)
  1418. blprpl.ZOffset=1
  1419. blprpl.Acceleration=Vector3.new(0,-5,0)
  1420. blprpl.Drag=-2
  1421. blprpl.VelocityInheritance=2
  1422. blprpl.EmissionDirection="Front"
  1423. blprpl.Lifetime=NumberRange.new(0.25,0.75)
  1424. blprpl.Rate=100
  1425. blprpl.Rotation=NumberRange.new(-180,180)
  1426. blprpl.RotSpeed=NumberRange.new(-60,60)
  1427. blprpl.Speed=NumberRange.new(1,3)
  1428. blprpl.SpreadAngle=Vector2.new(5,5)
  1429. blprpl.Name="Blood"
  1430. local blood = Instance.new("ParticleEmitter")
  1431. blood.Color=ColorSequence.new(Color3.fromRGB(165,0,0))
  1432. blood.LightInfluence=0
  1433. blood.Size=NumberSequence.new({NumberSequenceKeypoint.new(0,0.5+math.random(-.25,.25)),NumberSequenceKeypoint.new(1,0)})
  1434. blood.Texture="rbxassetid://134531274"
  1435. blood.Transparency=NumberSequence.new(0.25)
  1436. blood.ZOffset=1
  1437. blood.Acceleration=Vector3.new(0,-20,0)
  1438. blood.EmissionDirection="Front"
  1439. blood.Lifetime=NumberRange.new(0.25,1.75)
  1440. blood.Rate=1000000000
  1441. blood.Speed=NumberRange.new(5,14)
  1442. blood.SpreadAngle=Vector2.new(360,360)
  1443. blood.Name="Blood"
  1444. function BloodDrop(where,vel,siz,lt,ignor,parent)
  1445. coroutine.resume(coroutine.create(function()
  1446. local bl=blpr:Clone() bl.Transparency=math.random(5,45)/100 bl.Parent=parent bl.Size=Vector3.new(siz,siz,siz*2)
  1447. bl:WaitForChild'Blood'.Size=NumberSequence.new({NumberSequenceKeypoint.new(0,siz+math.random(-0.25,0.25)),NumberSequenceKeypoint.new(1,0)})
  1448. local StartTravel = tick()
  1449. local startTick = tick()
  1450. coroutine.wrap(function()
  1451. while bl~=nil do
  1452. local elapsed = tick()-startTick
  1453. local trElapsed = tick()-StartTravel
  1454. if(elapsed>lt)then
  1455. bl:destroy();
  1456. break
  1457. end
  1458. local newCF = fakePhysics(trElapsed,where,vel,Vector3.new(),Vector3.new(0,-workspace.Gravity,0))
  1459. local nextCF = fakePhysics(trElapsed+.05,where,vel,Vector3.new(),Vector3.new(0,-workspace.Gravity,0))
  1460. local dist = (bl.Position-newCF.p).magnitude
  1461. local hit,pos,norm = CastRay(bl.Position,newCF.p,dist,ignor)
  1462. bl.CFrame = CFrame.new(newCF.p,nextCF.p)
  1463. if hit and hit.CanCollide then
  1464. local pb = Instance.new("Part",parent) Instance.new("SpecialMesh",pb).MeshType="Cylinder" pb.Name='BloodEffect'
  1465. pb.Size=Vector3.new(0.01,bl.Size.Y*2,bl.Size.Y*2) pb.CFrame=CFrame.new(pos,pos+norm)*CFrame.Angles(0,math.rad(90),0)
  1466. pb.Anchored=false pb.CanCollide=false pb.Color=Color3.fromRGB(117,0,0) pb.Material="Glass" pb.Transparency=bl.Transparency
  1467. local w=Instance.new("ManualWeld")w.Part0=hit w.Part1=pb w.C0=CFrame.new(0,0,0) w.C1=pb.CFrame:inverse()*hit.CFrame w.Parent = pb
  1468. spawn(function() local bll = blood:Clone() bll.Parent=pb bll.Size=NumberSequence.new({NumberSequenceKeypoint.new(0,siz+math.random(-0.25,0.25)),NumberSequenceKeypoint.new(1,0)}) bll.Enabled=true wait(0.01) bll.Enabled=false wait(2)bll:Destroy() end)
  1469. spawn(function()
  1470. for i=1,5 do game:GetService("RunService").Heartbeat:Wait()
  1471. pb.Size=pb.Size+Vector3.new(0,(bl.Size.Y*2)/5,(bl.Size.Y*2)/5)
  1472. end
  1473. wait(math.random(3,15))
  1474. local random=math.random(25,100)
  1475. local tran = (1-pb.Transparency)
  1476. for i=1,random do game:GetService("RunService").Heartbeat:Wait()
  1477. pb.Transparency=pb.Transparency+tran/random
  1478. pb.Size=pb.Size-Vector3.new(0,(bl.Size.Y*3)/random,(bl.Size.Y*3)/random)
  1479. end
  1480. if pb then pb:Destroy() end
  1481. end)
  1482. bl.Transparency=1 bl:WaitForChild'Blood'.Enabled=false
  1483. break
  1484. end
  1485. game:GetService("RunService").Heartbeat:Wait()
  1486. end
  1487. wait(1.76)
  1488. if bl then bl:Destroy() end
  1489. end)()
  1490. end))
  1491. end
  1492. function reg(where,range,ignor)
  1493. return workspace:FindPartsInRegion3WithIgnoreList(Region3.new(where-Vector3.new(1,1,1)*range/2,where+Vector3.new(1,1,1)*range/2),ignor,100)
  1494. end
  1495. function Kill(who,typ)
  1496. coroutine.resume(coroutine.create(function()
  1497. if who.Parent ~= char and who.Parent ~= effects and who ~= char and who ~= effects and who ~= script and who.Parent ~= script and who.Name ~= "Ietahuoy" then
  1498. bambam.Force = Vector3.new(500,0,500)
  1499. if typ=="Annihilate" then
  1500. attack = true
  1501. for i = 1,12 do
  1502.  
  1503. wait()
  1504. HumanRoot.Position = who.HumanoidRootPart.Position
  1505. end
  1506. attack = false
  1507. elseif (typ==nil or not typ=="Annihilate") and who:FindFirstChild("KilledBy"..plr.Name) == nil then
  1508. attack = true
  1509. for i = 1,12 do
  1510. wait()
  1511. HumanRoot.Position = who.HumanoidRootPart.Position
  1512. end
  1513. attack = false
  1514. end
  1515. end
  1516. end))
  1517. end
  1518. function Aoe(where,range,typ)
  1519. coroutine.resume(coroutine.create(function()
  1520. if where ~= nil then
  1521. if typeof(where) == "CFrame"then where=where.p end
  1522. local Killed={}
  1523. for _,a in next, reg(where,range,{char}) do
  1524. if (not Killed[a] and a.Parent ~= CFrame and a.Parent ~= effects and a ~= char and a ~= effects and a ~= script and a.Parent ~= script and a.Name ~= "Base" and a.Name ~= "Baseplate") and a:IsA'BasePart' then
  1525. if a and a.Parent ~= nil and (a.Parent:IsA("Model") or a.Parent.ClassName == "Model" or a.Parent:IsA("Folder") or a.Parent.ClassName == "Folder") and a.Size == Vector3.new(2,2,1) or a.Size == Vector3.new(2,2.1,1) or a.Size == Vector3.new(1,1.105,1) or a.Size == Vector3.new(1,1.227,1) or a.Size == Vector3.new(1,1.253,1) or a.Size == Vector3.new(1,1.277,1) or a.Size == Vector3.new(1,2,1) or a.Size == Vector3.new(2,1,1) or a.Name == "Head" or a.Name == "Torso" or a.Name == "Right Arm" or a.Name == "Left Arm" or a.Name == "Right Leg" or a.Name == "Left Leg" or a.Name == "UpperTorso" or a.Name == "HumanoidRootPart" or a.Name == "LowerTorso" or a.Name == "RightHand" or a.Name == "LeftHand" or a.Name == "RightFoot" or a.Name == "LeftFoot" or a.Name == "LeftUpperArm" or a.Name == "LeftLowerArm" or a.Name == "RightUpperArm" or a.Name == "RightLowerArm" or a.Name == "LeftUpperLeg" or a.Name == "LeftLowerLeg" or a.Name == "RightUpperLeg" or a.Name == "RightLowerLeg" then
  1526. Killed[a]=true
  1527. Kill(a.Parent,typ)
  1528. end
  1529. end
  1530. end
  1531. end
  1532. end))
  1533. end
  1534. function shoot()
  1535. attack=true
  1536. local MouseHit = Mouse.Hit
  1537. if run and crouch==false then speed=12 elseif run==false and crouch then speed=4 elseif run==false and crouch==false then speed=8 end
  1538. repeat
  1539. for _=0,0.5,0.1 do game:GetService("RunService").Heartbeat:Wait()
  1540. if crouch==false then
  1541. char:WaitForChild('HumanoidRootPart'):FindFirstChild('RootJoint').C0=char:WaitForChild('HumanoidRootPart'):FindFirstChild('RootJoint').C0:lerp(CFrame.new(0,0,0)*CFrame.Angles(math.rad(90),math.rad(180),0)*CFrame.new(0,0,0+0.075*math.cos(sine/24))*CFrame.Angles(math.rad(1+1*math.cos(sine/24)),0,math.rad(-40)),.2)
  1542. else
  1543. char:WaitForChild('HumanoidRootPart'):FindFirstChild('RootJoint').C0=char:WaitForChild('HumanoidRootPart'):FindFirstChild('RootJoint').C0:lerp(CFrame.new(0,0,0)*CFrame.Angles(math.rad(90),math.rad(180),0)*CFrame.new(0,0,-1+0.075*math.cos(sine/24))*CFrame.Angles(math.rad(1+1*math.cos(sine/24)),0,math.rad(-40)),.2)
  1544. end
  1545. char:WaitForChild('Torso'):FindFirstChild('Neck').C0=char:WaitForChild('Torso'):FindFirstChild('Neck').C0:lerp(CFrame.new(0,1,0)*CFrame.Angles(math.rad(90),math.rad(180),0)*CFrame.new(0,0,0)*CFrame.Angles(math.rad(2.5-5*math.sin(sine/24)),0,math.rad(40)),.2)
  1546. char:WaitForChild('Torso'):FindFirstChild('Right Shoulder').C0=char:WaitForChild('Torso'):FindFirstChild('Right Shoulder').C0:lerp(CFrame.new(1,0.5,0)*CFrame.Angles(0,math.rad(90),0)*CFrame.new(0.25,0+0.075*math.sin(sine/24),-0.5)*CFrame.Angles(0,math.rad(40+1*math.cos(sine/24)),math.rad(90-1*math.sin(sine/24))),.2)
  1547. char:WaitForChild('Torso'):FindFirstChild('Left Shoulder').C0=char:WaitForChild('Torso'):FindFirstChild('Left Shoulder').C0:lerp(CFrame.new(-1,0.5,0)*CFrame.Angles(0,math.rad(-90),0)*CFrame.new(-0.75,0+0.075*math.sin(sine/24),-0.5)*CFrame.Angles(0,math.rad(-10-1*math.cos(sine/24)),math.rad(-100+1*math.sin(sine/24))),.2)
  1548. gumweld.C0=gumweld.C0:lerp(CFrame.new(-1.2,-0.3,0.4)*CFrame.Angles(math.rad(70),math.rad(-5),math.rad(85)),.2)
  1549. end
  1550. local bullet = Instance.new("Part",effects) Instance.new("SpecialMesh",bullet).MeshType="Sphere"
  1551. bullet.Color=Color3.new(0,0,0)
  1552. bullet.Size=Vector3.new(.25,.25,4)
  1553. bullet.Material="Neon"
  1554. bullet.Anchored=true
  1555. bullet.CanCollide=false
  1556. bullet.CFrame=gun.CFrame*CFrame.new(2,0.5,0)
  1557. local partic1 = Instance.new("ParticleEmitter",bullet)
  1558. partic1.Color=ColorSequence.new({ColorSequenceKeypoint.new(0,Color3.new(1,1,0)),ColorSequenceKeypoint.new(0.25,Color3.new(0,0,1)),ColorSequenceKeypoint.new(1,Color3.new())})
  1559. partic1.LightEmission=1
  1560. partic1.LightInfluence=1
  1561. partic1.Size=NumberSequence.new({NumberSequenceKeypoint.new(0,0.5),NumberSequenceKeypoint.new(0.25,1+math.random(-.25,.25)),NumberSequenceKeypoint.new(1,0)})
  1562. partic1.Texture="rbxassetid://134531274"
  1563. partic1.ZOffset=-1
  1564. partic1.LockedToPart=false
  1565. partic1.Lifetime=NumberRange.new(1)
  1566. partic1.Rate=100
  1567. partic1.Rotation=NumberRange.new(-180,180)
  1568. partic1.Speed=NumberRange.new(0.5)
  1569. partic1.SpreadAngle=Vector2.new(360,360)
  1570. local at1 = Instance.new("Attachment",bullet) at1.Position=Vector3.new(0,.175,0)
  1571. local at2 = Instance.new("Attachment",bullet) at2.Position=Vector3.new(0,-.175,0)
  1572. local trail = Instance.new("Trail",bullet)
  1573. trail.Color=ColorSequence.new({ColorSequenceKeypoint.new(0,Color3.new(1,1,0)),ColorSequenceKeypoint.new(0.25,Color3.new(0,0,1)),ColorSequenceKeypoint.new(1,Color3.new())})
  1574. trail.LightEmission=1
  1575. trail.LightInfluence=1
  1576. trail.Transparency=NumberSequence.new(0,1)
  1577. trail.Lifetime=0.5
  1578. trail.WidthScale=NumberSequence.new(1,0)
  1579. trail.Attachment0=at1
  1580. trail.Attachment1=at2
  1581. trail.FaceCamera=true
  1582. local so = Instance.new("Sound",gun)
  1583. so.SoundId="rbxassetid://161233154"
  1584. so.Volume=2
  1585. so.Pitch=math.random(95,105)/100
  1586. so.PlayOnRemove=true
  1587. so:Play()
  1588. so:Destroy()
  1589. coroutine.resume(coroutine.create(function()
  1590. bullet.CFrame=CFrame.new(bullet.Position,MouseHit.p+Vector3.new(math.random(-25,25)/10,math.random(-25,25)/10,math.random(-25,25)/10))*CFrame.new(0,0,-2)
  1591. for _=1,100 do game:GetService("RunService").Heartbeat:Wait()
  1592. local h,p,norm = workspace:FindPartOnRayWithIgnoreList(Ray.new(bullet.CFrame*CFrame.new(0,0,4).p,(bullet.CFrame*CFrame.new(0,0,-4).p-bullet.CFrame*CFrame.new(0,0,4).p).unit*8),{char})
  1593. if (h and h.Parent and h.Parent:IsA'Accessory') or (h and h.Parent and h.Parent:IsA'Hat') then
  1594. h:Destroy()
  1595. spawn(function()
  1596. if h and h.Parent and h.Parent:IsA'Model' then
  1597. Kill(h.Parent)
  1598. end
  1599. end)
  1600. h:Destroy()
  1601. break
  1602. elseif (h and h.CanCollide==true) then
  1603. if h.Material==Enum.Material.Glass or h.Material==Enum.Material.ForceField then
  1604. local model = Instance.new("Model",h.Parent) model.Name=h.Name.."'s chuncs"
  1605. local p = Instance.new("Part",model) p.Size=Vector3.new(h.Size.X/2,h.Size.Y/2,h.Size.Z/2) p.CFrame=h.CFrame*CFrame.new(h.Size.X/4,h.Size.Y/4,h.Size.Y/4) p.Color=h.Color p.Material=h.Material p.Transparency=h.Transparency p.Velocity=Vector3.new(math.random(-5,5),math.random(-5,5),math.random(-5,5)) p.RotVelocity=Vector3.new(math.random(-5,5),math.random(-5,5),math.random(-5,5))
  1606. local p2 = Instance.new("Part",model) p2.Size=Vector3.new(h.Size.X/2,h.Size.Y/2,h.Size.Z/2) p2.CFrame=h.CFrame*CFrame.new(-h.Size.X/4,h.Size.Y/4,h.Size.Y/4) p2.Color=h.Color p2.Material=h.Material p2.Transparency=h.Transparency p2.Velocity=Vector3.new(math.random(-5,5),math.random(-5,5),math.random(-5,5)) p2.RotVelocity=Vector3.new(math.random(-5,5),math.random(-5,5),math.random(-5,5))
  1607. local p3 = Instance.new("Part",model) p3.Size=Vector3.new(h.Size.X/2,h.Size.Y/2,h.Size.Z/2) p3.CFrame=h.CFrame*CFrame.new(h.Size.X/4,-h.Size.Y/4,h.Size.Y/4) p3.Color=h.Color p3.Material=h.Material p3.Transparency=h.Transparency p3.Velocity=Vector3.new(math.random(-5,5),math.random(-5,5),math.random(-5,5)) p3.RotVelocity=Vector3.new(math.random(-5,5),math.random(-5,5),math.random(-5,5))
  1608. local p4 = Instance.new("Part",model) p4.Size=Vector3.new(h.Size.X/2,h.Size.Y/2,h.Size.Z/2) p4.CFrame=h.CFrame*CFrame.new(-h.Size.X/4,-h.Size.Y/4,h.Size.Y/4) p4.Color=h.Color p4.Material=h.Material p4.Transparency=h.Transparency p4.Velocity=Vector3.new(math.random(-5,5),math.random(-5,5),math.random(-5,5)) p4.RotVelocity=Vector3.new(math.random(-5,5),math.random(-5,5),math.random(-5,5))
  1609. local p5 = Instance.new("Part",model) p5.Size=Vector3.new(h.Size.X/2,h.Size.Y/2,h.Size.Z/2) p5.CFrame=h.CFrame*CFrame.new(h.Size.X/4,h.Size.Y/4,-h.Size.Y/4) p5.Color=h.Color p5.Material=h.Material p5.Transparency=h.Transparency p5.Velocity=Vector3.new(math.random(-5,5),math.random(-5,5),math.random(-5,5)) p5.RotVelocity=Vector3.new(math.random(-5,5),math.random(-5,5),math.random(-5,5))
  1610. local p6 = Instance.new("Part",model) p6.Size=Vector3.new(h.Size.X/2,h.Size.Y/2,h.Size.Z/2) p6.CFrame=h.CFrame*CFrame.new(-h.Size.X/4,h.Size.Y/4,-h.Size.Y/4) p6.Color=h.Color p6.Material=h.Material p6.Transparency=h.Transparency p6.Velocity=Vector3.new(math.random(-5,5),math.random(-5,5),math.random(-5,5)) p6.RotVelocity=Vector3.new(math.random(-5,5),math.random(-5,5),math.random(-5,5))
  1611. local p7 = Instance.new("Part",model) p7.Size=Vector3.new(h.Size.X/2,h.Size.Y/2,h.Size.Z/2) p7.CFrame=h.CFrame*CFrame.new(h.Size.X/4,-h.Size.Y/4,-h.Size.Y/4) p7.Color=h.Color p7.Material=h.Material p7.Transparency=h.Transparency p7.Velocity=Vector3.new(math.random(-5,5),math.random(-5,5),math.random(-5,5)) p7.RotVelocity=Vector3.new(math.random(-5,5),math.random(-5,5),math.random(-5,5))
  1612. local p8 = Instance.new("Part",model) p8.Size=Vector3.new(h.Size.X/2,h.Size.Y/2,h.Size.Z/2) p8.CFrame=h.CFrame*CFrame.new(-h.Size.X/4,-h.Size.Y/4,-h.Size.Y/4) p8.Color=h.Color p8.Material=h.Material p8.Transparency=h.Transparency p8.Velocity=Vector3.new(math.random(-5,5),math.random(-5,5),math.random(-5,5)) p8.RotVelocity=Vector3.new(math.random(-5,5),math.random(-5,5),math.random(-5,5))
  1613. local so = Instance.new("Sound",h)
  1614. so.SoundId="rbxassetid://516789356"
  1615. so.Volume=2
  1616. so.Pitch=math.random(95,105)/100
  1617. so.PlayOnRemove=true
  1618. so:Play()
  1619. so:Destroy()
  1620. h:Destroy()
  1621. if math.random(1,2)==1 then
  1622. break
  1623. end
  1624. spawn(function()
  1625. wait(math.random(3,5))
  1626. for _,a in pairs(model:GetChildren()) do
  1627. spawn(function()
  1628. if a:IsA'BasePart' then
  1629. for _=1,25 do game:GetService("RunService").Heartbeat:Wait()
  1630. a.Transparency=a.Transparency+1/25
  1631. end
  1632. end
  1633. end)
  1634. end
  1635. repeat game:GetService("RunService").Heartbeat:Wait() until model:FindFirstChildWhichIsA'BasePart'==nil
  1636. wait(.1) model:Destroy()
  1637. end)
  1638. elseif h.Transparency<=0.5 then
  1639. break
  1640. end
  1641. end
  1642. bullet.CFrame=bullet.CFrame*CFrame.new(0,0,-8)
  1643. end
  1644. Aoe(bullet.CFrame,8)
  1645. bullet.Transparency=1
  1646. for _,a in pairs(bullet:GetChildren()) do
  1647. if a:IsA'ParticleEmitter' or a:IsA'Trail' then
  1648. a.Enabled=false
  1649. end
  1650. end
  1651. wait(1.1)
  1652. bullet:Destroy()
  1653. end))
  1654. for _=0,0.25,0.25 do game:GetService("RunService").Heartbeat:Wait()
  1655. if crouch==false then
  1656. char:WaitForChild('HumanoidRootPart'):FindFirstChild('RootJoint').C0=char:WaitForChild('HumanoidRootPart'):FindFirstChild('RootJoint').C0:lerp(CFrame.new(0,0,0)*CFrame.Angles(math.rad(90),math.rad(180),0)*CFrame.new(0,0,0+0.075*math.cos(sine/24))*CFrame.Angles(math.rad(1+1*math.cos(sine/24)),0,math.rad(-40)),.4)
  1657. else
  1658. char:WaitForChild('HumanoidRootPart'):FindFirstChild('RootJoint').C0=char:WaitForChild('HumanoidRootPart'):FindFirstChild('RootJoint').C0:lerp(CFrame.new(0,0,0)*CFrame.Angles(math.rad(90),math.rad(180),0)*CFrame.new(0,0,-1+0.075*math.cos(sine/24))*CFrame.Angles(math.rad(1+1*math.cos(sine/24)),0,math.rad(-40)),.4)
  1659. end
  1660. char:WaitForChild('Torso'):FindFirstChild('Neck').C0=char:WaitForChild('Torso'):FindFirstChild('Neck').C0:lerp(CFrame.new(0,1,0)*CFrame.Angles(math.rad(90),math.rad(180),0)*CFrame.new(0,0,0)*CFrame.Angles(math.rad(2.5-5*math.sin(sine/24)),0,math.rad(40)),.4)
  1661. char:WaitForChild('Torso'):FindFirstChild('Right Shoulder').C0=char:WaitForChild('Torso'):FindFirstChild('Right Shoulder').C0:lerp(CFrame.new(1,0.5,0)*CFrame.Angles(0,math.rad(90),0)*CFrame.new(0.25,0+0.075*math.sin(sine/24),-0.5)*CFrame.Angles(0,math.rad(40+1*math.cos(sine/24)),math.rad(95-1*math.sin(sine/24))),.4)
  1662. char:WaitForChild('Torso'):FindFirstChild('Left Shoulder').C0=char:WaitForChild('Torso'):FindFirstChild('Left Shoulder').C0:lerp(CFrame.new(-1,0.5,0)*CFrame.Angles(0,math.rad(-90),0)*CFrame.new(-0.75,0+0.075*math.sin(sine/24),-0.5)*CFrame.Angles(0,math.rad(-10-1*math.cos(sine/24)),math.rad(-105+1*math.sin(sine/24))),.4)
  1663. gumweld.C0=gumweld.C0:lerp(CFrame.new(-1.2,-0.3,0.4)*CFrame.Angles(math.rad(70),math.rad(-5),math.rad(85)),.4)
  1664. end
  1665. until repeatmouse==false
  1666. if run and crouch==false then speed=24 elseif run==false and crouch then speed=6 elseif run==false and crouch==false then speed=12 end
  1667. attack=false
  1668. end
  1669. function grenadethrow()
  1670. attack=true
  1671. MouseHit = Mouse.Hit
  1672. if run and crouch==false then speed=12 elseif run==false and crouch then speed=4 elseif run==false and crouch==false then speed=8 end
  1673. for _=0,1,0.05 do game:GetService("RunService").Heartbeat:Wait()
  1674. if crouch==false then
  1675. char:WaitForChild('HumanoidRootPart'):FindFirstChild('RootJoint').C0=char:WaitForChild('HumanoidRootPart'):FindFirstChild('RootJoint').C0:lerp(CFrame.new(0,0,0)*CFrame.Angles(math.rad(90),math.rad(180),0)*CFrame.new(0,0,0+0.075*math.cos(sine/24))*CFrame.Angles(math.rad(1+1*math.cos(sine/24)),0,0),.2)
  1676. else
  1677. char:WaitForChild('HumanoidRootPart'):FindFirstChild('RootJoint').C0=char:WaitForChild('HumanoidRootPart'):FindFirstChild('RootJoint').C0:lerp(CFrame.new(0,0,0)*CFrame.Angles(math.rad(90),math.rad(180),0)*CFrame.new(0,0,-1+0.075*math.cos(sine/24))*CFrame.Angles(math.rad(1+1*math.cos(sine/24)),0,0),.2)
  1678. end
  1679. char:WaitForChild('Torso'):FindFirstChild('Neck').C0=char:WaitForChild('Torso'):FindFirstChild('Neck').C0:lerp(CFrame.new(0,1,0)*CFrame.Angles(math.rad(90),math.rad(180),0)*CFrame.new(0,0,0)*CFrame.Angles(math.rad(2.5-5*math.sin(sine/24)),0,0),.2)
  1680. char:WaitForChild('Torso'):FindFirstChild('Right Shoulder').C0=char:WaitForChild('Torso'):FindFirstChild('Right Shoulder').C0:lerp(CFrame.new(1,0.5,0)*CFrame.Angles(0,math.rad(90),0)*CFrame.new(0,0+0.075*math.sin(sine/24),0)*CFrame.Angles(0,math.rad(25+1*math.cos(sine/24)),math.rad(45-1*math.sin(sine/24))),.2)
  1681. char:WaitForChild('Torso'):FindFirstChild('Left Shoulder').C0=char:WaitForChild('Torso'):FindFirstChild('Left Shoulder').C0:lerp(CFrame.new(-1,0.5,0)*CFrame.Angles(0,math.rad(-90),0)*CFrame.new(0,0+0.075*math.sin(sine/24),0)*CFrame.Angles(0,math.rad(60-1*math.cos(sine/24)),math.rad(40+1*math.sin(sine/24))),.2)
  1682. gumweld.C0=gumweld.C0:lerp(CFrame.new(-1.2,-0.3,0.4)*CFrame.Angles(math.rad(70),math.rad(-5),math.rad(85))*CFrame.new(-0.3,0,0)*CFrame.Angles(0,0,math.rad(20)),.2)
  1683. end
  1684. spawn(function()
  1685. grenade.Transparency=1
  1686. wait(1)
  1687. for _=1,10 do game:GetService("RunService").Heartbeat:Wait()
  1688. grenade.Transparency=grenade.Transparency-1/10
  1689. end
  1690. end)
  1691. local gren = Instance.new("Part",workspace) local mesh = Instance.new("SpecialMesh",gren) mesh.MeshType="FileMesh" mesh.MeshId="rbxassetid://548193107" mesh.TextureId="rbxassetid://926040988" mesh.Scale=Vector3.new(.1,.1,.1)
  1692. gren.Size=Vector3.new(.5,1,.5)
  1693. gren.CanCollide=true
  1694. local weld = Instance.new("Weld",gren) weld.Part0=gren weld.Part1=char:WaitForChild('Left Arm') weld.C0=CFrame.new(0,0,1)*CFrame.Angles(math.rad(90),0,0)
  1695. for _=0,1,0.05 do game:GetService("RunService").Heartbeat:Wait()
  1696. if crouch==false then
  1697. char:WaitForChild('HumanoidRootPart'):FindFirstChild('RootJoint').C0=char:WaitForChild('HumanoidRootPart'):FindFirstChild('RootJoint').C0:lerp(CFrame.new(0,0,0)*CFrame.Angles(math.rad(90),math.rad(180),0)*CFrame.new(0,0,0+0.075*math.cos(sine/24))*CFrame.Angles(math.rad(1+1*math.cos(sine/24)),0,0),.2)
  1698. else
  1699. char:WaitForChild('HumanoidRootPart'):FindFirstChild('RootJoint').C0=char:WaitForChild('HumanoidRootPart'):FindFirstChild('RootJoint').C0:lerp(CFrame.new(0,0,0)*CFrame.Angles(math.rad(90),math.rad(180),0)*CFrame.new(0,0,-1+0.075*math.cos(sine/24))*CFrame.Angles(math.rad(1+1*math.cos(sine/24)),0,0),.2)
  1700. end
  1701. char:WaitForChild('Torso'):FindFirstChild('Neck').C0=char:WaitForChild('Torso'):FindFirstChild('Neck').C0:lerp(CFrame.new(0,1,0)*CFrame.Angles(math.rad(90),math.rad(180),0)*CFrame.new(0,0,0)*CFrame.Angles(math.rad(2.5-5*math.sin(sine/24)),0,0),.2)
  1702. char:WaitForChild('Torso'):FindFirstChild('Right Shoulder').C0=char:WaitForChild('Torso'):FindFirstChild('Right Shoulder').C0:lerp(CFrame.new(1,0.5,0)*CFrame.Angles(0,math.rad(90),0)*CFrame.new(0,0+0.075*math.sin(sine/24),0)*CFrame.Angles(0,math.rad(25+1*math.cos(sine/24)),math.rad(45-1*math.sin(sine/24))),.2)
  1703. char:WaitForChild('Torso'):FindFirstChild('Left Shoulder').C0=char:WaitForChild('Torso'):FindFirstChild('Left Shoulder').C0:lerp(CFrame.new(-1,0.5,0)*CFrame.Angles(0,math.rad(-90),0)*CFrame.new(0,0+0.075*math.sin(sine/24),0)*CFrame.Angles(0,math.rad(30-1*math.cos(sine/24)),math.rad(-40+1*math.sin(sine/24))),.2)
  1704. gumweld.C0=gumweld.C0:lerp(CFrame.new(-1.2,-0.3,0.4)*CFrame.Angles(math.rad(70),math.rad(-5),math.rad(85))*CFrame.new(-0.3,0,0)*CFrame.Angles(0,0,math.rad(20)),.2)
  1705. end
  1706. local pl = Instance.new("PointLight",gren)
  1707. pl.Brightness=40
  1708. pl.Color=Color3.new(1,0,0)
  1709. pl.Range=3
  1710. pl.Shadows=true
  1711. local at1 = Instance.new("Attachment",gren) at1.Position=Vector3.new(0,0.5,0)
  1712. local at2 = Instance.new("Attachment",gren) at2.Position=Vector3.new(0,0.25,0)
  1713. local trl = Instance.new("Trail",gren)
  1714. trl.Color=ColorSequence.new({ColorSequenceKeypoint.new(0,Color3.new(1,0,0)),ColorSequenceKeypoint.new(1,Color3.new())})
  1715. trl.FaceCamera=true
  1716. trl.LightEmission=1
  1717. trl.LightInfluence=1
  1718. trl.Transparency=NumberSequence.new(0,1)
  1719. trl.Attachment0=at1
  1720. trl.Attachment1=at2
  1721. trl.Lifetime=3
  1722. trl.WidthScale=NumberSequence.new(1,0)
  1723. local particpart = Instance.new("Part",gren)
  1724. particpart.Size=Vector3.new()
  1725. particpart.Transparency=1
  1726. particpart.CanCollide=false
  1727. local w = Instance.new("Weld",particpart) w.Part0=particpart w.Part1=gren w.C0=CFrame.new(0,-0.325,0)
  1728. local partic = Instance.new("ParticleEmitter",particpart)
  1729. partic.Color=ColorSequence.new(Color3.new(1,0,0))
  1730. partic.LightEmission=1
  1731. partic.LightInfluence=1
  1732. partic.ZOffset=1
  1733. partic.Size=NumberSequence.new({NumberSequenceKeypoint.new(0,0),NumberSequenceKeypoint.new(0.02,1+math.random(-.5,.5)),NumberSequenceKeypoint.new(1,0)})
  1734. partic.Texture="rbxasset://textures/particles/sparkles_main.dds"
  1735. partic.Transparency=NumberSequence.new({NumberSequenceKeypoint.new(0,1),NumberSequenceKeypoint.new(0.05,0.75+math.random(-.25,.25)),NumberSequenceKeypoint.new(1,1)})
  1736. partic.LockedToPart=true
  1737. partic.Rate=50
  1738. partic.Lifetime=NumberRange.new(1)
  1739. partic.Rotation=NumberRange.new(-180,180)
  1740. partic.RotSpeed=NumberRange.new(-30,30)
  1741. partic.Speed=NumberRange.new(0.5)
  1742. partic.SpreadAngle=Vector2.new(360,360)
  1743. coroutine.resume(coroutine.create(function()
  1744. local w = 1
  1745. local ran = math.random(5)
  1746. for i=1,ran do
  1747. local so = Instance.new("Sound",gren)
  1748. so.SoundId="rbxassetid://2164165859"
  1749. so.Volume=2
  1750. so.Pitch=1+(1/ran)
  1751. so.PlayOnRemove=true
  1752. so:Play()
  1753. so:Destroy()
  1754. wait(w)
  1755. w=w-(1/ran)
  1756. end
  1757. Aoe(gren.CFrame,40)
  1758. local so = Instance.new("Sound",gren)
  1759. so.SoundId="rbxassetid://4307076141"
  1760. so.Volume=4
  1761. so.Pitch=math.random(95,105)/100
  1762. so.PlayOnRemove=true
  1763. so:Play()
  1764. so:Destroy()
  1765. gren.Transparency=1
  1766. for _,a in pairs(gren:GetDescendants()) do
  1767. if a:IsA'PointLight' or a:IsA'ParticleEmitter' or a:IsA'Trail' then
  1768. a.Enabled=false
  1769. end
  1770. end
  1771. local partic1 = Instance.new("ParticleEmitter",gren)
  1772. partic1.Color=ColorSequence.new({ColorSequenceKeypoint.new(0,Color3.new(1,0,0)),ColorSequenceKeypoint.new(0.25,Color3.new(0,0,1)),ColorSequenceKeypoint.new(0.5,Color3.new(1,1,0)),ColorSequenceKeypoint.new(1,Color3.new())})
  1773. partic1.LightEmission=1
  1774. partic1.LightInfluence=1
  1775. partic1.Size=NumberSequence.new({NumberSequenceKeypoint.new(0,0),NumberSequenceKeypoint.new(0.025,2.5),NumberSequenceKeypoint.new(1,5)})
  1776. partic1.Texture="rbxassetid://971284039"
  1777. partic1.Transparency=NumberSequence.new({NumberSequenceKeypoint.new(0,1),NumberSequenceKeypoint.new(0.025,0),NumberSequenceKeypoint.new(0.7,0.25),NumberSequenceKeypoint.new(1,1)})
  1778. partic1.ZOffset=1
  1779. partic1.Acceleration=Vector3.new(0,2,0)
  1780. partic1.Drag=2
  1781. partic1.Lifetime=NumberRange.new(1,3)
  1782. partic1.Rate=100000000
  1783. partic1.Rotation=NumberRange.new(-180,180)
  1784. partic1.RotSpeed=NumberRange.new(-30,30)
  1785. partic1.Speed=NumberRange.new(1,5)
  1786. partic1.SpreadAngle=Vector2.new(360,360)
  1787. coroutine.resume(coroutine.create(function()
  1788. wait(.2)
  1789. partic1.Enabled=false
  1790. wait(3.1)
  1791. partic1:Destroy()
  1792. end))
  1793. local partic2 = Instance.new("ParticleEmitter",gren)
  1794. partic2.Color=ColorSequence.new({ColorSequenceKeypoint.new(0,Color3.new(1,1,0)),ColorSequenceKeypoint.new(0.05,Color3.new(1,1,1)),ColorSequenceKeypoint.new(1,Color3.new())})
  1795. partic2.LightEmission=0
  1796. partic2.LightInfluence=1
  1797. partic2.Size=NumberSequence.new({NumberSequenceKeypoint.new(0,2.5+math.random(-25,25)/10),NumberSequenceKeypoint.new(0.3,5),NumberSequenceKeypoint.new(1,3.75+math.random(-25,25)/10)})
  1798. partic2.Texture="rbxassetid://1946917526"
  1799. partic2.Transparency=NumberSequence.new({NumberSequenceKeypoint.new(0,1),NumberSequenceKeypoint.new(0.025,0.5),NumberSequenceKeypoint.new(1,1)})
  1800. partic2.ZOffset=1
  1801. partic2.Acceleration=Vector3.new(0,5,0)
  1802. partic2.Drag=2
  1803. partic2.Lifetime=NumberRange.new(1,5)
  1804. partic2.Rate=100000000
  1805. partic2.Rotation=NumberRange.new(-180,180)
  1806. partic2.RotSpeed=NumberRange.new(-90,90)
  1807. partic2.Speed=NumberRange.new(10,20)
  1808. partic2.SpreadAngle=Vector2.new(360,360)
  1809. coroutine.resume(coroutine.create(function()
  1810. wait(.2)
  1811. partic2.Enabled=false
  1812. wait(5.1)
  1813. partic2:Destroy()
  1814. end))
  1815. wait(5.1)
  1816. gren:Destroy()
  1817. end))
  1818. for _=0,0.5,0.05 do game:GetService("RunService").Heartbeat:Wait()
  1819. if crouch==false then
  1820. char:WaitForChild('HumanoidRootPart'):FindFirstChild('RootJoint').C0=char:WaitForChild('HumanoidRootPart'):FindFirstChild('RootJoint').C0:lerp(CFrame.new(0,0,0)*CFrame.Angles(math.rad(90),math.rad(180),0)*CFrame.new(0,0,0+0.075*math.cos(sine/24))*CFrame.Angles(math.rad(1+1*math.cos(sine/24)),0,0),.4)
  1821. else
  1822. char:WaitForChild('HumanoidRootPart'):FindFirstChild('RootJoint').C0=char:WaitForChild('HumanoidRootPart'):FindFirstChild('RootJoint').C0:lerp(CFrame.new(0,0,0)*CFrame.Angles(math.rad(90),math.rad(180),0)*CFrame.new(0,0,-1+0.075*math.cos(sine/24))*CFrame.Angles(math.rad(1+1*math.cos(sine/24)),0,0),.4)
  1823. end
  1824. char:WaitForChild('Torso'):FindFirstChild('Neck').C0=char:WaitForChild('Torso'):FindFirstChild('Neck').C0:lerp(CFrame.new(0,1,0)*CFrame.Angles(math.rad(90),math.rad(180),0)*CFrame.new(0,0,0)*CFrame.Angles(math.rad(2.5-5*math.sin(sine/24)),0,0),.4)
  1825. char:WaitForChild('Torso'):FindFirstChild('Right Shoulder').C0=char:WaitForChild('Torso'):FindFirstChild('Right Shoulder').C0:lerp(CFrame.new(1,0.5,0)*CFrame.Angles(0,math.rad(90),0)*CFrame.new(0,0+0.075*math.sin(sine/24),0)*CFrame.Angles(0,math.rad(25+1*math.cos(sine/24)),math.rad(45-1*math.sin(sine/24))),.4)
  1826. char:WaitForChild('Torso'):FindFirstChild('Left Shoulder').C0=char:WaitForChild('Torso'):FindFirstChild('Left Shoulder').C0:lerp(CFrame.new(-1,0.5,0)*CFrame.Angles(0,math.rad(-90),0)*CFrame.new(0,0+0.075*math.sin(sine/24),0)*CFrame.Angles(0,math.rad(30-1*math.cos(sine/24)),math.rad(-35+1*math.sin(sine/24))),.4)
  1827. gumweld.C0=gumweld.C0:lerp(CFrame.new(-1.2,-0.3,0.4)*CFrame.Angles(math.rad(70),math.rad(-5),math.rad(85))*CFrame.new(-0.3,0,0)*CFrame.Angles(0,0,math.rad(20)),.4)
  1828. end
  1829. repeat game:GetService("RunService").Heartbeat:Wait()
  1830. if crouch==false then
  1831. char:WaitForChild('HumanoidRootPart'):FindFirstChild('RootJoint').C0=char:WaitForChild('HumanoidRootPart'):FindFirstChild('RootJoint').C0:lerp(CFrame.new(0,0,0)*CFrame.Angles(math.rad(90),math.rad(180),0)*CFrame.new(0,0,0+0.075*math.cos(sine/24))*CFrame.Angles(math.rad(1+1*math.cos(sine/24)),0,0),.4)
  1832. else
  1833. char:WaitForChild('HumanoidRootPart'):FindFirstChild('RootJoint').C0=char:WaitForChild('HumanoidRootPart'):FindFirstChild('RootJoint').C0:lerp(CFrame.new(0,0,0)*CFrame.Angles(math.rad(90),math.rad(180),0)*CFrame.new(0,0,-1+0.075*math.cos(sine/24))*CFrame.Angles(math.rad(1+1*math.cos(sine/24)),0,0),.4)
  1834. end
  1835. char:WaitForChild('Torso'):FindFirstChild('Neck').C0=char:WaitForChild('Torso'):FindFirstChild('Neck').C0:lerp(CFrame.new(0,1,0)*CFrame.Angles(math.rad(90),math.rad(180),0)*CFrame.new(0,0,0)*CFrame.Angles(math.rad(2.5-5*math.sin(sine/24)),0,0),.4)
  1836. char:WaitForChild('Torso'):FindFirstChild('Right Shoulder').C0=char:WaitForChild('Torso'):FindFirstChild('Right Shoulder').C0:lerp(CFrame.new(1,0.5,0)*CFrame.Angles(0,math.rad(90),0)*CFrame.new(0,0+0.075*math.sin(sine/24),0)*CFrame.Angles(0,math.rad(25+1*math.cos(sine/24)),math.rad(45-1*math.sin(sine/24))),.4)
  1837. char:WaitForChild('Torso'):FindFirstChild('Left Shoulder').C0=char:WaitForChild('Torso'):FindFirstChild('Left Shoulder').C0:lerp(CFrame.new(-1,0.5,0)*CFrame.Angles(0,math.rad(-90),0)*CFrame.new(0,0+0.075*math.sin(sine/24),0)*CFrame.Angles(0,math.rad(30-1*math.cos(sine/24)),math.rad(-35+1*math.sin(sine/24))),.4)
  1838. gumweld.C0=gumweld.C0:lerp(CFrame.new(-1.2,-0.3,0.4)*CFrame.Angles(math.rad(70),math.rad(-5),math.rad(85))*CFrame.new(-0.3,0,0)*CFrame.Angles(0,0,math.rad(20)),.4)
  1839. until repeatkey==false
  1840. for _=0,1,0.05 do game:GetService("RunService").Heartbeat:Wait()
  1841. if crouch==false then
  1842. char:WaitForChild('HumanoidRootPart'):FindFirstChild('RootJoint').C0=char:WaitForChild('HumanoidRootPart'):FindFirstChild('RootJoint').C0:lerp(CFrame.new(0,0,0)*CFrame.Angles(math.rad(90),math.rad(180),0)*CFrame.new(0,0,0+0.075*math.cos(sine/24))*CFrame.Angles(math.rad(1+1*math.cos(sine/24)),0,math.rad(40)),.2)
  1843. else
  1844. char:WaitForChild('HumanoidRootPart'):FindFirstChild('RootJoint').C0=char:WaitForChild('HumanoidRootPart'):FindFirstChild('RootJoint').C0:lerp(CFrame.new(0,0,0)*CFrame.Angles(math.rad(90),math.rad(180),0)*CFrame.new(0,0,-1+0.075*math.cos(sine/24))*CFrame.Angles(math.rad(1+1*math.cos(sine/24)),0,math.rad(40)),.2)
  1845. end
  1846. char:WaitForChild('Torso'):FindFirstChild('Neck').C0=char:WaitForChild('Torso'):FindFirstChild('Neck').C0:lerp(CFrame.new(0,1,0)*CFrame.Angles(math.rad(90),math.rad(180),0)*CFrame.new(0,0,0)*CFrame.Angles(math.rad(2.5-5*math.sin(sine/24)),0,math.rad(-40)),.2)
  1847. char:WaitForChild('Torso'):FindFirstChild('Right Shoulder').C0=char:WaitForChild('Torso'):FindFirstChild('Right Shoulder').C0:lerp(CFrame.new(1,0.5,0)*CFrame.Angles(0,math.rad(90),0)*CFrame.new(0,0+0.075*math.sin(sine/24),0)*CFrame.Angles(0,math.rad(25+1*math.cos(sine/24)),math.rad(45-1*math.sin(sine/24))),.2)
  1848. char:WaitForChild('Torso'):FindFirstChild('Left Shoulder').C0=char:WaitForChild('Torso'):FindFirstChild('Left Shoulder').C0:lerp(CFrame.new(-1,0.5,0)*CFrame.Angles(0,math.rad(-90),0)*CFrame.new(0,0+0.075*math.sin(sine/24),0)*CFrame.Angles(0,math.rad(50-1*math.cos(sine/24)),math.rad(-175+1*math.sin(sine/24))),.2)
  1849. gumweld.C0=gumweld.C0:lerp(CFrame.new(-1.2,-0.3,0.4)*CFrame.Angles(math.rad(70),math.rad(-5),math.rad(85))*CFrame.new(-0.3,0,0)*CFrame.Angles(0,0,math.rad(20)),.2)
  1850. end
  1851. weld:Destroy()
  1852. gren.CanCollide=true
  1853. gren.CFrame=gren.CFrame*CFrame.new(0,0,-2)
  1854. local dis = (gren.Position - MouseHit.p).magnitude
  1855. if dis > 250 then dis = 250 end
  1856. gren.Velocity=CFrame.new(gren.Position,MouseHit.p+Vector3.new(0,50,0)).lookVector*(dis*2)
  1857. local tou
  1858. tou = gren.Touched:connect(function(a)
  1859. if a.Parent~=char and not a:IsDescendantOf(char) then
  1860. tou:Disconnect()
  1861. gren.Velocity=Vector3.new() wait()
  1862. gren.Velocity=Vector3.new(math.random(-25,25),math.random(-25,25),math.random(-25,25))
  1863. end
  1864. end)
  1865. for _=0,1,0.05 do game:GetService("RunService").Heartbeat:Wait()
  1866. if crouch==false then
  1867. char:WaitForChild('HumanoidRootPart'):FindFirstChild('RootJoint').C0=char:WaitForChild('HumanoidRootPart'):FindFirstChild('RootJoint').C0:lerp(CFrame.new(0,0,0)*CFrame.Angles(math.rad(90),math.rad(180),0)*CFrame.new(0,0,0+0.075*math.cos(sine/24))*CFrame.Angles(math.rad(1+1*math.cos(sine/24)),0,math.rad(-60)),.2)
  1868. else
  1869. char:WaitForChild('HumanoidRootPart'):FindFirstChild('RootJoint').C0=char:WaitForChild('HumanoidRootPart'):FindFirstChild('RootJoint').C0:lerp(CFrame.new(0,0,0)*CFrame.Angles(math.rad(90),math.rad(180),0)*CFrame.new(0,0,-1+0.075*math.cos(sine/24))*CFrame.Angles(math.rad(1+1*math.cos(sine/24)),0,math.rad(-60)),.2)
  1870. end
  1871. char:WaitForChild('Torso'):FindFirstChild('Neck').C0=char:WaitForChild('Torso'):FindFirstChild('Neck').C0:lerp(CFrame.new(0,1,0)*CFrame.Angles(math.rad(90),math.rad(180),0)*CFrame.new(0,0,0)*CFrame.Angles(math.rad(2.5-5*math.sin(sine/24)),0,math.rad(60)),.2)
  1872. char:WaitForChild('Torso'):FindFirstChild('Right Shoulder').C0=char:WaitForChild('Torso'):FindFirstChild('Right Shoulder').C0:lerp(CFrame.new(1,0.5,0)*CFrame.Angles(0,math.rad(90),0)*CFrame.new(0,0+0.075*math.sin(sine/24),0)*CFrame.Angles(0,math.rad(25+1*math.cos(sine/24)),math.rad(45-1*math.sin(sine/24))),.2)
  1873. char:WaitForChild('Torso'):FindFirstChild('Left Shoulder').C0=char:WaitForChild('Torso'):FindFirstChild('Left Shoulder').C0:lerp(CFrame.new(-1,0.5,0)*CFrame.Angles(0,math.rad(-90),0)*CFrame.new(0,0+0.075*math.sin(sine/24),0)*CFrame.Angles(0,math.rad(-30-1*math.cos(sine/24)),math.rad(-35+1*math.sin(sine/24))),.2)
  1874. gumweld.C0=gumweld.C0:lerp(CFrame.new(-1.2,-0.3,0.4)*CFrame.Angles(math.rad(70),math.rad(-5),math.rad(85))*CFrame.new(-0.3,0,0)*CFrame.Angles(0,0,math.rad(20)),.2)
  1875. end
  1876. if run and crouch==false then speed=24 elseif run==false and crouch then speed=6 elseif run==false and crouch==false then speed=12 end
  1877. attack=false
  1878. end
  1879. function plasma_shoot()
  1880. MouseHit = Mouse.Hit
  1881. attack=true
  1882. if run and crouch==false then speed=12 elseif run==false and crouch then speed=4 elseif run==false and crouch==false then speed=8 end
  1883. local so = Instance.new("Sound",char:WaitForChild('Head'))
  1884. so.SoundId="rbxassetid://1051194362"
  1885. so.Volume=2
  1886. so.Pitch=1.5
  1887. so.PlayOnRemove=true
  1888. so:Play()
  1889. so:Destroy()
  1890. for _=0,3,0.05 do game:GetService("RunService").Heartbeat:Wait()
  1891. if crouch==false then
  1892. char:WaitForChild('HumanoidRootPart'):FindFirstChild('RootJoint').C0=char:WaitForChild('HumanoidRootPart'):FindFirstChild('RootJoint').C0:lerp(CFrame.new(0,0,0)*CFrame.Angles(math.rad(90),math.rad(180),0)*CFrame.new(0,0,0+0.075*math.cos(sine/24))*CFrame.Angles(math.rad(1+1*math.cos(sine/24)),0,math.rad(-40)),.2)
  1893. else
  1894. char:WaitForChild('HumanoidRootPart'):FindFirstChild('RootJoint').C0=char:WaitForChild('HumanoidRootPart'):FindFirstChild('RootJoint').C0:lerp(CFrame.new(0,0,0)*CFrame.Angles(math.rad(90),math.rad(180),0)*CFrame.new(0,0,-1+0.075*math.cos(sine/24))*CFrame.Angles(math.rad(1+1*math.cos(sine/24)),0,math.rad(-40)),.2)
  1895. end
  1896. char:WaitForChild('Torso'):FindFirstChild('Neck').C0=char:WaitForChild('Torso'):FindFirstChild('Neck').C0:lerp(CFrame.new(0,1,0)*CFrame.Angles(math.rad(90),math.rad(180),0)*CFrame.new(0,0,0)*CFrame.Angles(math.rad(2.5-5*math.sin(sine/24)),0,math.rad(40)),.2)
  1897. char:WaitForChild('Torso'):FindFirstChild('Right Shoulder').C0=char:WaitForChild('Torso'):FindFirstChild('Right Shoulder').C0:lerp(CFrame.new(1,0.5,0)*CFrame.Angles(0,math.rad(90),0)*CFrame.new(0.25,0+0.075*math.sin(sine/24),-0.5)*CFrame.Angles(0,math.rad(40+1*math.cos(sine/24)),math.rad(90-1*math.sin(sine/24))),.2)
  1898. char:WaitForChild('Torso'):FindFirstChild('Left Shoulder').C0=char:WaitForChild('Torso'):FindFirstChild('Left Shoulder').C0:lerp(CFrame.new(-1,0.5,0)*CFrame.Angles(0,math.rad(-90),0)*CFrame.new(-0.75,0+0.075*math.sin(sine/24),-0.5)*CFrame.Angles(0,math.rad(-10-1*math.cos(sine/24)),math.rad(-100+1*math.sin(sine/24))),.2)
  1899. gumweld.C0=gumweld.C0:lerp(CFrame.new(-1.2,-0.3,0.4)*CFrame.Angles(math.rad(70),math.rad(-5),math.rad(85)),.2)
  1900. end
  1901. local bullet = Instance.new("Part",effects)
  1902. bullet.Color=Color3.fromRGB(254,243,187)
  1903. bullet.Material="ForceField"
  1904. bullet.Anchored=true
  1905. bullet.CanCollide=false
  1906. bullet.Shape="Ball"
  1907. bullet.Size=Vector3.new(1.5,1.5,1.5)
  1908. bullet.CFrame=gun.CFrame*CFrame.new(2,0,0)
  1909. local effectpart = Instance.new("Part",bullet)
  1910. effectpart.Anchored=false
  1911. effectpart.CanCollide=false
  1912. effectpart.Size=Vector3.new()
  1913. effectpart.Transparency=1
  1914. local weld = Instance.new("Weld",effectpart) weld.Part0=effectpart weld.Part1=bullet
  1915. local partic1 = Instance.new("ParticleEmitter",effectpart)
  1916. partic1.Color=ColorSequence.new({ColorSequenceKeypoint.new(0,Color3.new(1,0,0)),ColorSequenceKeypoint.new(0.25,Color3.new(0,0,1)),ColorSequenceKeypoint.new(0.75,Color3.new(1,1,0)),ColorSequenceKeypoint.new(1,Color3.new())})
  1917. partic1.LightEmission=1
  1918. partic1.LightInfluence=1
  1919. partic1.Size=NumberSequence.new({NumberSequenceKeypoint.new(0,0),NumberSequenceKeypoint.new(0.05,0.5),NumberSequenceKeypoint.new(1,0)})
  1920. partic1.Texture="rbxassetid://134531274"
  1921. partic1.ZOffset=1
  1922. partic1.Drag=15
  1923. partic1.LockedToPart=true
  1924. partic1.Lifetime=NumberRange.new(0.5)
  1925. partic1.Rate=100
  1926. partic1.Rotation=NumberRange.new(-180,180)
  1927. partic1.Speed=NumberRange.new(1,5)
  1928. partic1.SpreadAngle=Vector2.new(360,360)
  1929. local partic2 = Instance.new("ParticleEmitter",effectpart)
  1930. partic2.Color=ColorSequence.new({ColorSequenceKeypoint.new(0,Color3.new()),ColorSequenceKeypoint.new(0.25,Color3.new(0,0,1)),ColorSequenceKeypoint.new(0.75,Color3.new(1,1,0)),ColorSequenceKeypoint.new(1,Color3.new(1,0,0))})
  1931. partic2.LightEmission=1
  1932. partic2.LightInfluence=1
  1933. partic2.Size=NumberSequence.new({NumberSequenceKeypoint.new(0,0),NumberSequenceKeypoint.new(1,2)})
  1934. partic2.Texture="rbxassetid://527972793"
  1935. partic2.Transparency=NumberSequence.new({NumberSequenceKeypoint.new(0,.75),NumberSequenceKeypoint.new(1,1)})
  1936. partic2.ZOffset=1
  1937. partic2.LockedToPart=true
  1938. partic2.Lifetime=NumberRange.new(1)
  1939. partic2.Rate=5
  1940. partic2.Rotation=NumberRange.new(-180,180)
  1941. partic2.RotSpeed=NumberRange.new(-90,90)
  1942. partic2.Speed=NumberRange.new(0)
  1943. local partic3 = Instance.new("ParticleEmitter",effectpart)
  1944. partic3.Color=ColorSequence.new({ColorSequenceKeypoint.new(0,Color3.new(0,0,1)),ColorSequenceKeypoint.new(0.75,Color3.new(1,1,0)),ColorSequenceKeypoint.new(1,Color3.new())})
  1945. partic3.LightEmission=1
  1946. partic3.LightInfluence=1
  1947. partic3.Size=NumberSequence.new(0.25)
  1948. partic3.Texture="rbxassetid://28010908"
  1949. partic3.Transparency=NumberSequence.new({NumberSequenceKeypoint.new(0,1),NumberSequenceKeypoint.new(0.025,.5+math.random(-.25,.25)),NumberSequenceKeypoint.new(1,1)})
  1950. partic3.ZOffset=1
  1951. partic3.Drag=1
  1952. partic3.VelocityInheritance=1
  1953. partic3.Lifetime=NumberRange.new(2)
  1954. partic3.Rate=100
  1955. partic3.Rotation=NumberRange.new(-180,180)
  1956. partic3.RotSpeed=NumberRange.new(-360,360)
  1957. partic3.Speed=NumberRange.new(1,3)
  1958. partic3.SpreadAngle=Vector2.new(360,360)
  1959. coroutine.resume(coroutine.create(function()
  1960. bullet.CFrame=CFrame.new(bullet.Position,MouseHit.p)
  1961. local hits = 0
  1962. local maxhits = math.random(1,5)
  1963. for _=1,250 do game:GetService("RunService").Heartbeat:Wait()
  1964. local hit,pos,norm = workspace:FindPartOnRayWithIgnoreList(Ray.new(bullet.Position,bullet.CFrame.LookVector.unit*2),{char})
  1965. if hit and (hits>=maxhits or hit.Size == Vector3.new(2,2,1) or hit.Size == Vector3.new(2,2.1,1) or hit.Size == Vector3.new(1,1.105,1) or hit.Size == Vector3.new(1,1.227,1) or hit.Size == Vector3.new(1,1.253,1) or hit.Size == Vector3.new(1,1.277,1) or hit.Size == Vector3.new(1,2,1) or hit.Size == Vector3.new(2,1,1) or hit.Name == "Head" or hit.Name == "Torso" or hit.Name == "Right Arm" or hit.Name == "Left Arm" or hit.Name == "Right Leg" or hit.Name == "Left Leg" or hit.Name == "UpperTorso" or hit.Name == "HumanoidRootPart" or hit.Name == "LowerTorso" or hit.Name == "RightHand" or hit.Name == "LeftHand" or hit.Name == "RightFoot" or hit.Name == "LeftFoot" or hit.Name == "LeftUpperArm" or hit.Name == "LeftLowerArm" or hit.Name == "RightUpperArm" or hit.Name == "RightLowerArm" or hit.Name == "LeftUpperLeg" or hit.Name == "LeftLowerLeg" or hit.Name == "RightUpperLeg" or hit.Name == "RightLowerLeg") then
  1966. break
  1967. elseif hit and hits<maxhits and hit.Size ~= Vector3.new(2,2,1) and hit.Size ~= Vector3.new(2,2.1,1) and hit.Size ~= Vector3.new(1,1.105,1) and hit.Size ~= Vector3.new(1,1.227,1) and hit.Size ~= Vector3.new(1,1.253,1) and hit.Size ~= Vector3.new(1,1.277,1) and hit.Size ~= Vector3.new(1,2,1) and hit.Size ~= Vector3.new(2,1,1) and hit.Name ~= "Head" and hit.Name ~= "Torso" and hit.Name ~= "Right Arm" and hit.Name ~= "Left Arm" and hit.Name ~= "Right Leg" and hit.Name ~= "Left Leg" and hit.Name ~= "UpperTorso" and hit.Name ~= "HumanoidRootPart" and hit.Name ~= "LowerTorso" and hit.Name ~= "RightHand" and hit.Name ~= "LeftHand" and hit.Name ~= "RightFoot" and hit.Name ~= "LeftFoot" and hit.Name ~= "LeftUpperArm" and hit.Name ~= "LeftLowerArm" and hit.Name ~= "RightUpperArm" and hit.Name ~= "RightLowerArm" and hit.Name ~= "LeftUpperLeg" and hit.Name ~= "LeftLowerLeg" and hit.Name ~= "RightUpperLeg" and hit.Name ~= "RightLowerLeg" then
  1968. hits=hits+1
  1969. bullet.CFrame=CFrame.new(pos,pos+(bullet.CFrame.LookVector-2*norm:Dot(bullet.CFrame.LookVector)*norm))
  1970. local ids = {4458751694,4458751342,4458751594,4458751201}
  1971. local so = Instance.new("Sound",bullet)
  1972. so.SoundId="rbxassetid://"..ids[math.random(1,#ids)]
  1973. so.Volume=2
  1974. so.Pitch=2
  1975. so.PlayOnRemove=true
  1976. so:Play()
  1977. so:Destroy()
  1978. elseif (hit and hit.Parent and hit.Parent:IsA'Accessory') or (hit and hit.Parent and hit.Parent:IsA'Hat') then
  1979. hit:Destroy()
  1980. end
  1981. bullet.CFrame=bullet.CFrame*CFrame.new(0,0,-2)
  1982. end
  1983. Aoe(bullet.CFrame,17,"Annihilate")
  1984. local so = Instance.new("Sound",bullet)
  1985. so.SoundId="rbxassetid://4299512779"
  1986. so.Volume=2
  1987. so.Pitch=1
  1988. so.PlayOnRemove=true
  1989. so:Play()
  1990. so:Destroy()
  1991. local so2 = Instance.new("Sound",bullet)
  1992. so2.SoundId="rbxassetid://3750994166"
  1993. so2.Volume=2
  1994. so2.Pitch=1
  1995. so2.PlayOnRemove=true
  1996. so2:Play()
  1997. so2:Destroy()
  1998. local so3 = Instance.new("Sound",bullet)
  1999. so3.SoundId="rbxassetid://4299513168"
  2000. so3.Volume=2
  2001. so3.Pitch=1
  2002. so3.PlayOnRemove=true
  2003. so3:Play()
  2004. so3:Destroy()
  2005. local explosionpart = Instance.new("Part",effects)
  2006. explosionpart.Anchored=true
  2007. explosionpart.CanCollide=false
  2008. explosionpart.Size=Vector3.new()
  2009. explosionpart.Transparency=1
  2010. explosionpart.CFrame=bullet.CFrame
  2011. local partic2 = Instance.new("ParticleEmitter",explosionpart)
  2012. partic2.Color=ColorSequence.new({ColorSequenceKeypoint.new(0,Color3.new(1,1,0)),ColorSequenceKeypoint.new(0.05,Color3.new(1,1,1)),ColorSequenceKeypoint.new(1,Color3.new())})
  2013. partic2.LightEmission=0
  2014. partic2.LightInfluence=1
  2015. partic2.Size=NumberSequence.new({NumberSequenceKeypoint.new(0,5+math.random(-25,25)/10),NumberSequenceKeypoint.new(0.3,10),NumberSequenceKeypoint.new(1,7.5+math.random(-25,25)/10)})
  2016. partic2.Texture="rbxassetid://1946917526"
  2017. partic2.Transparency=NumberSequence.new({NumberSequenceKeypoint.new(0,1),NumberSequenceKeypoint.new(0.025,0.5),NumberSequenceKeypoint.new(1,1)})
  2018. partic2.ZOffset=1
  2019. partic2.Acceleration=Vector3.new(0,5,0)
  2020. partic2.Drag=2
  2021. partic2.Lifetime=NumberRange.new(1,5)
  2022. partic2.Rate=100000000
  2023. partic2.Rotation=NumberRange.new(-180,180)
  2024. partic2.RotSpeed=NumberRange.new(-90,90)
  2025. partic2.Speed=NumberRange.new(10,20)
  2026. partic2.SpreadAngle=Vector2.new(360,360)
  2027. coroutine.resume(coroutine.create(function()
  2028. wait(.2)
  2029. partic2.Enabled=false
  2030. wait(5.1)
  2031. partic2:Destroy()
  2032. end))
  2033. local partic3 = Instance.new("ParticleEmitter",explosionpart)
  2034. partic3.Color=ColorSequence.new({ColorSequenceKeypoint.new(0,Color3.new(0,0,1)),ColorSequenceKeypoint.new(1,Color3.new())})
  2035. partic3.LightEmission=1
  2036. partic3.LightInfluence=1
  2037. partic3.Size=NumberSequence.new({NumberSequenceKeypoint.new(0,0),NumberSequenceKeypoint.new(0.5,10),NumberSequenceKeypoint.new(1,10)})
  2038. partic3.Texture="rbxassetid://2916153928"
  2039. partic3.Transparency=NumberSequence.new({NumberSequenceKeypoint.new(0,0.75),NumberSequenceKeypoint.new(1,1)})
  2040. partic3.ZOffset=2
  2041. partic3.Drag=2
  2042. partic3.Lifetime=NumberRange.new(.5,2)
  2043. partic3.Rate=100000000
  2044. partic3.Rotation=NumberRange.new(-180,180)
  2045. partic3.RotSpeed=NumberRange.new(-180,180)
  2046. partic3.Speed=NumberRange.new(10)
  2047. partic3.SpreadAngle=Vector2.new(360,360)
  2048. coroutine.resume(coroutine.create(function()
  2049. wait(1)
  2050. partic3.Enabled=false
  2051. wait(1.1)
  2052. partic3:Destroy()
  2053. end))
  2054. bullet.Transparency=1
  2055. for _,a in pairs(bullet:GetDescendants()) do
  2056. if a:IsA'ParticleEmitter' then
  2057. a.Enabled=false
  2058. end
  2059. end
  2060. wait(5.1)
  2061. bullet:Destroy()
  2062. explosionpart:Destroy()
  2063. end))
  2064. for _=0,1,0.075 do game:GetService("RunService").Heartbeat:Wait()
  2065. if crouch==false then
  2066. char:WaitForChild('HumanoidRootPart'):FindFirstChild('RootJoint').C0=char:WaitForChild('HumanoidRootPart'):FindFirstChild('RootJoint').C0:lerp(CFrame.new(0,0,0)*CFrame.Angles(math.rad(90),math.rad(180),0)*CFrame.new(0,0,0+0.075*math.cos(sine/24))*CFrame.Angles(math.rad(1+1*math.cos(sine/24)),0,math.rad(-40)),.4)
  2067. else
  2068. char:WaitForChild('HumanoidRootPart'):FindFirstChild('RootJoint').C0=char:WaitForChild('HumanoidRootPart'):FindFirstChild('RootJoint').C0:lerp(CFrame.new(0,0,0)*CFrame.Angles(math.rad(90),math.rad(180),0)*CFrame.new(0,0,-1+0.075*math.cos(sine/24))*CFrame.Angles(math.rad(1+1*math.cos(sine/24)),0,math.rad(-40)),.4)
  2069. end
  2070. char:WaitForChild('Torso'):FindFirstChild('Neck').C0=char:WaitForChild('Torso'):FindFirstChild('Neck').C0:lerp(CFrame.new(0,1,0)*CFrame.Angles(math.rad(90),math.rad(180),0)*CFrame.new(0,0,0)*CFrame.Angles(math.rad(2.5-5*math.sin(sine/24)),0,math.rad(40)),.4)
  2071. char:WaitForChild('Torso'):FindFirstChild('Right Shoulder').C0=char:WaitForChild('Torso'):FindFirstChild('Right Shoulder').C0:lerp(CFrame.new(1,0.5,0)*CFrame.Angles(0,math.rad(90),0)*CFrame.new(-0.25,0+0.075*math.sin(sine/24),0)*CFrame.Angles(0,math.rad(40+1*math.cos(sine/24)),math.rad(90-1*math.sin(sine/24))),.4)
  2072. char:WaitForChild('Torso'):FindFirstChild('Left Shoulder').C0=char:WaitForChild('Torso'):FindFirstChild('Left Shoulder').C0:lerp(CFrame.new(-1,0.5,0)*CFrame.Angles(0,math.rad(-90),0)*CFrame.new(-0.25,0+0.075*math.sin(sine/24),-0.75)*CFrame.Angles(0,math.rad(-10-1*math.cos(sine/24)),math.rad(-100+1*math.sin(sine/24))),.4)
  2073. gumweld.C0=gumweld.C0:lerp(CFrame.new(-1.2,-0.3,0.4)*CFrame.Angles(math.rad(70),math.rad(-5),math.rad(85)),.4)
  2074. end
  2075. if run and crouch==false then speed=24 elseif run==false and crouch then speed=6 elseif run==false and crouch==false then speed=12 end
  2076. attack=false
  2077. end
  2078. plr.Chatted:Connect(function(m)
  2079. if string.find(m,"Hahaha",1) or string.find(m,"hahaha",1) or string.find(m,"Hehehe",1) or string.find(m,"hehehe",1) or string.find(m,"Hehe",1) or string.find(m,"hehe",1) or string.find(m,"Haha",1) or string.find(m,"haha",1) then
  2080. local so = Instance.new("Sound",char:WaitForChild('Head'))
  2081. so.SoundId="rbxassetid://165507936"
  2082. so.Volume=2
  2083. so.Pitch=1
  2084. so.PlayOnRemove=true
  2085. so:Play()
  2086. so:Destroy()
  2087. elseif string.find(m,"Citizen",1) or string.find(m,"citizen",1) then
  2088. local so = Instance.new("Sound",char:WaitForChild('Head'))
  2089. so.SoundId="rbxassetid://176734741"
  2090. so.Volume=2
  2091. so.Pitch=1
  2092. so.PlayOnRemove=true
  2093. so:Play()
  2094. so:Destroy()
  2095. elseif string.find(m,"Amputate",1) or string.find(m,"amputate",1) then
  2096. local so = Instance.new("Sound",char:WaitForChild('Head'))
  2097. so.SoundId="rbxassetid://176734778"
  2098. so.Volume=2
  2099. so.Pitch=1
  2100. so.PlayOnRemove=true
  2101. so:Play()
  2102. so:Destroy()
  2103. elseif string.find(m,"Move along",1) or string.find(m,"move along",1) then
  2104. local so = Instance.new("Sound",char:WaitForChild('Head'))
  2105. so.SoundId="rbxassetid://176734834"
  2106. so.Volume=2
  2107. so.Pitch=1
  2108. so.PlayOnRemove=true
  2109. so:Play()
  2110. so:Destroy()
  2111. elseif string.find(m,"Hold it right there!",1) or string.find(m,"hold it right there!",1) or string.find(m,"Hold it right there",1) or string.find(m,"hold it right there",1) then
  2112. local so = Instance.new("Sound",char:WaitForChild('Head'))
  2113. so.SoundId="rbxassetid://176734691"
  2114. so.Volume=2
  2115. so.Pitch=1
  2116. so.PlayOnRemove=true
  2117. so:Play()
  2118. so:Destroy()
  2119. end
  2120. end)
  2121. hum.Died:connect(function()
  2122. local ids = {4593020878,4593020162,4593018831,4593019496}
  2123. local so = Instance.new("Sound",char:WaitForChild('Head'))
  2124. so.SoundId="rbxassetid://"..ids[math.random(1,#ids)]
  2125. so.Volume=math.random(15,25)/10
  2126. so.Pitch=math.random(95,105)/100
  2127. so.PlayOnRemove=true
  2128. so:Play()
  2129. so:Destroy()
  2130. if char:WaitForChild('HumanoidRootPart') then char:WaitForChild('HumanoidRootPart'):Destroy() end
  2131. local bweld = Instance.new("Weld",blacc) bweld.Part0=blacc bweld.Part1 = helmet bweld.C0=CFrame.new(0,0.1,0.5)*CFrame.Angles(math.rad(-10),0,0)
  2132. local eweld = Instance.new("Weld",eye) eweld.Part0=eye eweld.Part1 = helmet eweld.C0=CFrame.new(0,0.31,-0.065)
  2133. local weld = Instance.new("Weld",p) weld.Part0=p weld.Part1 = char:WaitForChild('Torso') weld.C0=CFrame.new(0,0.8,0)
  2134. eye.Material="SmoothPlastic"
  2135. eye.Color=Color3.new(.5,0,0)
  2136. gun.CanCollide=true
  2137. blacc.CanCollide=true
  2138. helmet.CanCollide=true
  2139. grenade.CanCollide=true
  2140. radio.CanCollide=true
  2141. p.Transparency=1
  2142. p.CanCollide=true
  2143. mus:Destroy()
  2144. for _=1,math.random(8,13) do
  2145. BloodDrop(char:WaitForChild('Torso').CFrame,Vector3.new(math.random(-30,30),math.random(75,150),math.random(-30,30)),math.random(2,5)/10,2,{char},workspace)
  2146. end
  2147. end)
  2148. local heat = hum.Health
  2149. hum.HealthChanged:connect(function() local Health = math.min(hum.Health-heat) if heat-1<-Health then hum.Health = 1 end heat = hum.Health end)
  2150.  
  2151.  
  2152.  
  2153.  
  2154.  
  2155.  
  2156.  
  2157.  
  2158.  
  2159. bambam = Instance.new("BodyThrust")
  2160. bambam.Parent = HumanRoot
  2161. bambam.Force = Vector3.new(0,0,0)
  2162. while true do game:GetService("RunService").Heartbeat:Wait() sine=sine+(2/3)
  2163. hum:SetStateEnabled(Enum.HumanoidStateType.GettingUp,true)
  2164. hum:SetStateEnabled(Enum.HumanoidStateType.Landed,true)
  2165. hum:SetStateEnabled(Enum.HumanoidStateType.Ragdoll,false)
  2166. hum.MaxHealth=150
  2167. if hum.Health < 150 then hum.Health=hum.Health+5 end
  2168. hum.DisplayDistanceType=Enum.HumanoidDisplayDistanceType.None
  2169. hum.WalkSpeed=speed
  2170. hum.JumpPower=50
  2171. hum.PlatformStand=false
  2172. for _,a in pairs(char:GetDescendants()) do
  2173. if a:IsA'BasePart' and a~=eye and a~=blacc and a~=helmet and a~=gun and not a:IsDescendantOf(effects) then
  2174. a.BrickColor=BrickColor.new("Really black")
  2175. a.Color=Color3.new(0,0,0)
  2176. if a.Name == "Head" then
  2177. a.Transparency=1
  2178. end
  2179. elseif a.Name=="Animate" or a:IsA'Animator' or a:IsA'BodyColors' or a:IsA'Accessory' or a:IsA'Hat' or a:IsA'Decal' or a:IsA'ShirtGraphic' and a~=shirt and a~=pants then
  2180. a:Destroy()
  2181. end
  2182. end
  2183. if hum.Sit==true then sit=true else sit=false end
  2184. if char:WaitForChild('HumanoidRootPart') and char:WaitForChild('HumanoidRootPart'):FindFirstChild('RootJoint') and char:WaitForChild('Torso') and char:WaitForChild('Torso'):FindFirstChild('Neck') and char:WaitForChild('Torso'):FindFirstChild('Right Hip') and char:WaitForChild('Torso'):FindFirstChild('Left Hip') and char:WaitForChild('Torso'):FindFirstChild('Right Shoulder') and char:WaitForChild('Torso'):FindFirstChild('Left Shoulder') then
  2185. local h,p = workspace:FindPartOnRay(Ray.new(char:WaitForChild('HumanoidRootPart').Position, (CFrame.new(char:WaitForChild('HumanoidRootPart').Position,char:WaitForChild('HumanoidRootPart').Position+Vector3.new(0,-1,0))).lookVector.unit * 4), char)
  2186. if attack==false then
  2187. bambam.Location = HumanRoot.Position
  2188. HumanRoot.Position = CloneChar.HumanoidRootPart.Position
  2189. HumanRoot.AssemblyAngularVelocity = Vector3.new(0,0,0)
  2190. bambam.Force = Vector3.new(0,0,0)
  2191. if sit==false then
  2192. if (char:WaitForChild('HumanoidRootPart').Velocity * Vector3.new(1, 0, 1)).magnitude < 1 and h ~= nil then
  2193. if crouch then speed=6
  2194. char:WaitForChild('HumanoidRootPart'):FindFirstChild('RootJoint').C0=char:WaitForChild('HumanoidRootPart'):FindFirstChild('RootJoint').C0:lerp(CFrame.new(0,0,0)*CFrame.Angles(math.rad(90),math.rad(180),0)*CFrame.new(0,0,-1+0.075*math.cos(sine/24))*CFrame.Angles(math.rad(5+1*math.cos(sine/24)),0,0),.2)
  2195. char:WaitForChild('Torso'):FindFirstChild('Neck').C0=char:WaitForChild('Torso'):FindFirstChild('Neck').C0:lerp(CFrame.new(0,1,0)*CFrame.Angles(math.rad(90),math.rad(180),0)*CFrame.new(0,0,0)*CFrame.Angles(math.rad(-2.5-5*math.sin(sine/24)),0,0),.2)
  2196. char:WaitForChild('Torso'):FindFirstChild('Right Shoulder').C0=char:WaitForChild('Torso'):FindFirstChild('Right Shoulder').C0:lerp(CFrame.new(1,0.5,0)*CFrame.Angles(0,math.rad(90),0)*CFrame.new(0,0+0.075*math.sin(sine/24),0)*CFrame.Angles(0,math.rad(55+1*math.cos(sine/24)),math.rad(55-1*math.sin(sine/24))),.2)
  2197. char:WaitForChild('Torso'):FindFirstChild('Left Shoulder').C0=char:WaitForChild('Torso'):FindFirstChild('Left Shoulder').C0:lerp(CFrame.new(-1,0.5,0)*CFrame.Angles(0,math.rad(-90),0)*CFrame.new(0,0+0.075*math.sin(sine/24),0)*CFrame.Angles(0,math.rad(-10-1*math.cos(sine/24)),math.rad(-45+1*math.sin(sine/24))),.2)
  2198. char:WaitForChild('Torso'):FindFirstChild('Right Hip').C0=char:WaitForChild('Torso'):FindFirstChild('Right Hip').C0:lerp(CFrame.new(1,-1,0)*CFrame.Angles(0,math.rad(90),0)*CFrame.new(0.25,0-0.075*math.cos(sine/24),0)*CFrame.Angles(math.rad(-5),math.rad(-10),math.rad(-55+1*math.cos(sine/24))),.2)
  2199. char:WaitForChild('Torso'):FindFirstChild('Left Hip').C0=char:WaitForChild('Torso'):FindFirstChild('Left Hip').C0:lerp(CFrame.new(-1,-1,0)*CFrame.Angles(0,math.rad(-90),0)*CFrame.new(-0.5,1-0.075*math.cos(sine/24),0)*CFrame.Angles(math.rad(-5),math.rad(10),math.rad(-5-1*math.cos(sine/24))),.2)
  2200. gumweld.C0=gumweld.C0:lerp(CFrame.new(-1.2,-0.3,0.4)*CFrame.Angles(math.rad(70),math.rad(-5),math.rad(85))*CFrame.new(-0.3,0,0)*CFrame.Angles(0,0,math.rad(20)),.2)
  2201. else
  2202. char:WaitForChild('HumanoidRootPart'):FindFirstChild('RootJoint').C0=char:WaitForChild('HumanoidRootPart'):FindFirstChild('RootJoint').C0:lerp(CFrame.new(0,0,0)*CFrame.Angles(math.rad(90),math.rad(180),0)*CFrame.new(0,0,0+0.075*math.cos(sine/24))*CFrame.Angles(math.rad(1+1*math.cos(sine/24)),0,0),.2)
  2203. char:WaitForChild('Torso'):FindFirstChild('Neck').C0=char:WaitForChild('Torso'):FindFirstChild('Neck').C0:lerp(CFrame.new(0,1,0)*CFrame.Angles(math.rad(90),math.rad(180),0)*CFrame.new(0,0,0)*CFrame.Angles(math.rad(2.5-5*math.sin(sine/24)),0,0),.2)
  2204. char:WaitForChild('Torso'):FindFirstChild('Right Shoulder').C0=char:WaitForChild('Torso'):FindFirstChild('Right Shoulder').C0:lerp(CFrame.new(1,0.5,0)*CFrame.Angles(0,math.rad(90),0)*CFrame.new(0,0+0.075*math.sin(sine/24),0)*CFrame.Angles(0,math.rad(55+1*math.cos(sine/24)),math.rad(55-1*math.sin(sine/24))),.2)
  2205. char:WaitForChild('Torso'):FindFirstChild('Left Shoulder').C0=char:WaitForChild('Torso'):FindFirstChild('Left Shoulder').C0:lerp(CFrame.new(-1,0.5,0)*CFrame.Angles(0,math.rad(-90),0)*CFrame.new(0,0+0.075*math.sin(sine/24),0)*CFrame.Angles(0,math.rad(-10-1*math.cos(sine/24)),math.rad(-45+1*math.sin(sine/24))),.2)
  2206. char:WaitForChild('Torso'):FindFirstChild('Right Hip').C0=char:WaitForChild('Torso'):FindFirstChild('Right Hip').C0:lerp(CFrame.new(1,-1,0)*CFrame.Angles(0,math.rad(90),0)*CFrame.new(0,0-0.075*math.cos(sine/24),0)*CFrame.Angles(math.rad(-1),math.rad(-5),math.rad(1+1*math.cos(sine/24))),.2)
  2207. char:WaitForChild('Torso'):FindFirstChild('Left Hip').C0=char:WaitForChild('Torso'):FindFirstChild('Left Hip').C0:lerp(CFrame.new(-1,-1,0)*CFrame.Angles(0,math.rad(-90),0)*CFrame.new(0,0-0.075*math.cos(sine/24),0)*CFrame.Angles(math.rad(-1),math.rad(5),math.rad(-1-1*math.cos(sine/24))),.2)
  2208. gumweld.C0=gumweld.C0:lerp(CFrame.new(-1.2,-0.3,0.4)*CFrame.Angles(math.rad(70),math.rad(-5),math.rad(85))*CFrame.new(-0.3,0,0)*CFrame.Angles(0,0,math.rad(20)),.2)
  2209. end
  2210. elseif (char:WaitForChild('HumanoidRootPart').Velocity * Vector3.new(1, 0, 1)).magnitude > 1 and h ~= nil then
  2211. if run and crouch==false then speed=24
  2212. char:WaitForChild('HumanoidRootPart'):FindFirstChild('RootJoint').C0=char:WaitForChild('HumanoidRootPart'):FindFirstChild('RootJoint').C0:lerp(CFrame.new(0,0,0)*CFrame.Angles(math.rad(90),math.rad(180+2.5*math.sin(sine/6)),0)*CFrame.new(0,0,0+0.075*math.cos(sine/6))*CFrame.Angles(math.rad(15+2.5*math.cos(sine/6)),math.rad(0-1*math.cos(sine/6)),0),.2)
  2213. char:WaitForChild('Torso'):FindFirstChild('Neck').C0=char:WaitForChild('Torso'):FindFirstChild('Neck').C0:lerp(CFrame.new(0,1,0)*CFrame.Angles(math.rad(90),math.rad(180),0)*CFrame.new(0,0,0)*CFrame.Angles(math.rad(-15-5*math.sin(sine/6)),0,0),.2)
  2214. char:WaitForChild('Torso'):FindFirstChild('Right Shoulder').C0=char:WaitForChild('Torso'):FindFirstChild('Right Shoulder').C0:lerp(CFrame.new(1,0.5,0)*CFrame.Angles(0,math.rad(90),0)*CFrame.new(0,0+0.075*math.sin(sine/6),0)*CFrame.Angles(0,math.rad(55-5*math.sin(sine/6)),math.rad(55+5*math.cos(sine/6))),.2)
  2215. char:WaitForChild('Torso'):FindFirstChild('Left Shoulder').C0=char:WaitForChild('Torso'):FindFirstChild('Left Shoulder').C0:lerp(CFrame.new(-1,0.5,0)*CFrame.Angles(0,math.rad(-90),0)*CFrame.new(0,0+0.075*math.sin(sine/6),0)*CFrame.Angles(0,math.rad(-10-5*math.sin(sine/6)),math.rad(-45-5*math.cos(sine/6))),.2)
  2216. char:WaitForChild('Torso'):FindFirstChild('Right Hip').C0=char:WaitForChild('Torso'):FindFirstChild('Right Hip').C0:lerp(CFrame.new(1,-1,-0.1-0.2*math.cos(sine/6))*CFrame.Angles(0,math.rad(90),0)*CFrame.new(0,0-0.25*math.sin(sine/6),0)*CFrame.Angles(math.rad(-1),math.rad(-5),math.rad(0+40*math.cos(sine/6))),.2)
  2217. char:WaitForChild('Torso'):FindFirstChild('Left Hip').C0=char:WaitForChild('Torso'):FindFirstChild('Left Hip').C0:lerp(CFrame.new(-1,-1,-0.1+0.2*math.cos(sine/6))*CFrame.Angles(0,math.rad(-90),0)*CFrame.new(0,0+0.25*math.sin(sine/6),0)*CFrame.Angles(math.rad(-1),math.rad(5),math.rad(0+40*math.cos(sine/6))),.2)
  2218. elseif run==false and crouch then speed=6
  2219. char:WaitForChild('HumanoidRootPart'):FindFirstChild('RootJoint').C0=char:WaitForChild('HumanoidRootPart'):FindFirstChild('RootJoint').C0:lerp(CFrame.new(0,0,0)*CFrame.Angles(math.rad(90),math.rad(180+2.5*math.sin(sine/24)),0)*CFrame.new(0,0,-1+0.075*math.cos(sine/24))*CFrame.Angles(math.rad(10+2.5*math.cos(sine/24)),math.rad(0-1*math.cos(sine/24)),0),.2)
  2220. char:WaitForChild('Torso'):FindFirstChild('Neck').C0=char:WaitForChild('Torso'):FindFirstChild('Neck').C0:lerp(CFrame.new(0,1,0)*CFrame.Angles(math.rad(90),math.rad(180),0)*CFrame.new(0,0,0)*CFrame.Angles(math.rad(-10-5*math.sin(sine/24)),0,0),.2)
  2221. char:WaitForChild('Torso'):FindFirstChild('Right Shoulder').C0=char:WaitForChild('Torso'):FindFirstChild('Right Shoulder').C0:lerp(CFrame.new(1,0.5,0)*CFrame.Angles(0,math.rad(90),0)*CFrame.new(0,0+0.075*math.sin(sine/24),0)*CFrame.Angles(0,math.rad(55-5*math.sin(sine/24)),math.rad(55+5*math.cos(sine/24))),.2)
  2222. char:WaitForChild('Torso'):FindFirstChild('Left Shoulder').C0=char:WaitForChild('Torso'):FindFirstChild('Left Shoulder').C0:lerp(CFrame.new(-1,0.5,0)*CFrame.Angles(0,math.rad(-90),0)*CFrame.new(0,0+0.075*math.sin(sine/24),0)*CFrame.Angles(0,math.rad(-10-5*math.sin(sine/24)),math.rad(-45-5*math.cos(sine/24))),.2)
  2223. char:WaitForChild('Torso'):FindFirstChild('Right Hip').C0=char:WaitForChild('Torso'):FindFirstChild('Right Hip').C0:lerp(CFrame.new(1,0,-0.1-0.2*math.cos(sine/24))*CFrame.Angles(0,math.rad(90),0)*CFrame.new(0.25,0-0.25*math.sin(sine/24),0)*CFrame.Angles(math.rad(-1),math.rad(-10),math.rad(0+20*math.cos(sine/24))),.2)
  2224. char:WaitForChild('Torso'):FindFirstChild('Left Hip').C0=char:WaitForChild('Torso'):FindFirstChild('Left Hip').C0:lerp(CFrame.new(-1,0,-0.1+0.2*math.cos(sine/24))*CFrame.Angles(0,math.rad(-90),0)*CFrame.new(-0.25,0+0.25*math.sin(sine/24),0)*CFrame.Angles(math.rad(-1),math.rad(10),math.rad(0+20*math.cos(sine/24))),.2)
  2225. elseif run==false and crouch==false then speed=12
  2226. char:WaitForChild('HumanoidRootPart'):FindFirstChild('RootJoint').C0=char:WaitForChild('HumanoidRootPart'):FindFirstChild('RootJoint').C0:lerp(CFrame.new(0,0,0)*CFrame.Angles(math.rad(90),math.rad(180+2.5*math.sin(sine/10)),0)*CFrame.new(0,0,0+0.075*math.cos(sine/10))*CFrame.Angles(math.rad(2.5+2.5*math.cos(sine/10)),math.rad(0-1*math.cos(sine/10)),0),.2)
  2227. char:WaitForChild('Torso'):FindFirstChild('Neck').C0=char:WaitForChild('Torso'):FindFirstChild('Neck').C0:lerp(CFrame.new(0,1,0)*CFrame.Angles(math.rad(90),math.rad(180),0)*CFrame.new(0,0,0)*CFrame.Angles(math.rad(2.5-5*math.sin(sine/10)),0,0),.2)
  2228. char:WaitForChild('Torso'):FindFirstChild('Right Shoulder').C0=char:WaitForChild('Torso'):FindFirstChild('Right Shoulder').C0:lerp(CFrame.new(1,0.5,0)*CFrame.Angles(0,math.rad(90),0)*CFrame.new(0,0+0.075*math.sin(sine/10),0)*CFrame.Angles(0,math.rad(55-5*math.sin(sine/10)),math.rad(55+5*math.cos(sine/10))),.2)
  2229. char:WaitForChild('Torso'):FindFirstChild('Left Shoulder').C0=char:WaitForChild('Torso'):FindFirstChild('Left Shoulder').C0:lerp(CFrame.new(-1,0.5,0)*CFrame.Angles(0,math.rad(-90),0)*CFrame.new(0,0+0.075*math.sin(sine/10),0)*CFrame.Angles(0,math.rad(-10-5*math.sin(sine/10)),math.rad(-45-5*math.cos(sine/10))),.2)
  2230. char:WaitForChild('Torso'):FindFirstChild('Right Hip').C0=char:WaitForChild('Torso'):FindFirstChild('Right Hip').C0:lerp(CFrame.new(1,-1,-0.1-0.2*math.cos(sine/10))*CFrame.Angles(0,math.rad(90),0)*CFrame.new(0,0-0.25*math.sin(sine/10),0)*CFrame.Angles(math.rad(-1),math.rad(-5),math.rad(-5+40*math.cos(sine/10))),.2)
  2231. char:WaitForChild('Torso'):FindFirstChild('Left Hip').C0=char:WaitForChild('Torso'):FindFirstChild('Left Hip').C0:lerp(CFrame.new(-1,-1,-0.1+0.2*math.cos(sine/10))*CFrame.Angles(0,math.rad(-90),0)*CFrame.new(0,0+0.25*math.sin(sine/10),0)*CFrame.Angles(math.rad(-1),math.rad(5),math.rad(5+40*math.cos(sine/10))),.2)
  2232. end
  2233. elseif char:WaitForChild('HumanoidRootPart').Velocity.Y > 1 and h == nil then
  2234. char:WaitForChild('HumanoidRootPart'):FindFirstChild('RootJoint').C0=char:WaitForChild('HumanoidRootPart'):FindFirstChild('RootJoint').C0:lerp(CFrame.new(0,0,0)*CFrame.Angles(math.rad(90),math.rad(180),0)*CFrame.new(0,0,0+0.075*math.cos(sine/12))*CFrame.Angles(math.rad(-10+5*math.cos(sine/12)),0,0),.3)
  2235. char:WaitForChild('Torso'):FindFirstChild('Neck').C0=char:WaitForChild('Torso'):FindFirstChild('Neck').C0:lerp(CFrame.new(0,1,0)*CFrame.Angles(math.rad(90),math.rad(180),0)*CFrame.new(0,0,0)*CFrame.Angles(math.rad(0-5*math.sin(sine/12)),0,0),.3)
  2236. char:WaitForChild('Torso'):FindFirstChild('Right Shoulder').C0=char:WaitForChild('Torso'):FindFirstChild('Right Shoulder').C0:lerp(CFrame.new(1,0.5,0)*CFrame.Angles(0,math.rad(90),0)*CFrame.new(0,0+0.075*math.sin(sine/24),0)*CFrame.Angles(0,math.rad(55+1*math.cos(sine/24)),math.rad(55-1*math.sin(sine/24))),.3)
  2237. char:WaitForChild('Torso'):FindFirstChild('Left Shoulder').C0=char:WaitForChild('Torso'):FindFirstChild('Left Shoulder').C0:lerp(CFrame.new(-1,0.5,0)*CFrame.Angles(0,math.rad(-90),0)*CFrame.new(0,0+0.075*math.sin(sine/24),0)*CFrame.Angles(0,math.rad(-10-1*math.cos(sine/24)),math.rad(-45+1*math.sin(sine/24))),.3)
  2238. char:WaitForChild('Torso'):FindFirstChild('Right Hip').C0=char:WaitForChild('Torso'):FindFirstChild('Right Hip').C0:lerp(CFrame.new(1,-1,0)*CFrame.Angles(0,math.rad(90),0)*CFrame.new(0.5,0.75-0.075*math.cos(sine/12),0)*CFrame.Angles(math.rad(-1),math.rad(-5),math.rad(-20+1*math.cos(sine/12))),.3)
  2239. char:WaitForChild('Torso'):FindFirstChild('Left Hip').C0=char:WaitForChild('Torso'):FindFirstChild('Left Hip').C0:lerp(CFrame.new(-1,-1,0)*CFrame.Angles(0,math.rad(-90),0)*CFrame.new(-0.25,0.25-0.075*math.cos(sine/12),0)*CFrame.Angles(math.rad(-1),math.rad(5),math.rad(10-1*math.cos(sine/12))),.3)
  2240. elseif char:WaitForChild('HumanoidRootPart').Velocity.Y < 1 and h == nil then
  2241. char:WaitForChild('HumanoidRootPart'):FindFirstChild('RootJoint').C0=char:WaitForChild('HumanoidRootPart'):FindFirstChild('RootJoint').C0:lerp(CFrame.new(0,0,0)*CFrame.Angles(math.rad(90),math.rad(180),0)*CFrame.new(0,0,0+0.075*math.cos(sine/12))*CFrame.Angles(math.rad(5+5*math.cos(sine/12)),0,0),.2)
  2242. char:WaitForChild('Torso'):FindFirstChild('Neck').C0=char:WaitForChild('Torso'):FindFirstChild('Neck').C0:lerp(CFrame.new(0,1,0)*CFrame.Angles(math.rad(90),math.rad(180),0)*CFrame.new(0,0,0)*CFrame.Angles(math.rad(5-5*math.sin(sine/12)),0,0),.2)
  2243. char:WaitForChild('Torso'):FindFirstChild('Right Shoulder').C0=char:WaitForChild('Torso'):FindFirstChild('Right Shoulder').C0:lerp(CFrame.new(1,0.5,0)*CFrame.Angles(0,math.rad(90),0)*CFrame.new(0,0+0.075*math.sin(sine/24),0)*CFrame.Angles(0,math.rad(55+1*math.cos(sine/24)),math.rad(55-1*math.sin(sine/24))),.2)
  2244. char:WaitForChild('Torso'):FindFirstChild('Left Shoulder').C0=char:WaitForChild('Torso'):FindFirstChild('Left Shoulder').C0:lerp(CFrame.new(-1,0.5,0)*CFrame.Angles(0,math.rad(-90),0)*CFrame.new(0,0+0.075*math.sin(sine/24),0)*CFrame.Angles(0,math.rad(-10-1*math.cos(sine/24)),math.rad(-45+1*math.sin(sine/24))),.2)
  2245. char:WaitForChild('Torso'):FindFirstChild('Right Hip').C0=char:WaitForChild('Torso'):FindFirstChild('Right Hip').C0:lerp(CFrame.new(1,-1,0)*CFrame.Angles(0,math.rad(90),0)*CFrame.new(0.25,0.5-0.075*math.cos(sine/12),0)*CFrame.Angles(math.rad(-1),math.rad(-5),math.rad(-10+1*math.cos(sine/12))),.2)
  2246. char:WaitForChild('Torso'):FindFirstChild('Left Hip').C0=char:WaitForChild('Torso'):FindFirstChild('Left Hip').C0:lerp(CFrame.new(-1,-1,0)*CFrame.Angles(0,math.rad(-90),0)*CFrame.new(0,0-0.075*math.cos(sine/12),0)*CFrame.Angles(math.rad(-1),math.rad(5),math.rad(5-1*math.cos(sine/12))),.2)
  2247. end
  2248. else
  2249. char:WaitForChild('HumanoidRootPart'):FindFirstChild('RootJoint').C0=char:WaitForChild('HumanoidRootPart'):FindFirstChild('RootJoint').C0:lerp(CFrame.new(0,0,0)*CFrame.Angles(math.rad(90),math.rad(180),0)*CFrame.new(0,0,0+0.075*math.cos(sine/24))*CFrame.Angles(math.rad(1+1*math.cos(sine/24)),0,0),.2)
  2250. char:WaitForChild('Torso'):FindFirstChild('Neck').C0=char:WaitForChild('Torso'):FindFirstChild('Neck').C0:lerp(CFrame.new(0,1,0)*CFrame.Angles(math.rad(90),math.rad(180),0)*CFrame.new(0,0,0)*CFrame.Angles(math.rad(2.5-5*math.sin(sine/24)),0,0),.2)
  2251. char:WaitForChild('Torso'):FindFirstChild('Right Shoulder').C0=char:WaitForChild('Torso'):FindFirstChild('Right Shoulder').C0:lerp(CFrame.new(1,0.5,0)*CFrame.Angles(0,math.rad(90),0)*CFrame.new(0,0+0.075*math.sin(sine/24),0)*CFrame.Angles(0,math.rad(55+1*math.cos(sine/24)),math.rad(55-1*math.sin(sine/24))),.2)
  2252. char:WaitForChild('Torso'):FindFirstChild('Left Shoulder').C0=char:WaitForChild('Torso'):FindFirstChild('Left Shoulder').C0:lerp(CFrame.new(-1,0.5,0)*CFrame.Angles(0,math.rad(-90),0)*CFrame.new(0,0+0.075*math.sin(sine/24),0)*CFrame.Angles(0,math.rad(-10-1*math.cos(sine/24)),math.rad(-45+1*math.sin(sine/24))),.2)
  2253. char:WaitForChild('Torso'):FindFirstChild('Right Hip').C0=char:WaitForChild('Torso'):FindFirstChild('Right Hip').C0:lerp(CFrame.new(1,-1,0)*CFrame.Angles(0,math.rad(90),0)*CFrame.new(0.75,0.25-0.075*math.cos(sine/24),0)*CFrame.Angles(math.rad(-1),math.rad(-5),math.rad(1+1*math.cos(sine/24))),.2)
  2254. char:WaitForChild('Torso'):FindFirstChild('Left Hip').C0=char:WaitForChild('Torso'):FindFirstChild('Left Hip').C0:lerp(CFrame.new(-1,-1,0)*CFrame.Angles(0,math.rad(-90),0)*CFrame.new(-0.75,0.25-0.075*math.cos(sine/24),0)*CFrame.Angles(math.rad(-1),math.rad(5),math.rad(-1-1*math.cos(sine/24))),.2)
  2255. end
  2256. else
  2257. if (char:WaitForChild('HumanoidRootPart').Velocity * Vector3.new(1, 0, 1)).magnitude < 1 and h ~= nil then
  2258. if crouch then
  2259. char:WaitForChild('Torso'):FindFirstChild('Right Hip').C0=char:WaitForChild('Torso'):FindFirstChild('Right Hip').C0:lerp(CFrame.new(1,-1,0)*CFrame.Angles(0,math.rad(90),0)*CFrame.new(0.25,0-0.075*math.cos(sine/24),0)*CFrame.Angles(math.rad(-5),math.rad(-10),math.rad(-55+1*math.cos(sine/24))),.2)
  2260. char:WaitForChild('Torso'):FindFirstChild('Left Hip').C0=char:WaitForChild('Torso'):FindFirstChild('Left Hip').C0:lerp(CFrame.new(-1,-1,0)*CFrame.Angles(0,math.rad(-90),0)*CFrame.new(-0.5,1-0.075*math.cos(sine/24),0)*CFrame.Angles(math.rad(-5),math.rad(10),math.rad(-5-1*math.cos(sine/24))),.2)
  2261. else
  2262. char:WaitForChild('Torso'):FindFirstChild('Right Hip').C0=char:WaitForChild('Torso'):FindFirstChild('Right Hip').C0:lerp(CFrame.new(1,-1,0)*CFrame.Angles(0,math.rad(90),0)*CFrame.new(0,0-0.075*math.cos(sine/24),0)*CFrame.Angles(math.rad(-1),math.rad(-5),math.rad(1+1*math.cos(sine/24))),.2)
  2263. char:WaitForChild('Torso'):FindFirstChild('Left Hip').C0=char:WaitForChild('Torso'):FindFirstChild('Left Hip').C0:lerp(CFrame.new(-1,-1,0)*CFrame.Angles(0,math.rad(-90),0)*CFrame.new(0,0-0.075*math.cos(sine/24),0)*CFrame.Angles(math.rad(-1),math.rad(5),math.rad(-1-1*math.cos(sine/24))),.2)
  2264. end
  2265. elseif (char:WaitForChild('HumanoidRootPart').Velocity * Vector3.new(1, 0, 1)).magnitude > 1 and h ~= nil then
  2266. if run and crouch==false then
  2267. char:WaitForChild('Torso'):FindFirstChild('Right Hip').C0=char:WaitForChild('Torso'):FindFirstChild('Right Hip').C0:lerp(CFrame.new(1,-1,-0.1-0.2*math.cos(sine/6))*CFrame.Angles(0,math.rad(90),0)*CFrame.new(0,0-0.25*math.sin(sine/6),0)*CFrame.Angles(math.rad(-1),math.rad(-5),math.rad(0+40*math.cos(sine/6))),.2)
  2268. char:WaitForChild('Torso'):FindFirstChild('Left Hip').C0=char:WaitForChild('Torso'):FindFirstChild('Left Hip').C0:lerp(CFrame.new(-1,-1,-0.1+0.2*math.cos(sine/6))*CFrame.Angles(0,math.rad(-90),0)*CFrame.new(0,0+0.25*math.sin(sine/6),0)*CFrame.Angles(math.rad(-1),math.rad(5),math.rad(0+40*math.cos(sine/6))),.2)
  2269. elseif run==false and crouch then
  2270. char:WaitForChild('Torso'):FindFirstChild('Right Hip').C0=char:WaitForChild('Torso'):FindFirstChild('Right Hip').C0:lerp(CFrame.new(1,0,-0.1-0.2*math.cos(sine/24))*CFrame.Angles(0,math.rad(90),0)*CFrame.new(0.25,0-0.25*math.sin(sine/24),0)*CFrame.Angles(math.rad(-1),math.rad(-10),math.rad(0+20*math.cos(sine/24))),.2)
  2271. char:WaitForChild('Torso'):FindFirstChild('Left Hip').C0=char:WaitForChild('Torso'):FindFirstChild('Left Hip').C0:lerp(CFrame.new(-1,0,-0.1+0.2*math.cos(sine/24))*CFrame.Angles(0,math.rad(-90),0)*CFrame.new(-0.25,0+0.25*math.sin(sine/24),0)*CFrame.Angles(math.rad(-1),math.rad(10),math.rad(0+20*math.cos(sine/24))),.2)
  2272. elseif run==false and crouch==false then
  2273. char:WaitForChild('Torso'):FindFirstChild('Right Hip').C0=char:WaitForChild('Torso'):FindFirstChild('Right Hip').C0:lerp(CFrame.new(1,-1,-0.1-0.2*math.cos(sine/10))*CFrame.Angles(0,math.rad(90),0)*CFrame.new(0,0-0.25*math.sin(sine/10),0)*CFrame.Angles(math.rad(-1),math.rad(-5),math.rad(-5+40*math.cos(sine/10))),.2)
  2274. char:WaitForChild('Torso'):FindFirstChild('Left Hip').C0=char:WaitForChild('Torso'):FindFirstChild('Left Hip').C0:lerp(CFrame.new(-1,-1,-0.1+0.2*math.cos(sine/10))*CFrame.Angles(0,math.rad(-90),0)*CFrame.new(0,0+0.25*math.sin(sine/10),0)*CFrame.Angles(math.rad(-1),math.rad(5),math.rad(5+40*math.cos(sine/10))),.2)
  2275. end
  2276. elseif char:WaitForChild('HumanoidRootPart').Velocity.Y > 1 and h == nil then
  2277. char:WaitForChild('Torso'):FindFirstChild('Right Hip').C0=char:WaitForChild('Torso'):FindFirstChild('Right Hip').C0:lerp(CFrame.new(1,-1,0)*CFrame.Angles(0,math.rad(90),0)*CFrame.new(0.5,0.75-0.075*math.cos(sine/12),0)*CFrame.Angles(math.rad(-1),math.rad(-5),math.rad(-20+1*math.cos(sine/12))),.3)
  2278. char:WaitForChild('Torso'):FindFirstChild('Left Hip').C0=char:WaitForChild('Torso'):FindFirstChild('Left Hip').C0:lerp(CFrame.new(-1,-1,0)*CFrame.Angles(0,math.rad(-90),0)*CFrame.new(-0.25,0.25-0.075*math.cos(sine/12),0)*CFrame.Angles(math.rad(-1),math.rad(5),math.rad(10-1*math.cos(sine/12))),.3)
  2279. elseif char:WaitForChild('HumanoidRootPart').Velocity.Y < 1 and h == nil then
  2280. char:WaitForChild('Torso'):FindFirstChild('Right Hip').C0=char:WaitForChild('Torso'):FindFirstChild('Right Hip').C0:lerp(CFrame.new(1,-1,0)*CFrame.Angles(0,math.rad(90),0)*CFrame.new(0.25,0.5-0.075*math.cos(sine/12),0)*CFrame.Angles(math.rad(-1),math.rad(-5),math.rad(-10+1*math.cos(sine/12))),.2)
  2281. char:WaitForChild('Torso'):FindFirstChild('Left Hip').C0=char:WaitForChild('Torso'):FindFirstChild('Left Hip').C0:lerp(CFrame.new(-1,-1,0)*CFrame.Angles(0,math.rad(-90),0)*CFrame.new(0,0-0.075*math.cos(sine/12),0)*CFrame.Angles(math.rad(-1),math.rad(5),math.rad(5-1*math.cos(sine/12))),.2)
  2282. end
  2283. end
  2284. end
  2285. end
  2286.  
  2287. for i, part in pairs(FakeCharacter:GetDescendants()) do
  2288. if part:IsA("Part") or part:IsA("MeshPart") then
  2289. part.Transparency = 1
  2290. elseif part:IsA("Accessory") then
  2291. part:Destroy()
  2292. end
  2293. end
  2294. for i = 1,#Accessorys do
  2295. StickAcc(Accessorys[i],FakeCharacter.Head,Vector3.new(0,0,0))
  2296. end
  2297.  
  2298.  
  2299.  
  2300.  
  2301.  
  2302.  
  2303.  
  2304.  
  2305. function StickParts(Part0,Part1,Angle,Position)
  2306. if Part0:FindFirstChildWhichIsA("Weld") then
  2307. Part0:FindFirstChildWhichIsA("Weld"):Destroy()
  2308. Part0:FindFirstChildWhichIsA("SpecialMesh"):Destroy()
  2309. end
  2310. local AlignPos = Instance.new('AlignPosition', Part1)
  2311. AlignPos.ApplyAtCenterOfMass = true;
  2312. AlignPos.MaxForce = 67752;
  2313. AlignPos.MaxVelocity = math.huge/9e110;
  2314. AlignPos.ReactionForceEnabled = false;
  2315. AlignPos.Responsiveness = 200;
  2316. AlignPos.RigidityEnabled = false;
  2317. local AlignOri = Instance.new('AlignOrientation', Part1)
  2318. AlignOri.MaxAngularVelocity = math.huge/9e110;
  2319. AlignOri.MaxTorque = 67752;
  2320. AlignOri.PrimaryAxisOnly = false;
  2321. AlignOri.ReactionTorqueEnabled = false;
  2322. AlignOri.Responsiveness = 200;
  2323. AlignOri.RigidityEnabled = false;
  2324. local AttachmentA=Instance.new('Attachment',Part1)
  2325. local AttachmentB=Instance.new('Attachment',Part0)
  2326. local AttachmentC=Instance.new('Attachment',Part1)
  2327. local AttachmentD=Instance.new('Attachment',Part0)
  2328. AlignPos.Attachment1 = AttachmentA;
  2329. AlignPos.Attachment0 = AttachmentB;
  2330. AlignOri.Attachment1 = AttachmentC;
  2331. AlignOri.Attachment0 = AttachmentD;
  2332. AttachmentC.Orientation = Angle
  2333. Part0.Parent = FakeCharacter
  2334. if Position then
  2335. AttachmentA.Position = Position
  2336. end
  2337. s = game:GetService("RunService").Heartbeat:connect(function()
  2338. Part0.Velocity = Vector3.new(0,35,0)
  2339. end)
  2340. spawn(function()
  2341. while true do
  2342. wait()
  2343. if HumanDied then
  2344. s:Disconnect()
  2345. break
  2346. end
  2347. end
  2348. end)
  2349. end
  2350.  
  2351.  
  2352.  
  2353.  
  2354. Bypass = "death"
  2355. if not Bypass then Bypass = "limbs" end
  2356. HumanDied = false
  2357.  
  2358. CountSCIFIMOVIELOL = 1
  2359. function SCIFIMOVIELOL(Part0,Part1,Position,Angle)
  2360. local AlignPos = Instance.new('AlignPosition', Part1); AlignPos.Name = "AliP_"..CountSCIFIMOVIELOL
  2361. AlignPos.ApplyAtCenterOfMass = true;
  2362. AlignPos.MaxForce = 67752;
  2363. AlignPos.MaxVelocity = math.huge/9e110;
  2364. AlignPos.ReactionForceEnabled = false;
  2365. AlignPos.Responsiveness = 200;
  2366. AlignPos.RigidityEnabled = false;
  2367. local AlignOri = Instance.new('AlignOrientation', Part1); AlignOri.Name = "AliO_"..CountSCIFIMOVIELOL
  2368. AlignOri.MaxAngularVelocity = math.huge/9e110;
  2369. AlignOri.MaxTorque = 67752;
  2370. AlignOri.PrimaryAxisOnly = false;
  2371. AlignOri.ReactionTorqueEnabled = false;
  2372. AlignOri.Responsiveness = 200;
  2373. AlignOri.RigidityEnabled = false;
  2374. local AttachmentA=Instance.new('Attachment',Part1); AttachmentA.Name = "AthP_"..CountSCIFIMOVIELOL
  2375. local AttachmentB=Instance.new('Attachment',Part0); AttachmentB.Name = "AthP_"..CountSCIFIMOVIELOL
  2376. local AttachmentC=Instance.new('Attachment',Part1); AttachmentC.Name = "AthO_"..CountSCIFIMOVIELOL
  2377. local AttachmentD=Instance.new('Attachment',Part0); AttachmentD.Name = "AthO_"..CountSCIFIMOVIELOL
  2378. AttachmentC.Orientation = Angle
  2379. AttachmentA.Position = Position
  2380. AlignPos.Attachment1 = AttachmentA;
  2381. AlignPos.Attachment0 = AttachmentB;
  2382. AlignOri.Attachment1 = AttachmentC;
  2383. AlignOri.Attachment0 = AttachmentD;
  2384. CountSCIFIMOVIELOL = CountSCIFIMOVIELOL + 1
  2385.  
  2386. end
  2387.  
  2388. coroutine.wrap(function()
  2389. local player = game.Players.LocalPlayer
  2390. local char = player.Character or player.CharacterAdded:wait()
  2391. if sethiddenproperty then
  2392. while true do
  2393. game:GetService("RunService").RenderStepped:Wait()
  2394. settings().Physics.AllowSleep = false
  2395. local TBL = game:GetService("Players"):GetChildren()
  2396. for _ = 1,#TBL do local Players = TBL[_]
  2397. if Players ~= game:GetService("Players").LocalPlayer then
  2398. Players.MaximumSimulationRadius = 0
  2399. sethiddenproperty(Players,"SimulationRadius",0)
  2400. end
  2401. end
  2402. game:GetService("Players").LocalPlayer.MaximumSimulationRadius = math.pow(math.huge,math.huge)
  2403. sethiddenproperty(game:GetService("Players").LocalPlayer,"SimulationRadius",math.pow(math.huge,math.huge)*math.huge)
  2404. if HumanDied then break end
  2405. end
  2406. else
  2407. while true do
  2408. game:GetService("RunService").RenderStepped:Wait()
  2409. settings().Physics.AllowSleep = false
  2410. local TBL = game:GetService("Players"):GetChildren()
  2411. for _ = 1,#TBL do local Players = TBL[_]
  2412. if Players ~= game:GetService("Players").LocalPlayer then
  2413. Players.MaximumSimulationRadius = 0
  2414. end
  2415. end
  2416. game:GetService("Players").LocalPlayer.MaximumSimulationRadius = math.pow(math.huge,math.huge)
  2417. if HumanDied then break end
  2418. end
  2419. end
  2420. end)()
  2421.  
  2422. if game:GetService("Players").LocalPlayer.Character.Humanoid.RigType == Enum.HumanoidRigType.R6 then
  2423. if Bypass == "limbs" then --------------------------------------------------------------------------------------------------------------------
  2424. game:GetService("Players").LocalPlayer["Character"].Archivable = true
  2425. local CloneChar = game:GetService("Players").LocalPlayer["Character"]:Clone()
  2426. CloneChar.Parent = workspace
  2427. CloneChar.HumanoidRootPart.CFrame = game:GetService("Players").LocalPlayer["Character"].HumanoidRootPart.CFrame * CFrame.new(0,2,0)
  2428. wait()
  2429. CloneChar.Humanoid.BreakJointsOnDeath = false
  2430. workspace.Camera.CameraSubject = CloneChar.Humanoid
  2431. CloneChar.Name = "non"
  2432. CloneChar.Humanoid.DisplayDistanceType = "None"
  2433. if CloneChar.Head:FindFirstChild("face") then CloneChar.Head:FindFirstChild("face"):Destroy() end
  2434. if workspace[game:GetService("Players").LocalPlayer.Name].Head:FindFirstChild("face") then workspace[game:GetService("Players").LocalPlayer.Name].Head:FindFirstChild("face").Parent = CloneChar.Head end
  2435.  
  2436. local DeadChar = workspace[game:GetService("Players").LocalPlayer.Name]
  2437. DeadChar.HumanoidRootPart:Destroy()
  2438.  
  2439. local LVecPart = Instance.new("Part", workspace) LVecPart.CanCollide = false LVecPart.Transparency = 1
  2440. local CONVEC
  2441. local function VECTORUNIT()
  2442. if HumanDied then CONVEC:Disconnect(); return end
  2443. local lookVec = workspace.Camera.CFrame.lookVector
  2444. local Root = CloneChar["HumanoidRootPart"]
  2445. LVecPart.Position = Root.Position
  2446. LVecPart.CFrame = CFrame.new(LVecPart.Position, Vector3.new(lookVec.X * 9999, lookVec.Y, lookVec.Z * 9999))
  2447. end
  2448. CONVEC = game:GetService("RunService").Heartbeat:Connect(VECTORUNIT)
  2449.  
  2450. local CONDOWN
  2451. local WDown, ADown, SDown, DDown, SpaceDown = false, false, false, false, false
  2452. local function KEYDOWN(_,Processed)
  2453. if HumanDied then CONDOWN:Disconnect(); return end
  2454. if Processed ~= true then
  2455. local Key = _.KeyCode
  2456. if Key == Enum.KeyCode.W then
  2457. WDown = true end
  2458. if Key == Enum.KeyCode.A then
  2459. ADown = true end
  2460. if Key == Enum.KeyCode.S then
  2461. SDown = true end
  2462. if Key == Enum.KeyCode.D then
  2463. DDown = true end
  2464. if Key == Enum.KeyCode.Space then
  2465. SpaceDown = true end end end
  2466. CONDOWN = game:GetService("UserInputService").InputBegan:Connect(KEYDOWN)
  2467.  
  2468. local CONUP
  2469. local function KEYUP(_)
  2470. if HumanDied then CONUP:Disconnect(); return end
  2471. local Key = _.KeyCode
  2472. if Key == Enum.KeyCode.W then
  2473. WDown = false end
  2474. if Key == Enum.KeyCode.A then
  2475. ADown = false end
  2476. if Key == Enum.KeyCode.S then
  2477. SDown = false end
  2478. if Key == Enum.KeyCode.D then
  2479. DDown = false end
  2480. if Key == Enum.KeyCode.Space then
  2481. SpaceDown = false end end
  2482. CONUP = game:GetService("UserInputService").InputEnded:Connect(KEYUP)
  2483.  
  2484. local function MoveClone(X,Y,Z)
  2485. VEL = 1
  2486. LVecPart.CFrame = LVecPart.CFrame * CFrame.new(-X,Y,-Z)
  2487. workspace["non"].Humanoid.WalkToPoint = LVecPart.Position
  2488. wait()
  2489. VEL = 0
  2490. end
  2491.  
  2492. coroutine.wrap(function()
  2493. while true do game:GetService("RunService").RenderStepped:Wait()
  2494. if HumanDied then break end
  2495. if WDown then MoveClone(0,0,1e4) end
  2496. if ADown then MoveClone(1e4,0,0) end
  2497. if SDown then MoveClone(0,0,-1e4) end
  2498. if DDown then MoveClone(-1e4,0,0) end
  2499. if SpaceDown then CloneChar["Humanoid"].Jump = true end
  2500. if WDown ~= true and ADown ~= true and SDown ~= true and DDown ~= true then
  2501. workspace["non"].Humanoid.WalkToPoint = workspace["non"].HumanoidRootPart.Position end
  2502. end
  2503. end)()
  2504.  
  2505. local con
  2506. function UnCollide()
  2507. if HumanDied then con:Disconnect(); return end
  2508. for _,Parts in next, CloneChar:GetDescendants() do
  2509. if Parts:IsA("BasePart") then
  2510. Parts.CanCollide = false
  2511. end
  2512. end
  2513. for _,Parts in next, DeadChar:GetDescendants() do
  2514. if Parts:IsA("BasePart") then
  2515. Parts.CanCollide = false
  2516. end
  2517. end
  2518. end
  2519. con = game:GetService("RunService").Stepped:Connect(UnCollide)
  2520.  
  2521. local resetBindable = Instance.new("BindableEvent")
  2522. resetBindable.Event:connect(function()
  2523. game:GetService("StarterGui"):SetCore("ResetButtonCallback", true)
  2524. resetBindable:Destroy()
  2525. pcall(function()
  2526. CloneChar.Humanoid.Health = 0
  2527. DeadChar.Humanoid.Health = 0
  2528. end)
  2529. end)
  2530. game:GetService("StarterGui"):SetCore("ResetButtonCallback", resetBindable)
  2531.  
  2532. coroutine.wrap(function()
  2533. while true do
  2534. game:GetService("RunService").RenderStepped:wait()
  2535. if not CloneChar or not CloneChar:FindFirstChild("Head") or not CloneChar:FindFirstChild("Humanoid") or CloneChar:FindFirstChild("Humanoid").Health <= 0 or not DeadChar or not DeadChar:FindFirstChild("Head") or not DeadChar:FindFirstChild("Humanoid") or DeadChar:FindFirstChild("Humanoid").Health <= 0 then
  2536. HumanDied = true
  2537. pcall(function()
  2538. game.Players.LocalPlayer.Character = CloneChar
  2539. CloneChar:Destroy()
  2540. game.Players.LocalPlayer.Character = DeadChar
  2541. if resetBindable then
  2542. game:GetService("StarterGui"):SetCore("ResetButtonCallback", true)
  2543. resetBindable:Destroy()
  2544. end
  2545. DeadChar.Humanoid.Health = 0
  2546. end)
  2547. break
  2548. end
  2549. end
  2550. end)()
  2551.  
  2552. SCIFIMOVIELOL(DeadChar["Head"],CloneChar["Head"],Vector3.new(0,0,0),Vector3.new(0,0,0))
  2553. SCIFIMOVIELOL(DeadChar["Torso"],CloneChar["Torso"],Vector3.new(0,0,0),Vector3.new(0,0,0))
  2554. SCIFIMOVIELOL(DeadChar["Left Arm"],CloneChar["Left Arm"],Vector3.new(0,0,0),Vector3.new(0,0,0))
  2555. SCIFIMOVIELOL(DeadChar["Right Arm"],CloneChar["Right Arm"],Vector3.new(0,0,0),Vector3.new(0,0,0))
  2556. SCIFIMOVIELOL(DeadChar["Left Leg"],CloneChar["Left Leg"],Vector3.new(0,0,0),Vector3.new(0,0,0))
  2557. SCIFIMOVIELOL(DeadChar["Right Leg"],CloneChar["Right Leg"],Vector3.new(0,0,0),Vector3.new(0,0,0))
  2558.  
  2559. coroutine.wrap(function()
  2560. while true do
  2561. game:GetService("RunService").RenderStepped:wait()
  2562. if HumanDied then break end
  2563. DeadChar["Torso"].CFrame = CloneChar["Torso"].CFrame
  2564. end
  2565. end)()
  2566.  
  2567. for _,v in next, DeadChar:GetChildren() do
  2568. if v:IsA("Accessory") and table.find(SETHATS,v.Handle) == nil then
  2569. SCIFIMOVIELOL(v.Handle,CloneChar[v.Name].Handle,Vector3.new(0,0,0),Vector3.new(0,0,0))
  2570. end
  2571. end
  2572.  
  2573. for _,BodyParts in next, CloneChar:GetDescendants() do
  2574. if BodyParts:IsA("BasePart") or BodyParts:IsA("Part") then
  2575. BodyParts.Transparency = 1 end end
  2576.  
  2577. DeadChar.Torso["Left Shoulder"]:Destroy()
  2578. DeadChar.Torso["Right Shoulder"]:Destroy()
  2579. DeadChar.Torso["Left Hip"]:Destroy()
  2580. DeadChar.Torso["Right Hip"]:Destroy()
  2581.  
  2582. elseif Bypass == "death" then --------------------------------------------------------------------------------------------------------------------
  2583. game:GetService("Players").LocalPlayer["Character"].Archivable = true
  2584. local CloneChar = game:GetService("Players").LocalPlayer["Character"]:Clone()
  2585. game:GetService("Players").LocalPlayer["Character"].Humanoid.WalkSpeed = 0
  2586. game:GetService("Players").LocalPlayer["Character"].Humanoid.JumpPower = 0
  2587. game:GetService("Players").LocalPlayer["Character"].Humanoid.AutoRotate = false
  2588. local FalseChar = Instance.new("Model", workspace); FalseChar.Name = ""
  2589. Instance.new("Part",FalseChar).Name = "Head"
  2590. Instance.new("Part",FalseChar).Name = "Torso"
  2591. Instance.new("Humanoid",FalseChar).Name = "Humanoid"
  2592. game:GetService("Players").LocalPlayer["Character"] = FalseChar
  2593. game:GetService("Players").LocalPlayer["Character"].Humanoid.Name = "FalseHumanoid"
  2594. local Clone = game:GetService("Players").LocalPlayer["Character"]:FindFirstChild("FalseHumanoid"):Clone()
  2595. Clone.Parent = game:GetService("Players").LocalPlayer["Character"]
  2596. Clone.Name = "Humanoid"
  2597. game:GetService("Players").LocalPlayer["Character"]:FindFirstChild("FalseHumanoid"):Destroy()
  2598. game:GetService("Players").LocalPlayer["Character"].Humanoid.Health = 0
  2599. game:GetService("Players").LocalPlayer["Character"] = workspace[game:GetService("Players").LocalPlayer.Name]
  2600. wait(5.65)
  2601. game:GetService("Players").LocalPlayer["Character"].Humanoid.Health = 0
  2602. CloneChar.Parent = workspace
  2603. CloneChar.HumanoidRootPart.CFrame = game:GetService("Players").LocalPlayer["Character"].HumanoidRootPart.CFrame * CFrame.new(0,2,0)
  2604.  
  2605.  
  2606. StickParts(FakeLimbs["Head"],CloneChar.Head,Vector3.new(0,0,0))
  2607. StickParts(FakeLimbs["Right Arm"],CloneChar["Right Arm"],Vector3.new(90,0,0))
  2608. StickParts(FakeLimbs["Left Arm"],CloneChar["Left Arm"],Vector3.new(90,0,0))
  2609. StickParts(FakeLimbs["Right Leg"],CloneChar["Right Leg"],Vector3.new(90,0,0))
  2610. StickParts(FakeLimbs["Left Leg"],CloneChar["Left Leg"],Vector3.new(90,0,0))
  2611. StickParts(FakeLimbs["Torso1"],CloneChar.Torso,Vector3.new(90,0,0),Vector3.new(0.5,0,0))
  2612. StickParts(FakeLimbs["Torso2"],CloneChar.Torso,Vector3.new(90,0,0),Vector3.new(-0.5,0,0))
  2613.  
  2614.  
  2615. wait()
  2616.  
  2617.  
  2618.  
  2619.  
  2620. CloneChar.Humanoid.BreakJointsOnDeath = false
  2621. workspace.Camera.CameraSubject = CloneChar.Humanoid
  2622. CloneChar.Name = "non"
  2623. CloneChar.Humanoid.DisplayDistanceType = "None"
  2624. if CloneChar.Head:FindFirstChild("face") then CloneChar.Head:FindFirstChild("face"):Destroy() end
  2625. if workspace[game:GetService("Players").LocalPlayer.Name].Head:FindFirstChild("face") then workspace[game:GetService("Players").LocalPlayer.Name].Head:FindFirstChild("face").Parent = CloneChar.Head end
  2626.  
  2627. FalseChar:Destroy()
  2628.  
  2629. local DeadChar = workspace[game:GetService("Players").LocalPlayer.Name]
  2630.  
  2631.  
  2632.  
  2633.  
  2634.  
  2635. for _,v in next, DeadChar:GetChildren() do
  2636. if v:IsA("Accessory") then
  2637. if v.Name == "Lazgewehr-58" then
  2638. GunHat = v.Handle
  2639.  
  2640. elseif v.Name == "AridBadlanderMkII" then
  2641. SoldierHelm = v.Handle
  2642. StickParts(SoldierHelm,CloneChar.Head,Vector3.new(0, 0,0),Vector3.new(0,0.3,0))
  2643. print("lol")
  2644. end
  2645. end
  2646. end
  2647.  
  2648. local LVecPart = Instance.new("Part", workspace) LVecPart.CanCollide = false LVecPart.Transparency = 1
  2649. local CONVEC
  2650. local function VECTORUNIT()
  2651. if HumanDied then CONVEC:Disconnect(); return end
  2652. local lookVec = workspace.Camera.CFrame.lookVector
  2653. local Root = CloneChar["HumanoidRootPart"]
  2654. LVecPart.Position = Root.Position
  2655. LVecPart.CFrame = CFrame.new(LVecPart.Position, Vector3.new(lookVec.X * 9999, lookVec.Y, lookVec.Z * 9999))
  2656. end
  2657. CONVEC = game:GetService("RunService").Heartbeat:Connect(VECTORUNIT)
  2658.  
  2659. local CONDOWN
  2660. local WDown, ADown, SDown, DDown, SpaceDown = false, false, false, false, false
  2661. local function KEYDOWN(_,Processed)
  2662. if HumanDied then CONDOWN:Disconnect(); return end
  2663. if Processed ~= true then
  2664. local Key = _.KeyCode
  2665. if Key == Enum.KeyCode.W then
  2666. WDown = true end
  2667. if Key == Enum.KeyCode.A then
  2668. ADown = true end
  2669. if Key == Enum.KeyCode.S then
  2670. SDown = true end
  2671. if Key == Enum.KeyCode.D then
  2672. DDown = true end
  2673. if Key == Enum.KeyCode.Space then
  2674. SpaceDown = true end end end
  2675. CONDOWN = game:GetService("UserInputService").InputBegan:Connect(KEYDOWN)
  2676.  
  2677. local CONUP
  2678. local function KEYUP(_)
  2679. if HumanDied then CONUP:Disconnect(); return end
  2680. local Key = _.KeyCode
  2681. if Key == Enum.KeyCode.W then
  2682. WDown = false end
  2683. if Key == Enum.KeyCode.A then
  2684. ADown = false end
  2685. if Key == Enum.KeyCode.S then
  2686. SDown = false end
  2687. if Key == Enum.KeyCode.D then
  2688. DDown = false end
  2689. if Key == Enum.KeyCode.Space then
  2690. SpaceDown = false end end
  2691. CONUP = game:GetService("UserInputService").InputEnded:Connect(KEYUP)
  2692.  
  2693. local function MoveClone(X,Y,Z)
  2694. LVecPart.CFrame = LVecPart.CFrame * CFrame.new(-X,Y,-Z)
  2695. workspace["non"].Humanoid.WalkToPoint = LVecPart.Position
  2696. end
  2697.  
  2698. coroutine.wrap(function()
  2699. while true do game:GetService("RunService").RenderStepped:Wait()
  2700. if HumanDied then break end
  2701. if WDown then MoveClone(0,0,1e4) end
  2702. if ADown then MoveClone(1e4,0,0) end
  2703. if SDown then MoveClone(0,0,-1e4) end
  2704. if DDown then MoveClone(-1e4,0,0) end
  2705. if SpaceDown then CloneChar["Humanoid"].Jump = true end
  2706. if WDown ~= true and ADown ~= true and SDown ~= true and DDown ~= true then
  2707. CloneChar.Humanoid.WalkToPoint = CloneChar.HumanoidRootPart.Position end
  2708. end
  2709. end)()
  2710.  
  2711. local con
  2712. function UnCollide()
  2713. if HumanDied then con:Disconnect(); return end
  2714. for _,Parts in next, CloneChar:GetDescendants() do
  2715. if Parts:IsA("BasePart") then
  2716. HumanRoot.CanCollide = false
  2717. Parts.CanCollide = false
  2718. end
  2719. end
  2720. for _,Parts in next, DeadChar:GetDescendants() do
  2721. if Parts:IsA("BasePart") then
  2722. Parts.CanCollide = false
  2723. HumanRoot.CanCollide = false
  2724. end
  2725. end
  2726. end
  2727. con = game:GetService("RunService").Stepped:Connect(UnCollide)
  2728.  
  2729. local resetBindable = Instance.new("BindableEvent")
  2730. resetBindable.Event:connect(function()
  2731. game:GetService("StarterGui"):SetCore("ResetButtonCallback", true)
  2732. resetBindable:Destroy()
  2733. CloneChar.Humanoid.Health = 0
  2734. end)
  2735. game:GetService("StarterGui"):SetCore("ResetButtonCallback", resetBindable)
  2736.  
  2737. coroutine.wrap(function()
  2738. while true do
  2739. game:GetService("RunService").RenderStepped:wait()
  2740. if not CloneChar or not CloneChar:FindFirstChild("Head") or not CloneChar:FindFirstChild("Humanoid") or CloneChar:FindFirstChild("Humanoid").Health <= 0 then
  2741. HumanDied = true
  2742. pcall(function()
  2743. game.Players.LocalPlayer.Character = CloneChar
  2744. CloneChar:Destroy()
  2745. game.Players.LocalPlayer.Character = DeadChar
  2746. if resetBindable then
  2747. game:GetService("StarterGui"):SetCore("ResetButtonCallback", true)
  2748. resetBindable:Destroy()
  2749. end
  2750. DeadChar.Humanoid.Health = 0
  2751. end)
  2752. break
  2753. end
  2754. end
  2755. end)()
  2756.  
  2757.  
  2758.  
  2759. for _,BodyParts in next, CloneChar:GetDescendants() do
  2760. if BodyParts:IsA("BasePart") or BodyParts:IsA("Part") then
  2761. BodyParts.Transparency = 1 end end
  2762. elseif Bypass == "hats" then
  2763. game:GetService("Players").LocalPlayer["Character"].Archivable = true
  2764. local DeadChar = game.Players.LocalPlayer.Character
  2765. DeadChar.Name = "non"
  2766. local HatPosition = Vector3.new(0,0,0)
  2767. local HatName = "MediHood"
  2768. local HatsLimb = {
  2769. Rarm = DeadChar:FindFirstChild("Hat1"),
  2770. Larm = DeadChar:FindFirstChild("Pink Hair"),
  2771. Rleg = DeadChar:FindFirstChild("Robloxclassicred"),
  2772. Lleg = DeadChar:FindFirstChild("Kate Hair"),
  2773. Torso1 = DeadChar:FindFirstChild("Pal Hair"),
  2774. Torso2 = DeadChar:FindFirstChild("LavanderHair")
  2775. }
  2776. HatName = DeadChar:FindFirstChild(HatName)
  2777.  
  2778. coroutine.wrap(function()
  2779. while true do
  2780. game:GetService("RunService").RenderStepped:wait()
  2781. if not DeadChar or not DeadChar:FindFirstChild("Head") or not DeadChar:FindFirstChild("Humanoid") or DeadChar:FindFirstChild("Humanoid").Health <= 0 then
  2782. HumanDied = true
  2783. pcall(function()
  2784. if resetBindable then
  2785. game:GetService("StarterGui"):SetCore("ResetButtonCallback", true)
  2786. resetBindable:Destroy()
  2787. end
  2788. DeadChar.Humanoid.Health = 0
  2789. end)
  2790. break
  2791. end
  2792. end
  2793. end)()
  2794.  
  2795. local con
  2796. function UnCollide()
  2797. if HumanDied then con:Disconnect(); return end
  2798. for _,Parts in next, DeadChar:GetDescendants() do
  2799. if Parts:IsA("BasePart") then
  2800. Parts.CanCollide = false
  2801. end
  2802. end
  2803. end
  2804. con = game:GetService("RunService").Stepped:Connect(UnCollide)
  2805.  
  2806. SCIFIMOVIELOL(HatName.Handle,DeadChar["Head"],Vector3.new(0,0,0),Vector3.new(0,0,0))
  2807. SCIFIMOVIELOL(HatsLimb.Torso1.Handle,DeadChar["Torso"],Vector3.new(0.5,0,0),Vector3.new(90,0,0))
  2808. SCIFIMOVIELOL(HatsLimb.Torso2.Handle,DeadChar["Torso"],Vector3.new(-0.5,0,0),Vector3.new(90,0,0))
  2809. SCIFIMOVIELOL(HatsLimb.Larm.Handle,DeadChar["Left Arm"],Vector3.new(0,0,0),Vector3.new(90,0,0))
  2810. SCIFIMOVIELOL(HatsLimb.Rarm.Handle,DeadChar["Right Arm"],Vector3.new(0,0,0),Vector3.new(90,0,0))
  2811. SCIFIMOVIELOL(HatsLimb.Lleg.Handle,DeadChar["Left Leg"],Vector3.new(0,0,0),Vector3.new(90,0,0))
  2812. SCIFIMOVIELOL(HatsLimb.Rleg.Handle,DeadChar["Right Leg"],Vector3.new(0,0,0),Vector3.new(90,0,0))
  2813.  
  2814.  
  2815.  
  2816.  
  2817.  
  2818.  
  2819. for i,v in pairs(HatsLimb) do
  2820. v.Handle:FindFirstChild("AccessoryWeld"):Destroy()
  2821. if v.Handle:FindFirstChild("Mesh") then v.Handle:FindFirstChild("Mesh"):Destroy() end
  2822. if v.Handle:FindFirstChild("SpecialMesh") then v.Handle:FindFirstChild("SpecialMesh"):Destroy() end
  2823. end
  2824. HatName.Handle:FindFirstChild("AccessoryWeld"):Destroy()
  2825. end
  2826. else
  2827. if Bypass == "limbs" then --------------------------------------------------------------------------------------------------------------------
  2828. game:GetService("Players").LocalPlayer["Character"].Archivable = true
  2829. local CloneChar = game:GetObjects("rbxassetid://5227463276")[1]
  2830. CloneChar.Parent = workspace
  2831. CloneChar.HumanoidRootPart.CFrame = game:GetService("Players").LocalPlayer["Character"].HumanoidRootPart.CFrame * CFrame.new(0,0.5,0.1)
  2832. CloneChar.Humanoid.BreakJointsOnDeath = false
  2833. workspace.Camera.CameraSubject = CloneChar.Humanoid
  2834. CloneChar.Name = "non"
  2835. CloneChar.Humanoid.DisplayDistanceType = "None"
  2836. if CloneChar.Head:FindFirstChild("face") then CloneChar.Head:FindFirstChild("face"):Destroy() end
  2837. if workspace[game:GetService("Players").LocalPlayer.Name].Head:FindFirstChild("face") then workspace[game:GetService("Players").LocalPlayer.Name].Head:FindFirstChild("face").Parent = CloneChar.Head end
  2838.  
  2839. local DeadChar = workspace[game:GetService("Players").LocalPlayer.Name]
  2840. DeadChar.HumanoidRootPart:Destroy()
  2841.  
  2842. local LVecPart = Instance.new("Part", workspace) LVecPart.CanCollide = false LVecPart.Transparency = 1
  2843. local CONVEC
  2844. local function VECTORUNIT()
  2845. if HumanDied then CONVEC:Disconnect(); return end
  2846. local lookVec = workspace.Camera.CFrame.lookVector
  2847. local Root = CloneChar["HumanoidRootPart"]
  2848. LVecPart.Position = Root.Position
  2849. LVecPart.CFrame = CFrame.new(LVecPart.Position, Vector3.new(lookVec.X * 9999, lookVec.Y, lookVec.Z * 9999))
  2850. end
  2851. CONVEC = game:GetService("RunService").Heartbeat:Connect(VECTORUNIT)
  2852.  
  2853. local CONDOWN
  2854. local WDown, ADown, SDown, DDown, SpaceDown = false, false, false, false, false
  2855. local function KEYDOWN(_,Processed)
  2856. if HumanDied then CONDOWN:Disconnect(); return end
  2857. if Processed ~= true then
  2858. local Key = _.KeyCode
  2859. if Key == Enum.KeyCode.W then
  2860. WDown = true end
  2861. if Key == Enum.KeyCode.A then
  2862. ADown = true end
  2863. if Key == Enum.KeyCode.S then
  2864. SDown = true end
  2865. if Key == Enum.KeyCode.D then
  2866. DDown = true end
  2867. if Key == Enum.KeyCode.Space then
  2868. SpaceDown = true end end end
  2869. CONDOWN = game:GetService("UserInputService").InputBegan:Connect(KEYDOWN)
  2870.  
  2871. local CONUP
  2872. local function KEYUP(_)
  2873. if HumanDied then CONUP:Disconnect(); return end
  2874. local Key = _.KeyCode
  2875. if Key == Enum.KeyCode.W then
  2876. WDown = false end
  2877. if Key == Enum.KeyCode.A then
  2878. ADown = false end
  2879. if Key == Enum.KeyCode.S then
  2880. SDown = false end
  2881. if Key == Enum.KeyCode.D then
  2882. DDown = false end
  2883. if Key == Enum.KeyCode.Space then
  2884. SpaceDown = false end end
  2885. CONUP = game:GetService("UserInputService").InputEnded:Connect(KEYUP)
  2886.  
  2887. local function MoveClone(X,Y,Z)
  2888. LVecPart.CFrame = LVecPart.CFrame * CFrame.new(-X,Y,-Z)
  2889. workspace["non"].Humanoid.WalkToPoint = LVecPart.Position
  2890. end
  2891.  
  2892. coroutine.wrap(function()
  2893. while true do game:GetService("RunService").RenderStepped:Wait()
  2894. if HumanDied then break end
  2895. if WDown then MoveClone(0,0,1e4) end
  2896. if ADown then MoveClone(1e4,0,0) end
  2897. if SDown then MoveClone(0,0,-1e4) end
  2898. if DDown then MoveClone(-1e4,0,0) end
  2899. if SpaceDown then CloneChar["Humanoid"].Jump = true end
  2900. if WDown ~= true and ADown ~= true and SDown ~= true and DDown ~= true then
  2901. workspace["non"].Humanoid.WalkToPoint = workspace["non"].HumanoidRootPart.Position end
  2902. end
  2903. end)()
  2904.  
  2905. local con
  2906. function UnCollide()
  2907. if HumanDied then con:Disconnect(); return end
  2908. for _,Parts in next, CloneChar:GetDescendants() do
  2909. if Parts:IsA("BasePart") then
  2910. Parts.CanCollide = false
  2911. end
  2912. end
  2913. for _,Parts in next, DeadChar:GetDescendants() do
  2914. if Parts:IsA("BasePart") then
  2915. Parts.CanCollide = false
  2916. end
  2917. end
  2918. end
  2919. con = game:GetService("RunService").Stepped:Connect(UnCollide)
  2920.  
  2921. local resetBindable = Instance.new("BindableEvent")
  2922. resetBindable.Event:connect(function()
  2923. game:GetService("StarterGui"):SetCore("ResetButtonCallback", true)
  2924. resetBindable:Destroy()
  2925. CloneChar.Humanoid.Health = 0
  2926. end)
  2927. game:GetService("StarterGui"):SetCore("ResetButtonCallback", resetBindable)
  2928.  
  2929. coroutine.wrap(function()
  2930. while true do
  2931. game:GetService("RunService").RenderStepped:wait()
  2932. if not CloneChar or not CloneChar:FindFirstChild("Head") or not CloneChar:FindFirstChild("Humanoid") or CloneChar:FindFirstChild("Humanoid").Health <= 0 or not DeadChar or not DeadChar:FindFirstChild("Head") or not DeadChar:FindFirstChild("Humanoid") or DeadChar:FindFirstChild("Humanoid").Health <= 0 then
  2933. HumanDied = true
  2934. pcall(function()
  2935. game.Players.LocalPlayer.Character = CloneChar
  2936. CloneChar:Destroy()
  2937. game.Players.LocalPlayer.Character = DeadChar
  2938. if resetBindable then
  2939. game:GetService("StarterGui"):SetCore("ResetButtonCallback", true)
  2940. resetBindable:Destroy()
  2941. end
  2942. DeadChar.Humanoid.Health = 0
  2943. end)
  2944. break
  2945. end
  2946. end
  2947. end)()
  2948.  
  2949. for _,v in next, DeadChar:GetChildren() do
  2950. if v:IsA("Accessory") then
  2951. v:Clone().Parent = CloneChar
  2952. end
  2953. end
  2954.  
  2955. for _,v in next, DeadChar:GetDescendants() do
  2956. if v:IsA("Motor6D") and v.Name ~= "Neck" then
  2957. v:Destroy()
  2958. end
  2959. end
  2960.  
  2961. SCIFIMOVIELOL(DeadChar["Head"],CloneChar["Head"],Vector3.new(0,0,0),Vector3.new(0,0,0))
  2962. SCIFIMOVIELOL(DeadChar["UpperTorso"],CloneChar["Torso"],Vector3.new(0,0.2,0),Vector3.new(0,0,0))
  2963. SCIFIMOVIELOL(DeadChar["LowerTorso"],CloneChar["Torso"],Vector3.new(0,-0.78,0),Vector3.new(0,0,0))
  2964. SCIFIMOVIELOL(DeadChar["LeftUpperArm"],CloneChar["Left Arm"],Vector3.new(0,0.375,0),Vector3.new(0,0,0))
  2965. SCIFIMOVIELOL(DeadChar["LeftLowerArm"],CloneChar["Left Arm"],Vector3.new(0,-0.215,0),Vector3.new(0,0,0))
  2966. SCIFIMOVIELOL(DeadChar["LeftHand"],CloneChar["Left Arm"],Vector3.new(0,-0.825,0),Vector3.new(0,0,0))
  2967. SCIFIMOVIELOL(DeadChar["RightUpperArm"],CloneChar["Right Arm"],Vector3.new(0,0.375,0),Vector3.new(0,0,0))
  2968. SCIFIMOVIELOL(DeadChar["RightLowerArm"],CloneChar["Right Arm"],Vector3.new(0,-0.215,0),Vector3.new(0,0,0))
  2969. SCIFIMOVIELOL(DeadChar["RightHand"],CloneChar["Right Arm"],Vector3.new(0,-0.825,0),Vector3.new(0,0,0))
  2970.  
  2971. SCIFIMOVIELOL(DeadChar["LeftUpperLeg"],CloneChar["Left Leg"],Vector3.new(0,0.575,0),Vector3.new(0,0,0))
  2972. SCIFIMOVIELOL(DeadChar["LeftLowerLeg"],CloneChar["Left Leg"],Vector3.new(0,-0.137,0),Vector3.new(0,0,0))
  2973. SCIFIMOVIELOL(DeadChar["LeftFoot"],CloneChar["Left Leg"],Vector3.new(0,-0.787,0),Vector3.new(0,0,0))
  2974. SCIFIMOVIELOL(DeadChar["RightUpperLeg"],CloneChar["Right Leg"],Vector3.new(0,0.575,0),Vector3.new(0,0,0))
  2975. SCIFIMOVIELOL(DeadChar["RightLowerLeg"],CloneChar["Right Leg"],Vector3.new(0,-0.137,0),Vector3.new(0,0,0))
  2976. SCIFIMOVIELOL(DeadChar["RightFoot"],CloneChar["Right Leg"],Vector3.new(0,-0.787,0),Vector3.new(0,0,0))
  2977.  
  2978. coroutine.wrap(function()
  2979. while true do
  2980. game:GetService("RunService").RenderStepped:wait()
  2981. if HumanDied then break end
  2982. DeadChar["UpperTorso"].CFrame = CloneChar["Torso"].CFrame * CFrame.new(0,0.2,0)
  2983. end
  2984. end)()
  2985.  
  2986. for _,v in next, DeadChar:GetChildren() do
  2987. if v:IsA("Accessory") then
  2988. SCIFIMOVIELOL(v.Handle,CloneChar[v.Name].Handle,Vector3.new(0,0,0),Vector3.new(0,0,0))
  2989. end
  2990. end
  2991.  
  2992. for _,BodyParts in next, CloneChar:GetDescendants() do
  2993. if BodyParts:IsA("BasePart") or BodyParts:IsA("Part") then
  2994. BodyParts.Transparency = 1 end end
  2995.  
  2996. elseif Bypass == "death" then --------------------------------------------------------------------------------------------------------------------
  2997. game:GetService("Players").LocalPlayer["Character"].Archivable = true
  2998. local CloneChar = game:GetObjects("rbxassetid://5227463276")[1]
  2999. game:GetService("Players").LocalPlayer["Character"].Humanoid.WalkSpeed = 0
  3000. game:GetService("Players").LocalPlayer["Character"].Humanoid.JumpPower = 0
  3001. game:GetService("Players").LocalPlayer["Character"].Humanoid.AutoRotate = false
  3002. local FalseChar = Instance.new("Model", workspace); FalseChar.Name = ""
  3003. Instance.new("Part",FalseChar).Name = "Head"
  3004. Instance.new("Part",FalseChar).Name = "UpperTorso"
  3005. Instance.new("Humanoid",FalseChar).Name = "Humanoid"
  3006. game:GetService("Players").LocalPlayer["Character"] = FalseChar
  3007. game:GetService("Players").LocalPlayer["Character"].Humanoid.Name = "FalseHumanoid"
  3008. local Clone = game:GetService("Players").LocalPlayer["Character"]:FindFirstChild("FalseHumanoid"):Clone()
  3009. Clone.Parent = game:GetService("Players").LocalPlayer["Character"]
  3010. Clone.Name = "Humanoid"
  3011. game:GetService("Players").LocalPlayer["Character"]:FindFirstChild("FalseHumanoid"):Destroy()
  3012. game:GetService("Players").LocalPlayer["Character"].Humanoid.Health = 0
  3013. game:GetService("Players").LocalPlayer["Character"] = workspace[game:GetService("Players").LocalPlayer.Name]
  3014. wait(5.65)
  3015. game:GetService("Players").LocalPlayer["Character"].Humanoid.Health = 0
  3016. CloneChar.Parent = workspace
  3017. CloneChar.HumanoidRootPart.CFrame = game:GetService("Players").LocalPlayer["Character"].HumanoidRootPart.CFrame * CFrame.new(0,0.5,0.1)
  3018. wait()
  3019. CloneChar.Humanoid.BreakJointsOnDeath = false
  3020. workspace.Camera.CameraSubject = CloneChar.Humanoid
  3021. CloneChar.Name = "non"
  3022. CloneChar.Humanoid.DisplayDistanceType = "None"
  3023. if CloneChar.Head:FindFirstChild("face") then CloneChar.Head:FindFirstChild("face"):Destroy() end
  3024. if workspace[game:GetService("Players").LocalPlayer.Name].Head:FindFirstChild("face") then workspace[game:GetService("Players").LocalPlayer.Name].Head:FindFirstChild("face").Parent = CloneChar.Head end
  3025.  
  3026. FalseChar:Destroy()
  3027.  
  3028. local DeadChar = workspace[game:GetService("Players").LocalPlayer.Name]
  3029.  
  3030. local LVecPart = Instance.new("Part", workspace) LVecPart.CanCollide = false LVecPart.Transparency = 1
  3031. local CONVEC
  3032. local function VECTORUNIT()
  3033. if HumanDied then CONVEC:Disconnect(); return end
  3034. local lookVec = workspace.Camera.CFrame.lookVector
  3035. local Root = CloneChar["HumanoidRootPart"]
  3036. LVecPart.Position = Root.Position
  3037. LVecPart.CFrame = CFrame.new(LVecPart.Position, Vector3.new(lookVec.X * 9999, lookVec.Y, lookVec.Z * 9999))
  3038. end
  3039. CONVEC = game:GetService("RunService").Heartbeat:Connect(VECTORUNIT)
  3040.  
  3041. local CONDOWN
  3042. local WDown, ADown, SDown, DDown, SpaceDown = false, false, false, false, false
  3043. local function KEYDOWN(_,Processed)
  3044. if HumanDied then CONDOWN:Disconnect(); return end
  3045. if Processed ~= true then
  3046. local Key = _.KeyCode
  3047. if Key == Enum.KeyCode.W then
  3048. WDown = true end
  3049. if Key == Enum.KeyCode.A then
  3050. ADown = true end
  3051. if Key == Enum.KeyCode.S then
  3052. SDown = true end
  3053. if Key == Enum.KeyCode.D then
  3054. DDown = true end
  3055. if Key == Enum.KeyCode.Space then
  3056. SpaceDown = true end end end
  3057. CONDOWN = game:GetService("UserInputService").InputBegan:Connect(KEYDOWN)
  3058.  
  3059. local CONUP
  3060. local function KEYUP(_)
  3061. if HumanDied then CONUP:Disconnect(); return end
  3062. local Key = _.KeyCode
  3063. if Key == Enum.KeyCode.W then
  3064. WDown = false end
  3065. if Key == Enum.KeyCode.A then
  3066. ADown = false end
  3067. if Key == Enum.KeyCode.S then
  3068. SDown = false end
  3069. if Key == Enum.KeyCode.D then
  3070. DDown = false end
  3071. if Key == Enum.KeyCode.Space then
  3072. SpaceDown = false end end
  3073. CONUP = game:GetService("UserInputService").InputEnded:Connect(KEYUP)
  3074.  
  3075. local function MoveClone(X,Y,Z)
  3076. LVecPart.CFrame = LVecPart.CFrame * CFrame.new(-X,Y,-Z)
  3077. workspace["non"].Humanoid.WalkToPoint = LVecPart.Position
  3078. end
  3079.  
  3080. coroutine.wrap(function()
  3081. while true do game:GetService("RunService").RenderStepped:Wait()
  3082. if HumanDied then break end
  3083. if WDown then MoveClone(0,0,1e4) end
  3084. if ADown then MoveClone(1e4,0,0) end
  3085. if SDown then MoveClone(0,0,-1e4) end
  3086. if DDown then MoveClone(-1e4,0,0) end
  3087. if SpaceDown then CloneChar["Humanoid"].Jump = true end
  3088. if WDown ~= true and ADown ~= true and SDown ~= true and DDown ~= true then
  3089. workspace["non"].Humanoid.WalkToPoint = workspace["non"].HumanoidRootPart.Position end
  3090. end
  3091. end)()
  3092.  
  3093. local con
  3094. function UnCollide()
  3095. if HumanDied then con:Disconnect(); return end
  3096. for _,Parts in next, CloneChar:GetDescendants() do
  3097. if Parts:IsA("BasePart") then
  3098. Parts.CanCollide = false
  3099. end
  3100. end
  3101. for _,Parts in next, DeadChar:GetDescendants() do
  3102. if Parts:IsA("BasePart") then
  3103. Parts.CanCollide = false
  3104. end
  3105. end
  3106. end
  3107. con = game:GetService("RunService").Stepped:Connect(UnCollide)
  3108.  
  3109. local resetBindable = Instance.new("BindableEvent")
  3110. resetBindable.Event:connect(function()
  3111. game:GetService("StarterGui"):SetCore("ResetButtonCallback", true)
  3112. resetBindable:Destroy()
  3113. CloneChar.Humanoid.Health = 0
  3114. end)
  3115. game:GetService("StarterGui"):SetCore("ResetButtonCallback", resetBindable)
  3116.  
  3117. coroutine.wrap(function()
  3118. while true do
  3119. game:GetService("RunService").RenderStepped:wait()
  3120. if not CloneChar or not CloneChar:FindFirstChild("Head") or not CloneChar:FindFirstChild("Humanoid") or CloneChar:FindFirstChild("Humanoid").Health <= 0 then
  3121. HumanDied = true
  3122. pcall(function()
  3123. game.Players.LocalPlayer.Character = CloneChar
  3124. CloneChar:Destroy()
  3125. game.Players.LocalPlayer.Character = DeadChar
  3126. if resetBindable then
  3127. game:GetService("StarterGui"):SetCore("ResetButtonCallback", true)
  3128. resetBindable:Destroy()
  3129. end
  3130. DeadChar.Humanoid.Health = 0
  3131. end)
  3132. break
  3133. end
  3134. end
  3135. end)()
  3136.  
  3137. for _,v in next, DeadChar:GetChildren() do
  3138. if v:IsA("Accessory") then
  3139. v:Clone().Parent = CloneChar
  3140. end
  3141. end
  3142.  
  3143. SCIFIMOVIELOL(DeadChar["Head"],CloneChar["Head"],Vector3.new(0,0,0),Vector3.new(0,0,0))
  3144. SCIFIMOVIELOL(DeadChar["UpperTorso"],CloneChar["Torso"],Vector3.new(0,0.2,0),Vector3.new(0,0,0))
  3145. SCIFIMOVIELOL(DeadChar["LowerTorso"],CloneChar["Torso"],Vector3.new(0,-0.78,0),Vector3.new(0,0,0))
  3146. SCIFIMOVIELOL(DeadChar["LeftUpperArm"],CloneChar["Left Arm"],Vector3.new(0,0.375,0),Vector3.new(0,0,0))
  3147. SCIFIMOVIELOL(DeadChar["LeftLowerArm"],CloneChar["Left Arm"],Vector3.new(0,-0.215,0),Vector3.new(0,0,0))
  3148. SCIFIMOVIELOL(DeadChar["LeftHand"],CloneChar["Left Arm"],Vector3.new(0,-0.825,0),Vector3.new(0,0,0))
  3149. SCIFIMOVIELOL(DeadChar["RightUpperArm"],CloneChar["Right Arm"],Vector3.new(0,0.375,0),Vector3.new(0,0,0))
  3150. SCIFIMOVIELOL(DeadChar["RightLowerArm"],CloneChar["Right Arm"],Vector3.new(0,-0.215,0),Vector3.new(0,0,0))
  3151. SCIFIMOVIELOL(DeadChar["RightHand"],CloneChar["Right Arm"],Vector3.new(0,-0.825,0),Vector3.new(0,0,0))
  3152.  
  3153. SCIFIMOVIELOL(DeadChar["LeftUpperLeg"],CloneChar["Left Leg"],Vector3.new(0,0.575,0),Vector3.new(0,0,0))
  3154. SCIFIMOVIELOL(DeadChar["LeftLowerLeg"],CloneChar["Left Leg"],Vector3.new(0,-0.137,0),Vector3.new(0,0,0))
  3155. SCIFIMOVIELOL(DeadChar["LeftFoot"],CloneChar["Left Leg"],Vector3.new(0,-0.787,0),Vector3.new(0,0,0))
  3156. SCIFIMOVIELOL(DeadChar["RightUpperLeg"],CloneChar["Right Leg"],Vector3.new(0,0.575,0),Vector3.new(0,0,0))
  3157. SCIFIMOVIELOL(DeadChar["RightLowerLeg"],CloneChar["Right Leg"],Vector3.new(0,-0.137,0),Vector3.new(0,0,0))
  3158. SCIFIMOVIELOL(DeadChar["RightFoot"],CloneChar["Right Leg"],Vector3.new(0,-0.787,0),Vector3.new(0,0,0))
  3159.  
  3160. SCIFIMOVIELOL(DeadChar["HumanoidRootPart"],CloneChar["HumanoidRootPart"],Vector3.new(0,0,0),Vector3.new(0,0,0))
  3161.  
  3162. for _,v in next, DeadChar:GetChildren() do
  3163. if v:IsA("Accessory") then
  3164. SCIFIMOVIELOL(v.Handle,CloneChar[v.Name].Handle,Vector3.new(0,0,0),Vector3.new(0,0,0))
  3165. end
  3166. end
  3167.  
  3168. for _,BodyParts in next, CloneChar:GetDescendants() do
  3169. if BodyParts:IsA("BasePart") or BodyParts:IsA("Part") then
  3170. BodyParts.Transparency = 1 end end
  3171. if DeadChar.Head:FindFirstChild("Neck") then
  3172. game.Players.LocalPlayer.Character:BreakJoints()
  3173. end
  3174. end
  3175. end
  3176. FakeLimbs["Head"].Transparency = 1
  3177.  
  3178.  
  3179.  
  3180.  
  3181.  
  3182. local CloneChar = workspace.non
  3183. s = game:GetService("RunService").Heartbeat:connect(function()
  3184. game.Players.LocalPlayer.Character.HumanoidRootPart.Velocity = Vector3.new(0,35,0)
  3185. end)
  3186. task.spawn(function()
  3187. while true do
  3188. wait()
  3189. if HumanDied == true then
  3190. s:Disconnect()
  3191. break
  3192. end
  3193. end
  3194. end)
  3195. local SHOW = Instance.new("SelectionBox",workspace)
  3196. SHOW.Adornee = game.Players.LocalPlayer.Character.HumanoidRootPart
  3197.  
  3198.  
  3199.  
  3200.  
  3201.  
  3202.  
  3203.  
  3204.  
  3205.  
  3206.  
  3207.  
  3208.  
  3209.  
  3210.  
  3211.  
  3212.  
  3213.  
  3214.  
  3215.  
  3216.  
  3217.  
  3218.  
  3219.  
  3220. wait(1/30)
  3221. local plr =game.Players.LocalPlayer
  3222. local char = CloneChar
  3223. local hum = char:FindFirstChildWhichIsA('Humanoid')
  3224. local sit,run,crouch = false,false,false
  3225. local repeatkey = false
  3226. local repeatmouse = false
  3227. local MouseHit,MouseTarget,CCFrame,CCordFrame = nil,nil,nil,nil
  3228. local sine = 0
  3229. local attack=false
  3230. local speed = 12
  3231. local effects = Instance.new("Folder",char)
  3232. hum.MaxHealth=150
  3233. hum.Health=150
  3234. local Mouse = plr:GetMouse()
  3235.  
  3236. local Shooting = true
  3237. Mouse.Button1Up:Connect(function()
  3238. Shooting = false
  3239. end)
  3240. Mouse.Button1Down:Connect(function()
  3241. Shooting = true
  3242. repeat
  3243. shoot()
  3244. until Shooting == false
  3245. end)
  3246. Mouse.KeyDown:Connect(function(key)
  3247. if key == "c" then
  3248. if crouch == true then
  3249. crouch = false
  3250. else
  3251. crouch = true
  3252. end
  3253. elseif key == "e" then
  3254. plasma_shoot()
  3255. elseif key == "r" then
  3256. grenadethrow()
  3257. elseif key == "q" then
  3258. if run == true then
  3259. run = false
  3260. else
  3261. run = true
  3262. end
  3263. end
  3264. end)
  3265.  
  3266. for _,a in pairs(char:GetDescendants()) do
  3267. if a:IsA'BasePart' then
  3268. a.BrickColor=BrickColor.new("Really black")
  3269. a.Color=Color3.new(0,0,0)
  3270. if a.Name == "Head" then
  3271. a.Transparency=1
  3272. end
  3273. elseif a.Name=="Animate" or a:IsA'Animator' or a:IsA'BodyColors' or a:IsA'Accessory' or a:IsA'Hat' or a:IsA'Decal' or a:IsA'ShirtGraphic' or a:IsA'Pants' or a:IsA'Shirt' or a:IsA'CharacterMesh' then
  3274. a:Destroy()
  3275. end
  3276. end
  3277. local mus = Instance.new("Sound",char:WaitForChild('Torso'))
  3278. mus.SoundId="rbxassetid://4814569349"
  3279. mus.Volume=1.5
  3280. mus.Pitch=1
  3281. mus.Looped=true
  3282. mus:Play()
  3283. local helmet = Instance.new("Part",char:WaitForChild('Head'))
  3284. helmet.Size=Vector3.new(1.25,1.25,1.25)
  3285. helmet.CanCollide=false
  3286. helmet.Name="Elite Combine Helmet"
  3287. local mesh = Instance.new("SpecialMesh",helmet)
  3288. mesh.MeshType="FileMesh"
  3289. mesh.MeshId="rbxassetid://480000024"
  3290. mesh.TextureId="rbxassetid://480143411"
  3291. mesh.Scale=Vector3.new(0.001525,0.001275,0.0013)
  3292. local eye = Instance.new("Part",helmet) Instance.new("SpecialMesh",eye).MeshType="Sphere"
  3293. eye.Color=Color3.new(1,0,0)
  3294. eye.Material="Neon"
  3295. eye.Size=Vector3.new(0.4,0.4,0.4)
  3296. eye.CanCollide=false
  3297. eye.Name="Neon Eye"
  3298. local blacc = Instance.new("Part",helmet) Instance.new("SpecialMesh",blacc).MeshType="Sphere"
  3299. blacc.Color=Color3.new(0,0,0)
  3300. blacc.Material="Neon"
  3301. blacc.Size=Vector3.new(1.05,1.35,0.5)
  3302. blacc.CanCollide=false
  3303. local bweld = Instance.new("Weld",blacc) bweld.Part0=blacc bweld.Part1 = helmet bweld.C0=CFrame.new(0,0.1,0.5)*CFrame.Angles(math.rad(-10),0,0)
  3304. local eweld = Instance.new("Weld",eye) eweld.Part0=eye eweld.Part1 = helmet eweld.C0=CFrame.new(0,0.31,-0.065)
  3305. local weld = Instance.new("Weld",helmet) weld.Part0=helmet weld.Part1 = char:WaitForChild('Head') weld.C0=CFrame.new(0,0.1,0)*CFrame.Angles(math.rad(90),math.rad(180),0)
  3306. local shirt = Instance.new("Shirt",char)
  3307. shirt.ShirtTemplate="http://www.roblox.com/asset/?id=252315488"
  3308. local pants = Instance.new("Pants",char)
  3309. pants.PantsTemplate="http://www.roblox.com/asset/?id=252315501"
  3310.  
  3311.  
  3312.  
  3313. if GunHat then
  3314. gun.Transparency = 1
  3315. end
  3316.  
  3317. if SoldierHelm then
  3318. eye.Transparency = 1
  3319. helmet.Transparency = 1
  3320. end
  3321.  
  3322. local mesh = Instance.new("SpecialMesh",gun)
  3323. mesh.MeshType="FileMesh"
  3324. mesh.MeshId="rbxassetid://433818517"
  3325. mesh.TextureId="rbxassetid://433818528"
  3326. mesh.Scale=Vector3.new(0.615,0.7,0.675)
  3327. local gumweld = Instance.new("Weld",gun) gumweld.Part0=gun gumweld.Part1 = char:WaitForChild('Right Arm') gumweld.C0=CFrame.new(-1.2,-0.3,0.4)*CFrame.Angles(math.rad(70),math.rad(-5),math.rad(85))
  3328. local p = Instance.new("Part",char)
  3329.  
  3330.  
  3331.  
  3332.  
  3333. StickParts(GunHat,gun,Vector3.new(0.55, -0.59, 45.67),Vector3.new(0,0,0))
  3334.  
  3335.  
  3336.  
  3337.  
  3338.  
  3339. p.Color=Color3.new()
  3340. p.CanCollide=false
  3341. p.Size=Vector3.new(2.1,0.25,1.1)
  3342. p.Name="Things"
  3343. p.Material="Neon"
  3344. local weld = Instance.new("Weld",p) weld.Part0=p weld.Part1 = char:WaitForChild('Torso') weld.C0=CFrame.new(0,0.8,0)
  3345. local grenade = Instance.new("Part",workspace) local mesh = Instance.new("SpecialMesh",grenade) mesh.MeshType="FileMesh" mesh.MeshId="rbxassetid://548193107" mesh.TextureId="rbxassetid://926040988" mesh.Scale=Vector3.new(.1,.1,.1)
  3346. grenade.Size=Vector3.new(.5,1,.5)
  3347. grenade.CanCollide=true
  3348. local weld = Instance.new("Weld",grenade) weld.Part0=grenade weld.Part1=p weld.C0=CFrame.new(0.5,-0.25,-0.75)*CFrame.Angles(math.rad(-5),0,math.rad(-20))
  3349. local radio = Instance.new("Part",p) local mesh = Instance.new("SpecialMesh",radio) mesh.MeshType="FileMesh" mesh.MeshId="rbxassetid://2269958061" mesh.TextureId="rbxassetid://2269958743" mesh.Scale=Vector3.new(.075,.075,.075) mesh.Offset=Vector3.new(0,0,-.05)
  3350. radio.Size=Vector3.new(.25,2.5,.5)
  3351. radio.CanCollide=false
  3352. local weld = Instance.new("Weld",radio) weld.Part0=radio weld.Part1=p weld.C0=CFrame.new(1.15,-0.75,0.15)*CFrame.Angles(math.rad(15),math.rad(180),math.rad(5))
  3353. local fromaxisangle = function(x, y, z) -- credit to phantom forces devs
  3354. if not y then
  3355. x, y, z = x.x, x.y, x.z
  3356. end
  3357. local m = (x * x + y * y + z * z) ^ 0.5
  3358. if m > 1.0E-5 then
  3359. local si = math.sin(m / 2) / m
  3360. return CFrame.new(0, 0, 0, si * x, si * y, si * z, math.cos(m / 2))
  3361. else
  3362. return CFrame.new()
  3363. end
  3364. end
  3365. function fakePhysics(elapsed,cframe,velocity,rotation,acceleration) -- credit to nebula
  3366. local pos = cframe.p
  3367. local matrix = cframe-pos
  3368. return fromaxisangle(elapsed*rotation)*matrix+pos+elapsed*velocity+elapsed*elapsed*acceleration
  3369. end
  3370. function CastRay(startPos,endPos,range,ignoreList)
  3371. local ray = Ray.new(startPos,(endPos-startPos).unit*range)
  3372. local part,pos,norm = workspace:FindPartOnRayWithIgnoreList(ray,ignoreList or {},false,true)
  3373. return part,pos,norm,(pos and (startPos-pos).magnitude)
  3374. end
  3375. function MakeRD(who,power,t,h,f,customend)
  3376. for _,a in pairs(who:GetDescendants()) do
  3377. coroutine.resume(coroutine.create(function()
  3378. if a:IsA'Motor6D' or a:IsA'Motor' or a:IsA'VelocityMotor' or a.Name=="LeftAnkle" or a.Name=="LeftWrist" or a.Name=="LeftElbow" or a.Name=="LeftKnee" or a.Name=="LeftShoulder" or a.Name=="LeftHip" or a.Name=="Root" or a.Name=="RightAnkle" or a.Name=="RightWrist" or a.Name=="RightElbow" or a.Name=="RightKnee" or a.Name=="RightShoulder" or a.Name=="RightHip" or a.Name=="Waist" or a.Name=="Neck" or a.Name=="Left Hip" or a.Name==" Left Shoulder" or a.Name=="Right Hip" or a.Name=="Right Shoulder" or a.Name=="RootJoint" then
  3379. if t==true and h==false and f==false and a.Name ~= "Waist" and a.Name ~= "Left Hip" and a.Name ~= "Right Hip" then
  3380. local ainfo = {a.C0,a.C1,a.Parent,a.Part0,a.Part1,a.Name}
  3381. local h=Instance.new("BallSocketConstraint",ainfo[3]) h.Name=ainfo[6]
  3382. h.LimitsEnabled=true h.TwistUpperAngle=135 h.TwistLimitsEnabled=true h.TwistLowerAngle=-135 h.TwistUpperAngle=135
  3383. local a1=Instance.new("Attachment",ainfo[4]) a1.CFrame=ainfo[1]
  3384. local a2=Instance.new("Attachment",ainfo[5]) a2.CFrame=ainfo[2]
  3385. h.Attachment0=a1 h.Attachment1=a2
  3386. elseif t==false and h==true and f==false and a.Name ~= "Neck" then
  3387. local ainfo = {a.C0,a.C1,a.Parent,a.Part0,a.Part1,a.Name}
  3388. local h=Instance.new("BallSocketConstraint",ainfo[3]) h.Name=ainfo[6]
  3389. h.LimitsEnabled=true h.TwistUpperAngle=135 h.TwistLimitsEnabled=true h.TwistLowerAngle=-135 h.TwistUpperAngle=135
  3390. local a1=Instance.new("Attachment",ainfo[4]) a1.CFrame=ainfo[1]
  3391. local a2=Instance.new("Attachment",ainfo[5]) a2.CFrame=ainfo[2]
  3392. h.Attachment0=a1 h.Attachment1=a2
  3393. elseif h==true and t==true and f==false and a.Name ~= "Neck" and a.Name ~= "Waist" and a.Name ~= "Left Hip" and a.Name ~= "Right Hip" then
  3394. local ainfo = {a.C0,a.C1,a.Parent,a.Part0,a.Part1,a.Name}
  3395. local h=Instance.new("BallSocketConstraint",ainfo[3]) h.Name=ainfo[6]
  3396. h.LimitsEnabled=true h.TwistUpperAngle=135 h.TwistLimitsEnabled=true h.TwistLowerAngle=-135 h.TwistUpperAngle=135
  3397. local a1=Instance.new("Attachment",ainfo[4]) a1.CFrame=ainfo[1]
  3398. local a2=Instance.new("Attachment",ainfo[5]) a2.CFrame=ainfo[2]
  3399. h.Attachment0=a1 h.Attachment1=a2
  3400. elseif t==false and h==false and f==false then
  3401. local ainfo = {a.C0,a.C1,a.Parent,a.Part0,a.Part1,a.Name}
  3402. local h=Instance.new("BallSocketConstraint",ainfo[3]) h.Name=ainfo[6]
  3403. h.LimitsEnabled=true h.TwistUpperAngle=135 h.TwistLimitsEnabled=true h.TwistLowerAngle=-135 h.TwistUpperAngle=135
  3404. local a1=Instance.new("Attachment",ainfo[4]) a1.CFrame=ainfo[1]
  3405. local a2=Instance.new("Attachment",ainfo[5]) a2.CFrame=ainfo[2]
  3406. h.Attachment0=a1 h.Attachment1=a2
  3407. elseif f==true and a.Name ~= "Neck" and a.Name ~= "Left Hip" and a.Name ~= "Right Hip" and a.Name ~= "LeftHip" and a.Name ~= "RightHip" and a.Name ~= "LeftShoulder" and a.Name ~= "RightShoulder" and a.Name ~= "Left Shoulder" and a.Name ~= "Right Shoulder" then
  3408. local ainfo = {a.C0,a.C1,a.Parent,a.Part0,a.Part1,a.Name}
  3409. local h=Instance.new("BallSocketConstraint",ainfo[3]) h.Name=ainfo[6]
  3410. h.LimitsEnabled=true h.TwistUpperAngle=135 h.TwistLimitsEnabled=true h.TwistLowerAngle=-135 h.TwistUpperAngle=135
  3411. local a1=Instance.new("Attachment",ainfo[4]) a1.CFrame=ainfo[1]
  3412. local a2=Instance.new("Attachment",ainfo[5]) a2.CFrame=ainfo[2]
  3413. h.Attachment0=a1 h.Attachment1=a2
  3414. end
  3415. a:Destroy()
  3416. elseif a:IsA'Humanoid' then a.BreakJointsOnDeath=false a.MaxHealth=nil a.Health=nil a.PlatformStand=true
  3417. elseif a:IsA'BasePart' then
  3418. if a.Size == Vector3.new(2,2,1) or a.Size == Vector3.new(2,2.1,1) or a.Size == Vector3.new(1,1.105,1) or a.Size == Vector3.new(1,1.227,1) or a.Size == Vector3.new(1,1.253,1) or a.Size == Vector3.new(1,1.277,1) or a.Size == Vector3.new(1,2,1) or a.Size == Vector3.new(2,1,1) or a.Name == "Head" or a.Name == "Torso" or a.Name == "Right Arm" or a.Name == "Left Arm" or a.Name == "Right Leg" or a.Name == "Left Leg" or a.Name == "RightArm" or a.Name == "LeftArm" or a.Name == "RightLeg" or a.Name == "LeftLeg" or a.Name == "UpperTorso" or a.Name == "HumanoidRootPart" or a.Name == "LowerTorso" or a.Name == "RightHand" or a.Name == "LeftHand" or a.Name == "RightFoot" or a.Name == "LeftFoot" or a.Name == "LeftUpperArm" or a.Name == "LeftLowerArm" or a.Name == "RightUpperArm" or a.Name == "RightLowerArm" or a.Name == "LeftUpperLeg" or a.Name == "LeftLowerLeg" or a.Name == "RightUpperLeg" or a.Name == "RightLowerLeg" then
  3419. spawn(function() a.Anchored=false a.CanCollide=true a.Velocity=Vector3.new(math.random(-power,power),math.random((power/3),(power*1.5)),math.random(-power,power)) while a~=nil do game:GetService("RunService").Heartbeat:Wait() a.Anchored=false a.CanCollide=true end end)
  3420. spawn(function() local bv = Instance.new("BodyVelocity") bv.maxForce = Vector3.new(1000000000, 1000000000, 1000000000) bv.velocity = Vector3.new(math.random(-power,power),math.random((power/3),(power*1.5)),math.random(-power,power)) bv.Parent = a wait(0.06) bv:Destroy() end)
  3421. if a.Name=="HumanoidRootPart" then a:Destroy() end end
  3422. end
  3423. end))
  3424. end
  3425. coroutine.resume(coroutine.create(function()while who~=nil do game:GetService("RunService").Heartbeat:Wait() if who:FindFirstChildOfClass'Humanoid' then local h=who:FindFirstChildOfClass'Humanoid' h.BreakJointsOnDeath=false h.MaxHealth=nil h.Health=nil h.PlatformStand=true end end end))
  3426. if customend == false then
  3427. wait(math.random(15,60))
  3428. if who then
  3429. for _,a in pairs(who:GetDescendants()) do
  3430. coroutine.resume(coroutine.create(function()
  3431. if a:IsA'BasePart' then
  3432. for i=1,50 do wait()
  3433. a.Transparency=a.Transparency+1/50
  3434. end
  3435. a:BreakJoints()
  3436. a:Destroy()
  3437. end
  3438. end))
  3439. end
  3440. end
  3441. end
  3442. end
  3443. local blpr = Instance.new("Part") Instance.new("SpecialMesh",blpr).MeshType="Sphere"
  3444. blpr.Color=Color3.fromRGB(117,0,0)
  3445. blpr.Material="Glass"
  3446. blpr.Anchored=true
  3447. blpr.CanCollide=false
  3448. blpr.Locked=true
  3449. blpr.Size=Vector3.new(.25,.25,.5)
  3450.  
  3451. local blprpl = Instance.new("ParticleEmitter",blpr)
  3452. blprpl.Color=ColorSequence.new(Color3.fromRGB(165,0,0))
  3453. blprpl.LightInfluence=0
  3454. blprpl.Size=NumberSequence.new({NumberSequenceKeypoint.new(0,0.5+math.random(-.25,.25)),NumberSequenceKeypoint.new(1,0)})
  3455. blprpl.Texture="rbxassetid://134531274"
  3456. blprpl.Transparency=NumberSequence.new(0.25)
  3457. blprpl.ZOffset=1
  3458. blprpl.Acceleration=Vector3.new(0,-5,0)
  3459. blprpl.Drag=-2
  3460. blprpl.VelocityInheritance=2
  3461. blprpl.EmissionDirection="Front"
  3462. blprpl.Lifetime=NumberRange.new(0.25,0.75)
  3463. blprpl.Rate=100
  3464. blprpl.Rotation=NumberRange.new(-180,180)
  3465. blprpl.RotSpeed=NumberRange.new(-60,60)
  3466. blprpl.Speed=NumberRange.new(1,3)
  3467. blprpl.SpreadAngle=Vector2.new(5,5)
  3468. blprpl.Name="Blood"
  3469. local blood = Instance.new("ParticleEmitter")
  3470. blood.Color=ColorSequence.new(Color3.fromRGB(165,0,0))
  3471. blood.LightInfluence=0
  3472. blood.Size=NumberSequence.new({NumberSequenceKeypoint.new(0,0.5+math.random(-.25,.25)),NumberSequenceKeypoint.new(1,0)})
  3473. blood.Texture="rbxassetid://134531274"
  3474. blood.Transparency=NumberSequence.new(0.25)
  3475. blood.ZOffset=1
  3476. blood.Acceleration=Vector3.new(0,-20,0)
  3477. blood.EmissionDirection="Front"
  3478. blood.Lifetime=NumberRange.new(0.25,1.75)
  3479. blood.Rate=1000000000
  3480. blood.Speed=NumberRange.new(5,14)
  3481. blood.SpreadAngle=Vector2.new(360,360)
  3482. blood.Name="Blood"
  3483. function BloodDrop(where,vel,siz,lt,ignor,parent)
  3484. coroutine.resume(coroutine.create(function()
  3485. local bl=blpr:Clone() bl.Transparency=math.random(5,45)/100 bl.Parent=parent bl.Size=Vector3.new(siz,siz,siz*2)
  3486. bl:WaitForChild'Blood'.Size=NumberSequence.new({NumberSequenceKeypoint.new(0,siz+math.random(-0.25,0.25)),NumberSequenceKeypoint.new(1,0)})
  3487. local StartTravel = tick()
  3488. local startTick = tick()
  3489. coroutine.wrap(function()
  3490. while bl~=nil do
  3491. local elapsed = tick()-startTick
  3492. local trElapsed = tick()-StartTravel
  3493. if(elapsed>lt)then
  3494. bl:destroy();
  3495. break
  3496. end
  3497. local newCF = fakePhysics(trElapsed,where,vel,Vector3.new(),Vector3.new(0,-workspace.Gravity,0))
  3498. local nextCF = fakePhysics(trElapsed+.05,where,vel,Vector3.new(),Vector3.new(0,-workspace.Gravity,0))
  3499. local dist = (bl.Position-newCF.p).magnitude
  3500. local hit,pos,norm = CastRay(bl.Position,newCF.p,dist,ignor)
  3501. bl.CFrame = CFrame.new(newCF.p,nextCF.p)
  3502. if hit and hit.CanCollide then
  3503. local pb = Instance.new("Part",parent) Instance.new("SpecialMesh",pb).MeshType="Cylinder" pb.Name='BloodEffect'
  3504. pb.Size=Vector3.new(0.01,bl.Size.Y*2,bl.Size.Y*2) pb.CFrame=CFrame.new(pos,pos+norm)*CFrame.Angles(0,math.rad(90),0)
  3505. pb.Anchored=false pb.CanCollide=false pb.Color=Color3.fromRGB(117,0,0) pb.Material="Glass" pb.Transparency=bl.Transparency
  3506. local w=Instance.new("ManualWeld")w.Part0=hit w.Part1=pb w.C0=CFrame.new(0,0,0) w.C1=pb.CFrame:inverse()*hit.CFrame w.Parent = pb
  3507. spawn(function() local bll = blood:Clone() bll.Parent=pb bll.Size=NumberSequence.new({NumberSequenceKeypoint.new(0,siz+math.random(-0.25,0.25)),NumberSequenceKeypoint.new(1,0)}) bll.Enabled=true wait(0.01) bll.Enabled=false wait(2)bll:Destroy() end)
  3508. spawn(function()
  3509. for i=1,5 do game:GetService("RunService").Heartbeat:Wait()
  3510. pb.Size=pb.Size+Vector3.new(0,(bl.Size.Y*2)/5,(bl.Size.Y*2)/5)
  3511. end
  3512. wait(math.random(3,15))
  3513. local random=math.random(25,100)
  3514. local tran = (1-pb.Transparency)
  3515. for i=1,random do game:GetService("RunService").Heartbeat:Wait()
  3516. pb.Transparency=pb.Transparency+tran/random
  3517. pb.Size=pb.Size-Vector3.new(0,(bl.Size.Y*3)/random,(bl.Size.Y*3)/random)
  3518. end
  3519. if pb then pb:Destroy() end
  3520. end)
  3521. bl.Transparency=1 bl:WaitForChild'Blood'.Enabled=false
  3522. break
  3523. end
  3524. game:GetService("RunService").Heartbeat:Wait()
  3525. end
  3526. wait(1.76)
  3527. if bl then bl:Destroy() end
  3528. end)()
  3529. end))
  3530. end
  3531. function reg(where,range,ignor)
  3532. return workspace:FindPartsInRegion3WithIgnoreList(Region3.new(where-Vector3.new(1,1,1)*range/2,where+Vector3.new(1,1,1)*range/2),ignor,100)
  3533. end
  3534. function Kill(who,typ)
  3535. coroutine.resume(coroutine.create(function()
  3536. if who.Parent ~= char and who.Parent ~= effects and who ~= char and who ~= effects and who ~= script and who.Parent ~= script and who.Name ~= "Ietahuoy" then
  3537. bambam.Force = Vector3.new(500,0,500)
  3538. if typ=="Annihilate" then
  3539. attack = true
  3540. for i = 1,12 do
  3541.  
  3542. wait()
  3543. HumanRoot.Position = who.HumanoidRootPart.Position
  3544. end
  3545. attack = false
  3546. elseif (typ==nil or not typ=="Annihilate") and who:FindFirstChild("KilledBy"..plr.Name) == nil then
  3547. attack = true
  3548. for i = 1,12 do
  3549. wait()
  3550. HumanRoot.Position = who.HumanoidRootPart.Position
  3551. end
  3552. attack = false
  3553. end
  3554. end
  3555. end))
  3556. end
  3557. function Aoe(where,range,typ)
  3558. coroutine.resume(coroutine.create(function()
  3559. if where ~= nil then
  3560. if typeof(where) == "CFrame"then where=where.p end
  3561. local Killed={}
  3562. for _,a in next, reg(where,range,{char}) do
  3563. if (not Killed[a] and a.Parent ~= CFrame and a.Parent ~= effects and a ~= char and a ~= effects and a ~= script and a.Parent ~= script and a.Name ~= "Base" and a.Name ~= "Baseplate") and a:IsA'BasePart' then
  3564. if a and a.Parent ~= nil and (a.Parent:IsA("Model") or a.Parent.ClassName == "Model" or a.Parent:IsA("Folder") or a.Parent.ClassName == "Folder") and a.Size == Vector3.new(2,2,1) or a.Size == Vector3.new(2,2.1,1) or a.Size == Vector3.new(1,1.105,1) or a.Size == Vector3.new(1,1.227,1) or a.Size == Vector3.new(1,1.253,1) or a.Size == Vector3.new(1,1.277,1) or a.Size == Vector3.new(1,2,1) or a.Size == Vector3.new(2,1,1) or a.Name == "Head" or a.Name == "Torso" or a.Name == "Right Arm" or a.Name == "Left Arm" or a.Name == "Right Leg" or a.Name == "Left Leg" or a.Name == "UpperTorso" or a.Name == "HumanoidRootPart" or a.Name == "LowerTorso" or a.Name == "RightHand" or a.Name == "LeftHand" or a.Name == "RightFoot" or a.Name == "LeftFoot" or a.Name == "LeftUpperArm" or a.Name == "LeftLowerArm" or a.Name == "RightUpperArm" or a.Name == "RightLowerArm" or a.Name == "LeftUpperLeg" or a.Name == "LeftLowerLeg" or a.Name == "RightUpperLeg" or a.Name == "RightLowerLeg" then
  3565. Killed[a]=true
  3566. Kill(a.Parent,typ)
  3567. end
  3568. end
  3569. end
  3570. end
  3571. end))
  3572. end
  3573. function shoot()
  3574. attack=true
  3575. local MouseHit = Mouse.Hit
  3576. if run and crouch==false then speed=12 elseif run==false and crouch then speed=4 elseif run==false and crouch==false then speed=8 end
  3577. repeat
  3578. for _=0,0.5,0.1 do game:GetService("RunService").Heartbeat:Wait()
  3579. if crouch==false then
  3580. char:WaitForChild('HumanoidRootPart'):FindFirstChild('RootJoint').C0=char:WaitForChild('HumanoidRootPart'):FindFirstChild('RootJoint').C0:lerp(CFrame.new(0,0,0)*CFrame.Angles(math.rad(90),math.rad(180),0)*CFrame.new(0,0,0+0.075*math.cos(sine/24))*CFrame.Angles(math.rad(1+1*math.cos(sine/24)),0,math.rad(-40)),.2)
  3581. else
  3582. char:WaitForChild('HumanoidRootPart'):FindFirstChild('RootJoint').C0=char:WaitForChild('HumanoidRootPart'):FindFirstChild('RootJoint').C0:lerp(CFrame.new(0,0,0)*CFrame.Angles(math.rad(90),math.rad(180),0)*CFrame.new(0,0,-1+0.075*math.cos(sine/24))*CFrame.Angles(math.rad(1+1*math.cos(sine/24)),0,math.rad(-40)),.2)
  3583. end
  3584. char:WaitForChild('Torso'):FindFirstChild('Neck').C0=char:WaitForChild('Torso'):FindFirstChild('Neck').C0:lerp(CFrame.new(0,1,0)*CFrame.Angles(math.rad(90),math.rad(180),0)*CFrame.new(0,0,0)*CFrame.Angles(math.rad(2.5-5*math.sin(sine/24)),0,math.rad(40)),.2)
  3585. char:WaitForChild('Torso'):FindFirstChild('Right Shoulder').C0=char:WaitForChild('Torso'):FindFirstChild('Right Shoulder').C0:lerp(CFrame.new(1,0.5,0)*CFrame.Angles(0,math.rad(90),0)*CFrame.new(0.25,0+0.075*math.sin(sine/24),-0.5)*CFrame.Angles(0,math.rad(40+1*math.cos(sine/24)),math.rad(90-1*math.sin(sine/24))),.2)
  3586. char:WaitForChild('Torso'):FindFirstChild('Left Shoulder').C0=char:WaitForChild('Torso'):FindFirstChild('Left Shoulder').C0:lerp(CFrame.new(-1,0.5,0)*CFrame.Angles(0,math.rad(-90),0)*CFrame.new(-0.75,0+0.075*math.sin(sine/24),-0.5)*CFrame.Angles(0,math.rad(-10-1*math.cos(sine/24)),math.rad(-100+1*math.sin(sine/24))),.2)
  3587. gumweld.C0=gumweld.C0:lerp(CFrame.new(-1.2,-0.3,0.4)*CFrame.Angles(math.rad(70),math.rad(-5),math.rad(85)),.2)
  3588. end
  3589. local bullet = Instance.new("Part",effects) Instance.new("SpecialMesh",bullet).MeshType="Sphere"
  3590. bullet.Color=Color3.new(0,0,0)
  3591. bullet.Size=Vector3.new(.25,.25,4)
  3592. bullet.Material="Neon"
  3593. bullet.Anchored=true
  3594. bullet.CanCollide=false
  3595. bullet.CFrame=gun.CFrame*CFrame.new(2,0.5,0)
  3596. local partic1 = Instance.new("ParticleEmitter",bullet)
  3597. partic1.Color=ColorSequence.new({ColorSequenceKeypoint.new(0,Color3.new(1,1,0)),ColorSequenceKeypoint.new(0.25,Color3.new(0,0,1)),ColorSequenceKeypoint.new(1,Color3.new())})
  3598. partic1.LightEmission=1
  3599. partic1.LightInfluence=1
  3600. partic1.Size=NumberSequence.new({NumberSequenceKeypoint.new(0,0.5),NumberSequenceKeypoint.new(0.25,1+math.random(-.25,.25)),NumberSequenceKeypoint.new(1,0)})
  3601. partic1.Texture="rbxassetid://134531274"
  3602. partic1.ZOffset=-1
  3603. partic1.LockedToPart=false
  3604. partic1.Lifetime=NumberRange.new(1)
  3605. partic1.Rate=100
  3606. partic1.Rotation=NumberRange.new(-180,180)
  3607. partic1.Speed=NumberRange.new(0.5)
  3608. partic1.SpreadAngle=Vector2.new(360,360)
  3609. local at1 = Instance.new("Attachment",bullet) at1.Position=Vector3.new(0,.175,0)
  3610. local at2 = Instance.new("Attachment",bullet) at2.Position=Vector3.new(0,-.175,0)
  3611. local trail = Instance.new("Trail",bullet)
  3612. trail.Color=ColorSequence.new({ColorSequenceKeypoint.new(0,Color3.new(1,1,0)),ColorSequenceKeypoint.new(0.25,Color3.new(0,0,1)),ColorSequenceKeypoint.new(1,Color3.new())})
  3613. trail.LightEmission=1
  3614. trail.LightInfluence=1
  3615. trail.Transparency=NumberSequence.new(0,1)
  3616. trail.Lifetime=0.5
  3617. trail.WidthScale=NumberSequence.new(1,0)
  3618. trail.Attachment0=at1
  3619. trail.Attachment1=at2
  3620. trail.FaceCamera=true
  3621. local so = Instance.new("Sound",gun)
  3622. so.SoundId="rbxassetid://161233154"
  3623. so.Volume=2
  3624. so.Pitch=math.random(95,105)/100
  3625. so.PlayOnRemove=true
  3626. so:Play()
  3627. so:Destroy()
  3628. coroutine.resume(coroutine.create(function()
  3629. bullet.CFrame=CFrame.new(bullet.Position,MouseHit.p+Vector3.new(math.random(-25,25)/10,math.random(-25,25)/10,math.random(-25,25)/10))*CFrame.new(0,0,-2)
  3630. for _=1,100 do game:GetService("RunService").Heartbeat:Wait()
  3631. local h,p,norm = workspace:FindPartOnRayWithIgnoreList(Ray.new(bullet.CFrame*CFrame.new(0,0,4).p,(bullet.CFrame*CFrame.new(0,0,-4).p-bullet.CFrame*CFrame.new(0,0,4).p).unit*8),{char})
  3632. if (h and h.Parent and h.Parent:IsA'Accessory') or (h and h.Parent and h.Parent:IsA'Hat') then
  3633. h:Destroy()
  3634. spawn(function()
  3635. if h and h.Parent and h.Parent:IsA'Model' then
  3636. Kill(h.Parent)
  3637. end
  3638. end)
  3639. h:Destroy()
  3640. break
  3641. elseif (h and h.CanCollide==true) then
  3642. if h.Material==Enum.Material.Glass or h.Material==Enum.Material.ForceField then
  3643. local model = Instance.new("Model",h.Parent) model.Name=h.Name.."'s chuncs"
  3644. local p = Instance.new("Part",model) p.Size=Vector3.new(h.Size.X/2,h.Size.Y/2,h.Size.Z/2) p.CFrame=h.CFrame*CFrame.new(h.Size.X/4,h.Size.Y/4,h.Size.Y/4) p.Color=h.Color p.Material=h.Material p.Transparency=h.Transparency p.Velocity=Vector3.new(math.random(-5,5),math.random(-5,5),math.random(-5,5)) p.RotVelocity=Vector3.new(math.random(-5,5),math.random(-5,5),math.random(-5,5))
  3645. local p2 = Instance.new("Part",model) p2.Size=Vector3.new(h.Size.X/2,h.Size.Y/2,h.Size.Z/2) p2.CFrame=h.CFrame*CFrame.new(-h.Size.X/4,h.Size.Y/4,h.Size.Y/4) p2.Color=h.Color p2.Material=h.Material p2.Transparency=h.Transparency p2.Velocity=Vector3.new(math.random(-5,5),math.random(-5,5),math.random(-5,5)) p2.RotVelocity=Vector3.new(math.random(-5,5),math.random(-5,5),math.random(-5,5))
  3646. local p3 = Instance.new("Part",model) p3.Size=Vector3.new(h.Size.X/2,h.Size.Y/2,h.Size.Z/2) p3.CFrame=h.CFrame*CFrame.new(h.Size.X/4,-h.Size.Y/4,h.Size.Y/4) p3.Color=h.Color p3.Material=h.Material p3.Transparency=h.Transparency p3.Velocity=Vector3.new(math.random(-5,5),math.random(-5,5),math.random(-5,5)) p3.RotVelocity=Vector3.new(math.random(-5,5),math.random(-5,5),math.random(-5,5))
  3647. local p4 = Instance.new("Part",model) p4.Size=Vector3.new(h.Size.X/2,h.Size.Y/2,h.Size.Z/2) p4.CFrame=h.CFrame*CFrame.new(-h.Size.X/4,-h.Size.Y/4,h.Size.Y/4) p4.Color=h.Color p4.Material=h.Material p4.Transparency=h.Transparency p4.Velocity=Vector3.new(math.random(-5,5),math.random(-5,5),math.random(-5,5)) p4.RotVelocity=Vector3.new(math.random(-5,5),math.random(-5,5),math.random(-5,5))
  3648. local p5 = Instance.new("Part",model) p5.Size=Vector3.new(h.Size.X/2,h.Size.Y/2,h.Size.Z/2) p5.CFrame=h.CFrame*CFrame.new(h.Size.X/4,h.Size.Y/4,-h.Size.Y/4) p5.Color=h.Color p5.Material=h.Material p5.Transparency=h.Transparency p5.Velocity=Vector3.new(math.random(-5,5),math.random(-5,5),math.random(-5,5)) p5.RotVelocity=Vector3.new(math.random(-5,5),math.random(-5,5),math.random(-5,5))
  3649. local p6 = Instance.new("Part",model) p6.Size=Vector3.new(h.Size.X/2,h.Size.Y/2,h.Size.Z/2) p6.CFrame=h.CFrame*CFrame.new(-h.Size.X/4,h.Size.Y/4,-h.Size.Y/4) p6.Color=h.Color p6.Material=h.Material p6.Transparency=h.Transparency p6.Velocity=Vector3.new(math.random(-5,5),math.random(-5,5),math.random(-5,5)) p6.RotVelocity=Vector3.new(math.random(-5,5),math.random(-5,5),math.random(-5,5))
  3650. local p7 = Instance.new("Part",model) p7.Size=Vector3.new(h.Size.X/2,h.Size.Y/2,h.Size.Z/2) p7.CFrame=h.CFrame*CFrame.new(h.Size.X/4,-h.Size.Y/4,-h.Size.Y/4) p7.Color=h.Color p7.Material=h.Material p7.Transparency=h.Transparency p7.Velocity=Vector3.new(math.random(-5,5),math.random(-5,5),math.random(-5,5)) p7.RotVelocity=Vector3.new(math.random(-5,5),math.random(-5,5),math.random(-5,5))
  3651. local p8 = Instance.new("Part",model) p8.Size=Vector3.new(h.Size.X/2,h.Size.Y/2,h.Size.Z/2) p8.CFrame=h.CFrame*CFrame.new(-h.Size.X/4,-h.Size.Y/4,-h.Size.Y/4) p8.Color=h.Color p8.Material=h.Material p8.Transparency=h.Transparency p8.Velocity=Vector3.new(math.random(-5,5),math.random(-5,5),math.random(-5,5)) p8.RotVelocity=Vector3.new(math.random(-5,5),math.random(-5,5),math.random(-5,5))
  3652. local so = Instance.new("Sound",h)
  3653. so.SoundId="rbxassetid://516789356"
  3654. so.Volume=2
  3655. so.Pitch=math.random(95,105)/100
  3656. so.PlayOnRemove=true
  3657. so:Play()
  3658. so:Destroy()
  3659. h:Destroy()
  3660. if math.random(1,2)==1 then
  3661. break
  3662. end
  3663. spawn(function()
  3664. wait(math.random(3,5))
  3665. for _,a in pairs(model:GetChildren()) do
  3666. spawn(function()
  3667. if a:IsA'BasePart' then
  3668. for _=1,25 do game:GetService("RunService").Heartbeat:Wait()
  3669. a.Transparency=a.Transparency+1/25
  3670. end
  3671. end
  3672. end)
  3673. end
  3674. repeat game:GetService("RunService").Heartbeat:Wait() until model:FindFirstChildWhichIsA'BasePart'==nil
  3675. wait(.1) model:Destroy()
  3676. end)
  3677. elseif h.Transparency<=0.5 then
  3678. break
  3679. end
  3680. end
  3681. bullet.CFrame=bullet.CFrame*CFrame.new(0,0,-8)
  3682. end
  3683. Aoe(bullet.CFrame,8)
  3684. bullet.Transparency=1
  3685. for _,a in pairs(bullet:GetChildren()) do
  3686. if a:IsA'ParticleEmitter' or a:IsA'Trail' then
  3687. a.Enabled=false
  3688. end
  3689. end
  3690. wait(1.1)
  3691. bullet:Destroy()
  3692. end))
  3693. for _=0,0.25,0.25 do game:GetService("RunService").Heartbeat:Wait()
  3694. if crouch==false then
  3695. char:WaitForChild('HumanoidRootPart'):FindFirstChild('RootJoint').C0=char:WaitForChild('HumanoidRootPart'):FindFirstChild('RootJoint').C0:lerp(CFrame.new(0,0,0)*CFrame.Angles(math.rad(90),math.rad(180),0)*CFrame.new(0,0,0+0.075*math.cos(sine/24))*CFrame.Angles(math.rad(1+1*math.cos(sine/24)),0,math.rad(-40)),.4)
  3696. else
  3697. char:WaitForChild('HumanoidRootPart'):FindFirstChild('RootJoint').C0=char:WaitForChild('HumanoidRootPart'):FindFirstChild('RootJoint').C0:lerp(CFrame.new(0,0,0)*CFrame.Angles(math.rad(90),math.rad(180),0)*CFrame.new(0,0,-1+0.075*math.cos(sine/24))*CFrame.Angles(math.rad(1+1*math.cos(sine/24)),0,math.rad(-40)),.4)
  3698. end
  3699. char:WaitForChild('Torso'):FindFirstChild('Neck').C0=char:WaitForChild('Torso'):FindFirstChild('Neck').C0:lerp(CFrame.new(0,1,0)*CFrame.Angles(math.rad(90),math.rad(180),0)*CFrame.new(0,0,0)*CFrame.Angles(math.rad(2.5-5*math.sin(sine/24)),0,math.rad(40)),.4)
  3700. char:WaitForChild('Torso'):FindFirstChild('Right Shoulder').C0=char:WaitForChild('Torso'):FindFirstChild('Right Shoulder').C0:lerp(CFrame.new(1,0.5,0)*CFrame.Angles(0,math.rad(90),0)*CFrame.new(0.25,0+0.075*math.sin(sine/24),-0.5)*CFrame.Angles(0,math.rad(40+1*math.cos(sine/24)),math.rad(95-1*math.sin(sine/24))),.4)
  3701. char:WaitForChild('Torso'):FindFirstChild('Left Shoulder').C0=char:WaitForChild('Torso'):FindFirstChild('Left Shoulder').C0:lerp(CFrame.new(-1,0.5,0)*CFrame.Angles(0,math.rad(-90),0)*CFrame.new(-0.75,0+0.075*math.sin(sine/24),-0.5)*CFrame.Angles(0,math.rad(-10-1*math.cos(sine/24)),math.rad(-105+1*math.sin(sine/24))),.4)
  3702. gumweld.C0=gumweld.C0:lerp(CFrame.new(-1.2,-0.3,0.4)*CFrame.Angles(math.rad(70),math.rad(-5),math.rad(85)),.4)
  3703. end
  3704. until repeatmouse==false
  3705. if run and crouch==false then speed=24 elseif run==false and crouch then speed=6 elseif run==false and crouch==false then speed=12 end
  3706. attack=false
  3707. end
  3708. function grenadethrow()
  3709. attack=true
  3710. MouseHit = Mouse.Hit
  3711. if run and crouch==false then speed=12 elseif run==false and crouch then speed=4 elseif run==false and crouch==false then speed=8 end
  3712. for _=0,1,0.05 do game:GetService("RunService").Heartbeat:Wait()
  3713. if crouch==false then
  3714. char:WaitForChild('HumanoidRootPart'):FindFirstChild('RootJoint').C0=char:WaitForChild('HumanoidRootPart'):FindFirstChild('RootJoint').C0:lerp(CFrame.new(0,0,0)*CFrame.Angles(math.rad(90),math.rad(180),0)*CFrame.new(0,0,0+0.075*math.cos(sine/24))*CFrame.Angles(math.rad(1+1*math.cos(sine/24)),0,0),.2)
  3715. else
  3716. char:WaitForChild('HumanoidRootPart'):FindFirstChild('RootJoint').C0=char:WaitForChild('HumanoidRootPart'):FindFirstChild('RootJoint').C0:lerp(CFrame.new(0,0,0)*CFrame.Angles(math.rad(90),math.rad(180),0)*CFrame.new(0,0,-1+0.075*math.cos(sine/24))*CFrame.Angles(math.rad(1+1*math.cos(sine/24)),0,0),.2)
  3717. end
  3718. char:WaitForChild('Torso'):FindFirstChild('Neck').C0=char:WaitForChild('Torso'):FindFirstChild('Neck').C0:lerp(CFrame.new(0,1,0)*CFrame.Angles(math.rad(90),math.rad(180),0)*CFrame.new(0,0,0)*CFrame.Angles(math.rad(2.5-5*math.sin(sine/24)),0,0),.2)
  3719. char:WaitForChild('Torso'):FindFirstChild('Right Shoulder').C0=char:WaitForChild('Torso'):FindFirstChild('Right Shoulder').C0:lerp(CFrame.new(1,0.5,0)*CFrame.Angles(0,math.rad(90),0)*CFrame.new(0,0+0.075*math.sin(sine/24),0)*CFrame.Angles(0,math.rad(25+1*math.cos(sine/24)),math.rad(45-1*math.sin(sine/24))),.2)
  3720. char:WaitForChild('Torso'):FindFirstChild('Left Shoulder').C0=char:WaitForChild('Torso'):FindFirstChild('Left Shoulder').C0:lerp(CFrame.new(-1,0.5,0)*CFrame.Angles(0,math.rad(-90),0)*CFrame.new(0,0+0.075*math.sin(sine/24),0)*CFrame.Angles(0,math.rad(60-1*math.cos(sine/24)),math.rad(40+1*math.sin(sine/24))),.2)
  3721. gumweld.C0=gumweld.C0:lerp(CFrame.new(-1.2,-0.3,0.4)*CFrame.Angles(math.rad(70),math.rad(-5),math.rad(85))*CFrame.new(-0.3,0,0)*CFrame.Angles(0,0,math.rad(20)),.2)
  3722. end
  3723. spawn(function()
  3724. grenade.Transparency=1
  3725. wait(1)
  3726. for _=1,10 do game:GetService("RunService").Heartbeat:Wait()
  3727. grenade.Transparency=grenade.Transparency-1/10
  3728. end
  3729. end)
  3730. local gren = Instance.new("Part",workspace) local mesh = Instance.new("SpecialMesh",gren) mesh.MeshType="FileMesh" mesh.MeshId="rbxassetid://548193107" mesh.TextureId="rbxassetid://926040988" mesh.Scale=Vector3.new(.1,.1,.1)
  3731. gren.Size=Vector3.new(.5,1,.5)
  3732. gren.CanCollide=true
  3733. local weld = Instance.new("Weld",gren) weld.Part0=gren weld.Part1=char:WaitForChild('Left Arm') weld.C0=CFrame.new(0,0,1)*CFrame.Angles(math.rad(90),0,0)
  3734. for _=0,1,0.05 do game:GetService("RunService").Heartbeat:Wait()
  3735. if crouch==false then
  3736. char:WaitForChild('HumanoidRootPart'):FindFirstChild('RootJoint').C0=char:WaitForChild('HumanoidRootPart'):FindFirstChild('RootJoint').C0:lerp(CFrame.new(0,0,0)*CFrame.Angles(math.rad(90),math.rad(180),0)*CFrame.new(0,0,0+0.075*math.cos(sine/24))*CFrame.Angles(math.rad(1+1*math.cos(sine/24)),0,0),.2)
  3737. else
  3738. char:WaitForChild('HumanoidRootPart'):FindFirstChild('RootJoint').C0=char:WaitForChild('HumanoidRootPart'):FindFirstChild('RootJoint').C0:lerp(CFrame.new(0,0,0)*CFrame.Angles(math.rad(90),math.rad(180),0)*CFrame.new(0,0,-1+0.075*math.cos(sine/24))*CFrame.Angles(math.rad(1+1*math.cos(sine/24)),0,0),.2)
  3739. end
  3740. char:WaitForChild('Torso'):FindFirstChild('Neck').C0=char:WaitForChild('Torso'):FindFirstChild('Neck').C0:lerp(CFrame.new(0,1,0)*CFrame.Angles(math.rad(90),math.rad(180),0)*CFrame.new(0,0,0)*CFrame.Angles(math.rad(2.5-5*math.sin(sine/24)),0,0),.2)
  3741. char:WaitForChild('Torso'):FindFirstChild('Right Shoulder').C0=char:WaitForChild('Torso'):FindFirstChild('Right Shoulder').C0:lerp(CFrame.new(1,0.5,0)*CFrame.Angles(0,math.rad(90),0)*CFrame.new(0,0+0.075*math.sin(sine/24),0)*CFrame.Angles(0,math.rad(25+1*math.cos(sine/24)),math.rad(45-1*math.sin(sine/24))),.2)
  3742. char:WaitForChild('Torso'):FindFirstChild('Left Shoulder').C0=char:WaitForChild('Torso'):FindFirstChild('Left Shoulder').C0:lerp(CFrame.new(-1,0.5,0)*CFrame.Angles(0,math.rad(-90),0)*CFrame.new(0,0+0.075*math.sin(sine/24),0)*CFrame.Angles(0,math.rad(30-1*math.cos(sine/24)),math.rad(-40+1*math.sin(sine/24))),.2)
  3743. gumweld.C0=gumweld.C0:lerp(CFrame.new(-1.2,-0.3,0.4)*CFrame.Angles(math.rad(70),math.rad(-5),math.rad(85))*CFrame.new(-0.3,0,0)*CFrame.Angles(0,0,math.rad(20)),.2)
  3744. end
  3745. local pl = Instance.new("PointLight",gren)
  3746. pl.Brightness=40
  3747. pl.Color=Color3.new(1,0,0)
  3748. pl.Range=3
  3749. pl.Shadows=true
  3750. local at1 = Instance.new("Attachment",gren) at1.Position=Vector3.new(0,0.5,0)
  3751. local at2 = Instance.new("Attachment",gren) at2.Position=Vector3.new(0,0.25,0)
  3752. local trl = Instance.new("Trail",gren)
  3753. trl.Color=ColorSequence.new({ColorSequenceKeypoint.new(0,Color3.new(1,0,0)),ColorSequenceKeypoint.new(1,Color3.new())})
  3754. trl.FaceCamera=true
  3755. trl.LightEmission=1
  3756. trl.LightInfluence=1
  3757. trl.Transparency=NumberSequence.new(0,1)
  3758. trl.Attachment0=at1
  3759. trl.Attachment1=at2
  3760. trl.Lifetime=3
  3761. trl.WidthScale=NumberSequence.new(1,0)
  3762. local particpart = Instance.new("Part",gren)
  3763. particpart.Size=Vector3.new()
  3764. particpart.Transparency=1
  3765. particpart.CanCollide=false
  3766. local w = Instance.new("Weld",particpart) w.Part0=particpart w.Part1=gren w.C0=CFrame.new(0,-0.325,0)
  3767. local partic = Instance.new("ParticleEmitter",particpart)
  3768. partic.Color=ColorSequence.new(Color3.new(1,0,0))
  3769. partic.LightEmission=1
  3770. partic.LightInfluence=1
  3771. partic.ZOffset=1
  3772. partic.Size=NumberSequence.new({NumberSequenceKeypoint.new(0,0),NumberSequenceKeypoint.new(0.02,1+math.random(-.5,.5)),NumberSequenceKeypoint.new(1,0)})
  3773. partic.Texture="rbxasset://textures/particles/sparkles_main.dds"
  3774. partic.Transparency=NumberSequence.new({NumberSequenceKeypoint.new(0,1),NumberSequenceKeypoint.new(0.05,0.75+math.random(-.25,.25)),NumberSequenceKeypoint.new(1,1)})
  3775. partic.LockedToPart=true
  3776. partic.Rate=50
  3777. partic.Lifetime=NumberRange.new(1)
  3778. partic.Rotation=NumberRange.new(-180,180)
  3779. partic.RotSpeed=NumberRange.new(-30,30)
  3780. partic.Speed=NumberRange.new(0.5)
  3781. partic.SpreadAngle=Vector2.new(360,360)
  3782. coroutine.resume(coroutine.create(function()
  3783. local w = 1
  3784. local ran = math.random(5)
  3785. for i=1,ran do
  3786. local so = Instance.new("Sound",gren)
  3787. so.SoundId="rbxassetid://2164165859"
  3788. so.Volume=2
  3789. so.Pitch=1+(1/ran)
  3790. so.PlayOnRemove=true
  3791. so:Play()
  3792. so:Destroy()
  3793. wait(w)
  3794. w=w-(1/ran)
  3795. end
  3796. Aoe(gren.CFrame,40)
  3797. local so = Instance.new("Sound",gren)
  3798. so.SoundId="rbxassetid://4307076141"
  3799. so.Volume=4
  3800. so.Pitch=math.random(95,105)/100
  3801. so.PlayOnRemove=true
  3802. so:Play()
  3803. so:Destroy()
  3804. gren.Transparency=1
  3805. for _,a in pairs(gren:GetDescendants()) do
  3806. if a:IsA'PointLight' or a:IsA'ParticleEmitter' or a:IsA'Trail' then
  3807. a.Enabled=false
  3808. end
  3809. end
  3810. local partic1 = Instance.new("ParticleEmitter",gren)
  3811. partic1.Color=ColorSequence.new({ColorSequenceKeypoint.new(0,Color3.new(1,0,0)),ColorSequenceKeypoint.new(0.25,Color3.new(0,0,1)),ColorSequenceKeypoint.new(0.5,Color3.new(1,1,0)),ColorSequenceKeypoint.new(1,Color3.new())})
  3812. partic1.LightEmission=1
  3813. partic1.LightInfluence=1
  3814. partic1.Size=NumberSequence.new({NumberSequenceKeypoint.new(0,0),NumberSequenceKeypoint.new(0.025,2.5),NumberSequenceKeypoint.new(1,5)})
  3815. partic1.Texture="rbxassetid://971284039"
  3816. partic1.Transparency=NumberSequence.new({NumberSequenceKeypoint.new(0,1),NumberSequenceKeypoint.new(0.025,0),NumberSequenceKeypoint.new(0.7,0.25),NumberSequenceKeypoint.new(1,1)})
  3817. partic1.ZOffset=1
  3818. partic1.Acceleration=Vector3.new(0,2,0)
  3819. partic1.Drag=2
  3820. partic1.Lifetime=NumberRange.new(1,3)
  3821. partic1.Rate=100000000
  3822. partic1.Rotation=NumberRange.new(-180,180)
  3823. partic1.RotSpeed=NumberRange.new(-30,30)
  3824. partic1.Speed=NumberRange.new(1,5)
  3825. partic1.SpreadAngle=Vector2.new(360,360)
  3826. coroutine.resume(coroutine.create(function()
  3827. wait(.2)
  3828. partic1.Enabled=false
  3829. wait(3.1)
  3830. partic1:Destroy()
  3831. end))
  3832. local partic2 = Instance.new("ParticleEmitter",gren)
  3833. partic2.Color=ColorSequence.new({ColorSequenceKeypoint.new(0,Color3.new(1,1,0)),ColorSequenceKeypoint.new(0.05,Color3.new(1,1,1)),ColorSequenceKeypoint.new(1,Color3.new())})
  3834. partic2.LightEmission=0
  3835. partic2.LightInfluence=1
  3836. partic2.Size=NumberSequence.new({NumberSequenceKeypoint.new(0,2.5+math.random(-25,25)/10),NumberSequenceKeypoint.new(0.3,5),NumberSequenceKeypoint.new(1,3.75+math.random(-25,25)/10)})
  3837. partic2.Texture="rbxassetid://1946917526"
  3838. partic2.Transparency=NumberSequence.new({NumberSequenceKeypoint.new(0,1),NumberSequenceKeypoint.new(0.025,0.5),NumberSequenceKeypoint.new(1,1)})
  3839. partic2.ZOffset=1
  3840. partic2.Acceleration=Vector3.new(0,5,0)
  3841. partic2.Drag=2
  3842. partic2.Lifetime=NumberRange.new(1,5)
  3843. partic2.Rate=100000000
  3844. partic2.Rotation=NumberRange.new(-180,180)
  3845. partic2.RotSpeed=NumberRange.new(-90,90)
  3846. partic2.Speed=NumberRange.new(10,20)
  3847. partic2.SpreadAngle=Vector2.new(360,360)
  3848. coroutine.resume(coroutine.create(function()
  3849. wait(.2)
  3850. partic2.Enabled=false
  3851. wait(5.1)
  3852. partic2:Destroy()
  3853. end))
  3854. wait(5.1)
  3855. gren:Destroy()
  3856. end))
  3857. for _=0,0.5,0.05 do game:GetService("RunService").Heartbeat:Wait()
  3858. if crouch==false then
  3859. char:WaitForChild('HumanoidRootPart'):FindFirstChild('RootJoint').C0=char:WaitForChild('HumanoidRootPart'):FindFirstChild('RootJoint').C0:lerp(CFrame.new(0,0,0)*CFrame.Angles(math.rad(90),math.rad(180),0)*CFrame.new(0,0,0+0.075*math.cos(sine/24))*CFrame.Angles(math.rad(1+1*math.cos(sine/24)),0,0),.4)
  3860. else
  3861. char:WaitForChild('HumanoidRootPart'):FindFirstChild('RootJoint').C0=char:WaitForChild('HumanoidRootPart'):FindFirstChild('RootJoint').C0:lerp(CFrame.new(0,0,0)*CFrame.Angles(math.rad(90),math.rad(180),0)*CFrame.new(0,0,-1+0.075*math.cos(sine/24))*CFrame.Angles(math.rad(1+1*math.cos(sine/24)),0,0),.4)
  3862. end
  3863. char:WaitForChild('Torso'):FindFirstChild('Neck').C0=char:WaitForChild('Torso'):FindFirstChild('Neck').C0:lerp(CFrame.new(0,1,0)*CFrame.Angles(math.rad(90),math.rad(180),0)*CFrame.new(0,0,0)*CFrame.Angles(math.rad(2.5-5*math.sin(sine/24)),0,0),.4)
  3864. char:WaitForChild('Torso'):FindFirstChild('Right Shoulder').C0=char:WaitForChild('Torso'):FindFirstChild('Right Shoulder').C0:lerp(CFrame.new(1,0.5,0)*CFrame.Angles(0,math.rad(90),0)*CFrame.new(0,0+0.075*math.sin(sine/24),0)*CFrame.Angles(0,math.rad(25+1*math.cos(sine/24)),math.rad(45-1*math.sin(sine/24))),.4)
  3865. char:WaitForChild('Torso'):FindFirstChild('Left Shoulder').C0=char:WaitForChild('Torso'):FindFirstChild('Left Shoulder').C0:lerp(CFrame.new(-1,0.5,0)*CFrame.Angles(0,math.rad(-90),0)*CFrame.new(0,0+0.075*math.sin(sine/24),0)*CFrame.Angles(0,math.rad(30-1*math.cos(sine/24)),math.rad(-35+1*math.sin(sine/24))),.4)
  3866. gumweld.C0=gumweld.C0:lerp(CFrame.new(-1.2,-0.3,0.4)*CFrame.Angles(math.rad(70),math.rad(-5),math.rad(85))*CFrame.new(-0.3,0,0)*CFrame.Angles(0,0,math.rad(20)),.4)
  3867. end
  3868. repeat game:GetService("RunService").Heartbeat:Wait()
  3869. if crouch==false then
  3870. char:WaitForChild('HumanoidRootPart'):FindFirstChild('RootJoint').C0=char:WaitForChild('HumanoidRootPart'):FindFirstChild('RootJoint').C0:lerp(CFrame.new(0,0,0)*CFrame.Angles(math.rad(90),math.rad(180),0)*CFrame.new(0,0,0+0.075*math.cos(sine/24))*CFrame.Angles(math.rad(1+1*math.cos(sine/24)),0,0),.4)
  3871. else
  3872. char:WaitForChild('HumanoidRootPart'):FindFirstChild('RootJoint').C0=char:WaitForChild('HumanoidRootPart'):FindFirstChild('RootJoint').C0:lerp(CFrame.new(0,0,0)*CFrame.Angles(math.rad(90),math.rad(180),0)*CFrame.new(0,0,-1+0.075*math.cos(sine/24))*CFrame.Angles(math.rad(1+1*math.cos(sine/24)),0,0),.4)
  3873. end
  3874. char:WaitForChild('Torso'):FindFirstChild('Neck').C0=char:WaitForChild('Torso'):FindFirstChild('Neck').C0:lerp(CFrame.new(0,1,0)*CFrame.Angles(math.rad(90),math.rad(180),0)*CFrame.new(0,0,0)*CFrame.Angles(math.rad(2.5-5*math.sin(sine/24)),0,0),.4)
  3875. char:WaitForChild('Torso'):FindFirstChild('Right Shoulder').C0=char:WaitForChild('Torso'):FindFirstChild('Right Shoulder').C0:lerp(CFrame.new(1,0.5,0)*CFrame.Angles(0,math.rad(90),0)*CFrame.new(0,0+0.075*math.sin(sine/24),0)*CFrame.Angles(0,math.rad(25+1*math.cos(sine/24)),math.rad(45-1*math.sin(sine/24))),.4)
  3876. char:WaitForChild('Torso'):FindFirstChild('Left Shoulder').C0=char:WaitForChild('Torso'):FindFirstChild('Left Shoulder').C0:lerp(CFrame.new(-1,0.5,0)*CFrame.Angles(0,math.rad(-90),0)*CFrame.new(0,0+0.075*math.sin(sine/24),0)*CFrame.Angles(0,math.rad(30-1*math.cos(sine/24)),math.rad(-35+1*math.sin(sine/24))),.4)
  3877. gumweld.C0=gumweld.C0:lerp(CFrame.new(-1.2,-0.3,0.4)*CFrame.Angles(math.rad(70),math.rad(-5),math.rad(85))*CFrame.new(-0.3,0,0)*CFrame.Angles(0,0,math.rad(20)),.4)
  3878. until repeatkey==false
  3879. for _=0,1,0.05 do game:GetService("RunService").Heartbeat:Wait()
  3880. if crouch==false then
  3881. char:WaitForChild('HumanoidRootPart'):FindFirstChild('RootJoint').C0=char:WaitForChild('HumanoidRootPart'):FindFirstChild('RootJoint').C0:lerp(CFrame.new(0,0,0)*CFrame.Angles(math.rad(90),math.rad(180),0)*CFrame.new(0,0,0+0.075*math.cos(sine/24))*CFrame.Angles(math.rad(1+1*math.cos(sine/24)),0,math.rad(40)),.2)
  3882. else
  3883. char:WaitForChild('HumanoidRootPart'):FindFirstChild('RootJoint').C0=char:WaitForChild('HumanoidRootPart'):FindFirstChild('RootJoint').C0:lerp(CFrame.new(0,0,0)*CFrame.Angles(math.rad(90),math.rad(180),0)*CFrame.new(0,0,-1+0.075*math.cos(sine/24))*CFrame.Angles(math.rad(1+1*math.cos(sine/24)),0,math.rad(40)),.2)
  3884. end
  3885. char:WaitForChild('Torso'):FindFirstChild('Neck').C0=char:WaitForChild('Torso'):FindFirstChild('Neck').C0:lerp(CFrame.new(0,1,0)*CFrame.Angles(math.rad(90),math.rad(180),0)*CFrame.new(0,0,0)*CFrame.Angles(math.rad(2.5-5*math.sin(sine/24)),0,math.rad(-40)),.2)
  3886. char:WaitForChild('Torso'):FindFirstChild('Right Shoulder').C0=char:WaitForChild('Torso'):FindFirstChild('Right Shoulder').C0:lerp(CFrame.new(1,0.5,0)*CFrame.Angles(0,math.rad(90),0)*CFrame.new(0,0+0.075*math.sin(sine/24),0)*CFrame.Angles(0,math.rad(25+1*math.cos(sine/24)),math.rad(45-1*math.sin(sine/24))),.2)
  3887. char:WaitForChild('Torso'):FindFirstChild('Left Shoulder').C0=char:WaitForChild('Torso'):FindFirstChild('Left Shoulder').C0:lerp(CFrame.new(-1,0.5,0)*CFrame.Angles(0,math.rad(-90),0)*CFrame.new(0,0+0.075*math.sin(sine/24),0)*CFrame.Angles(0,math.rad(50-1*math.cos(sine/24)),math.rad(-175+1*math.sin(sine/24))),.2)
  3888. gumweld.C0=gumweld.C0:lerp(CFrame.new(-1.2,-0.3,0.4)*CFrame.Angles(math.rad(70),math.rad(-5),math.rad(85))*CFrame.new(-0.3,0,0)*CFrame.Angles(0,0,math.rad(20)),.2)
  3889. end
  3890. weld:Destroy()
  3891. gren.CanCollide=true
  3892. gren.CFrame=gren.CFrame*CFrame.new(0,0,-2)
  3893. local dis = (gren.Position - MouseHit.p).magnitude
  3894. if dis > 250 then dis = 250 end
  3895. gren.Velocity=CFrame.new(gren.Position,MouseHit.p+Vector3.new(0,50,0)).lookVector*(dis*2)
  3896. local tou
  3897. tou = gren.Touched:connect(function(a)
  3898. if a.Parent~=char and not a:IsDescendantOf(char) then
  3899. tou:Disconnect()
  3900. gren.Velocity=Vector3.new() wait()
  3901. gren.Velocity=Vector3.new(math.random(-25,25),math.random(-25,25),math.random(-25,25))
  3902. end
  3903. end)
  3904. for _=0,1,0.05 do game:GetService("RunService").Heartbeat:Wait()
  3905. if crouch==false then
  3906. char:WaitForChild('HumanoidRootPart'):FindFirstChild('RootJoint').C0=char:WaitForChild('HumanoidRootPart'):FindFirstChild('RootJoint').C0:lerp(CFrame.new(0,0,0)*CFrame.Angles(math.rad(90),math.rad(180),0)*CFrame.new(0,0,0+0.075*math.cos(sine/24))*CFrame.Angles(math.rad(1+1*math.cos(sine/24)),0,math.rad(-60)),.2)
  3907. else
  3908. char:WaitForChild('HumanoidRootPart'):FindFirstChild('RootJoint').C0=char:WaitForChild('HumanoidRootPart'):FindFirstChild('RootJoint').C0:lerp(CFrame.new(0,0,0)*CFrame.Angles(math.rad(90),math.rad(180),0)*CFrame.new(0,0,-1+0.075*math.cos(sine/24))*CFrame.Angles(math.rad(1+1*math.cos(sine/24)),0,math.rad(-60)),.2)
  3909. end
  3910. char:WaitForChild('Torso'):FindFirstChild('Neck').C0=char:WaitForChild('Torso'):FindFirstChild('Neck').C0:lerp(CFrame.new(0,1,0)*CFrame.Angles(math.rad(90),math.rad(180),0)*CFrame.new(0,0,0)*CFrame.Angles(math.rad(2.5-5*math.sin(sine/24)),0,math.rad(60)),.2)
  3911. char:WaitForChild('Torso'):FindFirstChild('Right Shoulder').C0=char:WaitForChild('Torso'):FindFirstChild('Right Shoulder').C0:lerp(CFrame.new(1,0.5,0)*CFrame.Angles(0,math.rad(90),0)*CFrame.new(0,0+0.075*math.sin(sine/24),0)*CFrame.Angles(0,math.rad(25+1*math.cos(sine/24)),math.rad(45-1*math.sin(sine/24))),.2)
  3912. char:WaitForChild('Torso'):FindFirstChild('Left Shoulder').C0=char:WaitForChild('Torso'):FindFirstChild('Left Shoulder').C0:lerp(CFrame.new(-1,0.5,0)*CFrame.Angles(0,math.rad(-90),0)*CFrame.new(0,0+0.075*math.sin(sine/24),0)*CFrame.Angles(0,math.rad(-30-1*math.cos(sine/24)),math.rad(-35+1*math.sin(sine/24))),.2)
  3913. gumweld.C0=gumweld.C0:lerp(CFrame.new(-1.2,-0.3,0.4)*CFrame.Angles(math.rad(70),math.rad(-5),math.rad(85))*CFrame.new(-0.3,0,0)*CFrame.Angles(0,0,math.rad(20)),.2)
  3914. end
  3915. if run and crouch==false then speed=24 elseif run==false and crouch then speed=6 elseif run==false and crouch==false then speed=12 end
  3916. attack=false
  3917. end
  3918. function plasma_shoot()
  3919. MouseHit = Mouse.Hit
  3920. attack=true
  3921. if run and crouch==false then speed=12 elseif run==false and crouch then speed=4 elseif run==false and crouch==false then speed=8 end
  3922. local so = Instance.new("Sound",char:WaitForChild('Head'))
  3923. so.SoundId="rbxassetid://1051194362"
  3924. so.Volume=2
  3925. so.Pitch=1.5
  3926. so.PlayOnRemove=true
  3927. so:Play()
  3928. so:Destroy()
  3929. for _=0,3,0.05 do game:GetService("RunService").Heartbeat:Wait()
  3930. if crouch==false then
  3931. char:WaitForChild('HumanoidRootPart'):FindFirstChild('RootJoint').C0=char:WaitForChild('HumanoidRootPart'):FindFirstChild('RootJoint').C0:lerp(CFrame.new(0,0,0)*CFrame.Angles(math.rad(90),math.rad(180),0)*CFrame.new(0,0,0+0.075*math.cos(sine/24))*CFrame.Angles(math.rad(1+1*math.cos(sine/24)),0,math.rad(-40)),.2)
  3932. else
  3933. char:WaitForChild('HumanoidRootPart'):FindFirstChild('RootJoint').C0=char:WaitForChild('HumanoidRootPart'):FindFirstChild('RootJoint').C0:lerp(CFrame.new(0,0,0)*CFrame.Angles(math.rad(90),math.rad(180),0)*CFrame.new(0,0,-1+0.075*math.cos(sine/24))*CFrame.Angles(math.rad(1+1*math.cos(sine/24)),0,math.rad(-40)),.2)
  3934. end
  3935. char:WaitForChild('Torso'):FindFirstChild('Neck').C0=char:WaitForChild('Torso'):FindFirstChild('Neck').C0:lerp(CFrame.new(0,1,0)*CFrame.Angles(math.rad(90),math.rad(180),0)*CFrame.new(0,0,0)*CFrame.Angles(math.rad(2.5-5*math.sin(sine/24)),0,math.rad(40)),.2)
  3936. char:WaitForChild('Torso'):FindFirstChild('Right Shoulder').C0=char:WaitForChild('Torso'):FindFirstChild('Right Shoulder').C0:lerp(CFrame.new(1,0.5,0)*CFrame.Angles(0,math.rad(90),0)*CFrame.new(0.25,0+0.075*math.sin(sine/24),-0.5)*CFrame.Angles(0,math.rad(40+1*math.cos(sine/24)),math.rad(90-1*math.sin(sine/24))),.2)
  3937. char:WaitForChild('Torso'):FindFirstChild('Left Shoulder').C0=char:WaitForChild('Torso'):FindFirstChild('Left Shoulder').C0:lerp(CFrame.new(-1,0.5,0)*CFrame.Angles(0,math.rad(-90),0)*CFrame.new(-0.75,0+0.075*math.sin(sine/24),-0.5)*CFrame.Angles(0,math.rad(-10-1*math.cos(sine/24)),math.rad(-100+1*math.sin(sine/24))),.2)
  3938. gumweld.C0=gumweld.C0:lerp(CFrame.new(-1.2,-0.3,0.4)*CFrame.Angles(math.rad(70),math.rad(-5),math.rad(85)),.2)
  3939. end
  3940. local bullet = Instance.new("Part",effects)
  3941. bullet.Color=Color3.fromRGB(254,243,187)
  3942. bullet.Material="ForceField"
  3943. bullet.Anchored=true
  3944. bullet.CanCollide=false
  3945. bullet.Shape="Ball"
  3946. bullet.Size=Vector3.new(1.5,1.5,1.5)
  3947. bullet.CFrame=gun.CFrame*CFrame.new(2,0,0)
  3948. local effectpart = Instance.new("Part",bullet)
  3949. effectpart.Anchored=false
  3950. effectpart.CanCollide=false
  3951. effectpart.Size=Vector3.new()
  3952. effectpart.Transparency=1
  3953. local weld = Instance.new("Weld",effectpart) weld.Part0=effectpart weld.Part1=bullet
  3954. local partic1 = Instance.new("ParticleEmitter",effectpart)
  3955. partic1.Color=ColorSequence.new({ColorSequenceKeypoint.new(0,Color3.new(1,0,0)),ColorSequenceKeypoint.new(0.25,Color3.new(0,0,1)),ColorSequenceKeypoint.new(0.75,Color3.new(1,1,0)),ColorSequenceKeypoint.new(1,Color3.new())})
  3956. partic1.LightEmission=1
  3957. partic1.LightInfluence=1
  3958. partic1.Size=NumberSequence.new({NumberSequenceKeypoint.new(0,0),NumberSequenceKeypoint.new(0.05,0.5),NumberSequenceKeypoint.new(1,0)})
  3959. partic1.Texture="rbxassetid://134531274"
  3960. partic1.ZOffset=1
  3961. partic1.Drag=15
  3962. partic1.LockedToPart=true
  3963. partic1.Lifetime=NumberRange.new(0.5)
  3964. partic1.Rate=100
  3965. partic1.Rotation=NumberRange.new(-180,180)
  3966. partic1.Speed=NumberRange.new(1,5)
  3967. partic1.SpreadAngle=Vector2.new(360,360)
  3968. local partic2 = Instance.new("ParticleEmitter",effectpart)
  3969. partic2.Color=ColorSequence.new({ColorSequenceKeypoint.new(0,Color3.new()),ColorSequenceKeypoint.new(0.25,Color3.new(0,0,1)),ColorSequenceKeypoint.new(0.75,Color3.new(1,1,0)),ColorSequenceKeypoint.new(1,Color3.new(1,0,0))})
  3970. partic2.LightEmission=1
  3971. partic2.LightInfluence=1
  3972. partic2.Size=NumberSequence.new({NumberSequenceKeypoint.new(0,0),NumberSequenceKeypoint.new(1,2)})
  3973. partic2.Texture="rbxassetid://527972793"
  3974. partic2.Transparency=NumberSequence.new({NumberSequenceKeypoint.new(0,.75),NumberSequenceKeypoint.new(1,1)})
  3975. partic2.ZOffset=1
  3976. partic2.LockedToPart=true
  3977. partic2.Lifetime=NumberRange.new(1)
  3978. partic2.Rate=5
  3979. partic2.Rotation=NumberRange.new(-180,180)
  3980. partic2.RotSpeed=NumberRange.new(-90,90)
  3981. partic2.Speed=NumberRange.new(0)
  3982. local partic3 = Instance.new("ParticleEmitter",effectpart)
  3983. partic3.Color=ColorSequence.new({ColorSequenceKeypoint.new(0,Color3.new(0,0,1)),ColorSequenceKeypoint.new(0.75,Color3.new(1,1,0)),ColorSequenceKeypoint.new(1,Color3.new())})
  3984. partic3.LightEmission=1
  3985. partic3.LightInfluence=1
  3986. partic3.Size=NumberSequence.new(0.25)
  3987. partic3.Texture="rbxassetid://28010908"
  3988. partic3.Transparency=NumberSequence.new({NumberSequenceKeypoint.new(0,1),NumberSequenceKeypoint.new(0.025,.5+math.random(-.25,.25)),NumberSequenceKeypoint.new(1,1)})
  3989. partic3.ZOffset=1
  3990. partic3.Drag=1
  3991. partic3.VelocityInheritance=1
  3992. partic3.Lifetime=NumberRange.new(2)
  3993. partic3.Rate=100
  3994. partic3.Rotation=NumberRange.new(-180,180)
  3995. partic3.RotSpeed=NumberRange.new(-360,360)
  3996. partic3.Speed=NumberRange.new(1,3)
  3997. partic3.SpreadAngle=Vector2.new(360,360)
  3998. coroutine.resume(coroutine.create(function()
  3999. bullet.CFrame=CFrame.new(bullet.Position,MouseHit.p)
  4000. local hits = 0
  4001. local maxhits = math.random(1,5)
  4002. for _=1,250 do game:GetService("RunService").Heartbeat:Wait()
  4003. local hit,pos,norm = workspace:FindPartOnRayWithIgnoreList(Ray.new(bullet.Position,bullet.CFrame.LookVector.unit*2),{char})
  4004. if hit and (hits>=maxhits or hit.Size == Vector3.new(2,2,1) or hit.Size == Vector3.new(2,2.1,1) or hit.Size == Vector3.new(1,1.105,1) or hit.Size == Vector3.new(1,1.227,1) or hit.Size == Vector3.new(1,1.253,1) or hit.Size == Vector3.new(1,1.277,1) or hit.Size == Vector3.new(1,2,1) or hit.Size == Vector3.new(2,1,1) or hit.Name == "Head" or hit.Name == "Torso" or hit.Name == "Right Arm" or hit.Name == "Left Arm" or hit.Name == "Right Leg" or hit.Name == "Left Leg" or hit.Name == "UpperTorso" or hit.Name == "HumanoidRootPart" or hit.Name == "LowerTorso" or hit.Name == "RightHand" or hit.Name == "LeftHand" or hit.Name == "RightFoot" or hit.Name == "LeftFoot" or hit.Name == "LeftUpperArm" or hit.Name == "LeftLowerArm" or hit.Name == "RightUpperArm" or hit.Name == "RightLowerArm" or hit.Name == "LeftUpperLeg" or hit.Name == "LeftLowerLeg" or hit.Name == "RightUpperLeg" or hit.Name == "RightLowerLeg") then
  4005. break
  4006. elseif hit and hits<maxhits and hit.Size ~= Vector3.new(2,2,1) and hit.Size ~= Vector3.new(2,2.1,1) and hit.Size ~= Vector3.new(1,1.105,1) and hit.Size ~= Vector3.new(1,1.227,1) and hit.Size ~= Vector3.new(1,1.253,1) and hit.Size ~= Vector3.new(1,1.277,1) and hit.Size ~= Vector3.new(1,2,1) and hit.Size ~= Vector3.new(2,1,1) and hit.Name ~= "Head" and hit.Name ~= "Torso" and hit.Name ~= "Right Arm" and hit.Name ~= "Left Arm" and hit.Name ~= "Right Leg" and hit.Name ~= "Left Leg" and hit.Name ~= "UpperTorso" and hit.Name ~= "HumanoidRootPart" and hit.Name ~= "LowerTorso" and hit.Name ~= "RightHand" and hit.Name ~= "LeftHand" and hit.Name ~= "RightFoot" and hit.Name ~= "LeftFoot" and hit.Name ~= "LeftUpperArm" and hit.Name ~= "LeftLowerArm" and hit.Name ~= "RightUpperArm" and hit.Name ~= "RightLowerArm" and hit.Name ~= "LeftUpperLeg" and hit.Name ~= "LeftLowerLeg" and hit.Name ~= "RightUpperLeg" and hit.Name ~= "RightLowerLeg" then
  4007. hits=hits+1
  4008. bullet.CFrame=CFrame.new(pos,pos+(bullet.CFrame.LookVector-2*norm:Dot(bullet.CFrame.LookVector)*norm))
  4009. local ids = {4458751694,4458751342,4458751594,4458751201}
  4010. local so = Instance.new("Sound",bullet)
  4011. so.SoundId="rbxassetid://"..ids[math.random(1,#ids)]
  4012. so.Volume=2
  4013. so.Pitch=2
  4014. so.PlayOnRemove=true
  4015. so:Play()
  4016. so:Destroy()
  4017. elseif (hit and hit.Parent and hit.Parent:IsA'Accessory') or (hit and hit.Parent and hit.Parent:IsA'Hat') then
  4018. hit:Destroy()
  4019. end
  4020. bullet.CFrame=bullet.CFrame*CFrame.new(0,0,-2)
  4021. end
  4022. Aoe(bullet.CFrame,17,"Annihilate")
  4023. local so = Instance.new("Sound",bullet)
  4024. so.SoundId="rbxassetid://4299512779"
  4025. so.Volume=2
  4026. so.Pitch=1
  4027. so.PlayOnRemove=true
  4028. so:Play()
  4029. so:Destroy()
  4030. local so2 = Instance.new("Sound",bullet)
  4031. so2.SoundId="rbxassetid://3750994166"
  4032. so2.Volume=2
  4033. so2.Pitch=1
  4034. so2.PlayOnRemove=true
  4035. so2:Play()
  4036. so2:Destroy()
  4037. local so3 = Instance.new("Sound",bullet)
  4038. so3.SoundId="rbxassetid://4299513168"
  4039. so3.Volume=2
  4040. so3.Pitch=1
  4041. so3.PlayOnRemove=true
  4042. so3:Play()
  4043. so3:Destroy()
  4044. local explosionpart = Instance.new("Part",effects)
  4045. explosionpart.Anchored=true
  4046. explosionpart.CanCollide=false
  4047. explosionpart.Size=Vector3.new()
  4048. explosionpart.Transparency=1
  4049. explosionpart.CFrame=bullet.CFrame
  4050. local partic2 = Instance.new("ParticleEmitter",explosionpart)
  4051. partic2.Color=ColorSequence.new({ColorSequenceKeypoint.new(0,Color3.new(1,1,0)),ColorSequenceKeypoint.new(0.05,Color3.new(1,1,1)),ColorSequenceKeypoint.new(1,Color3.new())})
  4052. partic2.LightEmission=0
  4053. partic2.LightInfluence=1
  4054. partic2.Size=NumberSequence.new({NumberSequenceKeypoint.new(0,5+math.random(-25,25)/10),NumberSequenceKeypoint.new(0.3,10),NumberSequenceKeypoint.new(1,7.5+math.random(-25,25)/10)})
  4055. partic2.Texture="rbxassetid://1946917526"
  4056. partic2.Transparency=NumberSequence.new({NumberSequenceKeypoint.new(0,1),NumberSequenceKeypoint.new(0.025,0.5),NumberSequenceKeypoint.new(1,1)})
  4057. partic2.ZOffset=1
  4058. partic2.Acceleration=Vector3.new(0,5,0)
  4059. partic2.Drag=2
  4060. partic2.Lifetime=NumberRange.new(1,5)
  4061. partic2.Rate=100000000
  4062. partic2.Rotation=NumberRange.new(-180,180)
  4063. partic2.RotSpeed=NumberRange.new(-90,90)
  4064. partic2.Speed=NumberRange.new(10,20)
  4065. partic2.SpreadAngle=Vector2.new(360,360)
  4066. coroutine.resume(coroutine.create(function()
  4067. wait(.2)
  4068. partic2.Enabled=false
  4069. wait(5.1)
  4070. partic2:Destroy()
  4071. end))
  4072. local partic3 = Instance.new("ParticleEmitter",explosionpart)
  4073. partic3.Color=ColorSequence.new({ColorSequenceKeypoint.new(0,Color3.new(0,0,1)),ColorSequenceKeypoint.new(1,Color3.new())})
  4074. partic3.LightEmission=1
  4075. partic3.LightInfluence=1
  4076. partic3.Size=NumberSequence.new({NumberSequenceKeypoint.new(0,0),NumberSequenceKeypoint.new(0.5,10),NumberSequenceKeypoint.new(1,10)})
  4077. partic3.Texture="rbxassetid://2916153928"
  4078. partic3.Transparency=NumberSequence.new({NumberSequenceKeypoint.new(0,0.75),NumberSequenceKeypoint.new(1,1)})
  4079. partic3.ZOffset=2
  4080. partic3.Drag=2
  4081. partic3.Lifetime=NumberRange.new(.5,2)
  4082. partic3.Rate=100000000
  4083. partic3.Rotation=NumberRange.new(-180,180)
  4084. partic3.RotSpeed=NumberRange.new(-180,180)
  4085. partic3.Speed=NumberRange.new(10)
  4086. partic3.SpreadAngle=Vector2.new(360,360)
  4087. coroutine.resume(coroutine.create(function()
  4088. wait(1)
  4089. partic3.Enabled=false
  4090. wait(1.1)
  4091. partic3:Destroy()
  4092. end))
  4093. bullet.Transparency=1
  4094. for _,a in pairs(bullet:GetDescendants()) do
  4095. if a:IsA'ParticleEmitter' then
  4096. a.Enabled=false
  4097. end
  4098. end
  4099. wait(5.1)
  4100. bullet:Destroy()
  4101. explosionpart:Destroy()
  4102. end))
  4103. for _=0,1,0.075 do game:GetService("RunService").Heartbeat:Wait()
  4104. if crouch==false then
  4105. char:WaitForChild('HumanoidRootPart'):FindFirstChild('RootJoint').C0=char:WaitForChild('HumanoidRootPart'):FindFirstChild('RootJoint').C0:lerp(CFrame.new(0,0,0)*CFrame.Angles(math.rad(90),math.rad(180),0)*CFrame.new(0,0,0+0.075*math.cos(sine/24))*CFrame.Angles(math.rad(1+1*math.cos(sine/24)),0,math.rad(-40)),.4)
  4106. else
  4107. char:WaitForChild('HumanoidRootPart'):FindFirstChild('RootJoint').C0=char:WaitForChild('HumanoidRootPart'):FindFirstChild('RootJoint').C0:lerp(CFrame.new(0,0,0)*CFrame.Angles(math.rad(90),math.rad(180),0)*CFrame.new(0,0,-1+0.075*math.cos(sine/24))*CFrame.Angles(math.rad(1+1*math.cos(sine/24)),0,math.rad(-40)),.4)
  4108. end
  4109. char:WaitForChild('Torso'):FindFirstChild('Neck').C0=char:WaitForChild('Torso'):FindFirstChild('Neck').C0:lerp(CFrame.new(0,1,0)*CFrame.Angles(math.rad(90),math.rad(180),0)*CFrame.new(0,0,0)*CFrame.Angles(math.rad(2.5-5*math.sin(sine/24)),0,math.rad(40)),.4)
  4110. char:WaitForChild('Torso'):FindFirstChild('Right Shoulder').C0=char:WaitForChild('Torso'):FindFirstChild('Right Shoulder').C0:lerp(CFrame.new(1,0.5,0)*CFrame.Angles(0,math.rad(90),0)*CFrame.new(-0.25,0+0.075*math.sin(sine/24),0)*CFrame.Angles(0,math.rad(40+1*math.cos(sine/24)),math.rad(90-1*math.sin(sine/24))),.4)
  4111. char:WaitForChild('Torso'):FindFirstChild('Left Shoulder').C0=char:WaitForChild('Torso'):FindFirstChild('Left Shoulder').C0:lerp(CFrame.new(-1,0.5,0)*CFrame.Angles(0,math.rad(-90),0)*CFrame.new(-0.25,0+0.075*math.sin(sine/24),-0.75)*CFrame.Angles(0,math.rad(-10-1*math.cos(sine/24)),math.rad(-100+1*math.sin(sine/24))),.4)
  4112. gumweld.C0=gumweld.C0:lerp(CFrame.new(-1.2,-0.3,0.4)*CFrame.Angles(math.rad(70),math.rad(-5),math.rad(85)),.4)
  4113. end
  4114. if run and crouch==false then speed=24 elseif run==false and crouch then speed=6 elseif run==false and crouch==false then speed=12 end
  4115. attack=false
  4116. end
  4117. plr.Chatted:Connect(function(m)
  4118. if string.find(m,"Hahaha",1) or string.find(m,"hahaha",1) or string.find(m,"Hehehe",1) or string.find(m,"hehehe",1) or string.find(m,"Hehe",1) or string.find(m,"hehe",1) or string.find(m,"Haha",1) or string.find(m,"haha",1) then
  4119. local so = Instance.new("Sound",char:WaitForChild('Head'))
  4120. so.SoundId="rbxassetid://165507936"
  4121. so.Volume=2
  4122. so.Pitch=1
  4123. so.PlayOnRemove=true
  4124. so:Play()
  4125. so:Destroy()
  4126. elseif string.find(m,"Citizen",1) or string.find(m,"citizen",1) then
  4127. local so = Instance.new("Sound",char:WaitForChild('Head'))
  4128. so.SoundId="rbxassetid://176734741"
  4129. so.Volume=2
  4130. so.Pitch=1
  4131. so.PlayOnRemove=true
  4132. so:Play()
  4133. so:Destroy()
  4134. elseif string.find(m,"Amputate",1) or string.find(m,"amputate",1) then
  4135. local so = Instance.new("Sound",char:WaitForChild('Head'))
  4136. so.SoundId="rbxassetid://176734778"
  4137. so.Volume=2
  4138. so.Pitch=1
  4139. so.PlayOnRemove=true
  4140. so:Play()
  4141. so:Destroy()
  4142. elseif string.find(m,"Move along",1) or string.find(m,"move along",1) then
  4143. local so = Instance.new("Sound",char:WaitForChild('Head'))
  4144. so.SoundId="rbxassetid://176734834"
  4145. so.Volume=2
  4146. so.Pitch=1
  4147. so.PlayOnRemove=true
  4148. so:Play()
  4149. so:Destroy()
  4150. elseif string.find(m,"Hold it right there!",1) or string.find(m,"hold it right there!",1) or string.find(m,"Hold it right there",1) or string.find(m,"hold it right there",1) then
  4151. local so = Instance.new("Sound",char:WaitForChild('Head'))
  4152. so.SoundId="rbxassetid://176734691"
  4153. so.Volume=2
  4154. so.Pitch=1
  4155. so.PlayOnRemove=true
  4156. so:Play()
  4157. so:Destroy()
  4158. end
  4159. end)
  4160. hum.Died:connect(function()
  4161. local ids = {4593020878,4593020162,4593018831,4593019496}
  4162. local so = Instance.new("Sound",char:WaitForChild('Head'))
  4163. so.SoundId="rbxassetid://"..ids[math.random(1,#ids)]
  4164. so.Volume=math.random(15,25)/10
  4165. so.Pitch=math.random(95,105)/100
  4166. so.PlayOnRemove=true
  4167. so:Play()
  4168. so:Destroy()
  4169. if char:WaitForChild('HumanoidRootPart') then char:WaitForChild('HumanoidRootPart'):Destroy() end
  4170. local bweld = Instance.new("Weld",blacc) bweld.Part0=blacc bweld.Part1 = helmet bweld.C0=CFrame.new(0,0.1,0.5)*CFrame.Angles(math.rad(-10),0,0)
  4171. local eweld = Instance.new("Weld",eye) eweld.Part0=eye eweld.Part1 = helmet eweld.C0=CFrame.new(0,0.31,-0.065)
  4172. local weld = Instance.new("Weld",p) weld.Part0=p weld.Part1 = char:WaitForChild('Torso') weld.C0=CFrame.new(0,0.8,0)
  4173. eye.Material="SmoothPlastic"
  4174. eye.Color=Color3.new(.5,0,0)
  4175. gun.CanCollide=true
  4176. blacc.CanCollide=true
  4177. helmet.CanCollide=true
  4178. grenade.CanCollide=true
  4179. radio.CanCollide=true
  4180. p.Transparency=1
  4181. p.CanCollide=true
  4182. mus:Destroy()
  4183. for _=1,math.random(8,13) do
  4184. BloodDrop(char:WaitForChild('Torso').CFrame,Vector3.new(math.random(-30,30),math.random(75,150),math.random(-30,30)),math.random(2,5)/10,2,{char},workspace)
  4185. end
  4186. end)
  4187. local heat = hum.Health
  4188. hum.HealthChanged:connect(function() local Health = math.min(hum.Health-heat) if heat-1<-Health then hum.Health = 1 end heat = hum.Health end)
  4189.  
  4190.  
  4191.  
  4192.  
  4193.  
  4194.  
  4195.  
  4196.  
  4197.  
  4198. bambam = Instance.new("BodyThrust")
  4199. bambam.Parent = HumanRoot
  4200. bambam.Force = Vector3.new(0,0,0)
  4201. while true do game:GetService("RunService").Heartbeat:Wait() sine=sine+(2/3)
  4202. hum:SetStateEnabled(Enum.HumanoidStateType.GettingUp,true)
  4203. hum:SetStateEnabled(Enum.HumanoidStateType.Landed,true)
  4204. hum:SetStateEnabled(Enum.HumanoidStateType.Ragdoll,false)
  4205. hum.MaxHealth=150
  4206. if hum.Health < 150 then hum.Health=hum.Health+5 end
  4207. hum.DisplayDistanceType=Enum.HumanoidDisplayDistanceType.None
  4208. hum.WalkSpeed=speed
  4209. hum.JumpPower=50
  4210. hum.PlatformStand=false
  4211. for _,a in pairs(char:GetDescendants()) do
  4212. if a:IsA'BasePart' and a~=eye and a~=blacc and a~=helmet and a~=gun and not a:IsDescendantOf(effects) then
  4213. a.BrickColor=BrickColor.new("Really black")
  4214. a.Color=Color3.new(0,0,0)
  4215. if a.Name == "Head" then
  4216. a.Transparency=1
  4217. end
  4218. elseif a.Name=="Animate" or a:IsA'Animator' or a:IsA'BodyColors' or a:IsA'Accessory' or a:IsA'Hat' or a:IsA'Decal' or a:IsA'ShirtGraphic' and a~=shirt and a~=pants then
  4219. a:Destroy()
  4220. end
  4221. end
  4222. if hum.Sit==true then sit=true else sit=false end
  4223. if char:WaitForChild('HumanoidRootPart') and char:WaitForChild('HumanoidRootPart'):FindFirstChild('RootJoint') and char:WaitForChild('Torso') and char:WaitForChild('Torso'):FindFirstChild('Neck') and char:WaitForChild('Torso'):FindFirstChild('Right Hip') and char:WaitForChild('Torso'):FindFirstChild('Left Hip') and char:WaitForChild('Torso'):FindFirstChild('Right Shoulder') and char:WaitForChild('Torso'):FindFirstChild('Left Shoulder') then
  4224. local h,p = workspace:FindPartOnRay(Ray.new(char:WaitForChild('HumanoidRootPart').Position, (CFrame.new(char:WaitForChild('HumanoidRootPart').Position,char:WaitForChild('HumanoidRootPart').Position+Vector3.new(0,-1,0))).lookVector.unit * 4), char)
  4225. if attack==false then
  4226. bambam.Location = HumanRoot.Position
  4227. HumanRoot.Position = CloneChar.HumanoidRootPart.Position
  4228. HumanRoot.AssemblyAngularVelocity = Vector3.new(0,0,0)
  4229. bambam.Force = Vector3.new(0,0,0)
  4230. if sit==false then
  4231. if (char:WaitForChild('HumanoidRootPart').Velocity * Vector3.new(1, 0, 1)).magnitude < 1 and h ~= nil then
  4232. if crouch then speed=6
  4233. char:WaitForChild('HumanoidRootPart'):FindFirstChild('RootJoint').C0=char:WaitForChild('HumanoidRootPart'):FindFirstChild('RootJoint').C0:lerp(CFrame.new(0,0,0)*CFrame.Angles(math.rad(90),math.rad(180),0)*CFrame.new(0,0,-1+0.075*math.cos(sine/24))*CFrame.Angles(math.rad(5+1*math.cos(sine/24)),0,0),.2)
  4234. char:WaitForChild('Torso'):FindFirstChild('Neck').C0=char:WaitForChild('Torso'):FindFirstChild('Neck').C0:lerp(CFrame.new(0,1,0)*CFrame.Angles(math.rad(90),math.rad(180),0)*CFrame.new(0,0,0)*CFrame.Angles(math.rad(-2.5-5*math.sin(sine/24)),0,0),.2)
  4235. char:WaitForChild('Torso'):FindFirstChild('Right Shoulder').C0=char:WaitForChild('Torso'):FindFirstChild('Right Shoulder').C0:lerp(CFrame.new(1,0.5,0)*CFrame.Angles(0,math.rad(90),0)*CFrame.new(0,0+0.075*math.sin(sine/24),0)*CFrame.Angles(0,math.rad(55+1*math.cos(sine/24)),math.rad(55-1*math.sin(sine/24))),.2)
  4236. char:WaitForChild('Torso'):FindFirstChild('Left Shoulder').C0=char:WaitForChild('Torso'):FindFirstChild('Left Shoulder').C0:lerp(CFrame.new(-1,0.5,0)*CFrame.Angles(0,math.rad(-90),0)*CFrame.new(0,0+0.075*math.sin(sine/24),0)*CFrame.Angles(0,math.rad(-10-1*math.cos(sine/24)),math.rad(-45+1*math.sin(sine/24))),.2)
  4237. char:WaitForChild('Torso'):FindFirstChild('Right Hip').C0=char:WaitForChild('Torso'):FindFirstChild('Right Hip').C0:lerp(CFrame.new(1,-1,0)*CFrame.Angles(0,math.rad(90),0)*CFrame.new(0.25,0-0.075*math.cos(sine/24),0)*CFrame.Angles(math.rad(-5),math.rad(-10),math.rad(-55+1*math.cos(sine/24))),.2)
  4238. char:WaitForChild('Torso'):FindFirstChild('Left Hip').C0=char:WaitForChild('Torso'):FindFirstChild('Left Hip').C0:lerp(CFrame.new(-1,-1,0)*CFrame.Angles(0,math.rad(-90),0)*CFrame.new(-0.5,1-0.075*math.cos(sine/24),0)*CFrame.Angles(math.rad(-5),math.rad(10),math.rad(-5-1*math.cos(sine/24))),.2)
  4239. gumweld.C0=gumweld.C0:lerp(CFrame.new(-1.2,-0.3,0.4)*CFrame.Angles(math.rad(70),math.rad(-5),math.rad(85))*CFrame.new(-0.3,0,0)*CFrame.Angles(0,0,math.rad(20)),.2)
  4240. else
  4241. char:WaitForChild('HumanoidRootPart'):FindFirstChild('RootJoint').C0=char:WaitForChild('HumanoidRootPart'):FindFirstChild('RootJoint').C0:lerp(CFrame.new(0,0,0)*CFrame.Angles(math.rad(90),math.rad(180),0)*CFrame.new(0,0,0+0.075*math.cos(sine/24))*CFrame.Angles(math.rad(1+1*math.cos(sine/24)),0,0),.2)
  4242. char:WaitForChild('Torso'):FindFirstChild('Neck').C0=char:WaitForChild('Torso'):FindFirstChild('Neck').C0:lerp(CFrame.new(0,1,0)*CFrame.Angles(math.rad(90),math.rad(180),0)*CFrame.new(0,0,0)*CFrame.Angles(math.rad(2.5-5*math.sin(sine/24)),0,0),.2)
  4243. char:WaitForChild('Torso'):FindFirstChild('Right Shoulder').C0=char:WaitForChild('Torso'):FindFirstChild('Right Shoulder').C0:lerp(CFrame.new(1,0.5,0)*CFrame.Angles(0,math.rad(90),0)*CFrame.new(0,0+0.075*math.sin(sine/24),0)*CFrame.Angles(0,math.rad(55+1*math.cos(sine/24)),math.rad(55-1*math.sin(sine/24))),.2)
  4244. char:WaitForChild('Torso'):FindFirstChild('Left Shoulder').C0=char:WaitForChild('Torso'):FindFirstChild('Left Shoulder').C0:lerp(CFrame.new(-1,0.5,0)*CFrame.Angles(0,math.rad(-90),0)*CFrame.new(0,0+0.075*math.sin(sine/24),0)*CFrame.Angles(0,math.rad(-10-1*math.cos(sine/24)),math.rad(-45+1*math.sin(sine/24))),.2)
  4245. char:WaitForChild('Torso'):FindFirstChild('Right Hip').C0=char:WaitForChild('Torso'):FindFirstChild('Right Hip').C0:lerp(CFrame.new(1,-1,0)*CFrame.Angles(0,math.rad(90),0)*CFrame.new(0,0-0.075*math.cos(sine/24),0)*CFrame.Angles(math.rad(-1),math.rad(-5),math.rad(1+1*math.cos(sine/24))),.2)
  4246. char:WaitForChild('Torso'):FindFirstChild('Left Hip').C0=char:WaitForChild('Torso'):FindFirstChild('Left Hip').C0:lerp(CFrame.new(-1,-1,0)*CFrame.Angles(0,math.rad(-90),0)*CFrame.new(0,0-0.075*math.cos(sine/24),0)*CFrame.Angles(math.rad(-1),math.rad(5),math.rad(-1-1*math.cos(sine/24))),.2)
  4247. gumweld.C0=gumweld.C0:lerp(CFrame.new(-1.2,-0.3,0.4)*CFrame.Angles(math.rad(70),math.rad(-5),math.rad(85))*CFrame.new(-0.3,0,0)*CFrame.Angles(0,0,math.rad(20)),.2)
  4248. end
  4249. elseif (char:WaitForChild('HumanoidRootPart').Velocity * Vector3.new(1, 0, 1)).magnitude > 1 and h ~= nil then
  4250. if run and crouch==false then speed=24
  4251. char:WaitForChild('HumanoidRootPart'):FindFirstChild('RootJoint').C0=char:WaitForChild('HumanoidRootPart'):FindFirstChild('RootJoint').C0:lerp(CFrame.new(0,0,0)*CFrame.Angles(math.rad(90),math.rad(180+2.5*math.sin(sine/6)),0)*CFrame.new(0,0,0+0.075*math.cos(sine/6))*CFrame.Angles(math.rad(15+2.5*math.cos(sine/6)),math.rad(0-1*math.cos(sine/6)),0),.2)
  4252. char:WaitForChild('Torso'):FindFirstChild('Neck').C0=char:WaitForChild('Torso'):FindFirstChild('Neck').C0:lerp(CFrame.new(0,1,0)*CFrame.Angles(math.rad(90),math.rad(180),0)*CFrame.new(0,0,0)*CFrame.Angles(math.rad(-15-5*math.sin(sine/6)),0,0),.2)
  4253. char:WaitForChild('Torso'):FindFirstChild('Right Shoulder').C0=char:WaitForChild('Torso'):FindFirstChild('Right Shoulder').C0:lerp(CFrame.new(1,0.5,0)*CFrame.Angles(0,math.rad(90),0)*CFrame.new(0,0+0.075*math.sin(sine/6),0)*CFrame.Angles(0,math.rad(55-5*math.sin(sine/6)),math.rad(55+5*math.cos(sine/6))),.2)
  4254. char:WaitForChild('Torso'):FindFirstChild('Left Shoulder').C0=char:WaitForChild('Torso'):FindFirstChild('Left Shoulder').C0:lerp(CFrame.new(-1,0.5,0)*CFrame.Angles(0,math.rad(-90),0)*CFrame.new(0,0+0.075*math.sin(sine/6),0)*CFrame.Angles(0,math.rad(-10-5*math.sin(sine/6)),math.rad(-45-5*math.cos(sine/6))),.2)
  4255. char:WaitForChild('Torso'):FindFirstChild('Right Hip').C0=char:WaitForChild('Torso'):FindFirstChild('Right Hip').C0:lerp(CFrame.new(1,-1,-0.1-0.2*math.cos(sine/6))*CFrame.Angles(0,math.rad(90),0)*CFrame.new(0,0-0.25*math.sin(sine/6),0)*CFrame.Angles(math.rad(-1),math.rad(-5),math.rad(0+40*math.cos(sine/6))),.2)
  4256. char:WaitForChild('Torso'):FindFirstChild('Left Hip').C0=char:WaitForChild('Torso'):FindFirstChild('Left Hip').C0:lerp(CFrame.new(-1,-1,-0.1+0.2*math.cos(sine/6))*CFrame.Angles(0,math.rad(-90),0)*CFrame.new(0,0+0.25*math.sin(sine/6),0)*CFrame.Angles(math.rad(-1),math.rad(5),math.rad(0+40*math.cos(sine/6))),.2)
  4257. elseif run==false and crouch then speed=6
  4258. char:WaitForChild('HumanoidRootPart'):FindFirstChild('RootJoint').C0=char:WaitForChild('HumanoidRootPart'):FindFirstChild('RootJoint').C0:lerp(CFrame.new(0,0,0)*CFrame.Angles(math.rad(90),math.rad(180+2.5*math.sin(sine/24)),0)*CFrame.new(0,0,-1+0.075*math.cos(sine/24))*CFrame.Angles(math.rad(10+2.5*math.cos(sine/24)),math.rad(0-1*math.cos(sine/24)),0),.2)
  4259. char:WaitForChild('Torso'):FindFirstChild('Neck').C0=char:WaitForChild('Torso'):FindFirstChild('Neck').C0:lerp(CFrame.new(0,1,0)*CFrame.Angles(math.rad(90),math.rad(180),0)*CFrame.new(0,0,0)*CFrame.Angles(math.rad(-10-5*math.sin(sine/24)),0,0),.2)
  4260. char:WaitForChild('Torso'):FindFirstChild('Right Shoulder').C0=char:WaitForChild('Torso'):FindFirstChild('Right Shoulder').C0:lerp(CFrame.new(1,0.5,0)*CFrame.Angles(0,math.rad(90),0)*CFrame.new(0,0+0.075*math.sin(sine/24),0)*CFrame.Angles(0,math.rad(55-5*math.sin(sine/24)),math.rad(55+5*math.cos(sine/24))),.2)
  4261. char:WaitForChild('Torso'):FindFirstChild('Left Shoulder').C0=char:WaitForChild('Torso'):FindFirstChild('Left Shoulder').C0:lerp(CFrame.new(-1,0.5,0)*CFrame.Angles(0,math.rad(-90),0)*CFrame.new(0,0+0.075*math.sin(sine/24),0)*CFrame.Angles(0,math.rad(-10-5*math.sin(sine/24)),math.rad(-45-5*math.cos(sine/24))),.2)
  4262. char:WaitForChild('Torso'):FindFirstChild('Right Hip').C0=char:WaitForChild('Torso'):FindFirstChild('Right Hip').C0:lerp(CFrame.new(1,0,-0.1-0.2*math.cos(sine/24))*CFrame.Angles(0,math.rad(90),0)*CFrame.new(0.25,0-0.25*math.sin(sine/24),0)*CFrame.Angles(math.rad(-1),math.rad(-10),math.rad(0+20*math.cos(sine/24))),.2)
  4263. char:WaitForChild('Torso'):FindFirstChild('Left Hip').C0=char:WaitForChild('Torso'):FindFirstChild('Left Hip').C0:lerp(CFrame.new(-1,0,-0.1+0.2*math.cos(sine/24))*CFrame.Angles(0,math.rad(-90),0)*CFrame.new(-0.25,0+0.25*math.sin(sine/24),0)*CFrame.Angles(math.rad(-1),math.rad(10),math.rad(0+20*math.cos(sine/24))),.2)
  4264. elseif run==false and crouch==false then speed=12
  4265. char:WaitForChild('HumanoidRootPart'):FindFirstChild('RootJoint').C0=char:WaitForChild('HumanoidRootPart'):FindFirstChild('RootJoint').C0:lerp(CFrame.new(0,0,0)*CFrame.Angles(math.rad(90),math.rad(180+2.5*math.sin(sine/10)),0)*CFrame.new(0,0,0+0.075*math.cos(sine/10))*CFrame.Angles(math.rad(2.5+2.5*math.cos(sine/10)),math.rad(0-1*math.cos(sine/10)),0),.2)
  4266. char:WaitForChild('Torso'):FindFirstChild('Neck').C0=char:WaitForChild('Torso'):FindFirstChild('Neck').C0:lerp(CFrame.new(0,1,0)*CFrame.Angles(math.rad(90),math.rad(180),0)*CFrame.new(0,0,0)*CFrame.Angles(math.rad(2.5-5*math.sin(sine/10)),0,0),.2)
  4267. char:WaitForChild('Torso'):FindFirstChild('Right Shoulder').C0=char:WaitForChild('Torso'):FindFirstChild('Right Shoulder').C0:lerp(CFrame.new(1,0.5,0)*CFrame.Angles(0,math.rad(90),0)*CFrame.new(0,0+0.075*math.sin(sine/10),0)*CFrame.Angles(0,math.rad(55-5*math.sin(sine/10)),math.rad(55+5*math.cos(sine/10))),.2)
  4268. char:WaitForChild('Torso'):FindFirstChild('Left Shoulder').C0=char:WaitForChild('Torso'):FindFirstChild('Left Shoulder').C0:lerp(CFrame.new(-1,0.5,0)*CFrame.Angles(0,math.rad(-90),0)*CFrame.new(0,0+0.075*math.sin(sine/10),0)*CFrame.Angles(0,math.rad(-10-5*math.sin(sine/10)),math.rad(-45-5*math.cos(sine/10))),.2)
  4269. char:WaitForChild('Torso'):FindFirstChild('Right Hip').C0=char:WaitForChild('Torso'):FindFirstChild('Right Hip').C0:lerp(CFrame.new(1,-1,-0.1-0.2*math.cos(sine/10))*CFrame.Angles(0,math.rad(90),0)*CFrame.new(0,0-0.25*math.sin(sine/10),0)*CFrame.Angles(math.rad(-1),math.rad(-5),math.rad(-5+40*math.cos(sine/10))),.2)
  4270. char:WaitForChild('Torso'):FindFirstChild('Left Hip').C0=char:WaitForChild('Torso'):FindFirstChild('Left Hip').C0:lerp(CFrame.new(-1,-1,-0.1+0.2*math.cos(sine/10))*CFrame.Angles(0,math.rad(-90),0)*CFrame.new(0,0+0.25*math.sin(sine/10),0)*CFrame.Angles(math.rad(-1),math.rad(5),math.rad(5+40*math.cos(sine/10))),.2)
  4271. end
  4272. elseif char:WaitForChild('HumanoidRootPart').Velocity.Y > 1 and h == nil then
  4273. char:WaitForChild('HumanoidRootPart'):FindFirstChild('RootJoint').C0=char:WaitForChild('HumanoidRootPart'):FindFirstChild('RootJoint').C0:lerp(CFrame.new(0,0,0)*CFrame.Angles(math.rad(90),math.rad(180),0)*CFrame.new(0,0,0+0.075*math.cos(sine/12))*CFrame.Angles(math.rad(-10+5*math.cos(sine/12)),0,0),.3)
  4274. char:WaitForChild('Torso'):FindFirstChild('Neck').C0=char:WaitForChild('Torso'):FindFirstChild('Neck').C0:lerp(CFrame.new(0,1,0)*CFrame.Angles(math.rad(90),math.rad(180),0)*CFrame.new(0,0,0)*CFrame.Angles(math.rad(0-5*math.sin(sine/12)),0,0),.3)
  4275. char:WaitForChild('Torso'):FindFirstChild('Right Shoulder').C0=char:WaitForChild('Torso'):FindFirstChild('Right Shoulder').C0:lerp(CFrame.new(1,0.5,0)*CFrame.Angles(0,math.rad(90),0)*CFrame.new(0,0+0.075*math.sin(sine/24),0)*CFrame.Angles(0,math.rad(55+1*math.cos(sine/24)),math.rad(55-1*math.sin(sine/24))),.3)
  4276. char:WaitForChild('Torso'):FindFirstChild('Left Shoulder').C0=char:WaitForChild('Torso'):FindFirstChild('Left Shoulder').C0:lerp(CFrame.new(-1,0.5,0)*CFrame.Angles(0,math.rad(-90),0)*CFrame.new(0,0+0.075*math.sin(sine/24),0)*CFrame.Angles(0,math.rad(-10-1*math.cos(sine/24)),math.rad(-45+1*math.sin(sine/24))),.3)
  4277. char:WaitForChild('Torso'):FindFirstChild('Right Hip').C0=char:WaitForChild('Torso'):FindFirstChild('Right Hip').C0:lerp(CFrame.new(1,-1,0)*CFrame.Angles(0,math.rad(90),0)*CFrame.new(0.5,0.75-0.075*math.cos(sine/12),0)*CFrame.Angles(math.rad(-1),math.rad(-5),math.rad(-20+1*math.cos(sine/12))),.3)
  4278. char:WaitForChild('Torso'):FindFirstChild('Left Hip').C0=char:WaitForChild('Torso'):FindFirstChild('Left Hip').C0:lerp(CFrame.new(-1,-1,0)*CFrame.Angles(0,math.rad(-90),0)*CFrame.new(-0.25,0.25-0.075*math.cos(sine/12),0)*CFrame.Angles(math.rad(-1),math.rad(5),math.rad(10-1*math.cos(sine/12))),.3)
  4279. elseif char:WaitForChild('HumanoidRootPart').Velocity.Y < 1 and h == nil then
  4280. char:WaitForChild('HumanoidRootPart'):FindFirstChild('RootJoint').C0=char:WaitForChild('HumanoidRootPart'):FindFirstChild('RootJoint').C0:lerp(CFrame.new(0,0,0)*CFrame.Angles(math.rad(90),math.rad(180),0)*CFrame.new(0,0,0+0.075*math.cos(sine/12))*CFrame.Angles(math.rad(5+5*math.cos(sine/12)),0,0),.2)
  4281. char:WaitForChild('Torso'):FindFirstChild('Neck').C0=char:WaitForChild('Torso'):FindFirstChild('Neck').C0:lerp(CFrame.new(0,1,0)*CFrame.Angles(math.rad(90),math.rad(180),0)*CFrame.new(0,0,0)*CFrame.Angles(math.rad(5-5*math.sin(sine/12)),0,0),.2)
  4282. char:WaitForChild('Torso'):FindFirstChild('Right Shoulder').C0=char:WaitForChild('Torso'):FindFirstChild('Right Shoulder').C0:lerp(CFrame.new(1,0.5,0)*CFrame.Angles(0,math.rad(90),0)*CFrame.new(0,0+0.075*math.sin(sine/24),0)*CFrame.Angles(0,math.rad(55+1*math.cos(sine/24)),math.rad(55-1*math.sin(sine/24))),.2)
  4283. char:WaitForChild('Torso'):FindFirstChild('Left Shoulder').C0=char:WaitForChild('Torso'):FindFirstChild('Left Shoulder').C0:lerp(CFrame.new(-1,0.5,0)*CFrame.Angles(0,math.rad(-90),0)*CFrame.new(0,0+0.075*math.sin(sine/24),0)*CFrame.Angles(0,math.rad(-10-1*math.cos(sine/24)),math.rad(-45+1*math.sin(sine/24))),.2)
  4284. char:WaitForChild('Torso'):FindFirstChild('Right Hip').C0=char:WaitForChild('Torso'):FindFirstChild('Right Hip').C0:lerp(CFrame.new(1,-1,0)*CFrame.Angles(0,math.rad(90),0)*CFrame.new(0.25,0.5-0.075*math.cos(sine/12),0)*CFrame.Angles(math.rad(-1),math.rad(-5),math.rad(-10+1*math.cos(sine/12))),.2)
  4285. char:WaitForChild('Torso'):FindFirstChild('Left Hip').C0=char:WaitForChild('Torso'):FindFirstChild('Left Hip').C0:lerp(CFrame.new(-1,-1,0)*CFrame.Angles(0,math.rad(-90),0)*CFrame.new(0,0-0.075*math.cos(sine/12),0)*CFrame.Angles(math.rad(-1),math.rad(5),math.rad(5-1*math.cos(sine/12))),.2)
  4286. end
  4287. else
  4288. char:WaitForChild('HumanoidRootPart'):FindFirstChild('RootJoint').C0=char:WaitForChild('HumanoidRootPart'):FindFirstChild('RootJoint').C0:lerp(CFrame.new(0,0,0)*CFrame.Angles(math.rad(90),math.rad(180),0)*CFrame.new(0,0,0+0.075*math.cos(sine/24))*CFrame.Angles(math.rad(1+1*math.cos(sine/24)),0,0),.2)
  4289. char:WaitForChild('Torso'):FindFirstChild('Neck').C0=char:WaitForChild('Torso'):FindFirstChild('Neck').C0:lerp(CFrame.new(0,1,0)*CFrame.Angles(math.rad(90),math.rad(180),0)*CFrame.new(0,0,0)*CFrame.Angles(math.rad(2.5-5*math.sin(sine/24)),0,0),.2)
  4290. char:WaitForChild('Torso'):FindFirstChild('Right Shoulder').C0=char:WaitForChild('Torso'):FindFirstChild('Right Shoulder').C0:lerp(CFrame.new(1,0.5,0)*CFrame.Angles(0,math.rad(90),0)*CFrame.new(0,0+0.075*math.sin(sine/24),0)*CFrame.Angles(0,math.rad(55+1*math.cos(sine/24)),math.rad(55-1*math.sin(sine/24))),.2)
  4291. char:WaitForChild('Torso'):FindFirstChild('Left Shoulder').C0=char:WaitForChild('Torso'):FindFirstChild('Left Shoulder').C0:lerp(CFrame.new(-1,0.5,0)*CFrame.Angles(0,math.rad(-90),0)*CFrame.new(0,0+0.075*math.sin(sine/24),0)*CFrame.Angles(0,math.rad(-10-1*math.cos(sine/24)),math.rad(-45+1*math.sin(sine/24))),.2)
  4292. char:WaitForChild('Torso'):FindFirstChild('Right Hip').C0=char:WaitForChild('Torso'):FindFirstChild('Right Hip').C0:lerp(CFrame.new(1,-1,0)*CFrame.Angles(0,math.rad(90),0)*CFrame.new(0.75,0.25-0.075*math.cos(sine/24),0)*CFrame.Angles(math.rad(-1),math.rad(-5),math.rad(1+1*math.cos(sine/24))),.2)
  4293. char:WaitForChild('Torso'):FindFirstChild('Left Hip').C0=char:WaitForChild('Torso'):FindFirstChild('Left Hip').C0:lerp(CFrame.new(-1,-1,0)*CFrame.Angles(0,math.rad(-90),0)*CFrame.new(-0.75,0.25-0.075*math.cos(sine/24),0)*CFrame.Angles(math.rad(-1),math.rad(5),math.rad(-1-1*math.cos(sine/24))),.2)
  4294. end
  4295. else
  4296. if (char:WaitForChild('HumanoidRootPart').Velocity * Vector3.new(1, 0, 1)).magnitude < 1 and h ~= nil then
  4297. if crouch then
  4298. char:WaitForChild('Torso'):FindFirstChild('Right Hip').C0=char:WaitForChild('Torso'):FindFirstChild('Right Hip').C0:lerp(CFrame.new(1,-1,0)*CFrame.Angles(0,math.rad(90),0)*CFrame.new(0.25,0-0.075*math.cos(sine/24),0)*CFrame.Angles(math.rad(-5),math.rad(-10),math.rad(-55+1*math.cos(sine/24))),.2)
  4299. char:WaitForChild('Torso'):FindFirstChild('Left Hip').C0=char:WaitForChild('Torso'):FindFirstChild('Left Hip').C0:lerp(CFrame.new(-1,-1,0)*CFrame.Angles(0,math.rad(-90),0)*CFrame.new(-0.5,1-0.075*math.cos(sine/24),0)*CFrame.Angles(math.rad(-5),math.rad(10),math.rad(-5-1*math.cos(sine/24))),.2)
  4300. else
  4301. char:WaitForChild('Torso'):FindFirstChild('Right Hip').C0=char:WaitForChild('Torso'):FindFirstChild('Right Hip').C0:lerp(CFrame.new(1,-1,0)*CFrame.Angles(0,math.rad(90),0)*CFrame.new(0,0-0.075*math.cos(sine/24),0)*CFrame.Angles(math.rad(-1),math.rad(-5),math.rad(1+1*math.cos(sine/24))),.2)
  4302. char:WaitForChild('Torso'):FindFirstChild('Left Hip').C0=char:WaitForChild('Torso'):FindFirstChild('Left Hip').C0:lerp(CFrame.new(-1,-1,0)*CFrame.Angles(0,math.rad(-90),0)*CFrame.new(0,0-0.075*math.cos(sine/24),0)*CFrame.Angles(math.rad(-1),math.rad(5),math.rad(-1-1*math.cos(sine/24))),.2)
  4303. end
  4304. elseif (char:WaitForChild('HumanoidRootPart').Velocity * Vector3.new(1, 0, 1)).magnitude > 1 and h ~= nil then
  4305. if run and crouch==false then
  4306. char:WaitForChild('Torso'):FindFirstChild('Right Hip').C0=char:WaitForChild('Torso'):FindFirstChild('Right Hip').C0:lerp(CFrame.new(1,-1,-0.1-0.2*math.cos(sine/6))*CFrame.Angles(0,math.rad(90),0)*CFrame.new(0,0-0.25*math.sin(sine/6),0)*CFrame.Angles(math.rad(-1),math.rad(-5),math.rad(0+40*math.cos(sine/6))),.2)
  4307. char:WaitForChild('Torso'):FindFirstChild('Left Hip').C0=char:WaitForChild('Torso'):FindFirstChild('Left Hip').C0:lerp(CFrame.new(-1,-1,-0.1+0.2*math.cos(sine/6))*CFrame.Angles(0,math.rad(-90),0)*CFrame.new(0,0+0.25*math.sin(sine/6),0)*CFrame.Angles(math.rad(-1),math.rad(5),math.rad(0+40*math.cos(sine/6))),.2)
  4308. elseif run==false and crouch then
  4309. char:WaitForChild('Torso'):FindFirstChild('Right Hip').C0=char:WaitForChild('Torso'):FindFirstChild('Right Hip').C0:lerp(CFrame.new(1,0,-0.1-0.2*math.cos(sine/24))*CFrame.Angles(0,math.rad(90),0)*CFrame.new(0.25,0-0.25*math.sin(sine/24),0)*CFrame.Angles(math.rad(-1),math.rad(-10),math.rad(0+20*math.cos(sine/24))),.2)
  4310. char:WaitForChild('Torso'):FindFirstChild('Left Hip').C0=char:WaitForChild('Torso'):FindFirstChild('Left Hip').C0:lerp(CFrame.new(-1,0,-0.1+0.2*math.cos(sine/24))*CFrame.Angles(0,math.rad(-90),0)*CFrame.new(-0.25,0+0.25*math.sin(sine/24),0)*CFrame.Angles(math.rad(-1),math.rad(10),math.rad(0+20*math.cos(sine/24))),.2)
  4311. elseif run==false and crouch==false then
  4312. char:WaitForChild('Torso'):FindFirstChild('Right Hip').C0=char:WaitForChild('Torso'):FindFirstChild('Right Hip').C0:lerp(CFrame.new(1,-1,-0.1-0.2*math.cos(sine/10))*CFrame.Angles(0,math.rad(90),0)*CFrame.new(0,0-0.25*math.sin(sine/10),0)*CFrame.Angles(math.rad(-1),math.rad(-5),math.rad(-5+40*math.cos(sine/10))),.2)
  4313. char:WaitForChild('Torso'):FindFirstChild('Left Hip').C0=char:WaitForChild('Torso'):FindFirstChild('Left Hip').C0:lerp(CFrame.new(-1,-1,-0.1+0.2*math.cos(sine/10))*CFrame.Angles(0,math.rad(-90),0)*CFrame.new(0,0+0.25*math.sin(sine/10),0)*CFrame.Angles(math.rad(-1),math.rad(5),math.rad(5+40*math.cos(sine/10))),.2)
  4314. end
  4315. elseif char:WaitForChild('HumanoidRootPart').Velocity.Y > 1 and h == nil then
  4316. char:WaitForChild('Torso'):FindFirstChild('Right Hip').C0=char:WaitForChild('Torso'):FindFirstChild('Right Hip').C0:lerp(CFrame.new(1,-1,0)*CFrame.Angles(0,math.rad(90),0)*CFrame.new(0.5,0.75-0.075*math.cos(sine/12),0)*CFrame.Angles(math.rad(-1),math.rad(-5),math.rad(-20+1*math.cos(sine/12))),.3)
  4317. char:WaitForChild('Torso'):FindFirstChild('Left Hip').C0=char:WaitForChild('Torso'):FindFirstChild('Left Hip').C0:lerp(CFrame.new(-1,-1,0)*CFrame.Angles(0,math.rad(-90),0)*CFrame.new(-0.25,0.25-0.075*math.cos(sine/12),0)*CFrame.Angles(math.rad(-1),math.rad(5),math.rad(10-1*math.cos(sine/12))),.3)
  4318. elseif char:WaitForChild('HumanoidRootPart').Velocity.Y < 1 and h == nil then
  4319. char:WaitForChild('Torso'):FindFirstChild('Right Hip').C0=char:WaitForChild('Torso'):FindFirstChild('Right Hip').C0:lerp(CFrame.new(1,-1,0)*CFrame.Angles(0,math.rad(90),0)*CFrame.new(0.25,0.5-0.075*math.cos(sine/12),0)*CFrame.Angles(math.rad(-1),math.rad(-5),math.rad(-10+1*math.cos(sine/12))),.2)
  4320. char:WaitForChild('Torso'):FindFirstChild('Left Hip').C0=char:WaitForChild('Torso'):FindFirstChild('Left Hip').C0:lerp(CFrame.new(-1,-1,0)*CFrame.Angles(0,math.rad(-90),0)*CFrame.new(0,0-0.075*math.cos(sine/12),0)*CFrame.Angles(math.rad(-1),math.rad(5),math.rad(5-1*math.cos(sine/12))),.2)
  4321. end
  4322. end
  4323. end
  4324. end
Advertisement
Add Comment
Please, Sign In to add comment
Advertisement