so i want to fire a local Player to a local script
here is the ServerScript :
local remoteadmin = game.ReplicatedStorage.AdminCheck
local plr = game:GetService("Players")
remoteadmin.OnServerEvent:Connect(function()
for i, v in pairs(game.Players:GetPlayers()) do
if v.Name == "SamSoGames" then
remoteadmin:FireClient(plr)
end
end
end)

2 comments
whats this for? can't you just do a PlayerAdded event, then clone the admin gui to that player if they have a specific name
not sure why you're using remote events