Fade-In script not working

My fade in script works, but the PowerButton does not fade in. I’ve copy and pasted the script from the ones that worked and changed the variables, but that didn’t work. I would attach a video, but my screen recording software isn’t cooperating with me. I can attach a screenshot, so I’ll post a picture of the groupings.

Property

(ImageLabel is not apart of this)

Is there any solution to this?

local TweenServicePowerButton = game:GetService('TweenService')
local PowerButtonFade = game.StarterGui.MainScreen.Dock.PowerButton

TweenServicePowerButton:Create(
	PowerButtonFade, 
	TweenInfo.new(1), 
	{ImageTransparency = 0}
):Play() 

local TweenServiceAppBrowser = game:GetService('TweenService')
local AppBrowserFade = game.StarterGui.MainScreen.Dock.AppBrowserIcon

TweenServiceBoot:Create(
	AppBrowserFade, 
	TweenInfo.new(1), 
	{ImageTransparency = 0}
):Play() 
wait(1)

youre editing the startergui rather than the playergui, do

local TweenServicePowerButton = game:GetService('TweenService')
local PowerButtonFade = game.Players.LocalPlayer.PlayerGui:WaitForChild("MainScreen").Dock.PowerButton

TweenServicePowerButton:Create(
	PowerButtonFade, 
	TweenInfo.new(1), 
	{ImageTransparency = 0}
):Play() 

local TweenServiceAppBrowser = game:GetService('TweenService')
local AppBrowserFade = game.Players.LocalPlayer.PlayerGui:WaitForChild("MainScreen").Dock.AppBrowserIcon

TweenServiceBoot:Create(
	AppBrowserFade, 
	TweenInfo.new(1), 
	{ImageTransparency = 0}
):Play() 
wait(1)
1 Like

This did not fix the fade problem, but I did not know PlayerGUI was a thing. I’ll keep this in mind when I do GUI related stuff in a multiplayer setting.

i’ve seen a lot of like very sussy issues like writing a unnecessary second tween service variable when you already wrote the first one, you don’t need to do this to make them like run simultaneously as your only writing a template like thing

also, try to convert the tween parts into variables, i’m not completely sure if not converting it into a var will not make it work but it’s majorly necessary for making like completed or cancelled functions so if spam clicking is a problem, you need to add debounces which will be reset 1 second after the tween ends

hopefully you understood what i typed, good luck

You need to set invisible the backgroundtransparency not the imagetransparency

technically you’re right and they’re right, i think the background and image transparency needs to be set so just incase the background has the same screen show as image it will work