Hi so I really want to be a scripter but I cant ngl I use FM sometimes I can't and here is a script I tried but no luck this would really help me if you looked and it. How do I fix it and how to make it take away money and SAVE on rejoin? Edit script all you need this will be helpfully stay safe wash your hands!
script.Parent.Touched:Connect(function(hit)
local human = hit.Parent:FindFirstChild("Humanoid")
if human ~= nil then
local plr = game.Players:GetPlayerFromCharacter(hit.Parent)
if plr.leaderstats.Money.Value >= 100 then
script.Parent.Transparency = .5
script.Parent.CanCollide = false
wait(.5)
script.Parent.Transparency = 0
script.Parent.CanCollide = true
end
end
end)

1 comment
Is it local script