Ok, so when a TextButton is pressed, I want this to execute: (This script is inside the TextButton)
script.Parent.MouseButton1Click:connect()
part = Instance.new("Part")
part.Name = SmokeButton
smoke = Instance.new("Smoke",game.Workspace.SmokeButton)
part.Position = -209.5, 15.5, 0.6
under part.Name = SmokeButton , there is a blue line under SmokeButton. Do I need to add an extra thing, like Enum with changing the Material?

2 comments
Part.Name = "SmokeButton" you need the 2 "" or ''
and in a text button you need a local script