|
| 19 Sep 2017 07:39 PM |
menu button does not work, it isn't even draggable. all frames are disabled except for menu at the time for the click. no errors in output
local GUI = script.Intro:clone() local Menu = GUI.Menu local intro = GUI.Intro local frame = GUI.Intro.Beginning local welcome = frame.welcome local absence = frame.absence local menu = Menu.Menu local About = Menu.About local play = menu.Play local about = menu.About local back = About.Back local aboutframe = About.AboutFrame local abouttext = aboutframe.AboutText
local function added(player) GUI.Parent = player:WaitForChild("PlayerGui") frame.Visible = true welcome.Visible = false absence.Visible = false repeat wait() until player.Character player.Character.Torso.Anchored = true wait() --Beginning of intro. welcome.ImageTransparency = 1 absence.ImageTransparency = 1 welcome.Visible = true absence.Visible = true script.Intro.Scene:FireAllClients() wait(2) for i= 0, 25 do wait() welcome.ImageTransparency = (welcome.ImageTransparency - 0.04) end wait(2) for i= 0, 25 do absence.ImageTransparency = (absence.ImageTransparency - 0.04) wait() end wait(2) for i= 0, 25 do welcome.ImageTransparency = (welcome.ImageTransparency + 0.05) wait() end for i= 0, 25 do absence.ImageTransparency = (absence.ImageTransparency + 0.05) wait() end wait(1) for i= 0, 25 do frame.BackgroundTransparency = (frame.BackgroundTransparency + 0.05) wait() end wait(1) intro.Enabled = false Menu.Enabled = true menu.Visible = true play.BackgroundTransparency = 1 play.TextTransparency = 1 about.BackgroundTransparency = 1 about.TextTransparency = 1 for i = 0, 25 do play.TextTransparency = (play.TextTransparency - 0.04) about.TextTransparency = (about.TextTransparency - 0.04) play.BackgroundTransparency = (play.BackgroundTransparency - 0.016) about.BackgroundTransparency = (about.BackgroundTransparency - 0.016) wait() end end --About button and section
about.MouseButton1Click:connect(function() print("I have been clicked!") for i = 0, 25 do play.TextTransparency = (play.TextTransparency + 0.04) about.TextTransparency = (about.TextTransparency + 0.04) play.BackgroundTransparency = (play.BackgroundTransparency + 0.016) about.BackgroundTransparency = (about.BackgroundTransparency - 0.016) wait() end menu.Visible = false About.Visible = true aboutframe.BackgroundTransparency = 1 abouttext.TextTransparency = 1 back.BackgroundTransparency = 1 back.TextTransparency = 1 wait(.2) for i = 0, 25 do abouttext.TextTransparency = (play.TextTransparency + 0.04) back.TextTransparency = (about.TextTransparency + 0.04) aboutframe.BackgroundTransparency = (play.BackgroundTransparency + 0.016) back.BackgroundTransparency = (about.BackgroundTransparency - 0.016) wait() end end)
game.Players.PlayerAdded:connect(added) |
|
|
| Report Abuse |
|
|
| 19 Sep 2017 08:12 PM |
| reason i posted the script is i didn't know if it could be a problem i didn't see inside it |
|
|
| Report Abuse |
|
|
| 19 Sep 2017 08:25 PM |
does anyone want to help? also this is the place if you want to see this in action https://www.roblox.com/games/996403881/Model-Building |
|
|
| Report Abuse |
|