Advertisement
Sungmingamerpro13

New Roles in Main Game

Mar 19th, 2024
494
0
Never
Not a member of Pastebin yet? Sign Up, it unlocks many cool features!
CSS 1.73 KB | None | 0 0
  1. if player:WaitForChild("Role").Value == "Default" then
  2.             player.Character.Humanoid.Health = 50
  3.             player.Character.Humanoid.MaxHealth = 100
  4.         elseif player:WaitForChild("Role").Value == "Medic" then
  5.             player.Character.Humanoid.Health = 50
  6.             player.Character.Humanoid.MaxHealth = 100
  7.             game.ServerStorage.RoleItems.Medkit:Clone().Parent = player.Backpack
  8.         elseif player:WaitForChild("Role").Value == "Athlete" then
  9.             player.Character.Humanoid.Health = 50
  10.             player.Character.Humanoid.MaxHealth = 100
  11.             game.ServerStorage.RoleItems.Bloxiade:Clone().Parent = player.Backpack
  12.         elseif player:WaitForChild("Role").Value == "Fat" then
  13.             player.Character.Humanoid.Health = 50
  14.             player.Character.Humanoid.MaxHealth = 100
  15.             for _, player in pairs(game.Players:GetPlayers()) do
  16.                 for _, Chips in pairs(game.ServerStorage.ChipsFolder:GetChildren()) do
  17.                     Chips:Clone().Parent = player.Backpack
  18.                 end
  19.             end
  20.         elseif player:WaitForChild("Role").Value == "SuperDefault" then
  21.             player.Character.Humanoid.Health = 50
  22.             player.Character.Humanoid.MaxHealth = 100
  23.             game.ServerStorage.RoleItems.Medkit:Clone().Parent = player.Backpack
  24.         elseif player:WaitForChild("Role").Value == "SuperAthlete" then
  25.             player.Character.Humanoid.Health = 50
  26.             player.Character.Humanoid.MaxHealth = 100
  27.             game.ServerStorage.RoleItems.Bloxiade:Clone().Parent = player.Backpack
  28.             game.ServerStorage.RoleItems.Bloxiade:Clone().Parent = player.Backpack
  29.         elseif player:WaitForChild("Role").Value == "SuperMedic" then
  30.             player.Character.Humanoid.Health = 50
  31.             player.Character.Humanoid.MaxHealth = 100
  32.             game.ServerStorage.RoleItems.Medkit:Clone().Parent = player.Backpack
  33.             game.ServerStorage.RoleItems.Medkit:Clone().Parent = player.Backpack
  34.         end
Advertisement
Add Comment
Please, Sign In to add comment
Advertisement