I have this variable below as part of a minigame script, but is it searching for 'isPlaying' inside a character presumably and if i want to set that variable to 1, where would I have to put it?
for i, player in ipairs(game.Players:GetChildren()) do
wait(0.1)
for i,v in pairs(game.Players:GetPlayers()) do
isplaying = v:FindFirstChild("isPlaying") -- This one...
if (isplaying) then
if (isplaying.Value == 1) then
player.Character.Torso.CFrame = target + Vector3.new(0, 0, i * 5)
end
end
end
end
