SHARE
TWEET

A

a guest Aug 25th, 2019 63 Never
Not a member of Pastebin yet? Sign Up, it unlocks many cool features!
  1. local function MATERIALIZE()
  2.     local materials = {"Glass", "Wood", "SmoothPlastic"}
  3.    
  4.     local material = materials[math.random(1, #materials)]
  5.     return(Enum.Material[material])
  6. end
  7.  
  8. MATERIALIZE()
  9.  
  10. local function SWAGMAKE()
  11.     local PRECIOUS = game.ServerStorage.SWAGBALL:Clone()
  12.     PRECIOUS.SWAGBALL.Position = Vector3.new(3,3,3)
  13.     PRECIOUS.SWAGBALL.Material = MATERIALIZE()
  14.     PRECIOUS.SWAGBALL.BrickColor = BrickColor.Random()
  15.     PRECIOUS.Parent = workspace.SWAGBALLS
  16. end
  17.  
  18. local function MAKEBIG()
  19.     local BIGBUDDYCHANCE = math.random(1, 5)
  20.     local BUDDYBET = math.random(1, 5)
  21.    
  22.     print("YOUR BUDDY CHANCE ," .. BIGBUDDYCHANCE .. "," .. BUDDYBET)
  23.    
  24.     if BUDDYBET == BIGBUDDYCHANCE then
  25.         local PRECIOUS = game.ServerStorage.SWAGARMOR:Clone()
  26.         PRECIOUS.SWAGBALL.Position = Vector3.new(3,3,3)
  27.         PRECIOUS.SWAGBALL.Material = MATERIALIZE()
  28.         PRECIOUS.SWAGBALL.BrickColor = BrickColor.Random()
  29.         PRECIOUS.ARMOR.BrickColor = PRECIOUS.SWAGBALL.BrickColor
  30.         PRECIOUS.Parent = workspace.SWAGBALLS
  31.     else
  32.         SWAGMAKE()
  33.     end
  34. end
  35.  
  36. for i = 1, math.random(80, 250) do
  37.     local BALLSHAPE = math.random(1, 2)
  38.    
  39.     if BALLSHAPE == 1 then
  40.         SWAGMAKE()
  41.     elseif BALLSHAPE == 2 then
  42.         MAKEBIG()
  43.     end
  44.    
  45.     BALLSHAPE = math.random(1, 2)
  46. end
RAW Paste Data
We use cookies for various purposes including analytics. By continuing to use Pastebin, you agree to our use of cookies as described in the Cookies Policy. OK, I Understand
 
Top