Scripting Helpers is winding down operations and is now read-only. More info→
Ad
Log in to vote
0

how do i make a home ownership and a lock button?? [closed]

Asked by 10 years ago

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

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. Shawnyg 4330 — 10y

Closed as Not Constructive by Sublimus and User#2

This question has been closed because it is not constructive to others or the asker. Most commonly, questions that are requests with no attempt from the asker to solve their problem will fall into this category.

Why was this question closed?

1 answer

Log in to vote
0
Answered by
war8989 35
10 years ago

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.

Ad