Anyone can help me in script

Hello devforum Peoples , i need help
Like On workspace Box with Part who push put in button part
pushed it hold will opening gate anyone know?

From what I can understand, you want to push the block to the button and open a gate? If so you can use something like this:

local button = script.Parent
local box = workspace.box -- change this to your box
local gate = workspace.gate -- change this to your gate

button.Touched:Connect(function(hit)
	if hit and hit == box then
		gate:Destroy()
	end
end)

This is a very simple script to detect whenever the box touches the button, let me know if you need anymore help.

not Touched like hold Button Pushed button make down

Ah, then use this instead.

local button = script.Parent
local box = workspace.box -- change this to your box
local gate = workspace.gate -- change this to your gate

button.Touched:Connect(function(hit)
	if hit and hit == box then
		gate.CanCollide = false
		gate.Transparency = 1
	end
end)

button.TouchEnded:Connect(function(hit)
	if hit and hit == box then
		gate.CanCollide = true
		gate.Transparency = 0
	end
end)