ninja5566
|
  |
| Joined: 14 Jan 2009 |
| Total Posts: 5233 |
|
|
| 07 Dec 2012 09:40 PM |
wait() script.Parent.Equipped:connect(function(lol) wait() c = Instance.new("Weld") c.Name = "BackWeld" c.C0 = CFrame.new(-1.3,1.8,0.5)*CFrame.Angles(-1.4,0,0.6) c.Parent = script.Parent.Parent c.Part0 = script.Parent.Parent["Right Arm"] c.Part1 = script.Parent.Handle script.Parent.Unequipped:connect(function(delete) c:Destroy() end) end) --------------------
Yes it's in a local script, simply when they equip the tool it will weld the sword on to there back, however it only does it sometimes. Like often i'll hit "1" and it the tool wont do anything.. Help? No errors.. |
|
|
| Report Abuse |
|
|
|
| 07 Dec 2012 09:42 PM |
You have to have some sort of brick in your tool for it to work properly.
Insert a brick into the tool, it welds automatically when you equip it.
|Paradoxical| I shun thy heathen, dost thou not know that flames will devour thy mind? |
|
|
| Report Abuse |
|
|
ninja5566
|
  |
| Joined: 14 Jan 2009 |
| Total Posts: 5233 |
|
|
| 07 Dec 2012 09:43 PM |
@MassiveGman
False information, it was working fine the other day. |
|
|
| Report Abuse |
|
|
|
| 07 Dec 2012 09:45 PM |
It isn't false, if you have a tool without a brick then the tool doesn't function.
I had the same problem when I made my first tool.
Why don't you attempt to do that before contradicting me like some child?
|Paradoxical| I shun thy heathen, dost thou not know that flames will devour thy mind? |
|
|
| Report Abuse |
|
|
ninja5566
|
  |
| Joined: 14 Jan 2009 |
| Total Posts: 5233 |
|
|
| 07 Dec 2012 09:46 PM |
| Wow your the one overreacting. God calm down. I do have a brick inside the tool, it has a weld script.. I insert my own weld script and it wont work. easy as that, it worked perfectly fine the other day, |
|
|
| Report Abuse |
|
|
|
| 07 Dec 2012 09:48 PM |
function Weldnow() local w1 = Instance.new("Weld") w1.Parent = script.Parent.Handle -- This is the original Handle. w1.Part0 = w1.Parent w1.Part1 = script.Parent.PARTNAME -- Change PARTNAME to your second part's name. w1.C1 = CFrame.fromEulerAnglesXYZ(0, 0, 0) * CFrame.new(0, 0, 0) local w2 = Instance.new("Weld") w2.Parent = script.Parent.Handle w2.Part0 = w1.Parent w2.Part1 = script.Parent.PARTNAME -- Change this to the third part's name. w2.C1 = CFrame.fromEulerAnglesXYZ(0, 0, 0) * CFrame.new(0, 0, 0) end script.Parent.Equipped:connect(Weldnow) script.Parent.Unequipped:connect(Weldnow) -------------
#roblox wiki
http://wiki.roblox.com/index.php/Tools
|Paradoxical| I shun thy heathen, dost thou not know that flames will devour thy mind? |
|
|
| Report Abuse |
|
|
ninja5566
|
  |
| Joined: 14 Jan 2009 |
| Total Posts: 5233 |
|
|
| 07 Dec 2012 09:49 PM |
| That's the same freaking script I had. |
|
|
| Report Abuse |
|
|
|
| 07 Dec 2012 10:02 PM |
^ Now you're overreacting. -.-" |
|
|
| Report Abuse |
|
|
ninja5566
|
  |
| Joined: 14 Jan 2009 |
| Total Posts: 5233 |
|
|
| 07 Dec 2012 10:06 PM |
| But it basically was.. and even if I used his script it still wont work. |
|
|
| Report Abuse |
|
|
ninja5566
|
  |
| Joined: 14 Jan 2009 |
| Total Posts: 5233 |
|
|
| 07 Dec 2012 10:11 PM |
| It's obviously a glitch, I made my weapon with a handle and inserted a good working reliable weld script, it still wont go behind my back -- sometimes it will. |
|
|
| Report Abuse |
|
|