Scripting Helpers is winding down operations and is now read-only. More info→
Ad
Log in to vote
0

How can i add particles in this local script ?

Asked by 9 years ago

-- In a LocalScript in StarterGui:

-- Create ScreenGui local screenGui = Instance.new("ScreenGui") screenGui.Parent = script.Parent

-- Create TextButton local textButton = Instance.new("TextButton") textButton.Parent = screenGui textButton.Position = UDim2.new(0, 50, 0, 200) textButton.Size = UDim2.new(0, 140, 0, 60) textButton.TextColor3 = BrickColor.White().Color textButton.Style = 2 textButton.Text = "Reset"

-- Bind function to button click textButton.MouseButton1Down:connect(function() --Just a simple particle i want

Answer this question