So I made a code that should print "hi" but it doesn't work. I think I done it well. Why doesn't work? Pls help.
not sure if you still need help but they seems to be a mini change for it you get
script.Parent.MouseButton1Click:Connect(function() end
you don't want that you want to use that you want to use
script.Parent.MouseButton1Click:Connect(function() end)
then you put the code in Line 2
Just do
script.Parent.Buy.MouseButton1Click:Connect(function() print("hi")