The question in the title, please help me out. I wanna access to the player who touched the part and give them the Combat Shotgun. But in this script, the output says "Hit is not a valid member of game.Players
local part = script.Parent
local spawns = workspace:WaitForChild("Map"):WaitForChild("Spawns")
local repStor = game:GetService("ReplicatedStorage")
local weapons = repStor:WaitForChild("Weapons")
part.Touched:Connect(function(hit)
local find = spawns:GetChildren()
local spawnChoose = find[math.random(1,#find)]
local Char = hit.Parent
local plr = game.Players:GetPlayerFromCharacter(hit.Parent)
if not Char then return end
Char.HumanoidRootPart.Position = spawnChoose.Position
weapons:WaitForChild("Combat Shotgun").Parent = game.Players.plr.Backpack
end)