I'm trying to find a way so that when I enter my game, the screen starts black, then slowly turns transparent so you can see the game. Once the screen is fully visible, the script destroys itself. Is there anyway someone could help me with this?
Well you can just do that by making a black frame's transparency set to 1 when the player loads in. Here's how!
But, next time, please try to make an attempt by using your own code instead of asking for someone to do it for you. That's not the point of the website. Nonetheless, I have posted the code here.
--assuming this is a local script inside a frame the covers the whole screen, is black, and is not transparent game.Players.PlayerAdded:Connect(function(plr) --plr being the player, this checks when the player has loaded in script.Parent.Visible = true -- I assume you want this to be invisible while you work on the game, so this sets it back to visible for you for i = 0, 1, 0.1 do -- 0.1 is how fast the counter will count to one. change this as you desire wait(0.1) -- change this as you desire script.Parent.Transparency = i end script.Parent.Visible = false -- hides it. end) -- MakeYourEscape
If this helped, please upvote this answer. If it didn't, please leave a comment.