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
 

Re: onEquipped

Previous Thread :: Next Thread 
thek00lkid is not online. thek00lkid
Joined: 18 Jun 2011
Total Posts: 2778
05 May 2012 03:25 PM
Problem: When I equip, the output says: Maximum even re-entry depth reached, and the tool simply drops onto the ground never to even reach the player's arms. One question: WHY!!!

function onEquip(m)
Mouse = m
w1 = Instance.new("Weld",game.Players.LocalPlayer.Character:FindFirstChild("Torso"))
w1.Part0 = w1.Parent
w1.Part1 = w1.Parent.Parent:FindFirstChild("Right Arm")
w1.C1 = CFrame.new(-1.5,0.5,0.5) * CFrame.Angles(math.pi*1.55,-0.35,0)
w2 = Instance.new("Weld",game.Players.LocalPlayer.Character:FindFirstChild("Torso"))
w2.Part0 = w2.Parent
w2.Part1 = w2.Parent.Parent:FindFirstChild("Left Arm")
w2.C1 = CFrame.new(1.5,0.5,0.5) * CFrame.Angles(math.pi*1.55,0.85,0)
Mouse.Button1Down:connect(Click)
Mouse.KeyDown:connect(onKeyDown)
Mouse.KeyUp:connect(onKeyUp)
end

script.Parent.Equipped:connect(onEquip)
Report Abuse
thek00lkid is not online. thek00lkid
Joined: 18 Jun 2011
Total Posts: 2778
05 May 2012 03:41 PM
Must I bump all my threads?
Report Abuse
thek00lkid is not online. thek00lkid
Joined: 18 Jun 2011
Total Posts: 2778
05 May 2012 04:11 PM
...
Report Abuse
thek00lkid is not online. thek00lkid
Joined: 18 Jun 2011
Total Posts: 2778
05 May 2012 04:30 PM
Does anyone script tools?
Report Abuse
thek00lkid is not online. thek00lkid
Joined: 18 Jun 2011
Total Posts: 2778
05 May 2012 04:36 PM
I yelp for help...
Report Abuse
thek00lkid is not online. thek00lkid
Joined: 18 Jun 2011
Total Posts: 2778
05 May 2012 06:41 PM
Bump...
Report Abuse
thek00lkid is not online. thek00lkid
Joined: 18 Jun 2011
Total Posts: 2778
05 May 2012 06:47 PM
Has anyone read this?
Report Abuse
thek00lkid is not online. thek00lkid
Joined: 18 Jun 2011
Total Posts: 2778
05 May 2012 07:11 PM
I am deeply insulted...
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