Connection = hitbox.Touched:Connect(function(hitpart)
if not hitpart:IsDescendantOf(char) then
if hitpart.Parent:FindFirstChild("Humanoid") then
local enemy = hitpart.Parent
local enemys = players:GetPlayerFromCharacter(enemy)
1 Like
Try using a while() loop.
while wait() do
TextLabel.Text = enemys.Name or enemy.Name
end
1 Like
so how can i like TEXT HERE( ENEMY NAME ) ANOTHER TEXT HERE
1 Like
while wait() do
TextLabel.Text = "Text here"..enemys.Name.."Text here" or "Text here"..enemy.Name.."Text here"
end
2 Likes
This topic was automatically closed 14 days after the last reply. New replies are no longer allowed.