of     1   

Inspectial
#140472756Wednesday, July 16, 2014 1:45 AM GMT

21:44:17.617 - Workspace.Part.Script:5: attempt to perform arithmetic on global 'z' (a nil value) I don't know how to define z. I have also tried: part_pos = script.Parent.Position(x,y,z) part = script.Parent part_pos = script.Parent.Position function onClick(hit) part_pos(x,y,z+10) end script.Parent.ClickDetector.MouseClick:connect(onClick)
FertileTurtle
#140472971Wednesday, July 16, 2014 1:47 AM GMT

part = script.Parent part_pos = script.Parent.Position function onClick(hit) part.Position = part_pos + vector3.new(0,0,10) end script.Parent.ClickDetector.MouseClick:connect(onClick)
Inspectial
#140473172Wednesday, July 16, 2014 1:50 AM GMT

Works, but I can't click it more than once.
FertileTurtle
#140473214Wednesday, July 16, 2014 1:50 AM GMT

Vector3.new(0,0,10)
Inspectial
#140473404Wednesday, July 16, 2014 1:53 AM GMT

ik i did that cuz i saw it, but i can click it once then i can't click it anymore.
FertileTurtle
#140473460Wednesday, July 16, 2014 1:53 AM GMT

part = script.Parent function onClick(hit) part.Position = part.Position + vector3.new(0,0,10) end script.Parent.ClickDetector.MouseClick:connect(onClick)
Inspectial
#140473516Wednesday, July 16, 2014 1:54 AM GMT

Found something out with a grab tool! If I click it, it will move(without grab tool) then if i move it with the grab tool a little bit back, then it lets me click it again, but then it returns to the original part_pos
Inspectial
#140473594Wednesday, July 16, 2014 1:55 AM GMT

Works, THANKS :)

    of     1