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 ReplicatedStorage = game:GetService("ReplicatedStorage")
local createPopupRequest = Instance.new("RemoteFunction")
Players.CharacterAutoLoads = false
local function onPlayerAdded(player)
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!!