This script is not working too well, anyone know how to fix?
local Players = game:GetService("Players") local Player = Players.LocalPlayer local PlayerGui = Player:WaitForChild("PlayerGui") local Gui = PlayerGui.Inv local Test1 = script.Parent Test1.MouseEnter:Connect(function() Test1.Visible = false end) Test1.MouseLeave:Connect(function() Test1.Visible = true end)
You are setting the values wrongly!
local Players = game:GetService("Players") local Player = Players.LocalPlayer local PlayerGui = Player:WaitForChild("PlayerGui") local Gui = PlayerGui.Inv local Test1 = script.Parent Test1.MouseEnter:Connect(function() Test1.Visible = true end) Test1.MouseLeave:Connect(function() Test1.Visible = false end)
If this helped, mark this as answered :p
Closed as Non-Descriptive by hiimgoodpack and BlackOrange3343
This question has been closed because its title or content does not adequately describe the problem you are trying to solve.
Please ensure that your question pertains to your actual problem, rather than your attempted solution. That is, you were trying to solve problem X, and you thought solution Y would work, but instead of asking about X when you ran into trouble, you asked about Y.
Why was this question closed?