-
What do you want to achieve? Keep it simple and clear!
Animation Playing where I Animated it. -
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:
-
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