Advertisement
OofeyDoofy

The Hitman v2

Jan 31st, 2018
618
0
Never
Not a member of Pastebin yet? Sign Up, it unlocks many cool features!
Lua 6.73 KB | None | 0 0
  1. --The Hit man, By SlayKillerX66--
  2.  
  3. wait(0.25)
  4. guntype = 1
  5. local player = game.Players.LocalPlayer
  6. local C = player.Character
  7. local humanoid = C:WaitForChild("Humanoid")
  8. local RS = C.Torso["Right Shoulder"]
  9. local LS = C.Torso["Left Shoulder"]
  10. local RH = C.Torso["Right Hip"]
  11. local LH = C.Torso["Left Hip"]
  12.     RH.C0 = RH.C0 * CFrame.Angles(-0.05,0,0)
  13.     LS.C0 = LS.C0 * CFrame.Angles(-0.05,0,0)
  14.     RS.C0 = RS.C0 * CFrame.Angles(-0.05,0,0)
  15.     LH.C0 = LH.C0 * CFrame.Angles(-0.05,0,0)
  16. local mouse = player:GetMouse()
  17. local shirtid=187964833 --Adjust to your heart's delight
  18. local pantsid=142080544 --Adjust to your heart's delight
  19.     local soundss = Instance.new("Sound")
  20.     soundss.SoundId = "http://www.roblox.com/asset/?id=364979524"
  21.     soundss.Parent = C.Torso
  22.     soundss.Volume = 0.5
  23.     soundss:play()
  24.     soundss.Looped = true
  25.    
  26. C.Head.face:Remove()
  27. local face = Instance.new("Decal")
  28. face.Parent = C.Head
  29. face.Texture = "http://www.roblox.com/asset/?id=868473744"
  30.  
  31. local billboardgui = Instance.new("BillboardGui")
  32. local textbox = Instance.new("TextBox")
  33.  
  34. billboardgui.LightInfluence = 0
  35. billboardgui.SizeOffset = Vector2.new(0, 1.2)
  36. billboardgui.Size = UDim2.new(0, 200, 0, 50)
  37. billboardgui.Parent = C.Head
  38. textbox.TextWrapped = true
  39. textbox.BackgroundTransparency = 1
  40. textbox.BackgroundColor3 = Color3.new(1, 1, 1)
  41. textbox.BorderColor3 = Color3.new(1, 1, 1)
  42. textbox.TextSize = 40
  43. textbox.Font = Enum.Font.SourceSans
  44. textbox.Size = UDim2.new(0, 200, 0, 50)
  45. textbox.Text = "Hitman"
  46. textbox.TextColor3 = Color3.new(0.85098, 0.0196078, 0.0196078)
  47. textbox.Parent = billboardgui
  48.  
  49. function kill(nam, parent) if parent:FindFirstChild(nam) then
  50.     parent[nam]:Destroy()
  51. end end
  52.     kill("roblox", C.Torso)
  53.     kill("Shirt", C)
  54.     kill("Pants", C)
  55.     local s=Instance.new("Shirt")
  56.     s.Parent=C
  57.     s.ShirtTemplate="http://www.roblox.com/asset/?id="..(shirtid-1)
  58.     local t=Instance.new("Pants")
  59.     t.Parent=C
  60.     t.PantsTemplate="http://www.roblox.com/asset/?id="..(pantsid-1)
  61.    
  62. C.Animate.walk.WalkAnim.AnimationId = 'http://www.roblox.com/Asset?ID=28440069'
  63.  
  64.  
  65. mouse.KeyDown:connect(function(key)
  66.    
  67. if key == "r" then
  68.     C.Torso.Music:Remove()
  69.     C.Torso.ParticleEmitter:Remove()
  70.     local animateScript = C:WaitForChild("Animate")
  71.     for _, animationTrack in pairs(humanoid:GetPlayingAnimationTracks()) do
  72.     animationTrack:Stop(0)
  73.     end
  74. end
  75.    
  76. if key == "p" then
  77.    local animation=Instance.new("Animation",C)
  78.    animation.Name="LocalAnimation"
  79.    animation.AnimationId = "http://www.roblox.com/Asset?ID=248263260"
  80.    local anim=humanoid:LoadAnimation(animation)
  81.    anim:Play() 
  82. end
  83.    
  84. if key == "k" then
  85.    
  86.     C.Torso.Music:Remove()
  87.     C.Torso.ParticleEmitter:Remove()
  88. end
  89.    
  90. if key == "l" then
  91.    
  92. local particleemitter = Instance.new("ParticleEmitter")
  93. particleemitter.LightInfluence = 1
  94. particleemitter.Speed = NumberRange.new(20)
  95. particleemitter.Rate = 10
  96. particleemitter.Texture = "rbxassetid://278692547"
  97. particleemitter.SpreadAngle = Vector2.new(255, 255)
  98. particleemitter.VelocitySpread = 255
  99. particleemitter.Parent = C.Torso
  100.     local sounds = Instance.new("Sound")
  101.     sounds.SoundId = "http://www.roblox.com/asset/?id=333231366"
  102.     sounds.Parent = C.Torso
  103.     sounds.Name = "Music"
  104.     sounds.Volume = 10
  105.     sounds:play()
  106.     sounds.Looped = true
  107. end
  108.  
  109. if key == "z" then
  110.    
  111.     guntype = 0
  112.     guntype = guntype + 1
  113.     local mesh = Instance.new("SpecialMesh")
  114.     mesh.MeshType = Enum.MeshType.FileMesh
  115.     mesh.Scale = Vector3.new(0.002, 0.002, 0.002)
  116.     mesh.MeshId = "rbxassetid://437259501"
  117.     mesh.TextureId = "rbxassetid://437259505"
  118.     mesh.Parent = C.Part
  119.     C.Torso.Weld.C1 = CFrame.fromEulerAnglesXYZ(-1.5, 3.2, 0)
  120.     C.Torso.Weld.C0 = CFrame.new(0, -0, -1.6)
  121.     C.Part.Mesh:Remove()
  122.     local sounds = Instance.new("Sound")
  123.     sounds.SoundId = "http://www.roblox.com/asset/?id=292201848"
  124.     sounds.Parent = C.Torso
  125.     sounds.Volume = 10
  126.     sounds:play()
  127. end
  128.  
  129. if key == "x" then
  130.    
  131.     guntype = 0
  132.     guntype = guntype + 2
  133. local mesh = Instance.new("SpecialMesh")
  134. mesh.MeshType = Enum.MeshType.FileMesh
  135. mesh.Scale = Vector3.new(0.0015, 0.0015, 0.0015)
  136. mesh.MeshId = "rbxassetid://437240816"
  137. mesh.TextureId = "rbxassetid://437240826"
  138. mesh.Parent = C.Part
  139. C.Torso.Weld.C1 = CFrame.fromEulerAnglesXYZ(-1.5, 3.2, 0)
  140. C.Torso.Weld.C0 = CFrame.new(0, -0.5, -0.5)
  141. C.Part.Mesh:Remove()
  142.     local sounds = Instance.new("Sound")
  143.     sounds.SoundId = "http://www.roblox.com/asset/?id=142491708"
  144.     sounds.Parent = C.Torso
  145.     sounds.Volume = 10
  146.     sounds:play()
  147. end
  148.  
  149. function onButton1Down(mouse)
  150.     local mt = mouse.Target
  151.     local h = mt.Parent:findFirstChild("Humanoid")
  152.     if h == nil then return end
  153.     for i=1,15 do
  154.     RS.C0 = RS.C0 * CFrame.Angles(0, 0, 0.1)
  155.     wait(0.01)
  156.     end
  157.     if guntype == 1 then
  158.     local sounds = Instance.new("Sound")
  159.     sounds.SoundId = "http://www.roblox.com/asset/?id=330704232"
  160.     sounds.Parent = C.Torso
  161.     sounds.Volume = 10
  162.     sounds:play()
  163.     h.Health = h.Health - 80
  164.     RS.C0 = RS.C0 * CFrame.Angles(0, 0, 1)
  165.     for i=1,40 do
  166.     RS.C0 = RS.C0 * CFrame.Angles(0 ,0, -0.0625)
  167.     wait(0.01)
  168.     end
  169.     else if guntype == 2 then
  170.         wait(1)
  171.     local sounds = Instance.new("Sound")
  172.     sounds.SoundId = "http://www.roblox.com/asset/?id=1112948895"
  173.     sounds.Parent = C.Torso
  174.     sounds.Volume = 10
  175.     sounds:play()
  176.     h.Health = 0
  177.     RS.C0 = RS.C0 * CFrame.Angles(0, 0, 1)
  178.     for i=1,40 do
  179.     RS.C0 = RS.C0 * CFrame.Angles(0 ,0, -0.0625)
  180.     wait(0.01)
  181.     end
  182.     end
  183.     end
  184.     end
  185.  
  186.  if key == "q" then
  187.     local gun = Instance.new("Part")
  188.     local weld = Instance.new("Weld")
  189.     local sounds = Instance.new("Sound")
  190.     sounds.SoundId = "http://www.roblox.com/asset/?id=169310310"
  191.     sounds.Parent = C.Torso
  192.     sounds.Volume = 10
  193.     sounds:play()
  194.     C.Animate.idle.Animation2:remove()
  195.     gun.Parent = C
  196.     gun.Anchored = false
  197.     gun.CanCollide = false
  198.     weld.Parent = C.Torso
  199.     weld.Part0 = gun
  200.     weld.Part1 = C:FindFirstChild("Right Arm")
  201.     weld.C1 = CFrame.fromEulerAnglesXYZ(-1.5, 3.2, 0)
  202.     weld.C0 = CFrame.new(0, -0, -1.6)
  203.     local mesh = Instance.new("SpecialMesh")
  204.     mesh.MeshType = Enum.MeshType.FileMesh
  205.     mesh.Scale = Vector3.new(0.002, 0.002, 0.002)
  206.     mesh.MeshId = "rbxassetid://437259501"
  207.     mesh.TextureId = "rbxassetid://437259505"
  208.     mesh.Parent = gun
  209.     wait(0.5)
  210.     C:FindFirstChild("Right Arm").Part.CFrame = C.RA.RightGripAttachment.CFrame
  211.     wait(0.5)
  212.     weld.C0 = Vector3.FromAxis(0, 1, 0)
  213.     end
  214. end
  215. )
  216. mouse.Button1Down:connect(function() onButton1Down(mouse) end)
  217. C.Humanoid.MaxHealth = math.huge
  218. C.Humanoid.Health = math.huge
  219. print([[
  220.    
  221.    
  222. ----------------------------------------
  223. The Hitman v2
  224. ----------------------------------------
  225. Script by: SlayKillerX66
  226. Ideas by: My brain
  227. ----------------------------------------
  228. Also, The Assasin is coming...
  229. ----------------------------------------
  230. ]])
Advertisement
Add Comment
Please, Sign In to add comment
Advertisement