Advertisement
istealscripts

Headcrab

Mar 23rd, 2018
246
0
Never
Not a member of Pastebin yet? Sign Up, it unlocks many cool features!
text 10.17 KB | None | 0 0
  1. me = "spookymcspooks"
  2. scale = 0
  3. It = true
  4.  
  5. for i,v in pairs(game.Workspace[me]:GetChildren()) do
  6. if v.className == "Part" then
  7. v.Transparency = 1
  8. end
  9. end
  10. for i,v in pairs(game.Workspace[me]:GetChildren()) do
  11. if v.className == "Hat" then
  12. v:Remove()
  13. end
  14. end
  15. I = me
  16. game.Players[I].Character.Head.face:Remove()
  17. local p = Instance.new("Part")
  18. p.Parent = game.Players[I].Character.Torso
  19. p.Position = Vector3.new(0, 50, 0)
  20. p.BrickColor = BrickColor.new("Reddish brown")
  21. p.TopSurface = 0
  22. p.BottomSurface = 0
  23. p.Size = Vector3.new(4, 1, 1)
  24. local w = Instance.new("Weld")
  25. w.Parent = game.Players[I].Character.Torso
  26. w.Part1 = w.Parent
  27. w.Part0 = p
  28. w.C0 = CFrame.new(-1,0,-1) * CFrame.fromEulerAnglesXYZ(0, 0,-10)
  29. local p = Instance.new("Part")
  30. p.Parent = game.Players[I].Character.Torso
  31. p.Position = Vector3.new(0, 50, 0)
  32. p.BrickColor = BrickColor.new("Reddish brown")
  33. p.TopSurface = 0
  34. p.BottomSurface = 0
  35. p.Size = Vector3.new(2, 1, 1)
  36. local w = Instance.new("Weld")
  37. w.Parent = game.Players[I].Character.Torso
  38. w.Part1 = w.Parent
  39. w.Part0 = p
  40. w.C0 = CFrame.new(3,-1.5,-1) * CFrame.fromEulerAnglesXYZ(0, 0,-20)
  41.  
  42.  
  43.  
  44. local p = Instance.new("Part")
  45. p.Parent = game.Players[I].Character.Torso
  46. p.Position = Vector3.new(0, 50, 0)
  47. p.BrickColor = BrickColor.new("Reddish brown")
  48. p.TopSurface = 0
  49. p.BottomSurface = 0
  50. p.Size = Vector3.new(4, 1, 1)
  51. local w = Instance.new("Weld")
  52. w.Parent = game.Players[I].Character.Torso
  53. w.Part1 = w.Parent
  54. w.Part0 = p
  55. w.C0 = CFrame.new(-1,0,1) * CFrame.fromEulerAnglesXYZ(0, 0,-10)
  56. local p = Instance.new("Part")
  57. p.Parent = game.Players[I].Character.Torso
  58. p.Position = Vector3.new(0, 50, 0)
  59. p.BrickColor = BrickColor.new("Reddish brown")
  60. p.TopSurface = 0
  61. p.BottomSurface = 0
  62. p.Size = Vector3.new(2, 1, 1)
  63. local w = Instance.new("Weld")
  64. w.Parent = game.Players[I].Character.Torso
  65. w.Part1 = w.Parent
  66. w.Part0 = p
  67. w.C0 = CFrame.new(3,-1.5,1) * CFrame.fromEulerAnglesXYZ(0, 0,-20)
  68.  
  69.  
  70.  
  71.  
  72.  
  73. local p = Instance.new("Part")
  74. p.Parent = game.Players[I].Character.Torso
  75. p.Position = Vector3.new(0, 50, 0)
  76. p.BrickColor = BrickColor.new("Reddish brown")
  77. p.TopSurface = 0
  78. p.BottomSurface = 0
  79. p.Size = Vector3.new(4, 1, 1)
  80. local w = Instance.new("Weld")
  81. w.Parent = game.Players[I].Character.Torso
  82. w.Part1 = w.Parent
  83. w.Part0 = p
  84. w.C0 = CFrame.new(1,0,-1) * CFrame.fromEulerAnglesXYZ(0, 0,10)
  85. local p = Instance.new("Part")
  86. p.Parent = game.Players[I].Character.Torso
  87. p.Position = Vector3.new(0, 50, 0)
  88. p.BrickColor = BrickColor.new("Reddish brown")
  89.  
  90. p.TopSurface = 0
  91. p.BottomSurface = 0
  92. p.Size = Vector3.new(2, 1, 1)
  93. local w = Instance.new("Weld")
  94. w.Parent = game.Players[I].Character.Torso
  95. w.Part1 = w.Parent
  96. w.Part0 = p
  97. w.C0 = CFrame.new(-3,-1.5,-1) * CFrame.fromEulerAnglesXYZ(0, 0,20)
  98.  
  99.  
  100.  
  101. local p = Instance.new("Part")
  102. p.Parent = game.Players[I].Character.Torso
  103. p.Position = Vector3.new(0, 50, 0)
  104. p.BrickColor = BrickColor.new("Reddish brown")
  105. p.TopSurface = 0
  106. p.BottomSurface = 0
  107. p.Size = Vector3.new(4, 1, 1)
  108. local w = Instance.new("Weld")
  109. w.Parent = game.Players[I].Character.Torso
  110. w.Part1 = w.Parent
  111. w.Part0 = p
  112. w.C0 = CFrame.new(1,0,1) * CFrame.fromEulerAnglesXYZ(0, 0,10)
  113. local p = Instance.new("Part")
  114. p.Parent = game.Players[I].Character.Torso
  115. p.Position = Vector3.new(0, 50, 0)
  116. p.BrickColor = BrickColor.new("Reddish brown")
  117. p.TopSurface = 0
  118. p.BottomSurface = 0
  119. p.Size = Vector3.new(2, 1, 1)
  120. local w = Instance.new("Weld")
  121. w.Parent = game.Players[I].Character.Torso
  122. w.Part1 = w.Parent
  123. w.Part0 = p
  124. w.C0 = CFrame.new(-3,-1.5,1) * CFrame.fromEulerAnglesXYZ(0, 0,20)
  125.  
  126.  
  127.  
  128.  
  129.  
  130.  
  131.  
  132.  
  133.  
  134.  
  135. local pi = Instance.new("Seat")
  136. pi.Parent = game.Players[I].Character.Torso
  137. pi.Position = Vector3.new(0, 50, 0)
  138. pi.BrickColor = BrickColor.new("Reddish brown")
  139. pi.TopSurface = 0
  140. pi.BottomSurface = 0
  141. pi.Size = Vector3.new(3, 2, 4)
  142. pi.CanCollide = False
  143. local w = Instance.new("Weld")
  144. w.Parent = game.Players[I].Character.Torso
  145. w.Part1 = w.Parent
  146. w.Part0 = pi
  147. w.C0 = CFrame.new(0,0,0) * CFrame.fromEulerAnglesXYZ(0, 0, 0)
  148.  
  149.  
  150.  
  151. local p = Instance.new("Part")
  152. p.Parent = game.Players[I].Character.Torso
  153. p.Position = Vector3.new(0, 50, 0)
  154. p.BrickColor = BrickColor.new("Reddish brown")
  155. p.TopSurface = 0
  156. p.BottomSurface = 0
  157. p.Size = Vector3.new(2.8, 1, 2.8)
  158. p.CanCollide = False
  159. local w = Instance.new("Weld")
  160. w.Parent = game.Players[I].Character.Torso
  161. w.Part1 = w.Parent
  162. w.Part0 = p
  163. w.C0 = CFrame.new(0,.5,0) * CFrame.fromEulerAnglesXYZ(0, 0, 0)
  164.  
  165. Owner = Game.Players[me].Character
  166.  
  167. function OnTouched(hit)
  168. if hit.Parent:findFirstChild("Humanoid") == nil then return end
  169. if It == false then return end
  170. It = false
  171. game.Players[me].Character.Torso.Touched:connect(function(hit)
  172. human = hit.Parent:findFirstChild("Humanoid")
  173. if human then
  174. if hit.Parent.Name ~= Owner.Name then
  175. human.Health = 90
  176. wait(2)
  177. human.Health = 80
  178. wait(2)
  179. human.Health = 70
  180. wait(2)
  181. human.Health = 60
  182. wait(2)
  183. human.Health = 50
  184. wait(2)
  185. human.Health = 40
  186. wait(2)
  187. human.Health = 30
  188. wait(2)
  189. human.Health = 20
  190. wait(2)
  191. human.Health = 10
  192. wait(2)
  193. human.Health = 0
  194. wait(2)
  195. end
  196. end
  197. end)
  198. local p = Instance.new("Part")
  199. p.Parent = game.Players[I].Character.Torso
  200. p.Position = Vector3.new(0, 50, 0)
  201. p.BrickColor = BrickColor.new("Really red")
  202. p.TopSurface = 0
  203. p.BottomSurface = 0
  204. p.Size = Vector3.new(2, 1, 2)
  205. p.CanCollide = False
  206. local w = Instance.new("Weld")
  207. w.Parent = game.Players[I].Character.Torso
  208. w.Part1 = w.Parent
  209. w.Part0 = p
  210. w.C0 = CFrame.new(0,.6,0) * CFrame.fromEulerAnglesXYZ(0, 0, 0)
  211. w = Instance.new("Weld")
  212. w.Parent = game.Players[hit.Parent.Name].Character.Head
  213. w.Part1 = game.Players[me].Character.Torso
  214. w.Part0 = game.Players[hit.Parent.Name].Character.Head
  215. w.C0 = CFrame.new(0,0,0) * CFrame.fromEulerAnglesXYZ(0, 0,0)
  216. wait(5)
  217. for i,v in pairs(game.Workspace[hit.Parent.Name]:GetChildren()) do
  218. if v.className == "Part" then
  219. v.Transparency = 1
  220. end
  221. end
  222. for i,v in pairs(game.Players[hit.Parent.Name]:GetChildren()) do
  223. if v.className == "Hat" then
  224. v:Remove()
  225. end
  226. end
  227.  
  228. game.Players[hit.Parent.Name].Character.Head.face:Remove()
  229. local p = Instance.new("Part")
  230. p.Parent = game.Players[hit.Parent.Name].Character.Torso
  231. p.Position = Vector3.new(0, 50, 0)
  232. p.BrickColor = BrickColor.new("Grime")
  233. p.TopSurface = 0
  234. p.BottomSurface = 0
  235. p.Size = Vector3.new(1, 2.5, 1)
  236. p.CanCollide = False
  237. local w = Instance.new("Weld")
  238. w.Parent = game.Players[hit.Parent.Name].Character["Right Arm"]
  239. w.Part1 = w.Parent
  240. w.Part0 = p
  241. w.C0 = CFrame.new(0,0.5 ,0) * CFrame.fromEulerAnglesXYZ(0.4, 0, 0)
  242. local p = Instance.new("Part")
  243. p.Parent = game.Players[hit.Parent.Name].Character.Torso
  244. p.Position = Vector3.new(0, 50, 0)
  245. p.BrickColor = BrickColor.new("Grime")
  246. p.TopSurface = 0
  247. p.BottomSurface = 0
  248. p.Size = Vector3.new(1, 2.5, 1)
  249. p.CanCollide = False
  250. local w = Instance.new("Weld")
  251. w.Parent = game.Players[hit.Parent.Name].Character["Left Arm"]
  252. w.Part1 = w.Parent
  253. w.Part0 = p
  254. w.C0 = CFrame.new(0,0.5,0) * CFrame.fromEulerAnglesXYZ(0.4, 0, 0)
  255. local p = Instance.new("Part")
  256. p.Parent = game.Players[hit.Parent.Name].Character.Torso
  257. p.Position = Vector3.new(0, 50, 0)
  258. p.BrickColor = BrickColor.new("Grime")
  259. p.TopSurface = 0
  260. p.BottomSurface = 0
  261. p.Size = Vector3.new(1, 2.5, 1)
  262. p.CanCollide = True
  263. local w = Instance.new("Weld")
  264. w.Parent = game.Players[hit.Parent.Name].Character["Left Leg"]
  265. w.Part1 = w.Parent
  266. w.Part0 = p
  267. w.C0 = CFrame.new(0,0.5,0) * CFrame.fromEulerAnglesXYZ(0, 0, 0.1)
  268. local p = Instance.new("Part")
  269. p.Parent = game.Players[hit.Parent.Name].Character.Torso
  270. p.Position = Vector3.new(0, 50, 0)
  271. p.BrickColor = BrickColor.new("Grime")
  272. p.TopSurface = 0
  273. p.BottomSurface = 0
  274. p.Size = Vector3.new(1, 2.5, 1)
  275. p.CanCollide = True
  276. local w = Instance.new("Weld")
  277. w.Parent = game.Players[hit.Parent.Name].Character["Right Leg"]
  278. w.Part1 = w.Parent
  279. w.Part0 = p
  280. w.C0 = CFrame.new(0,0.5,0) * CFrame.fromEulerAnglesXYZ(0, 0, -0.1)
  281. local p = Instance.new("Part")
  282. p.Parent = game.Players[hit.Parent.Name].Character.Torso
  283. p.Position = Vector3.new(0, 50, 0)
  284. p.BrickColor = BrickColor.new("White")
  285. p.TopSurface = 0
  286. p.BottomSurface = 0
  287. p.Size = Vector3.new(2, 3, 1)
  288. p.CanCollide = False
  289. local w = Instance.new("Weld")
  290. w.Parent = game.Players[hit.Parent.Name].Character.Torso
  291. w.Part1 = w.Parent
  292. w.Part0 = p
  293. w.C0 = CFrame.new(0,0.5,0) * CFrame.fromEulerAnglesXYZ(0, 0, 0)
  294. local p = Instance.new("Part")
  295. p.Parent = game.Players[hit.Parent.Name].Character.Torso
  296. p.Position = Vector3.new(0, 50, 0)
  297. p.BrickColor = BrickColor.new("Grime")
  298. p.TopSurface = 0
  299. p.BottomSurface = 0
  300. p.Size = Vector3.new(1, 1, 1)
  301. p.CanCollide = False
  302. A = Instance.new("SpecialMesh")
  303. A.MeshType = "Sphere"
  304. A.Parent = p
  305. A.Scale = Vector3.new(.5, 0.5, .5)
  306. local w = Instance.new("Weld")
  307. w.Parent = game.Players[hit.Parent.Name].Character["Right Arm"]
  308. w.Part1 = w.Parent
  309. w.Part0 = p
  310. w.C0 = CFrame.new(-.5,0,0) * CFrame.fromEulerAnglesXYZ(0, 0, 0)
  311. local p = Instance.new("Part")
  312. p.Parent = game.Players[hit.Parent.Name].Character.Torso
  313. p.Position = Vector3.new(0, 50, 0)
  314. p.BrickColor = BrickColor.new("Grime")
  315. p.TopSurface = 0
  316. p.BottomSurface = 0
  317. p.Size = Vector3.new(1, 1, 1)
  318. p.CanCollide = False
  319. A = Instance.new("SpecialMesh")
  320. A.MeshType = "Sphere"
  321. A.Parent = p
  322. A.Scale = Vector3.new(.5, 0.5, .5)
  323. local w = Instance.new("Weld")
  324. w.Parent = game.Players[hit.Parent.Name].Character["Left Arm"]
  325. w.Part1 = w.Parent
  326. w.Part0 = p
  327. w.C0 = CFrame.new(.5,0,0) * CFrame.fromEulerAnglesXYZ(0, 0, 0)
  328. local p = Instance.new("Part")
  329. p.Parent = game.Players[hit.Parent.Name].Character.Torso
  330. p.Position = Vector3.new(0, 50, 0)
  331. p.BrickColor = BrickColor.new("Grime")
  332. p.TopSurface = 0
  333. p.BottomSurface = 0
  334. p.Size = Vector3.new(1, 1, 1)
  335. p.CanCollide = False
  336. A = Instance.new("SpecialMesh")
  337. A.MeshType = "Sphere"
  338. A.Parent = p
  339. A.Scale = Vector3.new(.5, 0.5, .5)
  340. local w = Instance.new("Weld")
  341. w.Parent = game.Players[hit.Parent.Name].Character["Left Leg"]
  342. w.Part1 = w.Parent
  343. w.Part0 = p
  344. w.C0 = CFrame.new(.5,0,0) * CFrame.fromEulerAnglesXYZ(0, 0, 0)
  345. end
  346. game.Workspace[me].Torso.Touched:connect(OnTouched)
Advertisement
Add Comment
Please, Sign In to add comment
Advertisement