Hi friends,
I am trying to do a script that when player spawn, will touch a part. The script works fine, but if 2 players or more touch the part while someone is, it’s not working.
script.Parent.Touched:Connect(function(p)
local plr = game:GetService("Players"):GetPlayerFromCharacter(p.Parent)
if plr then
plr.PlayerGui:FindFirstChild("ScreenGui").TextButton.Visible = true
end
end)