|
| 18 Feb 2014 07:17 PM |
| I have tried welds but that isn't working at all for whatever reason. |
|
|
| Report Abuse |
|
|
|
| 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 |
|
|
|
| 18 Feb 2014 07:23 PM |
| Thanks for the idea. I'd "rep" you if there was an option to. |
|
|
| Report Abuse |
|
|
| |
|
| |
|
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
|
  |
| 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 |
|
|
|
| 18 Feb 2014 09:27 PM |
| I asked for ideas, not code I do not use other peoples code. |
|
|
| Report Abuse |
|
|
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
|
  |
| 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 |
|
|
|
| 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
|
  |
| 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 |
|
|
|
| 18 Feb 2014 09:35 PM |
| Anyways thanks, it is done. Thread closed. |
|
|
| Report Abuse |
|
|
|
| 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
|
  |
| Joined: 18 Apr 2008 |
| Total Posts: 11529 |
|
| |
|