I am working on a placement system, you place a block and the whole server can see it. I have run into a issue while doing this, when I want to fire this remote event it wont fire.
It prints out the prints in the output but the print in the server script doesn’t show in output, Meaning that the remote event isn’t firing, can anyone help me with this?
Oh okay, no worries! Well here is an idea. What I often like to do is place my remote events in a folder and house them under ReplicatedStorage. Then reference the event I want to use (In your case, Structure) on both the local and server script from the new location instead of using Script.Parent.
In essence, you would do: local Structure = game:GetService("ReplicatedStorage").Folder:WaitForChild("Structure") On both client and server script.
You can name .Folder whatever you want.
Then proceed to do: Structure:FireServer(params) on the client
And: Structure.OnServerEvent:Connect(args) on the server