I have a button in a GUI, I need to make a script so that when the button is clicked, a model is 'previewed' on the localplayers screen only. I already have a grid placement system. I just need for when the button is clicked for the model to be cloned into the workspace.
You should have FilteringEnabled
turned on, in your game. With FilteringEnabled, you can freely change, add, or remove any object in the game from a local script without changes replicating to the server (for other players to see). In other words, just clone the object and parent it to workspace in a local script with FilteringEnabled on. This is always the best solution.
If you need further assistance in how FilteringEnabled works, or getting around FilteringEnabled-related "problems", check out a video I made discussing this. If you want a more graphic presentation, check out the wiki article for it.
Well,i think i know how to do it. In a server script,clone a model and change all parts' transparency to 1
clone=model:Clone() for i=1,#clone:GetChildren() do clone:GetChildren()[i].Transparency=1 end
and then,in a local script,change the LocalTransparencyModifier property of all parts in the model (except HumanoidRootPart) to 0
clone.LocalTransparencyModifier=0
and there it is.