First of all sorry if my english bad..btw i'm here not to requesting script but i just want to ask pro some tips.
My question is how do i make a model appear for 1 client only?. So if client 1 change something inside the model for example brickcolor,it wont replicate to another client or server stay as original. Do i need to parent the model inside camera or something else?
Help me please
has come with some exciting features. One of which is the ability to make LocalParts
much easier than with the old method. Here's are examples of how to make a local parts/models:
This is inside of a Local Script
local part = Instance.new("Part", workspace) part.CFrame = CFrame.new() --Teleport to position 0, 0, 0
local part = workspace.Part part.BrickColor = BrickColor.Random() --Random color
local model = game:GetService("ReplicatedStorage").Model model.Parent = workspace
You mentioned the old method of making LocalParts
, where you put the part into the camera because only the client can see the camera.
--Local Script local part = Instance.new("Part", workspace.Camera) part.CFrame = CFrame.new() --Teleport to position 0, 0, 0
This is the old way to do it. You don't have to do this anymore.
Any changes that a LocalScript
does will only be visible to the client. Everything else will be invisible to the server and other clients. If you change a part color, only the client sees the new color. If you change the position, only the client sees the new position. Etc.
Hope it helps!