Scripting HelpersARCHIVE
A little piece of Roblox history. Preserved for everyone, one question at a time.Read about the archive →
✓ ANSWER ACCEPTED

Why are only one of these scripts not working?

So I just started using FE, and I am paranoid. I have two remote events in the replicated storage named ShowBrightnessGuiEvent and ShowWalkSpeedGuiEvent. So Far, only one of the scripts work. Am I doing something wrong?

 local ShowGuiEvent = game.ReplicatedStorage.ShowBrightnessGuiEvent

game.Players.PlayerAdded:connect(function(player)
 	ShowGuiEvent:FireClient(player) -- player should be the player you want to send the message to
end)
 local ShowGuiEvent = game.ReplicatedStorage.ShowWalkSpeedGuiEvent

game.Players.PlayerAdded:connect(function(player)
 	ShowGuiEvent:FireClient(player) -- player should be the player you want to send the message to
end)

2 comments

0

Maybe include the client-code? Maybe you have a typo in one of the listeners

0

I figured it out, thanks!

1 answer

✓ Accepted answer

If any of these scripts are in the client they must be local scripts, if they are a server script then they will not run. Just a guess, try it out and see if it works.

This discussion is preserved as it was. New answers, comments, and votes are closed.