##Problems
It seems that you have a networking issue. You setup an OnServerEvent event to clone the models into the clients Camera.
This is a problem because you can only access the camera on the client, and OnServerEvent events are for the server. You have a backwards setup you see?
##Solution
What you can do is reverse your setup so that you have the server calling a FireClient function, and the client receiving it using the OnClientEvent event.
Your setup would look like this;
Workspace
Script --> 'FireClient' on RemoteEvent.
ReplicatedStorage
RemoteEvent
StarterPack
LocalScript --> 'OnClientEvent' on RemoteEvent.
#####Note: Remove is deprecated! Use Destroy!
If you have any further questions feel free to ask.
Happy developing!
3 comments
ServerStorage is for the server only not the client. Also local scripts do not run in the workspace.
this local script is inside ServerScriptService, and I tried running it out of Lighting, it also doesn't work
(putting the model in lighting instead of serverstorage, i mean, not the local script - for testing purposes)