local repStorage = game:GetService ("ReplicatedStorage") local remote = repStorage:FindFirstChild("ButtonClick")

remote.OnServerEvent:Connect(function(plr, x) x.Value = x.Value + 1 end)?

4 comments

1

You put a question mark at the end.

1

question marks are not Lua symbols

1

it's that simple

0

uh lol i didnt even notice that , OMG i was so dumb back then