Part of Slepp's ProjectsPastebinTURLImagebinFilebin
Feedback -- English French German Japanese
Create Upload Newest Tools Donate
Sign In | Create Account

Advertising

advertising

related pastes to tag 'getmass'

916895 - GetMass(object): script roblox getmass
  1. function GetMass(object)
  2.         local check,mass,c = {"Part","SpawnLocation","FlagStand","Seat"},0,object:GetChildren()
  3.         function runCheck(class)
  4.                 for i = 1, #check do
  5.                         if check[i]:lower() == class:lower() then return true end
  6.                 end
  7.                 return false
  8.         end
  9.  
916846 - GetMass(object): script roblox getmass
  1. function GetMass(object)
  2.         local check,mass,c = {"Part","SpawnLocation","FlagStand","Seat"},0,object:GetChildren()
  3.         function runCheck(class)
  4.                 for i = 1, #check do
  5.                         if check[i]:lower() == class:lower() then return true end
  6.                 end
  7.                 return false
  8.         end
  9.  
916833 - GetMass(object): script roblox getmass
  1. function GetMass(object)
  2.         local check,mass,c = {"Part","SpawnLocation","FlagStand","Seat"},0,object:GetChildren()
  3.         function runCheck(class)
  4.                 for i = 1, #check do
  5.                         if check[i]:lower() == class:lower() then return true end
  6.                 end
  7.                 return false
  8.         end
  9.  
914556 - GetMass(object): script roblox getmass
  1. function GetMass(object)
  2.         local check = {"Part","SpawnLocation","FlagStand","Seat"}
  3.         local mass = 0
  4.         for n = 1, #check do
  5.                 if object.className == check[n]
  6.                         mass = mass + object:GetMass()
  7.                 end
  8.         end
  9.  
898346 - GetMass(object): script roblox getmass
  1. function GetMass(object)
  2.         local mass = 0
  3.         if object.className == "Part"
  4.         or c[i].className == "SpawnLocation"
  5.         or c[i].className == "FlagStand"
  6.         or c[i].className == "Seat" then
  7.                 mass = mass + object:GetMass()
  8.         end
  9.  
898219 - GetMass(object): script roblox getmass
  1. function GetMass(object)
  2.         local mass = 0
  3.         if object.className == "Part"
  4.         or c[i].className == "SpawnLocation"
  5.         or c[i].className == "FlagStand"
  6.         or c[i].className == "Seat" then
  7.                 mass = object:GetMass()
  8.         end
  9.  
898216 - GetMass(object): script roblox getmass
  1. function GetMass(object)
  2.         local mass = 0
  3.         if object.className == "Part" then
  4.                 mass = object:GetMass()
  5.         end
  6.         local c = object:GetChildren()
  7.         for i = 1, #c do
  8.         if c[i].className == "Part"
  9.