I’m very new to making plugins and I want to make a weld plugin as practice. How would I detect when I select parts with my mouse (or from the explorer)?
2 Likes
Selection:Get()
returns a table of selected objects in Roblox Studio. Here’s an example:
for _, v in ipairs(game:GetService("Selection"):Get()) do
--do welding stuff here
end
4 Likes