Here’s the script : db = false script.Parent.Touched:connect(function(hit) if hit.Parent:FindFirstChild("Humanoid") then local player = game.Players:GetPlayerFromCharacter(hit.Parent) if db == false then db = true script.Parent.Transparency = 0 script.Parent.Cancollide = true player.leaderstats.Cash.Value = player.leaderstats.Cash.Value +5 script.Parent.Transparency = 1 script.Parent.Cancollide = false wait(5) end end end)
Closed as Not Constructive by evaera
This question has been closed because it is not constructive to others or the asker. Most commonly, questions that are requests with no attempt from the asker to solve their problem will fall into this category.
Why was this question closed?