How to make your character unanimated: Difference between revisions

From Legacy Roblox Wiki
Jump to navigationJump to search
>Gamer3D
m (Categorized.)
(Scripting Tutorials category, SyntaxHighlight, better code)
 
(25 intermediate revisions by 9 users not shown)
Line 1: Line 1:
{{CatUp|FAQ}}
{{CatUp|FAQ}}


If you notice, your character moves its limbs when you walk around. This is called animation. Before January 9th, 2007, characters didn't have animation. A person's character would just move without its limbs moving. This animation was added to make the character appear more life-like. Along with the update, there has been an option that lets you decide whether you want to have your character animated or not.
If you notice, your character moves its limbs when you walk around. This is called animation. Before January 9th, 2007, characters didn't have animation. But now, a person's character would just move without its limbs moving. This animation was added to make the character appear more life-like. Along with the update, there has been an option that lets you decide whether you want to have your character animated or not. And even more recently, they deleted the non-animation all-together.
However, here is a script that can be used to remove all character animation from your place:
<syntaxhighlight lang="lua" line>
local Players = game:GetService("Players")


This is how it's done:
local function onPlayerAdded(player)
*1 Open up [[Roblox Studio]].
local character = player.Character
*2 At the top, there's a menu bar. On it, there's "Tools," click that.
 
*3 Go down to "Settings..." and click on it.
local function onCharacterAdded(character)
*4 A small window will pop up. On it, click on Game Options.
local animate = character:FindFirstChild("Animate")
*5 The first option is "animatedCharacter." All you have to do is uncheck it.
 
*6 You're done! Your character is now unanimated! (If you're in a world, you will have to exit so your settings can update.)
if animate then
[[Category:Tutorials]]
animate:Destroy()
end
end
 
if character then
onCharacterAdded(character)
end
 
player.CharacterAdded:connect(onCharacterAdded)
end)
 
-- This is needed for Play Solo.
for i, v in ipairs(Players:GetPlayers()) do
onPlayerAdded(v)
end
 
Players.PlayerAdded:connect(onPlayerAdded)
</syntaxhighlight>
This can be useful for making retro-style places.
[[Category:Scripting Tutorials]]

Latest revision as of 13:39, 18 April 2023

If you notice, your character moves its limbs when you walk around. This is called animation. Before January 9th, 2007, characters didn't have animation. But now, a person's character would just move without its limbs moving. This animation was added to make the character appear more life-like. Along with the update, there has been an option that lets you decide whether you want to have your character animated or not. And even more recently, they deleted the non-animation all-together. However, here is a script that can be used to remove all character animation from your place:

local Players = game:GetService("Players")

local function onPlayerAdded(player)
	local character = player.Character

	local function onCharacterAdded(character)
		local animate = character:FindFirstChild("Animate")

		if animate then
			animate:Destroy()
		end
	end

	if character then
		onCharacterAdded(character)
	end

	player.CharacterAdded:connect(onCharacterAdded)
end)

-- This is needed for Play Solo.
for i, v in ipairs(Players:GetPlayers()) do
	onPlayerAdded(v)
end

Players.PlayerAdded:connect(onPlayerAdded)

This can be useful for making retro-style places.