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

How Do I Put a Package on a Player When They Enter the Game?

What I am trying to do is, when a player enters they're normal package is replaced with a different package. I have tried in a few different ways, and I don't think I'm doing right or even using the correct method. If someone could help me that would be amazing.

1 comment

0

I still need help. For some reason that script isn't working.

1 answer

You could try an auto morph script such as this one.Insert it into the spawnpoint. Then insert the script and finally ainsert a package and hat into the script.

script.Parent.Touched:connect(function(hit) if hit.Parent == nil then return end if (hit.Parent:findFirstChild("Humanoid") == nil) then return end local human = hit.Parent:findFirstChild("Humanoid") local char = hit.Parent local player = game.Players:GetPlayerFromCharacter(hit.Parent) if (human ~= nil) and debounce == false then debounce = true originals = char:getChildren() for w = 1, #originals do if originals[w].className == "CharacterMesh" then originals[w]:remove() end end meshes = script:getChildren() for y = 1, #meshes do copy = meshes[y]:clone() copy.Parent = char end end wait(1) debounce = false end) game.Players.PlayerAdded:connect(function(p) p.CharacterAdded:connect(function(char) wait(1) originals = char:getChildren() for w = 1, #originals do if originals[w].className == "CharacterMesh" then originals[w]:remove() end end meshes = script:getChildren() for y = 1, #meshes do copy = meshes[y]:clone() copy.Parent = char end end) end)

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