Hello scripters! I have a question for my tcoon game i am currently working on. In there i have an elevator.
..
I have a elevator group generally, in there i have some more things.
One group in the general group is called Floors.
this group contains Floor1;Floor2 [...] which are groups aswell.
I unchecked archiveable on Floor 2, so if i test the game It doesnt appear, thats good.
Now i want that, if i click on a part (contains clickdetector) ,
code:
function Star() script.Parent.Parent.Parent.lift.Floors.Floor3.Archivable = true end script.Parent.ClickDetector.MouseClick:connect(Star)
-- Now, i want if i click the Part, that thee Floor3 group becomes Visible and useable. But if i click it this error msg appears in the output:
Floor3 is not a valid Member of Model and nothing happens.So i want to Activate it with the clickdetector.
Joe

2 comments
Archivable*
Looks good, but i as i tried, the floor3 appeared Instantly as i buyed the lift ingame.