Using playeradded event messes up the script because 'class' goes to a different player that just joined. I've tried changed, descendent removed and added, but nothings working for me.
game.Players.PlayerAdded:connect(function(player)
local touched = false
local function ontouch()
if not touched then
touched = true
local class = game.ReplicatedStorage["Class #1"]:Clone()
class.Parent = player.Character
end
end
script.Parent.Touched:Connect(ontouch)
end)
