I know that when you put parts in CurrentCamera then it only shows for the player, but how do I make the Terrain shows only for one player?

This is my script:

script.Parent.MouseButton1Click:connect(function()
	script.Parent.Parent.Visible = false
	script.Parent.Parent.Parent.TextLabel.Visible = false
	local water = game.Lighting.GoodWater:Clone()
	water.Parent = game.Workspace.CurrentCamera
	for i,water in pairs(water:GetChildren()) do
		game.Workspace.Terrain:FillBlock(water.CFrame, water.Size, Enum.Material.Water)
	end
end)

But it shows for every player.

6 comments

1

Use FE

0

But I am working on a non filtering enabled game, my others scripts would break and I had to redo everything

0

Is there any other way?

0

If you are able to create terrain in a local script then, maybe you can.

1

@FiredDusk wouldn't creating anything really from the client with fe off send it to everyone else too?

0

@Bertox No there isn't any other way. Local changes are the whole point of FE.