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

How do i make the "SKIP BUTTON" stay for the whole time?

As the title says heres how my intro looks the TextButton1 is the skip button which i want to stay in the intro for whole time for all cutscenes but not only 1 cutscene. http://prntscr.com/86eekd

local Screen = script.Parent
local Config = Screen.Config
local Filter = Screen.Filter
local Content = Screen.Content

function FilterFade(start,finish,step)
	for i = start,finish,0.03/step do
		Filter.BackgroundTransparency = i
		wait()
	end
	Filter.BackgroundTransparency = finish
end

Filter.Visible = true
for _,image in pairs(Content:GetChildren()) do image.Visible = false end
wait(Config.Padding_Time.Value)
for _,image in pairs(Content:GetChildren()) do
	image.Visible = true
	FilterFade(0,1,Config.Fade_Time.Value)
	wait(Config.Display_Time.Value)
	FilterFade(1,0,-Config.Fade_Time.Value)
	image.Visible = false
	wait(Config.Display_Time.Value)
end
wait(Config.Padding_Time.Value)
Screen.Background.Visible = false
FilterFade(0,1,Config.Fade_Time.Value)

Screen:Remove()

this is the localscript like in screenshot named "Program"

2 answers

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