Advertisement
Not a member of Pastebin yet?
Sign Up,
it unlocks many cool features!
- wait()
- player = game:GetService("Players").LocalPlayer
- name = player.Name
- keyboard = game:GetService("UserInputService")
- mouse = player:GetMouse()
- character = player.Character
- humanoid = character.Humanoid
- head = character.Head
- torso = character.Torso
- leftarm = character["Left Arm"]
- rightarm = character["Right Arm"]
- leftleg = character["Left Leg"]
- rightleg = character["Right Leg"]
- highnoon1 = true
- highnoon2 = false
- runservice = game:GetService("RunService")
- bullets = 6
- for i,v in pairs(game.Workspace:GetChildren()) do
- if v.ClassName == "Sound" then
- v:Destroy()
- end
- end
- for i,v in pairs(game.Workspace.DragonBxllinGamver:GetChildren()) do
- if v.ClassName == "Hat" then
- v:Destroy()
- end
- end
- for i,v in pairs(game.Workspace.DragonBxllinGamver:GetChildren()) do
- if v.ClassName == "Part" then
- v.BrickColor = BrickColor.new("Light orange")
- end
- end
- humanoid.MaxHealth = math.huge
- wait(0.1)
- humanoid.Health = math.huge
- itshighnoon = Instance.new("Sound",character)
- itshighnoon.SoundId = "http://www.roblox.com/asset?id=420649518"
- itshighnoon.Volume = 1
- draw = Instance.new("Sound",character)
- draw.SoundId = "http://www.roblox.com/asset?id=423993839"
- draw.Volume = 1
- highnoonwind = Instance.new("Sound",character)
- highnoonwind.SoundId = "http://www.roblox.com/asset?id=200253660"
- highnoonwind.Volume = 0.3
- highnoonwind.Looped = true
- highnoonwind:Play()
- revolvershot = Instance.new("Sound",character)
- revolvershot.SoundId = "https://www.roblox.com/asset/?id=203691837"
- revolvershot.Volume = 0.1
- revolverspin = Instance.new("Sound",character)
- revolverspin.SoundId = "https://www.roblox.com/asset/?id=291203268"
- revolverspin.Volume = 1
- revolverbi = Instance.new("Sound",character)
- revolverbi.SoundId = "https://www.roblox.com/asset/?id=291203429"
- revolverbi.Volume = 1
- function deadeye()
- for i,v in pairs(game.Workspace:GetChildren()) do
- if v.ClassName == "Model" then
- if v:findFirstChild("Torso") ~= nil and v:findFirstChild("Humanoid") ~= nil and v.Name ~= "Bloxplosions" then
- local head = v:findFirstChild("Humanoid")
- revolvershot:Play()
- wait(0.21)
- bullets = bullets - 1
- head.Health = 0
- if bullets == 0 then
- revolverspin:Play()
- wait(0.7)
- revolverbi:Play()
- wait(0.3)
- revolverbi:Play()
- wait(0.3)
- revolverbi:Play()
- wait(0.3)
- revolverbi:Play()
- wait(0.3)
- revolverbi:Play()
- wait(0.3)
- revolverbi:Play()
- bullets = 6
- wait(1)
- end
- end
- end
- end
- end
- function reload()
- if bullets == 0 then
- revolverspin:Play()
- wait(0.7)
- revolverbi:Play()
- wait(0.3)
- revolverbi:Play()
- wait(0.3)
- revolverbi:Play()
- wait(0.3)
- revolverbi:Play()
- wait(0.3)
- revolverbi:Play()
- wait(0.3)
- revolverbi:Play()
- bullets = 6
- wait(1)
- end
- end
- function shoot()
- if bullets > 0 then
- local bullet = Instance.new("Part",game.Workspace)
- bullet.Shape = "Ball"
- bullet.Size = Vector3.new(0.2,0.2,0.2)
- bullet.BrickColor = BrickColor.new("Black")
- bullet.Material = "SmoothPlastic"
- bullet.CFrame = revolver.Handle.CFrame * CFrame.new(0,0.6,2.2)
- bullet.CFrame = CFrame.new(bullet.Position, mouse.Hit.p)
- local bulletbv = Instance.new("BodyVelocity",bullet)
- bulletbv.MaxForce = Vector3.new(math.huge,math.huge,math.huge)
- bulletbv.Velocity = bullet.CFrame.lookVector * 400
- bullet.Touched:connect(function(dmg)
- local person = dmg.Parent:findFirstChild("Humanoid")
- if person ~= nil then
- person:TakeDamage(25)
- bullet:Destroy()
- end
- end)
- end
- end
- cowboyhat = Instance.new("Hat",game.Workspace)
- cowboyhat.Name = "McCree's Hat"
- cowboyhat.AttachmentForward = Vector3.new(0,0,-1)
- cowboyhat.AttachmentPos = Vector3.new(0,0.1,-0.3)
- cowboyhat.AttachmentRight = Vector3.new(1, 0, 0)
- cowboyhat.AttachmentUp = Vector3.new(0, 1, 0)
- handle1 = Instance.new("Part",cowboyhat)
- handle1.Name = "Handle"
- handle1.Size = Vector3.new(1,1,1)
- handle1.Position = head.Position
- handle1.Touched:connect(function()
- cowboyhat.Parent = character
- end)
- mesh1 = Instance.new("SpecialMesh",handle1)
- mesh1.MeshType = "FileMesh"
- mesh1.MeshId = "http://www.roblox.com/asset/?id=227395575"
- mesh1.TextureId = "http://www.roblox.com/asset/?id=227395185"
- mesh1.Scale = Vector3.new(0.6,0.6,0.6)
- cowboybeard = Instance.new("Hat",game.Workspace)
- cowboybeard.Name = "McCree's Beard"
- cowboybeard.AttachmentForward = Vector3.new(0,0,-1)
- cowboybeard.AttachmentPos = Vector3.new(0,0.7,0.3)
- cowboybeard.AttachmentRight = Vector3.new(1, 0, 0)
- cowboybeard.AttachmentUp = Vector3.new(0, 1, 0)
- handle2 = Instance.new("Part",cowboybeard)
- handle2.Name = "Handle"
- handle2.Size = Vector3.new(1,1,1)
- handle2.Position = head.Position
- handle2.Touched:connect(function()
- cowboybeard.Parent = character
- end)
- mesh2 = Instance.new("SpecialMesh",handle2)
- mesh2.MeshType = "FileMesh"
- mesh2.MeshId = "http://www.roblox.com/asset/?id=157959108"
- mesh2.TextureId = "http://www.roblox.com/asset/?id=157924575"
- mesh2.Scale = Vector3.new(0.6,0.6,0.6)
- shirt = Instance.new("Shirt",character)
- shirt.ShirtTemplate = "http://www.roblox.com/asset?id=453543655"
- shirt.Name = "McCree's Shirt"
- pants = Instance.new("Pants",character)
- pants.PantsTemplate = "http://www.roblox.com/asset?id=453544953"
- pants.Name = "McCree's Pants"
- head.face.Texture = "http://www.roblox.com/asset?id=209714802"
- revolver = Instance.new("Tool",player.Backpack)
- revolver.Name = "McCree's Peacekeeper"
- revolver.GripForward = Vector3.new(0,0,1)
- revolver.GripPos = Vector3.new(0,0,0)
- revolver.GripRight = Vector3.new(-1,0,0)
- revolver.GripUp = Vector3.new(0,1,0)
- handle3 = Instance.new("Part",revolver)
- handle3.Size = Vector3.new(1,1,1)
- handle3.Name = "Handle"
- mesh3 = Instance.new("SpecialMesh",handle3)
- mesh3.MeshType = "FileMesh"
- mesh3.MeshId = "http://www.roblox.com/asset?id=470534872"
- mesh3.TextureId = "http://www.roblox.com/asset?id=470534875"
- mesh3.Scale = Vector3.new(0.05,0.05,0.05)
- mesh3.Offset = Vector3.new(0,0.2,0.8)
- revolver.Equipped:connect(function()
- highnoon1 = true
- if highnoon1 == true then
- keyboard.InputBegan:connect(function(KeyE)
- if KeyE.KeyCode == Enum.KeyCode.E then
- if highnoon2 == false and highnoon1 == true then
- highnoon2 = true
- itshighnoon:Play()
- print("It's high noon...")
- game:GetService("Chat"):Chat(head, "It's high noon...")
- wait(5)
- draw:Play()
- game:GetService("Chat"):Chat(head, "Draw!")
- wait(1.3)
- deadeye()
- wait(3)
- highnoon2 = false
- end
- end
- end)
- end
- end)
- revolver.Equipped:connect(function()
- highnoon1 = true
- if highnoon1 == true then
- mouse.Button1Down:connect(function()
- if highnoon1 == true then
- if highnoon2 == false then
- if bullets > 0 then
- highnoon2 = true
- shoot()
- revolvershot:Play()
- wait(0.3)
- highnoon2 = false
- bullets = bullets - 1
- reload()
- end
- end
- end
- end)
- end
- end)
- revolver.Unequipped:connect(function()
- highnoon1 = false
- end)
Advertisement
Add Comment
Please, Sign In to add comment
Advertisement