--Changes the size of the part----------

local function ModifyScale(Scale, Plot, Grid, Model)
	X, Y, Z = unpack(Scale)
	
	if X == "" or Y == "" or Z == "" then
		X = random:NextInteger(1, Plot.Size.X/5)
		Y = random:NextInteger(1, 20)
		Z = random:NextInteger(1, Plot.Size.Z/5)
	end
	
	X = math.clamp(tonumber(X), 1, 78)
	Y = math.clamp(tonumber(Y), 1, 512)
	Z = math.clamp(tonumber(Z), 1, 78)
	
	Confirm(Grid, Plot)
	
	Model.PrimaryPart.Size = Vector3.new(X, Y, Z)
	Model.Hull.Size = Model.PrimaryPart.Size
	
	return true
end
