hi, i made a script to destroy a block when you touch it but i need to make sure that it stays destroyed when the player leaves.
here is the destroy block script if it helps:
script.Parent.Touched:connect(function() wait(0) script.Parent:Destroy() end)
thanks in advance, from poopypigeon245
As long as it is a server script, or local script with FE disabled, then yes. It will stay destroyed. A player leaving will only make it appear if it is a local part again. If you mean destroy if if the player has allready destroyed it in another play session, then use datastore to save a boolean.