local tags = game:GetService("CollectionService") local reqscript = script.Parent local module = require(reqscript) function playeradd(player) local playership = module.new(player) tags:AddTag(playership,tostring(player.UserId).."Ship") end game.Players.PlayerAdded:Connect(playeradd)
output says unable to cast value to object. I have seen meta-tables used with the collection service before.