|
| 21 Mar 2017 06:12 PM |
I'm having trouble and I can't troubleshoot a script.
if game.Workspace.Map.Rotate.Type == "RotatingBrick" then -- code end
The response is:
Map is not part of workspace. |
|
|
| Report Abuse |
|
|
igunaa
|
  |
| Joined: 15 Sep 2010 |
| Total Posts: 2588 |
|
|
| 21 Mar 2017 06:16 PM |
if game.Workspace:WaitForChild("Map").Rotate.Type == "RotatingBrick" then
Should do the trick, else reassure that the "Map" is really inside the Workspace.
Said the wise. |
|
|
| Report Abuse |
|
|
|
| 21 Mar 2017 06:20 PM |
| I changed it, nothing still happened, what do I do? |
|
|
| Report Abuse |
|
|
Quebankus
|
  |
| Joined: 25 Aug 2011 |
| Total Posts: 846 |
|
|
| 21 Mar 2017 06:26 PM |
if game.Workspace:WaitForChild("Map").Rotate.Type.Value == "RotatingBrick" then
do that instead, the old code was invalid anyway |
|
|
| Report Abuse |
|
|
|
| 21 Mar 2017 06:28 PM |
| I got it now, thank you guys, I put the local selectedmap outside of the block of code to use it again. Ty. |
|
|
| Report Abuse |
|
|