Hey! Be sure to accept killertybear's answer rather than changing the title to answered. That way he/she gets site credit for doing so. Thank you.User#187180— 6y
Have a function that activates after a click is detected
function click()
local part = Instance.new("Part")
--set the instance.new ("part") properties here
end
game.Workspace.Part.ClickDetector.MouseClick:connect(click)