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

How to make a coin only collectable once?

1 answer

You could destroy the coin on the client or the server. Example:



if coin.Touched then
coin:Destroy()
--add money for the player who touched the coin
end

4 comments

0

@iNot_here But will it be destroyed for the other people

0

@JLKMaster As long as the code that is destroying the part is in a localscript, it will only run on the client. In turn, not destroying the coin for others.

0

@OxSRK6 Where would I put it in? Workspace? Here's what I've got

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