So i have this script that should give me the name tag of owner which it does but the rainbow effect only works for like 4 seconds and then it stops. Any idea why ?
local billboardgui = game:GetService("ReplicatedStorage"):WaitForChild("BillboardGui")
game.Players.PlayerAdded:Connect(function(player)
player.CharacterAdded:Connect(function(char)
if player.Name == "1Messi3903" then -- change "alvinbloxx" to "YOUR NAME"
local clonedgui = billboardgui:Clone()
clonedgui.Parent = game.Workspace:WaitForChild(player.Name).Head
clonedgui.TextLabel.Text = "Owner"
for i = 0,1,0.01 do
clonedgui.TextLabel.TextColor3 = Color3.fromHSV(i,1,1)
wait(.1)
end
end
if player:IsInGroup(0) then
local clonedgui = billboardgui:Clone()
clonedgui.Parent = game.Workspace:WaitForChild(player.Name).Head
clonedgui.TextLabel.Text = "Owner"
clonedgui.TextLabel.TextColor3 = Color3.fromRGB(231,206,12)
end
end)
end)
