bootsareme
(bootsareme)
August 27, 2020, 1:53am
#1
I have a tool in starterpack, I try to get the tool using:
player.Backpack.Tool
I go to the explorer and check backpack, guess what, there is no tool. Also, the script throws an error. Idk whats going on. I don’t think the problem is with CharacterAdded
because I go into the testing explorer and I still cant find it in the player’s backpack.
IGOTHISLOL
(IGOTHISLOL)
August 27, 2020, 1:54am
#2
Please show some script here so we can tell what’s wrong with your code
1 Like
bootsareme
(bootsareme)
August 27, 2020, 1:56am
#3
I don’t have a script, its just i do
local tool = game.Players[player.Name].Backpack.Tool
and it just says Tool is not valid member of backpack.
IGOTHISLOL
(IGOTHISLOL)
August 27, 2020, 1:58am
#4
Use a WaitForChild()
game.Players[player.name]Backpack:WaitForChild(“Tool”)
Are you firing the script right as the player joins?
bootsareme
(bootsareme)
August 27, 2020, 1:59am
#5
No. I fire it as a event a while after the player joins. (p.s. the tool also doesn’t show up in my explorer window either)
IGOTHISLOL
(IGOTHISLOL)
August 27, 2020, 2:00am
#6
Is your tool even in StarterPack? Did you somehow misplace it? Are you cloning the tool?
bootsareme
(bootsareme)
August 27, 2020, 2:01am
#7
My tool is indeed StarterPack because I can equip it, it is just not in player.Backpack.
IGOTHISLOL
(IGOTHISLOL)
August 27, 2020, 2:01am
#8
When you equip the tool, it moves to your character.
Premedius
(Premedius)
August 27, 2020, 2:01am
#9
If the tool is being equipped, see if you can find it in the character model.