-- LocalScript inside StarterCharacterScripts -- Replace these with your animation's asset IDs local customIdleAnimation1Id = "rbxassetid://YOUR_FIRST_IDLE_ANIMATION_ID" local customIdleAnimation2Id = "rbxassetid://YOUR_SECOND_IDLE_ANIMATION_ID" local function onCharacterAdded(character) local humanoid = character:WaitForChild("Humanoid") local animateScript = character:WaitForChild("Animate") -- Wait for the animate script to be present in the character if animateScript then local idleAnim = animateScript:WaitForChild("idle") -- Replace the idle animations if idleAnim then local idleAnimTrack1 = idleAnim:WaitForChild("Animation1") idleAnimTrack1.AnimationId = customIdleAnimation1Id local idleAnimTrack2 = idleAnim:WaitForChild("Animation2") idleAnimTrack2.AnimationId = customIdleAnimation2Id end end end -- Listen for the character being added to the player game.Players.PlayerAdded:Connect(function(player) player.CharacterAdded:Connect(onCharacterAdded) end) -- Apply to existing characters in case the script is added at runtime for _, player in pairs(game.Players:GetPlayers()) do if player.Character then onCharacterAdded(player.Character) end end
-- LocalScript inside StarterCharacterScripts
-- Replace these with your animation's asset IDs
local customIdleAnimation1Id = "rbxassetid://YOUR_FIRST_IDLE_ANIMATION_ID"
local customIdleAnimation2Id = "rbxassetid://YOUR_SECOND_IDLE_ANIMATION_ID"
local function onCharacterAdded(character)
local humanoid = character:WaitForChild("Humanoid")
local animateScript = character:WaitForChild("Animate")
-- Wait for the animate script to be present in the character
if animateScript then
local idleAnim = animateScript:WaitForChild("idle")
-- Replace the idle animations
if idleAnim then
local idleAnimTrack1 = idleAnim:WaitForChild("Animation1")
idleAnimTrack1.AnimationId = customIdleAnimation1Id
local idleAnimTrack2 = idleAnim:WaitForChild("Animation2")
idleAnimTrack2.AnimationId = customIdleAnimation2Id
end
end
end
-- Listen for the character being added to the player
game.Players.PlayerAdded:Connect(function(player)
player.CharacterAdded:Connect(onCharacterAdded)
end)
-- Apply to existing characters in case the script is added at runtime
for _, player in pairs(game.Players:GetPlayers()) do
if player.Character then
onCharacterAdded(player.Character)
end
end
Hey bro hi again
Can you say your gmail in roblox chat?
Because I want to type you in google chat
But on pc google chat is google hangouts
Bro hi do you want to create with me game about transformers
Sure! Just reply with your username
Oooh thank you!@@TKGhostGT
My name xTiger251
@@akifxanmusayev okay i added you chat me on roblox