Hey Guys, Can Ya Help Me With This? The Problem Is: That I Created An Script To Lower Background Transparency Of A Frame, Its Background Transparency Actually Goes Down But The Frame Stays As If It Din’t
for i = 100,0,-1 do
wait(1)
Sanity.Value = i
if Sanity.Value == 0 then
player:Kick("Your Sanity Was Too Low, You Slowly Became Insane And Died..")
end
local RedGui = game.StarterGui.RedFrameGui.Frame
if Sanity.Value == 80 then
if RedGui.BackgroundTransparency == 1 then
RedGui.BackgroundTransparency = 0.95
end
end
end
end)
above is the script on a local script