Scripting HelpersARCHIVE
A little piece of Roblox history. Preserved for everyone, one question at a time.Read about the archive →
COMMUNITY QUESTION

How Can I Make Frame BackgroundTransparency to 1 with script?

So When Everything Has Loaded, The Background transparency to hide?

game.Players.PlayerAdded:Connect(function()
	

local workspace = game:WaitForChild("Workspace")
local ReplicatedStorage = game:WaitForChild("ReplicatedStorage")
local ServerScriptService = game:WaitForChild("ServerScriptService")
local Serverstorage = game:WaitForChild("ServerStorage")
local StarterGui = game:WaitForChild("StarterGui")
wait(1)
print("everything has been loaded") 

game.StarterGui.LOAD.Frame.BackgroundTransparency = 1
end)

3 comments

0

Dude why are you waiting for services, you don't need to do that.

0

Doesn't That Do, To Wait For Everything To Load First, I want to make like a Loading Screen

0

you can not edit stuff from the startergui.. it inserts into playergui

2 answers

insert a localscript into the frame

script.Parent.BackgroundTransparency = 1

2 comments

0

Can You Help Me So, When Everything Loads, BackgroundTrasparency Set to 1?

0

just do as i said..

Ok, usually when I do that kind of stuff I use a Local Script. (Put the local script inside the frame)

wait (1)
script.Parent.BackgroundTransparency = 1 

INSERT THE LOCAL SCRIPT INSIDE THE FRAME

This discussion is preserved as it was. New answers, comments, and votes are closed.