Craftero
|
  |
| Joined: 24 Jun 2011 |
| Total Posts: 1451 |
|
|
| 02 Jan 2016 10:41 AM |
I'm looking for an alternative to anchoring every BasePart in the Player's Character, as it's laggy when I anchor everything individually. I'm basically trying to freeze a character at a keyframe of an animation, but I'm failing to do so succesfully.
Is there a main Part that I can anchor and everything else is frozen in it's current postion too?
Here's the anchoring part of the script I'm working on:
for i, v in pairs(game.Players.LocalPlayer.Character:GetChildren()) do if v:IsA("BasePart") then v.Anchored = false end end |
|
|
| Report Abuse |
|
|
|
| 02 Jan 2016 10:43 AM |
| Well, I suppose you could anchor the player's torso and disable the animation script within his character. |
|
|
| Report Abuse |
|
|
Craftero
|
  |
| Joined: 24 Jun 2011 |
| Total Posts: 1451 |
|
|
| 02 Jan 2016 11:09 AM |
I'll give that a try, although I'm not sure it will work.
Any other suggestions? |
|
|
| Report Abuse |
|
|
Craftero
|
  |
| Joined: 24 Jun 2011 |
| Total Posts: 1451 |
|
| |
|
Craftero
|
  |
| Joined: 24 Jun 2011 |
| Total Posts: 1451 |
|
|
| 02 Jan 2016 11:40 AM |
@TheBenSquare
That idea didn't work, unfortunately. The player's arms and legs don't stay where they're supposed to be.
Does anybody have any other suggestions? I'd really appreciate them. |
|
|
| Report Abuse |
|
|
cbhusker
|
  |
| Joined: 07 Feb 2011 |
| Total Posts: 517 |
|
|
| 02 Jan 2016 12:30 PM |
game.Players.LocalPlayer.Character.WalkSpeed = 0
print("Hello World!") |
|
|
| Report Abuse |
|
|