Advertisement
mikldapikl

asd

Apr 21st, 2018
117
0
Never
Not a member of Pastebin yet? Sign Up, it unlocks many cool features!
Lua 41.15 KB | None | 0 0
  1. --By Rufus14
  2. mouse = game.Players.LocalPlayer:GetMouse()
  3. isshootingwithfirstgun = true
  4. game.Players.LocalPlayer.Character.Torso.Neck.C1 = CFrame.new(0,-0.7,0)
  5. local rhandweld = Instance.new("Weld", game.Players.LocalPlayer.Character.Torso)
  6. rhandweld.Part0 = game.Players.LocalPlayer.Character.Torso
  7. rhandweld.Part1 = game.Players.LocalPlayer.Character["Right Arm"]
  8. rhandweld.C1 = CFrame.new(0,1,0)
  9. local lhandweld = Instance.new("Weld", game.Players.LocalPlayer.Character.Torso)
  10. lhandweld.Part0 = game.Players.LocalPlayer.Character.Torso
  11. lhandweld.Part1 = game.Players.LocalPlayer.Character["Left Arm"]
  12. lhandweld.C1 = CFrame.new(0,1,0)
  13. --Converted with ttyyuu12345's model to script plugin v4
  14. function sandbox(var,func)
  15.     local env = getfenv(func)
  16.     local newenv = setmetatable({},{
  17.         __index = function(self,k)
  18.             if k=="script" then
  19.                 return var
  20.             else
  21.                 return env[k]
  22.             end
  23.         end,
  24.     })
  25.     setfenv(func,newenv)
  26.     return func
  27. end
  28. cors = {}
  29. mas = Instance.new("Model",game:GetService("Lighting"))
  30. Model0 = Instance.new("Model")
  31. Part1 = Instance.new("Part")
  32. Part2 = Instance.new("Part")
  33. Part3 = Instance.new("Part")
  34. Weld4 = Instance.new("Weld")
  35. Weld5 = Instance.new("Weld")
  36. Model0.Name = "Glock"
  37. Model0.Parent = mas
  38. Part1.Parent = Model0
  39. Part1.Material = Enum.Material.Glass
  40. Part1.BrickColor = BrickColor.new("Black")
  41. Part1.Name = "up"
  42. Part1.Rotation = Vector3.new(0, 0, -90)
  43. Part1.Size = Vector3.new(0.199999958, 1.74999976, 0.449999988)
  44. Part1.CFrame = CFrame.new(-3.10613155, 1.13166213, -9.12499809, 0, 1, -0, -1, 0, 0, 0, 0, 1)
  45. Part1.BottomSurface = Enum.SurfaceType.Smooth
  46. Part1.TopSurface = Enum.SurfaceType.Smooth
  47. Part1.Color = Color3.new(0.180392, 0.180392, 0.184314)
  48. Part1.Position = Vector3.new(-3.10613155, 1.13166213, -9.12499809)
  49. Part1.Orientation = Vector3.new(0, 0, -90)
  50. Part1.Color = Color3.new(0.180392, 0.180392, 0.184314)
  51. Part2.Parent = Model0
  52. Part2.Material = Enum.Material.Glass
  53. Part2.BrickColor = BrickColor.new("Really black")
  54. Part2.Rotation = Vector3.new(0, 0, -90)
  55. Part2.Size = Vector3.new(0.349999964, 1.74999976, 0.449999988)
  56. Part2.CFrame = CFrame.new(-3.10613203, 0.856638014, -9.12499809, 0, 1, 0, -1, 0, 0, 0, 0, 1)
  57. Part2.BottomSurface = Enum.SurfaceType.Smooth
  58. Part2.TopSurface = Enum.SurfaceType.Smooth
  59. Part2.Color = Color3.new(0, 0, 0)
  60. Part2.Position = Vector3.new(-3.10613203, 0.856638014, -9.12499809)
  61. Part2.Orientation = Vector3.new(0, 0, -90)
  62. Part2.Color = Color3.new(0, 0, 0)
  63. Part3.Parent = Model0
  64. Part3.Material = Enum.Material.Glass
  65. Part3.BrickColor = BrickColor.new("Bright yellow")
  66. Part3.Name = "Handl"
  67. Part3.Rotation = Vector3.new(0, 0, -15)
  68. Part3.Size = Vector3.new(0.449999988, 1, 0.349999964)
  69. Part3.CFrame = CFrame.new(-3.88113117, 0.556637883, -9.12499809, 0.965925872, 0.258818984, 0, -0.258818984, 0.965925872, 0, 0, 0, 1)
  70. Part3.BottomSurface = Enum.SurfaceType.Smooth
  71. Part3.TopSurface = Enum.SurfaceType.Smooth
  72. Part3.Color = Color3.new(0.960784, 0.803922, 0.188235)
  73. Part3.Position = Vector3.new(-3.88113117, 0.556637883, -9.12499809)
  74. Part3.Orientation = Vector3.new(0, 0, -15)
  75. Part3.Color = Color3.new(0.960784, 0.803922, 0.188235)
  76. Part1:BreakJoints()
  77. Part2:BreakJoints()
  78. Part3:BreakJoints()
  79. Weld4.Parent = Part3
  80. Weld4.C0 = CFrame.new(0.670945883, 0.490362346, 0, 0.258818984, 0.965925872, 0, -0.965925872, 0.258818984, 0, 0, 0, 1)
  81. Weld4.Part0 = Part3
  82. Weld4.Part1 = Part2
  83. Weld5.Parent = Part3
  84. Weld5.C0 = CFrame.new(0.599765062, 0.75601542, 0, 0.258818984, 0.965925872, 0, -0.965925872, 0.258818984, 0, 0, 0, 1)
  85. Weld5.Part0 = Part3
  86. Weld5.Part1 = Part1
  87. for i,v in pairs(mas:GetChildren()) do
  88.     v.Parent = workspace
  89.     pcall(function() v:MakeJoints() end)
  90. end
  91. mas:Destroy()
  92. for i,v in pairs(cors) do
  93.     spawn(function()
  94.         pcall(v)
  95.     end)
  96. end
  97. for i,v in pairs(Model0:GetChildren()) do
  98.     if v.ClassName == "Part" then
  99.         v.CanCollide = false
  100.     end
  101. end
  102. local weld = Instance.new("Weld", Part1)
  103. weld.Part0 = game.Players.LocalPlayer.Character["Right Arm"]
  104. weld.Part1 = Part3
  105. weld.C0 = CFrame.new(-0.0413382053, -1.06609058, -0.169539452, 0.0437759161, 0.0173978098, 0.998889983, -0.962771356, -0.266229749, 0.0468300879, 0.266748905, -0.963752568, 0.0050956551)
  106. ---
  107. --Converted with ttyyuu12345's model to script plugin v4
  108. function sandbox(var,func)
  109.     local env = getfenv(func)
  110.     local newenv = setmetatable({},{
  111.         __index = function(self,k)
  112.             if k=="script" then
  113.                 return var
  114.             else
  115.                 return env[k]
  116.             end
  117.         end,
  118.     })
  119.     setfenv(func,newenv)
  120.     return func
  121. end
  122. cors = {}
  123. mas = Instance.new("Model",game:GetService("Lighting"))
  124. Model00 = Instance.new("Model")
  125. Part11 = Instance.new("Part")
  126. Part22 = Instance.new("Part")
  127. Part33 = Instance.new("Part")
  128. Weld44 = Instance.new("Weld")
  129. Weld55 = Instance.new("Weld")
  130. Model00.Name = "Glock2"
  131. Model00.Parent = mas
  132. Part11.Parent = Model00
  133. Part11.Material = Enum.Material.Glass
  134. Part11.BrickColor = BrickColor.new("Black")
  135. Part11.Name = "up"
  136. Part11.Rotation = Vector3.new(0, 0, -90)
  137. Part11.Size = Vector3.new(0.199999958, 1.74999976, 0.449999988)
  138. Part11.CFrame = CFrame.new(-3.10613155, 1.13166213, -9.12499809, 0, 1, -0, -1, 0, 0, 0, 0, 1)
  139. Part11.BottomSurface = Enum.SurfaceType.Smooth
  140. Part11.TopSurface = Enum.SurfaceType.Smooth
  141. Part11.Color = Color3.new(0.180392, 0.180392, 0.184314)
  142. Part11.Position = Vector3.new(-3.10613155, 1.13166213, -9.12499809)
  143. Part11.Orientation = Vector3.new(0, 0, -90)
  144. Part11.Color = Color3.new(0.180392, 0.180392, 0.184314)
  145. Part22.Parent = Model00
  146. Part22.Material = Enum.Material.Glass
  147. Part22.BrickColor = BrickColor.new("Really black")
  148. Part22.Rotation = Vector3.new(0, 0, -90)
  149. Part22.Size = Vector3.new(0.349999964, 1.74999976, 0.449999988)
  150. Part22.CFrame = CFrame.new(-3.10613203, 0.856638014, -9.12499809, 0, 1, 0, -1, 0, 0, 0, 0, 1)
  151. Part22.BottomSurface = Enum.SurfaceType.Smooth
  152. Part22.TopSurface = Enum.SurfaceType.Smooth
  153. Part22.Color = Color3.new(0, 0, 0)
  154. Part22.Position = Vector3.new(-3.10613203, 0.856638014, -9.12499809)
  155. Part22.Orientation = Vector3.new(0, 0, -90)
  156. Part22.Color = Color3.new(0, 0, 0)
  157. Part33.Parent = Model00
  158. Part33.Material = Enum.Material.Glass
  159. Part33.BrickColor = BrickColor.new("Bright yellow")
  160. Part33.Name = "Handl"
  161. Part33.Rotation = Vector3.new(0, 0, -15)
  162. Part33.Size = Vector3.new(0.449999988, 1, 0.349999964)
  163. Part33.CFrame = CFrame.new(-3.88113117, 0.556637883, -9.12499809, 0.965925872, 0.258818984, 0, -0.258818984, 0.965925872, 0, 0, 0, 1)
  164. Part33.BottomSurface = Enum.SurfaceType.Smooth
  165. Part33.TopSurface = Enum.SurfaceType.Smooth
  166. Part33.Color = Color3.new(0.960784, 0.803922, 0.188235)
  167. Part33.Position = Vector3.new(-3.88113117, 0.556637883, -9.12499809)
  168. Part33.Orientation = Vector3.new(0, 0, -15)
  169. Part33.Color = Color3.new(0.960784, 0.803922, 0.188235)
  170. Part11:BreakJoints()
  171. Part22:BreakJoints()
  172. Part33:BreakJoints()
  173. Weld44.Parent = Part33
  174. Weld44.C0 = CFrame.new(0.670945883, 0.490362346, 0, 0.258818984, 0.965925872, 0, -0.965925872, 0.258818984, 0, 0, 0, 1)
  175. Weld44.Part0 = Part33
  176. Weld44.Part1 = Part22
  177. Weld55.Parent = Part33
  178. Weld55.C0 = CFrame.new(0.599765062, 0.75601542, 0, 0.258818984, 0.965925872, 0, -0.965925872, 0.258818984, 0, 0, 0, 1)
  179. Weld55.Part0 = Part33
  180. Weld55.Part1 = Part11
  181. for i,v in pairs(mas:GetChildren()) do
  182.     v.Parent = workspace
  183.     pcall(function() v:MakeJoints() end)
  184. end
  185. mas:Destroy()
  186. for i,v in pairs(cors) do
  187.     spawn(function()
  188.         pcall(v)
  189.     end)
  190. end
  191. for i,v in pairs(Model0:GetChildren()) do
  192.     if v.ClassName == "Part" then
  193.         v.CanCollide = false
  194.     end
  195. end
  196. for i,v in pairs(Model00:GetChildren()) do
  197.     if v.ClassName == "Part" then
  198.         v.CanCollide = false
  199.     end
  200. end
  201. local welded = Instance.new("Weld", Part11)
  202. welded.Part0 = game.Players.LocalPlayer.Character["Left Arm"]
  203. welded.Part1 = Part33
  204. welded.C0 = CFrame.new(-0.0413382053, -1.06609058, -0.169539452, 0.0437759161, 0.0173978098, 0.998889983, -0.962771356, -0.266229749, 0.0468300879, 0.266748905, -0.963752568, 0.0050956551)
  205. function fpstoggle()
  206.     if not fps then
  207.         fps = true
  208.     else
  209.         fps = false
  210.     end
  211. end
  212. game.Players.LocalPlayer.Character.Archivable = true
  213. local shooot = Instance.new("Sound", Part1)
  214. shooot.SoundId = "rbxassetid://680140087"
  215. shooot.Volume = 7
  216. local hand = game.Players.LocalPlayer.Character["Right Arm"]:Clone()
  217. hand.Parent = workspace.CurrentCamera
  218. local hand2 = game.Players.LocalPlayer.Character["Left Arm"]:Clone()
  219. hand2.Parent = workspace.CurrentCamera
  220. local deathplr = Instance.new("Sound", game.Players.LocalPlayer.Character)
  221. deathplr.SoundId = "rbxassetid://884348443"
  222. deathplr.Volume = 7
  223. fps = false
  224. using = false
  225. function fpsswitch(key)
  226.     key = key:lower()
  227.     if key == "z" then
  228.         if fps then
  229.             fps = false
  230.         else
  231.             fps = true
  232.         end
  233.     end
  234. end
  235. mouse.KeyDown:connect(fpsswitch)
  236. function shoot()
  237.     if not using then
  238.         if isshootingwithfirstgun then
  239.             isshootingwithfirstgun = false
  240.             using = true
  241.             shooot:Play()
  242.             local missle = Instance.new("Part", workspace)
  243.                 missle:BreakJoints()
  244.                 missle.Name = "bullet"
  245.                 missle.CanCollide = false
  246.                 missle.Material = "Neon"
  247.                 missle.Size = Vector3.new(0.1,0.1,3)
  248.                 missle.CFrame = Part2.CFrame * CFrame.new(0,2.5,0)
  249.                 missle.Transparency = 0.3
  250.                 missle.CFrame = CFrame.new(missle.Position, mouse.Hit.p)
  251.                 local vel = Instance.new("BodyVelocity", missle)
  252.                 vel.Velocity = mouse.Hit.lookVector * math.random(600,600) + Vector3.new(math.random(-15,15),math.random(-15,15),0)
  253.                 vel.MaxForce = Vector3.new(math.huge,math.huge,math.huge)
  254.                 local function hit(part)
  255.                     local hitval = math.random(25,40)
  256.                     local humanoid = part.Parent:findFirstChildOfClass("Humanoid")
  257.                     if humanoid then
  258.                         if humanoid.Health == math.huge or humanoid.Health >= 600 then
  259.                             humanoid.Health = 100
  260.                         end
  261.                         if humanoid.MaxHealth == math.huge or humanoid.MaxHealth >= 600 then
  262.                             humanoid.MaxHealth = 100
  263.                         end
  264.                         if humanoid.Parent.Name == game.Players.LocalPlayer.Name then
  265.                            
  266.                         else
  267.                             if humanoid.Health < hitval then
  268.                                 local isded = deathplr:Clone()
  269.                                 isded.Parent = humanoid.Parent.Head
  270.                                 isded:Play()
  271.                                 humanoid.JumpPower = 0
  272.                                 humanoid.PlatformStand = true
  273.                                 humanoid.WalkSpeed = 0
  274.                                 for i,v in pairs(humanoid.Parent:GetChildren()) do
  275.                                     if v.ClassName == "Script" or v.ClassName == "LocalScript" then
  276.                                         v:Remove()
  277.                                     end
  278.                                 end
  279.                                 local humpart = humanoid.Parent:findFirstChild("HumanoidRootPart")
  280.                                 if humpart then
  281.                                     humpart:destroy()
  282.                                 end
  283.                                 local findlefthip = humanoid.Parent.Torso:findFirstChild("Left Hip")
  284.                                 if findlefthip then
  285.                                     findlefthip:Remove()
  286.                                     local glue = Instance.new("Glue",  humanoid.Parent.Torso)
  287.                                     glue.Part0 = humanoid.Parent.Torso
  288.                                     glue.Part1 = humanoid.Parent["Left Leg"]
  289.                                     glue.Name = "Left leg"
  290.                                     local collider = Instance.new("Part",  humanoid.Parent["Left Leg"])
  291.                                     collider.Position = Vector3.new(0,999,0)
  292.                                     collider.Size = Vector3.new(1.5, 1, 1)
  293.                                     collider.Shape = "Cylinder"
  294.                                     local weld = Instance.new("Weld", collider)
  295.                                     weld.Part0 =  humanoid.Parent["Left Leg"]
  296.                                     weld.Part1 = collider
  297.                                     weld.C0 = CFrame.new(0,-0.2,0) * CFrame.fromEulerAnglesXYZ(0, 0, math.pi/2)
  298.                                     collider.TopSurface = "Smooth"
  299.                                     collider.BottomSurface = "Smooth"
  300.                                     collider.formFactor = "Symmetric"
  301.                                     glue.C0 = CFrame.new(-0.5, -1, 0, -0, -0, -1, 0, 1, 0, 1, 0, 0)
  302.                                     glue.C1 = CFrame.new(-0, 1, 0, -0, -0, -1, 0, 1, 0, 1, 0, 0)
  303.                                     collider.Transparency = 1
  304.                                 end
  305.                                 --
  306.                                 local findrighthip = humanoid.Parent.Torso:findFirstChild("Right Hip")
  307.                                 if findrighthip then
  308.                                     findrighthip:Remove()
  309.                                     local glue = Instance.new("Glue",  humanoid.Parent.Torso)
  310.                                     glue.Part0 = humanoid.Parent.Torso
  311.                                     glue.Part1 = humanoid.Parent["Right Leg"]
  312.                                     glue.Name = "Right leg"
  313.                                     local collider = Instance.new("Part",  humanoid.Parent["Right Leg"])
  314.                                     collider.Position = Vector3.new(0,999,0)
  315.                                     collider.Size = Vector3.new(1.5, 1, 1)
  316.                                     collider.Shape = "Cylinder"
  317.                                     local weld = Instance.new("Weld", collider)
  318.                                     weld.Part0 =  humanoid.Parent["Right Leg"]
  319.                                     weld.Part1 = collider
  320.                                     weld.C0 = CFrame.new(0,-0.2,0) * CFrame.fromEulerAnglesXYZ(0, 0, math.pi/2)
  321.                                     collider.TopSurface = "Smooth"
  322.                                     collider.BottomSurface = "Smooth"
  323.                                     collider.formFactor = "Symmetric"
  324.                                     glue.C0 = CFrame.new(0.5, -1, 0, 0, 0, 1, 0, 1, 0, -1, -0, -0)
  325.                                     glue.C1 = CFrame.new(0, 1, 0, 0, 0, 1, 0, 1, 0, -1, -0, -0)
  326.                                     collider.Transparency = 1
  327.                                 end
  328.                                 --
  329.                                 local findrightshoulder = humanoid.Parent.Torso:findFirstChild("Right Shoulder")
  330.                                 if findrightshoulder then
  331.                                     findrightshoulder:Remove()
  332.                                     local glue = Instance.new("Glue",  humanoid.Parent.Torso)
  333.                                     glue.Part0 = humanoid.Parent.Torso
  334.                                     glue.Part1 = humanoid.Parent["Right Arm"]
  335.                                     glue.Name = "Right arm"
  336.                                     local collider = Instance.new("Part",  humanoid.Parent["Right Arm"])
  337.                                     collider.Position = Vector3.new(0,999,0)
  338.                                     collider.Size = Vector3.new(1.5, 1, 1)
  339.                                     collider.Shape = "Cylinder"
  340.                                     local weld = Instance.new("Weld", collider)
  341.                                     weld.Part0 =  humanoid.Parent["Right Arm"]
  342.                                     weld.Part1 = collider
  343.                                     weld.C0 = CFrame.new(0,-0.2,0) * CFrame.fromEulerAnglesXYZ(0, 0, math.pi/2)
  344.                                     collider.TopSurface = "Smooth"
  345.                                     collider.BottomSurface = "Smooth"
  346.                                     collider.formFactor = "Symmetric"
  347.                                     glue.C0 = CFrame.new(1.5, 0.5, 0, 0, 0, 1, 0, 1, 0, -1, 0, 0)
  348.                                     glue.C1 = CFrame.new(0, 0.5, 0, 0, 0, 1, 0, 1, 0, -1, 0, 0)
  349.                                     collider.Transparency = 1
  350.                                 end
  351.                                 --
  352.                                 local findleftshoulder = humanoid.Parent.Torso:findFirstChild("Left Shoulder")
  353.                                 if findleftshoulder then
  354.                                     findleftshoulder:Remove()
  355.                                     local glue = Instance.new("Glue",  humanoid.Parent.Torso)
  356.                                     glue.Part0 = humanoid.Parent.Torso
  357.                                     glue.Part1 = humanoid.Parent["Left Arm"]
  358.                                     glue.Name = "Left arm"
  359.                                     local collider = Instance.new("Part",  humanoid.Parent["Left Arm"])
  360.                                     collider.Position = Vector3.new(0,999,0)
  361.                                     collider.Size = Vector3.new(1.5, 1, 1)
  362.                                     collider.Shape = "Cylinder"
  363.                                     local weld = Instance.new("Weld", collider)
  364.                                     weld.Part0 =  humanoid.Parent["Left Arm"]
  365.                                     weld.Part1 = collider
  366.                                     weld.C0 = CFrame.new(0,-0.2,0) * CFrame.fromEulerAnglesXYZ(0, 0, math.pi/2)
  367.                                     collider.TopSurface = "Smooth"
  368.                                     collider.BottomSurface = "Smooth"
  369.                                     collider.formFactor = "Symmetric"
  370.                                     glue.C0 = CFrame.new(-1.5, 0.5, 0, 0, 0, -1, 0, 1, 0, 1, 0, 0)
  371.                                     glue.C1 = CFrame.new(0, 0.5, 0, 0, 0, -1, 0, 1, 0, 1, 0, 0)
  372.                                     collider.Transparency = 1
  373.                                 end
  374.                                 local findhead = humanoid.Parent:findFirstChild("Head")
  375.                                 if findhead then
  376.                                     local attachment = Instance.new("Attachment", humanoid.Parent.Head)
  377.                                     attachment.Position = Vector3.new(0, -0.5, 0)
  378.                                     attachment.Name = "lol"
  379.                                     attachment.Visible = false
  380.                                     humanoid.Parent.Torso.NeckAttachment.Visible = false
  381.                                     humanoid.Parent.Torso.NeckAttachment.Position = humanoid.Parent.Torso.NeckAttachment.Position + Vector3.new(0,0,0)
  382.                                     local ball = Instance.new("BallSocketConstraint", humanoid.Parent)
  383.                                     ball.Attachment0 = humanoid.Parent.Torso.NeckAttachment
  384.                                     ball.Attachment1 = attachment
  385.                                     ball.LimitsEnabled = true
  386.                                     ball.TwistLimitsEnabled = true
  387.                                     ball.UpperAngle = 90
  388.                                     ball.Restitution = 0.5
  389.                                     ball.TwistUpperAngle = 90
  390.                                     ball.TwistLowerAngle = -90
  391.                                     local  collidepartofleftleg = Instance.new("Part", humanoid.Parent.Torso)
  392.                                     collidepartofleftleg.Name = "Bone"
  393.                                     collidepartofleftleg.Size = Vector3.new(0.7,0.7,0.7)
  394.                                     collidepartofleftleg.Transparency = 1
  395.                                     collidepartofleftleg:BreakJoints()
  396.                                     local weeld = Instance.new("Weld", collidepartofleftleg)
  397.                                     weeld.Part0 = collidepartofleftleg
  398.                                     weeld.Part1 = humanoid.Parent["Head"]
  399.                                     if humanoid.Parent.Torso:findFirstChild("Neck") then
  400.                                         humanoid.Parent.Torso.Neck:destroy()
  401.                                     end
  402.                                 end
  403.                                 wait(10)
  404.                                 humanoid.Health = 0
  405.                         else
  406.                             humanoid.Health = humanoid.Health - hitval
  407.                         end
  408.                         end
  409.                     else
  410.                         if part.Name == "Shotgun" or "bullet" then
  411.                            
  412.                         else
  413.                             missle:destroy()
  414.                         end
  415.                     end
  416.                 end
  417.                 missle.Touched:connect(hit)
  418.             for i = 0,1 , 0.25 do
  419.                 rhandweld.C1 = rhandweld.C1 * CFrame.fromEulerAnglesXYZ(-0.05,0,0)
  420.                 Weld5.C0 = Weld5.C0:lerp(CFrame.new(-0.172976017, 0.548959255, -1.1920929e-07, 0.258818805, 0.965925217, -5.66244125e-07, -0.965925753, 0.258818984, -1.11758709e-07, -5.0291419e-08, -6.2584877e-07, 1.00000143),i)
  421.                 game:GetService("RunService").RenderStepped:wait()
  422.             end
  423.             for i = 0,1 , 0.25 do
  424.                 rhandweld.C1 = rhandweld.C1 * CFrame.fromEulerAnglesXYZ(0.05,0,0)
  425.                 Weld5.C0 = Weld5.C0:lerp(CFrame.new(0.599765062, 0.75601542, 0, 0.258818984, 0.965925872, 0, -0.965925872, 0.258818984, 0, 0, 0, 1),i)
  426.                 game:GetService("RunService").RenderStepped:wait()
  427.             end
  428.             using = false
  429.         else
  430.             isshootingwithfirstgun = true
  431.             using = true
  432.             shooot:Play()
  433.             local missle = Instance.new("Part", workspace)
  434.                 missle:BreakJoints()
  435.                 missle.Name = "bullet"
  436.                 missle.CanCollide = false
  437.                 missle.Material = "Neon"
  438.                 missle.Size = Vector3.new(0.1,0.1,3)
  439.                 missle.CFrame = Part22.CFrame * CFrame.new(0,2.5,0)
  440.                 missle.Transparency = 0.3
  441.                 missle.CFrame = CFrame.new(missle.Position, mouse.Hit.p)
  442.                 local vel = Instance.new("BodyVelocity", missle)
  443.                 vel.Velocity = mouse.Hit.lookVector * math.random(600,600) + Vector3.new(math.random(-15,15),math.random(-15,15),0)
  444.                 vel.MaxForce = Vector3.new(math.huge,math.huge,math.huge)
  445.                 local function hit(part)
  446.                     local hitval = math.random(25,40)
  447.                     local humanoid = part.Parent:findFirstChildOfClass("Humanoid")
  448.                     if humanoid then
  449.                         if humanoid.Health == math.huge or humanoid.Health >= 600 then
  450.                             humanoid.Health = 100
  451.                         end
  452.                         if humanoid.MaxHealth == math.huge or humanoid.MaxHealth >= 600 then
  453.                             humanoid.MaxHealth = 100
  454.                         end
  455.                         if humanoid.Parent.Name == game.Players.LocalPlayer.Name then
  456.                            
  457.                         else
  458.                             if humanoid.Health < hitval then
  459.                                 local humpart = humanoid.Parent:findFirstChild("HumanoidRootPart")
  460.                                 if humpart then
  461.                                     humpart:destroy()
  462.                                 end
  463.                                 for i,v in pairs(humanoid.Parent:GetChildren()) do
  464.                                     if v.ClassName == "Script" or v.ClassName == "LocalScript" then
  465.                                         v:Remove()
  466.                                     end
  467.                                 end
  468.                                 local isded = deathplr:Clone()
  469.                                 isded.Parent = humanoid.Parent.Head
  470.                                 isded:Play()
  471.                                 humanoid.JumpPower = 0
  472.                                 humanoid.PlatformStand = true
  473.                                 humanoid.WalkSpeed = 0
  474.                                 local findlefthip = humanoid.Parent.Torso:findFirstChild("Left Hip")
  475.                                 if findlefthip then
  476.                                     findlefthip:Remove()
  477.                                     local glue = Instance.new("Glue",  humanoid.Parent.Torso)
  478.                                     glue.Part0 = humanoid.Parent.Torso
  479.                                     glue.Part1 = humanoid.Parent["Left Leg"]
  480.                                     glue.Name = "Left leg"
  481.                                     local collider = Instance.new("Part",  humanoid.Parent["Left Leg"])
  482.                                     collider.Position = Vector3.new(0,999,0)
  483.                                     collider.Size = Vector3.new(1.5, 1, 1)
  484.                                     collider.Shape = "Cylinder"
  485.                                     local weld = Instance.new("Weld", collider)
  486.                                     weld.Part0 =  humanoid.Parent["Left Leg"]
  487.                                     weld.Part1 = collider
  488.                                     weld.C0 = CFrame.new(0,-0.2,0) * CFrame.fromEulerAnglesXYZ(0, 0, math.pi/2)
  489.                                     collider.TopSurface = "Smooth"
  490.                                     collider.BottomSurface = "Smooth"
  491.                                     collider.formFactor = "Symmetric"
  492.                                     glue.C0 = CFrame.new(-0.5, -1, 0, -0, -0, -1, 0, 1, 0, 1, 0, 0)
  493.                                     glue.C1 = CFrame.new(-0, 1, 0, -0, -0, -1, 0, 1, 0, 1, 0, 0)
  494.                                     collider.Transparency = 1
  495.                                 end
  496.                                 --
  497.                                 local findrighthip = humanoid.Parent.Torso:findFirstChild("Right Hip")
  498.                                 if findrighthip then
  499.                                     findrighthip:Remove()
  500.                                     local glue = Instance.new("Glue",  humanoid.Parent.Torso)
  501.                                     glue.Part0 = humanoid.Parent.Torso
  502.                                     glue.Part1 = humanoid.Parent["Right Leg"]
  503.                                     glue.Name = "Right leg"
  504.                                     local collider = Instance.new("Part",  humanoid.Parent["Right Leg"])
  505.                                     collider.Position = Vector3.new(0,999,0)
  506.                                     collider.Size = Vector3.new(1.5, 1, 1)
  507.                                     collider.Shape = "Cylinder"
  508.                                     local weld = Instance.new("Weld", collider)
  509.                                     weld.Part0 =  humanoid.Parent["Right Leg"]
  510.                                     weld.Part1 = collider
  511.                                     weld.C0 = CFrame.new(0,-0.2,0) * CFrame.fromEulerAnglesXYZ(0, 0, math.pi/2)
  512.                                     collider.TopSurface = "Smooth"
  513.                                     collider.BottomSurface = "Smooth"
  514.                                     collider.formFactor = "Symmetric"
  515.                                     glue.C0 = CFrame.new(0.5, -1, 0, 0, 0, 1, 0, 1, 0, -1, -0, -0)
  516.                                     glue.C1 = CFrame.new(0, 1, 0, 0, 0, 1, 0, 1, 0, -1, -0, -0)
  517.                                     collider.Transparency = 1
  518.                                 end
  519.                                 --
  520.                                 local findrightshoulder = humanoid.Parent.Torso:findFirstChild("Right Shoulder")
  521.                                 if findrightshoulder then
  522.                                     findrightshoulder:Remove()
  523.                                     local glue = Instance.new("Glue",  humanoid.Parent.Torso)
  524.                                     glue.Part0 = humanoid.Parent.Torso
  525.                                     glue.Part1 = humanoid.Parent["Right Arm"]
  526.                                     glue.Name = "Right arm"
  527.                                     local collider = Instance.new("Part",  humanoid.Parent["Right Arm"])
  528.                                     collider.Position = Vector3.new(0,999,0)
  529.                                     collider.Size = Vector3.new(1.5, 1, 1)
  530.                                     collider.Shape = "Cylinder"
  531.                                     local weld = Instance.new("Weld", collider)
  532.                                     weld.Part0 =  humanoid.Parent["Right Arm"]
  533.                                     weld.Part1 = collider
  534.                                     weld.C0 = CFrame.new(0,-0.2,0) * CFrame.fromEulerAnglesXYZ(0, 0, math.pi/2)
  535.                                     collider.TopSurface = "Smooth"
  536.                                     collider.BottomSurface = "Smooth"
  537.                                     collider.formFactor = "Symmetric"
  538.                                     glue.C0 = CFrame.new(1.5, 0.5, 0, 0, 0, 1, 0, 1, 0, -1, 0, 0)
  539.                                     glue.C1 = CFrame.new(0, 0.5, 0, 0, 0, 1, 0, 1, 0, -1, 0, 0)
  540.                                     collider.Transparency = 1
  541.                                 end
  542.                                 --
  543.                                 local findleftshoulder = humanoid.Parent.Torso:findFirstChild("Left Shoulder")
  544.                                 if findleftshoulder then
  545.                                     findleftshoulder:Remove()
  546.                                     local glue = Instance.new("Glue",  humanoid.Parent.Torso)
  547.                                     glue.Part0 = humanoid.Parent.Torso
  548.                                     glue.Part1 = humanoid.Parent["Left Arm"]
  549.                                     glue.Name = "Left arm"
  550.                                     local collider = Instance.new("Part",  humanoid.Parent["Left Arm"])
  551.                                     collider.Position = Vector3.new(0,999,0)
  552.                                     collider.Size = Vector3.new(1.5, 1, 1)
  553.                                     collider.Shape = "Cylinder"
  554.                                     local weld = Instance.new("Weld", collider)
  555.                                     weld.Part0 =  humanoid.Parent["Left Arm"]
  556.                                     weld.Part1 = collider
  557.                                     weld.C0 = CFrame.new(0,-0.2,0) * CFrame.fromEulerAnglesXYZ(0, 0, math.pi/2)
  558.                                     collider.TopSurface = "Smooth"
  559.                                     collider.BottomSurface = "Smooth"
  560.                                     collider.formFactor = "Symmetric"
  561.                                     glue.C0 = CFrame.new(-1.5, 0.5, 0, 0, 0, -1, 0, 1, 0, 1, 0, 0)
  562.                                     glue.C1 = CFrame.new(0, 0.5, 0, 0, 0, -1, 0, 1, 0, 1, 0, 0)
  563.                                     collider.Transparency = 1
  564.                                 end
  565.                                 local findhead = humanoid.Parent:findFirstChild("Head")
  566.                                 if findhead then
  567.                                     local attachment = Instance.new("Attachment", humanoid.Parent.Head)
  568.                                     attachment.Position = Vector3.new(0, -0.5, 0)
  569.                                     attachment.Name = "lol"
  570.                                     attachment.Visible = false
  571.                                     humanoid.Parent.Torso.NeckAttachment.Visible = false
  572.                                     humanoid.Parent.Torso.NeckAttachment.Position = humanoid.Parent.Torso.NeckAttachment.Position + Vector3.new(0,0,0)
  573.                                     local ball = Instance.new("BallSocketConstraint", humanoid.Parent)
  574.                                     ball.Attachment0 = humanoid.Parent.Torso.NeckAttachment
  575.                                     ball.Attachment1 = attachment
  576.                                     ball.LimitsEnabled = true
  577.                                     ball.TwistLimitsEnabled = true
  578.                                     ball.UpperAngle = 90
  579.                                     ball.Restitution = 0.5
  580.                                     ball.TwistUpperAngle = 90
  581.                                     ball.TwistLowerAngle = -90
  582.                                     local  collidepartofleftleg = Instance.new("Part", humanoid.Parent.Torso)
  583.                                     collidepartofleftleg.Name = "Bone"
  584.                                     collidepartofleftleg.Size = Vector3.new(0.7,0.7,0.7)
  585.                                     collidepartofleftleg.Transparency = 1
  586.                                     collidepartofleftleg:BreakJoints()
  587.                                     local weeld = Instance.new("Weld", collidepartofleftleg)
  588.                                     weeld.Part0 = collidepartofleftleg
  589.                                     weeld.Part1 = humanoid.Parent["Head"]
  590.                                     if humanoid.Parent.Torso:findFirstChild("Neck") then
  591.                                         humanoid.Parent.Torso.Neck:destroy()
  592.                                     end
  593.                                 end
  594.                                 wait(10)
  595.                                 humanoid.Health = 0
  596.                         else
  597.                             humanoid.Health = humanoid.Health - hitval
  598.                         end
  599.                         end
  600.                     else
  601.                         if part.Name == "Shotgun" or "bullet" then
  602.                            
  603.                         else
  604.                             missle:destroy()
  605.                         end
  606.                     end
  607.                 end
  608.                 missle.Touched:connect(hit)
  609.             for i = 0,1 , 0.25 do
  610.                 lhandweld.C1 = lhandweld.C1 * CFrame.fromEulerAnglesXYZ(-0.05,0,0)
  611.                 Weld55.C0 = Weld55.C0:lerp(CFrame.new(-0.172976017, 0.548959255, -1.1920929e-07, 0.258818805, 0.965925217, -5.66244125e-07, -0.965925753, 0.258818984, -1.11758709e-07, -5.0291419e-08, -6.2584877e-07, 1.00000143),i)
  612.                 game:GetService("RunService").RenderStepped:wait()
  613.             end
  614.             for i = 0,1 , 0.25 do
  615.                 lhandweld.C1 = lhandweld.C1 * CFrame.fromEulerAnglesXYZ(0.05,0,0)
  616.                 Weld55.C0 = Weld55.C0:lerp(CFrame.new(0.599765062, 0.75601542, 0, 0.258818984, 0.965925872, 0, -0.965925872, 0.258818984, 0, 0, 0, 1),i)
  617.                 game:GetService("RunService").RenderStepped:wait()
  618.             end
  619.             using = false
  620.         end
  621.     end
  622. end
  623. mouse.Button1Down:connect(shoot)
  624. function ragdoll()
  625. game.Players.LocalPlayer.Character.Archivable = true
  626. clone = game.Players.LocalPlayer.Character:Clone()
  627. clone.Parent = workspace
  628. for i,v in pairs(clone:GetChildren()) do
  629.     if v.ClassName == "Script" or v.ClassName == "LocalScript" then
  630.         v:destroy()
  631.     end
  632.     for i,p in pairs(v:GetChildren()) do
  633.     if p.ClassName == "Weld" or p.ClassName == "Motor6D" or p.ClassName == "BodyVelocity" then
  634.         p:destroy()
  635.     end
  636. end
  637. end
  638. for i,t in pairs(game.Players.LocalPlayer.Character:GetChildren()) do
  639.     if t.ClassName == "Accessory" or t.ClassName == "ForceField" then
  640.         t:destroy()
  641.     end
  642. end
  643. vel = Instance.new("BodyVelocity", clone.Torso)
  644. vel.Velocity = clone.Torso.CFrame.lookVector * -5
  645. vel.MaxForce = Vector3.new(math.huge,math.huge,math.huge)
  646. clone.Head.face.Texture = "http://www.roblox.com/asset/?id=161061608"
  647. using = false
  648. hit = Instance.new("Sound", clone.Torso)
  649. hit.SoundId = "rbxassetid://260430060"
  650. hit.Volume = 0
  651. hit1 = Instance.new("Sound", clone.Torso)
  652. hit1.SoundId = "rbxassetid://138087186"
  653. hit1.Volume = 0
  654. hit2 = Instance.new("Sound", clone.Torso)
  655. hit2.SoundId = "rbxassetid://131237241"
  656. hit2.Volume = 0
  657. hit3 = Instance.new("Sound", clone.Torso)
  658. hit3.SoundId = "rbxassetid://278062209"
  659. hit3.Volume = 0
  660. hit3.TimePosition = 0.33
  661. ded = Instance.new("Sound", clone.Torso)
  662. ded.SoundId = "rbxassetid://884348443"
  663. ded.Volume =10
  664. local leftarm = clone:findFirstChild("Left Arm")
  665. local rightrm = clone:findFirstChild("Right Arm")
  666. local leftleg = clone:findFirstChild("Left Leg")
  667. local rightleg = clone:findFirstChild("Right Leg")
  668. local head = clone:findFirstChild("Head")
  669. for i, g in pairs(game.Players.LocalPlayer.Character:GetChildren()) do
  670.     if g.ClassName == "Part" then
  671.         g:destroy()
  672.     end
  673. end
  674. for i, h in pairs(game.Players.LocalPlayer.Character:GetChildren()) do
  675.     if h.ClassName == "Accesory" then
  676.         h:destroy()
  677.     end
  678. end
  679. game.Workspace.CurrentCamera.CameraSubject = head
  680. if head then
  681.             local attachment = Instance.new("Attachment", clone.Head)
  682.             attachment.Position = Vector3.new(0, -0.5, 0)
  683.             attachment.Name = "lol"
  684.             attachment.Visible = false
  685.             clone.Torso.NeckAttachment.Visible = false
  686.             clone.Torso.NeckAttachment.Position = clone.Torso.NeckAttachment.Position + Vector3.new(0,0,0)
  687.             local ball = Instance.new("BallSocketConstraint", clone)
  688.             ball.Attachment0 = clone.Torso.NeckAttachment
  689.             ball.Attachment1 = attachment
  690.             ball.LimitsEnabled = true
  691.             ball.TwistLimitsEnabled = true
  692.             ball.UpperAngle = 90
  693.             ball.Restitution = 0.5
  694.             ball.TwistUpperAngle = 90
  695.             ball.TwistLowerAngle = -90
  696.             local  collidepartofleftleg = Instance.new("Part", clone.Torso)
  697.             collidepartofleftleg.Name = "Bone"
  698.             collidepartofleftleg.Size = Vector3.new(0.7,0.7,0.7)
  699.             collidepartofleftleg.Transparency = 1
  700.             collidepartofleftleg:BreakJoints()
  701.             local weeld = Instance.new("Weld", collidepartofleftleg)
  702.             weeld.Part0 = collidepartofleftleg
  703.             weeld.Part1 = clone["Head"]
  704.         end
  705. if leftleg ~= nil then
  706. local glue = Instance.new("Glue", clone.Torso)
  707. glue.Part0 = clone.Torso
  708. glue.Part1 = leftleg
  709. glue.Name = "Left leg"
  710. local collider = Instance.new("Part", leftleg)
  711. collider.Position = Vector3.new(0,999,0)
  712. collider.Size = Vector3.new(1.5, 1, 1)
  713. collider.Shape = "Cylinder"
  714. local weld = Instance.new("Weld", collider)
  715. weld.Part0 = leftleg
  716. weld.Part1 = collider
  717. weld.C0 = CFrame.new(0,-0.2,0) * CFrame.fromEulerAnglesXYZ(0, 0, math.pi/2)
  718. collider.TopSurface = "Smooth"
  719. collider.BottomSurface = "Smooth"
  720. collider.formFactor = "Symmetric"
  721. glue.C0 = CFrame.new(-0.5, -1, 0, -0, -0, -1, 0, 1, 0, 1, 0, 0)
  722. glue.C1 = CFrame.new(-0, 1, 0, -0, -0, -1, 0, 1, 0, 1, 0, 0)
  723. collider.Transparency = 1
  724. end
  725. ------------
  726. if rightleg ~= nil then
  727. local glue1 = Instance.new("Glue", clone.Torso)
  728. glue1.Part0 = clone.Torso
  729. glue1.Part1 = rightleg
  730. glue1.Name = "Right leg"
  731. local collider1 = Instance.new("Part", rightleg)
  732. collider1.Position = Vector3.new(0,999,0)
  733. collider1.Size = Vector3.new(1.5, 1, 1)
  734. collider1.Shape = "Cylinder"
  735. local weld1 = Instance.new("Weld", collider1)
  736. weld1.Part0 = rightleg
  737. weld1.Part1 = collider1
  738. weld1.C0 = CFrame.new(0,-0.2,0) * CFrame.fromEulerAnglesXYZ(0, 0, math.pi/2)
  739. collider1.TopSurface = "Smooth"
  740. collider1.BottomSurface = "Smooth"
  741. collider1.formFactor = "Symmetric"
  742. glue1.C0 = CFrame.new(0.5, -1, 0, 0, 0, 1, 0, 1, 0, -1, -0, -0)
  743. glue1.C1 = CFrame.new(0, 1, 0, 0, 0, 1, 0, 1, 0, -1, -0, -0)
  744. collider1.Transparency = 1
  745. end
  746. ------------
  747. if rightrm ~= nil then
  748. local glue11 = Instance.new("Glue", clone.Torso)
  749. glue11.Part0 = clone.Torso
  750. glue11.Part1 = rightrm
  751. glue11.Name = "Right shoulder"
  752. local collider11 = Instance.new("Part", rightrm)
  753. collider11.Position = Vector3.new(0,9999,0)
  754. collider11.Size = Vector3.new(1.5,1,1)
  755. collider11.Shape = "Cylinder"
  756. local weld11 = Instance.new("Weld", collider11)
  757. weld11.Part0 = rightrm
  758. weld11.Part1 = collider11
  759. weld11.C0 = CFrame.new(0,-0.2,0) * CFrame.fromEulerAnglesXYZ(0, 0, math.pi/2)
  760. collider11.TopSurface = "Smooth"
  761. collider11.BottomSurface = "Smooth"
  762. collider11.formFactor = "Symmetric"
  763. glue11.C0 = CFrame.new(1.5, 0.5, 0, 0, 0, 1, 0, 1, 0, -1, 0, 0)
  764. glue11.C1 = CFrame.new(0, 0.5, 0, 0, 0, 1, 0, 1, 0, -1, 0, 0)
  765. collider11.Transparency = 1
  766. end
  767. ------------
  768. if leftarm ~= nil then
  769. local glue111 = Instance.new("Glue", clone.Torso)
  770. glue111.Part0 = clone.Torso
  771. glue111.Part1 = leftarm
  772. glue111.Name = "Left shoulder"
  773. local collider111 = Instance.new("Part", leftarm)
  774. collider111.Position = Vector3.new(0,9999,0)
  775. collider111.Size = Vector3.new(1.5,1,1)
  776. collider111.Shape = "Cylinder"
  777. local weld111 = Instance.new("Weld", collider111)
  778. weld111.Part0 = leftarm
  779. weld111.Part1 = collider111
  780. weld111.C0 = CFrame.new(0,-0.2,0) * CFrame.fromEulerAnglesXYZ(0, 0, math.pi/2)
  781. collider111.TopSurface = "Smooth"
  782. collider111.BottomSurface = "Smooth"
  783. collider111.formFactor = "Symmetric"
  784. glue111.C0 = CFrame.new(-1.5, 0.5, 0, 0, 0, -1, 0, 1, 0, 1, 0, 0)
  785. glue111.C1 = CFrame.new(0, 0.5, 0, 0, 0, -1, 0, 1, 0, 1, 0, 0)
  786. collider111.Transparency = 1
  787. ----------------
  788. sensoring = Instance.new("Part", clone.Torso)
  789. sensoring.Size = Vector3.new(1.2,1.1,0.8)
  790. sensoring.CanCollide = false
  791. sensoring.Position = clone.Torso.Position
  792. local welder = Instance.new("Weld", sensoring)
  793. welder.Part0 = clone.Torso
  794. welder.Part1 = sensoring
  795. welder.C0 = welder.C0 * CFrame.new(0,0,1.05)
  796. sensoring.Transparency = 1
  797. -----------------
  798. sensoring1 = Instance.new("Part", clone.Torso)
  799. sensoring1.Size = Vector3.new(1.2,1.1,0.8)
  800. sensoring1.CanCollide = false
  801. sensoring1.Position = clone.Torso.Position
  802. local welder1 = Instance.new("Weld", sensoring)
  803. welder1.Part0 = clone.Torso
  804. welder1.Part1 = sensoring1
  805. welder1.C0 = welder1.C0 * CFrame.new(0,0,-1.05)
  806. sensoring1.Transparency = 1
  807. end
  808. clone.Name = game.Players.LocalPlayer.Character.Name.." (DEAD)"
  809. ded:Play()
  810. vel:destroy()
  811. wait(0.5)
  812. local function touch()
  813.     if not using then
  814.         using = true
  815.         local Math = math.random(1,4)
  816.         if Math == 1 then
  817.             hit:Play()
  818.         end
  819.         if Math == 2 then
  820.             hit1:Play()
  821.         end
  822.         if Math == 3 then
  823.             hit2:Play()
  824.         end
  825.         if Math == 4 then
  826.             hit3:Play()
  827.         end
  828.         wait(0.1)
  829.         using = false
  830.     end
  831. end
  832. sensoring.Touched:connect(touch)
  833. sensoring1.Touched:connect(touch)
  834. wait(0.5)
  835. while true do
  836.     clone.Head.CanCollide = false
  837.     game:GetService("RunService").Stepped:wait()
  838. end
  839. end
  840.  
  841. game.Players.LocalPlayer.Character.Humanoid.Died:connect(ragdoll)
  842. while true do
  843.     game.Players.LocalPlayer.Character.Torso.CFrame = CFrame.new(game.Players.LocalPlayer.Character.Torso.Position,Vector3.new(mouse.Hit.p.x,game.Players.LocalPlayer.Character.Torso.Position.y,mouse.Hit.p.z))
  844.     lhandweld.C0 = CFrame.new(-1.5,0.5,0) * CFrame.fromEulerAnglesXYZ(math.asin((mouse.Hit.p-mouse.Origin.p).unit.y),0,0) * CFrame.Angles(1.5,0,0.1)
  845.     rhandweld.C0 = CFrame.new(1.5,0.5,0) * CFrame.fromEulerAnglesXYZ(math.asin((mouse.Hit.p-mouse.Origin.p).unit.y),0,0) * CFrame.Angles(1.5,0,-0.1)
  846.     game.Players.LocalPlayer.Character.Torso.Neck.C0 = CFrame.new(0,0.8,0) * CFrame.fromEulerAnglesXYZ(math.asin((mouse.Hit.p-mouse.Origin.p).unit.y),0,0)
  847.     hand.CFrame = game.Players.LocalPlayer.Character["Right Arm"].CFrame
  848.     hand2.CFrame = game.Players.LocalPlayer.Character["Left Arm"].CFrame
  849.     if Model0.Parent == nil then
  850.         Model0.Parent = workspace
  851.     end
  852.     if hand.Parent == nil then
  853.         hand.Parent = workspace
  854.     end
  855.    
  856.     if shooot.Parent == nil then
  857.         shooot.Parent = Part2
  858.     end
  859.     if fps then
  860.         game.Players.LocalPlayer.CameraMode = "LockFirstPerson"
  861.         Model0.Parent = workspace
  862.         Model00.Parent = workspace
  863.         hand.Transparency = 0
  864.         hand2.Transparency = 0
  865.     else
  866.         game.Players.LocalPlayer.CameraMode = "Classic"
  867.         Model0.Parent = game.Players.LocalPlayer.Character
  868.         Model00.Parent = game.Players.LocalPlayer.Character
  869.         hand.Transparency = 1
  870.         hand2.Transparency = 1
  871.     end
  872.     game:GetService("RunService").RenderStepped:wait()
  873. end
Advertisement
Add Comment
Please, Sign In to add comment
Advertisement