#text overlap
1 messages · Page 1 of 1 (latest)
i tried destrorying the clone and making a new one but the same thing happend
local player = game:GetService("Players")
local Rank = game.ServerStorage:WaitForChild("Rank")
game.Players.PlayerAdded:Connect(function(player)
player.CharacterAdded:Connect(function(character)
local player = game.Players:FindFirstChild(character.Name)
local leaderstats = player:WaitForChild("leaderstats")
local Rizz = leaderstats:WaitForChild("Rizz")
local Ranks = Instance.new("Folder" ,player)
Ranks.Name = "Ranks"
local rank_ = Instance.new("StringValue" ,Ranks)
rank_.Name = "rank"
task.spawn(function()
while true do
task.wait(0.1)
if Rizz.Value > 3000 then
rank_.Value = "THE RIZZLER"
elseif Rizz.Value > 2000 then
rank_.Value = "GOOD RIZZER"
elseif Rizz.Value > 1080 then
rank_.Value = "RIZZER"
elseif Rizz.Value > 1000 then
rank_.Value = "PRETTY GOOD RIZZER"
elseif Rizz.Value > 500 then
rank_.Value = "GOOD RIZZER"
else
rank_.Value = "New rizzer"
end
end
end)
task.spawn(function()
while true do
task.wait(0.2)
local Clone = Rank:Clone()
Clone.Parent = character.Head
Clone.Adornee = character.Head
Clone.TextLabel.Text = rank_.Value
if rank_.Changed then
Clone:Destroy()
local Clone = Rank:Clone()
Clone.Parent = character.Head
Clone.Adornee = character.Head
Clone.TextLabel.Text = rank_.Value
end
end
end)
end)
end)
fyi if the code looks off you will have to strech this page
try checking for the value of the rank
Or instead of making a new clone
Update the text for the current rank
how do I do that?
because that's what I did before and it did the same thing do I changed it to this
@pseudo otter
** You are now Level 4! **