Scripting HelpersARCHIVE
A little piece of Roblox history. Preserved for everyone, one question at a time.Read about the archive →
COMMUNITY QUESTION

how can i make a destroyed block save between play sessions?

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

1 answer

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.

This discussion is preserved as it was. New answers, comments, and votes are closed.