local Person = script.Parent.Leader.Value
while true do
wait(0.1)
game.Players(Person).TeamColor = "Really Red"
end
Here I am Making It So If a Players Name Is In a Value They Change To A Team. But it isn't working. I need Some Help
local Person = script.Parent.Leader.Value
while true do
wait(0.1)
game.Players(Person).TeamColor = "Really Red"
end
Here I am Making It So If a Players Name Is In a Value They Change To A Team. But it isn't working. I need Some Help
Try this:
local Person = script.Parent.Leader.Value
local players = game:GetService("Players")
while true do
wait(0.1)
players:FindFirstChild(Person).TeamColor = "Really Red"
end
It Didn't Work And For Some reason It Says The Answer Was Right. It might be the Location Of The Script Or The Type Of The Script Because the script is in the workspace
What type of script is it?
This discussion is preserved as it was. New answers, comments, and votes are closed.
1 comment
does it give you an error?