How to fire remote events using module scripts

Im trying to learn how to use module scripts, but im stuck in a part, where Im trying to fire a remove event from a module script. Its supposed to be a remote event from server to client, but I heard a module script uses both server and client, so Im a little lost. Any help?
image
image
Local Script:


Any help would be greatly appreciated!

Make hit.Parent.Name to hit.Parent only

it kind of works now, but now it says FireClient: player argument must be a Player object - Server - ModuleScript:8

That is simple.all u have to do is just put this

Local gamrplayer =gamr.Players:GetPlayerFromCharacater(hit.Parent)

Module.GameStart(gameplayer)

it works now! Thank you so much!

This topic was automatically closed 14 days after the last reply. New replies are no longer allowed.