code this roblox script, the order is: fade in holder and title, then then it will start…
- User
code this roblox script, the order is: fade in holder and title, then then it will start the startup sound and move loading bar, after finished it will fade out: local gui = script.Parent -- gui local main = gui.Frame -- the main screen local holder = main.Holder -- back frame of loading bar local loadingframe = holder.LoadingFrame -- this frame shows the loading bar local startupsound = loadingframe.startup -- the startup sound local title = main.title -- the title local plr = game.Players.LocalPlayer -- the client local ts = game:GetService("TweenService") -- use to size the loading frame to closedsize (loaded) local turnonkey = Enum.KeyCode.F -- for pc local device = "nil" -- the device local uis = game:GetService("UserInputService") -- to detect device and handle pc inputs local state = "Idling" -- Idling , Loading , Loaded
local configs = { -- config table fr loadedsystem = false, -- when loaded makes the title and holder invisible didsound = false, -- did startup sound titlevisible = false, -- for show text label holdervisible = false, -- holder and loadingframe startsize = Vector3.new(0, 0, 0, 25), -- not loaded closedsize = Vector3.new(0, 212, 0, 25), -- loaded loadingbarspeed = 2 -- 2 studs per second }
function detectdevice(device) -- detect device #1 priority
end
function disableall() -- to invisible the things #5 priority
end
function moveloadingbar(state) -- if state is loading then starts moving, loading starts when the startup sound starts #3 priority
end
function playsound(sound) -- plays musics #2 priority
end
function fadein(frame, textlabel)
end
function fadeout(frame, textlabel)
end
- Assistant
Other models, same or similar prompt
Responses were produced in different, uncontrolled contexts (system prompts, settings, prior turns). This is not a benchmark.