Advertisement
Sungmingamerpro13

RolesMainScript (Main)

Feb 20th, 2025
111
0
Never
Not a member of Pastebin yet? Sign Up, it unlocks many cool features!
CSS 1.47 KB | None | 0 0
  1. game.Players.PlayerAdded:Connect(function(player)
  2.     player.CharacterAdded:Connect(function()
  3.         if player:WaitForChild("Role").Value >= "Default" then
  4.             player:WaitForChild("Role").Value = "Default"
  5.             player.Character.Humanoid.BodyDepthScale.Value = 1
  6.             player.Character.Humanoid.BodyHeightScale.Value = 1
  7.             player.Character.Humanoid.BodyWidthScale.Value = 1
  8.             game.ServerStorage.RoleItems.Bat:Clone().Parent = player.Backpack
  9.         elseif player:WaitForChild("Role").Value >= "Medic" then
  10.             player:WaitForChild("Role").Value = "Medic"
  11.             player.Character.Humanoid.BodyDepthScale.Value = 1
  12.             player.Character.Humanoid.BodyHeightScale.Value = 1
  13.             player.Character.Humanoid.BodyWidthScale.Value = 1
  14.             game.ServerStorage.RoleItems.Medkit:Clone().Parent = player.Backpack
  15.         elseif player:WaitForChild("Role").Value >= "Athlete" then
  16.             player:WaitForChild("Role").Value = "Athlete"
  17.             player.Character.Humanoid.BodyDepthScale.Value = 1
  18.             player.Character.Humanoid.BodyHeightScale.Value = 1
  19.             player.Character.Humanoid.BodyWidthScale.Value = 1
  20.             game.ServerStorage.RoleItems.Bloxiade:Clone().Parent = player.Backpack
  21.         elseif player:WaitForChild("Role").Value >= "Fat" then
  22.             player:WaitForChild("Role").Value = "Fat"
  23.             player.Character.Humanoid.BodyDepthScale.Value = 0.9
  24.             player.Character.Humanoid.BodyHeightScale.Value = 0.7
  25.             player.Character.Humanoid.BodyWidthScale.Value = 0.7
  26.             game.ServerStorage.RoleItems.Chips:Clone().Parent = player.Backpack
  27.         end
  28.     end)
  29. end)
  30.  
Advertisement
Add Comment
Please, Sign In to add comment
Advertisement