Lem0nzz2
|
  |
| Joined: 03 Jul 2014 |
| Total Posts: 211 |
|
|
| 10 Jan 2015 12:45 AM |
| Say I wanted to clone a model into workspace , from lighting , into the position of where the cursor/mouse is pointing at. How would I change the models position to the targets position? |
|
|
| Report Abuse |
|
|
chimmihc
|
  |
| Joined: 01 Sep 2014 |
| Total Posts: 17143 |
|
| |
|
Lem0nzz2
|
  |
| Joined: 03 Jul 2014 |
| Total Posts: 211 |
|
| |
|
chimmihc
|
  |
| Joined: 01 Sep 2014 |
| Total Posts: 17143 |
|
|
| 10 Jan 2015 01:01 AM |
| i made a script just for you come http://www.roblox.com/stuffs-place?id=200901907 |
|
|
| Report Abuse |
|
|
chimmihc
|
  |
| Joined: 01 Sep 2014 |
| Total Posts: 17143 |
|
| |
|
chimmihc
|
  |
| Joined: 01 Sep 2014 |
| Total Posts: 17143 |
|
|
| 10 Jan 2015 01:07 AM |
| if you didnt know i was joking, i didnt make a script for you |
|
|
| Report Abuse |
|
|
Lem0nzz2
|
  |
| Joined: 03 Jul 2014 |
| Total Posts: 211 |
|
|
| 10 Jan 2015 01:14 AM |
| You're a bit delusional. I didn't ask for a script bro, I just wanted help. Sometimes you just need to learn alittle bit of respect kid. |
|
|
| Report Abuse |
|
|
Lem0nzz2
|
  |
| Joined: 03 Jul 2014 |
| Total Posts: 211 |
|
|
| 10 Jan 2015 01:16 AM |
| If anyone else would respectfully guide me in the direction towards the answer I was looking for, I'd be very thankful. |
|
|
| Report Abuse |
|
|
RoAnt
|
  |
| Joined: 14 Jul 2008 |
| Total Posts: 16794 |
|
|
| 10 Jan 2015 01:22 AM |
http://wiki.roblox.com/index.php?title=API:Class/Tool/Equipped http://wiki.roblox.com/index.php?title=API:Class/Instance/Clone
Probably something like:
local modelClone = game.Lighting["Model"]:clone()
Tool.Equipped:connect(function(mouse) local mC = modelClone:clone() mC:MoveTo(mouse.Hit.p) end)
-- I'm not sure because I haven't touch ROBLOX Lua in almost 4 years |
|
|
| Report Abuse |
|
|
RoAnt
|
  |
| Joined: 14 Jul 2008 |
| Total Posts: 16794 |
|
|
| 10 Jan 2015 01:25 AM |
local modelClone = game.Lighting["Model"]:clone()
Tool.Equipped:connect(function(mouse)
mouse.Button1Down:connect(function() local mC = modelClone:clone() mC:MoveTo(mouse.Hit.p) end) end)
|
|
|
| Report Abuse |
|
|
chimmihc
|
  |
| Joined: 01 Sep 2014 |
| Total Posts: 17143 |
|
|
| 10 Jan 2015 01:56 AM |
http://www.roblox.com/stuffs-place?id=200901907
here i really made a script this time make sure to read the desc |
|
|
| Report Abuse |
|
|