Scripting HelpersARCHIVE
A little piece of Roblox history. Preserved for everyone, one question at a time.Read about the archive →
COMMUNITY QUESTION

Hover Gui Help?

Ok So, I have a custom made leaderboard in my game Beyond The Wilderness and I wanna make a hover gui and I want it so when ur mouse enters the gui it will say test and when it leaves it will go back to the original username of that player and I kept trying for an hour and I couldn't figure out a way and I thought of asking here so I did and this is what I have so far..

function enter() script.Parent.Text = "Test" end

function leave()

end

script.Parent.MouseEnter:connect(enter) script.Parent.MouseLeave:connect(leave)

2 comments

0

Is the test part working and it just won't change back or what?

0

My bad on my answer, misspelled a word.

1 answer

I believe your connection lines aren't that good.. I can't really tell as I'm used to the Code Block.

script.Parent.MouseEnter:connect(function()
	script.Parent.Text = "Test"
end)

script.Parent.MouseLeave:connect(function()
	
end)

4 comments

0

that didn't help.... And I have a wifi extender in my room and fios quantum+ in my house.. SO Yea I don't have bad connection lines

0

He means the event listener. "script.Parent.MouseEnter:conncect(function()" is a connection line.

0

Fixed my answer. Had a simple spelling mistake. Thought it'd be easy to fix..

0

Well I just want it so when ur mouse leaves the gui it will have the players names back...

This discussion is preserved as it was. New answers, comments, and votes are closed.