You can write your topic however you want, but you need to answer these questions:
Hello just getting started with programming
I tried to make Main Menu together with this video
I got to the popups element and Stuck with the program nothing works. I don’t know if it’s okay to ask questions like this or if they are on another category but please help
I am here
local buttons = script.Parent.Parent.Parent.Parent.Parent.BUTTONS
local popups = buttons.Parent.Popups
script.Parent.MouseButton1Click:Connect(function()
popups.Credits:TweenPosition(UDim2.new(0, 0,0.1, 0)"InOut", "Quad", 1, true)
wait(1)
buttons.PLAY.TextButton.LocalScript.Enabled = true
buttons.UPDATE.TextButton.LocalScript.Enabled = true
buttons.CREDIT.TextButton.LocalScript.Enabled = true
buttons:TweenPosition(UDim2.new(0.399, 0,671, 0), "InOut", "Quad",1, true)
buttons.Parent.Title:TweenPosition(UDim2.new(0.385, 0,143, 0), "InOut", "Quad",1, true)
end)
this is for close button
and in all of them there is an animation script
local tweenservice = game:GetService("TweenService")
local info1 = TweenInfo.new(0.1, Enum.EasingStyle.Quad,Enum.EasingDirection.InOut)
script.Parent.MouseEnter:Connect(function()
tweenservice:Create(script.Parent, info1, {BackgroundColor3 = Color3.fromRGB(50,50,50)}):Play()
end)
script.Parent.MouseLeave:Connect(function()
tweenservice:Create(script.Parent, info1, {BackgroundColor3 = Color3.fromRGB(40,40,40)}):Play()
end)
I don’t know what I did wrong
I’m reviewing the same video over and over again and can’t figure it out
I know it’s a silly request but I’ve been thinking about it long enough
and I can’t figure it out and I’ve only been learning lua for a short time