How would I go about checking two StringValues and fire their client to update.
This is what I have at the moment but it doesn’t seem to be working.
local Player1 = tycoon:FindFirstChild("Player1")
local Player2 = tycoon:FindFirstChild("Player2")
if Player1.Value ~= "" then
for i, v in pairs(game.Players:GetPlayers()) do
if v == Player1 then
Update:FireClient(v)
end
end
for i, v in pairs(game.Players:GetPlayers()) do
if Player2.Value ~= "" then
if v == Player2 then
Update:FireClient(v)
end
end
end
end