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 » Scripters
Home Search
 

Re: Alternatives? Anchoring every BasePart of a Player.

Previous Thread :: Next Thread 
Craftero is online. 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
TheBenSquare is not online. TheBenSquare
Joined: 13 Dec 2009
Total Posts: 13604
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 is online. 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 is online. Craftero
Joined: 24 Jun 2011
Total Posts: 1451
02 Jan 2016 11:33 AM
Any ideas?
Report Abuse
Craftero is online. 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 is not online. 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
Previous Thread :: Next Thread 
Page 1 of 1
 
 
ROBLOX Forum » Game Creation and Development » Scripters
   
 
   
  • 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