Scripting Helpers is winding down operations and is now read-only. More info→
Ad
Log in to vote
0

Can someone fix this script?

Asked by 10 years ago

It wont work, is there a problem?? Could somebody help??

function hai()
Script.Parent.Frame.Visible = true
end
function bai()
Script.Parent.Frame.Visible = false
end

script.Parent.MouseEnter:connect(hai)

script.Parent.MouseLeave:connect(bai)

2 answers

Log in to vote
0
Answered by 10 years ago

'Script' should be in lowercase

0
Didn't work Wrongmistake 0 — 10y
0
Is the frame's active property set to true? lowvillan 10 — 10y
Ad
Log in to vote
0
Answered by 10 years ago

Make sure the GUI's properties are set to Active = true

script.Parent.MouseEnter:connect(function hai()
Script.Parent.Frame.Visible = true
end)
script.Parent.MouseLeave:connect(function bai()
Script.Parent.Frame.Visible = false
end)

Answer this question