Advertisement
subaru112g

killer

Mar 3rd, 2019
218
0
Never
Not a member of Pastebin yet? Sign Up, it unlocks many cool features!
text 12.81 KB | None | 0 0
  1. --This script is made by Subaru112.
  2. local char = owner.Character
  3. renders = game:GetService("RunService").Heartbeat
  4. -- Intro
  5. local target = nil
  6. char.Torso.roblox.Texture = "rbxassetid://305296807"
  7. local rhandweld = Instance.new("Weld", owner.Character.Torso)
  8. rhandweld.Part0 = owner.Character.Torso
  9. rhandweld.Part1 = owner.Character["Right Arm"]
  10. rhandweld.C0 = CFrame.new(1.5, 0, 0, 1, -1.6395192e-43, 0, -1.6395192e-43, 1, 0, 0, 0, 1)
  11. local lhandweld = Instance.new("Weld", owner.Character.Torso)
  12. lhandweld.Part0 = owner.Character.Torso
  13. lhandweld.Part1 = owner.Character["Left Arm"]
  14. lhandweld.C0 = CFrame.new(-1.5, 0, 0, 1, -1.6395192e-43, 0, -1.6395192e-43, 1, 0, 0, 0, 1)
  15. local llegclone = owner.Character.Torso["Left Hip"]:Clone()
  16. owner.Character.Torso["Left Hip"]:Remove()
  17. local llegweld = Instance.new("Weld", owner.Character.Torso)
  18. llegweld.Part0 = owner.Character.Torso
  19. llegweld.Part1 = owner.Character["Left Leg"]
  20. llegweld.C0 = CFrame.new(-0.5, -1, 0, -0, -0, -1, 0, 1, 0, 1, 0, 0) * CFrame.new(0,-1,0)
  21. local rlegclone = owner.Character.Torso["Right Hip"]:Clone()
  22. owner.Character.Torso["Right Hip"]:Remove()
  23. local rlegweld = Instance.new("Weld", owner.Character.Torso)
  24. rlegweld.Part0 = owner.Character.Torso
  25. rlegweld.Part1 = owner.Character["Right Leg"]
  26. rlegweld.C0 = CFrame.new(0.5, -1, 0, 0, 0, 1, 0, 1, 0, -1, -0, -0) * CFrame.new(0,-1,0)
  27. local rootjointclone = owner.Character.HumanoidRootPart.RootJoint:Clone()
  28. owner.Character.HumanoidRootPart.RootJoint:Remove()
  29. local humanoidrootpart = Instance.new("Weld", owner.Character.Torso)
  30. humanoidrootpart.Part0 = owner.Character.HumanoidRootPart
  31. humanoidrootpart.Part1 = owner.Character.Torso
  32. local heed = owner.Character.Torso["Neck"]:Clone()
  33. local headweld = Instance.new("Weld", owner.Character.Torso)
  34. headweld.Part0 = owner.Character.Torso
  35. headweld.Part1 = owner.Character.Head
  36. headweld.C0 = headweld.C0 * CFrame.new(0,1.5,0)
  37. local gunshot = Instance.new("Sound",char.Torso)
  38. gunshot.Name = "BANG"
  39. gunshot.SoundId = "rbxassetid://213603013"
  40. gunshot.Volume = 2
  41. gunshot:Play()
  42. char.Humanoid.WalkSpeed = 0
  43. char.Humanoid.JumpPower = 0
  44. for i = 0,1 , 0.01 do
  45. renders:wait()
  46. end
  47. wait(0.1)
  48. local scream = Instance.new("Sound",char.Torso)
  49. scream.SoundId = "rbxassetid://165487479"
  50. scream.Volume = 4
  51. scream:Play()
  52. for i = 0,1 , 0.010 do
  53. rhandweld.C0 = rhandweld.C0:lerp(CFrame.new(1.52452374, 0.510128379, -0.901310444, -0.0983733907, 0.0243432298, 0.994851828, 0.995149672, 0.00240636896, 0.0983439684, 2.91038305e-08, 0.999700963, -0.0244618785),i)
  54. renders:wait()
  55. end
  56. wait(0.1)
  57. for i = 0,1 , 0.05 do
  58. rhandweld.C0 = rhandweld.C0:lerp(CFrame.new(1.98829222, 0.555973053, 0, -0.0983736441, -0.995149612, 6.86624532e-27, 0.995152056, -0.0983738229, 1.33999472e-26, -1.25618211e-26, 9.13816473e-27, 1.0000025),i)
  59. renders:wait()
  60. end
  61. wait(0)
  62. for i = 0,1 , 0.05 do
  63. lhandweld.C0 = lhandweld.C0:lerp(CFrame.new(-1.5, 0, 0, 1, -1.6395192e-43, 0, -1.6395192e-43, 1, 0, 0, 0, 1),i)
  64. llegweld.C0 = llegweld.C0:lerp(CFrame.new(-0.5, -1.9999913, 0, 1, 0, 0, 0, 0.999995589, 0, 0, 0, 1),i)
  65. rhandweld.C0 = rhandweld.C0:lerp(CFrame.new(1.5, 0, 0, 1, -1.6395192e-43, 0, -1.6395192e-43, 1, 0, 0, 0, 1),i)
  66. rlegweld.C0 = rlegweld.C0:lerp(CFrame.new(0.5, -1.9999913, 0, 1, 0, 0, 0, 0.999995589, 0, 0, 0, 1),i)
  67. headweld.C0 = headweld.C0:lerp(CFrame.new(0, 1.4999938, 0, 1, 0, 0, 0, 0.999995708, 0, 0, 0, 1),i)
  68. humanoidrootpart.C0 = humanoidrootpart.C0:lerp(CFrame.new(0, 0, 0, 1, 0, 0, 0, 0.999995708, 0, 0, 0, 1),i)
  69. renders:wait()
  70. end
  71. lhandweld:Destroy()
  72. llegweld:Destroy()
  73. rhandweld:Destroy()
  74. rlegweld:Destroy()
  75. headweld:Destroy()
  76. humanoidrootpart:Destroy()
  77. llegclone.Parent = char.Torso
  78. rlegclone.Parent = char.Torso
  79. heed.Parent = char.Torso
  80. rootjointclone.Parent = char.HumanoidRootPart
  81. char.Humanoid.WalkSpeed = 30
  82. char.Humanoid.JumpPower = 50
  83.  
  84. local plr = owner
  85. local char = plr.Character
  86. char.Head.face.Texture = "http://www.roblox.com/asset/?id=1051212050"
  87. local hum = char:FindFirstChildOfClass("Humanoid")
  88. local idleanim = Instance.new("Animation")
  89. idleanim.Name = "Roblox Idle Animation"
  90. idleanim.AnimationId = "http://www.roblox.com/asset/?id=180435571"
  91. local idleanimplay = hum:LoadAnimation(idleanim)
  92. idleanimplay:Play()
  93. wait(0.1)
  94. if char:FindFirstChild("Animate") then
  95. char.Animate:Destroy()
  96. end
  97. local remote = Instance.new("RemoteEvent", char)
  98. remote.Name = "ReplicationEvent"
  99. local client = NLS([==[
  100. local mouse = game:GetService("Players").LocalPlayer:GetMouse()
  101. local remote = game:GetService("Players").LocalPlayer.Character:WaitForChild("ReplicationEvent")
  102. spawn(function()
  103. while game:GetService("RunService").Heartbeat:Wait() do
  104. remote = game:GetService("Players").LocalPlayer.Character:WaitForChild("ReplicationEvent")
  105. end
  106. end)
  107. game:GetService("UserInputService").InputBegan:Connect(function(input, isTyping)
  108. if isTyping == false and input.UserInputType == Enum.UserInputType.Keyboard then
  109. remote:FireServer(1, input.KeyCode)
  110. end
  111. end)
  112. mouse.Button1Down:Connect(function()
  113. remote:FireServer(2)
  114. print("Finding target...")
  115. target = mouse.Target
  116. print(mouse.Target)
  117. print(target)
  118. if not(mouse.Target.Name) == "Base" then
  119. print("Target found!")
  120. end
  121. end)
  122. remote.OnClientEvent:Connect(function()
  123. game:GetService("Players").LocalPlayer.Character.HumanoidRootPart.CFrame = CFrame.new(Vector3.new(mouse.Hit.Position.X, mouse.Hit.Position.Y, mouse.Hit.Position.Z))
  124. end)
  125.  
  126. ]==], char)
  127. local RS = char.Torso["Right Shoulder"]
  128. local LS = char.Torso["Left Shoulder"]
  129. local RH = char.Torso["Right Hip"]
  130. local LH = char.Torso["Left Hip"]
  131. local rootj = char.HumanoidRootPart.RootJoint
  132. local throwbutton = false
  133. local throw = false
  134. local normalanim = true
  135. local attackd = false
  136. local animpose = "Idle"
  137. local timepos = 0
  138. local sine = 0
  139. local RSnor = RS.C0
  140. local LSnor = LS.C0
  141. local RHnor = RH.C0
  142. local LHnor = LH.C0
  143. local rootjnor = rootj.C0
  144. local a = false
  145.  
  146. local timepos = nil
  147. local mus = Instance.new("Sound",char)
  148. mus:Destroy()
  149.  
  150. ---------------------------------
  151. --------------Set up-------------
  152. ---------------------------------
  153.  
  154. local sur = Instance.new("BillboardGui", char.Head)
  155. sur.Name = "Billboard"
  156. sur.Adornee = char.Head
  157. sur.Size = UDim2.new(10, 0, 5, 0)
  158. sur.StudsOffset = Vector3.new(0, 5, 0)
  159. local text = Instance.new("TextLabel", sur)
  160. text.Text = "Murderer.exe"
  161. text.Size = UDim2.new(1, 0, 1, 0)
  162. text.TextScaled = true
  163. text.BackgroundTransparency = 1
  164. text.Font = Enum.Font.SourceSansLight
  165. text.TextColor3 = Color3.new(1, 1, 1)
  166. text.TextStrokeTransparency = 0
  167.  
  168. ---------------------------------
  169. -------------Attacks-------------
  170. ---------------------------------
  171.  
  172. char.Head.Touched:Connect(function(hit)
  173. if hit.Parent and not(hit.Parent == char) then
  174. if a == true then
  175. a = false
  176. local character = hit.Parent
  177. local k = Instance.new("Model",char)
  178. for i,hit in pairs(character:GetChildren()) do
  179. if hit.ClassName == "MeshPart" or hit.ClassName == "Part" then
  180. if hit.Name == "LowerTorso" or hit.Name == "Torso" or hit.Name == "Head" or hit.Name == "UpperTorso" or hit.Name == "Right Arm" or hit.Name == "Left Arm" or hit.Name == "Left Leg" or hit.Name == "Right Leg" or hit.Name == "LeftHand" or hit.Name == "LeftLowerArm" or hit.Name == "LeftUpperArm" or hit.Name == "RightHand" or hit.Name == "RightUpperArm" or hit.Name == "RightLowerArm" or hit.Name == "LeftUpperLeg" or hit.Name == "LeftLowerLeg" or hit.Name == "LeftFoot" or hit.Name == "RightFoot" or hit.Name == "RightUpperLeg" or hit.Name == "RightLowerLeg" then
  181. local bdpos = Instance.new("BodyPosition",hit)
  182. bdpos.Position = hit.Position + Vector3.new(math.random(-5,5),math.random(1,5),math.random(-5,5))
  183. hit.Parent = k
  184. hit.Name = "kill"
  185. hit.Material = "Neon"
  186. hit.BrickColor = BrickColor.new("White")
  187. hit.Anchored = false
  188. hit.CanCollide = true
  189. hit:BreakJoints()
  190. end
  191. end
  192. end
  193. wait(5)
  194. k:Destroy()
  195. end
  196. end
  197. end)
  198.  
  199. remote.OnServerEvent:Connect(function(Player, number, key)
  200. if number == 1 and plr.Name == Player.Name and attackd == false then
  201. if key == Enum.KeyCode.V then
  202. if target then
  203. target:Destroy()
  204. end
  205. end
  206.  
  207. if key == Enum.KeyCode.Z then
  208. hum.WalkSpeed = 0
  209. wait(0.1)
  210. remote:FireClient(plr)
  211. hum.WalkSpeed = 30
  212. end
  213. if key == Enum.KeyCode.X then
  214. a = true
  215. wait(0.5)
  216. a = false
  217. end
  218. if key == Enum.KeyCode.C then
  219. game:GetService("Chat"):Chat(char.Head, "Laser!", Enum.ChatColor.White)
  220. wait(1)
  221. local la = Instance.new("Part",char)
  222. la.BrickColor = BrickColor.new("White")
  223. la.Material = "Neon"
  224. la.Transparency = 0.5
  225. la.Size = Vector3.new(10, 1, 1)
  226. la.CanCollide = false
  227.  
  228. local w = Instance.new("Weld",la)
  229. w.Part0 = char.Torso
  230. w.Part1 = la
  231. w.C0 = CFrame.new(0, 0, -5.60000038, -4.37113883e-08, 0, -1, 0, 0.99999994, 0, 1, 0, -4.37113883e-08)
  232. hum.WalkSpeed = 1
  233. la.Touched:Connect(function(hit)
  234. if hit.Parent and not(hit.Parent == char) then
  235. local character = hit.Parent
  236. local k = Instance.new("Model",char)
  237. for i,hit in pairs(character:GetChildren()) do
  238. if hit.ClassName == "MeshPart" or hit.ClassName == "Part" then
  239. if hit.Name == "LowerTorso" or hit.Name == "Torso" or hit.Name == "Head" or hit.Name == "UpperTorso" or hit.Name == "Right Arm" or hit.Name == "Left Arm" or hit.Name == "Left Leg" or hit.Name == "Right Leg" or hit.Name == "LeftHand" or hit.Name == "LeftLowerArm" or hit.Name == "LeftUpperArm" or hit.Name == "RightHand" or hit.Name == "RightUpperArm" or hit.Name == "RightLowerArm" or hit.Name == "LeftUpperLeg" or hit.Name == "LeftLowerLeg" or hit.Name == "LeftFoot" or hit.Name == "RightFoot" or hit.Name == "RightUpperLeg" or hit.Name == "RightLowerLeg" then
  240. local bdpos = Instance.new("BodyPosition",hit)
  241. bdpos.Position = hit.Position + Vector3.new(math.random(-5,5),math.random(1,5),math.random(-5,5))
  242. hit.Parent = k
  243. hit.Name = "kill"
  244. hit.Material = "Neon"
  245. hit.BrickColor = BrickColor.new("White")
  246. hit.Anchored = false
  247. hit.CanCollide = true
  248. hit:BreakJoints()
  249. end
  250. end
  251. end
  252. wait(5)
  253. k:Destroy()
  254. end
  255. end)
  256. wait(3)
  257. la:Destroy()
  258. hum.WalkSpeed = 30
  259. end
  260.  
  261. end
  262. end)
  263.  
  264. ---------------------------------
  265. -----------Wrapping up-----------
  266. ---------------------------------
  267.  
  268. while game:GetService("RunService").Heartbeat:Wait() do
  269. hum.Health = 999999999
  270. hum.MaxHealth = 999999999
  271. if mus.Parent == char then
  272. mus.SoundId = "rbxassetid://142720946"
  273. timepos = mus.TimePosition
  274. mus.Pitch = 0.6
  275. mus.Volume = 2.5
  276. else
  277. mus = Instance.new("Sound", char)
  278. mus.Playing = true
  279. mus.Looped = true
  280. mus.TimePosition = timepos
  281. end
  282. if remote.Parent == char then
  283. remote.Name = "ReplicationEvent"
  284. else
  285. remote = Instance.new("RemoteEvent", char)
  286. end
  287. local touchfloor = workspace:FindPartOnRay(Ray.new(char.HumanoidRootPart.CFrame.Position, ((CFrame.new(char.HumanoidRootPart.Position, char.HumanoidRootPart.Position - Vector3.new(0, 1, 0))).LookVector).Unit * 4), char)
  288. if char.HumanoidRootPart.Velocity.Magnitude > 1 and touchfloor then
  289. animpose = "Walking"
  290. elseif char.HumanoidRootPart.Velocity.Y > 0.5 and touchfloor == nil then
  291. animpose = "Jumping"
  292. elseif char.HumanoidRootPart.Velocity.Y < 0.5 and touchfloor == nil then
  293. animpose = "Falling"
  294. else
  295. animpose = "Idle"
  296. end
  297. if animpose == "Idle" and normalanim then
  298. rootj.C0 = rootj.C0:Lerp(rootjnor * CFrame.Angles(0, 0, 0), 0.15)
  299. RS.C0 = RS.C0:Lerp(RSnor * CFrame.Angles(0.3, 0, 0), 0.14)
  300. LS.C0 = LS.C0:Lerp(LSnor * CFrame.Angles(0.3, 0, 0), 0.14)
  301. RH.C0 = RH.C0:Lerp(RHnor * CFrame.Angles(-0.1, 0, 0), 0.10)
  302. LH.C0 = LH.C0:Lerp(LHnor * CFrame.Angles(-0.1, 0, 0), 0.10)
  303. elseif animpose == "Walking" and normalanim then
  304. rootj.C0 = rootj.C0:Lerp(rootjnor * CFrame.Angles(1.3, 0, 0), 0.15)
  305. RS.C0 = RS.C0:Lerp(RSnor * CFrame.Angles(-0.6, 0, 0), 0.14)
  306. LS.C0 = LS.C0:Lerp(LSnor * CFrame.Angles(-0.6, 0, 0), 0.14)
  307. RH.C0 = RH.C0:Lerp(RHnor * CFrame.Angles(-0.3, 0, 0), 0.10)
  308. LH.C0 = LH.C0:Lerp(LHnor * CFrame.Angles(-0.3, 0, 0), 0.10)
  309. elseif animpose == "Jumping" and normalanim then
  310. rootj.C0 = rootj.C0:Lerp(rootjnor * CFrame.Angles(-0.5, 0, 0), 0.15)
  311. RS.C0 = RS.C0:Lerp(RSnor * CFrame.Angles(-0.3, 0, 0), 0.14)
  312. LS.C0 = LS.C0:Lerp(LSnor * CFrame.Angles(-0.3, 0, 0), 0.14)
  313. RH.C0 = RH.C0:Lerp(RHnor, 0.15)
  314. LH.C0 = LH.C0:Lerp(LHnor, 0.15)
  315. elseif animpose == "Falling" and normalanim then
  316. rootj.C0 = rootj.C0:Lerp(rootjnor * CFrame.Angles(0.5, 0, 0), 0.15)
  317. RS.C0 = RS.C0:Lerp(RSnor * CFrame.Angles(-0.6, 0, 0), 0.14)
  318. LS.C0 = LS.C0:Lerp(LSnor * CFrame.Angles(-0.6, 0, 0), 0.14)
  319. RH.C0 = RH.C0:Lerp(RHnor * CFrame.Angles(-0.3, 0, 0), 0.10)
  320. LH.C0 = LH.C0:Lerp(LHnor * CFrame.Angles(-0.3, 0, 0), 0.10)
  321. end
  322. end
Advertisement
Add Comment
Please, Sign In to add comment
Advertisement