Hey, I have a localscript that sends info to the serverscript so the serverscript can execute code needed. I have to do this the other way around too now because the localscript now needs to execute code needed for the progression of the game. Here is what is in the wiki:
local Players = game:GetService("Players")
local ReplicatedStorage = game:GetService("ReplicatedStorage")
local createPopupRequest = Instance.new("RemoteFunction")
createPopupRequest.Name = "CreatePopupRequest"
createPopupRequest.Parent = ReplicatedStorage
Players.CharacterAutoLoads = false
local function onPlayerAdded(player)
createPopupRequest:InvokeClient(player)
player:LoadCharacter()
end
Players.PlayerAdded:Connect(onPlayerAdded)
This is the page: https://developer.roblox.com/articles/Remote-Functions-and-Events
Above is the server side and I would like to send the info needed after the serverscript is done doing what it needs to do and not after a player is added.
Any help is greatly appreciated!!

3 comments
I realize I could probably just change event listeners but I wouldn't know which one to use.
Basically what I am asking is how to use a remote function from server to client more than once
A RemoteEvent will pass a valid player parameter as long as it is fired via an event that passes a player or involves a player.