script.Parent.Selected:connect(function(m)
print("hey")
x = Instance.new("Part", game.Workspace)
x.CFrame = m.Hit
end)
I think i'm not using the right property or something, help please?
script.Parent.Selected:connect(function(m)
print("hey")
x = Instance.new("Part", game.Workspace)
x.CFrame = m.Hit
end)
I think i'm not using the right property or something, help please?
script.Parent.Selected:connect(function(m)
m.Button1Down:connect(function()
print("hey")
x = Instance.new("Part", game.Workspace)
x.CFrame = m.Hit
end)
end)
This discussion is preserved as it was. New answers, comments, and votes are closed.
3 comments
its not fixed, I think I used the wrong event but whenever I click when I am using the tool its supposed to create a brick. The script you provided, only creates a brick when its selected. Thanks for the help but anything else you can recommend?
Sorry, I misunderstood your question. Fixed the answer.
Thanks so much, sorry for the confusion :D