generic image
Processing...
  • Games
  • Catalog
  • Develop
  • Robux
  • Search in Players
  • Search in Games
  • Search in Catalog
  • Search in Groups
  • Search in Library
  • Log In
  • Sign Up
  • Games
  • Catalog
  • Develop
  • Robux
   
ROBLOX Forum » Game Creation and Development » Scripting Helpers
Home Search
 

ROBLOX glitch?

Previous Thread :: Next Thread 
ninja5566 is not online. 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
MassiveGman is not online. MassiveGman
Joined: 23 Jan 2011
Total Posts: 2019
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 is not online. 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
MassiveGman is not online. MassiveGman
Joined: 23 Jan 2011
Total Posts: 2019
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 is not online. 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
MassiveGman is not online. MassiveGman
Joined: 23 Jan 2011
Total Posts: 2019
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 is not online. ninja5566
Joined: 14 Jan 2009
Total Posts: 5233
07 Dec 2012 09:49 PM
That's the same freaking script I had.
Report Abuse
TehChikenHater is not online. TehChikenHater
Joined: 11 Jun 2012
Total Posts: 497
07 Dec 2012 10:02 PM
^
Now you're overreacting. -.-"
Report Abuse
ninja5566 is not online. 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 is not online. 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
Previous Thread :: Next Thread 
Page 1 of 1
 
 
ROBLOX Forum » Game Creation and Development » Scripting Helpers
   
 
   
  • About Us
  • Jobs
  • Blog
  • Parents
  • Help
  • Terms
  • Privacy

©2017 Roblox Corporation. Roblox, the Roblox logo, Robux, Bloxy, and Powering Imagination are among our registered and unregistered trademarks in the U.S. and other countries.



Progress
Starting Roblox...
Connecting to Players...
R R

Roblox is now loading. Get ready to play!

R R

You're moments away from getting into the game!

Click here for help

Check Remember my choice and click Launch Application in the dialog box above to join games faster in the future!

Gameplay sponsored by:
Loading 0% - Starting game...
Get more with Builders Club! Join Builders Club
Choose Your Avatar
I have an account
generic image