well i have this error : 20:43:48.419 Sign is not a valid member of Backpack "Players.SamSoGames.Backpack"
here is my script :
script.Parent.MouseButton1Click:Connect(function() local backpackplr = game.Players.LocalPlayer.Backpack.Sign local textad = script.Parent.Parent.TextAd.Text backpackplr.SignPart.SurfaceGui.TextLabel.Text = textad end)
This is because when you hold the tool, it is a part of your player model, not the actual players backpack.
@Nozaxe is correct. When a tool is equipped it transfers to the player's character. A players character can be retrieved doing of the following:
Player.Character --A direct link to the player's character model
This may also come in handy:
Player.CharacterAdded --An event that fires when the player's character is added