TextButton.Activated never fires on the server

Hello. I was programming stuff until I discovered that TextButton.Activated never fires on the server. It does on the client though.
Video:


Server script:

script.Parent.Activated:Connect(function()
print("I have been clicked!")
end)

Question: is this an intended behaviour?

1 Like

Why are you handling UI on the server in the first place?

1 Like

Windows xp?
Also, you shouldn’t handle UI clicks on the Server, as you can’t. If you need to send data to the server from the client, use a LocalScript and RemoteEvents to send data to the server.

EDIT: BIG TYPO, MY MISTAKE, MEANT TO SAY ON THE SERVER NOT CLIENT.

1 Like

Yes. See this tutorial for a way to get the desired effect

That is an intended feature.

You need to handle ui clicks on the client and use remote events for sending the data to servers

1 Like

Isi t possible to activate it from the server?