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

How can I make a CSGO style "Buy Menu" inventory?

What I'm trying to make is an inventory similar to the CSGO "Buy Menu" or the inventory from SCP Secret Laboratory. Here's what it looks like.

https://gyazo.com/bf11da81dc16f9199eb93320712299b8

What I want to accomplish is when the mouse hovers over a certain section the lit up part lights up that section. I cant make buttons that match the shape of the selection so I cant light up an area when its hovered over. Any ideas on how to make this happen?

1 comment

0

Sorry, its wrong site for u. this site for helping with scripting not for giving ideas.

1 answer

Use MouseHoverEnter function.

Example:

script.Parent.MouseEnter:Connect(function()
	script.Parent.BackgroundTransparency = 1
end)

script.Parent.MouseLeave:Connect(function()
	script.Parent.BackgroundTransparency = 0
end)

When the mouse enters the button, it will change the transparency to 1, when it leaves, it changes it to 0.

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