i thought it was like this
wait(2)
game.Workspace.StarterGui.ScreenGui.VirusContinues.Noob.Transparency = 1
like after a loading screen is done or something!
i thought it was like this
wait(2)
game.Workspace.StarterGui.ScreenGui.VirusContinues.Noob.Transparency = 1
like after a loading screen is done or something!
Well for me, what I would do, instead of just making it disappear, I would slide it up, and if I won't need it later, delete it. Here's about the code I would use:
frame:TweenPosition(UDim2.new(0.5,0,-2,0),'Quint','Out',1)
wait(1)
frame:Destroy()
--Or if you need it later on:
frame.ImageTransparency = 1 -- For an image gui.
frame.BackgroundTransparency = 1 -- For a normal frame.
The issue with your script, is that transparency isn't a "valid member of frame" or whatever. Instead of transparency it's BackgroundTransparency or ImageTransparency.
its would direction, style then time. so "Out", "Quint", "1"
This discussion is preserved as it was. New answers, comments, and votes are closed.
8 comments
you need to edit gui's with PlayerGui, for this use RemoteEvents, if script is in gui just use script.Parent.Parent....VirusContinued.Noob.Transparency = 1
didn't work
game.Workspace.StarterGui.ScreenGui.VirusContinues.Visible = false
that didn't work since startergui is not inside workspace
Do you want the text label or the whole frame to disappear.
the whole frame
Also MArzalAlBuchariZ, it would be game.Players.LocalPlayer(Asuming this is in a local script where it should be.).PlayerGui.ScreenGui . . .
Also if you want the entire ScreenGui to disappear, you can do ScreenGui.Enabled = false.