Scripting Helpers is winding down operations and is now read-only. More info→
Ad
Log in to vote
0

How Can I Make Frame BackgroundTransparency to 1 with script?

Asked by 5 years ago

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)
0
Dude why are you waiting for services, you don't need to do that. User#24403 69 — 5y
0
Doesn't That Do, To Wait For Everything To Load First, I want to make like a Loading Screen BloxEnergy -76 — 5y
0
you can not edit stuff from the startergui.. it inserts into playergui Imperialy 149 — 5y

2 answers

Log in to vote
0
Answered by
Imperialy 149
5 years ago

insert a localscript into the frame

script.Parent.BackgroundTransparency = 1
0
Can You Help Me So, When Everything Loads, BackgroundTrasparency Set to 1? BloxEnergy -76 — 5y
0
just do as i said.. Imperialy 149 — 5y
Ad
Log in to vote
0
Answered by 5 years ago
Edited 5 years ago

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

Answer this question