All Tutorials
Advanced

Create a Boss Fight (Skeleton Mage with Homing Fireballs)

Build a full boss encounter: provocation dialogue, ambiance switch to Midnight, homing projectiles with screen shake, and rich loot table.

🎬 Video Walkthrough

Step-by-step Guide

1

Create the FireballCast attack with Projectile fields

On Attacks: 'FireballCast', Range Long, cooldown 2.5s, AoE Small, damage 8 absolute on vitality, screenShakeIntensity 0.5. Then fill Projectile fields: speed 40, maxDistance 80, homing CHECKED. The fireball follows the player.

2

Create loot: Mage Skull (Collectible)

Create item 'Mage Skull' with category 'Collectible'. It's a unique trophy that drops on the boss's death.

3

Create the Skeleton Mage (slow but tough)

Create item 'Skeleton Mage' (category None). Stats: vitality 200, force 25, speed 6 (intentionally slow — gives the player a chance to dodge fireballs). Attacks: [FireballCast].

4

Interaction chain: dialogue + ambiance shift

OnSpawn fan-out: ChangeBehavior(Static) (he stays put) + Interact('Provoke') → Dialogue('Human... you'll be my dinner...') → SetAmbiance('Midnight') (sky becomes pitch black in 2s) → ChangeBehavior(Aggressive). The mage starts casting fireballs.

5

OnDeath chain: restore ambiance + drops

OnDeath → SetAmbiance('Afternoon') (sky brightens) → ModifyCurrency(Add gold 500, drop on ground) → ModifyItem(Add Mage Skull, drop on ground) → AddRandomItem (bonus loot table 4 entries totaling 100%).

6

Ambiance sound: native Roblox Part + Sound (no Kitsulab)

For dramatic music near the boss, place an invisible Part around him in Studio with a Sound child (Looped + Playing). Set MinDistance (full volume range) and MaxDistance (silence). The 3D engine handles the fade naturally — no Kitsulab action needed.

7

Link models, animations, sounds + the Projectile slot

Drag SkeletonMage (Model + Humanoid + HumanoidRootPart) onto the Mage. Under FireballCast, link Animation (mage lowers staff), SwingSound (incantation), ImpactSound (explosion), and crucially the Projectile slot with the Fireball model (with fire ParticleEmitter for the trail).

Actions Used