How do I see if a client or server adds a object into workspace or other objects

I’m just wondering if I can check when a client adds a object into workspace or anything and when a server adds this

I want to kick a player if its added by the player using their exploit software or something and I want it to print Object add when its added by the server

For server, you should check this in a server script:

workspace.ChildAdded:Connect(function(child)

end)

I don’t think you can check if a client adds an instance since they do it locally. Even though you managed to do it, it’s exploitable.

I’ve tried that… I want it to kick a player when a player adds it themselves

Well, it’ll still be no use if you try to detect it on client, probably yeah you can use Remote Events, but the exploiter can just disconnect that event and let themselves off the hook

Could I like hide the event in ServerStorage or something?

No because the client cannot see server storage, you would have to put it in replicated storage so the server and client can see it.