this script is suppose to open up a gui frame but when i click it it wont open it only opens in studio mode but this script used to work no problem(not a localscript)
script.Parent.MouseButton1Click:connect(function()
script.Parent.Parent.Frame.Visible=true
script.Parent.Parent.Frame.VoteText.Visible=true
script.Parent.Parent.Frame.CloseButton.Visible=true
end)
and this script is suppose to make a block dissapear when you click a button but the button is unclickable it only clicks in studio mode and this script used to work no problem(not a localscript)
Debounce=false
function onClicked()
if not Debounce then
Debounce=true
script.Parent.BrickColor=BrickColor.new("Really red")
Workspace.invisibleD.Transparency=1
Workspace.invisibleD.CanCollide=false
wait(3)
Workspace.invisibleD.Transparency=0
Workspace.invisibleD.CanCollide=true
script.Disabled=true
wait(5)
script.Disabled=false
script.Parent.BrickColor=BrickColor.new("Lime green")
Debounce=false
end
end
script.Parent.ClickDetector.MouseClick:connect(onClicked)
Please Help!

2 comments
Well script.Disabled = true... it wont go past that line I think... Also for the first script try making it a localscript
By studio mode do you mean solo?