Problem
After all the GUIs are displayed, the player does not get more Credit.
UPDATE: I have coded a remote event to fire instead of giving the credit. How can I find which player fired the event in my script in serverscriptservice? The GUI is in the players player GUI.
I didn’t understand what you said, but I do now. I have another question now. I have coded a remote event to fire instead of giving the credit. How can I find which player fired the event in my script in serverscriptservice? The GUI is in the players player GUI.
-- server:
game:GetService("ReplicatedStorage"):WaitForChild("RemoteEvent").OnServerEvent:Connect(function(Player)
-- code here, the first parameter of the event handler is always the Player object of the client that calls it
end)