Hello guys,
my SurfaceGUI button doesnt work when i hover my mouse over the spot where itll be visible
YES its top layer
YES its a button
but if i dont hover my mouse over it itll work like normal
script for functions:
local Title = script.Parent.Title
local Settings = script.Parent.Settings
local Achv = script.Parent.Achv
----Title----
local TweenService = game:GetService('TweenService')
local TweenTitle = TweenInfo.new(
0.5,
Enum.EasingStyle.Sine,
Enum.EasingDirection.Out,
0,
false,
0
)
Title.Play.MouseEnter:Connect(function()
print("Enter")
TweenService:Create(Title.Play, TweenTitle, {TextSize = 100}):Play()
end)
Title.Play.MouseLeave:Connect(function()
print("Leave")
TweenService:Create(Title.Play, TweenTitle, {TextSize = 80}):Play()
end)
Title.Play.MouseButton1Click:Connect(function()
Title.Visible = false
end)
script for vis (the intro):
game.ReplicatedStorage.LoadingDone.OnClientEvent:Connect(function()
--Group intro
task.wait(1)
script.Parent.Parent.Menu.Title.Visible = true
script.Parent:Destroy()
end)
ask me for anything abt scripts if you need it
heres clips for demo
not working (hovering over button)
working (not hover over button)