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

How would I retrieve data inside a player from a script inside a part?

Asked by 4 years ago

+=-/ How would I retrieve data inside a player from a script inside a part? -=+

For example, if you click a button you turn into build mode, and a value inside the player turns to true. When you click on a block, it will make a new part or whatever. I've tried many different ways to try and retrieve the true/false value from inside the player, but it never works, and it returns "false" no matter what. Could someone please suggest a way to do it? (I have tried directly writing it (player.boolvalue), using remote functions (could only be used by client?), and even moving all the player data into the workspace, but even that STILL GIVES FALSE NO MATTER WHAT!) I would greatly apprieciate help, I have asked alot of people in the past week, and i've found no answers. You can ask me for more details if neccecary. Thanks!

-cheez

Answer this question