Help on disabling noclip for users [DarkRP]

So I have sbox_noclip set to one but I have this code from the wiki



local function DisableNoclip( ply )
	return ply:IsAdmin()
end
hook.Add( "PlayerNoClip", "DisableNoclip", DisableNoclip )


I like it, it works but the users can noclip for a split second and see through props or walls. I dont like that is there a way to prevent that without turning off server side noclip?

Make sure you’re running it on the client as well.

Oh right, thanks lmao.