Advertisement
Robert666121

Untitled

May 6th, 2018
171
0
Never
Not a member of Pastebin yet? Sign Up, it unlocks many cool features!
text 34.91 KB | None | 0 0
  1. -- by Robert666121, enjoy
  2. local mouse = game.Players.LocalPlayer:GetMouse()
  3. howmuch = 0
  4. function change(key)
  5. if key == "w" or key == "a" or key == "s" or key == "d" then
  6. howmuch = howmuch + 1
  7. end
  8. end
  9. function otherchange(key)
  10. if key == "w" or key == "a" or key == "s" or key == "d" then
  11. howmuch = howmuch - 1
  12. end
  13. end
  14. mouse.KeyDown:connect(change)
  15. mouse.KeyUp:connect(otherchange)
  16. --Converted with ttyyuu12345's model to script plugin v4
  17. function sandbox(var,func)
  18. local env = getfenv(func)
  19. local newenv = setmetatable({},{
  20. __index = function(self,k)
  21. if k=="script" then
  22. return var
  23. else
  24. return env[k]
  25. end
  26. end,
  27. })
  28. setfenv(func,newenv)
  29. return func
  30. end
  31. cors = {}
  32. mas = Instance.new("Model",game:GetService("Lighting"))
  33. Model0 = Instance.new("Model")
  34. Part1 = Instance.new("Part")
  35. Part2 = Instance.new("Part")
  36. Part3 = Instance.new("Part")
  37. Weld4 = Instance.new("Weld")
  38. Weld5 = Instance.new("Weld")
  39. Weld6 = Instance.new("Weld")
  40. Part7 = Instance.new("Part")
  41. Model0.Name = "Sawed Off"
  42. Model0.Parent = mas
  43. Part1.Parent = Model0
  44. Part1.BrickColor = BrickColor.new("Really black")
  45. Part1.Shape = Enum.PartType.Cylinder
  46. Part1.Size = Vector3.new(2.96000075, 0.449999958, 0.400000334)
  47. Part1.CFrame = CFrame.new(40.7499924, 151.548019, 156.470001, 1.0000006, -1.78813934e-07, 0, -1.78813934e-07, 1.00000024, 0, 0, 0, 1)
  48. Part1.Color = Color3.new(0.101961, 0.101961, 0.101961)
  49. Part1.Position = Vector3.new(40.7499924, 151.548019, 156.470001)
  50. Part1.Color = Color3.new(0.101961, 0.101961, 0.101961)
  51. Part2.Parent = Model0
  52. Part2.BrickColor = BrickColor.new("Really black")
  53. Part2.Shape = Enum.PartType.Cylinder
  54. Part2.Size = Vector3.new(2.96000075, 0.449999958, 0.400000334)
  55. Part2.CFrame = CFrame.new(40.7499962, 151.548035, 156.079056, 1, 0, 0, 0, 1, 0, 0, 0, 1)
  56. Part2.Color = Color3.new(0.101961, 0.101961, 0.101961)
  57. Part2.Position = Vector3.new(40.7499962, 151.548035, 156.079056)
  58. Part2.Color = Color3.new(0.101961, 0.101961, 0.101961)
  59. Part3.Parent = Model0
  60. Part3.BrickColor = BrickColor.new("Cocoa")
  61. Part3.Rotation = Vector3.new(0, 0, -34)
  62. Part3.Size = Vector3.new(1.11000025, 0.519999921, 0.570000172)
  63. Part3.CFrame = CFrame.new(42.5974922, 150.98793, 156.274887, 0.829038441, 0.559192181, 0, -0.55919224, 0.829038203, 0, 0, 0, 1)
  64. Part3.Color = Color3.new(0.317647, 0.145098, 0)
  65. Part3.Position = Vector3.new(42.5974922, 150.98793, 156.274887)
  66. Part3.Orientation = Vector3.new(0, 0, -34)
  67. Part3.Color = Color3.new(0.317647, 0.145098, 0)
  68. Weld4.Name = "1"
  69. Weld4.Parent = Part3
  70. Weld4.C0 = CFrame.new(-1.84484863, -0.568756104, -0.195831299, 0.829038441, -0.55919224, 0, 0.559192181, 0.829038203, 0, 0, 0, 1)
  71. Weld4.Part0 = Part3
  72. Weld4.Part1 = Part2
  73. Weld5.Name = "3"
  74. Weld5.Parent = Part3
  75. Weld5.C0 = CFrame.new(-0.60994339, 0.0636444092, 0.00506591797, 0.866026163, 0.499997735, 0, -0.499997616, 0.866026044, 0, 0, 0, 1)
  76. Weld5.Part0 = Part3
  77. Weld5.Part1 = Part7
  78. Weld6.Name = "2"
  79. Weld6.Parent = Part3
  80. Weld6.C0 = CFrame.new(-1.84484482, -0.568771362, 0.195114136, 0.829038441, -0.55919224, 0, 0.559192181, 0.829038203, 0, 0, 0, 1)
  81. Weld6.Part0 = Part3
  82. Weld6.Part1 = Part1
  83. Part7.Parent = Model0
  84. Part7.BrickColor = BrickColor.new("Cocoa")
  85. Part7.Rotation = Vector3.new(0, 0, -64)
  86. Part7.Size = Vector3.new(0.440000623, 0.519999921, 0.759999931)
  87. Part7.CFrame = CFrame.new(42.1274147, 151.381775, 156.279953, 0.438374251, 0.898792326, 0, -0.898792267, 0.438373834, 0, 0, 0, 1)
  88. Part7.Color = Color3.new(0.317647, 0.145098, 0)
  89. Part7.Position = Vector3.new(42.1274147, 151.381775, 156.279953)
  90. Part7.Orientation = Vector3.new(0, 0, -64)
  91. Part7.Color = Color3.new(0.317647, 0.145098, 0)
  92. for i,v in pairs(mas:GetChildren()) do
  93. v.Parent = game:GetService("Players").LocalPlayer.Character
  94. pcall(function() v:MakeJoints() end)
  95. end
  96. mas:Destroy()
  97. for i,v in pairs(cors) do
  98. spawn(function()
  99. pcall(v)
  100. end)
  101. end
  102. for i,v in pairs(Model0:GetChildren()) do
  103. if v.ClassName == "Part" then
  104. v.CanCollide = false
  105. v.Transparency = 1
  106. end
  107. end
  108.  
  109. --Converted with ttyyuu12345's model to script plugin v4
  110. function sandbox(var,func)
  111. local env = getfenv(func)
  112. local newenv = setmetatable({},{
  113. __index = function(self,k)
  114. if k=="script" then
  115. return var
  116. else
  117. return env[k]
  118. end
  119. end,
  120. })
  121. setfenv(func,newenv)
  122. return func
  123. end
  124. cors = {}
  125. mas = Instance.new("Model",game:GetService("Lighting"))
  126. for i,v in pairs(mas:GetChildren()) do
  127. v.Parent = game:GetService("Players").LocalPlayer.Character.Torso
  128. pcall(function() v:MakeJoints() end)
  129. end
  130. mas:Destroy()
  131. for i,v in pairs(cors) do
  132. spawn(function()
  133. pcall(v)
  134. end)
  135. end
  136. char = game.Players.LocalPlayer.Character
  137. function swait(num)
  138. if num == 0 or num == nil then
  139. game:service("RunService").Stepped:wait(0)
  140. else
  141. for i = 0, num do
  142. game:service("RunService").Stepped:wait(0)
  143. end
  144. end
  145. end
  146. local folder = Instance.new("Model")
  147. local signtop = Instance.new("Part")
  148. local signbottom = Instance.new("Part")
  149. local no = Instance.new("Part")
  150. local decal = Instance.new("Decal")
  151. local decal2 = Instance.new("Decal")
  152. local weld = Instance.new("Weld")
  153. local weld2 = Instance.new("Weld")
  154. local weld3 = Instance.new("Weld")
  155. folder.Parent = char
  156. folder.Name = "NoRobloxianSign"
  157. signtop.BrickColor = BrickColor.new("Really black")
  158. signtop.Size = Vector3.new(3.14, 2.5, 0.36)
  159. no.Transparency = 1
  160. decal.Parent = signtop
  161. decal.Face = "Back"
  162. decal.Texture = "http://www.roblox.com/asset/?id=117596823"
  163. decal2.Parent = no
  164. decal2.Texture = "http://www.roblox.com/asset/?id=264596039"
  165. decal2.Face = "Back"
  166. signbottom.BrickColor = BrickColor.new("Dark orange")
  167. signbottom.Size = Vector3.new(0.27, 2.19, 0.36)
  168. no.Size = Vector3.new(3.14, 2.5, 0.36)
  169. weld.Parent = signbottom
  170. weld.Part0 = signbottom
  171. weld.Part1 = char.Torso
  172. weld.C0 = CFrame.new(-0.301372528, 0.623102188, -0.677061081, 0.74218601, -0.67019397, 0, 0.67019397, 0.74218601, 0, 0, 0, 1)
  173. weld2.Parent = signtop
  174. weld2.Part0 = signtop
  175. weld2.Part1 = signbottom
  176. weld2.C0 = CFrame.new(-0.0247592926, -2.31497383, -0.0127334595, 1, -5.21543006e-06, 0, 5.21543052e-06, 1, 0, 0, 0, 1)
  177. weld3.Parent = no
  178. weld3.Part0 = no
  179. weld3.Part1 = signtop
  180. weld3.C0 = CFrame.new(3.43322754e-05, -1.90734863e-05, -0.000778198242, 0.99999845, 6.94394112e-06, 0, -3.48687172e-06, 0.999998093, 0, 0, 0, 1)
  181. signbottom.Parent = folder
  182. signtop.Parent = folder
  183. no.Parent = folder
  184. for i,v in pairs(folder:GetChildren()) do
  185. if v.ClassName == "Part" then
  186. v.CanCollide = false
  187. v.Material = "SmoothPlastic"
  188. end
  189. end
  190. music = Instance.new("Sound", game.Players.LocalPlayer.Character.Torso)
  191. music.Volume = 10
  192. music.SoundId = "rbxassetid://324499479"
  193. music.Looped = true
  194. music:Play()
  195.  
  196.  
  197.  
  198. local naeeym2 = Instance.new("BillboardGui",char)
  199. naeeym2.AlwaysOnTop = true
  200. naeeym2.Size = UDim2.new(5,35,2,35)
  201. naeeym2.StudsOffset = Vector3.new(0,2,0)
  202. naeeym2.Adornee = hed
  203. naeeym2.Name = "Name"
  204.  
  205. local tecks2 = Instance.new("TextLabel",naeeym2)
  206. tecks2.BackgroundTransparency = 1
  207. tecks2.TextScaled = true
  208. tecks2.BorderSizePixel = 0
  209. tecks2.Text = "RAGE"
  210. tecks2.Font = "Garamond"
  211. tecks2.TextSize = 30
  212. tecks2.TextStrokeTransparency = 0
  213. tecks2.TextColor3 = BrickColor.new('Really red').Color
  214. tecks2.TextStrokeColor3 = BrickColor.new('Really red').Color
  215. tecks2.Size = UDim2.new(1,0,0.5,0)
  216. tecks2.Parent = naeeym2
  217. textfag = tecks2
  218. tecks2.Text = "Anti-American"
  219. coroutine.resume(coroutine.create(function()
  220. while textfag ~= nil do
  221. swait()
  222. textfag.Position = UDim2.new(math.random(-.2,.2),math.random(-3,3),.05,math.random(-3,3))
  223. textfag.Rotation = math.random(-3,3)
  224. end
  225. end))
  226. local rhandclone = game.Players.LocalPlayer.Character.Torso["Right Shoulder"]:Clone()
  227. local rhandweld = Instance.new("Weld", game.Players.LocalPlayer.Character.Torso)
  228. rhandweld.Part0 = game.Players.LocalPlayer.Character.Torso
  229. rhandweld.Part1 = game.Players.LocalPlayer.Character["Right Arm"]
  230. rhandweld.C0 = CFrame.new(1.5, 0, 0, 1, -1.6395192e-43, 0, -1.6395192e-43, 1, 0, 0, 0, 1)
  231. local lhandclone = game.Players.LocalPlayer.Character.Torso["Left Shoulder"]:Clone()
  232. local lhandweld = Instance.new("Weld", game.Players.LocalPlayer.Character.Torso)
  233. lhandweld.Part0 = game.Players.LocalPlayer.Character.Torso
  234. lhandweld.Part1 = game.Players.LocalPlayer.Character["Left Arm"]
  235. lhandweld.C0 = CFrame.new(-1.5, 0, 0, 1, -1.6395192e-43, 0, -1.6395192e-43, 1, 0, 0, 0, 1)
  236. local llegclone = game.Players.LocalPlayer.Character.Torso["Left Hip"]:Clone()
  237. game.Players.LocalPlayer.Character.Torso["Left Hip"]:Remove()
  238. local llegweld = Instance.new("Weld", game.Players.LocalPlayer.Character.Torso)
  239. llegweld.Part0 = game.Players.LocalPlayer.Character.Torso
  240. llegweld.Part1 = game.Players.LocalPlayer.Character["Left Leg"]
  241. llegweld.C0 = CFrame.new(-0.5, -1, 0, -0, -0, -1, 0, 1, 0, 1, 0, 0) * CFrame.new(0,-1,0)
  242. local rlegclone = game.Players.LocalPlayer.Character.Torso["Right Hip"]:Clone()
  243. game.Players.LocalPlayer.Character.Torso["Right Hip"]:Remove()
  244. local rlegweld = Instance.new("Weld", game.Players.LocalPlayer.Character.Torso)
  245. rlegweld.Part0 = game.Players.LocalPlayer.Character.Torso
  246. rlegweld.Part1 = game.Players.LocalPlayer.Character["Right Leg"]
  247. rlegweld.C0 = CFrame.new(0.5, -1, 0, 0, 0, 1, 0, 1, 0, -1, -0, -0) * CFrame.new(0,-1,0)
  248. local rootjointclone = game.Players.LocalPlayer.Character.HumanoidRootPart.RootJoint:Clone()
  249. game.Players.LocalPlayer.Character.HumanoidRootPart.RootJoint:Remove()
  250. local humanoidrootpart = Instance.new("Weld", game.Players.LocalPlayer.Character.Torso)
  251. humanoidrootpart.Part0 = game.Players.LocalPlayer.Character.HumanoidRootPart
  252. humanoidrootpart.Part1 = game.Players.LocalPlayer.Character.Torso
  253. local heed = game.Players.LocalPlayer.Character.Torso["Neck"]:Clone()
  254. local headweld = Instance.new("Weld", game.Players.LocalPlayer.Character.Torso)
  255. headweld.Part0 = game.Players.LocalPlayer.Character.Torso
  256. headweld.Part1 = game.Players.LocalPlayer.Character.Head
  257. headweld.C0 = headweld.C0 * CFrame.new(0,1.5,0)
  258. game.Players.LocalPlayer.Character.Torso.Neck:Remove()
  259. bullethitforclone = Instance.new("Sound")
  260. bullethitforclone.Volume = 4
  261. bullethitforclone.Parent = game.Players.LocalPlayer.Character.Head
  262. bullethitforclone.SoundId = "rbxassetid://144884872"
  263. weldf = Instance.new("Weld", game.Players.LocalPlayer.Character.Torso)
  264. weldf.Part0 = game.Players.LocalPlayer.Character["Right Arm"]
  265. weldf.Part1 = Part3
  266. weldf.C0 = CFrame.new(-0.0861244202, -1.04447937, -0.182327271, -0.105800174, 0.219419539, -0.969882667, 0.973032475, -0.178225949, -0.146464914, -0.204995126, -0.959215224, -0.194644511)
  267. canwalk = true
  268. PlayerSize = 1
  269. --Converted with ttyyuu12345's model to script plugin v4
  270. function sandbox(var,func)
  271. local env = getfenv(func)
  272. local newenv = setmetatable({},{
  273. __index = function(self,k)
  274. if k=="script" then
  275. return var
  276. else
  277. return env[k]
  278. end
  279. end,
  280. })
  281. setfenv(func,newenv)
  282. return func
  283. end
  284. cors = {}
  285. mas = Instance.new("Model",game:GetService("Lighting"))
  286. Partgun = Instance.new("Part")
  287. SpecialMesh1 = Instance.new("SpecialMesh")
  288. Partgun.Name = "edgy gun"
  289. Partgun.Parent = mas
  290. Partgun.Rotation = Vector3.new(-180, 0, -180)
  291. Partgun.Size = Vector3.new(0.270000488, 1.03999996, 1.71999955)
  292. Partgun.CFrame = CFrame.new(9.57500267, 0.90746665, -4.25999546, -1, 0, 0, 0, 1, 0, 0, 0, -1)
  293. Partgun.BottomSurface = Enum.SurfaceType.Smooth
  294. Partgun.TopSurface = Enum.SurfaceType.Smooth
  295. Partgun.Position = Vector3.new(9.57500267, 0.90746665, -4.25999546)
  296. Partgun.Orientation = Vector3.new(0, 180, 0)
  297. SpecialMesh1.Parent = Partgun
  298. SpecialMesh1.MeshId = "rbxassetid://436697873"
  299. SpecialMesh1.Scale = Vector3.new(0.0299999993, 0.0299999993, 0.0299999993)
  300. SpecialMesh1.TextureId = "rbxassetid://436697889"
  301. SpecialMesh1.VertexColor = Vector3.new(1, 2, 3)
  302. SpecialMesh1.MeshType = Enum.MeshType.FileMesh
  303. SpecialMesh1.Scale = Vector3.new(0.0299999993, 0.0299999993, 0.0299999993)
  304. for i,v in pairs(mas:GetChildren()) do
  305. v.Parent = game:GetService("Players").LocalPlayer.Character
  306. pcall(function() v:MakeJoints() end)
  307. end
  308. mas:Destroy()
  309. for i,v in pairs(cors) do
  310. spawn(function()
  311. pcall(v)
  312. end)
  313. end
  314. local weldofgun = Instance.new("Weld", Partgun)
  315. weldofgun.Part0 = game.Players.LocalPlayer.Character["Right Arm"]
  316. weldofgun.Part1 = Partgun
  317. weldofgun.C0 = CFrame.new(0.0550079346, -1.58780015, -0.449067354, -1, 5.6192453e-22, -1.70690163e-22, 2.65673535e-22, 0.173647001, -0.984807968, -5.23747954e-22, -0.984807968, -0.173647001)
  318. local gunshot = Instance.new("Sound", Partgun)
  319. gunshot.Volume = 7
  320. gunshot.SoundId = "rbxassetid://131070686"
  321. canwalk = true
  322. shooting = false
  323. using = false
  324. function grab(key)
  325. key = key:lower()
  326. if key == "q" and not using then
  327. if not shooting then
  328. canwalk = false
  329. shooting = true
  330. for i = 0,0.6 , 0.01 do
  331. weldofgun.C0 = weldofgun.C0:lerp(CFrame.new(0.0550079346, -1.66210365, -0.280470848, -1, 1.69529812e-08, 2.79396772e-09, 2.79396772e-09, -1.27684325e-06, -1.00000012, 9.38598532e-09, -1.00000012, 1.27870589e-06),i)
  332. headweld.C0 = headweld.C0:lerp(CFrame.new(-0.0641918182, 1.57706404, -0.0765023232, 0.173648775, 1.2086125e-06, -0.98480773, -1.11475492e-05, 1, -7.38364122e-07, 0.98480773, 1.11064101e-05, 0.17364879),i)
  333. humanoidrootpart.C0 = humanoidrootpart.C0:lerp(CFrame.new(-4.76837158e-07, -2.38418579e-07, 4.76837158e-07, 1.86264515e-06, 1.11064055e-05, -1, 1.2086125e-06, 1, 1.11064101e-05, 1, -1.20863228e-06, 1.86264515e-06):inverse(),i)
  334. rlegweld.C0 = rlegweld.C0:lerp(CFrame.new(0.5, -2, -1.40129846e-45, 1, 2.80259693e-45, -2.80259693e-45, -2.80259693e-45, 1, -2.80259693e-45, 2.80259693e-45, 2.80259693e-45, 1),i)
  335. llegweld.C0 = llegweld.C0:lerp(CFrame.new(-0.790345192, -1.96068549, 0, 0.984807849, 0.173647985, -5.23747954e-22, -0.173647985, 0.984807849, 3.13253081e-22, 5.70186845e-22, -2.1754633e-22, 1),i)
  336. lhandweld.C0 = lhandweld.C0:lerp(CFrame.new(-1.88555717, 0.238665819, 9.53674316e-07, 0.866025448, 0.500000119, -7.4505806e-09, -0.500000119, 0.866025388, -7.09368919e-08, -2.60770321e-08, 7.07805157e-08, 1.00000012),i)
  337. rhandweld.C0 = rhandweld.C0:lerp(CFrame.new(2.03125596, 0.466423273, -0.0349578857, 0.0530674011, -0.998481572, -0.0147831338, -0.0627651066, 0.0114396075, -0.997962773, 0.996616483, 0.0538871512, -0.0620627441),i)
  338. game:GetService("RunService").RenderStepped:wait()
  339. end
  340. while shooting do
  341. 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))
  342. game:GetService("RunService").RenderStepped:wait()
  343. end
  344. else
  345. for i = 0,0.5 , 0.03 do
  346. headweld.C0 = headweld.C0:lerp(CFrame.new(0, 1.49999976, 0, 0.939692736, 2.65673535e-22, -0.342019886, -1.42512683e-22, 1, 3.85227261e-22, 0.342019916, -3.13253081e-22, 0.939692736),i)
  347. humanoidrootpart.C0 = humanoidrootpart.C0:lerp(CFrame.new(0, 0, 0, 0.866025388, -3.86706633e-22, -0.500000238, 2.65673535e-22, 1, -3.13253081e-22, 0.500000238, 1.38448295e-22, 0.866025388):inverse(),i)
  348. rlegweld.C0 = rlegweld.C0:lerp(CFrame.new(0.5, -2, 0, 1, -1.6395192e-43, 0, -1.6395192e-43, 1, 0, 0, 0, 1),i)
  349. llegweld.C0 = llegweld.C0:lerp(CFrame.new(-0.790345192, -1.96068549, 0, 0.984807849, 0.173647985, -5.23747954e-22, -0.173647985, 0.984807849, 3.13253081e-22, 5.70186845e-22, -2.1754633e-22, 1),i)
  350. lhandweld.C0 = lhandweld.C0:lerp(CFrame.new(-1.65210819, 0.0268206596, 0, 0.984807849, 0.173647985, -5.23747954e-22, -0.173647985, 0.984807849, 3.13253081e-22, 5.70186845e-22, -2.1754633e-22, 1),i)
  351. rhandweld.C0 = rhandweld.C0:lerp(CFrame.new(1.59805298, 0.00370526314, -0.166603565, 0.984807849, -0.173648134, -3.13053391e-07, 0.171009988, 0.969846368, -0.173648238, 0.0301539954, 0.171010062, 0.984807789),i)
  352. game:GetService("RunService").RenderStepped:wait()
  353. end
  354. shooting = false
  355. canwalk = true
  356. end
  357. end
  358. end
  359. mouse.KeyDown:connect(grab)
  360. function shoot(key)
  361. if shooting and not using then
  362. using = true
  363. gunshot:Play()
  364. local bullet = Instance.new("Part", workspace)
  365. bullet.Size = Vector3.new(0.2,0.2,3)
  366. bullet.BrickColor = BrickColor.new("Tr. Flu. Yellow")
  367. bullet.Material = "Neon"
  368. bullet.Anchored = false
  369. bullet.CFrame = Partgun.CFrame * CFrame.new(0,0.3,3.5)
  370. bullet.CFrame = CFrame.new(bullet.Position, mouse.Hit.p)
  371. local velocityofbullet = Instance.new("BodyVelocity", bullet)
  372. velocityofbullet.MaxForce = Vector3.new(math.huge,math.huge,math.huge)
  373. velocityofbullet.Velocity = mouse.Hit.lookVector * 600
  374. bullet.CanCollide = false
  375. bullet:BreakJoints()
  376. local function hit(part)
  377. local hitval = math.random(25,40)
  378. local humanoid = part.Parent:findFirstChildOfClass("Humanoid")
  379. if humanoid then
  380. bullet:destroy()
  381. if humanoid.Health == math.huge or humanoid.Health >= 600 then
  382. humanoid.Health = 100
  383. end
  384. if humanoid.MaxHealth == math.huge or humanoid.MaxHealth >= 600 then
  385. humanoid.MaxHealth = 100
  386. end
  387. if humanoid.Parent.Name == game.Players.LocalPlayer.Name then
  388.  
  389. else
  390. if humanoid.Health < hitval then
  391. for i,v in pairs(humanoid.Parent:GetChildren()) do
  392. if v.ClassName == "LocalScript" or v.ClassName == "Script" then
  393. v:Remove()
  394. end
  395. end
  396. humanoid.JumpPower = 0
  397. humanoid.PlatformStand = true
  398. humanoid.WalkSpeed = 0
  399. local findlefthip = humanoid.Parent.Torso:findFirstChild("Left Hip")
  400. if findlefthip then
  401. findlefthip:Remove()
  402. local glue = Instance.new("Glue", humanoid.Parent.Torso)
  403. glue.Part0 = humanoid.Parent.Torso
  404. glue.Part1 = humanoid.Parent["Left Leg"]
  405. glue.Name = "Left leg"
  406. local collider = Instance.new("Part", humanoid.Parent["Left Leg"])
  407. collider.Position = Vector3.new(0,999,0)
  408. collider.Size = Vector3.new(1.5, 1, 1)
  409. collider.Shape = "Cylinder"
  410. local weld = Instance.new("Weld", collider)
  411. weld.Part0 = humanoid.Parent["Left Leg"]
  412. weld.Part1 = collider
  413. weld.C0 = CFrame.new(0,-0.2,0) * CFrame.fromEulerAnglesXYZ(0, 0, math.pi/2)
  414. collider.TopSurface = "Smooth"
  415. collider.BottomSurface = "Smooth"
  416. collider.formFactor = "Symmetric"
  417. glue.C0 = CFrame.new(-0.5, -1, 0, -0, -0, -1, 0, 1, 0, 1, 0, 0)
  418. glue.C1 = CFrame.new(-0, 1, 0, -0, -0, -1, 0, 1, 0, 1, 0, 0)
  419. collider.Transparency = 1
  420. end
  421. --
  422. local findrighthip = humanoid.Parent.Torso:findFirstChild("Right Hip")
  423. if findrighthip then
  424. findrighthip:Remove()
  425. local glue = Instance.new("Glue", humanoid.Parent.Torso)
  426. glue.Part0 = humanoid.Parent.Torso
  427. glue.Part1 = humanoid.Parent["Right Leg"]
  428. glue.Name = "Right leg"
  429. local collider = Instance.new("Part", humanoid.Parent["Right Leg"])
  430. collider.Position = Vector3.new(0,999,0)
  431. collider.Size = Vector3.new(1.5, 1, 1)
  432. collider.Shape = "Cylinder"
  433. local weld = Instance.new("Weld", collider)
  434. weld.Part0 = humanoid.Parent["Right Leg"]
  435. weld.Part1 = collider
  436. weld.C0 = CFrame.new(0,-0.2,0) * CFrame.fromEulerAnglesXYZ(0, 0, math.pi/2)
  437. collider.TopSurface = "Smooth"
  438. collider.BottomSurface = "Smooth"
  439. collider.formFactor = "Symmetric"
  440. glue.C0 = CFrame.new(0.5, -1, 0, 0, 0, 1, 0, 1, 0, -1, -0, -0)
  441. glue.C1 = CFrame.new(0, 1, 0, 0, 0, 1, 0, 1, 0, -1, -0, -0)
  442. collider.Transparency = 1
  443. end
  444. --
  445. local findrightshoulder = humanoid.Parent.Torso:findFirstChild("Right Shoulder")
  446. if findrightshoulder then
  447. findrightshoulder:Remove()
  448. local glue = Instance.new("Glue", humanoid.Parent.Torso)
  449. glue.Part0 = humanoid.Parent.Torso
  450. glue.Part1 = humanoid.Parent["Right Arm"]
  451. glue.Name = "Right arm"
  452. local collider = Instance.new("Part", humanoid.Parent["Right Arm"])
  453. collider.Position = Vector3.new(0,999,0)
  454. collider.Size = Vector3.new(1.5, 1, 1)
  455. collider.Shape = "Cylinder"
  456. local weld = Instance.new("Weld", collider)
  457. weld.Part0 = humanoid.Parent["Right Arm"]
  458. weld.Part1 = collider
  459. weld.C0 = CFrame.new(0,-0.2,0) * CFrame.fromEulerAnglesXYZ(0, 0, math.pi/2)
  460. collider.TopSurface = "Smooth"
  461. collider.BottomSurface = "Smooth"
  462. collider.formFactor = "Symmetric"
  463. glue.C0 = CFrame.new(1.5, 0.5, 0, 0, 0, 1, 0, 1, 0, -1, 0, 0)
  464. glue.C1 = CFrame.new(0, 0.5, 0, 0, 0, 1, 0, 1, 0, -1, 0, 0)
  465. collider.Transparency = 1
  466. end
  467. --
  468. local findleftshoulder = humanoid.Parent.Torso:findFirstChild("Left Shoulder")
  469. if findleftshoulder then
  470. findleftshoulder:Remove()
  471. local glue = Instance.new("Glue", humanoid.Parent.Torso)
  472. glue.Part0 = humanoid.Parent.Torso
  473. glue.Part1 = humanoid.Parent["Left Arm"]
  474. glue.Name = "Left arm"
  475. local collider = Instance.new("Part", humanoid.Parent["Left Arm"])
  476. collider.Position = Vector3.new(0,999,0)
  477. collider.Size = Vector3.new(1.5, 1, 1)
  478. collider.Shape = "Cylinder"
  479. local weld = Instance.new("Weld", collider)
  480. weld.Part0 = humanoid.Parent["Left Arm"]
  481. weld.Part1 = collider
  482. weld.C0 = CFrame.new(0,-0.2,0) * CFrame.fromEulerAnglesXYZ(0, 0, math.pi/2)
  483. collider.TopSurface = "Smooth"
  484. collider.BottomSurface = "Smooth"
  485. collider.formFactor = "Symmetric"
  486. glue.C0 = CFrame.new(-1.5, 0.5, 0, 0, 0, -1, 0, 1, 0, 1, 0, 0)
  487. glue.C1 = CFrame.new(0, 0.5, 0, 0, 0, -1, 0, 1, 0, 1, 0, 0)
  488. collider.Transparency = 1
  489. end
  490. local findhead = humanoid.Parent:findFirstChild("Head")
  491. if findhead then
  492. local attachment = Instance.new("Attachment", humanoid.Parent.Head)
  493. attachment.Position = Vector3.new(0, -0.5, 0)
  494. attachment.Name = "lol"
  495. attachment.Visible = false
  496. humanoid.Parent.Torso.NeckAttachment.Visible = false
  497. humanoid.Parent.Torso.NeckAttachment.Position = humanoid.Parent.Torso.NeckAttachment.Position + Vector3.new(0,0,0)
  498. local ball = Instance.new("BallSocketConstraint", humanoid.Parent)
  499. ball.Attachment0 = humanoid.Parent.Torso.NeckAttachment
  500. ball.Attachment1 = attachment
  501. ball.LimitsEnabled = true
  502. ball.TwistLimitsEnabled = true
  503. ball.UpperAngle = 90
  504. ball.Restitution = 0.5
  505. ball.TwistUpperAngle = 90
  506. ball.TwistLowerAngle = -90
  507. local collidepartofleftleg = Instance.new("Part", humanoid.Parent.Torso)
  508. collidepartofleftleg.Name = "Bone"
  509. collidepartofleftleg.Size = Vector3.new(0.7,0.7,0.7)
  510. collidepartofleftleg.Transparency = 1
  511. collidepartofleftleg:BreakJoints()
  512. local weeld = Instance.new("Weld", collidepartofleftleg)
  513. weeld.Part0 = collidepartofleftleg
  514. weeld.Part1 = humanoid.Parent["Head"]
  515. if humanoid.Parent.Torso:findFirstChild("Neck") then
  516. humanoid.Parent.Torso.Neck:destroy()
  517. end
  518. end
  519. wait(10)
  520. humanoid.Health = 0
  521. else
  522. humanoid.Health = humanoid.Health - hitval
  523. end
  524. end
  525. end
  526. end
  527. bullet.Touched:connect(hit)
  528. for i = 0,1 , 0.2 do
  529. weldofgun.C0 = weldofgun.C0:lerp(CFrame.new(0.0550060272, -1.49197721, -0.523540258, -1.00000024, -3.94356903e-09, 1.68802217e-09, 1.16415322e-10, 0.173647106, -0.984807968, 4.94765118e-09, -0.984808087, -0.173647076),i)
  530. headweld.C0 = headweld.C0:lerp(CFrame.new(-0.0641915798, 1.57706404, -0.0765023232, 0.173648775, -0.085830681, -0.981060207, -1.11475492e-05, 0.996194601, -0.0871567205, 0.98480767, 0.0151455933, 0.172987014),i)
  531. humanoidrootpart.C0 = humanoidrootpart.C0:lerp(CFrame.new(-4.76837158e-07, -2.38418579e-07, 4.76837158e-07, 1.86264515e-06, 1.11064055e-05, -1, 1.2086125e-06, 1, 1.11064101e-05, 1, -1.20863228e-06, 1.86264515e-06):inverse(),i)
  532. rlegweld.C0 = rlegweld.C0:lerp(CFrame.new(0.5, -2, -1.40129846e-45, 1, 2.80259693e-45, -2.80259693e-45, -2.80259693e-45, 1, -2.80259693e-45, 2.80259693e-45, 2.80259693e-45, 1),i)
  533. llegweld.C0 = llegweld.C0:lerp(CFrame.new(-0.790345192, -1.96068549, 0, 0.984807849, 0.173647985, -5.23747954e-22, -0.173647985, 0.984807849, 3.13253081e-22, 5.70186845e-22, -2.1754633e-22, 1),i)
  534. lhandweld.C0 = lhandweld.C0:lerp(CFrame.new(-1.88555717, 0.238665819, 9.53674316e-07, 0.866025448, 0.500000119, -7.4505806e-09, -0.500000119, 0.866025388, -7.09368919e-08, -2.60770321e-08, 7.07805157e-08, 1.00000012),i)
  535. rhandweld.C0 = rhandweld.C0:lerp(CFrame.new(2.06728888, 0.656469345, -0.0372948647, 0.064117156, -0.985305488, 0.158310011, -0.063825123, -0.16236043, -0.984665155, 0.99589932, 0.0530297607, -0.0732973367),i)
  536. game:GetService("RunService").RenderStepped:wait()
  537. end
  538. for i = 0,1 , 0.2 do
  539. weldofgun.C0 = weldofgun.C0:lerp(CFrame.new(0.0550079346, -1.66210365, -0.280470848, -1, 1.69529812e-08, 2.79396772e-09, 2.79396772e-09, -1.27684325e-06, -1.00000012, 9.38598532e-09, -1.00000012, 1.27870589e-06),i)
  540. headweld.C0 = headweld.C0:lerp(CFrame.new(-0.0641918182, 1.57706404, -0.0765023232, 0.173648775, 1.2086125e-06, -0.98480773, -1.11475492e-05, 1, -7.38364122e-07, 0.98480773, 1.11064101e-05, 0.17364879),i)
  541. humanoidrootpart.C0 = humanoidrootpart.C0:lerp(CFrame.new(-4.76837158e-07, -2.38418579e-07, 4.76837158e-07, 1.86264515e-06, 1.11064055e-05, -1, 1.2086125e-06, 1, 1.11064101e-05, 1, -1.20863228e-06, 1.86264515e-06):inverse(),i)
  542. rlegweld.C0 = rlegweld.C0:lerp(CFrame.new(0.5, -2, -1.40129846e-45, 1, 2.80259693e-45, -2.80259693e-45, -2.80259693e-45, 1, -2.80259693e-45, 2.80259693e-45, 2.80259693e-45, 1),i)
  543. llegweld.C0 = llegweld.C0:lerp(CFrame.new(-0.790345192, -1.96068549, 0, 0.984807849, 0.173647985, -5.23747954e-22, -0.173647985, 0.984807849, 3.13253081e-22, 5.70186845e-22, -2.1754633e-22, 1),i)
  544. lhandweld.C0 = lhandweld.C0:lerp(CFrame.new(-1.88555717, 0.238665819, 9.53674316e-07, 0.866025448, 0.500000119, -7.4505806e-09, -0.500000119, 0.866025388, -7.09368919e-08, -2.60770321e-08, 7.07805157e-08, 1.00000012),i)
  545. rhandweld.C0 = rhandweld.C0:lerp(CFrame.new(2.03125596, 0.466423273, -0.0349578857, 0.0530674011, -0.998481572, -0.0147831338, -0.0627651066, 0.0114396075, -0.997962773, 0.996616483, 0.0538871512, -0.0620627441),i)
  546. game:GetService("RunService").RenderStepped:wait()
  547. end
  548. using = false
  549. end
  550. end
  551. mouse.Button1Down:connect(shoot)
  552. while true do
  553. if howmuch <= -1 then
  554. howmuch = 0
  555. end
  556. if howmuch >= 4 then
  557. howmuch = 0
  558. end
  559. if canwalk and howmuch < 1 then
  560. for i = 0,1 , 0.03 do
  561. if canwalk and howmuch < 1 then
  562. weldf.C0 = weldf.C0:lerp(CFrame.new(-0.0861244202, -1.04447937, -0.182327271, -0.105800174, 0.219419539, -0.969882667, 0.973032475, -0.178225949, -0.146464914, -0.204995126, -0.959215224, -0.194644511),i)
  563. headweld.C0 = headweld.C0:lerp(CFrame.new(0, 1.5, 0, 1, 0, 0, 0, 1, 0, 0, 0, 1),i)
  564. humanoidrootpart.C0 = humanoidrootpart.C0:lerp(CFrame.new(0, 0, 0, 1, 0, 0, 0, 1, 0, 0, 0, 1),i)
  565. lhandweld.C0 = lhandweld.C0:lerp(CFrame.new(-1.5, 0, 0, 1, 0, 0, 0, 0.999999881, 0, 0, 0, 1),i)
  566. rhandweld.C0 = rhandweld.C0:lerp(CFrame.new(1.5, 0, 0, 1, 0, 0, 0, 0.999999881, 0, 0, 0, 1),i)
  567. llegweld.C0 = llegweld.C0:lerp(CFrame.new(-0.5, -1.99999988, 0, 1, 0, 0, 0, 0.999999881, 0, 0, 0, 1),i)
  568. rlegweld.C0 = rlegweld.C0:lerp(CFrame.new(0.5, -1.99999988, 0, 1, 0, 0, 0, 0.999999881, 0, 0, 0, 1),i)
  569. game:GetService("RunService").RenderStepped:wait()
  570. game:GetService("RunService").RenderStepped:wait()
  571. end
  572. end
  573. for i = 0,0.3 , 0.01 do
  574. if canwalk and howmuch < 1 then
  575. lhandweld.C0 = lhandweld.C0:lerp(CFrame.new(-1.5, 0.123552799, 0, 1, 0, 0, 0, 0.999999881, 0, 0, 0, 1),i)
  576. rhandweld.C0 = rhandweld.C0:lerp(CFrame.new(1.5, 0.110878944, 0, 1, 0, 0, 0, 0.999999881, 0, 0, 0, 1),i)
  577. headweld.C0 = headweld.C0:lerp(CFrame.new(0, 1.4918499, 0, 1, 0, 0, 0, 0.982171893, -0.187984973, 0, 0.187984973, 0.982171893),i)
  578. game:GetService("RunService").RenderStepped:wait()
  579. end
  580. end
  581. end
  582. if canwalk and howmuch >= 1 then
  583. if canwalk then
  584. for i = 0.1,0.3,0.008 do
  585. if canwalk and howmuch >= 1 then
  586. weldf.C0 = weldf.C0:lerp(CFrame.new(0.405254364, -0.770187378, -0.0317382813, 0.916420221, 0.388018847, -0.0981012359, 0.181092858, -0.183419436, 0.966214538, 0.356913, -0.90321666, -0.238354743),i)
  587. humanoidrootpart.C0 = humanoidrootpart.C0:lerp(CFrame.new(0, -0.395210266, 0, 1, 0, 0, 0, 1, 0, 0, 0, 1):inverse(),i)
  588. headweld.C0 = headweld.C0:lerp(CFrame.new(0, 1.5, 0, 1, 0, 0, 0, 1, 0, 0, 0, 1),i)
  589. rlegweld.C0 = rlegweld.C0:lerp(CFrame.new(0.5, -1.69855976, 0.715551376, 1, 0, 0, 0, 0.698559642, 0.715551734, 0, -0.715551794, 0.698559701),i)
  590. llegweld.C0 = llegweld.C0:lerp(CFrame.new(-0.5, -1.80723953, -0.590223312, 1, 0, 0, 0, 0.807239354, -0.590224087, 0, 0.590224147, 0.807239413),i)
  591. lhandweld.C0 = lhandweld.C0:lerp(CFrame.new(-1.5, 0.216003418, 0.411518574, 1, 0, 0, 0, 0.567983389, 0.823040009, 0, -0.823040009, 0.567983389),i)
  592. rhandweld.C0 = rhandweld.C0:lerp(CFrame.new(1.5, 0.215018272, -0.41083622, 1, 0, 0, 0, 0.569954693, -0.821676135, 0, 0.821676135, 0.569954753),i)
  593.  
  594. game:GetService("RunService").RenderStepped:wait()
  595. end
  596. end
  597. end
  598. if canwalk then
  599. for i = 0.1,0.3 , 0.008 do
  600. if canwalk and howmuch >= 1 then
  601. weldf.C0 = weldf.C0:lerp(CFrame.new(0.405254364, -0.770187378, -0.0317382813, 0.916420221, 0.388018847, -0.0981012359, 0.181092858, -0.183419436, 0.966214538, 0.356913, -0.90321666, -0.238354743),i)
  602. humanoidrootpart.C0 = humanoidrootpart.C0:lerp(CFrame.new(0, 0, 0, 1, 0, 0, 0, 1, 0, 0, 0, 1),i)
  603. headweld.C0 = headweld.C0:lerp(CFrame.new(0, 1.5, 0, 1, 0, 0, 0, 1, 0, 0, 0, 1),i)
  604. lhandweld.C0 = lhandweld.C0:lerp(CFrame.new(-1.5, 0.168842316, -0.374614239, 1, 0, 0, 0, 0.662306964, -0.74923259, 0, 0.74923259, 0.662307084),i)
  605. rhandweld.C0 = rhandweld.C0:lerp(CFrame.new(1.5, 0.12597847, 0.331827164, 1, 0, 0, 0, 0.748035073, 0.663659215, 0, -0.663659275, 0.748035014),i)
  606. rlegweld.C0 = rlegweld.C0:lerp(CFrame.new(0.5, -1.67391682, -0.738807678, 0.99999994, 0, 0, 0, 0.673916757, -0.738807261, 0, 0.738807321, 0.673916817),i)
  607. llegweld.C0 = llegweld.C0:lerp(CFrame.new(-0.5, -1.67705727, 0.735931396, 1, 0, 0, 0, 0.677056909, 0.735930681, 0, -0.735930741, 0.677056968),i)
  608. game:GetService("RunService").RenderStepped:wait()
  609. end
  610. end
  611. end
  612. end
  613. game:GetService("RunService").RenderStepped:wait()
  614. end
Advertisement
Add Comment
Please, Sign In to add comment
Advertisement