Hello, I’m trying access the PlayerRemovedEvent from the playspace but I can’t seem to await it or subscribe to it like other events. Do I need sleep or is this not working?
GetPlayspace().PlayerRemovedEvent().Subscribe(OnPlayerLeftServer)
this is what i use, i don’t think you need the “Player” variable assignation
the player gets passed into the function/method when it is invoked, this is my “OnPlayerLeftServer” method definition
OnPlayerLeftServer(myPlayerLeaving : player):void=
1 Like
Hmm very interesting, thanks for the reply!! I’ll try to figure out what I’m doing wrong. Yeah the Playspace := is error code, was starting off with something different.
Will update with what I find, thanks again
oof thanks so much… bad syntax -.- i guess I do need sleep. I needed the () after the event…
1 Like
This topic was automatically closed 30 days after the last reply. New replies are no longer allowed.