Alright so i have a billboard gui that's supposed to appear to one player if they hover their mouse over a click detector on a part. Here's the local script
local event1 = script.Parent.Parent:WaitForChild("GuiEvent1") local event2 = script.Parent.Parent:waitForChild("GuiEvent2") event1.OnClientEvent:Connect(function(player) script.Parent.Parent.BillboardGui.Enabled = true end) event2.OnClientEvent:Connect(function(player) script.Parent.Parent.BillboardGui.Enabled = false end)
aand here's the server script
local event = Instance.new("RemoteEvent") event.Parent = script.Parent.Parent event.Name = "GuiEvent1" local event2 = Instance.new("RemoteEvent") event2.Parent = script.Parent.Parent event2.Name = "GuiEvent2" script.Parent.MouseHoverEnter:Connect(function(player) print("Good") event:FireClient(player) end) script.Parent.MouseHoverLeave:Connect(function(player) print("Also Good") event2:FireClient(player) end)
i do get the prints.