Scripting Helpers is winding down operations and is now read-only. More info→
Ad
Log in to vote
0

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

Asked by 3 years ago

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

Log in to vote
0
Answered by 3 years ago

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.

0
Didnt work add me on roblox please XxSilencedHeroexX -2 — 3y
0
Enable your dm xXLegendGamerz16Xx 231 — 3y
Ad

Answer this question