Advertisement
Not a member of Pastebin yet?
Sign Up,
it unlocks many cool features!
- --The Hit man, By SlayKillerX66--
- wait(0.25)
- guntype = 1
- local player = game.Players.LocalPlayer
- local C = player.Character
- local humanoid = C:WaitForChild("Humanoid")
- local RS = C.Torso["Right Shoulder"]
- local LS = C.Torso["Left Shoulder"]
- local RH = C.Torso["Right Hip"]
- local LH = C.Torso["Left Hip"]
- RH.C0 = RH.C0 * CFrame.Angles(-0.05,0,0)
- LS.C0 = LS.C0 * CFrame.Angles(-0.05,0,0)
- RS.C0 = RS.C0 * CFrame.Angles(-0.05,0,0)
- LH.C0 = LH.C0 * CFrame.Angles(-0.05,0,0)
- local mouse = player:GetMouse()
- local shirtid=187964833 --Adjust to your heart's delight
- local pantsid=142080544 --Adjust to your heart's delight
- local soundss = Instance.new("Sound")
- soundss.SoundId = "http://www.roblox.com/asset/?id=364979524"
- soundss.Parent = C.Torso
- soundss.Volume = 0.5
- soundss:play()
- soundss.Looped = true
- C.Head.face:Remove()
- local face = Instance.new("Decal")
- face.Parent = C.Head
- face.Texture = "http://www.roblox.com/asset/?id=868473744"
- local billboardgui = Instance.new("BillboardGui")
- local textbox = Instance.new("TextBox")
- billboardgui.LightInfluence = 0
- billboardgui.SizeOffset = Vector2.new(0, 1.2)
- billboardgui.Size = UDim2.new(0, 200, 0, 50)
- billboardgui.Parent = C.Head
- textbox.TextWrapped = true
- textbox.BackgroundTransparency = 1
- textbox.BackgroundColor3 = Color3.new(1, 1, 1)
- textbox.BorderColor3 = Color3.new(1, 1, 1)
- textbox.TextSize = 40
- textbox.Font = Enum.Font.SourceSans
- textbox.Size = UDim2.new(0, 200, 0, 50)
- textbox.Text = "Hitman"
- textbox.TextColor3 = Color3.new(0.85098, 0.0196078, 0.0196078)
- textbox.Parent = billboardgui
- function kill(nam, parent) if parent:FindFirstChild(nam) then
- parent[nam]:Destroy()
- end end
- kill("roblox", C.Torso)
- kill("Shirt", C)
- kill("Pants", C)
- local s=Instance.new("Shirt")
- s.Parent=C
- s.ShirtTemplate="http://www.roblox.com/asset/?id="..(shirtid-1)
- local t=Instance.new("Pants")
- t.Parent=C
- t.PantsTemplate="http://www.roblox.com/asset/?id="..(pantsid-1)
- C.Animate.walk.WalkAnim.AnimationId = 'http://www.roblox.com/Asset?ID=28440069'
- mouse.KeyDown:connect(function(key)
- if key == "r" then
- C.Torso.Music:Remove()
- C.Torso.ParticleEmitter:Remove()
- local animateScript = C:WaitForChild("Animate")
- for _, animationTrack in pairs(humanoid:GetPlayingAnimationTracks()) do
- animationTrack:Stop(0)
- end
- end
- if key == "p" then
- local animation=Instance.new("Animation",C)
- animation.Name="LocalAnimation"
- animation.AnimationId = "http://www.roblox.com/Asset?ID=248263260"
- local anim=humanoid:LoadAnimation(animation)
- anim:Play()
- end
- if key == "k" then
- C.Torso.Music:Remove()
- C.Torso.ParticleEmitter:Remove()
- end
- if key == "l" then
- local particleemitter = Instance.new("ParticleEmitter")
- particleemitter.LightInfluence = 1
- particleemitter.Speed = NumberRange.new(20)
- particleemitter.Rate = 10
- particleemitter.Texture = "rbxassetid://278692547"
- particleemitter.SpreadAngle = Vector2.new(255, 255)
- particleemitter.VelocitySpread = 255
- particleemitter.Parent = C.Torso
- local sounds = Instance.new("Sound")
- sounds.SoundId = "http://www.roblox.com/asset/?id=333231366"
- sounds.Parent = C.Torso
- sounds.Name = "Music"
- sounds.Volume = 10
- sounds:play()
- sounds.Looped = true
- end
- if key == "z" then
- guntype = 0
- guntype = guntype + 1
- local mesh = Instance.new("SpecialMesh")
- mesh.MeshType = Enum.MeshType.FileMesh
- mesh.Scale = Vector3.new(0.002, 0.002, 0.002)
- mesh.MeshId = "rbxassetid://437259501"
- mesh.TextureId = "rbxassetid://437259505"
- mesh.Parent = C.Part
- C.Torso.Weld.C1 = CFrame.fromEulerAnglesXYZ(-1.5, 3.2, 0)
- C.Torso.Weld.C0 = CFrame.new(0, -0, -1.6)
- C.Part.Mesh:Remove()
- local sounds = Instance.new("Sound")
- sounds.SoundId = "http://www.roblox.com/asset/?id=292201848"
- sounds.Parent = C.Torso
- sounds.Volume = 10
- sounds:play()
- end
- if key == "x" then
- guntype = 0
- guntype = guntype + 2
- local mesh = Instance.new("SpecialMesh")
- mesh.MeshType = Enum.MeshType.FileMesh
- mesh.Scale = Vector3.new(0.0015, 0.0015, 0.0015)
- mesh.MeshId = "rbxassetid://437240816"
- mesh.TextureId = "rbxassetid://437240826"
- mesh.Parent = C.Part
- C.Torso.Weld.C1 = CFrame.fromEulerAnglesXYZ(-1.5, 3.2, 0)
- C.Torso.Weld.C0 = CFrame.new(0, -0.5, -0.5)
- C.Part.Mesh:Remove()
- local sounds = Instance.new("Sound")
- sounds.SoundId = "http://www.roblox.com/asset/?id=142491708"
- sounds.Parent = C.Torso
- sounds.Volume = 10
- sounds:play()
- end
- function onButton1Down(mouse)
- local mt = mouse.Target
- local h = mt.Parent:findFirstChild("Humanoid")
- if h == nil then return end
- for i=1,15 do
- RS.C0 = RS.C0 * CFrame.Angles(0, 0, 0.1)
- wait(0.01)
- end
- if guntype == 1 then
- local sounds = Instance.new("Sound")
- sounds.SoundId = "http://www.roblox.com/asset/?id=330704232"
- sounds.Parent = C.Torso
- sounds.Volume = 10
- sounds:play()
- h.Health = h.Health - 80
- RS.C0 = RS.C0 * CFrame.Angles(0, 0, 1)
- for i=1,40 do
- RS.C0 = RS.C0 * CFrame.Angles(0 ,0, -0.0625)
- wait(0.01)
- end
- else if guntype == 2 then
- wait(1)
- local sounds = Instance.new("Sound")
- sounds.SoundId = "http://www.roblox.com/asset/?id=1112948895"
- sounds.Parent = C.Torso
- sounds.Volume = 10
- sounds:play()
- h.Health = 0
- RS.C0 = RS.C0 * CFrame.Angles(0, 0, 1)
- for i=1,40 do
- RS.C0 = RS.C0 * CFrame.Angles(0 ,0, -0.0625)
- wait(0.01)
- end
- end
- end
- end
- if key == "q" then
- local gun = Instance.new("Part")
- local weld = Instance.new("Weld")
- local sounds = Instance.new("Sound")
- sounds.SoundId = "http://www.roblox.com/asset/?id=169310310"
- sounds.Parent = C.Torso
- sounds.Volume = 10
- sounds:play()
- C.Animate.idle.Animation2:remove()
- gun.Parent = C
- gun.Anchored = false
- gun.CanCollide = false
- weld.Parent = C.Torso
- weld.Part0 = gun
- weld.Part1 = C:FindFirstChild("Right Arm")
- weld.C1 = CFrame.fromEulerAnglesXYZ(-1.5, 3.2, 0)
- weld.C0 = CFrame.new(0, -0, -1.6)
- local mesh = Instance.new("SpecialMesh")
- mesh.MeshType = Enum.MeshType.FileMesh
- mesh.Scale = Vector3.new(0.002, 0.002, 0.002)
- mesh.MeshId = "rbxassetid://437259501"
- mesh.TextureId = "rbxassetid://437259505"
- mesh.Parent = gun
- wait(0.5)
- C:FindFirstChild("Right Arm").Part.CFrame = C.RA.RightGripAttachment.CFrame
- wait(0.5)
- weld.C0 = Vector3.FromAxis(0, 1, 0)
- end
- end
- )
- mouse.Button1Down:connect(function() onButton1Down(mouse) end)
- C.Humanoid.MaxHealth = math.huge
- C.Humanoid.Health = math.huge
- print([[
- ----------------------------------------
- The Hitman v2
- ----------------------------------------
- Script by: SlayKillerX66
- Ideas by: My brain
- ----------------------------------------
- Also, The Assasin is coming...
- ----------------------------------------
- ]])
Advertisement
Add Comment
Please, Sign In to add comment
Advertisement