Advertisement
IAmBW

DUEL ARENA

Mar 21st, 2015
259
0
Never
Not a member of Pastebin yet? Sign Up, it unlocks many cool features!
Lua 1.47 KB | None | 0 0
  1. ----Duel Arena-------------------------------------------------OF SOULSSS--xS productions-----------------
  2.  
  3. me = game.Players.IAmBW
  4.  
  5. mainpos = Vector3.new(200,0,30)
  6.  
  7. function prop(part, parent, collide, tran, ref, x, y, z, color, anchor, form)
  8. part.Parent = parent
  9. part.formFactor = form
  10. part.CanCollide = collide
  11. part.Transparency = tran
  12. part.Reflectance = ref
  13. part.Size = Vector3.new(x,y,z)
  14. part.BrickColor = BrickColor.new(color)
  15. part.TopSurface = 0
  16. part.BottomSurface = 0
  17. part.Anchored = anchor
  18. part.Locked = true
  19. part:BreakJoints()
  20. end
  21.  
  22. mod = Instance.new("Model",workspace)
  23. mod.Name = "Duel arena by xSoul"
  24.  
  25. for i=0,math.pi, math.pi/3 do
  26.     local p = Instance.new("Part")
  27.     prop(p,mod,true,0,0,100,7,170,"Brick yellow",true,"Custom")
  28.     p.CFrame = CFrame.new(mainpos) * CFrame.Angles(0,i,0)
  29.     local k = Instance.new("Part")
  30.     prop(k,mod,true,0,0,30,40,30,"Brown",true,"Custom")
  31.     k.CFrame = p.CFrame * CFrame.new(p.Size.Z/2,k.Size.Y/2,0)
  32.     local f = Instance.new("Part")
  33.     prop(f,mod,true,0,0,30,40,30,"Brown",true,"Custom")
  34.     f.CFrame = p.CFrame * CFrame.new(-p.Size.Z/2,f.Size.Y/2,0)
  35.     local p = Instance.new("Part")
  36.     prop(p,mod,true,0,0,120,20,200,"Brick yellow",true,"Custom")
  37.     p.CFrame = CFrame.new(mainpos) * CFrame.Angles(0,i,0) * CFrame.new(0,k.Size.Y,0)
  38. end
  39.  
  40. for i=0,math.pi*2,math.pi/30 do
  41.     local p = Instance.new("Part")
  42.     prop(p,mod,true,0,0,4,7,10,"Brown",true,"Custom")
  43.     p.CFrame = CFrame.new(mainpos) * CFrame.Angles(0,i,0) * CFrame.new(60,7,0)
  44. end
Advertisement
Add Comment
Please, Sign In to add comment
Advertisement