what do you mean by that
chchhddhhdhf
The WHOLE thing works, But it seems the SkipButton Doesn’t Appear.
oh, I changed the skipbutton.Visible = true
to skipbutton.Visible = false
hehehe, Sorry
Yes! It works! But now all i need is the Countdown, For example. 10 Seconds before the Button Appears
before this, wait 10 seconds with task.wait(10)
which part? 35h5wrsdgzfxqagtszrfew
before setting the skipbutton to be visible
oh ok this?
local skipped = false
local gui = script.Parent.MainFrame
local skipbutton = gui.SkipButton
task.wait(10)
skipbutton.Visible = true
skipbutton.MouseButton1Click:Connect(function()
skipped = true
end)
local TweenService = game:GetService("TweenService")
local t = 0
repeat
task.wait(1)
t += 1
until skipped or t >= 55
local t = TweenService:Create(gui, TweenInfo.new(0.5), { BackgroundTransparency = 1 })
t:Play()
t.Completed:Wait()
gui:Destroy()
yes
ghfuhdhauudhdjudjjhceifheifhe
How do i add some popup tween to it?
no like when it appears, It performs a popup tween
yes thats what tweensize is for
noo
sizebutton.Visible = true
sizebutton.Size = Udim2.new(0, 0, 0, 0)
sizebutton:TweenSize(Udim2.new(end size))
replace end size with the size youw want the button to be at the end, the size it currently is
oh wait, I’m confused. Where do i put that part?
local skipped = false
local gui = script.Parent.MainFrame
local skipbutton = gui.SkipButton
task.wait(10)
sizebutton.Visible = true
sizebutton.Size = Udim2.new(0, 0, 0, 0)
sizebutton:TweenSize(Udim2.new(end size))
sizebutton.MouseButton1Click:Connect(function()
skipped = true
end)
local TweenService = game:GetService("TweenService")
local t = 0
repeat
task.wait(1)
t += 1
until skipped or t >= 55
local t = TweenService:Create(gui, TweenInfo.new(0.5), { BackgroundTransparency = 1 })
t:Play()
t.Completed:Wait()
gui:Destroy()
oh thanks! hersdgWEH35grrsdfg351yrgsdf
Oooooh Got alot of errors. 4ehrsgdswrgsd
I got an Error on Each part of the code