I need help making this script happen once.
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()
-- DON'T MESS WITH THIS UNLESS YOU KNOW WHAT'S GOING ON.
-- To chnage time, go to Config, and change the values in the stuff in there.
-- In cotent is what you want to show up.
-- Change background and filter to the background color. Keep it the same color.
also this script, I dont know wich one tho
script.Parent = nil
local legui = script.Intro:Clone()
game.Players.PlayerAdded:connect(function(player)
player.CharacterAdded:wait(8.5)
wait(8.5)
legui:Clone().Parent = player.PlayerGui
end)
--Created by iGoldenX

2 comments
Please put your code inside a Lua code block.
Click on the Lua button and paste the script inbetween the lines.