#how do i find the player, ONLY the player touching is my part :sob:
1 messages · Page 1 of 1 (latest)
local Players = game:GetService("Players")
part.Touched:Connect(function(partTouched)
local character = partTouched:FindFirstAncestorWhichIsA("Model")
if not character then return end
local player = Players:GetPlayerFromCharacter(character)
if not player then return end
print(player)
end)
study this