How would i go by changing the level.value in a overhead script without it always breaking? something like 100k, or 100,000, aswell inf for owners of a game. instead always being 10000, 1000000
i’ve try changing the the levels.value >= 100k, 100,000. and when play test it breaks the whole script?
LEVEL.Changed:Connect(function()
CloneGuiOwner.Level.Text = "LEVEL : "..LEVEL.Value
if LEVEL.Value >= 100000 then -- Over 100000 Minute LEVEL (RAINBOW)
CloneGuiOwner.Level.TextColor3 = Color3.new(0.764706, 0.215686, 1)
Gradient.Enabled = true
GradientScript.Disabled = false
elseif LEVEL.Value >= 10000 then -- Over 10000 Minute LEVEL (DARK RED)
CloneGuiOwner.Level.TextColor3 = Color3.new(0.658824, 0, 0)
elseif LEVEL.Value >= 5000 then -- Over 5000 Minute LEVEL (ORANGE)
CloneGuiOwner.Level.TextColor3 = Color3.new(1, 0.666667, 0)
elseif LEVEL.Value >= 1000 then -- Over 1000 Minute LEVEL (BLUE)
CloneGuiOwner.Level.TextColor3 = Color3.new(0, 0.666667, 1)
elseif LEVEL.Value >= 500 then -- Over 500 Minute LEVEL (PURPLE)
CloneGuiOwner.Level.TextColor3 = Color3.new(0.85098, 0.00784314, 1)
elseif LEVEL.Value >= 100 then -- Over 100 Minute LEVEL (GREEN)
CloneGuiOwner.Level.TextColor3 = Color3.new(0.333333, 1, 0)
else -- DEFAULT LEVEL (WHITE)
CloneGuiOwner.Level.TextColor3 = Color3.new(0.811765, 0.12549, 1)
end
end)