Scripting HelpersARCHIVE
A little piece of Roblox history. Preserved for everyone, one question at a time.Read about the archive →
COMMUNITY QUESTION

When the player get teleported back to the lobby it makes the avatar/character all gray and blocky?

(EDIT!: This does not only happen to me. It happens to everyone that joins, good wifi or not.)

So, this is a alvinblox script and whenever it teleports a player from the map back to the lobby it turns them into this grayish blob thing, and I have zero clue on what could be causing this. This is the script that teleports players back to the lobby:

Status.Value = "The winner is "..plrs[1].Name.."!"
		plrs[1].leaderstats.Cash.Value = plrs[1].leaderstats.Cash.Value + reward
		wait(3)
		break
	elseif #plrs == 0 then
		Status.Value = "Nobody won!"
		wait(3)
		break
	elseif i == 0 then
		Status.Value = "Times up!"
		wait(3)
		break  
	end
	
	wait(1)
end

print("End of game.")

for i, player in pairs(game.Players:GetPlayers()) do
	character = player.Character
	
	if not character then
		-- Ignore them
	else
		if character:FindFirstChild("GameTag") then
			character.GameTag:Destroy()
		end
		
		if player.Backpack:FindFirstChild("Sword") then
			player.Backpack.Sword:Destroy()
		end
		
		if character:FindFirstChild("Sword") then
			character.Sword:Destroy()
		end
		
	end
	
	player:LoadCharacter()
end

ClonedMap:Destroy()

Status.Value = "Game ended!"

wait(2)
end

I would really like to get this resolved as I have tried everything in my power at the moment to try to fix this, even going as far as retyping the whole script and its really frustrating. So any help would be greatly appreciated. (F.Y.I / P.S This has not always happened, only did a few weeks back, IDK what I did to the script, also I've been using this script for a while, around a year now.)

1 comment

0

This is just your internet being slow. The character assets are taking longer than usual to load.

1 answer

Try checking the developer console to find out what went wrong. It is probably a client side error and not server.

This discussion is preserved as it was. New answers, comments, and votes are closed.