game.ReplicatedStorage.Clicked.OnServerEvent:Connect(function(plr, tool)

	tool:Destroy()
	print("Clicked")
	script.Parent.Transparency = 0
	script.Parent.Parent.Glass.Anchored = false


end)

the only thing that work is line 3 and line 4 idk why and nothing on output just "Clicked"

1 comment

0

how are you calling this event?, the script looks ok. Though might need to move tool:destroy() to the end before the closing end) statement.