letris
|
  |
| Joined: 17 Dec 2012 |
| Total Posts: 572 |
|
|
| 10 Apr 2017 02:48 PM |
local coin = game.workspace.coin:Clone() coin.Parent = script.Parent coin.Position = Vector3.new(script.Parent.Position)
what is wrong here... i have no idea why this isnt working, the part isnt going to the specified position |
|
|
| Report Abuse |
|
|
devHoodie
|
  |
| Joined: 04 Nov 2008 |
| Total Posts: 30332 |
|
|
| 10 Apr 2017 02:50 PM |
coin.Parent = script.Parent.Parent
do that
r+://487783315r+://467523707r+://215869124 |
|
|
| Report Abuse |
|
|
letris
|
  |
| Joined: 17 Dec 2012 |
| Total Posts: 572 |
|
| |
|
CallMeKY
|
  |
| Joined: 07 Dec 2014 |
| Total Posts: 63 |
|
| |
|
letris
|
  |
| Joined: 17 Dec 2012 |
| Total Posts: 572 |
|
|
| 10 Apr 2017 02:52 PM |
^already tried, i get this error:
Workspace.powerupspawn.Script:5: bad argument #3 to 'Position' (Vector3 expected, got CFrame) |
|
|
| Report Abuse |
|
|
letris
|
  |
| Joined: 17 Dec 2012 |
| Total Posts: 572 |
|
|
| 10 Apr 2017 02:54 PM |
i found out how to fix it, but i dont see why it wasnt working before, but it worked with this: coin.Position = Vector3.new(script.Parent.Position.x,script.Parent.Position.y,script.Parent.Position.z) |
|
|
| Report Abuse |
|
|
|
| 10 Apr 2017 02:55 PM |
| coin.CFrame = CFrame.new(script.Parent.Position) |
|
|
| Report Abuse |
|
|
devHoodie
|
  |
| Joined: 04 Nov 2008 |
| Total Posts: 30332 |
|
|
| 10 Apr 2017 02:55 PM |
coin.CFrame = script.Parent.CFrame
r+://487783315r+://467523707r+://215869124 |
|
|
| Report Abuse |
|
|
letris
|
  |
| Joined: 17 Dec 2012 |
| Total Posts: 572 |
|
|
| 10 Apr 2017 02:56 PM |
| ^ah thats right... i didnt even think of that |
|
|
| Report Abuse |
|
|