Scripting HelpersARCHIVE
A little piece of Roblox history. Preserved for everyone, one question at a time.Read about the archive →
COMMUNITY QUESTION

How can i script guns to give cash after killing someone?

I have The guns that roblox made and i want them to give me cash after killing another player how do i do this?

1 answer

Below the line where you damage the player, you put this under it:

-- damage line

if humanoid.Health <= 0 then
	-- award points
end

Let me know if this helps.

2 comments

0

Didnt work add me on roblox please

0

Enable your dm

This discussion is preserved as it was. New answers, comments, and votes are closed.