Advertisement
HowToRoblox

Configuration

Dec 9th, 2022
3,428
0
Never
Not a member of Pastebin yet? Sign Up, it unlocks many cool features!
Lua 1.38 KB | None | 0 0
  1. local config = {}
  2.  
  3.  
  4. config.BossRoom = workspace:WaitForChild("BossRoom")
  5.  
  6. config.BossStats = {
  7.     health = 1000;
  8.    
  9.     spikeAttackDamage = 30;
  10.     jumpAttackDamage = 80;
  11.     laserAttackDamage = 12;
  12.    
  13.     damageCycle = {
  14.         "SPIKES",
  15.         "WAIT 5",
  16.         "JUMP",
  17.         "WAIT 6",
  18.         "LASERS",
  19.         "WAIT 7"};
  20.    
  21.     minSpikes = 60;
  22.     maxSpikes = 80;
  23.     spikeRange = 130;
  24.     spikeTime = 2;
  25.    
  26.     jumpPower = 80;
  27.     jumpChargeTime = 1;
  28.     jumpDamageRange = 20;
  29.    
  30.     laserDuration = 5;
  31.     laserMaxSpread = 5;
  32. }
  33.  
  34. config.IntroCutsceneComponents = config.BossRoom:WaitForChild("CutsceneComponents"):WaitForChild("Intro")
  35.  
  36. config.IntroCutsceneInstructions = {
  37.     {"MOVE", config.IntroCutsceneComponents["1"].CFrame, 0.1, Enum.EasingStyle.Quart, Enum.EasingDirection.In};
  38.     {"PLAY ANIMATION", "Fall"};
  39.     {"MOVE", config.IntroCutsceneComponents["2"].CFrame, 0.5, Enum.EasingStyle.Quart, Enum.EasingDirection.Out};
  40.     {"WAIT", 0.3};
  41.     {"MOVE", config.IntroCutsceneComponents["3"].CFrame, 1.1, Enum.EasingStyle.Exponential, Enum.EasingDirection.In};
  42.     {"STOP ANIMATION", "Fall"};
  43.     {"PLAY ANIMATION", "Land"};
  44.     {"CAMERA SHAKE", 3, 1};
  45.     {"PLAY SOUND", "GroundSmash"};
  46.     {"WAIT", 2};
  47.     {"MOVE", config.IntroCutsceneComponents["4"].CFrame, 0.2, Enum.EasingStyle.Quart, Enum.EasingDirection.In};
  48.     {"PLAY ANIMATION", "Roar"};
  49.     {"WAIT", 0.2};
  50.     {"CAMERA SHAKE", 1.3, 2.7};
  51.     {"PLAY SOUND", "Roar"};
  52.     {"WAIT", 3};
  53. }
  54.  
  55.  
  56. return config
Advertisement
Add Comment
Please, Sign In to add comment
Advertisement