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?
All I did was add "" - quotations.
Hope this resolves the issue.
script.Parent.MouseButton1Click:connect() part = Instance.new("Part") part.Name = "SmokeButton" -- use quotations smoke = Instance.new("Smoke", game.Workspace:WaitForChild("SmokeButton")) part.Position = Vector3.new(-209.5, 15.5, 0.6)