Hello. So, I made this part of script when if the player has an object value inside of them named ‘GameText’, they would be teleport-ed to somewhere else. Here is the part of code I was talking about.
local players = game.Players:GetPlayers()
for i = 1,#players do
if players[i]:FindFirstChild("GameText") then
players[i].Character.Torso.CFrame = CFrame.new(randommapclone.Spawn.Tele.Position)
end
end
It didn’t work and no errors were printed. If I removed:
if players[i]:FindFirstChild("GameText") then
end
and tested the game, it works perfectly fine without the qualification. Either it’s just me or the script. Please help down below and if I missed anything message me please.
so the script that you have trouble with is running normally until the for loop? when does it stop printing, try print-debugging it and see how it goes, where it stops and where the breakpoint is.
Server basically does not care what the client did or does, just like it’s explained with FilteringEnabled, whatever the client did, it will appear for the client and server will mind it’s own business and ignore what client did (in most cases).