Here is my code so far
MousePos=Mouse:CurrentPosition()
function Build()
newBlock = game.Lighting.Block:clone()
newBlock.Position.Vector3.new(MousePos)
end
while true do
Mouse1.down:connect(Build)
end
What my code is trying to do is once you click, It clones my block in lighting, And makes it to the current mouse position Note: Im a rookie.

20 comments
Thank you
It's not working! D:
Answer is edited
Still dosent work
Hmm, Wierd, It is'nt working
There, this should work. Sorry, a bit rusty.
It's ok, I understand about your problems
Found your problem: Mouse for some strange reason is a nil value.
It works for me. The mouse tag is lowercase, by the way.
i know, mouse is a nil value, Let me actully add a baseplate, Its probbaly because there are Terrain blocks only
Okay, let me know how that works.
Alright, It fixed mouse being a nil value, But, Now its having Line 8's problem, clone = part:clone()
Make sure you have a part in Lighting, and change the first line accordingly. :FindFIrstChild("Your Part Here")
Nevermind, The part was not named Your part here, It was named block and FindFirstChild Was Your part here
I thought so :-P
Well it works now, Thanks for the help
My pleasure, sir.
Works in studio debug game mode, But not pressing the play button
Very odd indeed.
Can you fix it drak?