kirby882
|
  |
| Joined: 30 Sep 2008 |
| Total Posts: 2399 |
|
|
| 23 Aug 2013 10:30 PM |
Ok the Gun system I use only require one person to operate. The problem with this gun system is that if you make the Barrel too long, it glitches the tank into Oblivion(Just a white screen). What do you think the problem could be. I know it's something to do with this because I was working with IFV's where the Barrel is short.
|
|
|
| Report Abuse |
|
|
Usering
|
  |
| Joined: 18 Aug 2012 |
| Total Posts: 10281 |
|
| |
|
kirby882
|
  |
| Joined: 30 Sep 2008 |
| Total Posts: 2399 |
|
|
| 23 Aug 2013 10:34 PM |
model = script.Parent.Parent.Parent backup = model:clone() local debounce = false
function onTouch(part) if (part.Name == "Safe") and (debounce == false) and (script.Parent.Count.Value == 0) then debounce = true wait(2) model = backup:clone() model.Parent = game.Workspace model:makeJoints() script.Parent.Count.Value = 1 debounce = false end end script.Parent.Touched:connect(onTouch) |
|
|
| Report Abuse |
|
|
Usering
|
  |
| Joined: 18 Aug 2012 |
| Total Posts: 10281 |
|
|
| 24 Aug 2013 06:06 PM |
model = script.Parent.Parent.Parent backup = model:Clone() debounce = false
script.Parent.Touched:connect(function(hit) if hit.Name == "Safe" and not debounce and script.Parent.CountValue == 0 then debounce = true backup.Parent = workspace backup:MakeJoints() --Capitalization matters wait(2) debounce = false end end) |
|
|
| Report Abuse |
|
|
kirby882
|
  |
| Joined: 30 Sep 2008 |
| Total Posts: 2399 |
|
|
| 24 Aug 2013 08:21 PM |
| Thank you but I just mesh edited the Barrel. I'll try this any ways. |
|
|
| Report Abuse |
|
|