Unable to cast value to object

local TPService = game:GetService("TeleportService")
	local Loading = game.ReplicatedStorage.Loading:Clone()

	Loading.Parent = Player.PlayerGui

	local ColorR = CurrentHairThing.Color.R*255
	local ColorG = CurrentHairThing.Color.G*255
	local ColorB = CurrentHairThing.Color.B*255
	print(ColorR,ColorG,ColorB,CurrentHair)
	TPService:Teleport(7107374110,{Player},{CurrentHair,HairColor={ColorR,ColorG,ColorB}})

My error on the teleport part is unable to cast value to object…

1 Like

Teleport's 2nd Argument is a single player instance, not a table of players like other methods of TeleportService, remove the brackets between Player

2 Likes