Hi, i’m trying to fire a remote event when a player dies so that it updates the 1v1 score board.
Here are my lines in the server script that fire it:
game.ReplicatedStorage.ScoreBoardEvent:FireClient(player1, player1.Name, player2.Name)
game.ReplicatedStorage.ScoreBoardEvent1:FireClient(player2, player1.Name, player2.Name)
Where did you put the script ?
If it is in the Remote Event, move it to the workspace.
If the Replicated Storage is the Ancestor of the script, the code in it won’t be able to run.
A script mustn’t be here.
I heavily recommend you to make a ServerScript if you want to access in someone else’s StarterGui. You can put the ServerScript in ServerScriptService.
Hi, thank you very much for your response, my script that fires the event is a server script and the script that runs when the event is fired is a local script inside the startergui
I am sorry, I don’t have enough experience to accomplish your goal.
I would recommend you to make a leaderboard and add values to it.
Maybe I could make a script but I really need to know if there is only 2 players maximum in your game.