Advertisement
bbaaccuuaa

Untitled

Mar 1st, 2019
83
0
Never
Not a member of Pastebin yet? Sign Up, it unlocks many cool features!
text 1.02 KB | None | 0 0
  1. function MaxLand()
  2. local Places={Vector3.new(40, 0, 0),Vector3.new(80, 0, 0),Vector3.new(-40, 0, 0),Vector3.new(-80, 0, 0),Vector3.new(0, 0, 40),Vector3.new(40, 0, 40),Vector3.new(80, 0, 40),Vector3.new(-40, 0, 40),Vector3.new(-80, 0, 40),Vector3.new(0, 0, 80),Vector3.new(40, 0, 80),Vector3.new(80, 0, 80),Vector3.new(-40, 0, 80),Vector3.new(-80, 0, 80),Vector3.new(0, 0, -40),Vector3.new(40, 0, -40),Vector3.new(80, 0, -40),Vector3.new(-40, 0, -40),Vector3.new(-80, 0, -40),Vector3.new(0, 0, -80),Vector3.new(40, 0, -80),Vector3.new(80, 0, -80),Vector3.new(-40, 0, -80),Vector3.new(-80, 0, -80),}
  3. local Property;
  4. local Player = game.Players.LocalPlayer
  5. for i,v in pairs(workspace.Properties:GetChildren()) do
  6. if v.Owner.Value == Player then
  7. Property=v
  8. end
  9. end
  10. if not Property then return false end
  11. for i,v in pairs(Places) do
  12. SquarePos = Property.OriginSquare.Position+v
  13. game.ReplicatedStorage.PropertyPurchasing.ClientExpandedProperty:FireServer(Property,CFrame.new(SquarePos.X,SquarePos.Y,SquarePos.Z))
  14. end
  15. return true
  16. end
Advertisement
Add Comment
Please, Sign In to add comment
Advertisement