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

simple timed loading GUI

Asked by 10 years ago

I just need help making the image go in a complete circle but stay in one place. heres what I have so far... (localscript)

local load = waitForChild(waitForChild(index, "Overlay"), "Load") {-load = image, Overlay = Frame}

game:service("RunService").Stepped:connect(function(timer, step)
    load.Rotation = (timer * 250) % 360 {-speed on rotation}
    end)

Can you tell me what I screwed up on or what I am needing to run this script?

I am thinking of just using a decal changer not just make one image move in a circle

Thanks, Jillmiles1

0
Oh I know that program its a plugin, it sends a green bar across your screen then it prints the name then it shakes it and then slowly goes away jillmiles1 3 — 10y

1 answer

Log in to vote
0
Answered by 10 years ago

All i have is a classic loading bar with a extra little effect.Hope its okay.Please don't dislike cause its not images.

function added(player)  
    local NameOfGame = "Dgrace12321...Brings you -- The Football Coach" -- Change the bit in the speach marks to the name of your game.

    RotationMode = true -- Set this to true if you want it to rotate.

    ShakeMode = true -- This makes it shake like a earthquake! Set to true if you want to do this.

    ClassicLoading = true -- This adds an epic bit at the beggining. Set to false if you dont want this.



    local GUI = script.IntroGUI:clone()
    GUI.Parent = player:WaitForChild("PlayerGui")

    local Frame = GUI.Frame
    local Text = Frame.TextLabel
    local ClassicLoad = Frame.ClassicLoadFrame
    local LoadText = ClassicLoad.LoadText
    Text.Visible = false

    repeat wait() until player.Character
    player.Character.Torso.Anchored = true
    Text.TextTransparency = 1
    Text.Text = NameOfGame
    Text.Visible = true
    Percent = 0
    wait(5)
    if ClassicLoading == true then
        ClassicLoad:TweenSize(UDim2.new(1, 0, 0, 200), "Out", "Quad", 5)
        while Percent < 100 do
            Percent = Percent + 1
            LoadText.Text = Percent .. "%"
            wait(5/100)
        end
        wait(1)
        while ClassicLoad.BackgroundTransparency < 1 do
            ClassicLoad.BackgroundTransparency = ClassicLoad.BackgroundTransparency + 0.05
            LoadText.TextTransparency = LoadText.TextTransparency + 0.05
            wait()
        end
        wait(1)
    end
    while Text.TextTransparency > 0 do
        Text.TextTransparency = Text.TextTransparency - .05
        wait(.05)
    end

    wait(5)
    player.Character.Torso.Anchored = false
    while Frame.BackgroundTransparency ~= 1 do
        Text.Position = UDim2.new(.5, 0, .25, 0)
        if RotationMode == true then
            Text.Rotation = Text.Rotation + 10
        end
        if ShakeMode == true then
            Text.Position = Text.Position + UDim2.new(0, math.random(-10, 10), 0, math.random(-10, 10))
        end
        Frame.BackgroundTransparency = Frame.BackgroundTransparency + .05
        Text.TextTransparency = Text.TextTransparency + .05
        wait(.05)
    end
end
game.Players.PlayerAdded:connect(added)

0
Thank you I can edit the script for images :D jillmiles1 3 — 10y
Ad

Answer this question