Pokemon Advanced Easy Phase 2 Code (Timestamps in Desc)

Поделиться
HTML-код
  • Опубликовано: 10 фев 2025
  • Easy way to make Pokemon transform when they enter Phase 2. (thumbnail unrelated i just put something from my pc)
    -- TIMESTAMPS --
    0:58 - Script Tutorial Begins
    1:46 - Adding the Lines for Step 2 of Script Tutorial
    3:22 - Model Tutorial Begins
    4:38 - Outlining Requirements for a Model (up until 6:32... yeesh)
    10:55 - Testing It Out!
    -- CODE --
    Link: pastebin.com/B...
    -- OTHER --
    Something I didn't touch upon in the video.
    There is a good chance you wanted to change the boss' nametag when the phase change occurs.
    In such a case, follow these steps:
    1: Find the Boss in question in the Explorer.
    2: Open the Boss' Head, and duplicate the PlayerInfoBar parented to it.
    3: Name the new PlayerInfoBar to something like Phase2Bar.
    4: Adjust the text inside of it accordingly (e.g. the name). Once you're done, open its Properties and set the Enabled property to false (uncheck the box). This will make it start as a deactivated nametag, so it doesn't show up immediately.
    5: For the if-statements that I pasted in the video inside the boss script itself, put this INSTEAD (DO NOT USE THE OLD ONE IF YOU INTEND TO DO THIS YOU MUST USE THIS NEW ONE BUT PUT IT IN THE SAME SPOT):
    if Evolve~=nil then
    infobar.Enabled = false
    Transform(Model, Evolve)
    Evolve = nil
    infobar = Model.Head.Phase2Bar -- whatever you named it
    infobar.HPText.Text = tostring(Health).." / "..tostring(MaxHealth).." HP"
    infobar.Enabled = true
    continue
    end
    BONUS STEP: You can make the name have a gradient like EG! Go into the info bar again and parent a UIGradient object to the name text object. Then, play around with the UIGradient until you're happy! Good luck!

Комментарии • 1