subaru112g

killer me

Feb 23rd, 2019
224
0
Never
Not a member of Pastebin yet? Sign Up, it unlocks many cool features!
text 6.94 KB | None | 0 0
  1. local plr = owner
  2. wait(0.1)
  3.  
  4. local m = Instance.new("Model", game.Workspace)
  5. m.Name = "Killer Subaru112"
  6.  
  7. local h = Instance.new("Part",m)
  8. h.Name = "Head"
  9. local me = plr.Character.Head.Mesh:Clone()
  10. me.Parent = h
  11. local facee = Instance.new("Decal",h)
  12. facee.Name = "face"
  13. h.Size = plr.Character.Head.Size
  14. h:BreakJoints()
  15. h.CanCollide = false
  16. h.Position = plr.Character.Head.Position
  17. h.Position = h.Position + Vector3.new(0, 10, 0)
  18. h.face.Texture = "http://www.roblox.com/asset/?id=22566290"
  19.  
  20. local t = Instance.new("Part",m)
  21. t.Name = "Torso"
  22. t.Size = plr.Character.Torso.Size
  23. t:BreakJoints()
  24. t.CanCollide = false
  25. t.Position = plr.Character.Torso.Position
  26. t.Position = t.Position + Vector3.new(0, 10, 0)
  27.  
  28. local ra = Instance.new("Part",m)
  29. ra.Name = "Right Arm"
  30. ra.Size = plr.Character["Right Arm"].Size
  31. ra:BreakJoints()
  32. ra.Position = plr.Character["Right Arm"].Position
  33. ra.Position = ra.Position + Vector3.new(0, 10, 0)
  34.  
  35. local la = Instance.new("Part",m)
  36. la.Name = "Left Arm"
  37. la.Size = plr.Character["Left Arm"].Size
  38. la:BreakJoints()
  39. la.Position = plr.Character["Left Arm"].Position
  40. la.Position = la.Position + Vector3.new(0, 10, 0)
  41.  
  42. local ll = Instance.new("Part",m)
  43. ll.Name = "Left Leg"
  44. ll.Size = plr.Character["Left Leg"].Size
  45. ll:BreakJoints()
  46. ll.Position = plr.Character["Left Leg"].Position
  47. ll.Position = ll.Position + Vector3.new(0, 10, 0)
  48.  
  49. local rl = Instance.new("Part",m)
  50. rl.Name = "Right Leg"
  51. rl.Size = plr.Character["Right Leg"].Size
  52. rl:BreakJoints()
  53. rl.Position = plr.Character["Right Leg"].Position
  54. rl.Position = rl.Position + Vector3.new(0, 10, 0)
  55.  
  56. for i,v in pairs(m:GetChildren()) do
  57. v:BreakJoints()
  58. end
  59.  
  60. local char = m
  61.  
  62. local torso = Instance.new("CharacterMesh", game.Workspace)
  63. torso.BodyPart = "Torso"
  64. torso.MeshId = "376169183"
  65. torso.Parent = char
  66.  
  67. local lleg = Instance.new("CharacterMesh", game.Workspace)
  68. lleg.BodyPart = "LeftLeg"
  69. lleg.MeshId = "319336109"
  70. lleg.Parent = char
  71.  
  72. local rleg = Instance.new("CharacterMesh", game.Workspace)
  73. rleg.BodyPart = "RightLeg"
  74. rleg.MeshId = "319336155"
  75. rleg.Parent = char
  76.  
  77. local larm = Instance.new("CharacterMesh", game.Workspace)
  78. larm.BodyPart = "LeftArm"
  79. larm.MeshId = "279174949"
  80. larm.Parent = char
  81.  
  82. local rarm = Instance.new("CharacterMesh", game.Workspace)
  83. rarm.BodyPart = "RightArm"
  84. rarm.MeshId = "279174886"
  85. rarm.Parent = char
  86.  
  87.  
  88. local neck = Instance.new("Motor6D")
  89. neck.Name = "Neck"
  90. neck.Part0 = t
  91. neck.Part1 = h
  92. neck.Parent = t
  93. neck.C0 = CFrame.new(0, 1, 0, -1, 0, 0, 0, 0, 1, 0, 1, -0)
  94. neck.C1 = CFrame.new(0, -0.5, 0, -1, 0, 0, 0, 0, 1, 0, 1, -0)
  95.  
  96. local rs = Instance.new("Motor6D")
  97. rs.Name = "Right Shoulder"
  98. rs.Part0 = t
  99. rs.Part1 = ra
  100. rs.Parent = t
  101. rs.C0 = CFrame.new(1, 0.5, 0, 0, 0, 1, 0, 1, -0, -1, 0, 0)
  102. rs.C1 = CFrame.new(-0.5, 0.5, 0, 0, 0, 1, 0, 1, -0, -1, 0, 0)
  103.  
  104. local ls = Instance.new("Motor6D")
  105. ls.Name = "Left Shoulder"
  106. ls.Part0 = t
  107. ls.Part1 = la
  108. ls.Parent = t
  109. ls.C0 = CFrame.new(-1, 0.5, 0, 0, 0, -1, 0, 1, 0, 1, 0, 0)
  110. ls.C1 = CFrame.new(0.5, 0.5, 0, 0, 0, -1, 0, 1, 0, 1, 0, 0)
  111.  
  112. local lh = Instance.new("Motor6D")
  113. lh.Name = "Left Hip"
  114. lh.Part0 = t
  115. lh.Part1 = ll
  116. lh.Parent = t
  117. lh.C0 = CFrame.new(-1, -1, 0, 0, 0, -1, 0, 1, 0, 1, 0, 0)
  118. lh.C1 = CFrame.new(-0.5, 1, 0, 0, 0, -1, 0, 1, 0, 1, 0, 0)
  119.  
  120. local rh = Instance.new("Motor6D")
  121. rh.Name = "Right Hip"
  122. rh.Part0 = t
  123. rh.Part1 = rl
  124. rh.Parent = t
  125. rh.C0 = CFrame.new(1, -1, 0, 0, 0, 1, 0, 1, -0, -1, 0, 0)
  126. rh.C1 = CFrame.new(0.5, 1, 0, 0, 0, 1, 0, 1, -0, -1, 0, 0)
  127.  
  128. local hair = Instance.new("Accessory")
  129. hair.AttachmentPos = Vector3.new(0, 0.8, 0)
  130. local ha = Instance.new("Part",hair)
  131. ha.Name = "Handle"
  132. ha.Size = Vector3.new(1, 1, 1)
  133. local me = Instance.new("SpecialMesh", ha)
  134. me.MeshId = "http://www.roblox.com/asset/?id=20637493"
  135. me.TextureId = "http://www.roblox.com/asset/?id=20637003"
  136. me.Scale = Vector3.new(1, 0.9, 1)
  137. me.VertexColor = Vector3.new(1, 1, 1)
  138.  
  139. local hair1 = Instance.new("Accessory")
  140. hair1.AttachmentPos = Vector3.new(0, -0.03, 0.05)
  141. local ha1 = Instance.new("Part",hair1)
  142. ha1.Name = "Handle"
  143. ha1.Size = Vector3.new(2.6, 2.2, 1.8)
  144. local me1 = Instance.new("SpecialMesh", ha1)
  145. me1.MeshId = "rbxassetid://135446047"
  146. me1.TextureId = "http://www.roblox.com/asset/?id=273374941"
  147. me1.Scale = Vector3.new(1, 1.1, 1)
  148. me1.VertexColor = Vector3.new(1, 1, 1)
  149.  
  150. wait(0.000000000000001)
  151.  
  152. local hu = Instance.new("Humanoid", m)
  153. hu.MaxHealth = 100
  154. hu.Health = 100
  155. hu.WalkSpeed = 13
  156.  
  157. local killing = false
  158.  
  159. hair.Parent = m
  160. hair1.Parent = m
  161.  
  162. local sh = Instance.new("Shirt",m)
  163. sh.ShirtTemplate = "http://www.roblox.com/asset/?id=815836969"
  164. sh.Name = "Shirt"
  165.  
  166. local sh2 = Instance.new("Pants",m)
  167. sh2.PantsTemplate = "http://www.roblox.com/asset/?id=1035324237"
  168. sh2.Name = "Pants"
  169.  
  170. h.BrickColor = BrickColor.new("Light orange")
  171. ra.BrickColor = BrickColor.new("Light orange")
  172. la.BrickColor = BrickColor.new("Light orange")
  173. t.BrickColor = BrickColor.new("Light orange")
  174. rl.BrickColor = BrickColor.new("Light orange")
  175. ll.BrickColor = BrickColor.new("Light orange")
  176.  
  177. local animation = Instance.new("Animation", script)
  178. animation.Name = "Animation"
  179. animation.AnimationId = "http://www.roblox.com/asset/?id=180426354"
  180.  
  181. local hum = m:WaitForChild("Humanoid")
  182. local anim = hum:LoadAnimation(script:FindFirstChild("Animation"))
  183. anim.Looped = true
  184. anim:Play()
  185.  
  186. while true do
  187. wait()
  188. for i,v in pairs(workspace:GetChildren()) do
  189. if v.Name == "Killer Subaru112" then
  190. if not(v:FindFirstChildOfClass("Humanoid") == nil) then
  191. local h = v:FindFirstChildOfClass("Humanoid")
  192. h.PlatformStand = false
  193. if not(v:FindFirstChild("Torso") == nil) then
  194. function onTouched(fire)
  195. local humn = fire.Parent:FindFirstChildOfClass("Humanoid")
  196. if humn then
  197. for i,n in pairs (humn.Parent:GetChildren()) do
  198. if n.ClassName == "Part" then
  199. if n.Name == "Head" and killing == false then
  200. killing = true
  201. local bdpos = Instance.new("BodyPosition",n)
  202. bdpos.Position = v.Torso.CFrame.LookVector * 300
  203. humn.Jump = true
  204. wait(0.7)
  205. humn.Sit = true
  206. bdpos:Destroy()
  207. wait(0.5)
  208. killing = false
  209. end
  210. end
  211. end
  212. end
  213. end
  214. end
  215. t.Touched:connect(onTouched)
  216.  
  217. s = v
  218. local larm = s:FindFirstChild("Left Arm")
  219. local rarm = s:FindFirstChild("Right Arm")
  220.  
  221. function findNearestTorso(pos)
  222. local list = game.Workspace:children()
  223. local torso = nil
  224. local dist = 100000000000000000000000000000000000000000
  225. local temp = nil
  226. local human = nil
  227. local temp2 = nil
  228. for x = 1, #list do
  229. temp2 = list[x]
  230. if (temp2.className == "Model") and (temp2 ~= s) then
  231. temp = temp2:FindFirstChild("Head")
  232. h = temp2:FindFirstChildOfClass("Humanoid")
  233. if (temp ~= nil) and (h ~= nil) and (h.Health > 0) then
  234. s.Humanoid.WalkSpeed = 15
  235. if (temp.Position - pos).magnitude < dist then
  236. torso = temp
  237. dist = (temp.Position - pos).magnitude
  238. end
  239. end
  240. end
  241. end
  242. return torso
  243. end
  244.  
  245. local antibug = s:FindFirstChild("Torso")
  246. if antibug ~= nil then
  247. local target = findNearestTorso(antibug.Position)
  248. if target ~= nil then
  249. s.Humanoid:MoveTo(target.Position, target)
  250. s.Humanoid.WalkSpeed = 17
  251. end
  252. end
  253. end
  254. end
  255. end
  256. end
Add Comment
Please, Sign In to add comment