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

how do i make a home ownership and a lock button??

ive designed this really cool home and i want owner ship on so players can lock and unlock there houses

1 comment

0

Learn to script first. If you don't want to take the time to learn, find the original free uncopy-locked Town of Robloxia.

1 answer

For something such as this, you would want to save a StringValue inside of the house model, and whenever someone purchases the house, you would want to update that value. Next, you could add a button outside the house, using a ClickDetector, that checks the player and sees if their name is equal to the StringValue, if so it'll allow that player to lock and unlock the house. If you understand what I'm saying. Please comment below if you have a problem understanding what I mean.

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