xlaser23
|
  |
| Joined: 10 Dec 2011 |
| Total Posts: 20341 |
|
|
| 15 Aug 2015 08:15 PM |
Output is Players.Player.Backpack.Tool.Script:23: bad argument #3 to 'Position' (Vector3 expected, got Object)
wtf?
Great Glob and Apple Sauce |
|
|
| Report Abuse |
|
|
76km
|
  |
| Joined: 14 Aug 2015 |
| Total Posts: 5455 |
|
|
| 15 Aug 2015 08:18 PM |
| Code from line 24 of script in tool please. |
|
|
| Report Abuse |
|
|
|
| 15 Aug 2015 08:20 PM |
Umm well it says it got an object so you prob did
workspace.Part.Position = workspace.Part2
instead of doing
workspace.Part.Position = workspace.Part2.Position
You like Clash of Clans? Play this developing masterpiece by Domini Studios http://www.roblox.com/games/282763164/Clash-of-Bloxians-Beta scripted by yours truly |
|
|
| Report Abuse |
|
|
xlaser23
|
  |
| Joined: 10 Dec 2011 |
| Total Posts: 20341 |
|
|
| 15 Aug 2015 08:23 PM |
function shoot() local ball = Instance.new("Part") ball.Shape = "Ball" ball.BottomSurface = "Smooth" ball.TopSurface = "Smooth" ball.Size = Vector3.new (1.21, 1.21, 1.21) ball.Name = "Bullet" ball.Parent = game.Workspace ball.Position = tool.Handle print('GO!') end
tool.Activated:connect(shoot)
Great Glob and Apple Sauce |
|
|
| Report Abuse |
|
|
| |
|
xlaser23
|
  |
| Joined: 10 Dec 2011 |
| Total Posts: 20341 |
|
|
| 15 Aug 2015 08:26 PM |
.-.
Great Glob and Apple Sauce |
|
|
| Report Abuse |
|
|
76km
|
  |
| Joined: 14 Aug 2015 |
| Total Posts: 5455 |
|
|
| 15 Aug 2015 08:26 PM |
tool.Handle.Position, genius. lol
or you could do
tool.handle.Position + (0, 4, 0)
wait will that even work? |
|
|
| Report Abuse |
|
|
xlaser23
|
  |
| Joined: 10 Dec 2011 |
| Total Posts: 20341 |
|
|
| 15 Aug 2015 08:26 PM |
well ty
i was more focus on making my tool shoot
Great Glob and Apple Sauce |
|
|
| Report Abuse |
|
|
76km
|
  |
| Joined: 14 Aug 2015 |
| Total Posts: 5455 |
|
|
| 15 Aug 2015 08:27 PM |
| well you did specify the code, only to insert a part where handle is. |
|
|
| Report Abuse |
|
|
xlaser23
|
  |
| Joined: 10 Dec 2011 |
| Total Posts: 20341 |
|
|
| 15 Aug 2015 08:28 PM |
tool.Handle.Position + Vector3.new (0, 4, 0)*
Great Glob and Apple Sauce |
|
|
| Report Abuse |
|
|