Scripting Helpers is winding down operations and is now read-only. More info→
Ad
Log in to vote
0

Event fires in studio correctly, but doesn't fire correctly in game?

Asked by
yyyyyy09 246 Moderation Voter
6 years ago
Edited 6 years ago

I have a script in ServerScriptService that listens to an event in Replicated storage, that is called from ReplicatedFirst. I need this because I'm using LoadCharacter, and it can't be used in a LocalScript. (I have FilteringEnabled Enabled)


game.ReplicatedStorage.Event:Fire(game.Players.LocalPlayer)

Event being fired


game.ReplicatedStorage.Event.Event:connect(function(player) print(player) player:LoadCharacter() end)

event Listener

Answer this question