I've got a tool and inside I have a local script, which has a function that fires when a button is clicked on a GUI (The GUI pops up when the tool is equipped). This works perfectly fine in studio, No outputs - works as it should. But in-game is a totally different error - I can't even click the button for the function to fire?
wait(2) frame= script.Parent.Frame.ScrollingFrame plr = game.Players.LocalPlayer frame.Finish.MouseButton1Down:connect(function() if script.Parent.Done.Value == false and game.ServerStorage:FindFirstChild(plr.Name) == nil then script.Parent.Done.Value = true frame.Finish:Destroy() frame.Questions:Destroy() frame.Name = game.Players.LocalPlayer.Name frame.Visible = false frame.Header.Text = game.Players.LocalPlayer.Name if game.Workspace.ApplicationMachine.Computer.Screen.Gui.Frame.Main.AppNames.Empty1.Value.Value == false then game.Workspace.ApplicationMachine.Computer.Screen.Gui.Frame.Main.AppNames.Empty1.Value.Value = true frame.Parent = game.Workspace.ApplicationMachine.Computer.Screen.Gui.Frame.Main.AppNames.Empty1 game.Workspace.ApplicationMachine.Computer.Screen.Gui.Frame.Main.AppNames.Empty1.Text = (plr.Name).."'s Application"
There is more of this script (Over 100 lines total) But I have a feeling it's something to do with the start of it..