Hello everyone. I'm currently working on a game inspired by Flicker and Murder Island 2 and I was wondering how to make something like this. Thanks.
You can add a SurfaceGui to display the player names.
Sample Code:
local playersService = game:GetService("Players") local text = "" local part = workspace.ToTouchPart part.Touched:Connect(function(gotPart) if playersService:GetPlayerFromCharacter(gotPart.Parent) then for _, player in pairs(playersService:GetPlayers()) do text = text.." "..player.Name end end end)