I am trying to fire an event once the player is teleported to the game.
The localscript this code runs in is inside of replicatedfirst (i saw this in other posts so i assumed i put it here)
But for some reason when the player gets teleported to the game, “rejoined!” doesn’t print and there is no output.
Anyone have know why?
local RF = game:GetService("ReplicatedFirst")
local TeleportService = game:GetService("TeleportService")
local win = game.ReplicatedStorage:WaitForChild("Win")
TeleportService.LocalPlayerArrivedFromTeleport:Connect(function()
print"rejoined!"
win:FireServer()
end)