|
| 21 Dec 2012 02:29 PM |
what im trying to do is regen the tycoon but it doesn't work and u can't select another tycoon HELP!
model = script.Parent.Factory
function onClick(Player) if Player.Name == model.OwnerValue.Value then model.OwnerName.Value = "" end end
script.Parent.ClickDetector.MouseClick:connect(onClick) |
|
|
| Report Abuse |
|
|
|
| 21 Dec 2012 02:32 PM |
| #1: You are only deownering the tycoon. allowing it to be claimed again, but with most tycoon scripts there's another value in the player which is used to keep the player from taking another tycoon |
|
|
| Report Abuse |
|
|
|
| 21 Dec 2012 02:34 PM |
| How would i regen the tycoon tho? |
|
|
| Report Abuse |
|
|
|
| 21 Dec 2012 02:36 PM |
| There's no simple answer to this, plus you didn't provide enough information, this is simply a piece of the tycoon, you need the tycoon starter script aswell so I know what the name of the value is, where it is, that sort of thing... |
|
|
| Report Abuse |
|
|
|
| 22 Dec 2012 07:04 AM |
This is how it is: Tycoon >Regener script(A Script) >Factory(A Model) >Click to delete tycoon(A Model) >>Humanoid >>Head >>>Script |
|
|
| Report Abuse |
|
|
| |
|
| |
|
|
| 26 Dec 2012 12:40 PM |
| Do i put regen script in too? |
|
|
| Report Abuse |
|
|