Answers for "creating new functions using script roblox"

Lua
1

creating new functions using script roblox

--loop
for _, Button in pairs(workspace.Buttons:GetChildren()) do
	--function
	Button.MouseButton1Click:Connect(funcion()
    	print(Button.Name, "Pressed!")
    end)
end
Posted by: Guest on August-13-2020

Browse Popular Code Answers by Language