script.Parent.Touched:Connect(function(hit)
if hit.Parent:FindFirstChild(“Humanoid”) ~= nil then
while wait(.01) do
local chr = hit.Parent
local plr = game.Players:GetPlayerFromCharacter(chr)
script.Parent.BillboardGui.TextLabel.Text = "Current king : "… plr.Name
end
end
end)
if a one player touches the part it works, but when another player touches it, The text starts glitching i don’t know how would i make it so it wont show two player names glitching in the text.