|
| 15 Apr 2014 11:42 PM |
it wont clone it!
local SUV = Workspace.Car
position = Vector3.new(-330.040924, 27.4184589, 484.593018)
while true do wait(3) if SUV ~= position then wait(5) local ModelCopy = SUV:Clone() ModelCopy.Parent = Workspace print("pieeeeeeeeeee") else print("pie") end end
/ERROR: Signature.exe has stopped working |
|
|
| Report Abuse |
|
|
wazap
|
  |
| Joined: 29 Jun 2007 |
| Total Posts: 23234 |
|
|
| 15 Apr 2014 11:44 PM |
local SUV = Workspace.Car position = Vector3.new(-330.040924, 27.4184589, 484.593018)
if SUV ~= position
SUV is a model position is a vector3 it'll never ==
Also if SUV is deleted this script will error |
|
|
| Report Abuse |
|
|
|
| 15 Apr 2014 11:52 PM |
ugh i feel dumb
how do i find the position of the suv at all times like an active position so if that suv position doesnt equal position
it'll run the script
/ERROR: Signature.exe has stopped working |
|
|
| Report Abuse |
|
|
|
| 15 Apr 2014 11:55 PM |
nvm
would I do workspace.suv.position
/ERROR: Signature.exe has stopped working |
|
|
| Report Abuse |
|
|
|
| 15 Apr 2014 11:59 PM |
uhh
wat
i remember when scripting was a bit simpler
aka studio 2014 ruined some basic things in scripting
/ERROR: Signature.exe has stopped working |
|
|
| Report Abuse |
|
|
|
| 16 Apr 2014 12:04 AM |
okay i finally got it
but now
its cloning it but not at the position i want it to
its cloning it INSIDE of the car
/ERROR: Signature.exe has stopped working |
|
|
| Report Abuse |
|
|
wazap
|
  |
| Joined: 29 Jun 2007 |
| Total Posts: 23234 |
|
|
| 16 Apr 2014 12:28 AM |
Obviously.
do this local cloneitem = SUV:clone()
then clone the cloneitem instead of SUV |
|
|
| Report Abuse |
|
|
|
| 16 Apr 2014 12:29 AM |
| Eww wazap, why you no use findFirstChild, so if anything messes up the whole script does not break..? .-. |
|
|
| Report Abuse |
|
|
|
| 16 Apr 2014 12:31 AM |
guys I did it It's working but instead of cloning it perfectly, it clones it the way the car is facing so it would clone sideways if the car was facing sideways and then it leads to forever loop of clones
/ERROR: Signature.exe has stopped working |
|
|
| Report Abuse |
|
|
|
| 16 Apr 2014 12:33 AM |
also this is the new script local SUV = Workspace.SUV
position = Vector3.new(-187.100006, 7.21019936, -166.100006, 1, 0, 0, 0, 1, 0, 0, 0, 1)
local SUVposition = wait(3) Workspace.Car:GetModelCFrame()
while true do wait(3) if SUVposition ~= position then wait(5) local ModelCopy = SUV:Clone() ModelCopy.Parent = Workspace else print("pie") end end
/ERROR: Signature.exe has stopped working |
|
|
| Report Abuse |
|
|
|
| 16 Apr 2014 12:34 AM |
| Honestly I did not even read the script, I had just seen that silly little mistake wazzap made, ill read through it now. |
|
|
| Report Abuse |
|
|
|
| 16 Apr 2014 12:34 AM |
ugly ugly script >_<
but k
local SUV = Workspace.SUV
position = Vector3.new(-187.100006, 7.21019936, -166.100006, 1, 0, 0, 0, 1, 0, 0, 0, 1)
while true do wait(3) SUVposition = Workspace.Car:GetModelCFrame()--reassigning if SUVposition ~= position then wait(5) local ModelCopy = SUV:Clone() ModelCopy.Parent = Workspace ModelCopy:MoveTo(position)
else print("pie") end
idk |
|
|
| Report Abuse |
|
|
|
| 16 Apr 2014 12:36 AM |
bro u bad
you needed another end
scrub aweaiwenawienaw
/ERROR: Signature.exe has stopped working |
|
|
| Report Abuse |
|
|
|
| 16 Apr 2014 12:37 AM |
so I didn't copy the end
you seriously gonna call me a scrub?you came here for help,and I just gave you help..
not helping anymore,bai |
|
|
| Report Abuse |
|
|
|
| 16 Apr 2014 12:37 AM |
also it didnt work
again, its respawning the car sideways. not forwards
/ERROR: Signature.exe has stopped working |
|
|
| Report Abuse |
|
|
|
| 16 Apr 2014 12:38 AM |
that's cuz moveto moves it there,doesnt rotate..
model.MainPart.CFrame = othermodel.MainPart.CFrame |
|
|
| Report Abuse |
|
|
|
| 16 Apr 2014 12:42 AM |
wat
i've been working on this ONE script for 2 hours no one is helpful enough
and i suck at scripting and wiki is stoopid and im stoopid
/ERROR: Signature.exe has stopped working |
|
|
| Report Abuse |
|
|
wazap
|
  |
| Joined: 29 Jun 2007 |
| Total Posts: 23234 |
|
|
| 16 Apr 2014 01:12 AM |
@Main there were surely better ways of pointing that out?
Besides i dont recall making a single script And also if my line errors then there is no point in the script anyways
@OP calling someone a scrub after they help you isnt the best idea lelel
local SUV = Workspace.Car local itemtoclone = SUV:clone() position = Vector3.new(-330.040924, 27.4184589, 484.593018)
while true do wait(3) if (SUV:GetModelCFrame().p - position).magnitude > 10 then wait(5) local ModelCopy = itemtoclone:Clone() ModelCopy.Parent = Workspace SUV=ModelCopy while true do end print("The only true scrub is you OP") else print("game.Players.imperviousroblox:Kick()") end end |
|
|
| Report Abuse |
|
|