Animated morphs after buttons are clicked?

Heyo! I’m looking to make a roleplay game with cat morphs. I have the models and it’s rigged and mostly animated, but the video tutorials I watched didn’t explain how to make the morphs customizable! I looked through this old thread and recently watched this video about putting animated models into morphs but it only said how to make the player morph into the model on join. I don’t have a lot of scripting knowledge but I know that if you give me a few tips/changes I can figure it out on my own. I’m aiming to have a gui screen (after the previous buttons are clicked, like on most other games!) I’ve been searching for a while to find some way to do this, and I’d appreciate a little bit of help!
-KT

edit: i linked the wrong video djgdhfhjdh sorry i fixed it

edit 4/12: bump since its been a week and im still seeking answers <3

1 Like

Maybe these 4 Steps will work:

  1. Put the wolf in replicatedStorage, it’s probably a good idea to put it in a folder called “Morphs” so it doesn’t get messy.

– These next ones will happen whenever the player clicks the button.

  1. Bring a copy of it out right next to your character.

  2. Set the Player’s character property to the new wolf. And set the camera’s subject to the new wolf.

  3. Stick the old character in ReplicatedStorage.

Here’s an example I made:

local Player = game.Players.LocalPlayer
local Camera = game.Workpsace.CurrentCamera
local OldCharacter = Player.Character
local Wolf = game.ReplicatedStorage.Morphs.Wolf
local Button = -- Change this to the morph button

Button.MouseButton1Click:Connect(function()

   -- Create a new wolf and position it right next to the player
   local NewWolf = Wolf:Clone()
   NewWolf.HumanoidRootPart.Position = Character.HumanoidRootPart.Position 
   
   -- Change the player's character property to the new wolf and stick the old character in replicated storage
   Player.Character = NewWolf
   OldCharacter.Parent = game.ReplicatedStorage
    
   -- Change the camera's CameraSubject property to the wolf, (which makes the camera follow the wolf)
   Camera.CameraType = "Scriptable"
   Camera.CameraSubject = NewWolf.Humanoid
end)

This might not work, just an idea I had, but I hope it helps. :slight_smile:

1 Like