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: Help Please. (Clone+Player+Weld)

Previous Thread :: Next Thread 
GuestCapone is not online. GuestCapone
Joined: 19 Oct 2012
Total Posts: 1928
22 Jan 2013 10:49 PM
Tool = script.Parent

function onEquippedLocal(mouse)

if mouse == nil then
print("Mouse not found")
return
end

print("Equipped, Making arms.")
arms = {Tool.Parent:FindFirstChild("Left Arm"), Tool.Parent:FindFirstChild("Right Arm")}
--local weld1 = Instance.new("Weld") -- left arm
falsearm1 = arms[1]:clone()
local mesh1 = Instance.new("BlockMesh")
mesh1.Scale = Vector3.new(.9,.9,.9)
mesh1.Parent = falsearm1 -- and this
local armweld1 = Instance.new("Weld")
falsearm1.BrickColor = BrickColor.new(26)
falsearm1.Parent = Tool
armweld1.Parent = falsearm1
armweld1.Part0 = falsearm1
armweld1.Part1 = arms[1]

falsearm2 = arms[2]:clone()
local mesh2 = Instance.new("BlockMesh")
mesh2.Scale = Vector3.new(.9,.9,.9)
mesh2.Parent = falsearm2
local armweld2 = Instance.new("Weld")
falsearm2.BrickColor = BrickColor.new(26)
falsearm2.Parent = Tool
armweld2.Parent = falsearm2
armweld2.Part0 = falsearm2
armweld2.Part1 = arms[2]
end

Tool.Equipped:connect(onEquippedLocal)

I'm not getting any response nor output from this LocalScript thats in a tool, I've been trying to make this work for about 2 weeks, this is about my 10th re-make for this script.
Report Abuse
jrf2112 is not online. jrf2112
Joined: 29 Jun 2008
Total Posts: 3354
22 Jan 2013 11:08 PM
How can you be sure the script runs in the first place?
Report Abuse
jrf2112 is not online. jrf2112
Joined: 29 Jun 2008
Total Posts: 3354
22 Jan 2013 11:19 PM
Btw, Psychowaffle? Dude, he's cool. I know the guy.
Report Abuse
GuestCapone is not online. GuestCapone
Joined: 19 Oct 2012
Total Posts: 1928
22 Jan 2013 11:21 PM
How did you know about him 0.0...

anyways, thats why I'm here.. I got 0 clue if it will work since i can't get the [Block] thing to respond at all.
Report Abuse
jrf2112 is not online. jrf2112
Joined: 29 Jun 2008
Total Posts: 3354
22 Jan 2013 11:26 PM
It's obviously a problem with the tool. Try not using a localscript, and see if that changes anything.
Report Abuse
GuestCapone is not online. GuestCapone
Joined: 19 Oct 2012
Total Posts: 1928
22 Jan 2013 11:32 PM
Tried it, nothing changes.
:l

I'll just skip this for a few months. -_-
Report Abuse
jrf2112 is not online. jrf2112
Joined: 29 Jun 2008
Total Posts: 3354
22 Jan 2013 11:38 PM
I saw it on your page, and psycho waffle is a gud friend of mine. He's liek, kule and stueff.

It's not a problem with the script, if you aren't getting any output. Your tool isn't made properly.
Report Abuse
GuestCapone is not online. GuestCapone
Joined: 19 Oct 2012
Total Posts: 1928
22 Jan 2013 11:39 PM
Just like the 10 other trys.

:(

I'm not even gonna work on this type of script anymore. RAGE DELETE!
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