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

Help with this script?

Asked by 10 years ago

Ok so I have this script that I would like to use.

I am not sure how to configure It,

Clicks = 0

ClickDetector.Clicked:connect(function()
    if Clicks<20 then
        Clicks = Clicks+1
    else
    end
end)

Ok so I have in my workspace a brick with a surface gui. This is the LUA link to it;

game.Wokspace.FlyRobloxiaCheckIn1.SurfaceGui.EC.B777

This is the screen GUI link.

gam.StarterGui.FlyRobloxiaPC.Frame.B777.Economy.Counter.Value

How would all this be put together to make the counter (value) work? what would I put into the Counter part to make the number change?

Thanks Kieran

0
Lua* 1waffle1 2908 — 10y
0
Really the need of that? If you are going to answer then make it useful kieranm9090 49 — 10y

1 answer

Log in to vote
0
Answered by 10 years ago

SurfaceGUIs need to be inside a player's PlayerGui with the Adornee set to the brick you want it on :)

0
:D Thanks! Now I just need help with configuring the script :/ kieranm9090 49 — 10y
Ad

Answer this question