Miles_1king
(StrengthInFinity)
April 2, 2021, 12:20pm
#1
hi guys. I just want to make a my own player animation that the character animation is using ROBLOX’s costume animation.
can you tell the script please?
DO NOT use the Developer Hub’s code!
please ONLY contact me at Developer Forum!
The whole time was I can’t make this broken script work :
Open Here!
local Players = game:GetService("Players")
local function onCharacterAdded(character)
local humanoid = character:WaitForChild(“Humanoid”)
for _, playingTracks in pairs(humanoid:GetPlayingAnimationTracks()) do
playingTracks:Stop(0)
end
local animateScript = character:WaitForChild("Animate")
animateScript.run.RunAnim.AnimationId = "rbxassetid://75" -- Run
animateScript.walk.WalkAnim.AnimationId = "rbxassetid://75" -- Walk
animateScript.jump.JumpAnim.AnimationId = "rbxassetid://75" -- Jump
animateScript.idle.Animation1.AnimationId = "rbxassetid://75" -- Idle (Variation 1)
animateScript.idle.Animation2.AnimationId = "rbxassetid://75" -- Idle (Variation 2)
animateScript.fall.FallAnim.AnimationId = "rbxassetid://75" -- Fall
animateScript.swim.Swim.AnimationId = "rbxassetid://75" -- Swim (Active)
animateScript.swimidle.SwimIdle.AnimationId = "rbxassetid://75"
animateScript.climb.ClimbAnim.AnimationId = "rbxassetid:/75" -- Climb
end
local function onPlayerAdded(player)
player.CharacterAppearanceLoaded:Connect(onCharacterAdded)
end
Players.PlayerAdded:Connect(onPlayerAdded)
No we can not tell you the script.
here is some links that can put you into the direction of to do what you’re doing:
1 Like
You need to play test in studio to find the Animate script that is automatically added into the player in studio, just copy that script, paste it into StarterCharacterScripts and change the ids there corresponding for what your animation is for, I think that’s what you need
1 Like
Miles_1king
(StrengthInFinity)
April 3, 2021, 8:56am
#4
This is NOT an NPC animation, the player’s animation.
Miles_1king
(StrengthInFinity)
April 3, 2021, 9:07am
#5
Thanks but it must be everyone like in Roblox Player, Roblox Studio
The whole time was I can’t make this broken script work :
Open Here!
local Players = game:GetService("Players")
local function onCharacterAdded(character)
local humanoid = character:WaitForChild(“Humanoid”)
for _, playingTracks in pairs(humanoid:GetPlayingAnimationTracks()) do
playingTracks:Stop(0)
end
local animateScript = character:WaitForChild("Animate")
animateScript.run.RunAnim.AnimationId = "rbxassetid://75" -- Run
animateScript.walk.WalkAnim.AnimationId = "rbxassetid://75" -- Walk
animateScript.jump.JumpAnim.AnimationId = "rbxassetid://75" -- Jump
animateScript.idle.Animation1.AnimationId = "rbxassetid://75" -- Idle (Variation 1)
animateScript.idle.Animation2.AnimationId = "rbxassetid://75" -- Idle (Variation 2)
animateScript.fall.FallAnim.AnimationId = "rbxassetid://75" -- Fall
animateScript.swim.Swim.AnimationId = "rbxassetid://75" -- Swim (Active)
animateScript.swimidle.SwimIdle.AnimationId = "rbxassetid://75"
animateScript.climb.ClimbAnim.AnimationId = "rbxassetid:/75" -- Climb
end
local function onPlayerAdded(player)
player.CharacterAppearanceLoaded:Connect(onCharacterAdded)
end
Players.PlayerAdded:Connect(onPlayerAdded)
but there is no error. The script is crashing
I just want everyone to do the ninja animation.
Copying the Animate script and changing the ids around in there will make it work for everyone as aniamtions played on the client in localscripts will replicate to everyone
1 Like
Miles_1king
(StrengthInFinity)
April 3, 2021, 9:52am
#7
your Idea was not working. I just rejoin and animation won’t plays.