man im a scripter for like idk 1.5 years or more idk i didint count all of them but i still know shit about ui properties tweening
local image0tween = {
ImageTransparency = 0
}
local image1tween = {
ImageTransparency = 1
}
local ti = TweenInfo.new(4, Enum.EasingStyle.Linear, Enum.EasingDirection.InOut, 0, false, 0)
local ts = game.TweenService
local tweenimagetransparency0 = ts:Create(script.Parent.MainFrame.Beat, ti, image0tween)
local tweenimagetransparency1 = ts:Create(script.Parent.MainFrame.Beat, ti, image1tween)
game.Players.PlayerAdded:Connect(function(plr)
repeat until game.Loaded
wait(2)
tweenimagetransparency0:Play()
end)
plz fix this shitty ahh crappy code
1 Like
it doesnt do the tween tween thingy
FrostyTheDev:
repeat until game.Loaded
repeat task.wait() until game:IsLoaded()
would be proper usage
Even then, this could get stuck forever potentially.
12345koip
(12345koip)
March 14, 2024, 7:59pm
#6
Still not all that helpful tbh.
Any errors or anything?
Btw profanity isn’t allowed in public channels, which this is…
If this is a LocalScript
, you might need to wait until the images are loaded before attempting to tween them. You could use ContentProvider:PreloadAsync({array of image ids here})
to yield until the images are loaded.
my bad. gawd i hate the threety character limit
1 Like
Try adding a print statement when the tween plays to see if the code is running at all.