| |
|
TimeTicks
|
  |
| Joined: 27 Apr 2011 |
| Total Posts: 27115 |
|
|
| 28 May 2016 08:17 AM |
remote events..but i dont think you understand. local part of directly made from the client with local scripts and with FE on but in your case...
--server script
local re = game.ReplicatedStorage:WaitForChild("RemoteEvent")
re:FireAllClients()
--local script
local re = game.ReplicatedStorage:WaitForChild("RemoteEvent")
re.OnClientEvent:connect(function() local part = Instance.new("Part",workspace) end)
|
|
|
| Report Abuse |
|
|
|
| 28 May 2016 08:23 AM |
There isn't really such a thing as a local part for a server. If you mean creating a local part on a client through a server script, you'll have to use remote events as time suggested
If you mean a part which only exists on the server, I guess you could create a part on the server and then have every client remove it locally? |
|
|
| Report Abuse |
|
|
|
| 28 May 2016 09:07 AM |
Okay, thanks. But how would I put the part into someone's camera with remote functions?
|
|
|
| Report Abuse |
|
|
|
| 28 May 2016 09:14 AM |
Highly suggest you don't make local parts using the camera - have a look at filtering enabled if you're not familiar with it
http://wiki.roblox.com/index.php?title=API:Class/Workspace/FilteringEnabled |
|
|
| Report Abuse |
|
|
|
| 28 May 2016 09:24 AM |
Okay. Is there any other way to make local parts? Cause I know they are used in games like The Conquerors to show where one will be making a building...
|
|
|
| Report Abuse |
|
|
|
| 28 May 2016 09:25 AM |
| That will likely use filtering. After you enable it, any changes made locally will not appear on other clients (e.g. if you create a part though a localscript, only that client will see it) |
|
|
| Report Abuse |
|
|
| |
|