of     1   

AirickMcCool
#155249874Tuesday, February 03, 2015 3:03 PM GMT

I am just starting to learn how to script and do coding and I've always wondered how to make a local gui that has 3D models in it. For example, if you open up your inventory, nobody else can see it except for yourself. How can I make 3D models/animations that only individual players can see?
championbuilder
#155254865Tuesday, February 03, 2015 5:49 PM GMT

local parts
AirickMcCool
#155255383Tuesday, February 03, 2015 6:06 PM GMT

I know what you mean by making local parts, but that isn't specific enough. Do I need to use LocalScripts and insert them into the PlayerGui? I want to know more.
championbuilder
#155255525Tuesday, February 03, 2015 6:11 PM GMT

All you need to do is use a localscript and clone the parts into their Camera.
woot3
#155256466Tuesday, February 03, 2015 6:37 PM GMT

Depending on how you've set up your game there's different ways to do this. But first, let's get some fundamentals out of the way. Local parts are only shown to a specific player, however this also means that the server is not able to see them. Only local scripts will be able to access local parts. If you've made your game using FilteringEnabled then it's much easier to do. Filtering stops any change the client makes being seen by other players or the server. This means that you can add new parts from a local script and parent them anywhere without them being seen. If you're not using FilteringEnabled then you have to put all parts within the Camera object which you can retrieve (in a local script only) from the CurrentCamera property of Workspace. Please note that there have been reports of certain bugs happening with this and that local script WILL NOT run in the current camera. Best of luck!
AirickMcCool
#155264378Tuesday, February 03, 2015 9:30 PM GMT

Thanks for the help! But just one thing; where do I find this FilterEnabled thing? I don't know what it does or what it's use is, but I just want to know anything about it that will help with this local GUI thing.
woot3
#155273273Tuesday, February 03, 2015 11:37 PM GMT

FilteringEnabled is a property of Workspace. When it is set to true anything that is changed by a local script will only be visible to that player. So if you change or remove a part in workspace, it will only be removed for that player and nobody else. http://wiki.roblox.com/index.php?title=FilteringEnabled It's mainly used to prevent exploiting and it's an extremely smart idea to get into the practice of using it, and you'll also get the added bonus of things such as local parts. Also note there is a property of Parts and Decals called LocalTransparencyModifier, you can set this from a local script and doing so will change the transparency for the given client.
AirickMcCool
#155283439Wednesday, February 04, 2015 1:54 AM GMT

Alright, I think I've got everything I need. Thx for the help.

    of     1