I have a tool in starterpack and inside there a server script. My idea was to get the player from the backpack and then the character, but it errors saying nil or that it's not a valid member of DataModel. I found the player, but I can't use Player.CharacterAdded:Wait() or Player.Character for some reason.
local tool = script.Parent
local player = script:FindFirstAncestorWhichIsA("Player")
local character = player.Character or player.CharacterAdded:Wait()

5 comments
The problem is because
playeris nil. I need more details from you to give you a solution.bro I literally said I found the player and it's "FindFirstAncestorWhichIsA("Player")"
Try
print(type(character))and see what is printedSindro, you grabbed the player wrong.
ight how do I grab it right