Scripting Helpers is winding down operations and is now read-only. More info→
Ad
Log in to vote
0

How do i fire a local player in a serverside ?

Asked by 3 years ago

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)

0
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 CoolBlueJay000 48 — 3y
0
not sure why you're using remote events CoolBlueJay000 48 — 3y

Answer this question