script.Parent.ClickDetector.MouseClick:Connect(function()
	script.Parent.Position = Vector3.new(-7, 0.5, 18)
end)
--script.parent = a brick

[Edit by JesseSong:] Please put in some effort before posting!

1 comment

0

You literally did nothing wrong. Why are you even posting this question?