By the way, this is a local script parented to a GUI button. The server-sided script works, it just won't fire on the client when you click.

script.Parent.MouseButton1Click:Connect(function()
	
	game:GetService("ReplicatedStorage"):WaitForChild("Remotes"):WaitForChild("BuyHouse"):FireServer()
	print("Fired")
	
end)

Any help would be appreciated!

5 comments

0

does it print fired when you click

0

No

0

i think the issue is the guibutton not working

0

good idea - the game is first person so for people to move the mouse i have a huge gui button that had Modal enabled

0

nevermind it didnt work