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: How should I get a characters arms to stop moving?

Previous Thread :: Next Thread 
flatline115 is not online. flatline115
Joined: 29 Jul 2013
Total Posts: 7826
18 Feb 2014 07:17 PM
I have tried welds but that isn't working at all for whatever reason.
Report Abuse
tentastic2 is not online. tentastic2
Joined: 03 May 2009
Total Posts: 241
18 Feb 2014 07:19 PM
Welds won't work.

Have a script that find's the characters animation and then remove it.

Or create a new animation script and remove the walking part in an animation. Have the script delete the old animation script and replace it with the new one.
Report Abuse
flatline115 is not online. flatline115
Joined: 29 Jul 2013
Total Posts: 7826
18 Feb 2014 07:23 PM
Thanks for the idea. I'd "rep" you if there was an option to.
Report Abuse
flatline115 is not online. flatline115
Joined: 29 Jul 2013
Total Posts: 7826
18 Feb 2014 09:08 PM
That didn't work.
Report Abuse
flatline115 is not online. flatline115
Joined: 29 Jul 2013
Total Posts: 7826
18 Feb 2014 09:20 PM
bump.
Report Abuse
xSIXx is not online. xSIXx
Joined: 06 Aug 2010
Total Posts: 9202
18 Feb 2014 09:23 PM
function FreezeArms(char)
local w = Instance.new("Weld")
w.Part0 = char.Torso

local ra = w:Clone()
ra.Name = "RS"
ra.Part1 = char["Right Arm"]
ra.C0 = torso["Right Shoulder"].C0
ra.C1 = torso["Right Shoulder"].C1

local la = w:Clone()
la.Name = "LS"
la.Part1 = char["Left Arm"]
la.C0 = torso["Left Shoulder"].C0
la.C1 = torso["Left Shoulder"].C1

ra.Parent, la.Parent = char.Torso, char.Torso
end

now just do this:

FreezeArms(game.Workspace.PlayerName)
Report Abuse
xSIXx is not online. xSIXx
Joined: 06 Aug 2010
Total Posts: 9202
18 Feb 2014 09:23 PM
derp, messed up

function FreezeArms(char)
torso = char.Torso

local w = Instance.new("Weld")
w.Part0 = torso

local ra = w:Clone()
ra.Name = "RS"
ra.Part1 = char["Right Arm"]
ra.C0 = torso["Right Shoulder"].C0
ra.C1 = torso["Right Shoulder"].C1

local la = w:Clone()
la.Name = "LS"
la.Part1 = char["Left Arm"]
la.C0 = torso["Left Shoulder"].C0
la.C1 = torso["Left Shoulder"].C1

ra.Parent, la.Parent = torso, torso
end

now just do this:

FreezeArms(game.Workspace.PlayerName)
Report Abuse
flatline115 is not online. flatline115
Joined: 29 Jul 2013
Total Posts: 7826
18 Feb 2014 09:27 PM
I asked for ideas, not code I do not use other peoples code.
Report Abuse
Bebee2 is not online. Bebee2
Joined: 17 May 2009
Total Posts: 3985
18 Feb 2014 09:27 PM
Shouldn't you remove the Part1s of the corresponding motors?
Report Abuse
xSIXx is not online. xSIXx
Joined: 06 Aug 2010
Total Posts: 9202
18 Feb 2014 09:29 PM
@Bebee

nope, they automatically removed when a new weld takes the part1.

@OP

"I asked for ideas, not code I do not use other peoples code."

... seriously?

ok then, use welds to freeze the arms.
Report Abuse
flatline115 is not online. flatline115
Joined: 29 Jul 2013
Total Posts: 7826
18 Feb 2014 09:31 PM
... seriously?
------------
Yes. I use my own code. And I personally hate when people ask me to write scripts for them so I don't want you or anybody else to do it for me.
Report Abuse
xSIXx is not online. xSIXx
Joined: 06 Aug 2010
Total Posts: 9202
18 Feb 2014 09:34 PM
you know, if you think using other people's code is bad, you are seriously misunderstanding programming.

this is pathetic:
1. using free models and then copying and pasting those garbage scripts in this forum section.
2. asking someone to basically make a game for you.

this is perfectly fine:
1. using some snippit someone in this forum gives you which performs a simple task.
Report Abuse
flatline115 is not online. flatline115
Joined: 29 Jul 2013
Total Posts: 7826
18 Feb 2014 09:35 PM
Anyways thanks, it is done. Thread closed.
Report Abuse
flatline115 is not online. flatline115
Joined: 29 Jul 2013
Total Posts: 7826
18 Feb 2014 09:36 PM
you know, if you think using other people's code is bad, you are seriously misunderstanding programming.
--------
No it is just a personal preference of mine. I am using it to suite a specific need. If I write it for what I exactly need then it ends up being more efficient in the long run
Report Abuse
jd678 is not online. jd678
Joined: 18 Apr 2008
Total Posts: 11529
18 Feb 2014 10:34 PM
Simply rename them
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