local rc = 50000
local debounce = true script.Parent.Touched:Connect(function(hit) if hit.Parent:FindFirstChild("Humanoid")then local player = game.Players:GetPlayerFromCharacter(hit.Parent) if player.leaderstats.Money.Value >= rc then if debounce then debounce = false if plr.leaderstats.Money.Value < 20 then return end script.Parent.Transparency = 0.5 script.Parent.CanCollide = false if rc.Value <=rc then script.Parent.Transparency= 0.15 script.Parent.CanCollide = true end end end end end)
that is my script for making players be able to go threw but i need help making it take away money.

1 comment
Explain, you are being too vague and unconstructive.