|
| 24 Jul 2011 10:17 AM |
parts = game.Lighting.Track bin = script.Parent
function onButton1Down(mouse) target = mouse.Target if target and target.Name == "Guide" then local track = game.Lighting.Track:Clone() track.Parent = workspace track:MoveTo(target.Position) track.CFrame = target.CFrame target:remove() end
end
function onSelected(mouse) mouse.Button1Down:connect(function() onButton1Down(mouse) end)
end
bin.Selected:connect(onSelected)
--the output is the title of this thread by the way-- |
|
|
| Report Abuse |
|
|
Biostream
|
  |
| Joined: 28 Mar 2011 |
| Total Posts: 913 |
|
|
| 24 Jul 2011 10:17 AM |
| This is like the third time you created a thread on this. |
|
|
| Report Abuse |
|
|
|
| 24 Jul 2011 10:18 AM |
| Note: 'Track' is a model. 'Target' is a brick. |
|
|
| Report Abuse |
|
|
|
| 24 Jul 2011 10:18 AM |
Models don't have a CFrame property.
</thread>
-My hand is a dolphin |
|
|
| Report Abuse |
|
|
|
| 24 Jul 2011 10:19 AM |
| Well, no one bothered to help me! |
|
|
| Report Abuse |
|
|
|
| 24 Jul 2011 10:20 AM |
| Well, then how do I CFrame a model? Just like the 'Target' is CFramed? |
|
|
| Report Abuse |
|
|
|
| 24 Jul 2011 10:20 AM |
Then bump the original thread in the future.
Also, I believe I said:
</thread>
-My hand is a dolphin |
|
|
| Report Abuse |
|
|
| |
|
|
| 24 Jul 2011 10:23 AM |
Look up "HTML closing tag".
-My hand is a dolphin |
|
|
| Report Abuse |
|
|
| |
|
|
| 24 Jul 2011 10:26 AM |
bump Can someone actually take time to help! THIS IS THE SCRIPTING FORUM! I"VE BEEN WAITING 2 DAYS FOR HELP!! |
|
|
| Report Abuse |
|
|
| |
|
| |
|
|
| 24 Jul 2011 11:04 AM |
You cant CFrame Whole Models. You can indeed weld them, which is simmiliar.
Look up welding on the Internetz
< /thread> < Lock Thread> Please lock it. |
|
|
| Report Abuse |
|
|
cheez55
|
  |
| Joined: 19 Oct 2008 |
| Total Posts: 646 |
|
|
| 24 Jul 2011 11:08 AM |
| Model:MoveTo(Vector3.new(?,?,?)) |
|
|
| Report Abuse |
|
|
| |
|
|
| 24 Jul 2011 11:17 AM |
| Told me what? No one really help me. |
|
|
| Report Abuse |
|
|
|
| 24 Jul 2011 11:18 AM |
@cheez I'm not going to do that because 'Track' should already cframe like 'Guide' you've licked on. I've said like a million times already! |
|
|
| Report Abuse |
|
|
| |
|
|
| 24 Jul 2011 11:37 AM |
"You cant CFrame Whole Models. You can indeed weld them, which is simmiliar."
Read it :L |
|
|
| Report Abuse |
|
|
|
| 24 Jul 2011 11:37 AM |
| DX I want this to work though. |
|
|
| Report Abuse |
|
|
Snej1
|
  |
| Joined: 25 Jun 2008 |
| Total Posts: 809 |
|
|
| 24 Jul 2011 12:10 PM |
You can not CFrame a model
Use MoveTo() instead. I have not tested this so I don't know if there are more errors.
parts = game.Lighting.Track bin = script.Parent
function onButton1Down(mouse) target = mouse.Target if target and target.Name == "Guide" then local track = game.Lighting.Track:Clone() track.Parent = workspace track:MoveTo(target.Position) target:remove() end
end
function onSelected(mouse) mouse.Button1Down:connect(function() onButton1Down(mouse) end)
end
bin.Selected:connect(onSelected) |
|
|
| Report Abuse |
|
|
|
| 24 Jul 2011 12:25 PM |
You can cframe a model.
http://www.roblox.com/Model-CFrame-Function-item?id=34044376 |
|
|
| Report Abuse |
|
|
|
| 24 Jul 2011 12:50 PM |
That's pseudo. It probably loops through an object's children and CFrames them in relation to the other parts.
-My hand is a dolphin |
|
|
| Report Abuse |
|
|
|
| 24 Jul 2011 01:02 PM |
DUDE QUIT BUMPING WE ALREADY TOLD YOU ':MoveTo(Vector3.new(?,?,?))' or WELD THEM
NOW GET OUT AND FIX IT ON YOUR OWN
Sorry if I sounded rude, but I have to state the truth in capitals because SOMEBODY CANT READ POSTS |
|
|
| Report Abuse |
|
|