Advertisement
Not a member of Pastebin yet?
Sign Up,
it unlocks many cool features!
- local Player = owner
- local Character = Player.Character
- local InputServ = game:GetService("UserInputService")
- local Part = Instance.new("Part")
- Part.BrickColor = BrickColor.new("Really red")
- Part.Touched:Connect(function(hit)
- if hit.Parent.Humanoid ~= nil then
- hit.Parent.Humanoid.Health = 0
- end
- end)
- InputServ.InputBegan:Connect(function(Input)
- if Input.KeyCode == Enum.KeyCode.F then
- Part.Parent = workspace
- p = Character.Head.CFrame * Vector3.new(0,5,0)
- Part.CFrame = Vector3.new(p.x,p.y,p.z)
- end
- end)
Advertisement
Add Comment
Please, Sign In to add comment
Advertisement