Animation not In the Right spot!

  1. What do you want to achieve? Keep it simple and clear!
    Animation Playing where I Animated it.

  2. What is the issue?
    I Made the Animation, but if I run the Code to play it The animation Plays Far away from where I animated it.

Video:

  1. What solutions have you tried so far? Did you look for solutions on the Developer Hub?
    I did Look in the Developer Hub, but currently I can’t find anything like my Issue.

I did try these Solutions:
Setting the Right HipHeight To the characters,

Setting Rigtype to R6 Or R15,

Making every Part of the Robot-Character Cancollide = False
Also The HumanoidRootPart is Always Anchored.

Reuploading All the Animations

Some Extra Information

I don’t know what happens here but what I know is: It always Moves more then it should, I even tried Rigging it Once Again.

The Place for the game is by my Group animations are also Uploaded to the Group.

If I Normally Run the game, They stay in Place. Just when I play the Animation in My LocalScript then they glitch out.

Oh, Also Here’s The code:

function GetCrawl()
	
	
	
	Torso.Parent:WaitForChild("HumanoidRootPart").Anchored = true
	local CutsceneFolder = Cutscenes.Cutscene3
	local IsInCam = CutsceneFolder.IsInCamScene3
	local Charscene = CutsceneFolder.Chars.Scenechar
	local BADRobot = CutsceneFolder.Chars.BADROBOT
	local BADRobot2 = CutsceneFolder.Chars.BADROBOT2
	local KindRobot = CutsceneFolder.Chars.KindRobot
	local CamRig = CutsceneFolder.Chars.CamRig
	
	

	local Spawnsfolder = CutsceneFolder.Spawns
	
	Spawnsfolder.ProxPart.ProximityPrompt.Enabled = false

	local Anims = CutsceneFolder.Anims

	local LoadCamRig = CamRig.Humanoid:LoadAnimation(Anims.Cam)
	local LoadBadROBOT = BADRobot.Humanoid:LoadAnimation(Anims.BadROBOT)
	local LoadChar = Charscene.Humanoid:LoadAnimation(Anims.Char)
	local LoadBadROBOT2 = BADRobot2.Humanoid:LoadAnimation(Anims.BadROBOT2)
	local LoadKindRobot = KindRobot.Humanoid:LoadAnimation(Anims.KindRobot)

	IsInCam.Value = 1

	Cam.CameraType = Enum.CameraType.Attach
	Cam.CameraSubject = CamRig.Cam
	Cam.CFrame = CamRig.Cam.CFrame

	LoadBadROBOT:Play()
	LoadBadROBOT2:Play()
	LoadChar:Play()
	LoadKindRobot:Play()
	LoadCamRig:Play()


wait(9.52)


	LoadChar:Stop()
	LoadKindRobot:Stop()
	LoadBadROBOT:Stop()
	LoadBadROBOT2:Stop()
	LoadCamRig:Stop()

	KindRobot:Destroy()
	Charscene:Destroy()
	CamRig:Destroy()
	
	IsInCam.Value = 0




	Cam.CameraType = Enum.CameraType.Custom
	Cam.CameraSubject = HumanoidPlayer

	Torso.CFrame = Spawnsfolder.SpawnPlayer2.CFrame

	Torso.Parent:WaitForChild("HumanoidRootPart").Anchored = false


end

game.Workspace.Cutscenes.Cutscene3.Spawns.ProxPart.ProximityPrompt.Triggered:Connect(GetCrawl)

Note: The camera Is already in a Variable before this Function, LocalScript Is Located in StarterGui/ScreenGui/Cutscenes(FOLDER)/CutsceneHandler[LOCALSCRIPT]*

I hope you can Help Me :smiley:

Hey Fellow Robloxian! I Had The Same Issue And Its Really Easy To Fix! (Though It Took Me 1 Week To Find Solution But Anyways)

If You Game Is Owned By A Group Which I Assume Probably Is Owned By Your Group, You Shall Upload The Animation In Group.

Go To Animation Editor > New > Make New Animation > Publish To Roblox > Make Sure You Mark The Group As Owner In Owner Category > Get The ID > Change All Animation IDs In Script

Well I tried it, but it didn’t Fix the Problem,
and since im animating with Moon Animator, I Can Only Export the Animation Like this, (I think animation editor Does it as well):
Bild_2023-04-21_141159751

And if I RightClick on it I can not Publish to Roblox, but “Save to Roblox” This worked every Time
I wanted to make an cutscene or stuff like that, but I don’t know why it doesnt work now.

Maybe It’s something with the Rig although it works fine for animating.

FIXED IT! :smiley: I had the HipHeigth 7.7 Now i put it on 2 Now its working great!
For everyone Looking for a Solution Just Experiment With the Hipheigth and look When you’re Animation fits in.

2 Likes

This topic was automatically closed 14 days after the last reply. New replies are no longer allowed.