My scripts
Three scripts in total and 1 remote event. 1 local(in starter player scripts), 1 module(in replicated storage) , 1 remote event(in replicated storage) and one default script(in server script service)
(explanation: local script → remote event → server script service → module script → server script service)
What want to achieve
To instance.new(“Part”) with position = character.RightUpperLeg.Position and it will be not for local player(I mean all players will see this part)
The Problem
The problem is if i require module in local script all working but others players cant see this part(Instance.new) because its local script, but if i fire event and go into server script service and connect module script there it has an error(ReplicatedStorage attempt to index nil with ‘Character’)
Ending
Will be thankful if someone can give me explanation how to or another method how can i do this. If it needed can send scripts in answers