script.Parent.Touched:Connect(function(hit)
game.Workspace.LavaLetdown.BarrierLLD.Transparency = 1
game.Workspace.LavaLetdown.BarrierLLD.CanCollide = false
end)
game.Players.PlayerAdded:connect(function(player)
local stat = Instance.new("IntValue", player) -- can just change this to whatever type of value you want
stat.Name = "variable"
stat.Value = 0
end)
I need help with combining this two or something so that: if the player joins, barrierlld becomes transparent and false cancollide

2 comments
did not work. once i rejoined, barrier lld is still cancollide=true,
Id prefer using the Top script if you haven't. I tested it before I wrote the post and it worked