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

Hover Gui Help?

Asked by 9 years ago

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)

0
Is the test part working and it just won't change back or what? GoldenPhysics 474 — 9y
0
My bad on my answer, misspelled a word. Shawnyg 4330 — 9y

1 answer

Log in to vote
0
Answered by
Shawnyg 4330 Trusted Badge of Merit Snack Break Moderation Voter Community Moderator
9 years ago

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)
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 User#7446 0 — 9y
0
He means the event listener. "script.Parent.MouseEnter:conncect(function()" is a connection line. GoldenPhysics 474 — 9y
0
Fixed my answer. Had a simple spelling mistake. Thought it'd be easy to fix.. Shawnyg 4330 — 9y
0
Well I just want it so when ur mouse leaves the gui it will have the players names back... User#7446 0 — 9y
Ad

Answer this question