How do I put players who touched a part in a table?
This is one way to do it:
local Players = {} Part.Touched:Connect(function(hit) if hit.Parent:FindFirstChild("Humanoid") then local Player = game.Players:GetPlayerFromCharacter(hit.Parent) table.insert(Players,Player.Name) end end)