Calsaris
|
  |
| Joined: 02 Sep 2012 |
| Total Posts: 23 |
|
|
| 07 Aug 2013 08:39 AM |
| I want a script to turn tank head (cannon) to left or right . please help |
|
|
| Report Abuse |
|
|
|
| 07 Aug 2013 08:42 AM |
game.Workspace.Tank.Cannon:Turn(Left) game.Workspace.Tank.Cannon:Turn(Right) |
|
|
| Report Abuse |
|
|
Calsaris
|
  |
| Joined: 02 Sep 2012 |
| Total Posts: 23 |
|
|
| 07 Aug 2013 08:50 AM |
| thank you but how to set button for this? |
|
|
| Report Abuse |
|
|
| |
|
Trioxide
|
  |
| Joined: 29 Mar 2011 |
| Total Posts: 32902 |
|
|
| 07 Aug 2013 08:53 AM |
game.Players.MyPlayer:GetMouse().KeyDown:connect(function(key) if key == "left arrow" then game.Workspace.Tank.Cannon:Turn(Left) elseif key == "right arrow" then game.Workspace.Tank.Cannon:Turn(Right) end end)
there you go :)
I disabled my siggy. |
|
|
| Report Abuse |
|
|
|
| 07 Aug 2013 08:54 AM |
@Trioxide:
...What?
game.ButtonService:SetKey(KeyQ, game.Workspace.Tank.Cannon:Turn(Left)) game.ButtonService:SetKey(KeyE, game.Workspace.Tank.Cannon:Turn(Right)) |
|
|
| Report Abuse |
|
|
Trioxide
|
  |
| Joined: 29 Mar 2011 |
| Total Posts: 32902 |
|
|
| 07 Aug 2013 08:54 AM |
thats a way too
I disabled my siggy. |
|
|
| Report Abuse |
|
|
|
| 07 Aug 2013 09:06 AM |
| Do you even LAU, Trioxide? |
|
|
| Report Abuse |
|
|
Calsaris
|
  |
| Joined: 02 Sep 2012 |
| Total Posts: 23 |
|
|
| 07 Aug 2013 09:06 AM |
can you make this ? http://www.roblox.com/Red-Tank-item?id=42168446 |
|
|
| Report Abuse |
|
|
Calsaris
|
  |
| Joined: 02 Sep 2012 |
| Total Posts: 23 |
|
|
| 07 Aug 2013 09:07 AM |
can you make this with turning cannon? http://www.roblox.com/Red-Tank-item?id=42168446 |
|
|
| Report Abuse |
|
|
| |
|
Wheatlies
|
  |
| Joined: 30 Jun 2010 |
| Total Posts: 230 |
|
|
| 07 Aug 2013 09:09 AM |
Wow guys, way to help him. They're just being mean, none of those scripts will work. To make a cannon turn left or right you would give it velocity in one direction or the other. However, this forum is for fixing scripts, not making them. |
|
|
| Report Abuse |
|
|
Calsaris
|
  |
| Joined: 02 Sep 2012 |
| Total Posts: 23 |
|
| |
|
|
| 07 Aug 2013 09:11 AM |
No, I wont.
"However, this forum is for fixing scripts, not making them."
Exactly. |
|
|
| Report Abuse |
|
|
Absurdism
|
  |
| Joined: 18 Jul 2013 |
| Total Posts: 2568 |
|
|
| 07 Aug 2013 09:27 AM |
BasePart.Turn = (function(arg) if (arg == 'Left') then turn left else then turn right end end)
BasePart.Turn('Left') |
|
|
| Report Abuse |
|
|
Calsaris
|
  |
| Joined: 02 Sep 2012 |
| Total Posts: 23 |
|
|
| 07 Aug 2013 10:21 AM |
| please use another button. |
|
|
| Report Abuse |
|
|
Calsaris
|
  |
| Joined: 02 Sep 2012 |
| Total Posts: 23 |
|
| |
|
|
| 07 Aug 2013 10:27 AM |
i tested it, they all work fine. i don't know what's wrong with what you're doing though calsaris. |
|
|
| Report Abuse |
|
|
Calsaris
|
  |
| Joined: 02 Sep 2012 |
| Total Posts: 23 |
|
| |
|
Calsaris
|
  |
| Joined: 02 Sep 2012 |
| Total Posts: 23 |
|
| |
|
Calsaris
|
  |
| Joined: 02 Sep 2012 |
| Total Posts: 23 |
|
|
| 08 Aug 2013 07:57 PM |
| I Swear who Help me to Make it , I will give him 25 tix |
|
|
| Report Abuse |
|
|
|
| 08 Aug 2013 08:00 PM |
| dang 25 tix I so wanna help him |
|
|
| Report Abuse |
|
|
Calsaris
|
  |
| Joined: 02 Sep 2012 |
| Total Posts: 23 |
|
| |
|
|
| 08 Aug 2013 08:03 PM |
LOL! 25 tix is cheap, i get 150 tix a day.
I could help you for free if needed, I'm not all the best scripter, but these guys are being mean.
~AgentWaffle~ |
|
|
| Report Abuse |
|
|
| |
|