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

How do I make this happen once? [closed]

Asked by 10 years ago

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
Please put your code inside a Lua code block. NotsoPenguin 705 — 10y
2
Click on the Lua button and paste the script inbetween the lines. EzraNehemiah_TF2 3552 — 10y

Closed as Not Constructive by adark

This question has been closed because it is not constructive to others or the asker. Most commonly, questions that are requests with no attempt from the asker to solve their problem will fall into this category.

Why was this question closed?