So someone helped me with this door but It does not save on rejoin and it does not take away the Cash or (Sips) Can you help me make it save and MOSTLY Take away cash?
local _M = require(script.Parent.Settings) script.Parent.Touched:Connect(function(hit) local plr = game.Players:GetPlayerFromCharacter(hit.Parent) if plr then local rebirths = plr.leaderstats.Sips if rebirths.Value >= _M.RequiredSips then script.Parent.CanCollide = false wait(.5) script.Parent.CanCollide = true end end end)
2nd script if you need it
local module = { areaName = "Lava", RequiredSips = 20000 } return module